@fibery/custom-app-text-editor 1.2.0

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 (105) hide show
  1. package/LICENSE +214 -0
  2. package/README.md +33 -0
  3. package/lib/abnfDiagram-VRR7QNED-BgjOQqEh.js +89 -0
  4. package/lib/arc-Dp0rqagO.js +82 -0
  5. package/lib/architecture-TIHT7OUA-DDwCCw0y.js +3 -0
  6. package/lib/architectureDiagram-ZJ3FMSHR-BucIluTN.js +4129 -0
  7. package/lib/array-CApNbSU9.js +6 -0
  8. package/lib/blockDiagram-677ZJIJ3-CWYuHThP.js +3157 -0
  9. package/lib/c4Diagram-LMCZKHZV-Cr3_W-xe.js +2982 -0
  10. package/lib/channel-Bb7a6w5c.js +5 -0
  11. package/lib/chunk-2Q5K7J3B-CINvUK-A.js +15 -0
  12. package/lib/chunk-32BRIVSS-b-BvyGz0.js +61 -0
  13. package/lib/chunk-52WLFC77-Cf8zEoqs.js +593 -0
  14. package/lib/chunk-5VM5RSS4-Dnx15xMv.js +5 -0
  15. package/lib/chunk-7BUUIJ7U-B018BbRy.js +82 -0
  16. package/lib/chunk-C7G6YPKG-CmOuVFlJ.js +67 -0
  17. package/lib/chunk-EX3LRPZG-LynZw14I.js +2042 -0
  18. package/lib/chunk-HOUHSVGY-Br7ZSMKe.js +275 -0
  19. package/lib/chunk-ICXQ74PX-VqT5WUTt.js +1330 -0
  20. package/lib/chunk-JWPE2WC7-Ch0jmUXM.js +8 -0
  21. package/lib/chunk-KEIR6QF5-RwFi50en.js +21456 -0
  22. package/lib/chunk-MOJQB5TN-rQ4AfTd9.js +490 -0
  23. package/lib/chunk-OGEWGWER-BvF6eV9Q.js +32 -0
  24. package/lib/chunk-PUDLZKDR-BW7SZvCB.js +4135 -0
  25. package/lib/chunk-Q4XR5HBZ-CRgGP3ez.js +1635 -0
  26. package/lib/chunk-RYQCIY6F-CHlASUpG.js +241 -0
  27. package/lib/chunk-V7JOEXUC-OY39ml6X.js +3357 -0
  28. package/lib/chunk-VR4S4FIN-Bk7IFdYB.js +26 -0
  29. package/lib/chunk-WYO6CB5R-MV-yOaop.js +3769 -0
  30. package/lib/chunk-XXDRQBXY-Djd1ChwJ.js +9 -0
  31. package/lib/chunk-Y2CYZVJY-QdJ4V9rh.js +12 -0
  32. package/lib/chunk-ZGVPDNZ5-l81xl1BI.js +3738 -0
  33. package/lib/classDiagram-OUVF2IWQ--wRzSvLt.js +30 -0
  34. package/lib/classDiagram-v2-EOCWNBFH-ChMCdPO-.js +30 -0
  35. package/lib/cose-bilkent-JH36ORCC-CyVZn5M3.js +2254 -0
  36. package/lib/custom-app-text-editor.css +2 -0
  37. package/lib/custom-app-text-editor.js +81102 -0
  38. package/lib/cynefin-VYW2F7L2-CMgnLl46.js +3 -0
  39. package/lib/cynefinDiagram-TSTJHNR4-988Y73wV.js +355 -0
  40. package/lib/cytoscape.esm-DMXbtFI-.js +18145 -0
  41. package/lib/dagre-Dmarb1s8.js +1699 -0
  42. package/lib/dagre-VKFMJZFB-Bf-pz2Lx.js +328 -0
  43. package/lib/defaultLocale-A87O3snN.js +198 -0
  44. package/lib/diagram-FQU43EPY-BT8WeVzc.js +432 -0
  45. package/lib/diagram-G47NLZAW-vZ2XG37l.js +527 -0
  46. package/lib/diagram-NH7WQ7WH-CH0IfHB0.js +134 -0
  47. package/lib/diagram-OA4YK3LP-BgwQcJfp.js +300 -0
  48. package/lib/diagram-WEI45ONY-Cd3sVPil.js +214 -0
  49. package/lib/dist-PGS6ynRO.js +59 -0
  50. package/lib/ebnfDiagram-CCIWWBDH-CwBFb2Fm.js +100 -0
  51. package/lib/erDiagram-Q63AITRT-BshRACvj.js +1727 -0
  52. package/lib/eventmodeling-45OFAUF4-BDhzj03B.js +3 -0
  53. package/lib/flowDiagram-23GEKE2U-C3zDgFvZ.js +16 -0
  54. package/lib/ganttDiagram-NO4QXBWP-BD5PiE8x.js +3073 -0
  55. package/lib/gitGraph-TEB2WS4Q-DJA_hE4G.js +3 -0
  56. package/lib/gitGraphDiagram-IHSO6WYX-BAhccBh3.js +733 -0
  57. package/lib/graphlib-DglfpsVp.js +1267 -0
  58. package/lib/index.browser-Dv9K8IAp.js +26 -0
  59. package/lib/info-DKCQHKI2-BD_vOCz6.js +3 -0
  60. package/lib/infoDiagram-FWYZ7A6U-CGZnf03G.js +20 -0
  61. package/lib/init-sjaVZO3f.js +13 -0
  62. package/lib/ishikawaDiagram-FXEZZL3T-PFfVM0NO.js +719 -0
  63. package/lib/journeyDiagram-5HDEW3XC-CRGz7dcx.js +884 -0
  64. package/lib/kanban-definition-HUTT4EX6-BBH4Yn5e.js +974 -0
  65. package/lib/line-CJQicKfr.js +34 -0
  66. package/lib/linear-B9Cv96-J.js +288 -0
  67. package/lib/map-C7KALUOH.js +241 -0
  68. package/lib/mermaid-parser.core-BupC9XGF.js +638 -0
  69. package/lib/mermaid-renderer-Cp0xusfR.js +2425 -0
  70. package/lib/mindmap-definition-LN4V7U3C-CWL1sg0K.js +978 -0
  71. package/lib/ordinal-CNQzPcrr.js +65 -0
  72. package/lib/packet-7NZHBO7P-CgBlALV1.js +3 -0
  73. package/lib/path-DVvH25eQ.js +84 -0
  74. package/lib/pegDiagram-2B236MQR-BKv8dTtv.js +94 -0
  75. package/lib/pie-RZYD4A2V-CryPC-P_.js +3 -0
  76. package/lib/pieDiagram-ENE6RG2P-CXeFg_cL.js +203 -0
  77. package/lib/quadrantDiagram-ABIIQ3AL-v_u3aC8Y.js +2001 -0
  78. package/lib/radar-I7S5WNFK-DgzJDRy3.js +3 -0
  79. package/lib/railroad-3IZDKUUU-DFp3mbpB.js +3 -0
  80. package/lib/railroad-abnf-AHOZXSZD-BRjidKH0.js +3 -0
  81. package/lib/railroad-ebnf-EBAXGLYW-PgrDWact.js +3 -0
  82. package/lib/railroad-peg-LSFZ7HO6-CMKir81Y.js +3 -0
  83. package/lib/railroadDiagram-RFXS5EU6-mEC9tVS-.js +76 -0
  84. package/lib/requirementDiagram-TGXJPOKE-BAEzI7V4.js +2223 -0
  85. package/lib/rolldown-runtime-DArdT4gl.js +23 -0
  86. package/lib/rough.esm-B2w_aYoc.js +1361 -0
  87. package/lib/sankeyDiagram-HTMAVEWB-Dbu-sl2E.js +972 -0
  88. package/lib/sequenceDiagram-DBY2YBRQ-DCuWmWHX.js +4156 -0
  89. package/lib/sizeCapture-X5ZJPWSS-BEIM84He.js +46 -0
  90. package/lib/src-DQbL46sB.js +2139 -0
  91. package/lib/src-DuuHKEe6.js +704 -0
  92. package/lib/stateDiagram-2N3HPSRC-fs9QmDMR.js +220 -0
  93. package/lib/stateDiagram-v2-6OUMAXLB-wWxYbttN.js +30 -0
  94. package/lib/swimlanes-5IMT3BWC-QaXUd9db.js +5069 -0
  95. package/lib/swimlanesDiagram-G3AALYLV-BtGToCzH.js +30 -0
  96. package/lib/timeline-definition-FHXFAJF6-CAsyJrsw.js +1069 -0
  97. package/lib/treeView-QDETBFTQ-DVp4aTZQ.js +3 -0
  98. package/lib/treemap-6X3UGDF4-BbBnHMHJ.js +3 -0
  99. package/lib/types.d.ts +44 -0
  100. package/lib/v4-CZv9Hsqq.js +33 -0
  101. package/lib/vennDiagram-L72KCM5P-C87u0gjr.js +1880 -0
  102. package/lib/wardley-OPB4EBWU-B-RXhnoN.js +3 -0
  103. package/lib/wardleyDiagram-EHGQE667-BxviBDl_.js +645 -0
  104. package/lib/xychartDiagram-FW5EYKEG-BQQhanuH.js +2098 -0
  105. package/package.json +29 -0
