You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2604 lines
79 KiB

1 year ago
  1. /******/ (function() { // webpackBootstrap
  2. /******/ "use strict";
  3. /******/ var __webpack_modules__ = ({
  4. /***/ 754:
  5. /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
  6. // EXPORTS
  7. __webpack_require__.d(__webpack_exports__, {
  8. c4: function() { return /* reexport */ router_navigate; },
  9. tL: function() { return /* reexport */ prefetch; },
  10. h: function() { return /* reexport */ store; }
  11. });
  12. // UNUSED EXPORTS: createElement, deepSignal, directive, useContext, useEffect, useMemo
  13. ;// CONCATENATED MODULE: ./node_modules/preact/dist/preact.module.js
  14. var preact_module_n,
  15. preact_module_l,
  16. preact_module_u,
  17. preact_module_t,
  18. i,
  19. preact_module_o,
  20. r,
  21. preact_module_f,
  22. preact_module_e,
  23. preact_module_c = {},
  24. s = [],
  25. a = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,
  26. v = Array.isArray;
  27. function h(n, l) {
  28. for (var u in l) n[u] = l[u];
  29. return n;
  30. }
  31. function p(n) {
  32. var l = n.parentNode;
  33. l && l.removeChild(n);
  34. }
  35. function y(l, u, t) {
  36. var i,
  37. o,
  38. r,
  39. f = {};
  40. for (r in u) "key" == r ? i = u[r] : "ref" == r ? o = u[r] : f[r] = u[r];
  41. if (arguments.length > 2 && (f.children = arguments.length > 3 ? preact_module_n.call(arguments, 2) : t), "function" == typeof l && null != l.defaultProps) for (r in l.defaultProps) void 0 === f[r] && (f[r] = l.defaultProps[r]);
  42. return d(l, f, i, o, null);
  43. }
  44. function d(n, t, i, o, r) {
  45. var f = {
  46. type: n,
  47. props: t,
  48. key: i,
  49. ref: o,
  50. __k: null,
  51. __: null,
  52. __b: 0,
  53. __e: null,
  54. __d: void 0,
  55. __c: null,
  56. __h: null,
  57. constructor: void 0,
  58. __v: null == r ? ++preact_module_u : r,
  59. __i: -1
  60. };
  61. return null == r && null != preact_module_l.vnode && preact_module_l.vnode(f), f;
  62. }
  63. function _() {
  64. return {
  65. current: null
  66. };
  67. }
  68. function k(n) {
  69. return n.children;
  70. }
  71. function m(n, l) {
  72. this.props = n, this.context = l;
  73. }
  74. function b(n, l) {
  75. if (null == l) return n.__ ? b(n.__, n.__i + 1) : null;
  76. for (var u; l < n.__k.length; l++) if (null != (u = n.__k[l]) && null != u.__e) return u.__e;
  77. return "function" == typeof n.type ? b(n) : null;
  78. }
  79. function g(n) {
  80. var l, u;
  81. if (null != (n = n.__) && null != n.__c) {
  82. for (n.__e = n.__c.base = null, l = 0; l < n.__k.length; l++) if (null != (u = n.__k[l]) && null != u.__e) {
  83. n.__e = n.__c.base = u.__e;
  84. break;
  85. }
  86. return g(n);
  87. }
  88. }
  89. function w(n) {
  90. (!n.__d && (n.__d = !0) && i.push(n) && !x.__r++ || preact_module_o !== preact_module_l.debounceRendering) && ((preact_module_o = preact_module_l.debounceRendering) || r)(x);
  91. }
  92. function x() {
  93. var n, l, u, t, o, r, e, c, s;
  94. for (i.sort(preact_module_f); n = i.shift();) n.__d && (l = i.length, t = void 0, o = void 0, r = void 0, c = (e = (u = n).__v).__e, (s = u.__P) && (t = [], o = [], (r = h({}, e)).__v = e.__v + 1, z(s, r, e, u.__n, void 0 !== s.ownerSVGElement, null != e.__h ? [c] : null, t, null == c ? b(e) : c, e.__h, o), r.__.__k[r.__i] = r, L(t, r, o), r.__e != c && g(r)), i.length > l && i.sort(preact_module_f));
  95. x.__r = 0;
  96. }
  97. function C(n, l, u, t, i, o, r, f, e, a, h) {
  98. var p,
  99. y,
  100. _,
  101. m,
  102. g,
  103. w,
  104. x,
  105. C,
  106. $,
  107. D = 0,
  108. H = t && t.__k || s,
  109. I = H.length,
  110. T = I,
  111. j = l.length;
  112. for (u.__k = [], p = 0; p < j; p++) null != (m = u.__k[p] = null == (m = l[p]) || "boolean" == typeof m || "function" == typeof m ? null : m.constructor == String || "number" == typeof m || "bigint" == typeof m ? d(null, m, null, null, m) : v(m) ? d(k, {
  113. children: m
  114. }, null, null, null) : m.__b > 0 ? d(m.type, m.props, m.key, m.ref ? m.ref : null, m.__v) : m) ? (m.__ = u, m.__b = u.__b + 1, m.__i = p, -1 === (C = A(m, H, x = p + D, T)) ? _ = preact_module_c : (_ = H[C] || preact_module_c, H[C] = void 0, T--), z(n, m, _, i, o, r, f, e, a, h), g = m.__e, (y = m.ref) && _.ref != y && (_.ref && N(_.ref, null, m), h.push(y, m.__c || g, m)), null == w && null != g && (w = g), ($ = _ === preact_module_c || null === _.__v) ? -1 == C && D-- : C !== x && (C === x + 1 ? D++ : C > x ? T > j - x ? D += C - x : D-- : D = C < x && C == x - 1 ? C - x : 0), x = p + D, "function" == typeof m.type ? (C !== x || _.__k === m.__k ? e = P(m, e, n) : void 0 !== m.__d ? e = m.__d : g && (e = g.nextSibling), m.__d = void 0) : g && (e = C !== x || $ ? S(n, g, e) : g.nextSibling), "function" == typeof u.type && (u.__d = e)) : (_ = H[p]) && null == _.key && _.__e && (_.__e == e && (e = b(_), "function" == typeof u.type && (u.__d = e)), O(_, _, !1), H[p] = null);
  115. for (u.__e = w, p = I; p--;) null != H[p] && ("function" == typeof u.type && null != H[p].__e && H[p].__e == e && (u.__d = H[p].__e.nextSibling), O(H[p], H[p]));
  116. }
  117. function P(n, l, u) {
  118. for (var t, i = n.__k, o = 0; i && o < i.length; o++) (t = i[o]) && (t.__ = n, l = "function" == typeof t.type ? P(t, l, u) : S(u, t.__e, l));
  119. return l;
  120. }
  121. function $(n, l) {
  122. return l = l || [], null == n || "boolean" == typeof n || (v(n) ? n.some(function (n) {
  123. $(n, l);
  124. }) : l.push(n)), l;
  125. }
  126. function S(n, l, u) {
  127. return l != u && n.insertBefore(l, u || null), l.nextSibling;
  128. }
  129. function A(n, l, u, t) {
  130. var i = n.key,
  131. o = n.type,
  132. r = u - 1,
  133. f = u + 1,
  134. e = l[u];
  135. if (null === e || e && i == e.key && o === e.type) return u;
  136. if (t > (null != e ? 1 : 0)) for (; r >= 0 || f < l.length;) {
  137. if (r >= 0) {
  138. if ((e = l[r]) && i == e.key && o === e.type) return r;
  139. r--;
  140. }
  141. if (f < l.length) {
  142. if ((e = l[f]) && i == e.key && o === e.type) return f;
  143. f++;
  144. }
  145. }
  146. return -1;
  147. }
  148. function D(n, l, u, t, i) {
  149. var o;
  150. for (o in u) "children" === o || "key" === o || o in l || I(n, o, null, u[o], t);
  151. for (o in l) i && "function" != typeof l[o] || "children" === o || "key" === o || "value" === o || "checked" === o || u[o] === l[o] || I(n, o, l[o], u[o], t);
  152. }
  153. function H(n, l, u) {
  154. "-" === l[0] ? n.setProperty(l, null == u ? "" : u) : n[l] = null == u ? "" : "number" != typeof u || a.test(l) ? u : u + "px";
  155. }
  156. function I(n, l, u, t, i) {
  157. var o;
  158. n: if ("style" === l) {
  159. if ("string" == typeof u) n.style.cssText = u;else {
  160. if ("string" == typeof t && (n.style.cssText = t = ""), t) for (l in t) u && l in u || H(n.style, l, "");
  161. if (u) for (l in u) t && u[l] === t[l] || H(n.style, l, u[l]);
  162. }
  163. } else if ("o" === l[0] && "n" === l[1]) o = l !== (l = l.replace(/(PointerCapture)$|Capture$/, "$1")), l = l.toLowerCase() in n ? l.toLowerCase().slice(2) : l.slice(2), n.l || (n.l = {}), n.l[l + o] = u, u ? t ? u.u = t.u : (u.u = Date.now(), n.addEventListener(l, o ? j : T, o)) : n.removeEventListener(l, o ? j : T, o);else if ("dangerouslySetInnerHTML" !== l) {
  164. if (i) l = l.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");else if ("width" !== l && "height" !== l && "href" !== l && "list" !== l && "form" !== l && "tabIndex" !== l && "download" !== l && "rowSpan" !== l && "colSpan" !== l && "role" !== l && l in n) try {
  165. n[l] = null == u ? "" : u;
  166. break n;
  167. } catch (n) {}
  168. "function" == typeof u || (null == u || !1 === u && "-" !== l[4] ? n.removeAttribute(l) : n.setAttribute(l, u));
  169. }
  170. }
  171. function T(n) {
  172. var u = this.l[n.type + !1];
  173. if (n.t) {
  174. if (n.t <= u.u) return;
  175. } else n.t = Date.now();
  176. return u(preact_module_l.event ? preact_module_l.event(n) : n);
  177. }
  178. function j(n) {
  179. return this.l[n.type + !0](preact_module_l.event ? preact_module_l.event(n) : n);
  180. }
  181. function z(n, u, t, i, o, r, f, e, c, s) {
  182. var a,
  183. p,
  184. y,
  185. d,
  186. _,
  187. b,
  188. g,
  189. w,
  190. x,
  191. P,
  192. $,
  193. S,
  194. A,
  195. D,
  196. H,
  197. I = u.type;
  198. if (void 0 !== u.constructor) return null;
  199. null != t.__h && (c = t.__h, e = u.__e = t.__e, u.__h = null, r = [e]), (a = preact_module_l.__b) && a(u);
  200. n: if ("function" == typeof I) try {
  201. if (w = u.props, x = (a = I.contextType) && i[a.__c], P = a ? x ? x.props.value : a.__ : i, t.__c ? g = (p = u.__c = t.__c).__ = p.__E : ("prototype" in I && I.prototype.render ? u.__c = p = new I(w, P) : (u.__c = p = new m(w, P), p.constructor = I, p.render = q), x && x.sub(p), p.props = w, p.state || (p.state = {}), p.context = P, p.__n = i, y = p.__d = !0, p.__h = [], p._sb = []), null == p.__s && (p.__s = p.state), null != I.getDerivedStateFromProps && (p.__s == p.state && (p.__s = h({}, p.__s)), h(p.__s, I.getDerivedStateFromProps(w, p.__s))), d = p.props, _ = p.state, p.__v = u, y) null == I.getDerivedStateFromProps && null != p.componentWillMount && p.componentWillMount(), null != p.componentDidMount && p.__h.push(p.componentDidMount);else {
  202. if (null == I.getDerivedStateFromProps && w !== d && null != p.componentWillReceiveProps && p.componentWillReceiveProps(w, P), !p.__e && (null != p.shouldComponentUpdate && !1 === p.shouldComponentUpdate(w, p.__s, P) || u.__v === t.__v)) {
  203. for (u.__v !== t.__v && (p.props = w, p.state = p.__s, p.__d = !1), u.__e = t.__e, u.__k = t.__k, u.__k.forEach(function (n) {
  204. n && (n.__ = u);
  205. }), $ = 0; $ < p._sb.length; $++) p.__h.push(p._sb[$]);
  206. p._sb = [], p.__h.length && f.push(p);
  207. break n;
  208. }
  209. null != p.componentWillUpdate && p.componentWillUpdate(w, p.__s, P), null != p.componentDidUpdate && p.__h.push(function () {
  210. p.componentDidUpdate(d, _, b);
  211. });
  212. }
  213. if (p.context = P, p.props = w, p.__P = n, p.__e = !1, S = preact_module_l.__r, A = 0, "prototype" in I && I.prototype.render) {
  214. for (p.state = p.__s, p.__d = !1, S && S(u), a = p.render(p.props, p.state, p.context), D = 0; D < p._sb.length; D++) p.__h.push(p._sb[D]);
  215. p._sb = [];
  216. } else do {
  217. p.__d = !1, S && S(u), a = p.render(p.props, p.state, p.context), p.state = p.__s;
  218. } while (p.__d && ++A < 25);
  219. p.state = p.__s, null != p.getChildContext && (i = h(h({}, i), p.getChildContext())), y || null == p.getSnapshotBeforeUpdate || (b = p.getSnapshotBeforeUpdate(d, _)), C(n, v(H = null != a && a.type === k && null == a.key ? a.props.children : a) ? H : [H], u, t, i, o, r, f, e, c, s), p.base = u.__e, u.__h = null, p.__h.length && f.push(p), g && (p.__E = p.__ = null);
  220. } catch (n) {
  221. u.__v = null, c || null != r ? (u.__e = e, u.__h = !!c, r[r.indexOf(e)] = null) : (u.__e = t.__e, u.__k = t.__k), preact_module_l.__e(n, u, t);
  222. } else null == r && u.__v === t.__v ? (u.__k = t.__k, u.__e = t.__e) : u.__e = M(t.__e, u, t, i, o, r, f, c, s);
  223. (a = preact_module_l.diffed) && a(u);
  224. }
  225. function L(n, u, t) {
  226. u.__d = void 0;
  227. for (var i = 0; i < t.length; i++) N(t[i], t[++i], t[++i]);
  228. preact_module_l.__c && preact_module_l.__c(u, n), n.some(function (u) {
  229. try {
  230. n = u.__h, u.__h = [], n.some(function (n) {
  231. n.call(u);
  232. });
  233. } catch (n) {
  234. preact_module_l.__e(n, u.__v);
  235. }
  236. });
  237. }
  238. function M(l, u, t, i, o, r, f, e, s) {
  239. var a,
  240. h,
  241. y,
  242. d = t.props,
  243. _ = u.props,
  244. k = u.type,
  245. m = 0;
  246. if ("svg" === k && (o = !0), null != r) for (; m < r.length; m++) if ((a = r[m]) && "setAttribute" in a == !!k && (k ? a.localName === k : 3 === a.nodeType)) {
  247. l = a, r[m] = null;
  248. break;
  249. }
  250. if (null == l) {
  251. if (null === k) return document.createTextNode(_);
  252. l = o ? document.createElementNS("http://www.w3.org/2000/svg", k) : document.createElement(k, _.is && _), r = null, e = !1;
  253. }
  254. if (null === k) d === _ || e && l.data === _ || (l.data = _);else {
  255. if (r = r && preact_module_n.call(l.childNodes), h = (d = t.props || preact_module_c).dangerouslySetInnerHTML, y = _.dangerouslySetInnerHTML, !e) {
  256. if (null != r) for (d = {}, m = 0; m < l.attributes.length; m++) d[l.attributes[m].name] = l.attributes[m].value;
  257. (y || h) && (y && (h && y.__html == h.__html || y.__html === l.innerHTML) || (l.innerHTML = y && y.__html || ""));
  258. }
  259. if (D(l, _, d, o, e), y) u.__k = [];else if (C(l, v(m = u.props.children) ? m : [m], u, t, i, o && "foreignObject" !== k, r, f, r ? r[0] : t.__k && b(t, 0), e, s), null != r) for (m = r.length; m--;) null != r[m] && p(r[m]);
  260. e || ("value" in _ && void 0 !== (m = _.value) && (m !== l.value || "progress" === k && !m || "option" === k && m !== d.value) && I(l, "value", m, d.value, !1), "checked" in _ && void 0 !== (m = _.checked) && m !== l.checked && I(l, "checked", m, d.checked, !1));
  261. }
  262. return l;
  263. }
  264. function N(n, u, t) {
  265. try {
  266. "function" == typeof n ? n(u) : n.current = u;
  267. } catch (n) {
  268. preact_module_l.__e(n, t);
  269. }
  270. }
  271. function O(n, u, t) {
  272. var i, o;
  273. if (preact_module_l.unmount && preact_module_l.unmount(n), (i = n.ref) && (i.current && i.current !== n.__e || N(i, null, u)), null != (i = n.__c)) {
  274. if (i.componentWillUnmount) try {
  275. i.componentWillUnmount();
  276. } catch (n) {
  277. preact_module_l.__e(n, u);
  278. }
  279. i.base = i.__P = null, n.__c = void 0;
  280. }
  281. if (i = n.__k) for (o = 0; o < i.length; o++) i[o] && O(i[o], u, t || "function" != typeof n.type);
  282. t || null == n.__e || p(n.__e), n.__ = n.__e = n.__d = void 0;
  283. }
  284. function q(n, l, u) {
  285. return this.constructor(n, u);
  286. }
  287. function B(u, t, i) {
  288. var o, r, f, e;
  289. preact_module_l.__ && preact_module_l.__(u, t), r = (o = "function" == typeof i) ? null : i && i.__k || t.__k, f = [], e = [], z(t, u = (!o && i || t).__k = y(k, null, [u]), r || preact_module_c, preact_module_c, void 0 !== t.ownerSVGElement, !o && i ? [i] : r ? null : t.firstChild ? preact_module_n.call(t.childNodes) : null, f, !o && i ? i : r ? r.__e : t.firstChild, o, e), L(f, u, e);
  290. }
  291. function E(n, l) {
  292. B(n, l, E);
  293. }
  294. function F(l, u, t) {
  295. var i,
  296. o,
  297. r,
  298. f,
  299. e = h({}, l.props);
  300. for (r in l.type && l.type.defaultProps && (f = l.type.defaultProps), u) "key" == r ? i = u[r] : "ref" == r ? o = u[r] : e[r] = void 0 === u[r] && void 0 !== f ? f[r] : u[r];
  301. return arguments.length > 2 && (e.children = arguments.length > 3 ? preact_module_n.call(arguments, 2) : t), d(l.type, e, i || l.key, o || l.ref, null);
  302. }
  303. function G(n, l) {
  304. var u = {
  305. __c: l = "__cC" + preact_module_e++,
  306. __: n,
  307. Consumer: function (n, l) {
  308. return n.children(l);
  309. },
  310. Provider: function (n) {
  311. var u, t;
  312. return this.getChildContext || (u = [], (t = {})[l] = this, this.getChildContext = function () {
  313. return t;
  314. }, this.shouldComponentUpdate = function (n) {
  315. this.props.value !== n.value && u.some(function (n) {
  316. n.__e = !0, w(n);
  317. });
  318. }, this.sub = function (n) {
  319. u.push(n);
  320. var l = n.componentWillUnmount;
  321. n.componentWillUnmount = function () {
  322. u.splice(u.indexOf(n), 1), l && l.call(n);
  323. };
  324. }), n.children;
  325. }
  326. };
  327. return u.Provider.__ = u.Consumer.contextType = u;
  328. }
  329. preact_module_n = s.slice, preact_module_l = {
  330. __e: function (n, l, u, t) {
  331. for (var i, o, r; l = l.__;) if ((i = l.__c) && !i.__) try {
  332. if ((o = i.constructor) && null != o.getDerivedStateFromError && (i.setState(o.getDerivedStateFromError(n)), r = i.__d), null != i.componentDidCatch && (i.componentDidCatch(n, t || {}), r = i.__d), r) return i.__E = i;
  333. } catch (l) {
  334. n = l;
  335. }
  336. throw n;
  337. }
  338. }, preact_module_u = 0, preact_module_t = function (n) {
  339. return null != n && null == n.constructor;
  340. }, m.prototype.setState = function (n, l) {
  341. var u;
  342. u = null != this.__s && this.__s !== this.state ? this.__s : this.__s = h({}, this.state), "function" == typeof n && (n = n(h({}, u), this.props)), n && h(u, n), null != n && this.__v && (l && this._sb.push(l), w(this));
  343. }, m.prototype.forceUpdate = function (n) {
  344. this.__v && (this.__e = !0, n && this.__h.push(n), w(this));
  345. }, m.prototype.render = k, i = [], r = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, preact_module_f = function (n, l) {
  346. return n.__v.__b - l.__v.__b;
  347. }, x.__r = 0, preact_module_e = 0;
  348. ;// CONCATENATED MODULE: ./node_modules/preact/hooks/dist/hooks.module.js
  349. var hooks_module_t,
  350. hooks_module_r,
  351. hooks_module_u,
  352. hooks_module_i,
  353. hooks_module_o = 0,
  354. hooks_module_f = [],
  355. hooks_module_c = [],
  356. hooks_module_e = preact_module_l.__b,
  357. hooks_module_a = preact_module_l.__r,
  358. hooks_module_v = preact_module_l.diffed,
  359. l = preact_module_l.__c,
  360. hooks_module_m = preact_module_l.unmount;
  361. function hooks_module_d(t, u) {
  362. preact_module_l.__h && preact_module_l.__h(hooks_module_r, t, hooks_module_o || u), hooks_module_o = 0;
  363. var i = hooks_module_r.__H || (hooks_module_r.__H = {
  364. __: [],
  365. __h: []
  366. });
  367. return t >= i.__.length && i.__.push({
  368. __V: hooks_module_c
  369. }), i.__[t];
  370. }
  371. function hooks_module_h(n) {
  372. return hooks_module_o = 1, hooks_module_s(hooks_module_B, n);
  373. }
  374. function hooks_module_s(n, u, i) {
  375. var o = hooks_module_d(hooks_module_t++, 2);
  376. if (o.t = n, !o.__c && (o.__ = [i ? i(u) : hooks_module_B(void 0, u), function (n) {
  377. var t = o.__N ? o.__N[0] : o.__[0],
  378. r = o.t(t, n);
  379. t !== r && (o.__N = [r, o.__[1]], o.__c.setState({}));
  380. }], o.__c = hooks_module_r, !hooks_module_r.u)) {
  381. var f = function (n, t, r) {
  382. if (!o.__c.__H) return !0;
  383. var u = o.__c.__H.__.filter(function (n) {
  384. return n.__c;
  385. });
  386. if (u.every(function (n) {
  387. return !n.__N;
  388. })) return !c || c.call(this, n, t, r);
  389. var i = !1;
  390. return u.forEach(function (n) {
  391. if (n.__N) {
  392. var t = n.__[0];
  393. n.__ = n.__N, n.__N = void 0, t !== n.__[0] && (i = !0);
  394. }
  395. }), !(!i && o.__c.props === n) && (!c || c.call(this, n, t, r));
  396. };
  397. hooks_module_r.u = !0;
  398. var c = hooks_module_r.shouldComponentUpdate,
  399. e = hooks_module_r.componentWillUpdate;
  400. hooks_module_r.componentWillUpdate = function (n, t, r) {
  401. if (this.__e) {
  402. var u = c;
  403. c = void 0, f(n, t, r), c = u;
  404. }
  405. e && e.call(this, n, t, r);
  406. }, hooks_module_r.shouldComponentUpdate = f;
  407. }
  408. return o.__N || o.__;
  409. }
  410. function hooks_module_p(u, i) {
  411. var o = hooks_module_d(hooks_module_t++, 3);
  412. !preact_module_l.__s && hooks_module_z(o.__H, i) && (o.__ = u, o.i = i, hooks_module_r.__H.__h.push(o));
  413. }
  414. function hooks_module_y(u, i) {
  415. var o = hooks_module_d(hooks_module_t++, 4);
  416. !preact_module_l.__s && hooks_module_z(o.__H, i) && (o.__ = u, o.i = i, hooks_module_r.__h.push(o));
  417. }
  418. function hooks_module_(n) {
  419. return hooks_module_o = 5, hooks_module_F(function () {
  420. return {
  421. current: n
  422. };
  423. }, []);
  424. }
  425. function hooks_module_A(n, t, r) {
  426. hooks_module_o = 6, hooks_module_y(function () {
  427. return "function" == typeof n ? (n(t()), function () {
  428. return n(null);
  429. }) : n ? (n.current = t(), function () {
  430. return n.current = null;
  431. }) : void 0;
  432. }, null == r ? r : r.concat(n));
  433. }
  434. function hooks_module_F(n, r) {
  435. var u = hooks_module_d(hooks_module_t++, 7);
  436. return hooks_module_z(u.__H, r) ? (u.__V = n(), u.i = r, u.__h = n, u.__V) : u.__;
  437. }
  438. function hooks_module_T(n, t) {
  439. return hooks_module_o = 8, hooks_module_F(function () {
  440. return n;
  441. }, t);
  442. }
  443. function hooks_module_q(n) {
  444. var u = hooks_module_r.context[n.__c],
  445. i = hooks_module_d(hooks_module_t++, 9);
  446. return i.c = n, u ? (null == i.__ && (i.__ = !0, u.sub(hooks_module_r)), u.props.value) : n.__;
  447. }
  448. function hooks_module_x(t, r) {
  449. n.useDebugValue && n.useDebugValue(r ? r(t) : t);
  450. }
  451. function hooks_module_P(n) {
  452. var u = hooks_module_d(hooks_module_t++, 10),
  453. i = hooks_module_h();
  454. return u.__ = n, hooks_module_r.componentDidCatch || (hooks_module_r.componentDidCatch = function (n, t) {
  455. u.__ && u.__(n, t), i[1](n);
  456. }), [i[0], function () {
  457. i[1](void 0);
  458. }];
  459. }
  460. function V() {
  461. var n = hooks_module_d(hooks_module_t++, 11);
  462. if (!n.__) {
  463. for (var u = hooks_module_r.__v; null !== u && !u.__m && null !== u.__;) u = u.__;
  464. var i = u.__m || (u.__m = [0, 0]);
  465. n.__ = "P" + i[0] + "-" + i[1]++;
  466. }
  467. return n.__;
  468. }
  469. function hooks_module_b() {
  470. for (var t; t = hooks_module_f.shift();) if (t.__P && t.__H) try {
  471. t.__H.__h.forEach(hooks_module_k), t.__H.__h.forEach(hooks_module_w), t.__H.__h = [];
  472. } catch (r) {
  473. t.__H.__h = [], preact_module_l.__e(r, t.__v);
  474. }
  475. }
  476. preact_module_l.__b = function (n) {
  477. hooks_module_r = null, hooks_module_e && hooks_module_e(n);
  478. }, preact_module_l.__r = function (n) {
  479. hooks_module_a && hooks_module_a(n), hooks_module_t = 0;
  480. var i = (hooks_module_r = n.__c).__H;
  481. i && (hooks_module_u === hooks_module_r ? (i.__h = [], hooks_module_r.__h = [], i.__.forEach(function (n) {
  482. n.__N && (n.__ = n.__N), n.__V = hooks_module_c, n.__N = n.i = void 0;
  483. })) : (i.__h.forEach(hooks_module_k), i.__h.forEach(hooks_module_w), i.__h = [], hooks_module_t = 0)), hooks_module_u = hooks_module_r;
  484. }, preact_module_l.diffed = function (t) {
  485. hooks_module_v && hooks_module_v(t);
  486. var o = t.__c;
  487. o && o.__H && (o.__H.__h.length && (1 !== hooks_module_f.push(o) && hooks_module_i === preact_module_l.requestAnimationFrame || ((hooks_module_i = preact_module_l.requestAnimationFrame) || hooks_module_j)(hooks_module_b)), o.__H.__.forEach(function (n) {
  488. n.i && (n.__H = n.i), n.__V !== hooks_module_c && (n.__ = n.__V), n.i = void 0, n.__V = hooks_module_c;
  489. })), hooks_module_u = hooks_module_r = null;
  490. }, preact_module_l.__c = function (t, r) {
  491. r.some(function (t) {
  492. try {
  493. t.__h.forEach(hooks_module_k), t.__h = t.__h.filter(function (n) {
  494. return !n.__ || hooks_module_w(n);
  495. });
  496. } catch (u) {
  497. r.some(function (n) {
  498. n.__h && (n.__h = []);
  499. }), r = [], preact_module_l.__e(u, t.__v);
  500. }
  501. }), l && l(t, r);
  502. }, preact_module_l.unmount = function (t) {
  503. hooks_module_m && hooks_module_m(t);
  504. var r,
  505. u = t.__c;
  506. u && u.__H && (u.__H.__.forEach(function (n) {
  507. try {
  508. hooks_module_k(n);
  509. } catch (n) {
  510. r = n;
  511. }
  512. }), u.__H = void 0, r && preact_module_l.__e(r, u.__v));
  513. };
  514. var hooks_module_g = "function" == typeof requestAnimationFrame;
  515. function hooks_module_j(n) {
  516. var t,
  517. r = function () {
  518. clearTimeout(u), hooks_module_g && cancelAnimationFrame(t), setTimeout(n);
  519. },
  520. u = setTimeout(r, 100);
  521. hooks_module_g && (t = requestAnimationFrame(r));
  522. }
  523. function hooks_module_k(n) {
  524. var t = hooks_module_r,
  525. u = n.__c;
  526. "function" == typeof u && (n.__c = void 0, u()), hooks_module_r = t;
  527. }
  528. function hooks_module_w(n) {
  529. var t = hooks_module_r;
  530. n.__c = n.__(), hooks_module_r = t;
  531. }
  532. function hooks_module_z(n, t) {
  533. return !n || n.length !== t.length || t.some(function (t, r) {
  534. return t !== n[r];
  535. });
  536. }
  537. function hooks_module_B(n, t) {
  538. return "function" == typeof t ? t(n) : t;
  539. }
  540. ;// CONCATENATED MODULE: ./node_modules/@preact/signals-core/dist/signals-core.module.js
  541. function signals_core_module_i() {
  542. throw new Error("Cycle detected");
  543. }
  544. var signals_core_module_t = Symbol.for("preact-signals");
  545. function signals_core_module_r() {
  546. if (!(signals_core_module_v > 1)) {
  547. var i,
  548. t = !1;
  549. while (void 0 !== signals_core_module_f) {
  550. var r = signals_core_module_f;
  551. signals_core_module_f = void 0;
  552. signals_core_module_e++;
  553. while (void 0 !== r) {
  554. var n = r.o;
  555. r.o = void 0;
  556. r.f &= -3;
  557. if (!(8 & r.f) && signals_core_module_l(r)) try {
  558. r.c();
  559. } catch (r) {
  560. if (!t) {
  561. i = r;
  562. t = !0;
  563. }
  564. }
  565. r = n;
  566. }
  567. }
  568. signals_core_module_e = 0;
  569. signals_core_module_v--;
  570. if (t) throw i;
  571. } else signals_core_module_v--;
  572. }
  573. function signals_core_module_n(i) {
  574. if (signals_core_module_v > 0) return i();
  575. signals_core_module_v++;
  576. try {
  577. return i();
  578. } finally {
  579. signals_core_module_r();
  580. }
  581. }
  582. var signals_core_module_o = void 0,
  583. signals_core_module_h = 0;
  584. function signals_core_module_s(i) {
  585. if (signals_core_module_h > 0) return i();
  586. var t = signals_core_module_o;
  587. signals_core_module_o = void 0;
  588. signals_core_module_h++;
  589. try {
  590. return i();
  591. } finally {
  592. signals_core_module_h--;
  593. signals_core_module_o = t;
  594. }
  595. }
  596. var signals_core_module_f = void 0,
  597. signals_core_module_v = 0,
  598. signals_core_module_e = 0,
  599. signals_core_module_u = 0;
  600. function signals_core_module_c(i) {
  601. if (void 0 !== signals_core_module_o) {
  602. var t = i.n;
  603. if (void 0 === t || t.t !== signals_core_module_o) {
  604. t = {
  605. i: 0,
  606. S: i,
  607. p: signals_core_module_o.s,
  608. n: void 0,
  609. t: signals_core_module_o,
  610. e: void 0,
  611. x: void 0,
  612. r: t
  613. };
  614. if (void 0 !== signals_core_module_o.s) signals_core_module_o.s.n = t;
  615. signals_core_module_o.s = t;
  616. i.n = t;
  617. if (32 & signals_core_module_o.f) i.S(t);
  618. return t;
  619. } else if (-1 === t.i) {
  620. t.i = 0;
  621. if (void 0 !== t.n) {
  622. t.n.p = t.p;
  623. if (void 0 !== t.p) t.p.n = t.n;
  624. t.p = signals_core_module_o.s;
  625. t.n = void 0;
  626. signals_core_module_o.s.n = t;
  627. signals_core_module_o.s = t;
  628. }
  629. return t;
  630. }
  631. }
  632. }
  633. function signals_core_module_d(i) {
  634. this.v = i;
  635. this.i = 0;
  636. this.n = void 0;
  637. this.t = void 0;
  638. }
  639. signals_core_module_d.prototype.brand = signals_core_module_t;
  640. signals_core_module_d.prototype.h = function () {
  641. return !0;
  642. };
  643. signals_core_module_d.prototype.S = function (i) {
  644. if (this.t !== i && void 0 === i.e) {
  645. i.x = this.t;
  646. if (void 0 !== this.t) this.t.e = i;
  647. this.t = i;
  648. }
  649. };
  650. signals_core_module_d.prototype.U = function (i) {
  651. if (void 0 !== this.t) {
  652. var t = i.e,
  653. r = i.x;
  654. if (void 0 !== t) {
  655. t.x = r;
  656. i.e = void 0;
  657. }
  658. if (void 0 !== r) {
  659. r.e = t;
  660. i.x = void 0;
  661. }
  662. if (i === this.t) this.t = r;
  663. }
  664. };
  665. signals_core_module_d.prototype.subscribe = function (i) {
  666. var t = this;
  667. return signals_core_module_O(function () {
  668. var r = t.value,
  669. n = 32 & this.f;
  670. this.f &= -33;
  671. try {
  672. i(r);
  673. } finally {
  674. this.f |= n;
  675. }
  676. });
  677. };
  678. signals_core_module_d.prototype.valueOf = function () {
  679. return this.value;
  680. };
  681. signals_core_module_d.prototype.toString = function () {
  682. return this.value + "";
  683. };
  684. signals_core_module_d.prototype.toJSON = function () {
  685. return this.value;
  686. };
  687. signals_core_module_d.prototype.peek = function () {
  688. return this.v;
  689. };
  690. Object.defineProperty(signals_core_module_d.prototype, "value", {
  691. get: function () {
  692. var i = signals_core_module_c(this);
  693. if (void 0 !== i) i.i = this.i;
  694. return this.v;
  695. },
  696. set: function (t) {
  697. if (signals_core_module_o instanceof signals_core_module_) !function () {
  698. throw new Error("Computed cannot have side-effects");
  699. }();
  700. if (t !== this.v) {
  701. if (signals_core_module_e > 100) signals_core_module_i();
  702. this.v = t;
  703. this.i++;
  704. signals_core_module_u++;
  705. signals_core_module_v++;
  706. try {
  707. for (var n = this.t; void 0 !== n; n = n.x) n.t.N();
  708. } finally {
  709. signals_core_module_r();
  710. }
  711. }
  712. }
  713. });
  714. function signals_core_module_a(i) {
  715. return new signals_core_module_d(i);
  716. }
  717. function signals_core_module_l(i) {
  718. for (var t = i.s; void 0 !== t; t = t.n) if (t.S.i !== t.i || !t.S.h() || t.S.i !== t.i) return !0;
  719. return !1;
  720. }
  721. function signals_core_module_y(i) {
  722. for (var t = i.s; void 0 !== t; t = t.n) {
  723. var r = t.S.n;
  724. if (void 0 !== r) t.r = r;
  725. t.S.n = t;
  726. t.i = -1;
  727. if (void 0 === t.n) {
  728. i.s = t;
  729. break;
  730. }
  731. }
  732. }
  733. function signals_core_module_w(i) {
  734. var t = i.s,
  735. r = void 0;
  736. while (void 0 !== t) {
  737. var n = t.p;
  738. if (-1 === t.i) {
  739. t.S.U(t);
  740. if (void 0 !== n) n.n = t.n;
  741. if (void 0 !== t.n) t.n.p = n;
  742. } else r = t;
  743. t.S.n = t.r;
  744. if (void 0 !== t.r) t.r = void 0;
  745. t = n;
  746. }
  747. i.s = r;
  748. }
  749. function signals_core_module_(i) {
  750. signals_core_module_d.call(this, void 0);
  751. this.x = i;
  752. this.s = void 0;
  753. this.g = signals_core_module_u - 1;
  754. this.f = 4;
  755. }
  756. (signals_core_module_.prototype = new signals_core_module_d()).h = function () {
  757. this.f &= -3;
  758. if (1 & this.f) return !1;
  759. if (32 == (36 & this.f)) return !0;
  760. this.f &= -5;
  761. if (this.g === signals_core_module_u) return !0;
  762. this.g = signals_core_module_u;
  763. this.f |= 1;
  764. if (this.i > 0 && !signals_core_module_l(this)) {
  765. this.f &= -2;
  766. return !0;
  767. }
  768. var i = signals_core_module_o;
  769. try {
  770. signals_core_module_y(this);
  771. signals_core_module_o = this;
  772. var t = this.x();
  773. if (16 & this.f || this.v !== t || 0 === this.i) {
  774. this.v = t;
  775. this.f &= -17;
  776. this.i++;
  777. }
  778. } catch (i) {
  779. this.v = i;
  780. this.f |= 16;
  781. this.i++;
  782. }
  783. signals_core_module_o = i;
  784. signals_core_module_w(this);
  785. this.f &= -2;
  786. return !0;
  787. };
  788. signals_core_module_.prototype.S = function (i) {
  789. if (void 0 === this.t) {
  790. this.f |= 36;
  791. for (var t = this.s; void 0 !== t; t = t.n) t.S.S(t);
  792. }
  793. signals_core_module_d.prototype.S.call(this, i);
  794. };
  795. signals_core_module_.prototype.U = function (i) {
  796. if (void 0 !== this.t) {
  797. signals_core_module_d.prototype.U.call(this, i);
  798. if (void 0 === this.t) {
  799. this.f &= -33;
  800. for (var t = this.s; void 0 !== t; t = t.n) t.S.U(t);
  801. }
  802. }
  803. };
  804. signals_core_module_.prototype.N = function () {
  805. if (!(2 & this.f)) {
  806. this.f |= 6;
  807. for (var i = this.t; void 0 !== i; i = i.x) i.t.N();
  808. }
  809. };
  810. signals_core_module_.prototype.peek = function () {
  811. if (!this.h()) signals_core_module_i();
  812. if (16 & this.f) throw this.v;
  813. return this.v;
  814. };
  815. Object.defineProperty(signals_core_module_.prototype, "value", {
  816. get: function () {
  817. if (1 & this.f) signals_core_module_i();
  818. var t = signals_core_module_c(this);
  819. this.h();
  820. if (void 0 !== t) t.i = this.i;
  821. if (16 & this.f) throw this.v;
  822. return this.v;
  823. }
  824. });
  825. function signals_core_module_p(i) {
  826. return new signals_core_module_(i);
  827. }
  828. function signals_core_module_g(i) {
  829. var t = i.u;
  830. i.u = void 0;
  831. if ("function" == typeof t) {
  832. signals_core_module_v++;
  833. var n = signals_core_module_o;
  834. signals_core_module_o = void 0;
  835. try {
  836. t();
  837. } catch (t) {
  838. i.f &= -2;
  839. i.f |= 8;
  840. signals_core_module_b(i);
  841. throw t;
  842. } finally {
  843. signals_core_module_o = n;
  844. signals_core_module_r();
  845. }
  846. }
  847. }
  848. function signals_core_module_b(i) {
  849. for (var t = i.s; void 0 !== t; t = t.n) t.S.U(t);
  850. i.x = void 0;
  851. i.s = void 0;
  852. signals_core_module_g(i);
  853. }
  854. function signals_core_module_x(i) {
  855. if (signals_core_module_o !== this) throw new Error("Out-of-order effect");
  856. signals_core_module_w(this);
  857. signals_core_module_o = i;
  858. this.f &= -2;
  859. if (8 & this.f) signals_core_module_b(this);
  860. signals_core_module_r();
  861. }
  862. function signals_core_module_E(i) {
  863. this.x = i;
  864. this.u = void 0;
  865. this.s = void 0;
  866. this.o = void 0;
  867. this.f = 32;
  868. }
  869. signals_core_module_E.prototype.c = function () {
  870. var i = this.S();
  871. try {
  872. if (8 & this.f) return;
  873. if (void 0 === this.x) return;
  874. var t = this.x();
  875. if ("function" == typeof t) this.u = t;
  876. } finally {
  877. i();
  878. }
  879. };
  880. signals_core_module_E.prototype.S = function () {
  881. if (1 & this.f) signals_core_module_i();
  882. this.f |= 1;
  883. this.f &= -9;
  884. signals_core_module_g(this);
  885. signals_core_module_y(this);
  886. signals_core_module_v++;
  887. var t = signals_core_module_o;
  888. signals_core_module_o = this;
  889. return signals_core_module_x.bind(this, t);
  890. };
  891. signals_core_module_E.prototype.N = function () {
  892. if (!(2 & this.f)) {
  893. this.f |= 2;
  894. this.o = signals_core_module_f;
  895. signals_core_module_f = this;
  896. }
  897. };
  898. signals_core_module_E.prototype.d = function () {
  899. this.f |= 8;
  900. if (!(1 & this.f)) signals_core_module_b(this);
  901. };
  902. function signals_core_module_O(i) {
  903. var t = new signals_core_module_E(i);
  904. try {
  905. t.c();
  906. } catch (i) {
  907. t.d();
  908. throw i;
  909. }
  910. return t.d.bind(t);
  911. }
  912. ;// CONCATENATED MODULE: ./node_modules/@preact/signals/dist/signals.module.js
  913. var signals_module_v, signals_module_s;
  914. function signals_module_l(n, i) {
  915. preact_module_l[n] = i.bind(null, preact_module_l[n] || function () {});
  916. }
  917. function signals_module_d(n) {
  918. if (signals_module_s) signals_module_s();
  919. signals_module_s = n && n.S();
  920. }
  921. function signals_module_p(n) {
  922. var r = this,
  923. f = n.data,
  924. o = useSignal(f);
  925. o.value = f;
  926. var e = hooks_module_F(function () {
  927. var n = r.__v;
  928. while (n = n.__) if (n.__c) {
  929. n.__c.__$f |= 4;
  930. break;
  931. }
  932. r.__$u.c = function () {
  933. var n;
  934. if (!preact_module_t(e.peek()) && 3 === (null == (n = r.base) ? void 0 : n.nodeType)) r.base.data = e.peek();else {
  935. r.__$f |= 1;
  936. r.setState({});
  937. }
  938. };
  939. return signals_core_module_p(function () {
  940. var n = o.value.value;
  941. return 0 === n ? 0 : !0 === n ? "" : n || "";
  942. });
  943. }, []);
  944. return e.value;
  945. }
  946. signals_module_p.displayName = "_st";
  947. Object.defineProperties(signals_core_module_d.prototype, {
  948. constructor: {
  949. configurable: !0,
  950. value: void 0
  951. },
  952. type: {
  953. configurable: !0,
  954. value: signals_module_p
  955. },
  956. props: {
  957. configurable: !0,
  958. get: function () {
  959. return {
  960. data: this
  961. };
  962. }
  963. },
  964. __b: {
  965. configurable: !0,
  966. value: 1
  967. }
  968. });
  969. signals_module_l("__b", function (n, r) {
  970. if ("string" == typeof r.type) {
  971. var i,
  972. t = r.props;
  973. for (var f in t) if ("children" !== f) {
  974. var o = t[f];
  975. if (o instanceof signals_core_module_d) {
  976. if (!i) r.__np = i = {};
  977. i[f] = o;
  978. t[f] = o.peek();
  979. }
  980. }
  981. }
  982. n(r);
  983. });
  984. signals_module_l("__r", function (n, r) {
  985. signals_module_d();
  986. var i,
  987. t = r.__c;
  988. if (t) {
  989. t.__$f &= -2;
  990. if (void 0 === (i = t.__$u)) t.__$u = i = function (n) {
  991. var r;
  992. signals_core_module_O(function () {
  993. r = this;
  994. });
  995. r.c = function () {
  996. t.__$f |= 1;
  997. t.setState({});
  998. };
  999. return r;
  1000. }();
  1001. }
  1002. signals_module_v = t;
  1003. signals_module_d(i);
  1004. n(r);
  1005. });
  1006. signals_module_l("__e", function (n, r, i, t) {
  1007. signals_module_d();
  1008. signals_module_v = void 0;
  1009. n(r, i, t);
  1010. });
  1011. signals_module_l("diffed", function (n, r) {
  1012. signals_module_d();
  1013. signals_module_v = void 0;
  1014. var i;
  1015. if ("string" == typeof r.type && (i = r.__e)) {
  1016. var t = r.__np,
  1017. f = r.props;
  1018. if (t) {
  1019. var o = i.U;
  1020. if (o) for (var e in o) {
  1021. var u = o[e];
  1022. if (void 0 !== u && !(e in t)) {
  1023. u.d();
  1024. o[e] = void 0;
  1025. }
  1026. } else i.U = o = {};
  1027. for (var a in t) {
  1028. var c = o[a],
  1029. s = t[a];
  1030. if (void 0 === c) {
  1031. c = signals_module_(i, a, s, f);
  1032. o[a] = c;
  1033. } else c.o(s, f);
  1034. }
  1035. }
  1036. }
  1037. n(r);
  1038. });
  1039. function signals_module_(n, r, i, t) {
  1040. var f = r in n && void 0 === n.ownerSVGElement,
  1041. o = signals_core_module_a(i);
  1042. return {
  1043. o: function (n, r) {
  1044. o.value = n;
  1045. t = r;
  1046. },
  1047. d: signals_core_module_O(function () {
  1048. var i = o.value.value;
  1049. if (t[r] !== i) {
  1050. t[r] = i;
  1051. if (f) n[r] = i;else if (i) n.setAttribute(r, i);else n.removeAttribute(r);
  1052. }
  1053. })
  1054. };
  1055. }
  1056. signals_module_l("unmount", function (n, r) {
  1057. if ("string" == typeof r.type) {
  1058. var i = r.__e;
  1059. if (i) {
  1060. var t = i.U;
  1061. if (t) {
  1062. i.U = void 0;
  1063. for (var f in t) {
  1064. var o = t[f];
  1065. if (o) o.d();
  1066. }
  1067. }
  1068. }
  1069. } else {
  1070. var e = r.__c;
  1071. if (e) {
  1072. var u = e.__$u;
  1073. if (u) {
  1074. e.__$u = void 0;
  1075. u.d();
  1076. }
  1077. }
  1078. }
  1079. n(r);
  1080. });
  1081. signals_module_l("__h", function (n, r, i, t) {
  1082. if (t < 3 || 9 === t) r.__$f |= 2;
  1083. n(r, i, t);
  1084. });
  1085. m.prototype.shouldComponentUpdate = function (n, r) {
  1086. var i = this.__$u;
  1087. if (!(i && void 0 !== i.s || 4 & this.__$f)) return !0;
  1088. if (3 & this.__$f) return !0;
  1089. for (var t in r) return !0;
  1090. for (var f in n) if ("__source" !== f && n[f] !== this.props[f]) return !0;
  1091. for (var o in this.props) if (!(o in n)) return !0;
  1092. return !1;
  1093. };
  1094. function useSignal(n) {
  1095. return hooks_module_F(function () {
  1096. return signals_core_module_a(n);
  1097. }, []);
  1098. }
  1099. function useComputed(n) {
  1100. var r = f(n);
  1101. r.current = n;
  1102. signals_module_v.__$f |= 4;
  1103. return t(function () {
  1104. return u(function () {
  1105. return r.current();
  1106. });
  1107. }, []);
  1108. }
  1109. function useSignalEffect(n) {
  1110. var r = f(n);
  1111. r.current = n;
  1112. o(function () {
  1113. return c(function () {
  1114. return r.current();
  1115. });
  1116. }, []);
  1117. }
  1118. ;// CONCATENATED MODULE: ./node_modules/deepsignal/dist/deepsignal.module.js
  1119. var deepsignal_module_a = new WeakMap(),
  1120. deepsignal_module_o = new WeakMap(),
  1121. deepsignal_module_s = new WeakMap(),
  1122. deepsignal_module_c = new WeakSet(),
  1123. deepsignal_module_u = new WeakMap(),
  1124. deepsignal_module_i = /^\$/,
  1125. deepsignal_module_f = !1,
  1126. deepsignal_module_l = function (e) {
  1127. if (!deepsignal_module_d(e)) throw new Error("This object can't be observed.");
  1128. return deepsignal_module_o.has(e) || deepsignal_module_o.set(e, deepsignal_module_h(e, deepsignal_module_v)), deepsignal_module_o.get(e);
  1129. },
  1130. deepsignal_module_g = function (e, t) {
  1131. deepsignal_module_f = !0;
  1132. var r = e[t];
  1133. try {
  1134. deepsignal_module_f = !1;
  1135. } catch (e) {}
  1136. return r;
  1137. },
  1138. deepsignal_module_h = function (e, t) {
  1139. var r = new Proxy(e, t);
  1140. return deepsignal_module_c.add(r), r;
  1141. },
  1142. deepsignal_module_p = function () {
  1143. throw new Error("Don't mutate the signals directly.");
  1144. },
  1145. deepsignal_module_y = function (e) {
  1146. return function (t, c, u) {
  1147. var l;
  1148. if (deepsignal_module_f) return Reflect.get(t, c, u);
  1149. var g = e || "$" === c[0];
  1150. if (!e && g && Array.isArray(t)) {
  1151. if ("$" === c) return deepsignal_module_s.has(t) || deepsignal_module_s.set(t, deepsignal_module_h(t, deepsignal_module_w)), deepsignal_module_s.get(t);
  1152. g = "$length" === c;
  1153. }
  1154. deepsignal_module_a.has(u) || deepsignal_module_a.set(u, new Map());
  1155. var p = deepsignal_module_a.get(u),
  1156. y = g ? c.replace(deepsignal_module_i, "") : c;
  1157. if (p.has(y) || "function" != typeof (null == (l = Object.getOwnPropertyDescriptor(t, y)) ? void 0 : l.get)) {
  1158. var b = Reflect.get(t, y, u);
  1159. if (g && "function" == typeof b) return;
  1160. if ("symbol" == typeof y && deepsignal_module_m.has(y)) return b;
  1161. p.has(y) || (deepsignal_module_d(b) && (deepsignal_module_o.has(b) || deepsignal_module_o.set(b, deepsignal_module_h(b, deepsignal_module_v)), b = deepsignal_module_o.get(b)), p.set(y, signals_core_module_a(b)));
  1162. } else p.set(y, signals_core_module_p(function () {
  1163. return Reflect.get(t, y, u);
  1164. }));
  1165. return g ? p.get(y) : p.get(y).value;
  1166. };
  1167. },
  1168. deepsignal_module_v = {
  1169. get: deepsignal_module_y(!1),
  1170. set: function (e, n, s, c) {
  1171. deepsignal_module_a.has(c) || deepsignal_module_a.set(c, new Map());
  1172. var f = deepsignal_module_a.get(c);
  1173. if ("$" === n[0]) {
  1174. s instanceof signals_core_module_d || deepsignal_module_p();
  1175. var l = n.replace(deepsignal_module_i, "");
  1176. return f.set(l, s), Reflect.set(e, l, s.peek(), c);
  1177. }
  1178. var g = s;
  1179. deepsignal_module_d(s) && (deepsignal_module_o.has(s) || deepsignal_module_o.set(s, deepsignal_module_h(s, deepsignal_module_v)), g = deepsignal_module_o.get(s));
  1180. var y = !(n in e),
  1181. w = Reflect.set(e, n, s, c);
  1182. return f.has(n) ? f.get(n).value = g : f.set(n, signals_core_module_a(g)), y && deepsignal_module_u.has(e) && deepsignal_module_u.get(e).value++, Array.isArray(e) && f.has("length") && (f.get("length").value = e.length), w;
  1183. },
  1184. deleteProperty: function (e, t) {
  1185. "$" === t[0] && deepsignal_module_p();
  1186. var r = deepsignal_module_a.get(deepsignal_module_o.get(e)),
  1187. n = Reflect.deleteProperty(e, t);
  1188. return r && r.has(t) && (r.get(t).value = void 0), deepsignal_module_u.has(e) && deepsignal_module_u.get(e).value++, n;
  1189. },
  1190. ownKeys: function (e) {
  1191. return deepsignal_module_u.has(e) || deepsignal_module_u.set(e, signals_core_module_a(0)), deepsignal_module_u._ = deepsignal_module_u.get(e).value, Reflect.ownKeys(e);
  1192. }
  1193. },
  1194. deepsignal_module_w = {
  1195. get: deepsignal_module_y(!0),
  1196. set: deepsignal_module_p,
  1197. deleteProperty: deepsignal_module_p
  1198. },
  1199. deepsignal_module_m = new Set(Object.getOwnPropertyNames(Symbol).map(function (e) {
  1200. return Symbol[e];
  1201. }).filter(function (e) {
  1202. return "symbol" == typeof e;
  1203. })),
  1204. deepsignal_module_b = new Set([Object, Array]),
  1205. deepsignal_module_d = function (e) {
  1206. return "object" == typeof e && null !== e && (!("function" == typeof e.constructor && e.constructor.name in globalThis && globalThis[e.constructor.name] === e.constructor) || deepsignal_module_b.has(e.constructor)) && !deepsignal_module_c.has(e);
  1207. },
  1208. deepsignal_module_k = function (t) {
  1209. return e(function () {
  1210. return deepsignal_module_l(t);
  1211. }, []);
  1212. };
  1213. ;// CONCATENATED MODULE: ./node_modules/@wordpress/interactivity/src/portals.js
  1214. /**
  1215. * External dependencies
  1216. */
  1217. /**
  1218. * @param {import('../../src/index').RenderableProps<{ context: any }>} props
  1219. */
  1220. function ContextProvider(props) {
  1221. this.getChildContext = () => props.context;
  1222. return props.children;
  1223. }
  1224. /**
  1225. * Portal component
  1226. *
  1227. * @this {import('./internal').Component}
  1228. * @param {object | null | undefined} props
  1229. *
  1230. * TODO: use createRoot() instead of fake root
  1231. */
  1232. function Portal(props) {
  1233. const _this = this;
  1234. const container = props._container;
  1235. _this.componentWillUnmount = function () {
  1236. B(null, _this._temp);
  1237. _this._temp = null;
  1238. _this._container = null;
  1239. };
  1240. // When we change container we should clear our old container and
  1241. // indicate a new mount.
  1242. if (_this._container && _this._container !== container) {
  1243. _this.componentWillUnmount();
  1244. }
  1245. // When props.vnode is undefined/false/null we are dealing with some kind of
  1246. // conditional vnode. This should not trigger a render.
  1247. if (props._vnode) {
  1248. if (!_this._temp) {
  1249. _this._container = container;
  1250. // Create a fake DOM parent node that manages a subset of `container`'s children:
  1251. _this._temp = {
  1252. nodeType: 1,
  1253. parentNode: container,
  1254. childNodes: [],
  1255. appendChild(child) {
  1256. this.childNodes.push(child);
  1257. _this._container.appendChild(child);
  1258. },
  1259. insertBefore(child) {
  1260. this.childNodes.push(child);
  1261. _this._container.appendChild(child);
  1262. },
  1263. removeChild(child) {
  1264. this.childNodes.splice(
  1265. // eslint-disable-next-line no-bitwise
  1266. this.childNodes.indexOf(child) >>> 1, 1);
  1267. _this._container.removeChild(child);
  1268. }
  1269. };
  1270. }
  1271. // Render our wrapping element into temp.
  1272. B(y(ContextProvider, {
  1273. context: _this.context
  1274. }, props._vnode), _this._temp);
  1275. }
  1276. // When we come from a conditional render, on a mounted
  1277. // portal we should clear the DOM.
  1278. else if (_this._temp) {
  1279. _this.componentWillUnmount();
  1280. }
  1281. }
  1282. /**
  1283. * Create a `Portal` to continue rendering the vnode tree at a different DOM node
  1284. *
  1285. * @param {import('./internal').VNode} vnode The vnode to render
  1286. * @param {import('./internal').PreactElement} container The DOM node to continue rendering in to.
  1287. */
  1288. function createPortal(vnode, container) {
  1289. const el = y(Portal, {
  1290. _vnode: vnode,
  1291. _container: container
  1292. });
  1293. el.containerInfo = container;
  1294. return el;
  1295. }
  1296. ;// CONCATENATED MODULE: ./node_modules/@wordpress/interactivity/src/utils.js
  1297. /**
  1298. * External dependencies
  1299. */
  1300. const afterNextFrame = callback => {
  1301. return new Promise(resolve => {
  1302. const done = () => {
  1303. clearTimeout(timeout);
  1304. window.cancelAnimationFrame(raf);
  1305. setTimeout(() => {
  1306. callback();
  1307. resolve();
  1308. });
  1309. };
  1310. const timeout = setTimeout(done, 100);
  1311. const raf = window.requestAnimationFrame(done);
  1312. });
  1313. };
  1314. // Using the mangled properties:
  1315. // this.c: this._callback
  1316. // this.x: this._compute
  1317. // https://github.com/preactjs/signals/blob/main/mangle.json
  1318. function createFlusher(compute, notify) {
  1319. let flush;
  1320. const dispose = signals_core_module_O(function () {
  1321. flush = this.c.bind(this);
  1322. this.x = compute;
  1323. this.c = notify;
  1324. return compute();
  1325. });
  1326. return {
  1327. flush,
  1328. dispose
  1329. };
  1330. }
  1331. // Version of `useSignalEffect` with a `useEffect`-like execution. This hook
  1332. // implementation comes from this PR, but we added short-cirtuiting to avoid
  1333. // infinite loops: https://github.com/preactjs/signals/pull/290
  1334. function utils_useSignalEffect(callback) {
  1335. hooks_module_p(() => {
  1336. let eff = null;
  1337. let isExecuting = false;
  1338. const notify = async () => {
  1339. if (eff && !isExecuting) {
  1340. isExecuting = true;
  1341. await afterNextFrame(eff.flush);
  1342. isExecuting = false;
  1343. }
  1344. };
  1345. eff = createFlusher(callback, notify);
  1346. return eff.dispose;
  1347. }, []);
  1348. }
  1349. // For wrapperless hydration.
  1350. // See https://gist.github.com/developit/f4c67a2ede71dc2fab7f357f39cff28c
  1351. const createRootFragment = (parent, replaceNode) => {
  1352. replaceNode = [].concat(replaceNode);
  1353. const s = replaceNode[replaceNode.length - 1].nextSibling;
  1354. function insert(c, r) {
  1355. parent.insertBefore(c, r || s);
  1356. }
  1357. return parent.__k = {
  1358. nodeType: 1,
  1359. parentNode: parent,
  1360. firstChild: replaceNode[0],
  1361. childNodes: replaceNode,
  1362. insertBefore: insert,
  1363. appendChild: insert,
  1364. removeChild(c) {
  1365. parent.removeChild(c);
  1366. }
  1367. };
  1368. };
  1369. ;// CONCATENATED MODULE: ./node_modules/@wordpress/interactivity/src/store.js
  1370. /**
  1371. * External dependencies
  1372. */
  1373. const isObject = item => item && typeof item === 'object' && !Array.isArray(item);
  1374. const deepMerge = (target, source) => {
  1375. if (isObject(target) && isObject(source)) {
  1376. for (const key in source) {
  1377. if (isObject(source[key])) {
  1378. if (!target[key]) Object.assign(target, {
  1379. [key]: {}
  1380. });
  1381. deepMerge(target[key], source[key]);
  1382. } else {
  1383. Object.assign(target, {
  1384. [key]: source[key]
  1385. });
  1386. }
  1387. }
  1388. }
  1389. };
  1390. const getSerializedState = () => {
  1391. const storeTag = document.querySelector(`script[type="application/json"]#wp-interactivity-store-data`);
  1392. if (!storeTag) return {};
  1393. try {
  1394. const {
  1395. state
  1396. } = JSON.parse(storeTag.textContent);
  1397. if (isObject(state)) return state;
  1398. throw Error('Parsed state is not an object');
  1399. } catch (e) {
  1400. // eslint-disable-next-line no-console
  1401. console.log(e);
  1402. }
  1403. return {};
  1404. };
  1405. const afterLoads = new Set();
  1406. const rawState = getSerializedState();
  1407. const rawStore = {
  1408. state: deepsignal_module_l(rawState)
  1409. };
  1410. /**
  1411. * @typedef StoreProps Properties object passed to `store`.
  1412. * @property {Object} state State to be added to the global store. All the
  1413. * properties included here become reactive.
  1414. */
  1415. /**
  1416. * @typedef StoreOptions Options object.
  1417. * @property {(store:any) => void} [afterLoad] Callback to be executed after the
  1418. * Interactivity API has been set up
  1419. * and the store is ready. It
  1420. * receives the store as argument.
  1421. */
  1422. /**
  1423. * Extends the Interactivity API global store with the passed properties.
  1424. *
  1425. * These props typically consist of `state`, which is reactive, and other
  1426. * properties like `selectors`, `actions`, `effects`, etc. which can store
  1427. * callbacks and derived state. These props can then be referenced by any
  1428. * directive to make the HTML interactive.
  1429. *
  1430. * @example
  1431. * ```js
  1432. * store({
  1433. * state: {
  1434. * counter: { value: 0 },
  1435. * },
  1436. * actions: {
  1437. * counter: {
  1438. * increment: ({ state }) => {
  1439. * state.counter.value += 1;
  1440. * },
  1441. * },
  1442. * },
  1443. * });
  1444. * ```
  1445. *
  1446. * The code from the example above allows blocks to subscribe and interact with
  1447. * the store by using directives in the HTML, e.g.:
  1448. *
  1449. * ```html
  1450. * <div data-wp-interactive>
  1451. * <button
  1452. * data-wp-text="state.counter.value"
  1453. * data-wp-on--click="actions.counter.increment"
  1454. * >
  1455. * 0
  1456. * </button>
  1457. * </div>
  1458. * ```
  1459. *
  1460. * @param {StoreProps} properties Properties to be added to the global store.
  1461. * @param {StoreOptions} [options] Options passed to the `store` call.
  1462. */
  1463. const store = ({
  1464. state,
  1465. ...block
  1466. }, {
  1467. afterLoad
  1468. } = {}) => {
  1469. deepMerge(rawStore, block);
  1470. deepMerge(rawState, state);
  1471. if (afterLoad) afterLoads.add(afterLoad);
  1472. };
  1473. ;// CONCATENATED MODULE: ./node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js
  1474. var jsxRuntime_module_r = 0;
  1475. function jsxRuntime_module_o(o, e, n, t, f, l) {
  1476. var s,
  1477. i,
  1478. u = {};
  1479. for (i in e) "ref" == i ? s = e[i] : u[i] = e[i];
  1480. var a = {
  1481. type: o,
  1482. props: u,
  1483. key: n,
  1484. ref: s,
  1485. __k: null,
  1486. __: null,
  1487. __b: 0,
  1488. __e: null,
  1489. __d: void 0,
  1490. __c: null,
  1491. __h: null,
  1492. constructor: void 0,
  1493. __v: --jsxRuntime_module_r,
  1494. __i: -1,
  1495. __source: f,
  1496. __self: l
  1497. };
  1498. if ("function" == typeof o && (s = o.defaultProps)) for (i in s) void 0 === u[i] && (u[i] = s[i]);
  1499. return preact_module_l.vnode && preact_module_l.vnode(a), a;
  1500. }
  1501. ;// CONCATENATED MODULE: ./node_modules/@wordpress/interactivity/src/hooks.js
  1502. /**
  1503. * External dependencies
  1504. */
  1505. /**
  1506. * Internal dependencies
  1507. */
  1508. /** @typedef {import('preact').VNode} VNode */
  1509. /** @typedef {typeof context} Context */
  1510. /** @typedef {ReturnType<typeof getEvaluate>} Evaluate */
  1511. /**
  1512. * @typedef {Object} DirectiveCallbackParams Callback parameters.
  1513. * @property {Object} directives Object map with the defined directives of the element being evaluated.
  1514. * @property {Object} props Props present in the current element.
  1515. * @property {VNode} element Virtual node representing the original element.
  1516. * @property {Context} context The inherited context.
  1517. * @property {Evaluate} evaluate Function that resolves a given path to a value either in the store or the context.
  1518. */
  1519. /**
  1520. * @callback DirectiveCallback Callback that runs the directive logic.
  1521. * @param {DirectiveCallbackParams} params Callback parameters.
  1522. */
  1523. /**
  1524. * @typedef DirectiveOptions Options object.
  1525. * @property {number} [priority=10] Value that specifies the priority to
  1526. * evaluate directives of this type. Lower
  1527. * numbers correspond with earlier execution.
  1528. * Default is `10`.
  1529. */
  1530. // Main context.
  1531. const context = G({});
  1532. // WordPress Directives.
  1533. const directiveCallbacks = {};
  1534. const directivePriorities = {};
  1535. /**
  1536. * Register a new directive type in the Interactivity API runtime.
  1537. *
  1538. * @example
  1539. * ```js
  1540. * directive(
  1541. * 'alert', // Name without the `data-wp-` prefix.
  1542. * ( { directives: { alert }, element, evaluate }) => {
  1543. * element.props.onclick = () => {
  1544. * alert( evaluate( alert.default ) );
  1545. * }
  1546. * }
  1547. * )
  1548. * ```
  1549. *
  1550. * The previous code registers a custom directive type for displaying an alert
  1551. * message whenever an element using it is clicked. The message text is obtained
  1552. * from the store using `evaluate`.
  1553. *
  1554. * When the HTML is processed by the Interactivity API, any element containing
  1555. * the `data-wp-alert` directive will have the `onclick` event handler, e.g.,
  1556. *
  1557. * ```html
  1558. * <button data-wp-alert="state.messages.alert">Click me!</button>
  1559. * ```
  1560. * Note that, in the previous example, you access `alert.default` in order to
  1561. * retrieve the `state.messages.alert` value passed to the directive. You can
  1562. * also define custom names by appending `--` to the directive attribute,
  1563. * followed by a suffix, like in the following HTML snippet:
  1564. *
  1565. * ```html
  1566. * <button
  1567. * data-wp-color--text="state.theme.text"
  1568. * data-wp-color--background="state.theme.background"
  1569. * >Click me!</button>
  1570. * ```
  1571. *
  1572. * This could be an hypothetical implementation of the custom directive used in
  1573. * the snippet above.
  1574. *
  1575. * @example
  1576. * ```js
  1577. * directive(
  1578. * 'color', // Name without prefix and suffix.
  1579. * ( { directives: { color }, ref, evaluate }) => {
  1580. * if ( color.text ) {
  1581. * ref.style.setProperty(
  1582. * 'color',
  1583. * evaluate( color.text )
  1584. * );
  1585. * }
  1586. * if ( color.background ) {
  1587. * ref.style.setProperty(
  1588. * 'background-color',
  1589. * evaluate( color.background )
  1590. * );
  1591. * }
  1592. * }
  1593. * )
  1594. * ```
  1595. *
  1596. * @param {string} name Directive name, without the `data-wp-` prefix.
  1597. * @param {DirectiveCallback} callback Function that runs the directive logic.
  1598. * @param {DirectiveOptions=} options Options object.
  1599. */
  1600. const directive = (name, callback, {
  1601. priority = 10
  1602. } = {}) => {
  1603. directiveCallbacks[name] = callback;
  1604. directivePriorities[name] = priority;
  1605. };
  1606. // Resolve the path to some property of the store object.
  1607. const resolve = (path, ctx) => {
  1608. let current = {
  1609. ...rawStore,
  1610. context: ctx
  1611. };
  1612. path.split('.').forEach(p => current = current[p]);
  1613. return current;
  1614. };
  1615. // Generate the evaluate function.
  1616. const getEvaluate = ({
  1617. ref
  1618. } = {}) => (path, extraArgs = {}) => {
  1619. // If path starts with !, remove it and save a flag.
  1620. const hasNegationOperator = path[0] === '!' && !!(path = path.slice(1));
  1621. const value = resolve(path, extraArgs.context);
  1622. const returnValue = typeof value === 'function' ? value({
  1623. ref: ref.current,
  1624. ...rawStore,
  1625. ...extraArgs
  1626. }) : value;
  1627. return hasNegationOperator ? !returnValue : returnValue;
  1628. };
  1629. // Separate directives by priority. The resulting array contains objects
  1630. // of directives grouped by same priority, and sorted in ascending order.
  1631. const getPriorityLevels = directives => {
  1632. const byPriority = Object.keys(directives).reduce((obj, name) => {
  1633. if (directiveCallbacks[name]) {
  1634. const priority = directivePriorities[name];
  1635. (obj[priority] = obj[priority] || []).push(name);
  1636. }
  1637. return obj;
  1638. }, {});
  1639. return Object.entries(byPriority).sort(([p1], [p2]) => p1 - p2).map(([, arr]) => arr);
  1640. };
  1641. // Priority level wrapper.
  1642. const Directives = ({
  1643. directives,
  1644. priorityLevels: [currentPriorityLevel, ...nextPriorityLevels],
  1645. element,
  1646. evaluate,
  1647. originalProps,
  1648. elemRef
  1649. }) => {
  1650. // Initialize the DOM reference.
  1651. // eslint-disable-next-line react-hooks/rules-of-hooks
  1652. elemRef = elemRef || hooks_module_(null);
  1653. // Create a reference to the evaluate function using the DOM reference.
  1654. // eslint-disable-next-line react-hooks/rules-of-hooks, react-hooks/exhaustive-deps
  1655. evaluate = evaluate || hooks_module_T(getEvaluate({
  1656. ref: elemRef
  1657. }), []);
  1658. // Create a fresh copy of the vnode element.
  1659. element = F(element, {
  1660. ref: elemRef
  1661. });
  1662. // Recursively render the wrapper for the next priority level.
  1663. const children = nextPriorityLevels.length > 0 ? jsxRuntime_module_o(Directives, {
  1664. directives: directives,
  1665. priorityLevels: nextPriorityLevels,
  1666. element: element,
  1667. evaluate: evaluate,
  1668. originalProps: originalProps,
  1669. elemRef: elemRef
  1670. }) : element;
  1671. const props = {
  1672. ...originalProps,
  1673. children
  1674. };
  1675. const directiveArgs = {
  1676. directives,
  1677. props,
  1678. element,
  1679. context,
  1680. evaluate
  1681. };
  1682. for (const directiveName of currentPriorityLevel) {
  1683. const wrapper = directiveCallbacks[directiveName]?.(directiveArgs);
  1684. if (wrapper !== undefined) props.children = wrapper;
  1685. }
  1686. return props.children;
  1687. };
  1688. // Preact Options Hook called each time a vnode is created.
  1689. const old = preact_module_l.vnode;
  1690. preact_module_l.vnode = vnode => {
  1691. if (vnode.props.__directives) {
  1692. const props = vnode.props;
  1693. const directives = props.__directives;
  1694. if (directives.key) vnode.key = directives.key.default;
  1695. delete props.__directives;
  1696. const priorityLevels = getPriorityLevels(directives);
  1697. if (priorityLevels.length > 0) {
  1698. vnode.props = {
  1699. directives,
  1700. priorityLevels,
  1701. originalProps: props,
  1702. type: vnode.type,
  1703. element: y(vnode.type, props),
  1704. top: true
  1705. };
  1706. vnode.type = Directives;
  1707. }
  1708. }
  1709. if (old) old(vnode);
  1710. };
  1711. ;// CONCATENATED MODULE: ./node_modules/@wordpress/interactivity/src/slots.js
  1712. /**
  1713. * External dependencies
  1714. */
  1715. const slotsContext = G();
  1716. const Fill = ({
  1717. slot,
  1718. children
  1719. }) => {
  1720. const slots = hooks_module_q(slotsContext);
  1721. hooks_module_p(() => {
  1722. if (slot) {
  1723. slots.value = {
  1724. ...slots.value,
  1725. [slot]: children
  1726. };
  1727. return () => {
  1728. slots.value = {
  1729. ...slots.value,
  1730. [slot]: null
  1731. };
  1732. };
  1733. }
  1734. }, [slots, slot, children]);
  1735. return !!slot ? null : children;
  1736. };
  1737. const SlotProvider = ({
  1738. children
  1739. }) => {
  1740. return (
  1741. // TODO: We can change this to use deepsignal once this PR is merged.
  1742. // https://github.com/luisherranz/deepsignal/pull/38
  1743. jsxRuntime_module_o(slotsContext.Provider, {
  1744. value: signals_core_module_a({}),
  1745. children: children
  1746. })
  1747. );
  1748. };
  1749. const Slot = ({
  1750. name,
  1751. children
  1752. }) => {
  1753. const slots = hooks_module_q(slotsContext);
  1754. return slots.value[name] || children;
  1755. };
  1756. ;// CONCATENATED MODULE: ./node_modules/@wordpress/interactivity/src/directives.js
  1757. /**
  1758. * External dependencies
  1759. */
  1760. /**
  1761. * Internal dependencies
  1762. */
  1763. const directives_isObject = item => item && typeof item === 'object' && !Array.isArray(item);
  1764. const mergeDeepSignals = (target, source, overwrite) => {
  1765. for (const k in source) {
  1766. if (directives_isObject(deepsignal_module_g(target, k)) && directives_isObject(deepsignal_module_g(source, k))) {
  1767. mergeDeepSignals(target[`$${k}`].peek(), source[`$${k}`].peek(), overwrite);
  1768. } else if (overwrite || typeof deepsignal_module_g(target, k) === 'undefined') {
  1769. target[`$${k}`] = source[`$${k}`];
  1770. }
  1771. }
  1772. };
  1773. /* harmony default export */ var directives = (() => {
  1774. // data-wp-context
  1775. directive('context', ({
  1776. directives: {
  1777. context: {
  1778. default: newContext
  1779. }
  1780. },
  1781. props: {
  1782. children
  1783. },
  1784. context: inheritedContext
  1785. }) => {
  1786. const {
  1787. Provider
  1788. } = inheritedContext;
  1789. const inheritedValue = hooks_module_q(inheritedContext);
  1790. const currentValue = hooks_module_(deepsignal_module_l({}));
  1791. currentValue.current = hooks_module_F(() => {
  1792. const newValue = deepsignal_module_l(newContext);
  1793. mergeDeepSignals(newValue, inheritedValue);
  1794. mergeDeepSignals(currentValue.current, newValue, true);
  1795. return currentValue.current;
  1796. }, [newContext, inheritedValue]);
  1797. return jsxRuntime_module_o(Provider, {
  1798. value: currentValue.current,
  1799. children: children
  1800. });
  1801. }, {
  1802. priority: 5
  1803. });
  1804. // data-wp-body
  1805. directive('body', ({
  1806. props: {
  1807. children
  1808. }
  1809. }) => {
  1810. return createPortal(children, document.body);
  1811. });
  1812. // data-wp-effect--[name]
  1813. directive('effect', ({
  1814. directives: {
  1815. effect
  1816. },
  1817. context,
  1818. evaluate
  1819. }) => {
  1820. const contextValue = hooks_module_q(context);
  1821. Object.values(effect).forEach(path => {
  1822. utils_useSignalEffect(() => {
  1823. return evaluate(path, {
  1824. context: contextValue
  1825. });
  1826. });
  1827. });
  1828. });
  1829. // data-wp-init--[name]
  1830. directive('init', ({
  1831. directives: {
  1832. init
  1833. },
  1834. context,
  1835. evaluate
  1836. }) => {
  1837. const contextValue = hooks_module_q(context);
  1838. Object.values(init).forEach(path => {
  1839. hooks_module_p(() => {
  1840. return evaluate(path, {
  1841. context: contextValue
  1842. });
  1843. }, []);
  1844. });
  1845. });
  1846. // data-wp-on--[event]
  1847. directive('on', ({
  1848. directives: {
  1849. on
  1850. },
  1851. element,
  1852. evaluate,
  1853. context
  1854. }) => {
  1855. const contextValue = hooks_module_q(context);
  1856. Object.entries(on).forEach(([name, path]) => {
  1857. element.props[`on${name}`] = event => {
  1858. evaluate(path, {
  1859. event,
  1860. context: contextValue
  1861. });
  1862. };
  1863. });
  1864. });
  1865. // data-wp-class--[classname]
  1866. directive('class', ({
  1867. directives: {
  1868. class: className
  1869. },
  1870. element,
  1871. evaluate,
  1872. context
  1873. }) => {
  1874. const contextValue = hooks_module_q(context);
  1875. Object.keys(className).filter(n => n !== 'default').forEach(name => {
  1876. const result = evaluate(className[name], {
  1877. className: name,
  1878. context: contextValue
  1879. });
  1880. const currentClass = element.props.class || '';
  1881. const classFinder = new RegExp(`(^|\\s)${name}(\\s|$)`, 'g');
  1882. if (!result) element.props.class = currentClass.replace(classFinder, ' ').trim();else if (!classFinder.test(currentClass)) element.props.class = currentClass ? `${currentClass} ${name}` : name;
  1883. hooks_module_p(() => {
  1884. // This seems necessary because Preact doesn't change the class
  1885. // names on the hydration, so we have to do it manually. It doesn't
  1886. // need deps because it only needs to do it the first time.
  1887. if (!result) {
  1888. element.ref.current.classList.remove(name);
  1889. } else {
  1890. element.ref.current.classList.add(name);
  1891. }
  1892. }, []);
  1893. });
  1894. });
  1895. const newRule = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g;
  1896. const ruleClean = /\/\*[^]*?\*\/| +/g;
  1897. const ruleNewline = /\n+/g;
  1898. const empty = ' ';
  1899. /**
  1900. * Convert a css style string into a object.
  1901. *
  1902. * Made by Cristian Bote (@cristianbote) for Goober.
  1903. * https://unpkg.com/browse/goober@2.1.13/src/core/astish.js
  1904. *
  1905. * @param {string} val CSS string.
  1906. * @return {Object} CSS object.
  1907. */
  1908. const cssStringToObject = val => {
  1909. const tree = [{}];
  1910. let block, left;
  1911. while (block = newRule.exec(val.replace(ruleClean, ''))) {
  1912. if (block[4]) {
  1913. tree.shift();
  1914. } else if (block[3]) {
  1915. left = block[3].replace(ruleNewline, empty).trim();
  1916. tree.unshift(tree[0][left] = tree[0][left] || {});
  1917. } else {
  1918. tree[0][block[1]] = block[2].replace(ruleNewline, empty).trim();
  1919. }
  1920. }
  1921. return tree[0];
  1922. };
  1923. // data-wp-style--[style-key]
  1924. directive('style', ({
  1925. directives: {
  1926. style
  1927. },
  1928. element,
  1929. evaluate,
  1930. context
  1931. }) => {
  1932. const contextValue = hooks_module_q(context);
  1933. Object.keys(style).filter(n => n !== 'default').forEach(key => {
  1934. const result = evaluate(style[key], {
  1935. key,
  1936. context: contextValue
  1937. });
  1938. element.props.style = element.props.style || {};
  1939. if (typeof element.props.style === 'string') element.props.style = cssStringToObject(element.props.style);
  1940. if (!result) delete element.props.style[key];else element.props.style[key] = result;
  1941. hooks_module_p(() => {
  1942. // This seems necessary because Preact doesn't change the styles on
  1943. // the hydration, so we have to do it manually. It doesn't need deps
  1944. // because it only needs to do it the first time.
  1945. if (!result) {
  1946. element.ref.current.style.removeProperty(key);
  1947. } else {
  1948. element.ref.current.style[key] = result;
  1949. }
  1950. }, []);
  1951. });
  1952. });
  1953. // data-wp-bind--[attribute]
  1954. directive('bind', ({
  1955. directives: {
  1956. bind
  1957. },
  1958. element,
  1959. context,
  1960. evaluate
  1961. }) => {
  1962. const contextValue = hooks_module_q(context);
  1963. Object.entries(bind).filter(n => n !== 'default').forEach(([attribute, path]) => {
  1964. const result = evaluate(path, {
  1965. context: contextValue
  1966. });
  1967. element.props[attribute] = result;
  1968. // Preact doesn't handle the `role` attribute properly, as it doesn't remove it when `null`.
  1969. // We need this workaround until the following issue is solved:
  1970. // https://github.com/preactjs/preact/issues/4136
  1971. hooks_module_y(() => {
  1972. if (attribute === 'role' && (result === null || result === undefined)) {
  1973. element.ref.current.removeAttribute(attribute);
  1974. }
  1975. }, [attribute, result]);
  1976. // This seems necessary because Preact doesn't change the attributes
  1977. // on the hydration, so we have to do it manually. It doesn't need
  1978. // deps because it only needs to do it the first time.
  1979. hooks_module_p(() => {
  1980. const el = element.ref.current;
  1981. // We set the value directly to the corresponding
  1982. // HTMLElement instance property excluding the following
  1983. // special cases.
  1984. // We follow Preact's logic: https://github.com/preactjs/preact/blob/ea49f7a0f9d1ff2c98c0bdd66aa0cbc583055246/src/diff/props.js#L110-L129
  1985. if (attribute !== 'width' && attribute !== 'height' && attribute !== 'href' && attribute !== 'list' && attribute !== 'form' &&
  1986. // Default value in browsers is `-1` and an empty string is
  1987. // cast to `0` instead
  1988. attribute !== 'tabIndex' && attribute !== 'download' && attribute !== 'rowSpan' && attribute !== 'colSpan' && attribute !== 'role' && attribute in el) {
  1989. try {
  1990. el[attribute] = result === null || result === undefined ? '' : result;
  1991. return;
  1992. } catch (err) {}
  1993. }
  1994. // aria- and data- attributes have no boolean representation.
  1995. // A `false` value is different from the attribute not being
  1996. // present, so we can't remove it.
  1997. // We follow Preact's logic: https://github.com/preactjs/preact/blob/ea49f7a0f9d1ff2c98c0bdd66aa0cbc583055246/src/diff/props.js#L131C24-L136
  1998. if (result !== null && result !== undefined && (result !== false || attribute[4] === '-')) {
  1999. el.setAttribute(attribute, result);
  2000. } else {
  2001. el.removeAttribute(attribute);
  2002. }
  2003. }, []);
  2004. });
  2005. });
  2006. // data-wp-ignore
  2007. directive('ignore', ({
  2008. element: {
  2009. type: Type,
  2010. props: {
  2011. innerHTML,
  2012. ...rest
  2013. }
  2014. }
  2015. }) => {
  2016. // Preserve the initial inner HTML.
  2017. const cached = hooks_module_F(() => innerHTML, []);
  2018. return jsxRuntime_module_o(Type, {
  2019. dangerouslySetInnerHTML: {
  2020. __html: cached
  2021. },
  2022. ...rest
  2023. });
  2024. });
  2025. // data-wp-text
  2026. directive('text', ({
  2027. directives: {
  2028. text: {
  2029. default: text
  2030. }
  2031. },
  2032. element,
  2033. evaluate,
  2034. context
  2035. }) => {
  2036. const contextValue = hooks_module_q(context);
  2037. element.props.children = evaluate(text, {
  2038. context: contextValue
  2039. });
  2040. });
  2041. // data-wp-slot
  2042. directive('slot', ({
  2043. directives: {
  2044. slot: {
  2045. default: slot
  2046. }
  2047. },
  2048. props: {
  2049. children
  2050. },
  2051. element
  2052. }) => {
  2053. const name = typeof slot === 'string' ? slot : slot.name;
  2054. const position = slot.position || 'children';
  2055. if (position === 'before') {
  2056. return jsxRuntime_module_o(k, {
  2057. children: [jsxRuntime_module_o(Slot, {
  2058. name: name
  2059. }), children]
  2060. });
  2061. }
  2062. if (position === 'after') {
  2063. return jsxRuntime_module_o(k, {
  2064. children: [children, jsxRuntime_module_o(Slot, {
  2065. name: name
  2066. })]
  2067. });
  2068. }
  2069. if (position === 'replace') {
  2070. return jsxRuntime_module_o(Slot, {
  2071. name: name,
  2072. children: children
  2073. });
  2074. }
  2075. if (position === 'children') {
  2076. element.props.children = jsxRuntime_module_o(Slot, {
  2077. name: name,
  2078. children: element.props.children
  2079. });
  2080. }
  2081. }, {
  2082. priority: 4
  2083. });
  2084. // data-wp-fill
  2085. directive('fill', ({
  2086. directives: {
  2087. fill: {
  2088. default: fill
  2089. }
  2090. },
  2091. props: {
  2092. children
  2093. },
  2094. evaluate,
  2095. context
  2096. }) => {
  2097. const contextValue = hooks_module_q(context);
  2098. const slot = evaluate(fill, {
  2099. context: contextValue
  2100. });
  2101. return jsxRuntime_module_o(Fill, {
  2102. slot: slot,
  2103. children: children
  2104. });
  2105. }, {
  2106. priority: 4
  2107. });
  2108. // data-wp-slot-provider
  2109. directive('slot-provider', ({
  2110. props: {
  2111. children
  2112. }
  2113. }) => jsxRuntime_module_o(SlotProvider, {
  2114. children: children
  2115. }), {
  2116. priority: 4
  2117. });
  2118. });
  2119. ;// CONCATENATED MODULE: ./node_modules/@wordpress/interactivity/src/constants.js
  2120. const directivePrefix = 'wp';
  2121. ;// CONCATENATED MODULE: ./node_modules/@wordpress/interactivity/src/vdom.js
  2122. /**
  2123. * External dependencies
  2124. */
  2125. /**
  2126. * Internal dependencies
  2127. */
  2128. const ignoreAttr = `data-${directivePrefix}-ignore`;
  2129. const islandAttr = `data-${directivePrefix}-interactive`;
  2130. const fullPrefix = `data-${directivePrefix}-`;
  2131. // Regular expression for directive parsing.
  2132. const directiveParser = new RegExp(`^data-${directivePrefix}-` +
  2133. // ${p} must be a prefix string, like 'wp'.
  2134. // Match alphanumeric characters including hyphen-separated
  2135. // segments. It excludes underscore intentionally to prevent confusion.
  2136. // E.g., "custom-directive".
  2137. '([a-z0-9]+(?:-[a-z0-9]+)*)' +
  2138. // (Optional) Match '--' followed by any alphanumeric charachters. It
  2139. // excludes underscore intentionally to prevent confusion, but it can
  2140. // contain multiple hyphens. E.g., "--custom-prefix--with-more-info".
  2141. '(?:--([a-z0-9_-]+))?$', 'i' // Case insensitive.
  2142. );
  2143. const hydratedIslands = new WeakSet();
  2144. // Recursive function that transforms a DOM tree into vDOM.
  2145. function toVdom(root) {
  2146. const treeWalker = document.createTreeWalker(root, 205 // ELEMENT + TEXT + COMMENT + CDATA_SECTION + PROCESSING_INSTRUCTION
  2147. );
  2148. function walk(node) {
  2149. const {
  2150. attributes,
  2151. nodeType
  2152. } = node;
  2153. if (nodeType === 3) return [node.data];
  2154. if (nodeType === 4) {
  2155. const next = treeWalker.nextSibling();
  2156. node.replaceWith(new window.Text(node.nodeValue));
  2157. return [node.nodeValue, next];
  2158. }
  2159. if (nodeType === 8 || nodeType === 7) {
  2160. const next = treeWalker.nextSibling();
  2161. node.remove();
  2162. return [null, next];
  2163. }
  2164. const props = {};
  2165. const children = [];
  2166. const directives = {};
  2167. let hasDirectives = false;
  2168. let ignore = false;
  2169. let island = false;
  2170. for (let i = 0; i < attributes.length; i++) {
  2171. const n = attributes[i].name;
  2172. if (n[fullPrefix.length] && n.slice(0, fullPrefix.length) === fullPrefix) {
  2173. if (n === ignoreAttr) {
  2174. ignore = true;
  2175. } else if (n === islandAttr) {
  2176. island = true;
  2177. } else {
  2178. hasDirectives = true;
  2179. let val = attributes[i].value;
  2180. try {
  2181. val = JSON.parse(val);
  2182. } catch (e) {}
  2183. const [, prefix, suffix] = directiveParser.exec(n);
  2184. directives[prefix] = directives[prefix] || {};
  2185. directives[prefix][suffix || 'default'] = val;
  2186. }
  2187. } else if (n === 'ref') {
  2188. continue;
  2189. }
  2190. props[n] = attributes[i].value;
  2191. }
  2192. if (ignore && !island) return [y(node.localName, {
  2193. ...props,
  2194. innerHTML: node.innerHTML,
  2195. __directives: {
  2196. ignore: true
  2197. }
  2198. })];
  2199. if (island) hydratedIslands.add(node);
  2200. if (hasDirectives) props.__directives = directives;
  2201. let child = treeWalker.firstChild();
  2202. if (child) {
  2203. while (child) {
  2204. const [vnode, nextChild] = walk(child);
  2205. if (vnode) children.push(vnode);
  2206. child = nextChild || treeWalker.nextSibling();
  2207. }
  2208. treeWalker.parentNode();
  2209. }
  2210. return [y(node.localName, props, children)];
  2211. }
  2212. return walk(treeWalker.currentNode);
  2213. }
  2214. ;// CONCATENATED MODULE: ./node_modules/@wordpress/interactivity/src/router.js
  2215. /**
  2216. * External dependencies
  2217. */
  2218. /**
  2219. * Internal dependencies
  2220. */
  2221. // The cache of visited and prefetched pages.
  2222. const pages = new Map();
  2223. // Keep the same root fragment for each interactive region node.
  2224. const regionRootFragments = new WeakMap();
  2225. const getRegionRootFragment = region => {
  2226. if (!regionRootFragments.has(region)) {
  2227. regionRootFragments.set(region, createRootFragment(region.parentElement, region));
  2228. }
  2229. return regionRootFragments.get(region);
  2230. };
  2231. // Helper to remove domain and hash from the URL. We are only interesting in
  2232. // caching the path and the query.
  2233. const cleanUrl = url => {
  2234. const u = new URL(url, window.location);
  2235. return u.pathname + u.search;
  2236. };
  2237. // Fetch a new page and convert it to a static virtual DOM.
  2238. const fetchPage = async (url, {
  2239. html
  2240. }) => {
  2241. try {
  2242. if (!html) {
  2243. const res = await window.fetch(url);
  2244. if (res.status !== 200) return false;
  2245. html = await res.text();
  2246. }
  2247. const dom = new window.DOMParser().parseFromString(html, 'text/html');
  2248. return regionsToVdom(dom);
  2249. } catch (e) {
  2250. return false;
  2251. }
  2252. };
  2253. // Return an object with VDOM trees of those HTML regions marked with a
  2254. // `navigation-id` directive.
  2255. const regionsToVdom = dom => {
  2256. const regions = {};
  2257. const attrName = `data-${directivePrefix}-navigation-id`;
  2258. dom.querySelectorAll(`[${attrName}]`).forEach(region => {
  2259. const id = region.getAttribute(attrName);
  2260. regions[id] = toVdom(region);
  2261. });
  2262. const title = dom.querySelector('title')?.innerText;
  2263. return {
  2264. regions,
  2265. title
  2266. };
  2267. };
  2268. // Prefetch a page. We store the promise to avoid triggering a second fetch for
  2269. // a page if a fetching has already started.
  2270. const prefetch = (url, options = {}) => {
  2271. url = cleanUrl(url);
  2272. if (options.force || !pages.has(url)) {
  2273. pages.set(url, fetchPage(url, options));
  2274. }
  2275. };
  2276. // Render all interactive regions contained in the given page.
  2277. const renderRegions = page => {
  2278. const attrName = `data-${directivePrefix}-navigation-id`;
  2279. document.querySelectorAll(`[${attrName}]`).forEach(region => {
  2280. const id = region.getAttribute(attrName);
  2281. const fragment = getRegionRootFragment(region);
  2282. B(page.regions[id], fragment);
  2283. });
  2284. if (page.title) {
  2285. document.title = page.title;
  2286. }
  2287. };
  2288. // Variable to store the current navigation.
  2289. let navigatingTo = '';
  2290. // Navigate to a new page.
  2291. const router_navigate = async (href, options = {}) => {
  2292. const url = cleanUrl(href);
  2293. navigatingTo = href;
  2294. prefetch(url, options);
  2295. // Create a promise that resolves when the specified timeout ends. The
  2296. // timeout value is 10 seconds by default.
  2297. const timeoutPromise = new Promise(resolve => setTimeout(resolve, options.timeout ?? 10000));
  2298. const page = await Promise.race([pages.get(url), timeoutPromise]);
  2299. // Once the page is fetched, the destination URL could have changed (e.g.,
  2300. // by clicking another link in the meantime). If so, bail out, and let the
  2301. // newer execution to update the HTML.
  2302. if (navigatingTo !== href) return;
  2303. if (page) {
  2304. renderRegions(page);
  2305. window.history[options.replace ? 'replaceState' : 'pushState']({}, '', href);
  2306. } else {
  2307. window.location.assign(href);
  2308. await new Promise(() => {});
  2309. }
  2310. };
  2311. // Listen to the back and forward buttons and restore the page if it's in the
  2312. // cache.
  2313. window.addEventListener('popstate', async () => {
  2314. const url = cleanUrl(window.location); // Remove hash.
  2315. const page = pages.has(url) && (await pages.get(url));
  2316. if (page) {
  2317. renderRegions(page);
  2318. } else {
  2319. window.location.reload();
  2320. }
  2321. });
  2322. // Initialize the router with the initial DOM.
  2323. const init = async () => {
  2324. document.querySelectorAll(`[data-${directivePrefix}-interactive]`).forEach(node => {
  2325. if (!hydratedIslands.has(node)) {
  2326. const fragment = getRegionRootFragment(node);
  2327. const vdom = toVdom(node);
  2328. E(vdom, fragment);
  2329. }
  2330. });
  2331. // Cache the current regions.
  2332. pages.set(cleanUrl(window.location), Promise.resolve(regionsToVdom(document)));
  2333. };
  2334. ;// CONCATENATED MODULE: ./node_modules/@wordpress/interactivity/src/index.js
  2335. /**
  2336. * Internal dependencies
  2337. */
  2338. document.addEventListener('DOMContentLoaded', async () => {
  2339. directives();
  2340. await init();
  2341. afterLoads.forEach(afterLoad => afterLoad(rawStore));
  2342. });
  2343. /***/ })
  2344. /******/ });
  2345. /************************************************************************/
  2346. /******/ // The module cache
  2347. /******/ var __webpack_module_cache__ = {};
  2348. /******/
  2349. /******/ // The require function
  2350. /******/ function __webpack_require__(moduleId) {
  2351. /******/ // Check if module is in cache
  2352. /******/ var cachedModule = __webpack_module_cache__[moduleId];
  2353. /******/ if (cachedModule !== undefined) {
  2354. /******/ return cachedModule.exports;
  2355. /******/ }
  2356. /******/ // Create a new module (and put it into the cache)
  2357. /******/ var module = __webpack_module_cache__[moduleId] = {
  2358. /******/ // no module.id needed
  2359. /******/ // no module.loaded needed
  2360. /******/ exports: {}
  2361. /******/ };
  2362. /******/
  2363. /******/ // Execute the module function
  2364. /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
  2365. /******/
  2366. /******/ // Return the exports of the module
  2367. /******/ return module.exports;
  2368. /******/ }
  2369. /******/
  2370. /******/ // expose the modules object (__webpack_modules__)
  2371. /******/ __webpack_require__.m = __webpack_modules__;
  2372. /******/
  2373. /************************************************************************/
  2374. /******/ /* webpack/runtime/chunk loaded */
  2375. /******/ !function() {
  2376. /******/ var deferred = [];
  2377. /******/ __webpack_require__.O = function(result, chunkIds, fn, priority) {
  2378. /******/ if(chunkIds) {
  2379. /******/ priority = priority || 0;
  2380. /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
  2381. /******/ deferred[i] = [chunkIds, fn, priority];
  2382. /******/ return;
  2383. /******/ }
  2384. /******/ var notFulfilled = Infinity;
  2385. /******/ for (var i = 0; i < deferred.length; i++) {
  2386. /******/ var chunkIds = deferred[i][0];
  2387. /******/ var fn = deferred[i][1];
  2388. /******/ var priority = deferred[i][2];
  2389. /******/ var fulfilled = true;
  2390. /******/ for (var j = 0; j < chunkIds.length; j++) {
  2391. /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {
  2392. /******/ chunkIds.splice(j--, 1);
  2393. /******/ } else {
  2394. /******/ fulfilled = false;
  2395. /******/ if(priority < notFulfilled) notFulfilled = priority;
  2396. /******/ }
  2397. /******/ }
  2398. /******/ if(fulfilled) {
  2399. /******/ deferred.splice(i--, 1)
  2400. /******/ var r = fn();
  2401. /******/ if (r !== undefined) result = r;
  2402. /******/ }
  2403. /******/ }
  2404. /******/ return result;
  2405. /******/ };
  2406. /******/ }();
  2407. /******/
  2408. /******/ /* webpack/runtime/define property getters */
  2409. /******/ !function() {
  2410. /******/ // define getter functions for harmony exports
  2411. /******/ __webpack_require__.d = function(exports, definition) {
  2412. /******/ for(var key in definition) {
  2413. /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
  2414. /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
  2415. /******/ }
  2416. /******/ }
  2417. /******/ };
  2418. /******/ }();
  2419. /******/
  2420. /******/ /* webpack/runtime/hasOwnProperty shorthand */
  2421. /******/ !function() {
  2422. /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
  2423. /******/ }();
  2424. /******/
  2425. /******/ /* webpack/runtime/jsonp chunk loading */
  2426. /******/ !function() {
  2427. /******/ // no baseURI
  2428. /******/
  2429. /******/ // object to store loaded and loading chunks
  2430. /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
  2431. /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
  2432. /******/ var installedChunks = {
  2433. /******/ 440: 0
  2434. /******/ };
  2435. /******/
  2436. /******/ // no chunk on demand loading
  2437. /******/
  2438. /******/ // no prefetching
  2439. /******/
  2440. /******/ // no preloaded
  2441. /******/
  2442. /******/ // no HMR
  2443. /******/
  2444. /******/ // no HMR manifest
  2445. /******/
  2446. /******/ __webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };
  2447. /******/
  2448. /******/ // install a JSONP callback for chunk loading
  2449. /******/ var webpackJsonpCallback = function(parentChunkLoadingFunction, data) {
  2450. /******/ var chunkIds = data[0];
  2451. /******/ var moreModules = data[1];
  2452. /******/ var runtime = data[2];
  2453. /******/ // add "moreModules" to the modules object,
  2454. /******/ // then flag all "chunkIds" as loaded and fire callback
  2455. /******/ var moduleId, chunkId, i = 0;
  2456. /******/ if(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {
  2457. /******/ for(moduleId in moreModules) {
  2458. /******/ if(__webpack_require__.o(moreModules, moduleId)) {
  2459. /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
  2460. /******/ }
  2461. /******/ }
  2462. /******/ if(runtime) var result = runtime(__webpack_require__);
  2463. /******/ }
  2464. /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
  2465. /******/ for(;i < chunkIds.length; i++) {
  2466. /******/ chunkId = chunkIds[i];
  2467. /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
  2468. /******/ installedChunks[chunkId][0]();
  2469. /******/ }
  2470. /******/ installedChunks[chunkId] = 0;
  2471. /******/ }
  2472. /******/ return __webpack_require__.O(result);
  2473. /******/ }
  2474. /******/
  2475. /******/ var chunkLoadingGlobal = self["__WordPressPrivateInteractivityAPI__"] = self["__WordPressPrivateInteractivityAPI__"] || [];
  2476. /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
  2477. /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
  2478. /******/ }();
  2479. /******/
  2480. /************************************************************************/
  2481. /******/
  2482. /******/
  2483. /******/ })()
  2484. ;