!function (e, r) { "object" == typeof exports && "object" == typeof module ? module.exports = r() : "function" == typeof define && define.amd ? define([], r) : "object" == typeof exports ? exports.WebflowTools = r() : e.WebflowTools = r() }(self, (function () { return function () { "use strict"; var e = { 579: function (e, r) { Object.defineProperty(r, "__esModule", { value: !0 }), r.CMS_COMBINE_ORDER_ATTR = r.CMS_COMBINE_SORT_BY_ATTR = r.CMS_COMBINE_LIMIT_ATTR = r.CMS_COMBINE_SELECTOR = void 0, r.CMS_COMBINE_SELECTOR = "r-cms-combine", r.CMS_COMBINE_LIMIT_ATTR = "r-cms-combine-limit", r.CMS_COMBINE_SORT_BY_ATTR = "r-cms-combine-sort-by", r.CMS_COMBINE_ORDER_ATTR = "r-cms-combine-order" } }, r = {}; function t(o) { var n = r[o]; if (void 0 !== n) return n.exports; var i = r[o] = { exports: {} }; return e[o](i, i.exports, t), i.exports } var o = {}; return function () { var e = o; Object.defineProperty(e, "__esModule", { value: !0 }); var r = t(579); function n(e) { var t = Array.from(e.children), o = parseInt(e.getAttribute(r.CMS_COMBINE_LIMIT_ATTR) || ""); if (o && !isNaN(o)) for (var n = o; n < t.length; n++)t[n].remove() } function i(e) { var t = Array.from(e.children), o = e.getAttribute(r.CMS_COMBINE_SORT_BY_ATTR), n = e.getAttribute(r.CMS_COMBINE_ORDER_ATTR) || "asc"; if (o) { var i = n && "desc" === n; t.sort((function (e, r) { var t = e.querySelector(o); t && (e = t); var n = r.querySelector(o); n && (r = n); var _ = i ? e.innerText : r.innerText, c = i ? r.innerText : e.innerText; return _.localeCompare(c) })), t.forEach((function (r) { return e.append(r) })) } } !function () { var e, t = {}, o = Date.now().toString(); for (var _ in document.querySelectorAll("[" + r.CMS_COMBINE_SELECTOR + "]").forEach((function (e) { var n = e.getAttribute(r.CMS_COMBINE_SELECTOR) || o; t[n] || (t[n] = []), t[n].push(e) })), t) { var c = t[_]; if (c) { for (var f = 1; f < c.length; f++) { var a = c[f]; (e = c[0]).append.apply(e, a.children), a.remove() } i(c[0]), n(c[0]) } } window.Webflow.destroy(), window.Webflow.ready(), window.Webflow.require("ix2").init() }() }(), o }() }));