@@ -0,0 +1,704 @@
1
+ import { t as e } from "./rolldown-runtime-DArdT4gl.js";
2
+ //#region ../../node_modules/.pnpm/@iframely+embed.js@1.10.1/node_modules/@iframely/embed.js/src/iframely.js
3
+ var t = /* @__PURE__ */ e(((e, t) => {
4
+ var n = window.iframely = window.iframely || {};
5
+ n.config = n.config || {}, t.exports = n;
6
+ })), n = /* @__PURE__ */ e((() => {
7
+ var e = t();
8
+ (function(e) {
9
+ (document.readyState === "complete" || document.readyState === "interactive") && setTimeout(e, 0), document.addEventListener ? document.addEventListener("DOMContentLoaded", e) : window.attachEvent("onload", e);
10
+ })(function() {
11
+ e.trigger("load");
12
+ });
13
+ })), r = /* @__PURE__ */ e((() => {
14
+ var e = t();
15
+ e.VERSION = 1, e.ASPECT_WRAPPER_CLASS = "iframely-responsive", e.MAXWIDTH_WRAPPER_CLASS = "iframely-embed", e.LOADER_CLASS = "iframely-loader", e.DOMAINS = [
16
+ "cdn.iframe.ly",
17
+ "iframe.ly",
18
+ "if-cdn.com",
19
+ "iframely.net"
20
+ ], e.CDN = e.CDN || e.DOMAINS[0], e.BASE_RE = /^(?:https?:)?\/\/[^/]+/i, e.ID_RE = /^(?:https?:)?\/\/[^/]+\/(\w+-?\w+)(?:\?.*)?$/, e.SCRIPT_RE = /^(?:https?:|file:\/)?\/\/[^/]+(?:.+)?\/(?:embed|iframely)\.js(?:[^/]+)?$/i, e.CDN_RE = /^(?:https?:)?\/\/([^/]+)\/(?:embed|iframely)\.js(?:[^/]+)?$/i, e.SUPPORTED_QUERY_STRING = [
21
+ "api_key",
22
+ "key",
23
+ "iframe",
24
+ "html5",
25
+ "playerjs",
26
+ "align",
27
+ "language",
28
+ "media",
29
+ "maxwidth",
30
+ "maxheight",
31
+ "lazy",
32
+ "import",
33
+ "parent",
34
+ "shadow",
35
+ "click_to_play",
36
+ "autoplay",
37
+ "mute",
38
+ "card",
39
+ "consent",
40
+ "theme",
41
+ /^_.+/
42
+ ], e.SUPPORTED_THEMES = [
43
+ "auto",
44
+ "light",
45
+ "dark"
46
+ ], e.LAZY_IFRAME_SHOW_TIMEOUT = 3e3, e.LAZY_IFRAME_FADE_TIMEOUT = 200, e.CLEAR_WRAPPER_STYLES_TIMEOUT = 3e3, e.RECOVER_HREFS_ON_CANCEL = !1, e.SHADOW = "iframely-shadow";
47
+ })), i = /* @__PURE__ */ e((() => {
48
+ var e = t(), n = (function(e, t, n, r) {
49
+ for (; !r && n < t.length;) r = e[t[n++] + "equestAnimationFrame"];
50
+ return r && r.bind(e) || e.setImmediate || function(t) {
51
+ e.setTimeout(t, 0);
52
+ };
53
+ })(typeof window < "u" ? window : global, "r webkitR mozR msR oR".split(" "), 0), r = {};
54
+ e.on = function(e, t) {
55
+ (r[e] = r[e] || []).push(t);
56
+ };
57
+ function i(t, i, a) {
58
+ (r[t] || []).forEach(function(t) {
59
+ i ? n(function() {
60
+ t.apply(e, a);
61
+ }) : t.apply(e, a);
62
+ }), t === "init" && (r[t] = []);
63
+ }
64
+ e.trigger = function(e) {
65
+ i(e, !1, Array.prototype.slice.call(arguments, 1));
66
+ }, e.triggerAsync = function(e) {
67
+ i(e, !0, Array.prototype.slice.call(arguments, 1));
68
+ };
69
+ })), a = /* @__PURE__ */ e(((e) => {
70
+ var n = t(), r = o();
71
+ n.on("init", function() {
72
+ n.extendOptions(l()), s(), n.config.theme && n.setTheme(n.config.theme), u(n.DOMAINS.concat(n.CDN.replace(/^https?:\/\//, "")));
73
+ }), n.load = function() {
74
+ var e = Array.prototype.slice.call(arguments);
75
+ e.unshift("load"), n.trigger.apply(this, e);
76
+ };
77
+ var i = e.getIframeWrapper = function(e, t) {
78
+ var r = e.parentNode;
79
+ if (!(!r || r.nodeName !== "DIV" || d(r) > 2 || t && r.getAttribute("class") !== n.ASPECT_WRAPPER_CLASS || !t && r.style.position !== "relative" && r.getAttribute("class") !== n.ASPECT_WRAPPER_CLASS)) {
80
+ var i = r.parentNode;
81
+ if (!(!i || i.nodeName !== "DIV" || d(i) > 1 || t && i.getAttribute("class") && i.getAttribute("class").split(" ").indexOf(n.MAXWIDTH_WRAPPER_CLASS) === -1 || !t && i.getAttribute("class") && !i.getAttribute("class").match(/iframely/i))) return {
82
+ aspectWrapper: r,
83
+ maxWidthWrapper: i
84
+ };
85
+ }
86
+ };
87
+ e.addDefaultWrappers = function(e) {
88
+ var t = e.parentNode, r = document.createElement("div");
89
+ r.className = n.MAXWIDTH_WRAPPER_CLASS;
90
+ var i = document.createElement("div");
91
+ return i.className = n.ASPECT_WRAPPER_CLASS, r.appendChild(i), t.insertBefore(r, e), {
92
+ aspectWrapper: i,
93
+ maxWidthWrapper: r
94
+ };
95
+ }, e.getWidget = function(e) {
96
+ var t = i(e);
97
+ if (t) {
98
+ var n = {
99
+ iframe: e,
100
+ aspectWrapper: t.aspectWrapper,
101
+ maxWidthWrapper: t.maxWidthWrapper
102
+ };
103
+ if (e.nodeName === "A" && e.hasAttribute("href")) n.url = e.getAttribute("href");
104
+ else if (e.hasAttribute("src") && /url=/.test(e.getAttribute("src"))) {
105
+ var r = p(e.getAttribute("src"));
106
+ r.url && (n.url = r.url);
107
+ }
108
+ return n;
109
+ }
110
+ }, n.getElementComputedStyle = function(e, t) {
111
+ return window.getComputedStyle && window.getComputedStyle(e).getPropertyValue(t);
112
+ }, e.setStyles = function(e, t) {
113
+ e && Object.keys(t).forEach(function(r) {
114
+ var i = t[r];
115
+ (typeof i == "number" || typeof i == "string" && /^(\d+)?\.?(\d+)$/.test(i)) && (i += "px");
116
+ var a = e.style[r];
117
+ (!window.getComputedStyle || n.getElementComputedStyle(e, r) != i && !(e.className == "iframely-responsive" && r === "paddingBottom" && !a && /^56\.2\d+%$/.test(i)) && (r !== "max-width" || i !== "keep")) && (e.style[r] = i || "");
118
+ });
119
+ };
120
+ var a = e.applyNonce = function(e) {
121
+ n.config.nonce && (e.nonce = n.config.nonce);
122
+ };
123
+ function s() {
124
+ var e = "iframely-styles", t = document.getElementById(e);
125
+ if (!t) {
126
+ var n = ".iframely-responsive{top:0;left:0;width:100%;height:0;position:relative;padding-bottom:56.25%;box-sizing:border-box;}.iframely-responsive>*{top:0;left:0;width:100%;height:100%;position:absolute;border:0;box-sizing:border-box;}";
127
+ t = document.createElement("style"), t.id = e, t.type = "text/css", a(t), t.styleSheet ? t.styleSheet.cssText = n : t.innerHTML = n, document.getElementsByTagName("head")[0].appendChild(t);
128
+ }
129
+ }
130
+ var c = e.addQueryString = function(e, t) {
131
+ var n = "";
132
+ return Object.keys(t).forEach(function(r) {
133
+ var i = t[r];
134
+ if (Object.prototype.toString.call(i) === "[object Array]") {
135
+ var a = i.map(function(e) {
136
+ return r + "=" + encodeURIComponent(e);
137
+ });
138
+ n += "&" + a.join("&");
139
+ } else i !== void 0 && e.indexOf(r + "=") === -1 && (typeof i == "boolean" && r.charAt(0) !== "_" && (i = +!!i), n += "&" + r + "=" + encodeURIComponent(i));
140
+ }), e + (n === "" ? "" : (e.indexOf("?") > -1 ? "&" : "?") + n.replace(/^&/, ""));
141
+ };
142
+ e.getEndpoint = function(e, t, r) {
143
+ var i = e;
144
+ if (/^(https?:)?\/\//i.test(e) || (i = (t.CDN || n.CDN) + i, delete t.CDN), /^(?:https?:)?\/\//i.test(i) || (i = "//" + i), t && (i = c(i, t)), r && r.length) {
145
+ for (var a = {}, o = Object.keys(n.config), s = 0; s < o.length; s++) {
146
+ var l = o[s];
147
+ f(r, l) && (a[l] = n.config[l]);
148
+ }
149
+ i = c(i, a);
150
+ }
151
+ return /^(https?:)?\/\//i.test(i) && !i.match(/^(https?:)?\/\//i)[1] && document.location.protocol !== "http:" && document.location.protocol !== "https:" && (i = "https:" + i), i;
152
+ }, n.extendOptions = function(e) {
153
+ e && Object.keys(e).forEach(function(t) {
154
+ var r = e[t] === 0 || e[t] === "0" || e[t] === !1 || e[t] === "false" ? !1 : e[t] === 1 || e[t] === "1" || e[t] === !0 || e[t] === "true" || e[t];
155
+ n.config[t] !== !1 && (n.config[t] = r);
156
+ });
157
+ };
158
+ function l() {
159
+ for (var e = document.querySelectorAll("script[src*=\"embed.js\"], script[src*=\"iframely.js\"]"), t = 0; t < e.length; t++) {
160
+ var r = e[t].getAttribute("src").replace(/&amp;/gi, "&");
161
+ if (n.SCRIPT_RE.test(r)) {
162
+ var i = p(r, n.SUPPORTED_QUERY_STRING.concat("cdn", "cancel", "nonce")), a = r.match(n.CDN_RE);
163
+ if ((a || i.cdn) && (n.CDN = i.cdn || a[1]), i.cancel && ((i.cancel === "0" || i.cancel === "false") && (n.RECOVER_HREFS_ON_CANCEL = !0), delete i.cancel), Object.keys(i).length > 0) return i;
164
+ }
165
+ }
166
+ return {};
167
+ }
168
+ function u(e) {
169
+ for (var t = document.querySelectorAll("iframe[src*=\"" + (e || n.DOMAINS).join("\"], iframe[src*=\"") + "\"]"), i = 0; i < t.length; i++) {
170
+ var a = t[i], o = a.src;
171
+ (o.match(/^(https?:)?\/\/[^/]+\/api\/iframe\?.+/) || o.match(/^(https?:)?\/\/[^/]+\/\w+(\?.*)?$/)) && r.postMessage({ method: "getSize" }, "*", a.contentWindow);
172
+ }
173
+ }
174
+ function d(e) {
175
+ for (var t = 0, n = 0; n < e.childNodes.length; n++) {
176
+ var r = e.childNodes[n];
177
+ if (r.nodeType === Node.TEXT_NODE) {
178
+ var i = r.textContent || r.innerText;
179
+ i = i.replace(/\s|\n/g, ""), i && t++;
180
+ } else r.nodeType === Node.ELEMENT_NODE && t++;
181
+ }
182
+ return t;
183
+ }
184
+ function f(e, t) {
185
+ for (var n, r = 0; r < e.length;) {
186
+ if (n = e[r], n == t || n && n.test && n.test(t)) return !0;
187
+ r++;
188
+ }
189
+ }
190
+ var p = e.parseQueryString = function(e, t) {
191
+ var n = e.match(/\?(.+)/i);
192
+ if (n) {
193
+ n = n[1];
194
+ for (var r = n.split("&"), i = {}, a = 0; a < r.length; a++) {
195
+ var o = r[a].split("=");
196
+ (!t || f(t, o[0])) && (i[o[0]] = decodeURIComponent(o[1]));
197
+ }
198
+ return i;
199
+ }
200
+ return {};
201
+ };
202
+ e.createScript = function() {
203
+ var e = document.createElement("script");
204
+ return a(e), e;
205
+ };
206
+ })), o = /* @__PURE__ */ e(((e) => {
207
+ var n = t(), r = a();
208
+ function i(e) {
209
+ function t(t) {
210
+ var n;
211
+ try {
212
+ typeof t.data == "string" ? n = JSON.parse(t.data) : typeof t.data == "object" && (n = t.data);
213
+ } catch {
214
+ if (typeof t.data == "string") {
215
+ var r = t.data.match(/heightxPYMx(\d+)/);
216
+ r && (n = {
217
+ method: "resize",
218
+ height: parseInt(r[1]) + 1,
219
+ domains: "all"
220
+ });
221
+ }
222
+ }
223
+ e(t, n);
224
+ }
225
+ window.postMessage && (window.addEventListener ? window[e ? "addEventListener" : "removeEventListener"]("message", t, !1) : window[e ? "attachEvent" : "detachEvent"]("onmessage", t));
226
+ }
227
+ function o(e, t) {
228
+ for (var n, r = 0; r < e.length && !n; r++) {
229
+ var i = e[r];
230
+ i.contentWindow === t && (n = i);
231
+ }
232
+ return n;
233
+ }
234
+ function s(e, t) {
235
+ var r, i;
236
+ return t.src && (i = e.querySelectorAll("iframe[src*=\"" + t.src.replace(/^https?:/, "") + "\"]"), r = o(i, t.contentWindow)), r ||= (i = t.domains ? e.querySelectorAll("iframe[src*=\"" + (t.domains || n.DOMAINS).join("\"], iframe[src*=\"") + "\"]") : e.getElementsByTagName("iframe"), o(i, t.contentWindow)), r;
237
+ }
238
+ function c(e, t) {
239
+ for (var r, i = "." + (n.config.shadow || n.SHADOW), a = e.querySelectorAll(i), o = 0; o < a.length && !r; o++) {
240
+ var l = a[o].shadowRoot;
241
+ l && (r = s(l, t), r ||= c(l, t));
242
+ }
243
+ return r;
244
+ }
245
+ n.findIframe ||= function(e) {
246
+ var t = s(document, e);
247
+ return t ||= c(document, e), t;
248
+ }, i(function(e, t) {
249
+ if (t && (t.method || t.type)) {
250
+ var i = n.findIframe({
251
+ contentWindow: e.source,
252
+ src: t.context,
253
+ domains: t.domains !== "all" && n.DOMAINS.concat(n.CDN)
254
+ });
255
+ if (i) {
256
+ var a = r.getWidget(i);
257
+ a && t.url && (a.url = t.url), n.trigger("message", a, t);
258
+ }
259
+ }
260
+ }), e.postMessage = function(e, t, n) {
261
+ window.postMessage && (typeof e == "object" && (e.context = document.location.href), e = JSON.stringify(e), t ||= "*", n ||= window.parent, n.postMessage(e, t.replace(/([^:]+:\/\/[^/]+).*/, "$1")));
262
+ };
263
+ })), s = /* @__PURE__ */ e((() => {
264
+ var e = o(), n = t(), r = {};
265
+ function i(t) {
266
+ var n = JSON.stringify(t), i = r[n];
267
+ return i || (i = new IntersectionObserver(function(n) {
268
+ n.forEach(function(n) {
269
+ e.postMessage({
270
+ method: "intersection",
271
+ entry: { isIntersecting: n.isIntersecting },
272
+ options: t
273
+ }, "*", n.target.contentWindow);
274
+ });
275
+ }, a(t)), r[n] = i), i;
276
+ }
277
+ function a(e) {
278
+ var t = {};
279
+ return e && e.threshold && (t.threshold = e.threshold), e && e.margin && (t.rootMargin = e.margin + "px " + e.margin + "px " + e.margin + "px " + e.margin + "px"), t;
280
+ }
281
+ "IntersectionObserver" in window && "IntersectionObserverEntry" in window && (n.on("init", function() {
282
+ n.extendOptions({ intersection: 1 });
283
+ }), n.on("message", function(e, t) {
284
+ if (t.method === "send-intersections" && e.iframe) {
285
+ var n = t.options;
286
+ n ||= { margin: 1e3 }, i(n).observe(e.iframe);
287
+ }
288
+ }));
289
+ })), c = /* @__PURE__ */ e((() => {
290
+ var e = t(), n = o();
291
+ function r(e, t) {
292
+ n.postMessage({
293
+ method: "setTheme",
294
+ data: t
295
+ }, "*", e.contentWindow);
296
+ }
297
+ function i(e, t) {
298
+ for (var n = e.getElementsByTagName("iframe"), i = 0; i < n.length; i++) {
299
+ var a = n[i];
300
+ r(a, t);
301
+ }
302
+ }
303
+ e.setTheme = function(t, n) {
304
+ t && e.SUPPORTED_THEMES.indexOf(t) > -1 ? n ? n.tagName === "IFRAME" ? r(n, t) : i(n, t) : (e.extendOptions({ theme: t }), i(document, t), e.trigger("set-theme", t)) : console.warn("Using iframely.setTheme with not supported theme: \"" + t + "\". Supported themes are: " + e.SUPPORTED_THEMES.join(", "));
305
+ };
306
+ })), l = /* @__PURE__ */ e((() => {
307
+ var e = a(), n = t(), r = {};
308
+ n.on("load", function(e) {
309
+ if (!e && n.config.import !== !1 && l() && !n.import) {
310
+ var t = document.querySelectorAll("a[data-iframely-url]:not([data-import-uri])");
311
+ t.length > 1 && i(t);
312
+ }
313
+ }), n.on("load", function(e, t) {
314
+ if (e && e.uri && (e.html || e.cancel)) {
315
+ var n = r[e.uri];
316
+ if (n) for (var i = 0; i < n.length; i++) o(e, n[i], t);
317
+ delete r[e.uri];
318
+ }
319
+ });
320
+ function i(t) {
321
+ var i = e.createScript(), a = [], o = [], l = null;
322
+ function u(e, t) {
323
+ r[e] || (r[e] = []), r[e].push(t);
324
+ }
325
+ function d(t) {
326
+ var r = t.getAttribute("data-iframely-url"), i = r.match(n.ID_RE), s = i && i[1], c = e.parseQueryString(r, n.SUPPORTED_QUERY_STRING.concat("url")), d = c.url;
327
+ delete c.url;
328
+ var f = c.import === "0" || c.import === "false" || c.playerjs === "1" || c.playerjs === "true";
329
+ if (!f) {
330
+ var p = r.match(n.BASE_RE);
331
+ c.CDN = p && p[0], l ? JSON.stringify(c, Object.keys(c).sort()) !== JSON.stringify(l, Object.keys(l).sort()) && (f = !0) : l = c;
332
+ }
333
+ f ? n.trigger("load", t) : s ? (t.setAttribute("data-import-uri", s), o.indexOf(s) === -1 && o.push(s), u(s, t)) : (d ||= t.getAttribute("href"), (l.key || l.api_key || n.config.api_key || n.config.key) && d ? (t.setAttribute("data-import-uri", d), a.indexOf(d) === -1 && a.push(d), u(d, t)) : n.trigger("load", t));
334
+ }
335
+ for (var f = 0; f < t.length; f++) {
336
+ var p = t[f];
337
+ !p.getAttribute("data-import-uri") && p.hasAttribute("data-iframely-url") && d(p);
338
+ }
339
+ a.length > 0 || o.length > 0 ? (l ||= {}, l.touch = n.isTouch(), l.flash = c(), l.app = 1, n.config.theme && (l.theme = n.config.theme), a.length > 0 && (l.uri = a), o.length > 0 && (l.ids = o.join("&")), l.v = n.VERSION, i.src = e.getEndpoint("/api/import/v2", l, n.SUPPORTED_QUERY_STRING), i.onerror = function() {
340
+ s();
341
+ }, document.head.appendChild(i), n.import = i) : (s(), n.trigger("load"));
342
+ }
343
+ n.buildImportWidgets = function(e) {
344
+ n.trigger("import-loaded", e), e.widgets.forEach(function(t) {
345
+ n.trigger("load", t, e);
346
+ }), s();
347
+ };
348
+ function o(t, r, i) {
349
+ var a = t.cancel, o = t.shadow, s = t.renderEvent, c = e.getIframeWrapper(r, !0), l;
350
+ if (a) l = e.getWidget(r), n.cancelWidget(l || {
351
+ maxWidthWrapper: r,
352
+ iframe: r,
353
+ url: r.getAttribute("href")
354
+ });
355
+ else {
356
+ l = document.createElement("div"), l.innerHTML = t.html;
357
+ var f, p;
358
+ if (c && !s ? (f = c.aspectWrapper.parentNode, p = c.aspectWrapper, c.maxWidthWrapper.removeAttribute("style")) : (f = r.parentNode, p = r), o) {
359
+ var m = document.createElement("div"), h = m.attachShadow({ mode: "open" });
360
+ h.appendChild(l);
361
+ var g = {
362
+ shadowRoot: h,
363
+ shadowContainer: m,
364
+ container: f,
365
+ context: t.context,
366
+ stylesIds: t.stylesIds,
367
+ stylesDict: i.commonShadowStyles
368
+ };
369
+ n.trigger("import-shadow-widget-before-render", g), f.insertBefore(m, p), n.trigger("import-shadow-widget-after-render", g);
370
+ } else f.insertBefore(l, p), d(l);
371
+ f.removeChild(p), s && setTimeout(function() {
372
+ u(f);
373
+ }, n.CLEAR_WRAPPER_STYLES_TIMEOUT);
374
+ }
375
+ }
376
+ function s() {
377
+ delete n.import;
378
+ for (var e = document.querySelectorAll("a[data-iframely-url][data-import-uri]"), t = 0; t < e.length; t++) e[t].removeAttribute("data-import-uri"), n.trigger("load", e[t]);
379
+ }
380
+ n.isTouch = function() {
381
+ return "ontouchstart" in window || navigator.maxTouchPoints;
382
+ };
383
+ function c() {
384
+ var e = !1;
385
+ try {
386
+ new ActiveXObject("ShockwaveFlash.ShockwaveFlash"), e = !0;
387
+ } catch {
388
+ e = !!(navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] != null && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin);
389
+ }
390
+ return e;
391
+ }
392
+ function l() {
393
+ return document.head.attachShadow && (n.debug || document.location.protocol === "http:" || document.location.protocol === "https:") && !n.config.playerjs && !n.config.lazy;
394
+ }
395
+ function u(e) {
396
+ for (var t = e, r = 0; t && (!t.getAttribute("class") || t.getAttribute("class").split(" ").indexOf(n.ASPECT_WRAPPER_CLASS) === -1);) t = t.parentNode, r++, r > 4 && (t = null);
397
+ var i = t && t.parentNode;
398
+ i && i.getAttribute("class") && i.getAttribute("class").split(" ").indexOf(n.MAXWIDTH_WRAPPER_CLASS) > -1 && (t.removeAttribute("style"), t.removeAttribute("class"), i.removeAttribute("style"));
399
+ }
400
+ n.on("import-widget-ready", u), n.addEventListener ||= function(e, t, n) {
401
+ e && (e.addEventListener ? e.addEventListener(t, n, !1) : e.attachEvent ? e.attachEvent("on" + t, n) : e["on" + t] = n);
402
+ };
403
+ function d(t) {
404
+ function n(e, t) {
405
+ return e.nodeName && e.nodeName.toUpperCase() === t.toUpperCase();
406
+ }
407
+ function r(n) {
408
+ var r = n.text || n.textContent || n.innerHTML || "", i = e.createScript();
409
+ n.src && (i.src = n.src), i.type = "text/javascript";
410
+ try {
411
+ i.appendChild(document.createTextNode(r));
412
+ } catch {
413
+ i.text = r;
414
+ }
415
+ t.appendChild(i);
416
+ }
417
+ var i = [], a, o = t.childNodes, s, c;
418
+ for (c = 0; o[c]; c++) s = o[c], n(s, "script") && (!s.type || s.type.toLowerCase() === "text/javascript" || s.type.toLowerCase() === "application/javascript") ? (i.push(s), t.removeChild(s)) : d(s);
419
+ for (c = 0; i[c]; c++) a = i[c], a.parentNode && a.parentNode.removeChild(a), r(i[c]);
420
+ }
421
+ })), u = /* @__PURE__ */ e((() => {
422
+ var e = a(), n = t();
423
+ n.on("load", function(e, t) {
424
+ if (e && e.nodeName && typeof t == "string") {
425
+ var r = document.createElement("a");
426
+ r.setAttribute("href", t), e.appendChild(r), n.trigger("load", r);
427
+ }
428
+ }), n.on("load", function(e) {
429
+ if (!e && !n.import) for (var t = document.querySelectorAll("a[data-iframely-url]:not([data-import-uri])"), r = 0; r < t.length; r++) n.trigger("load", t[r]);
430
+ }), n.on("load", function(e) {
431
+ e && e.nodeName === "A" && (e.getAttribute("data-iframely-url") || e.getAttribute("href")) && !e.hasAttribute("data-import-uri") && r(e);
432
+ });
433
+ function r(t) {
434
+ if (!(!t.getAttribute("data-iframely-url") && !t.getAttribute("href"))) {
435
+ var r, i = t.getAttribute("data-iframely-url");
436
+ if (i && /^((?:https?:)?\/\/[^/]+)\/\w+/i.test(i) ? r = e.getEndpoint(i, {
437
+ v: n.VERSION,
438
+ app: 1,
439
+ theme: n.config.theme
440
+ }) : (n.config.api_key || n.config.key) && n.CDN ? r = e.getEndpoint("/api/iframe", {
441
+ url: t.getAttribute("href"),
442
+ v: n.VERSION,
443
+ app: 1,
444
+ theme: n.config.theme
445
+ }, n.SUPPORTED_QUERY_STRING) : console.warn("Iframely cannot build embeds: api key is required as query-string of embed.js"), !r) t.removeAttribute("data-iframely-url");
446
+ else {
447
+ var a = document.createElement("iframe");
448
+ a.setAttribute("allowfullscreen", ""), a.setAttribute("allow", "autoplay *; encrypted-media *; ch-prefers-color-scheme *"), t.hasAttribute("data-img") && a.setAttribute("data-img", t.getAttribute("data-img"));
449
+ var o = t.hasAttribute("data-lazy") || t.hasAttribute("data-img") || /&lazy=1/.test(r) || n.config.lazy, s = t.textContent || t.innerText;
450
+ s && s !== "" && (a.textContent = s);
451
+ var c = e.getIframeWrapper(t, !0);
452
+ if (c) for (; c.aspectWrapper.lastChild;) c.aspectWrapper.removeChild(c.aspectWrapper.lastChild);
453
+ else c = e.addDefaultWrappers(t), t.parentNode.removeChild(t);
454
+ c.aspectWrapper.appendChild(a), o ? (a.setAttribute("data-iframely-url", r), n.trigger("load", a)) : (a.setAttribute("src", r), n.trigger("iframe-ready", a));
455
+ }
456
+ }
457
+ }
458
+ })), d = /* @__PURE__ */ e((() => {
459
+ var e = a(), n = t();
460
+ n.on("load", function(t) {
461
+ if (t && t.nodeName === "IFRAME" && t.hasAttribute("data-iframely-url") && t.hasAttribute("data-img") && !t.getAttribute("src")) {
462
+ var i = t.getAttribute("data-img");
463
+ t.removeAttribute("data-img"), t.setAttribute("data-img-created", "");
464
+ var a = e.getWidget(t), o = t.getAttribute("data-iframely-url");
465
+ r(a, o, i), o = e.addQueryString(o, { img: 1 }), t.setAttribute("data-iframely-url", o), new f(a), n.trigger("load", t);
466
+ }
467
+ }), n.on("message", function(e, t) {
468
+ var n;
469
+ t.method === "widgetRendered" && (s(e), n = u(e), n && n.deactivate()), t.method === "begin-waiting-widget-render" && (n = u(e), n && n.clearLoadingTimeout()), t.method === "end-waiting-widget-render" && (n = u(e), n && n.registerLoadingTimeout());
470
+ });
471
+ function r(t, r, i) {
472
+ var a;
473
+ if (i && /^(https?:)?\/\//.test(i)) a = i;
474
+ else {
475
+ var o = e.parseQueryString(r), s = {};
476
+ for (var c in o) c.indexOf("_") === 0 && (s[c] = o[c]);
477
+ if (r.match(/\/api\/iframe/)) a = e.getEndpoint(r.match(/^(.+)\/api\/iframe/i)[1] + "/api/thumbnail", Object.assign({
478
+ url: o.url,
479
+ api_key: o.api_key,
480
+ key: o.key
481
+ }, s));
482
+ else if (r.match(n.ID_RE)) a = e.getEndpoint(r.replace(/^((?:https?:)?\/\/[^/]+\/(\w+-?\w+))(?:\?.*)?$/, "$1/thumbnail"), s);
483
+ else return;
484
+ }
485
+ var l = document.createElement("div");
486
+ e.setStyles(l, {
487
+ position: "absolute",
488
+ width: "100%",
489
+ height: "100%",
490
+ backgroundImage: "url('" + a + "')",
491
+ backgroundSize: "cover",
492
+ backgroundPosition: "center"
493
+ });
494
+ var u = document.createElement("div");
495
+ u.setAttribute("class", n.LOADER_CLASS), l.appendChild(u);
496
+ var d = n.getElementComputedStyle(t.aspectWrapper, "padding-top"), f = n.getElementComputedStyle(t.aspectWrapper, "padding-bottom"), p = d.match(/^(\d+)px$/);
497
+ if (p && parseInt(p[1]) && f) {
498
+ var m = document.createElement("div");
499
+ e.setStyles(m, {
500
+ top: "-" + d,
501
+ width: "100%",
502
+ height: 0,
503
+ position: "relative",
504
+ paddingBottom: f
505
+ }), m.appendChild(l), t.aspectWrapper.appendChild(m);
506
+ } else t.aspectWrapper.appendChild(l);
507
+ }
508
+ function i(e, t) {
509
+ for (var n = 0, r = 0; r < t.childNodes.length; r++) {
510
+ var i = t.childNodes[r];
511
+ if (i.nodeType !== Node.TEXT_NODE && i.nodeType === Node.ELEMENT_NODE) {
512
+ if (e === n) return i;
513
+ n++;
514
+ }
515
+ }
516
+ }
517
+ function o(e) {
518
+ for (var t = 0, n = 0; n < e.childNodes.length; n++) {
519
+ var r = e.childNodes[n];
520
+ if (r.nodeType === Node.TEXT_NODE) {
521
+ var i = r.textContent || r.innerText;
522
+ i = i.replace(/\s|\n/g, ""), i && t++;
523
+ } else r.nodeType === Node.ELEMENT_NODE && t++;
524
+ }
525
+ return t;
526
+ }
527
+ function s(e) {
528
+ var t = e.aspectWrapper && o(e.aspectWrapper) > 1 && i(1, e.aspectWrapper);
529
+ t && t.nodeName === "DIV" && e.aspectWrapper.removeChild(t);
530
+ }
531
+ var c = [];
532
+ function l(e) {
533
+ for (var t = 0; t < c.length && c[t].widget.iframe !== e.iframe;) t++;
534
+ if (t < c.length && c[t].widget.iframe === e.iframe) return t;
535
+ }
536
+ function u(e) {
537
+ var t = l(e);
538
+ if (t || t === 0) return c[t];
539
+ }
540
+ function d(e) {
541
+ var t = l(e);
542
+ (t || t === 0) && c.splice(t, 1);
543
+ }
544
+ function f(e) {
545
+ this.widget = e, this.loadCount = 0;
546
+ var t = e.iframe, r = this;
547
+ function i() {
548
+ r.iframeOnLoad();
549
+ }
550
+ n.addEventListener(t, "load", i), this.registerLoadingTimeout(), c.push(this);
551
+ }
552
+ f.prototype.iframeOnLoad = function() {
553
+ if (this.loadCount++, this.loadCount === 2) {
554
+ this.deactivate();
555
+ var e = this;
556
+ setTimeout(function() {
557
+ s(e.widget);
558
+ }, n.LAZY_IFRAME_FADE_TIMEOUT);
559
+ }
560
+ }, f.prototype.deactivate = function() {
561
+ this.clearLoadingTimeout(), d(this);
562
+ }, f.prototype.clearLoadingTimeout = function() {
563
+ this.timeoutId && clearTimeout(this.timeoutId), this.timeoutId = null;
564
+ }, f.prototype.registerLoadingTimeout = function() {
565
+ if (!this.timeoutId) {
566
+ var e = this;
567
+ this.timeoutId = setTimeout(function() {
568
+ e.iframeOnLoad();
569
+ }, n.LAZY_IFRAME_SHOW_TIMEOUT);
570
+ }
571
+ };
572
+ })), f = /* @__PURE__ */ e((() => {
573
+ var e = a(), n = t();
574
+ n.on("load", function(e) {
575
+ if (!e) for (var t = document.querySelectorAll("iframe[data-iframely-url]"), r = 0; r < t.length; r++) n.trigger("load", t[r]);
576
+ }), n.on("load", function(e) {
577
+ e && e.nodeName === "IFRAME" && e.hasAttribute("data-iframely-url") && !e.hasAttribute("data-img") && !e.getAttribute("src") && r(e);
578
+ });
579
+ function r(t) {
580
+ var r = e.getWidget(t), i = t.getAttribute("data-iframely-url"), a = t.hasAttribute("data-img-created") || t.hasAttribute("data-img"), o = !a && n.SUPPORT_IFRAME_LOADING_ATTR;
581
+ if (r && i) {
582
+ var s = {
583
+ v: n.VERSION,
584
+ app: 1,
585
+ theme: n.config.theme
586
+ };
587
+ !o && n.config.intersection && (s.lazy = 1), i = e.getEndpoint(i, s);
588
+ }
589
+ o && t.setAttribute("loading", "lazy"), a && n.SUPPORT_IFRAME_LOADING_ATTR && t.setAttribute("loading", "edge"), t.setAttribute("src", i), t.removeAttribute("data-iframely-url"), n.trigger("iframe-ready", t);
590
+ }
591
+ })), p = /* @__PURE__ */ e((() => {
592
+ var e = t();
593
+ e.on("message", function(t, n) {
594
+ n.method === "cancelWidget" && e.cancelWidget(t);
595
+ }), e.cancelWidget = function(t) {
596
+ if (!t) {
597
+ console.warn("iframely.cancelWidget called without widget param");
598
+ return;
599
+ }
600
+ function n(e, t) {
601
+ for (var n = !1; !n && e.parentNode;) e = e.parentNode, n = e.className && e.className.split(" ").indexOf(t) >= 0;
602
+ return n && e;
603
+ }
604
+ var r = t.maxWidthWrapper && t.maxWidthWrapper.parentNode, i = t.maxWidthWrapper;
605
+ if (e.config && e.config.parent) {
606
+ var a = n(t.maxWidthWrapper, e.config.parent);
607
+ a && (r = a.parentNode, i = a);
608
+ }
609
+ if (t.url) {
610
+ var o = t.iframe && (t.iframe.textContent || t.iframe.innerText);
611
+ e.triggerAsync("cancel", t.url, r, o, i.nextSibling);
612
+ }
613
+ r.removeChild(i);
614
+ };
615
+ })), m = /* @__PURE__ */ e((() => {
616
+ var e = a(), n = t();
617
+ n.on("message", function(e, t) {
618
+ if (t.method === "setIframelyWidgetSize" || t.method === "resize" || t.method === "setIframelyEmbedData" || t.type === "embed-size" || t.context === "iframe.resize") {
619
+ var n = null;
620
+ t.data && t.data.media && t.data.media.frame_style ? (t.data.media.frame_style.split(";").forEach(function(e) {
621
+ if (e.trim() !== "" && e.indexOf(":") > -1) {
622
+ var t = e.split(":");
623
+ t.length === 2 && (n ||= {}, n[t[0].trim()] = t[1].trim());
624
+ }
625
+ }), o(e, n)) : t.method === "setIframelyEmbedData" && o(e, null);
626
+ var r = t.data && t.data.media;
627
+ !r && t.height && (r = {
628
+ height: t.height,
629
+ "max-width": "keep"
630
+ }), c(e, r);
631
+ }
632
+ });
633
+ var r = {
634
+ border: "",
635
+ "border-radius": "",
636
+ "box-shadow": "",
637
+ overflow: ""
638
+ }, i = {
639
+ border: "0",
640
+ "border-radius": "",
641
+ "box-shadow": "",
642
+ overflow: ""
643
+ };
644
+ function o(t, n) {
645
+ n && t && t.iframe ? n["border-radius"] ? (n.overflow = "hidden", e.setStyles(t.aspectWrapper, n)) : e.setStyles(t.iframe, n) : !n && t && t.iframe && (e.setStyles(t.aspectWrapper, r), e.setStyles(t.iframe, i));
646
+ }
647
+ function s(e) {
648
+ var t = e.iframe && e.iframe.style.border || e.aspectWrapper && e.aspectWrapper.style.border, n = t && t.match(/(\d+)px/) || 0;
649
+ return n && (n = parseInt(n[1]), n *= 2), n;
650
+ }
651
+ function c(t, r) {
652
+ if (r && Object.keys(r).length > 0 && t) {
653
+ var i = s(t), a = window.getComputedStyle && window.getComputedStyle(t.iframe).getPropertyValue("height"), o = r["max-width"];
654
+ typeof o == "number" && (o += i), e.setStyles(t.maxWidthWrapper, {
655
+ "max-width": o,
656
+ "min-width": r["min-width"] && r["min-width"] + i,
657
+ width: r.width && r.width + i
658
+ }), r.scrolling && t.iframe && t.iframe.setAttribute("scrolling", r.scrolling);
659
+ var c = r["aspect-ratio"];
660
+ (c || r.height) && e.setStyles(t.aspectWrapper, {
661
+ paddingBottom: c ? Math.round(1e5 / c) / 1e3 + "%" : 0,
662
+ paddingTop: c && r["padding-bottom"],
663
+ height: c ? 0 : r.height && r.height + i
664
+ });
665
+ var l = window.getComputedStyle && window.getComputedStyle(t.iframe).getPropertyValue("height");
666
+ a && a !== l && n.triggerAsync("heightChanged", t.iframe, a, l);
667
+ }
668
+ }
669
+ })), h = /* @__PURE__ */ e((() => {
670
+ var e = t();
671
+ e.on("message", function(t, n) {
672
+ (n.method === "open-href" || n.method === "click") && e.trigger(n.method, n.href);
673
+ }), e.openHref ||= function(e) {
674
+ e.indexOf(window.location.origin) === 0 ? window.location.href = e : window.open(e, "_blank", "noopener");
675
+ }, e.on("open-href", function(t) {
676
+ e.triggerAsync("click", t), e.openHref(t);
677
+ });
678
+ })), g = /* @__PURE__ */ e((() => {
679
+ var e = t();
680
+ e.on("message", function(t, n) {
681
+ n.method === "setIframelyEmbedOptions" && e.trigger("options", t, n.data);
682
+ });
683
+ })), _ = /* @__PURE__ */ e((() => {
684
+ var e = t();
685
+ e.widgets = e.widgets || {}, e.widgets.load = e.load, e.events || (e.events = {}, e.events.on = e.on, e.events.trigger = e.trigger), e.on("cancel", function(t, n, r, i) {
686
+ if (e.RECOVER_HREFS_ON_CANCEL && !r && (r = t), t && n && r && r !== "") {
687
+ var a = document.createElement("a");
688
+ a.setAttribute("href", t), a.setAttribute("target", "_blank"), a.setAttribute("rel", "noopener"), a.textContent = r, i ? n.insertBefore(a, i) : n.appendChild(a);
689
+ }
690
+ });
691
+ })), v = /* @__PURE__ */ e((() => {
692
+ function e() {
693
+ var e = navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);
694
+ return e ? parseInt(e[2], 10) : !1;
695
+ }
696
+ var n = e(), r = t();
697
+ r.SUPPORT_IFRAME_LOADING_ATTR = n && n >= 77;
698
+ })), y = /* @__PURE__ */ e(((e) => {
699
+ n();
700
+ var a = t();
701
+ a._loaded || (a._loaded = !0, r(), i(), s(), c(), l(), u(), d(), f(), p(), m(), h(), g(), _(), v(), a.trigger("init")), e.iframely = a;
702
+ }));
703
+ //#endregion
704
+ export default y();