@modelmenu/navigation 3.1.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +588 -558
- package/dist/index.umd.js +12 -12
- package/menu/MenuPlate.vue +42 -22
- package/menu/components/menu-item.vue +2 -3
- package/menu/components/sub-menu-items.vue +88 -40
- package/menu/components/top-menu-items/top-menu-item.vue +16 -15
- package/menu/components/top-menu-items/top-sub-menu-items.vue +13 -3
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".menu-plate[data-v-d3e40673]{display:flex;flex-direction:column;width:100%;height:100%;background-color:#2c2c2c;color:#fff}.horizontal-menu[data-v-d3e40673]{display:flex;gap:20px;padding:10px}.clicked[data-v-d3e40673]{background-color:#d3d3d3}.menu-item-text[data-v-d3e40673]{margin-left:8px}.show[data-v-d3e40673]{display:flex}.vertical-menu[data-v-d3e40673]{display:flex;flex-direction:column;align-items:center;gap:20px;padding:10px}.vertical-menu-opened[data-v-d3e40673]{width:200px}.menu-item[data-v-d3e40673]{margin-top:20px;width:180px;margin-left:20px;height:30px;margin:0 16px!important;padding:20px 0;cursor:pointer;display:flex;justify-content:flex-start;align-items:center}.menu-text-opened[data-v-d3e40673]{animation:openMenuText-d3e40673 .2s ease-in forwards}.menu-text-closed[data-v-d3e40673]{animation:closeMenuText-d3e40673 .2s ease-out forwards}.menu-text-closed .sub-menu-button[data-v-d3e40673]{display:none}.item-active[data-v-d3e40673]{background-color:#ececec}.sub-menu-button[data-v-d3e40673]{margin-left:8px}@keyframes openMenuText-d3e40673{0%{opacity:0}to{opacity:1}}@keyframes closeMenuText-d3e40673{0%{opacity:1}to{opacity:0}}@keyframes openMenu-d3e40673{0%{transform:rotate(0)}to{transform:rotate(180deg)}}.icon-opened[data-v-d3e40673]{animation:openMenu-d3e40673 .4s ease forwards}.active-tooltip[data-v-eb230a0a]{position:relative;left:74px;width:240px;height:80px;border-radius:4px;border:1px solid rgba(70,70,70,.4);background-color:#fff!important;z-index:999999999}.item[data-v-eb230a0a]{display:flex;flex-wrap:wrap;width:180px}.item-active[data-v-eb230a0a]{background-color:#ececec}.sub-menu-button[data-v-eb230a0a]{cursor:pointer}.sub-menu-items .menu-item[data-v-eb230a0a]{margin-left:60px}.sub-menu-item p[data-v-eb230a0a]{margin-left:60px;font-size:16px;padding:4px}.sub-menu-items[data-v-eb230a0a]{display:grid;grid-template-rows:0fr;opacity:0;pointer-events:none;transition:grid-template-rows .35s ease,opacity .25s ease}.sub-menu-items.itemsOpened[data-v-eb230a0a]{grid-template-rows:1fr;opacity:1;pointer-events:auto}.sub-menu-items.itemsClosed[data-v-eb230a0a]{grid-template-rows:0fr;opacity:0}.sub-menu-content[data-v-eb230a0a]{min-height:0;overflow:hidden}.top-sub-menu-items{position:absolute;top:42px;right:0;padding:8px 0;margin-top:1px;width:200px;z-index:999999999;background-color:transparent}.content{border:2px solid rgba(70,70,70,.4);border-radius:4px;padding:10px;background-color:#fff}.top-menu-item{display:flex;justify-content:space-between;column-gap:4px;cursor:pointer}.item{display:flex;flex-direction:row;width:200px;padding:3px 7px;cursor:pointer}@keyframes openMenu{0%{transform:rotate(0)}to{transform:rotate(180deg)}}@keyframes menuTooltipOpened{0%{transform:translateY(-1px)}to{transform:translateY(0)}}.tooltip-opened{animation:menuTooltipOpened .09s ease forwards}.icon-opened{animation:openMenu .02s ease forwards}.item[data-v-86faac3c]{display:flex;flex-wrap:wrap;width:180px}.horizontal-items[data-v-86faac3c]{display:flex;gap:20px;padding:10px}.top-menu-item-heading[data-v-86faac3c]{display:flex;align-items:center;cursor:pointer;column-gap:4px;border-bottom:1px solid transparent;margin:4px;box-sizing:border-box}.horizontal-top-menu-item.active[data-v-86faac3c]{border-bottom:2px solid black}.menu-hover[data-v-86faac3c]{background-color:#eee}.horizontal-top-menu[data-v-86faac3c]{width:100%;display:flex;justify-content:flex-end;align-items:center}.horizontal-top-menu-item[data-v-86faac3c]{display:flex;align-items:center;box-sizing:border-box;cursor:pointer;height:48px;border-bottom:2px solid transparent;padding:4px 12px}@keyframes openMenu-86faac3c{0%{transform:rotate(0)}to{transform:rotate(180deg)}}@keyframes closeMenu-86faac3c{0%{transform:rotate(0)}to{transform:rotate(-180deg)}}.icon-opened[data-v-86faac3c]{animation:openMenu-86faac3c .4s ease forwards}.icon-closed[data-v-86faac3c]{animation:closeMenu-86faac3c .4s ease forwards}.menu-container[data-v-2eedc0d8]{position:relative;width:100%;height:100%}.top-sub-menu-items[data-v-2eedc0d8]{position:absolute;top:38px;right:0;border:1px solid #424242;padding:10px;width:150px;z-index:99999}.item-active[data-v-2eedc0d8]{background-color:#f2f2f2}.horizontal-menu-item[data-v-2eedc0d8]{cursor:pointer}.horizontal-items[data-v-2eedc0d8]{display:flex;gap:20px;padding:10px}.loader[data-v-2eedc0d8]{width:100%;display:flex;position:fixed;top:40%;left:50%;height:36dvh}.loader-icon[data-v-2eedc0d8]{width:60px;height:60px;transform-origin:center;animation:rotateLoader-2eedc0d8 1s linear infinite}@keyframes rotateLoader-2eedc0d8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tooltip-opened[data-v-2eedc0d8]{animation:menuTooltipOpened .2s ease forwards}.loader-track[data-v-2eedc0d8],.loader-ring[data-v-2eedc0d8]{fill:none;stroke-width:8}.loader-track[data-v-2eedc0d8]{stroke:#4294ff2e}.loader-ring[data-v-2eedc0d8]{stroke:#4294ff;stroke-dasharray:110 160;stroke-dashoffset:0}.menu-text-opened[data-v-2eedc0d8]{display:inline-block}.menu-text-closed[data-v-2eedc0d8]{display:none}.item[data-v-2eedc0d8]{display:flex;flex-wrap:wrap;cursor:pointer;width:180px}.menu-item p[data-v-2eedc0d8]{margin-left:10px}.menu-item-opened[data-v-2eedc0d8]{display:flex}.horizontal-items[data-v-2eedc0d8]{display:flex;align-self:flex-end}.tooltip-item[data-v-2eedc0d8]{padding:8px;cursor:pointer}.horizontal-menu[data-v-2eedc0d8]{position:absolute;border-bottom:2px solid rgba(70,70,70,.4);top:0;left:0;width:100%;height:50px;display:flex;align-items:center;justify-content:space-between}.vertical-menu[data-v-2eedc0d8]{position:absolute;top:50px;overflow-x:hidden;left:0;z-index:200;width:70px;animation:closeMenu-2eedc0d8 .4s ease-out forwards;height:100dvh;background-color:#fff;border-right:2px solid rgba(70,70,70,.4)}.menu-item[data-v-2eedc0d8]{width:180px;margin:10px auto 10px 20px;height:30px;cursor:pointer;display:flex;justify-content:flex-start;align-items:center}@keyframes openMenu-2eedc0d8{0%{width:70px}to{width:200px}}@keyframes closeMenu-2eedc0d8{0%{width:200px}to{width:70px}}.vertical-menu.vertical-menu-opened[data-v-2eedc0d8]{width:200px;animation:openMenu-2eedc0d8 .4s ease-in forwards}.menu-button[data-v-2eedc0d8]{width:74px;height:50px;display:flex;justify-content:center;cursor:pointer;align-items:center;border-right:2px solid rgba(70,70,70,.4)}.menu-icon[data-v-2eedc0d8]{width:30px;height:30px;display:flex;justify-content:center;align-items:center;border-radius:4px}.menu-icon svg[data-v-2eedc0d8]{font-size:18px}.menu-icon[data-v-2eedc0d8]:hover{cursor:pointer;background-color:#8585851a}@keyframes flipAnimation-2eedc0d8{0%{transform:rotate(0)}to{transform:rotate(180deg)}}@keyframes rotateAnimation-2eedc0d8{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes hoverAnimation-2eedc0d8{0%{transform:scale(1)}to{transform:scale(1.2)}}.menu-icon.opened.flip svg[data-v-2eedc0d8]{transform:rotate(180deg)}.menu-icon.opened.rotate svg[data-v-2eedc0d8]{animation:rotateAnimation-2eedc0d8 .4s forwards}.menu-icon.opened.hover svg[data-v-2eedc0d8]{animation:hoverAnimation-2eedc0d8 .4s forwards}.none[data-v-2eedc0d8]{transform:none}.horizontal-menu-item[data-v-2eedc0d8]{display:flex;align-items:center;justify-content:center;margin-right:10px!important;margin:0 auto}.active-tooltip[data-v-2eedc0d8]{position:fixed;left:80px;width:240px;border-radius:4px;background-color:#fff;z-index:9999999;border:2px solid rgba(70,70,70,.4)}.main[data-v-2eedc0d8]{width:calc(100vw - 300px);height:100%;position:absolute;left:180px;top:70px}.main-loading[data-v-2eedc0d8]{opacity:0;background-color:#fff}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
var Sa = Object.defineProperty;
|
|
3
3
|
var Aa = (e, t, n) => t in e ? Sa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
4
4
|
var x = (e, t, n) => Aa(e, typeof t != "symbol" ? t + "" : t, n);
|
|
5
|
-
import { defineComponent as je, computed as L, watch as ka, h as ue, resolveComponent as
|
|
5
|
+
import { defineComponent as je, computed as L, watch as ka, h as ue, resolveComponent as B, openBlock as w, createElementBlock as T, normalizeClass as E, createBlock as ye, createCommentVNode as N, createElementVNode as C, toDisplayString as be, createVNode as J, Fragment as re, renderList as ie, withDirectives as cn, vShow as dn, withModifiers as mn, normalizeStyle as Ma, renderSlot as Ta } from "vue";
|
|
6
6
|
/*!
|
|
7
7
|
* Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com
|
|
8
8
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
@@ -16,16 +16,16 @@ var pn = {
|
|
|
16
16
|
prefix: "fas",
|
|
17
17
|
iconName: "chevron-up",
|
|
18
18
|
icon: [448, 512, [], "f077", "M201.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 173.3 54.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]
|
|
19
|
-
},
|
|
19
|
+
}, Pa = {
|
|
20
20
|
prefix: "fas",
|
|
21
21
|
iconName: "xmark",
|
|
22
22
|
icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]
|
|
23
|
-
},
|
|
23
|
+
}, Oa = Pa, $ = {
|
|
24
24
|
prefix: "fas",
|
|
25
25
|
iconName: "chevron-down",
|
|
26
26
|
icon: [448, 512, [], "f078", "M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]
|
|
27
27
|
};
|
|
28
|
-
class
|
|
28
|
+
class Js {
|
|
29
29
|
constructor() {
|
|
30
30
|
x(this, "name", "");
|
|
31
31
|
x(this, "icon");
|
|
@@ -33,7 +33,7 @@ class Ks {
|
|
|
33
33
|
x(this, "items", []);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
class
|
|
36
|
+
class Qs {
|
|
37
37
|
constructor() {
|
|
38
38
|
x(this, "name", "");
|
|
39
39
|
x(this, "route", "");
|
|
@@ -57,7 +57,7 @@ class _a {
|
|
|
57
57
|
x(this, "icon");
|
|
58
58
|
x(this, "route", "");
|
|
59
59
|
x(this, "opened", !1);
|
|
60
|
-
x(this, "openIcon",
|
|
60
|
+
x(this, "openIcon", $);
|
|
61
61
|
x(this, "items", []);
|
|
62
62
|
x(this, "active", !1);
|
|
63
63
|
}
|
|
@@ -69,11 +69,11 @@ class Ca {
|
|
|
69
69
|
x(this, "route", "");
|
|
70
70
|
x(this, "opened", !1);
|
|
71
71
|
x(this, "active", !1);
|
|
72
|
-
x(this, "openIcon",
|
|
72
|
+
x(this, "openIcon", $);
|
|
73
73
|
x(this, "items", []);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
class
|
|
76
|
+
class Pt {
|
|
77
77
|
constructor() {
|
|
78
78
|
x(this, "name", "");
|
|
79
79
|
x(this, "value", "");
|
|
@@ -99,14 +99,14 @@ function Na(e) {
|
|
|
99
99
|
function ja(e, t) {
|
|
100
100
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function $a(e, t) {
|
|
103
103
|
for (var n = 0; n < t.length; n++) {
|
|
104
104
|
var a = t[n];
|
|
105
105
|
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, hn(a.key), a);
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
function
|
|
109
|
-
return t &&
|
|
108
|
+
function La(e, t, n) {
|
|
109
|
+
return t && $a(e.prototype, t), Object.defineProperty(e, "prototype", {
|
|
110
110
|
writable: !1
|
|
111
111
|
}), e;
|
|
112
112
|
}
|
|
@@ -127,8 +127,8 @@ function Me(e, t) {
|
|
|
127
127
|
value: e[a++]
|
|
128
128
|
};
|
|
129
129
|
},
|
|
130
|
-
e: function(
|
|
131
|
-
throw
|
|
130
|
+
e: function(s) {
|
|
131
|
+
throw s;
|
|
132
132
|
},
|
|
133
133
|
f: r
|
|
134
134
|
};
|
|
@@ -136,23 +136,23 @@ function Me(e, t) {
|
|
|
136
136
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
137
137
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
138
138
|
}
|
|
139
|
-
var i, o = !0,
|
|
139
|
+
var i, o = !0, l = !1;
|
|
140
140
|
return {
|
|
141
141
|
s: function() {
|
|
142
142
|
n = n.call(e);
|
|
143
143
|
},
|
|
144
144
|
n: function() {
|
|
145
|
-
var
|
|
146
|
-
return o =
|
|
145
|
+
var s = n.next();
|
|
146
|
+
return o = s.done, s;
|
|
147
147
|
},
|
|
148
|
-
e: function(
|
|
149
|
-
|
|
148
|
+
e: function(s) {
|
|
149
|
+
l = !0, i = s;
|
|
150
150
|
},
|
|
151
151
|
f: function() {
|
|
152
152
|
try {
|
|
153
153
|
o || n.return == null || n.return();
|
|
154
154
|
} finally {
|
|
155
|
-
if (
|
|
155
|
+
if (l) throw i;
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
};
|
|
@@ -171,22 +171,22 @@ function Ba(e) {
|
|
|
171
171
|
function za(e, t) {
|
|
172
172
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
173
173
|
if (n != null) {
|
|
174
|
-
var a, r, i, o,
|
|
174
|
+
var a, r, i, o, l = [], s = !0, c = !1;
|
|
175
175
|
try {
|
|
176
176
|
if (i = (n = n.call(e)).next, t === 0) {
|
|
177
177
|
if (Object(n) !== n) return;
|
|
178
|
-
|
|
179
|
-
} else for (; !(
|
|
180
|
-
} catch (
|
|
181
|
-
|
|
178
|
+
s = !1;
|
|
179
|
+
} else for (; !(s = (a = i.call(n)).done) && (l.push(a.value), l.length !== t); s = !0) ;
|
|
180
|
+
} catch (f) {
|
|
181
|
+
c = !0, r = f;
|
|
182
182
|
} finally {
|
|
183
183
|
try {
|
|
184
|
-
if (!
|
|
184
|
+
if (!s && n.return != null && (o = n.return(), Object(o) !== o)) return;
|
|
185
185
|
} finally {
|
|
186
|
-
if (
|
|
186
|
+
if (c) throw r;
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
-
return
|
|
189
|
+
return l;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
function Da() {
|
|
@@ -197,7 +197,7 @@ function Ra() {
|
|
|
197
197
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
198
198
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function Ot(e, t) {
|
|
201
201
|
var n = Object.keys(e);
|
|
202
202
|
if (Object.getOwnPropertySymbols) {
|
|
203
203
|
var a = Object.getOwnPropertySymbols(e);
|
|
@@ -207,21 +207,21 @@ function Tt(e, t) {
|
|
|
207
207
|
}
|
|
208
208
|
return n;
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function u(e) {
|
|
211
211
|
for (var t = 1; t < arguments.length; t++) {
|
|
212
212
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
213
|
-
t % 2 ?
|
|
213
|
+
t % 2 ? Ot(Object(n), !0).forEach(function(a) {
|
|
214
214
|
y(e, a, n[a]);
|
|
215
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
215
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ot(Object(n)).forEach(function(a) {
|
|
216
216
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
|
|
217
217
|
});
|
|
218
218
|
}
|
|
219
219
|
return e;
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function $e(e, t) {
|
|
222
222
|
return Ea(e) || za(e, t) || ht(e, t) || Da();
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function D(e) {
|
|
225
225
|
return Na(e) || Ba(e) || ht(e) || Ra();
|
|
226
226
|
}
|
|
227
227
|
function Wa(e, t) {
|
|
@@ -238,13 +238,13 @@ function hn(e) {
|
|
|
238
238
|
var t = Wa(e, "string");
|
|
239
239
|
return typeof t == "symbol" ? t : t + "";
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function Oe(e) {
|
|
242
242
|
"@babel/helpers - typeof";
|
|
243
|
-
return
|
|
243
|
+
return Oe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
244
244
|
return typeof t;
|
|
245
245
|
} : function(t) {
|
|
246
246
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
247
|
-
},
|
|
247
|
+
}, Oe(e);
|
|
248
248
|
}
|
|
249
249
|
function ht(e, t) {
|
|
250
250
|
if (e) {
|
|
@@ -376,8 +376,8 @@ var G = !!k.documentElement && !!k.head && typeof k.addEventListener == "functio
|
|
|
376
376
|
GROUP: "duotone-group",
|
|
377
377
|
PRIMARY: "primary",
|
|
378
378
|
SECONDARY: "secondary"
|
|
379
|
-
}, xn = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-graphite", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], F = "classic", Ie = "duotone", wn = "sharp", Sn = "sharp-duotone", An = "chisel", kn = "etch", Mn = "graphite",
|
|
380
|
-
Ue = {}, y(y(y(y(y(y(y(y(y(y(Ue, F, Xa), Ie, Ka), wn, Va), Sn, qa), An, Ja), kn, Qa), Mn, Za),
|
|
379
|
+
}, xn = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-graphite", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], F = "classic", Ie = "duotone", wn = "sharp", Sn = "sharp-duotone", An = "chisel", kn = "etch", Mn = "graphite", Tn = "jelly", Pn = "jelly-duo", On = "jelly-fill", Fn = "notdog", _n = "notdog-duo", Cn = "slab", En = "slab-press", Nn = "thumbprint", jn = "utility", $n = "utility-duo", Ln = "utility-fill", Bn = "whiteboard", Xa = "Classic", Ka = "Duotone", Va = "Sharp", qa = "Sharp Duotone", Ja = "Chisel", Qa = "Etch", Za = "Graphite", er = "Jelly", tr = "Jelly Duo", nr = "Jelly Fill", ar = "Notdog", rr = "Notdog Duo", ir = "Slab", or = "Slab Press", sr = "Thumbprint", lr = "Utility", fr = "Utility Duo", ur = "Utility Fill", cr = "Whiteboard", zn = [F, Ie, wn, Sn, An, kn, Mn, Tn, Pn, On, Fn, _n, Cn, En, Nn, jn, $n, Ln, Bn];
|
|
380
|
+
Ue = {}, y(y(y(y(y(y(y(y(y(y(Ue, F, Xa), Ie, Ka), wn, Va), Sn, qa), An, Ja), kn, Qa), Mn, Za), Tn, er), Pn, tr), On, nr), y(y(y(y(y(y(y(y(y(Ue, Fn, ar), _n, rr), Cn, ir), En, or), Nn, sr), jn, lr), $n, fr), Ln, ur), Bn, cr);
|
|
381
381
|
var dr = {
|
|
382
382
|
classic: {
|
|
383
383
|
900: "fas",
|
|
@@ -771,8 +771,8 @@ var xr = {
|
|
|
771
771
|
SWAP_OPACITY: "swap-opacity",
|
|
772
772
|
PRIMARY: "primary",
|
|
773
773
|
SECONDARY: "secondary"
|
|
774
|
-
}, Ar = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-graphite", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], kr = "classic", Mr = "duotone",
|
|
775
|
-
Ye = {}, y(y(y(y(y(y(y(y(y(y(Ye, kr, Yr), Mr, Hr),
|
|
774
|
+
}, Ar = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-graphite", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], kr = "classic", Mr = "duotone", Tr = "sharp", Pr = "sharp-duotone", Or = "chisel", Fr = "etch", _r = "graphite", Cr = "jelly", Er = "jelly-duo", Nr = "jelly-fill", jr = "notdog", $r = "notdog-duo", Lr = "slab", Br = "slab-press", zr = "thumbprint", Dr = "utility", Rr = "utility-duo", Wr = "utility-fill", Ur = "whiteboard", Yr = "Classic", Hr = "Duotone", Gr = "Sharp", Xr = "Sharp Duotone", Kr = "Chisel", Vr = "Etch", qr = "Graphite", Jr = "Jelly", Qr = "Jelly Duo", Zr = "Jelly Fill", ei = "Notdog", ti = "Notdog Duo", ni = "Slab", ai = "Slab Press", ri = "Thumbprint", ii = "Utility", oi = "Utility Duo", si = "Utility Fill", li = "Whiteboard";
|
|
775
|
+
Ye = {}, y(y(y(y(y(y(y(y(y(y(Ye, kr, Yr), Mr, Hr), Tr, Gr), Pr, Xr), Or, Kr), Fr, Vr), _r, qr), Cr, Jr), Er, Qr), Nr, Zr), y(y(y(y(y(y(y(y(y(Ye, jr, ei), $r, ti), Lr, ni), Br, ai), zr, ri), Dr, ii), Rr, oi), Wr, si), Ur, li);
|
|
776
776
|
var fi = "kit", ui = "kit-duotone", ci = "Kit", di = "Kit Duotone";
|
|
777
777
|
y(y({}, fi, ci), ui, di);
|
|
778
778
|
var mi = {
|
|
@@ -937,7 +937,7 @@ var mi = {
|
|
|
937
937
|
"utility-fill": {
|
|
938
938
|
faufsb: "fa-semibold"
|
|
939
939
|
}
|
|
940
|
-
}, hi = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], Rn = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", "faslr", "faslpr", "fawsb", "fatl", "fans", "fands", "faes", "fagt", "fajr", "fajfr", "fajdr", "facr", "fausb", "faudsb", "faufsb"].concat(Ar, hi), vi = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], Wn = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], gi = Wn.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), yi = ["aw", "fw", "pull-left", "pull-right"], bi = [].concat(
|
|
940
|
+
}, hi = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], Rn = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", "faslr", "faslpr", "fawsb", "fatl", "fans", "fands", "faes", "fagt", "fajr", "fajfr", "fajdr", "facr", "fausb", "faudsb", "faufsb"].concat(Ar, hi), vi = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], Wn = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], gi = Wn.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), yi = ["aw", "fw", "pull-left", "pull-right"], bi = [].concat(D(Object.keys(pi)), vi, yi, ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "inverse", "layers", "layers-bottom-left", "layers-bottom-right", "layers-counter", "layers-text", "layers-top-left", "layers-top-right", "li", "pull-end", "pull-start", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", "width-auto", "width-fixed", ke.GROUP, ke.SWAP_OPACITY, ke.PRIMARY, ke.SECONDARY]).concat(Wn.map(function(e) {
|
|
941
941
|
return "".concat(e, "x");
|
|
942
942
|
})).concat(gi.map(function(e) {
|
|
943
943
|
return "w-".concat(e);
|
|
@@ -959,7 +959,7 @@ var mi = {
|
|
|
959
959
|
"Font Awesome 5 Duotone": {
|
|
960
960
|
900: "fad"
|
|
961
961
|
}
|
|
962
|
-
}, Y = "___FONT_AWESOME___", Ze = 16, Un = "fa", Yn = "svg-inline--fa", Z = "data-fa-i2svg", et = "data-fa-pseudo-element", xi = "data-fa-pseudo-element-pending", gt = "data-prefix", yt = "data-icon",
|
|
962
|
+
}, Y = "___FONT_AWESOME___", Ze = 16, Un = "fa", Yn = "svg-inline--fa", Z = "data-fa-i2svg", et = "data-fa-pseudo-element", xi = "data-fa-pseudo-element-pending", gt = "data-prefix", yt = "data-icon", $t = "fontawesome-i2svg", wi = "async", Si = ["HTML", "HEAD", "STYLE", "SCRIPT"], Hn = ["::before", "::after", ":before", ":after"], Gn = function() {
|
|
963
963
|
try {
|
|
964
964
|
return process.env.NODE_ENV === "production";
|
|
965
965
|
} catch {
|
|
@@ -973,22 +973,22 @@ function xe(e) {
|
|
|
973
973
|
}
|
|
974
974
|
});
|
|
975
975
|
}
|
|
976
|
-
var Xn =
|
|
977
|
-
Xn[F] =
|
|
976
|
+
var Xn = u({}, In);
|
|
977
|
+
Xn[F] = u(u(u(u({}, {
|
|
978
978
|
"fa-duotone": "duotone"
|
|
979
979
|
}), In[F]), Nt.kit), Nt["kit-duotone"]);
|
|
980
|
-
var Ai = xe(Xn), tt =
|
|
981
|
-
tt[F] =
|
|
980
|
+
var Ai = xe(Xn), tt = u({}, hr);
|
|
981
|
+
tt[F] = u(u(u(u({}, {
|
|
982
982
|
duotone: "fad"
|
|
983
983
|
}), tt[F]), jt.kit), jt["kit-duotone"]);
|
|
984
|
-
var
|
|
985
|
-
nt[F] =
|
|
986
|
-
var bt = xe(nt), at =
|
|
987
|
-
at[F] =
|
|
984
|
+
var Lt = xe(tt), nt = u({}, Qe);
|
|
985
|
+
nt[F] = u(u({}, nt[F]), Sr.kit);
|
|
986
|
+
var bt = xe(nt), at = u({}, mi);
|
|
987
|
+
at[F] = u(u({}, at[F]), xr.kit);
|
|
988
988
|
xe(at);
|
|
989
|
-
var ki = Ya, Kn = "fa-layers-text", Mi = Ha,
|
|
990
|
-
xe(
|
|
991
|
-
var
|
|
989
|
+
var ki = Ya, Kn = "fa-layers-text", Mi = Ha, Ti = u({}, dr);
|
|
990
|
+
xe(Ti);
|
|
991
|
+
var Pi = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], He = Ga, Oi = [].concat(D(vr), D(bi)), de = X.FontAwesomeConfig || {};
|
|
992
992
|
function Fi(e) {
|
|
993
993
|
var t = k.querySelector("script[" + e + "]");
|
|
994
994
|
if (t)
|
|
@@ -1000,7 +1000,7 @@ function _i(e) {
|
|
|
1000
1000
|
if (k && typeof k.querySelector == "function") {
|
|
1001
1001
|
var Ci = [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-search-pseudo-elements-warnings", "searchPseudoElementsWarnings"], ["data-search-pseudo-elements-full-scan", "searchPseudoElementsFullScan"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]];
|
|
1002
1002
|
Ci.forEach(function(e) {
|
|
1003
|
-
var t =
|
|
1003
|
+
var t = $e(e, 2), n = t[0], a = t[1], r = _i(Fi(n));
|
|
1004
1004
|
r != null && (de[a] = r);
|
|
1005
1005
|
});
|
|
1006
1006
|
}
|
|
@@ -1021,7 +1021,7 @@ var Vn = {
|
|
|
1021
1021
|
showMissingIcons: !0
|
|
1022
1022
|
};
|
|
1023
1023
|
de.familyPrefix && (de.cssPrefix = de.familyPrefix);
|
|
1024
|
-
var oe =
|
|
1024
|
+
var oe = u(u({}, Vn), de);
|
|
1025
1025
|
oe.autoReplaceSvg || (oe.observeMutations = !1);
|
|
1026
1026
|
var h = {};
|
|
1027
1027
|
Object.keys(Vn).forEach(function(e) {
|
|
@@ -1055,7 +1055,7 @@ function Ei(e) {
|
|
|
1055
1055
|
me.splice(me.indexOf(e), 1);
|
|
1056
1056
|
};
|
|
1057
1057
|
}
|
|
1058
|
-
var te = Ze,
|
|
1058
|
+
var te = Ze, W = {
|
|
1059
1059
|
size: 16,
|
|
1060
1060
|
x: 0,
|
|
1061
1061
|
y: 0,
|
|
@@ -1093,31 +1093,31 @@ function It(e) {
|
|
|
1093
1093
|
function qn(e) {
|
|
1094
1094
|
return "".concat(e).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
1095
1095
|
}
|
|
1096
|
-
function
|
|
1096
|
+
function $i(e) {
|
|
1097
1097
|
return Object.keys(e || {}).reduce(function(t, n) {
|
|
1098
1098
|
return t + "".concat(n, '="').concat(qn(e[n]), '" ');
|
|
1099
1099
|
}, "").trim();
|
|
1100
1100
|
}
|
|
1101
|
-
function
|
|
1101
|
+
function Le(e) {
|
|
1102
1102
|
return Object.keys(e || {}).reduce(function(t, n) {
|
|
1103
1103
|
return t + "".concat(n, ": ").concat(e[n].trim(), ";");
|
|
1104
1104
|
}, "");
|
|
1105
1105
|
}
|
|
1106
1106
|
function xt(e) {
|
|
1107
|
-
return e.size !==
|
|
1107
|
+
return e.size !== W.size || e.x !== W.x || e.y !== W.y || e.rotate !== W.rotate || e.flipX || e.flipY;
|
|
1108
1108
|
}
|
|
1109
|
-
function
|
|
1109
|
+
function Li(e) {
|
|
1110
1110
|
var t = e.transform, n = e.containerWidth, a = e.iconWidth, r = {
|
|
1111
1111
|
transform: "translate(".concat(n / 2, " 256)")
|
|
1112
|
-
}, i = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "), o = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "),
|
|
1113
|
-
transform: "".concat(i, " ").concat(o, " ").concat(
|
|
1114
|
-
},
|
|
1112
|
+
}, i = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "), o = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "), l = "rotate(".concat(t.rotate, " 0 0)"), s = {
|
|
1113
|
+
transform: "".concat(i, " ").concat(o, " ").concat(l)
|
|
1114
|
+
}, c = {
|
|
1115
1115
|
transform: "translate(".concat(a / 2 * -1, " -256)")
|
|
1116
1116
|
};
|
|
1117
1117
|
return {
|
|
1118
1118
|
outer: r,
|
|
1119
|
-
inner:
|
|
1120
|
-
path:
|
|
1119
|
+
inner: s,
|
|
1120
|
+
path: c
|
|
1121
1121
|
};
|
|
1122
1122
|
}
|
|
1123
1123
|
function Bi(e) {
|
|
@@ -1679,8 +1679,8 @@ var zi = `:root, :host {
|
|
|
1679
1679
|
function Jn() {
|
|
1680
1680
|
var e = Un, t = Yn, n = h.cssPrefix, a = h.replacementClass, r = zi;
|
|
1681
1681
|
if (n !== e || a !== t) {
|
|
1682
|
-
var i = new RegExp("\\.".concat(e, "\\-"), "g"), o = new RegExp("\\--".concat(e, "\\-"), "g"),
|
|
1683
|
-
r = r.replace(i, ".".concat(n, "-")).replace(o, "--".concat(n, "-")).replace(
|
|
1682
|
+
var i = new RegExp("\\.".concat(e, "\\-"), "g"), o = new RegExp("\\--".concat(e, "\\-"), "g"), l = new RegExp("\\.".concat(t), "g");
|
|
1683
|
+
r = r.replace(i, ".".concat(n, "-")).replace(o, "--".concat(n, "-")).replace(l, ".".concat(a));
|
|
1684
1684
|
}
|
|
1685
1685
|
return r;
|
|
1686
1686
|
}
|
|
@@ -1712,7 +1712,7 @@ H[Y] || (H[Y] = {});
|
|
|
1712
1712
|
H[Y].styles || (H[Y].styles = {});
|
|
1713
1713
|
H[Y].hooks || (H[Y].hooks = {});
|
|
1714
1714
|
H[Y].shims || (H[Y].shims = []);
|
|
1715
|
-
var
|
|
1715
|
+
var z = H[Y], Qn = [], Zn = function() {
|
|
1716
1716
|
k.removeEventListener("DOMContentLoaded", Zn), Fe = 1, Qn.map(function(t) {
|
|
1717
1717
|
return t();
|
|
1718
1718
|
});
|
|
@@ -1723,7 +1723,7 @@ function Ri(e) {
|
|
|
1723
1723
|
}
|
|
1724
1724
|
function we(e) {
|
|
1725
1725
|
var t = e.tag, n = e.attributes, a = n === void 0 ? {} : n, r = e.children, i = r === void 0 ? [] : r;
|
|
1726
|
-
return typeof e == "string" ? qn(e) : "<".concat(t, " ").concat(
|
|
1726
|
+
return typeof e == "string" ? qn(e) : "<".concat(t, " ").concat($i(a), ">").concat(i.map(we).join(""), "</").concat(t, ">");
|
|
1727
1727
|
}
|
|
1728
1728
|
function Dt(e, t, n) {
|
|
1729
1729
|
if (e && e[t] && e[t][n])
|
|
@@ -1734,13 +1734,13 @@ function Dt(e, t, n) {
|
|
|
1734
1734
|
};
|
|
1735
1735
|
}
|
|
1736
1736
|
var Xe = function(t, n, a, r) {
|
|
1737
|
-
var i = Object.keys(t), o = i.length,
|
|
1738
|
-
for (a === void 0 ? (
|
|
1739
|
-
|
|
1740
|
-
return
|
|
1737
|
+
var i = Object.keys(t), o = i.length, l = n, s, c, f;
|
|
1738
|
+
for (a === void 0 ? (s = 1, f = t[i[0]]) : (s = 0, f = a); s < o; s++)
|
|
1739
|
+
c = i[s], f = l(f, t[c], c, t);
|
|
1740
|
+
return f;
|
|
1741
1741
|
};
|
|
1742
1742
|
function ea(e) {
|
|
1743
|
-
return
|
|
1743
|
+
return D(e).length !== 1 ? null : e.codePointAt(0).toString(16);
|
|
1744
1744
|
}
|
|
1745
1745
|
function Rt(e) {
|
|
1746
1746
|
return Object.keys(e).reduce(function(t, n) {
|
|
@@ -1750,13 +1750,13 @@ function Rt(e) {
|
|
|
1750
1750
|
}
|
|
1751
1751
|
function rt(e, t) {
|
|
1752
1752
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = n.skipHooks, r = a === void 0 ? !1 : a, i = Rt(t);
|
|
1753
|
-
typeof
|
|
1753
|
+
typeof z.hooks.addPack == "function" && !r ? z.hooks.addPack(e, Rt(t)) : z.styles[e] = u(u({}, z.styles[e] || {}), i), e === "fas" && rt("fa", t);
|
|
1754
1754
|
}
|
|
1755
|
-
var he =
|
|
1755
|
+
var he = z.styles, Wi = z.shims, ta = Object.keys(bt), Ui = ta.reduce(function(e, t) {
|
|
1756
1756
|
return e[t] = Object.keys(bt[t]), e;
|
|
1757
1757
|
}, {}), wt = null, na = {}, aa = {}, ra = {}, ia = {}, oa = {};
|
|
1758
1758
|
function Yi(e) {
|
|
1759
|
-
return ~
|
|
1759
|
+
return ~Oi.indexOf(e);
|
|
1760
1760
|
}
|
|
1761
1761
|
function Hi(e, t) {
|
|
1762
1762
|
var n = t.split("-"), a = n[0], r = n.slice(1).join("-");
|
|
@@ -1764,44 +1764,44 @@ function Hi(e, t) {
|
|
|
1764
1764
|
}
|
|
1765
1765
|
var sa = function() {
|
|
1766
1766
|
var t = function(i) {
|
|
1767
|
-
return Xe(he, function(o,
|
|
1768
|
-
return o[
|
|
1767
|
+
return Xe(he, function(o, l, s) {
|
|
1768
|
+
return o[s] = Xe(l, i, {}), o;
|
|
1769
1769
|
}, {});
|
|
1770
1770
|
};
|
|
1771
1771
|
na = t(function(r, i, o) {
|
|
1772
1772
|
if (i[3] && (r[i[3]] = o), i[2]) {
|
|
1773
|
-
var
|
|
1774
|
-
return typeof
|
|
1773
|
+
var l = i[2].filter(function(s) {
|
|
1774
|
+
return typeof s == "number";
|
|
1775
1775
|
});
|
|
1776
|
-
|
|
1777
|
-
r[
|
|
1776
|
+
l.forEach(function(s) {
|
|
1777
|
+
r[s.toString(16)] = o;
|
|
1778
1778
|
});
|
|
1779
1779
|
}
|
|
1780
1780
|
return r;
|
|
1781
1781
|
}), aa = t(function(r, i, o) {
|
|
1782
1782
|
if (r[o] = o, i[2]) {
|
|
1783
|
-
var
|
|
1784
|
-
return typeof
|
|
1783
|
+
var l = i[2].filter(function(s) {
|
|
1784
|
+
return typeof s == "string";
|
|
1785
1785
|
});
|
|
1786
|
-
|
|
1787
|
-
r[
|
|
1786
|
+
l.forEach(function(s) {
|
|
1787
|
+
r[s] = o;
|
|
1788
1788
|
});
|
|
1789
1789
|
}
|
|
1790
1790
|
return r;
|
|
1791
1791
|
}), oa = t(function(r, i, o) {
|
|
1792
|
-
var
|
|
1793
|
-
return r[o] = o,
|
|
1794
|
-
r[
|
|
1792
|
+
var l = i[2];
|
|
1793
|
+
return r[o] = o, l.forEach(function(s) {
|
|
1794
|
+
r[s] = o;
|
|
1795
1795
|
}), r;
|
|
1796
1796
|
});
|
|
1797
1797
|
var n = "far" in he || h.autoFetchSvg, a = Xe(Wi, function(r, i) {
|
|
1798
|
-
var o = i[0],
|
|
1799
|
-
return
|
|
1800
|
-
prefix:
|
|
1801
|
-
iconName:
|
|
1798
|
+
var o = i[0], l = i[1], s = i[2];
|
|
1799
|
+
return l === "far" && !n && (l = "fas"), typeof o == "string" && (r.names[o] = {
|
|
1800
|
+
prefix: l,
|
|
1801
|
+
iconName: s
|
|
1802
1802
|
}), typeof o == "number" && (r.unicodes[o.toString(16)] = {
|
|
1803
|
-
prefix:
|
|
1804
|
-
iconName:
|
|
1803
|
+
prefix: l,
|
|
1804
|
+
iconName: s
|
|
1805
1805
|
}), r;
|
|
1806
1806
|
}, {
|
|
1807
1807
|
names: {},
|
|
@@ -1866,8 +1866,8 @@ function Be(e) {
|
|
|
1866
1866
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.family, a = n === void 0 ? F : n, r = Ai[a][e];
|
|
1867
1867
|
if (a === Ie && !e)
|
|
1868
1868
|
return "fad";
|
|
1869
|
-
var i =
|
|
1870
|
-
return
|
|
1869
|
+
var i = Lt[a][e] || Lt[a][r], o = e in z.styles ? e : null, l = i || o || null;
|
|
1870
|
+
return l;
|
|
1871
1871
|
}
|
|
1872
1872
|
function Vi(e) {
|
|
1873
1873
|
var t = [], n = null;
|
|
@@ -1890,14 +1890,14 @@ function ze(e) {
|
|
|
1890
1890
|
return Ut.includes(g);
|
|
1891
1891
|
})), o = Wt(e.filter(function(g) {
|
|
1892
1892
|
return !Ut.includes(g);
|
|
1893
|
-
})),
|
|
1893
|
+
})), l = i.filter(function(g) {
|
|
1894
1894
|
return r = g, !xn.includes(g);
|
|
1895
|
-
}),
|
|
1896
|
-
prefix: Be(
|
|
1895
|
+
}), s = $e(l, 1), c = s[0], f = c === void 0 ? null : c, d = Ki(i), p = u(u({}, Vi(o)), {}, {
|
|
1896
|
+
prefix: Be(f, {
|
|
1897
1897
|
family: d
|
|
1898
1898
|
})
|
|
1899
1899
|
});
|
|
1900
|
-
return
|
|
1900
|
+
return u(u(u({}, p), Zi({
|
|
1901
1901
|
values: e,
|
|
1902
1902
|
family: d,
|
|
1903
1903
|
styles: he,
|
|
@@ -1927,12 +1927,12 @@ var Ji = zn.filter(function(e) {
|
|
|
1927
1927
|
return Object.keys(Qe[e]);
|
|
1928
1928
|
}).flat();
|
|
1929
1929
|
function Zi(e) {
|
|
1930
|
-
var t = e.values, n = e.family, a = e.canonical, r = e.givenPrefix, i = r === void 0 ? "" : r, o = e.styles,
|
|
1931
|
-
if (!
|
|
1932
|
-
var b = Object.keys(
|
|
1933
|
-
return Qi.includes(
|
|
1930
|
+
var t = e.values, n = e.family, a = e.canonical, r = e.givenPrefix, i = r === void 0 ? "" : r, o = e.styles, l = o === void 0 ? {} : o, s = e.config, c = s === void 0 ? {} : s, f = n === Ie, d = t.includes("fa-duotone") || t.includes("fad"), p = c.familyDefault === "duotone", g = a.prefix === "fad" || a.prefix === "fa-duotone";
|
|
1931
|
+
if (!f && (d || p || g) && (a.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (a.prefix = "fab"), !a.prefix && Ji.includes(n)) {
|
|
1932
|
+
var b = Object.keys(l).find(function(P) {
|
|
1933
|
+
return Qi.includes(P);
|
|
1934
1934
|
});
|
|
1935
|
-
if (b ||
|
|
1935
|
+
if (b || c.autoFetchSvg) {
|
|
1936
1936
|
var I = pr.get(n).defaultShortPrefixId;
|
|
1937
1937
|
a.prefix = I, a.iconName = q(a.prefix, a.iconName) || a.iconName;
|
|
1938
1938
|
}
|
|
@@ -1943,16 +1943,16 @@ var eo = /* @__PURE__ */ function() {
|
|
|
1943
1943
|
function e() {
|
|
1944
1944
|
ja(this, e), this.definitions = {};
|
|
1945
1945
|
}
|
|
1946
|
-
return
|
|
1946
|
+
return La(e, [{
|
|
1947
1947
|
key: "add",
|
|
1948
1948
|
value: function() {
|
|
1949
1949
|
for (var n = this, a = arguments.length, r = new Array(a), i = 0; i < a; i++)
|
|
1950
1950
|
r[i] = arguments[i];
|
|
1951
1951
|
var o = r.reduce(this._pullDefinitions, {});
|
|
1952
|
-
Object.keys(o).forEach(function(
|
|
1953
|
-
n.definitions[
|
|
1954
|
-
var
|
|
1955
|
-
|
|
1952
|
+
Object.keys(o).forEach(function(l) {
|
|
1953
|
+
n.definitions[l] = u(u({}, n.definitions[l] || {}), o[l]), rt(l, o[l]);
|
|
1954
|
+
var s = bt[F][l];
|
|
1955
|
+
s && rt(s, o[l]), sa();
|
|
1956
1956
|
});
|
|
1957
1957
|
}
|
|
1958
1958
|
}, {
|
|
@@ -1967,10 +1967,10 @@ var eo = /* @__PURE__ */ function() {
|
|
|
1967
1967
|
0: a
|
|
1968
1968
|
} : a;
|
|
1969
1969
|
return Object.keys(r).map(function(i) {
|
|
1970
|
-
var o = r[i],
|
|
1971
|
-
n[
|
|
1972
|
-
typeof d == "string" && (n[
|
|
1973
|
-
}), n[
|
|
1970
|
+
var o = r[i], l = o.prefix, s = o.iconName, c = o.icon, f = c[2];
|
|
1971
|
+
n[l] || (n[l] = {}), f.length > 0 && f.forEach(function(d) {
|
|
1972
|
+
typeof d == "string" && (n[l][d] = c);
|
|
1973
|
+
}), n[l][s] = c;
|
|
1974
1974
|
}), n;
|
|
1975
1975
|
}
|
|
1976
1976
|
}]);
|
|
@@ -1982,8 +1982,8 @@ function no(e, t) {
|
|
|
1982
1982
|
}), Yt.forEach(function(a) {
|
|
1983
1983
|
var r = a.mixout ? a.mixout() : {};
|
|
1984
1984
|
if (Object.keys(r).forEach(function(o) {
|
|
1985
|
-
typeof r[o] == "function" && (n[o] = r[o]),
|
|
1986
|
-
n[o] || (n[o] = {}), n[o][
|
|
1985
|
+
typeof r[o] == "function" && (n[o] = r[o]), Oe(r[o]) === "object" && Object.keys(r[o]).forEach(function(l) {
|
|
1986
|
+
n[o] || (n[o] = {}), n[o][l] = r[o][l];
|
|
1987
1987
|
});
|
|
1988
1988
|
}), a.hooks) {
|
|
1989
1989
|
var i = a.hooks();
|
|
@@ -2018,7 +2018,7 @@ function ot(e) {
|
|
|
2018
2018
|
e.prefix === "fa" && (e.prefix = "fas");
|
|
2019
2019
|
var t = e.iconName, n = e.prefix || K();
|
|
2020
2020
|
if (t)
|
|
2021
|
-
return t = q(n, t) || t, Dt(ua.definitions, n, t) || Dt(
|
|
2021
|
+
return t = q(n, t) || t, Dt(ua.definitions, n, t) || Dt(z.styles, n, t);
|
|
2022
2022
|
}
|
|
2023
2023
|
var ua = new eo(), ao = function() {
|
|
2024
2024
|
h.autoReplaceSvg = !1, h.observeMutations = !1, ee("noAuto");
|
|
@@ -2039,7 +2039,7 @@ var ua = new eo(), ao = function() {
|
|
|
2039
2039
|
icon: function(t) {
|
|
2040
2040
|
if (t === null)
|
|
2041
2041
|
return null;
|
|
2042
|
-
if (
|
|
2042
|
+
if (Oe(t) === "object" && t.prefix && t.iconName)
|
|
2043
2043
|
return {
|
|
2044
2044
|
prefix: t.prefix,
|
|
2045
2045
|
iconName: q(t.prefix, t.iconName) || t.iconName
|
|
@@ -2078,7 +2078,7 @@ var ua = new eo(), ao = function() {
|
|
|
2078
2078
|
toHtml: we
|
|
2079
2079
|
}, oo = function() {
|
|
2080
2080
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot, a = n === void 0 ? k : n;
|
|
2081
|
-
(Object.keys(
|
|
2081
|
+
(Object.keys(z.styles).length > 0 || h.autoFetchSvg) && G && h.autoReplaceSvg && j.dom.i2svg({
|
|
2082
2082
|
node: a
|
|
2083
2083
|
});
|
|
2084
2084
|
};
|
|
@@ -2103,12 +2103,12 @@ function De(e, t) {
|
|
|
2103
2103
|
function so(e) {
|
|
2104
2104
|
var t = e.children, n = e.main, a = e.mask, r = e.attributes, i = e.styles, o = e.transform;
|
|
2105
2105
|
if (xt(o) && n.found && !a.found) {
|
|
2106
|
-
var
|
|
2107
|
-
x:
|
|
2106
|
+
var l = n.width, s = n.height, c = {
|
|
2107
|
+
x: l / s / 2,
|
|
2108
2108
|
y: 0.5
|
|
2109
2109
|
};
|
|
2110
|
-
r.style =
|
|
2111
|
-
"transform-origin": "".concat(
|
|
2110
|
+
r.style = Le(u(u({}, i), {}, {
|
|
2111
|
+
"transform-origin": "".concat(c.x + o.x / 16, "em ").concat(c.y + o.y / 16, "em")
|
|
2112
2112
|
}));
|
|
2113
2113
|
}
|
|
2114
2114
|
return [{
|
|
@@ -2126,7 +2126,7 @@ function lo(e) {
|
|
|
2126
2126
|
},
|
|
2127
2127
|
children: [{
|
|
2128
2128
|
tag: "symbol",
|
|
2129
|
-
attributes:
|
|
2129
|
+
attributes: u(u({}, r), {}, {
|
|
2130
2130
|
id: o
|
|
2131
2131
|
}),
|
|
2132
2132
|
children: a
|
|
@@ -2140,30 +2140,30 @@ function fo(e) {
|
|
|
2140
2140
|
});
|
|
2141
2141
|
}
|
|
2142
2142
|
function At(e) {
|
|
2143
|
-
var t = e.icons, n = t.main, a = t.mask, r = e.prefix, i = e.iconName, o = e.transform,
|
|
2144
|
-
return
|
|
2145
|
-
}).filter(function(
|
|
2146
|
-
return
|
|
2147
|
-
}).concat(
|
|
2143
|
+
var t = e.icons, n = t.main, a = t.mask, r = e.prefix, i = e.iconName, o = e.transform, l = e.symbol, s = e.maskId, c = e.extra, f = e.watchable, d = f === void 0 ? !1 : f, p = a.found ? a : n, g = p.width, b = p.height, I = [h.replacementClass, i ? "".concat(h.cssPrefix, "-").concat(i) : ""].filter(function(O) {
|
|
2144
|
+
return c.classes.indexOf(O) === -1;
|
|
2145
|
+
}).filter(function(O) {
|
|
2146
|
+
return O !== "" || !!O;
|
|
2147
|
+
}).concat(c.classes).join(" "), P = {
|
|
2148
2148
|
children: [],
|
|
2149
|
-
attributes:
|
|
2149
|
+
attributes: u(u({}, c.attributes), {}, {
|
|
2150
2150
|
"data-prefix": r,
|
|
2151
2151
|
"data-icon": i,
|
|
2152
2152
|
class: I,
|
|
2153
|
-
role:
|
|
2153
|
+
role: c.attributes.role || "img",
|
|
2154
2154
|
viewBox: "0 0 ".concat(g, " ").concat(b)
|
|
2155
2155
|
})
|
|
2156
2156
|
};
|
|
2157
|
-
!fo(
|
|
2158
|
-
var m =
|
|
2157
|
+
!fo(c.attributes) && !c.attributes["aria-hidden"] && (P.attributes["aria-hidden"] = "true"), d && (P.attributes[Z] = "");
|
|
2158
|
+
var m = u(u({}, P), {}, {
|
|
2159
2159
|
prefix: r,
|
|
2160
2160
|
iconName: i,
|
|
2161
2161
|
main: n,
|
|
2162
2162
|
mask: a,
|
|
2163
|
-
maskId:
|
|
2163
|
+
maskId: s,
|
|
2164
2164
|
transform: o,
|
|
2165
|
-
symbol:
|
|
2166
|
-
styles:
|
|
2165
|
+
symbol: l,
|
|
2166
|
+
styles: u({}, c.styles)
|
|
2167
2167
|
}), v = a.found && n.found ? V("generateAbstractMask", m) || {
|
|
2168
2168
|
children: [],
|
|
2169
2169
|
attributes: {}
|
|
@@ -2171,32 +2171,32 @@ function At(e) {
|
|
|
2171
2171
|
children: [],
|
|
2172
2172
|
attributes: {}
|
|
2173
2173
|
}, A = v.children, M = v.attributes;
|
|
2174
|
-
return m.children = A, m.attributes = M,
|
|
2174
|
+
return m.children = A, m.attributes = M, l ? lo(m) : so(m);
|
|
2175
2175
|
}
|
|
2176
2176
|
function Ht(e) {
|
|
2177
|
-
var t = e.content, n = e.width, a = e.height, r = e.transform, i = e.extra, o = e.watchable,
|
|
2177
|
+
var t = e.content, n = e.width, a = e.height, r = e.transform, i = e.extra, o = e.watchable, l = o === void 0 ? !1 : o, s = u(u({}, i.attributes), {}, {
|
|
2178
2178
|
class: i.classes.join(" ")
|
|
2179
2179
|
});
|
|
2180
|
-
|
|
2181
|
-
var
|
|
2182
|
-
xt(r) && (
|
|
2180
|
+
l && (s[Z] = "");
|
|
2181
|
+
var c = u({}, i.styles);
|
|
2182
|
+
xt(r) && (c.transform = Bi({
|
|
2183
2183
|
transform: r,
|
|
2184
2184
|
width: n,
|
|
2185
2185
|
height: a
|
|
2186
|
-
}),
|
|
2187
|
-
var
|
|
2188
|
-
|
|
2186
|
+
}), c["-webkit-transform"] = c.transform);
|
|
2187
|
+
var f = Le(c);
|
|
2188
|
+
f.length > 0 && (s.style = f);
|
|
2189
2189
|
var d = [];
|
|
2190
2190
|
return d.push({
|
|
2191
2191
|
tag: "span",
|
|
2192
|
-
attributes:
|
|
2192
|
+
attributes: s,
|
|
2193
2193
|
children: [t]
|
|
2194
2194
|
}), d;
|
|
2195
2195
|
}
|
|
2196
2196
|
function uo(e) {
|
|
2197
|
-
var t = e.content, n = e.extra, a =
|
|
2197
|
+
var t = e.content, n = e.extra, a = u(u({}, n.attributes), {}, {
|
|
2198
2198
|
class: n.classes.join(" ")
|
|
2199
|
-
}), r =
|
|
2199
|
+
}), r = Le(n.styles);
|
|
2200
2200
|
r.length > 0 && (a.style = r);
|
|
2201
2201
|
var i = [];
|
|
2202
2202
|
return i.push({
|
|
@@ -2205,9 +2205,9 @@ function uo(e) {
|
|
|
2205
2205
|
children: [t]
|
|
2206
2206
|
}), i;
|
|
2207
2207
|
}
|
|
2208
|
-
var Ke =
|
|
2208
|
+
var Ke = z.styles;
|
|
2209
2209
|
function st(e) {
|
|
2210
|
-
var t = e[0], n = e[1], a = e.slice(4), r =
|
|
2210
|
+
var t = e[0], n = e[1], a = e.slice(4), r = $e(a, 1), i = r[0], o = null;
|
|
2211
2211
|
return Array.isArray(i) ? o = {
|
|
2212
2212
|
tag: "g",
|
|
2213
2213
|
attributes: {
|
|
@@ -2260,7 +2260,7 @@ function lt(e, t) {
|
|
|
2260
2260
|
var o = Ke[t][e];
|
|
2261
2261
|
return a(st(o));
|
|
2262
2262
|
}
|
|
2263
|
-
mo(e, t), a(
|
|
2263
|
+
mo(e, t), a(u(u({}, co), {}, {
|
|
2264
2264
|
icon: h.showMissingIcons && e ? V("missingIconAbstract") || {} : {}
|
|
2265
2265
|
}));
|
|
2266
2266
|
});
|
|
@@ -2278,7 +2278,7 @@ var Gt = function() {
|
|
|
2278
2278
|
}, kt = {
|
|
2279
2279
|
begin: po,
|
|
2280
2280
|
end: ca
|
|
2281
|
-
},
|
|
2281
|
+
}, Te = function() {
|
|
2282
2282
|
};
|
|
2283
2283
|
function Xt(e) {
|
|
2284
2284
|
var t = e.getAttribute ? e.getAttribute(Z) : null;
|
|
@@ -2293,9 +2293,9 @@ function vo(e) {
|
|
|
2293
2293
|
}
|
|
2294
2294
|
function go() {
|
|
2295
2295
|
if (h.autoReplaceSvg === !0)
|
|
2296
|
-
return
|
|
2297
|
-
var e =
|
|
2298
|
-
return e ||
|
|
2296
|
+
return Pe.replace;
|
|
2297
|
+
var e = Pe[h.autoReplaceSvg];
|
|
2298
|
+
return e || Pe.replace;
|
|
2299
2299
|
}
|
|
2300
2300
|
function yo(e) {
|
|
2301
2301
|
return k.createElementNS("http://www.w3.org/2000/svg", e);
|
|
@@ -2322,7 +2322,7 @@ function Io(e) {
|
|
|
2322
2322
|
var t = " ".concat(e.outerHTML, " ");
|
|
2323
2323
|
return t = "".concat(t, "Font Awesome fontawesome.com "), t;
|
|
2324
2324
|
}
|
|
2325
|
-
var
|
|
2325
|
+
var Pe = {
|
|
2326
2326
|
replace: function(t) {
|
|
2327
2327
|
var n = t[0];
|
|
2328
2328
|
if (n.parentNode)
|
|
@@ -2337,19 +2337,19 @@ var Oe = {
|
|
|
2337
2337
|
nest: function(t) {
|
|
2338
2338
|
var n = t[0], a = t[1];
|
|
2339
2339
|
if (~It(n).indexOf(h.replacementClass))
|
|
2340
|
-
return
|
|
2340
|
+
return Pe.replace(t);
|
|
2341
2341
|
var r = new RegExp("".concat(h.cssPrefix, "-.*"));
|
|
2342
2342
|
if (delete a[0].attributes.id, a[0].attributes.class) {
|
|
2343
|
-
var i = a[0].attributes.class.split(" ").reduce(function(
|
|
2344
|
-
return
|
|
2343
|
+
var i = a[0].attributes.class.split(" ").reduce(function(l, s) {
|
|
2344
|
+
return s === h.replacementClass || s.match(r) ? l.toSvg.push(s) : l.toNode.push(s), l;
|
|
2345
2345
|
}, {
|
|
2346
2346
|
toNode: [],
|
|
2347
2347
|
toSvg: []
|
|
2348
2348
|
});
|
|
2349
2349
|
a[0].attributes.class = i.toSvg.join(" "), i.toNode.length === 0 ? n.removeAttribute("class") : n.setAttribute("class", i.toNode.join(" "));
|
|
2350
2350
|
}
|
|
2351
|
-
var o = a.map(function(
|
|
2352
|
-
return we(
|
|
2351
|
+
var o = a.map(function(l) {
|
|
2352
|
+
return we(l);
|
|
2353
2353
|
}).join(`
|
|
2354
2354
|
`);
|
|
2355
2355
|
n.setAttribute(Z, ""), n.innerHTML = o;
|
|
@@ -2359,7 +2359,7 @@ function Kt(e) {
|
|
|
2359
2359
|
e();
|
|
2360
2360
|
}
|
|
2361
2361
|
function ma(e, t) {
|
|
2362
|
-
var n = typeof t == "function" ? t :
|
|
2362
|
+
var n = typeof t == "function" ? t : Te;
|
|
2363
2363
|
if (e.length === 0)
|
|
2364
2364
|
n();
|
|
2365
2365
|
else {
|
|
@@ -2380,19 +2380,19 @@ function ut() {
|
|
|
2380
2380
|
var _e = null;
|
|
2381
2381
|
function Vt(e) {
|
|
2382
2382
|
if (Et && h.observeMutations) {
|
|
2383
|
-
var t = e.treeCallback, n = t === void 0 ?
|
|
2384
|
-
_e = new Et(function(
|
|
2383
|
+
var t = e.treeCallback, n = t === void 0 ? Te : t, a = e.nodeCallback, r = a === void 0 ? Te : a, i = e.pseudoElementsCallback, o = i === void 0 ? Te : i, l = e.observeMutationsRoot, s = l === void 0 ? k : l;
|
|
2384
|
+
_e = new Et(function(c) {
|
|
2385
2385
|
if (!Mt) {
|
|
2386
|
-
var
|
|
2387
|
-
se(
|
|
2388
|
-
if (d.type === "childList" && d.addedNodes.length > 0 && !Xt(d.addedNodes[0]) && (h.searchPseudoElements && o(d.target), n(d.target)), d.type === "attributes" && d.target.parentNode && h.searchPseudoElements && o([d.target], !0), d.type === "attributes" && Xt(d.target) && ~
|
|
2386
|
+
var f = K();
|
|
2387
|
+
se(c).forEach(function(d) {
|
|
2388
|
+
if (d.type === "childList" && d.addedNodes.length > 0 && !Xt(d.addedNodes[0]) && (h.searchPseudoElements && o(d.target), n(d.target)), d.type === "attributes" && d.target.parentNode && h.searchPseudoElements && o([d.target], !0), d.type === "attributes" && Xt(d.target) && ~Pi.indexOf(d.attributeName))
|
|
2389
2389
|
if (d.attributeName === "class" && ho(d.target)) {
|
|
2390
2390
|
var p = ze(It(d.target)), g = p.prefix, b = p.iconName;
|
|
2391
|
-
d.target.setAttribute(gt, g ||
|
|
2391
|
+
d.target.setAttribute(gt, g || f), b && d.target.setAttribute(yt, b);
|
|
2392
2392
|
} else vo(d.target) && r(d.target);
|
|
2393
2393
|
});
|
|
2394
2394
|
}
|
|
2395
|
-
}), G && _e.observe(
|
|
2395
|
+
}), G && _e.observe(s, {
|
|
2396
2396
|
childList: !0,
|
|
2397
2397
|
attributes: !0,
|
|
2398
2398
|
characterData: !0,
|
|
@@ -2406,8 +2406,8 @@ function xo() {
|
|
|
2406
2406
|
function wo(e) {
|
|
2407
2407
|
var t = e.getAttribute("style"), n = [];
|
|
2408
2408
|
return t && (n = t.split(";").reduce(function(a, r) {
|
|
2409
|
-
var i = r.split(":"), o = i[0],
|
|
2410
|
-
return o &&
|
|
2409
|
+
var i = r.split(":"), o = i[0], l = i.slice(1);
|
|
2410
|
+
return o && l.length > 0 && (a[o] = l.join(":").trim()), a;
|
|
2411
2411
|
}, {})), n;
|
|
2412
2412
|
}
|
|
2413
2413
|
function So(e) {
|
|
@@ -2424,7 +2424,7 @@ function ko() {
|
|
|
2424
2424
|
return {
|
|
2425
2425
|
iconName: null,
|
|
2426
2426
|
prefix: null,
|
|
2427
|
-
transform:
|
|
2427
|
+
transform: W,
|
|
2428
2428
|
symbol: !1,
|
|
2429
2429
|
mask: {
|
|
2430
2430
|
iconName: null,
|
|
@@ -2442,11 +2442,11 @@ function ko() {
|
|
|
2442
2442
|
function qt(e) {
|
|
2443
2443
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
2444
2444
|
styleParser: !0
|
|
2445
|
-
}, n = So(e), a = n.iconName, r = n.prefix, i = n.rest, o = Ao(e),
|
|
2446
|
-
return
|
|
2445
|
+
}, n = So(e), a = n.iconName, r = n.prefix, i = n.rest, o = Ao(e), l = it("parseNodeAttributes", {}, e), s = t.styleParser ? wo(e) : [];
|
|
2446
|
+
return u({
|
|
2447
2447
|
iconName: a,
|
|
2448
2448
|
prefix: r,
|
|
2449
|
-
transform:
|
|
2449
|
+
transform: W,
|
|
2450
2450
|
mask: {
|
|
2451
2451
|
iconName: null,
|
|
2452
2452
|
prefix: null,
|
|
@@ -2456,82 +2456,82 @@ function qt(e) {
|
|
|
2456
2456
|
symbol: !1,
|
|
2457
2457
|
extra: {
|
|
2458
2458
|
classes: i,
|
|
2459
|
-
styles:
|
|
2459
|
+
styles: s,
|
|
2460
2460
|
attributes: o
|
|
2461
2461
|
}
|
|
2462
|
-
},
|
|
2462
|
+
}, l);
|
|
2463
2463
|
}
|
|
2464
|
-
var Mo =
|
|
2464
|
+
var Mo = z.styles;
|
|
2465
2465
|
function ha(e) {
|
|
2466
2466
|
var t = h.autoReplaceSvg === "nest" ? qt(e, {
|
|
2467
2467
|
styleParser: !1
|
|
2468
2468
|
}) : qt(e);
|
|
2469
2469
|
return ~t.extra.classes.indexOf(Kn) ? V("generateLayersText", e, t) : V("generateSvgReplacementMutation", e, t);
|
|
2470
2470
|
}
|
|
2471
|
-
function
|
|
2472
|
-
return [].concat(
|
|
2471
|
+
function To() {
|
|
2472
|
+
return [].concat(D(Dn), D(Rn));
|
|
2473
2473
|
}
|
|
2474
2474
|
function Jt(e) {
|
|
2475
2475
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
2476
2476
|
if (!G) return Promise.resolve();
|
|
2477
2477
|
var n = k.documentElement.classList, a = function(d) {
|
|
2478
|
-
return n.add("".concat(
|
|
2478
|
+
return n.add("".concat($t, "-").concat(d));
|
|
2479
2479
|
}, r = function(d) {
|
|
2480
|
-
return n.remove("".concat(
|
|
2481
|
-
}, i = h.autoFetchSvg ?
|
|
2480
|
+
return n.remove("".concat($t, "-").concat(d));
|
|
2481
|
+
}, i = h.autoFetchSvg ? To() : xn.concat(Object.keys(Mo));
|
|
2482
2482
|
i.includes("fa") || i.push("fa");
|
|
2483
|
-
var o = [".".concat(Kn, ":not([").concat(Z, "])")].concat(i.map(function(
|
|
2484
|
-
return ".".concat(
|
|
2483
|
+
var o = [".".concat(Kn, ":not([").concat(Z, "])")].concat(i.map(function(f) {
|
|
2484
|
+
return ".".concat(f, ":not([").concat(Z, "])");
|
|
2485
2485
|
})).join(", ");
|
|
2486
2486
|
if (o.length === 0)
|
|
2487
2487
|
return Promise.resolve();
|
|
2488
|
-
var
|
|
2488
|
+
var l = [];
|
|
2489
2489
|
try {
|
|
2490
|
-
|
|
2490
|
+
l = se(e.querySelectorAll(o));
|
|
2491
2491
|
} catch {
|
|
2492
2492
|
}
|
|
2493
|
-
if (
|
|
2493
|
+
if (l.length > 0)
|
|
2494
2494
|
a("pending"), r("complete");
|
|
2495
2495
|
else
|
|
2496
2496
|
return Promise.resolve();
|
|
2497
|
-
var
|
|
2497
|
+
var s = kt.begin("onTree"), c = l.reduce(function(f, d) {
|
|
2498
2498
|
try {
|
|
2499
2499
|
var p = ha(d);
|
|
2500
|
-
p &&
|
|
2500
|
+
p && f.push(p);
|
|
2501
2501
|
} catch (g) {
|
|
2502
2502
|
Gn || g.name === "MissingIcon" && console.error(g);
|
|
2503
2503
|
}
|
|
2504
|
-
return
|
|
2504
|
+
return f;
|
|
2505
2505
|
}, []);
|
|
2506
|
-
return new Promise(function(
|
|
2507
|
-
Promise.all(
|
|
2506
|
+
return new Promise(function(f, d) {
|
|
2507
|
+
Promise.all(c).then(function(p) {
|
|
2508
2508
|
ma(p, function() {
|
|
2509
|
-
a("active"), a("complete"), r("pending"), typeof t == "function" && t(),
|
|
2509
|
+
a("active"), a("complete"), r("pending"), typeof t == "function" && t(), s(), f();
|
|
2510
2510
|
});
|
|
2511
2511
|
}).catch(function(p) {
|
|
2512
|
-
|
|
2512
|
+
s(), d(p);
|
|
2513
2513
|
});
|
|
2514
2514
|
});
|
|
2515
2515
|
}
|
|
2516
|
-
function
|
|
2516
|
+
function Po(e) {
|
|
2517
2517
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
2518
2518
|
ha(e).then(function(n) {
|
|
2519
2519
|
n && ma([n], t);
|
|
2520
2520
|
});
|
|
2521
2521
|
}
|
|
2522
|
-
function
|
|
2522
|
+
function Oo(e) {
|
|
2523
2523
|
return function(t) {
|
|
2524
2524
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = (t || {}).icon ? t : ot(t || {}), r = n.mask;
|
|
2525
|
-
return r && (r = (r || {}).icon ? r : ot(r || {})), e(a,
|
|
2525
|
+
return r && (r = (r || {}).icon ? r : ot(r || {})), e(a, u(u({}, n), {}, {
|
|
2526
2526
|
mask: r
|
|
2527
2527
|
}));
|
|
2528
2528
|
};
|
|
2529
2529
|
}
|
|
2530
2530
|
var Fo = function(t) {
|
|
2531
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.transform, r = a === void 0 ?
|
|
2531
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.transform, r = a === void 0 ? W : a, i = n.symbol, o = i === void 0 ? !1 : i, l = n.mask, s = l === void 0 ? null : l, c = n.maskId, f = c === void 0 ? null : c, d = n.classes, p = d === void 0 ? [] : d, g = n.attributes, b = g === void 0 ? {} : g, I = n.styles, P = I === void 0 ? {} : I;
|
|
2532
2532
|
if (t) {
|
|
2533
2533
|
var m = t.prefix, v = t.iconName, A = t.icon;
|
|
2534
|
-
return De(
|
|
2534
|
+
return De(u({
|
|
2535
2535
|
type: "icon"
|
|
2536
2536
|
}, t), function() {
|
|
2537
2537
|
return ee("beforeDOMElementCreation", {
|
|
@@ -2540,7 +2540,7 @@ var Fo = function(t) {
|
|
|
2540
2540
|
}), At({
|
|
2541
2541
|
icons: {
|
|
2542
2542
|
main: st(A),
|
|
2543
|
-
mask:
|
|
2543
|
+
mask: s ? st(s.icon) : {
|
|
2544
2544
|
found: !1,
|
|
2545
2545
|
width: null,
|
|
2546
2546
|
height: null,
|
|
@@ -2549,12 +2549,12 @@ var Fo = function(t) {
|
|
|
2549
2549
|
},
|
|
2550
2550
|
prefix: m,
|
|
2551
2551
|
iconName: v,
|
|
2552
|
-
transform:
|
|
2552
|
+
transform: u(u({}, W), r),
|
|
2553
2553
|
symbol: o,
|
|
2554
|
-
maskId:
|
|
2554
|
+
maskId: f,
|
|
2555
2555
|
extra: {
|
|
2556
2556
|
attributes: b,
|
|
2557
|
-
styles:
|
|
2557
|
+
styles: P,
|
|
2558
2558
|
classes: p
|
|
2559
2559
|
}
|
|
2560
2560
|
});
|
|
@@ -2563,13 +2563,13 @@ var Fo = function(t) {
|
|
|
2563
2563
|
}, _o = {
|
|
2564
2564
|
mixout: function() {
|
|
2565
2565
|
return {
|
|
2566
|
-
icon:
|
|
2566
|
+
icon: Oo(Fo)
|
|
2567
2567
|
};
|
|
2568
2568
|
},
|
|
2569
2569
|
hooks: function() {
|
|
2570
2570
|
return {
|
|
2571
2571
|
mutationObserverCallbacks: function(n) {
|
|
2572
|
-
return n.treeCallback = Jt, n.nodeCallback =
|
|
2572
|
+
return n.treeCallback = Jt, n.nodeCallback = Po, n;
|
|
2573
2573
|
}
|
|
2574
2574
|
};
|
|
2575
2575
|
},
|
|
@@ -2579,40 +2579,40 @@ var Fo = function(t) {
|
|
|
2579
2579
|
} : i;
|
|
2580
2580
|
return Jt(r, o);
|
|
2581
2581
|
}, t.generateSvgReplacementMutation = function(n, a) {
|
|
2582
|
-
var r = a.iconName, i = a.prefix, o = a.transform,
|
|
2582
|
+
var r = a.iconName, i = a.prefix, o = a.transform, l = a.symbol, s = a.mask, c = a.maskId, f = a.extra;
|
|
2583
2583
|
return new Promise(function(d, p) {
|
|
2584
|
-
Promise.all([lt(r, i),
|
|
2584
|
+
Promise.all([lt(r, i), s.iconName ? lt(s.iconName, s.prefix) : Promise.resolve({
|
|
2585
2585
|
found: !1,
|
|
2586
2586
|
width: 512,
|
|
2587
2587
|
height: 512,
|
|
2588
2588
|
icon: {}
|
|
2589
2589
|
})]).then(function(g) {
|
|
2590
|
-
var b =
|
|
2590
|
+
var b = $e(g, 2), I = b[0], P = b[1];
|
|
2591
2591
|
d([n, At({
|
|
2592
2592
|
icons: {
|
|
2593
2593
|
main: I,
|
|
2594
|
-
mask:
|
|
2594
|
+
mask: P
|
|
2595
2595
|
},
|
|
2596
2596
|
prefix: i,
|
|
2597
2597
|
iconName: r,
|
|
2598
2598
|
transform: o,
|
|
2599
|
-
symbol:
|
|
2600
|
-
maskId:
|
|
2601
|
-
extra:
|
|
2599
|
+
symbol: l,
|
|
2600
|
+
maskId: c,
|
|
2601
|
+
extra: f,
|
|
2602
2602
|
watchable: !0
|
|
2603
2603
|
})]);
|
|
2604
2604
|
}).catch(p);
|
|
2605
2605
|
});
|
|
2606
2606
|
}, t.generateAbstractIcon = function(n) {
|
|
2607
|
-
var a = n.children, r = n.attributes, i = n.main, o = n.transform,
|
|
2608
|
-
|
|
2609
|
-
var
|
|
2610
|
-
return xt(o) && (
|
|
2607
|
+
var a = n.children, r = n.attributes, i = n.main, o = n.transform, l = n.styles, s = Le(l);
|
|
2608
|
+
s.length > 0 && (r.style = s);
|
|
2609
|
+
var c;
|
|
2610
|
+
return xt(o) && (c = V("generateAbstractTransformGrouping", {
|
|
2611
2611
|
main: i,
|
|
2612
2612
|
transform: o,
|
|
2613
2613
|
containerWidth: i.width,
|
|
2614
2614
|
iconWidth: i.width
|
|
2615
|
-
})), a.push(
|
|
2615
|
+
})), a.push(c || i.icon), {
|
|
2616
2616
|
children: a,
|
|
2617
2617
|
attributes: r
|
|
2618
2618
|
};
|
|
@@ -2631,14 +2631,14 @@ var Fo = function(t) {
|
|
|
2631
2631
|
params: a
|
|
2632
2632
|
});
|
|
2633
2633
|
var o = [];
|
|
2634
|
-
return n(function(
|
|
2635
|
-
Array.isArray(
|
|
2636
|
-
o = o.concat(
|
|
2637
|
-
}) : o = o.concat(
|
|
2634
|
+
return n(function(l) {
|
|
2635
|
+
Array.isArray(l) ? l.map(function(s) {
|
|
2636
|
+
o = o.concat(s.abstract);
|
|
2637
|
+
}) : o = o.concat(l.abstract);
|
|
2638
2638
|
}), [{
|
|
2639
2639
|
tag: "span",
|
|
2640
2640
|
attributes: {
|
|
2641
|
-
class: ["".concat(h.cssPrefix, "-layers")].concat(
|
|
2641
|
+
class: ["".concat(h.cssPrefix, "-layers")].concat(D(i)).join(" ")
|
|
2642
2642
|
},
|
|
2643
2643
|
children: o
|
|
2644
2644
|
}];
|
|
@@ -2652,7 +2652,7 @@ var Fo = function(t) {
|
|
|
2652
2652
|
counter: function(n) {
|
|
2653
2653
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2654
2654
|
a.title;
|
|
2655
|
-
var r = a.classes, i = r === void 0 ? [] : r, o = a.attributes,
|
|
2655
|
+
var r = a.classes, i = r === void 0 ? [] : r, o = a.attributes, l = o === void 0 ? {} : o, s = a.styles, c = s === void 0 ? {} : s;
|
|
2656
2656
|
return De({
|
|
2657
2657
|
type: "counter",
|
|
2658
2658
|
content: n
|
|
@@ -2663,9 +2663,9 @@ var Fo = function(t) {
|
|
|
2663
2663
|
}), uo({
|
|
2664
2664
|
content: n.toString(),
|
|
2665
2665
|
extra: {
|
|
2666
|
-
attributes:
|
|
2667
|
-
styles:
|
|
2668
|
-
classes: ["".concat(h.cssPrefix, "-layers-counter")].concat(
|
|
2666
|
+
attributes: l,
|
|
2667
|
+
styles: c,
|
|
2668
|
+
classes: ["".concat(h.cssPrefix, "-layers-counter")].concat(D(i))
|
|
2669
2669
|
}
|
|
2670
2670
|
});
|
|
2671
2671
|
});
|
|
@@ -2676,7 +2676,7 @@ var Fo = function(t) {
|
|
|
2676
2676
|
mixout: function() {
|
|
2677
2677
|
return {
|
|
2678
2678
|
text: function(n) {
|
|
2679
|
-
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.transform, i = r === void 0 ?
|
|
2679
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.transform, i = r === void 0 ? W : r, o = a.classes, l = o === void 0 ? [] : o, s = a.attributes, c = s === void 0 ? {} : s, f = a.styles, d = f === void 0 ? {} : f;
|
|
2680
2680
|
return De({
|
|
2681
2681
|
type: "text",
|
|
2682
2682
|
content: n
|
|
@@ -2686,11 +2686,11 @@ var Fo = function(t) {
|
|
|
2686
2686
|
params: a
|
|
2687
2687
|
}), Ht({
|
|
2688
2688
|
content: n,
|
|
2689
|
-
transform:
|
|
2689
|
+
transform: u(u({}, W), i),
|
|
2690
2690
|
extra: {
|
|
2691
|
-
attributes:
|
|
2691
|
+
attributes: c,
|
|
2692
2692
|
styles: d,
|
|
2693
|
-
classes: ["".concat(h.cssPrefix, "-layers-text")].concat(
|
|
2693
|
+
classes: ["".concat(h.cssPrefix, "-layers-text")].concat(D(l))
|
|
2694
2694
|
}
|
|
2695
2695
|
});
|
|
2696
2696
|
});
|
|
@@ -2699,22 +2699,22 @@ var Fo = function(t) {
|
|
|
2699
2699
|
},
|
|
2700
2700
|
provides: function(t) {
|
|
2701
2701
|
t.generateLayersText = function(n, a) {
|
|
2702
|
-
var r = a.transform, i = a.extra, o = null,
|
|
2702
|
+
var r = a.transform, i = a.extra, o = null, l = null;
|
|
2703
2703
|
if (bn) {
|
|
2704
|
-
var
|
|
2705
|
-
o =
|
|
2704
|
+
var s = parseInt(getComputedStyle(n).fontSize, 10), c = n.getBoundingClientRect();
|
|
2705
|
+
o = c.width / s, l = c.height / s;
|
|
2706
2706
|
}
|
|
2707
2707
|
return Promise.resolve([n, Ht({
|
|
2708
2708
|
content: n.innerHTML,
|
|
2709
2709
|
width: o,
|
|
2710
|
-
height:
|
|
2710
|
+
height: l,
|
|
2711
2711
|
transform: r,
|
|
2712
2712
|
extra: i,
|
|
2713
2713
|
watchable: !0
|
|
2714
2714
|
})]);
|
|
2715
2715
|
};
|
|
2716
2716
|
}
|
|
2717
|
-
}, va = new RegExp('"', "ug"), Qt = [1105920, 1112319], Zt =
|
|
2717
|
+
}, va = new RegExp('"', "ug"), Qt = [1105920, 1112319], Zt = u(u(u(u({}, {
|
|
2718
2718
|
FontAwesome: {
|
|
2719
2719
|
normal: "fas",
|
|
2720
2720
|
400: "fas"
|
|
@@ -2723,13 +2723,13 @@ var Fo = function(t) {
|
|
|
2723
2723
|
return e[t.toLowerCase()] = Zt[t], e;
|
|
2724
2724
|
}, {}), jo = Object.keys(ct).reduce(function(e, t) {
|
|
2725
2725
|
var n = ct[t];
|
|
2726
|
-
return e[t] = n[900] ||
|
|
2726
|
+
return e[t] = n[900] || D(Object.entries(n))[0][1], e;
|
|
2727
2727
|
}, {});
|
|
2728
|
-
function
|
|
2728
|
+
function $o(e) {
|
|
2729
2729
|
var t = e.replace(va, "");
|
|
2730
|
-
return ea(
|
|
2730
|
+
return ea(D(t)[0] || "");
|
|
2731
2731
|
}
|
|
2732
|
-
function
|
|
2732
|
+
function Lo(e) {
|
|
2733
2733
|
var t = e.getPropertyValue("font-feature-settings").includes("ss01"), n = e.getPropertyValue("content"), a = n.replace(va, ""), r = a.codePointAt(0), i = r >= Qt[0] && r <= Qt[1], o = a.length === 2 ? a[0] === a[1] : !1;
|
|
2734
2734
|
return i || o || t;
|
|
2735
2735
|
}
|
|
@@ -2742,29 +2742,29 @@ function en(e, t) {
|
|
|
2742
2742
|
return new Promise(function(a, r) {
|
|
2743
2743
|
if (e.getAttribute(n) !== null)
|
|
2744
2744
|
return a();
|
|
2745
|
-
var i = se(e.children), o = i.filter(function(
|
|
2746
|
-
return
|
|
2747
|
-
})[0],
|
|
2748
|
-
if (o && !
|
|
2745
|
+
var i = se(e.children), o = i.filter(function(R) {
|
|
2746
|
+
return R.getAttribute(et) === t;
|
|
2747
|
+
})[0], l = X.getComputedStyle(e, t), s = l.getPropertyValue("font-family"), c = s.match(Mi), f = l.getPropertyValue("font-weight"), d = l.getPropertyValue("content");
|
|
2748
|
+
if (o && !c)
|
|
2749
2749
|
return e.removeChild(o), a();
|
|
2750
|
-
if (
|
|
2751
|
-
var p =
|
|
2750
|
+
if (c && d !== "none" && d !== "") {
|
|
2751
|
+
var p = l.getPropertyValue("content"), g = Bo(s, f), b = $o(p), I = c[0].startsWith("FontAwesome"), P = Lo(l), m = St(g, b), v = m;
|
|
2752
2752
|
if (I) {
|
|
2753
2753
|
var A = Xi(b);
|
|
2754
2754
|
A.iconName && A.prefix && (m = A.iconName, g = A.prefix);
|
|
2755
2755
|
}
|
|
2756
|
-
if (m && !
|
|
2756
|
+
if (m && !P && (!o || o.getAttribute(gt) !== g || o.getAttribute(yt) !== v)) {
|
|
2757
2757
|
e.setAttribute(n, v), o && e.removeChild(o);
|
|
2758
|
-
var M = ko(),
|
|
2759
|
-
|
|
2760
|
-
var le = At(
|
|
2758
|
+
var M = ko(), O = M.extra;
|
|
2759
|
+
O.attributes[et] = t, lt(m, g).then(function(R) {
|
|
2760
|
+
var le = At(u(u({}, M), {}, {
|
|
2761
2761
|
icons: {
|
|
2762
|
-
main:
|
|
2762
|
+
main: R,
|
|
2763
2763
|
mask: fa()
|
|
2764
2764
|
},
|
|
2765
2765
|
prefix: g,
|
|
2766
2766
|
iconName: v,
|
|
2767
|
-
extra:
|
|
2767
|
+
extra: O,
|
|
2768
2768
|
watchable: !0
|
|
2769
2769
|
})), We = k.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
2770
2770
|
t === "::before" ? e.insertBefore(We, e.firstChild) : e.appendChild(We), We.outerHTML = le.map(function(wa) {
|
|
@@ -2790,12 +2790,12 @@ var Ro = function(t) {
|
|
|
2790
2790
|
});
|
|
2791
2791
|
}, Wo = function(t) {
|
|
2792
2792
|
if (!t) return [];
|
|
2793
|
-
var n = /* @__PURE__ */ new Set(), a = t.split(/,(?![^()]*\))/).map(function(
|
|
2794
|
-
return
|
|
2793
|
+
var n = /* @__PURE__ */ new Set(), a = t.split(/,(?![^()]*\))/).map(function(s) {
|
|
2794
|
+
return s.trim();
|
|
2795
2795
|
});
|
|
2796
|
-
a = a.flatMap(function(
|
|
2797
|
-
return
|
|
2798
|
-
return
|
|
2796
|
+
a = a.flatMap(function(s) {
|
|
2797
|
+
return s.includes("(") ? s : s.split(",").map(function(c) {
|
|
2798
|
+
return c.trim();
|
|
2799
2799
|
});
|
|
2800
2800
|
});
|
|
2801
2801
|
var r = Me(a), i;
|
|
@@ -2803,14 +2803,14 @@ var Ro = function(t) {
|
|
|
2803
2803
|
for (r.s(); !(i = r.n()).done; ) {
|
|
2804
2804
|
var o = i.value;
|
|
2805
2805
|
if (Ro(o)) {
|
|
2806
|
-
var
|
|
2807
|
-
return
|
|
2806
|
+
var l = Hn.reduce(function(s, c) {
|
|
2807
|
+
return s.replace(c, "");
|
|
2808
2808
|
}, o);
|
|
2809
|
-
|
|
2809
|
+
l !== "" && l !== "*" && n.add(l);
|
|
2810
2810
|
}
|
|
2811
2811
|
}
|
|
2812
|
-
} catch (
|
|
2813
|
-
r.e(
|
|
2812
|
+
} catch (s) {
|
|
2813
|
+
r.e(s);
|
|
2814
2814
|
} finally {
|
|
2815
2815
|
r.f();
|
|
2816
2816
|
}
|
|
@@ -2830,10 +2830,10 @@ function tn(e) {
|
|
|
2830
2830
|
for (r.s(); !(i = r.n()).done; ) {
|
|
2831
2831
|
var o = i.value;
|
|
2832
2832
|
try {
|
|
2833
|
-
var
|
|
2833
|
+
var l = Me(o.cssRules), s;
|
|
2834
2834
|
try {
|
|
2835
|
-
for (
|
|
2836
|
-
var
|
|
2835
|
+
for (l.s(); !(s = l.n()).done; ) {
|
|
2836
|
+
var c = s.value, f = Wo(c.selectorText), d = Me(f), p;
|
|
2837
2837
|
try {
|
|
2838
2838
|
for (d.s(); !(p = d.n()).done; ) {
|
|
2839
2839
|
var g = p.value;
|
|
@@ -2846,9 +2846,9 @@ function tn(e) {
|
|
|
2846
2846
|
}
|
|
2847
2847
|
}
|
|
2848
2848
|
} catch (I) {
|
|
2849
|
-
|
|
2849
|
+
l.e(I);
|
|
2850
2850
|
} finally {
|
|
2851
|
-
|
|
2851
|
+
l.f();
|
|
2852
2852
|
}
|
|
2853
2853
|
} catch (I) {
|
|
2854
2854
|
h.searchPseudoElementsWarnings && console.warn("Font Awesome: cannot parse stylesheet: ".concat(o.href, " (").concat(I.message, `)
|
|
@@ -2867,12 +2867,12 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2867
2867
|
} catch {
|
|
2868
2868
|
}
|
|
2869
2869
|
}
|
|
2870
|
-
return new Promise(function(I,
|
|
2870
|
+
return new Promise(function(I, P) {
|
|
2871
2871
|
var m = se(n).filter(Do).map(zo), v = kt.begin("searchPseudoElements");
|
|
2872
2872
|
pa(), Promise.all(m).then(function() {
|
|
2873
2873
|
v(), ut(), I();
|
|
2874
2874
|
}).catch(function() {
|
|
2875
|
-
v(), ut(),
|
|
2875
|
+
v(), ut(), P();
|
|
2876
2876
|
});
|
|
2877
2877
|
});
|
|
2878
2878
|
}
|
|
@@ -2927,34 +2927,34 @@ var Uo = {
|
|
|
2927
2927
|
rotate: 0
|
|
2928
2928
|
};
|
|
2929
2929
|
return t.toLowerCase().split(" ").reduce(function(a, r) {
|
|
2930
|
-
var i = r.toLowerCase().split("-"), o = i[0],
|
|
2931
|
-
if (o &&
|
|
2930
|
+
var i = r.toLowerCase().split("-"), o = i[0], l = i.slice(1).join("-");
|
|
2931
|
+
if (o && l === "h")
|
|
2932
2932
|
return a.flipX = !0, a;
|
|
2933
|
-
if (o &&
|
|
2933
|
+
if (o && l === "v")
|
|
2934
2934
|
return a.flipY = !0, a;
|
|
2935
|
-
if (
|
|
2935
|
+
if (l = parseFloat(l), isNaN(l))
|
|
2936
2936
|
return a;
|
|
2937
2937
|
switch (o) {
|
|
2938
2938
|
case "grow":
|
|
2939
|
-
a.size = a.size +
|
|
2939
|
+
a.size = a.size + l;
|
|
2940
2940
|
break;
|
|
2941
2941
|
case "shrink":
|
|
2942
|
-
a.size = a.size -
|
|
2942
|
+
a.size = a.size - l;
|
|
2943
2943
|
break;
|
|
2944
2944
|
case "left":
|
|
2945
|
-
a.x = a.x -
|
|
2945
|
+
a.x = a.x - l;
|
|
2946
2946
|
break;
|
|
2947
2947
|
case "right":
|
|
2948
|
-
a.x = a.x +
|
|
2948
|
+
a.x = a.x + l;
|
|
2949
2949
|
break;
|
|
2950
2950
|
case "up":
|
|
2951
|
-
a.y = a.y -
|
|
2951
|
+
a.y = a.y - l;
|
|
2952
2952
|
break;
|
|
2953
2953
|
case "down":
|
|
2954
|
-
a.y = a.y +
|
|
2954
|
+
a.y = a.y + l;
|
|
2955
2955
|
break;
|
|
2956
2956
|
case "rotate":
|
|
2957
|
-
a.rotate = a.rotate +
|
|
2957
|
+
a.rotate = a.rotate + l;
|
|
2958
2958
|
break;
|
|
2959
2959
|
}
|
|
2960
2960
|
return a;
|
|
@@ -2979,27 +2979,27 @@ var Uo = {
|
|
|
2979
2979
|
},
|
|
2980
2980
|
provides: function(t) {
|
|
2981
2981
|
t.generateAbstractTransformGrouping = function(n) {
|
|
2982
|
-
var a = n.main, r = n.transform, i = n.containerWidth, o = n.iconWidth,
|
|
2982
|
+
var a = n.main, r = n.transform, i = n.containerWidth, o = n.iconWidth, l = {
|
|
2983
2983
|
transform: "translate(".concat(i / 2, " 256)")
|
|
2984
|
-
},
|
|
2985
|
-
transform: "".concat(
|
|
2984
|
+
}, s = "translate(".concat(r.x * 32, ", ").concat(r.y * 32, ") "), c = "scale(".concat(r.size / 16 * (r.flipX ? -1 : 1), ", ").concat(r.size / 16 * (r.flipY ? -1 : 1), ") "), f = "rotate(".concat(r.rotate, " 0 0)"), d = {
|
|
2985
|
+
transform: "".concat(s, " ").concat(c, " ").concat(f)
|
|
2986
2986
|
}, p = {
|
|
2987
2987
|
transform: "translate(".concat(o / 2 * -1, " -256)")
|
|
2988
2988
|
}, g = {
|
|
2989
|
-
outer:
|
|
2989
|
+
outer: l,
|
|
2990
2990
|
inner: d,
|
|
2991
2991
|
path: p
|
|
2992
2992
|
};
|
|
2993
2993
|
return {
|
|
2994
2994
|
tag: "g",
|
|
2995
|
-
attributes:
|
|
2995
|
+
attributes: u({}, g.outer),
|
|
2996
2996
|
children: [{
|
|
2997
2997
|
tag: "g",
|
|
2998
|
-
attributes:
|
|
2998
|
+
attributes: u({}, g.inner),
|
|
2999
2999
|
children: [{
|
|
3000
3000
|
tag: a.icon.tag,
|
|
3001
3001
|
children: a.icon.children,
|
|
3002
|
-
attributes:
|
|
3002
|
+
attributes: u(u({}, a.icon.attributes), g.path)
|
|
3003
3003
|
}]
|
|
3004
3004
|
}]
|
|
3005
3005
|
};
|
|
@@ -3031,37 +3031,37 @@ var Xo = {
|
|
|
3031
3031
|
},
|
|
3032
3032
|
provides: function(t) {
|
|
3033
3033
|
t.generateAbstractMask = function(n) {
|
|
3034
|
-
var a = n.children, r = n.attributes, i = n.main, o = n.mask,
|
|
3035
|
-
transform:
|
|
3034
|
+
var a = n.children, r = n.attributes, i = n.main, o = n.mask, l = n.maskId, s = n.transform, c = i.width, f = i.icon, d = o.width, p = o.icon, g = Li({
|
|
3035
|
+
transform: s,
|
|
3036
3036
|
containerWidth: d,
|
|
3037
|
-
iconWidth:
|
|
3037
|
+
iconWidth: c
|
|
3038
3038
|
}), b = {
|
|
3039
3039
|
tag: "rect",
|
|
3040
|
-
attributes:
|
|
3040
|
+
attributes: u(u({}, Ve), {}, {
|
|
3041
3041
|
fill: "white"
|
|
3042
3042
|
})
|
|
3043
|
-
}, I =
|
|
3044
|
-
children:
|
|
3045
|
-
} : {},
|
|
3043
|
+
}, I = f.children ? {
|
|
3044
|
+
children: f.children.map(rn)
|
|
3045
|
+
} : {}, P = {
|
|
3046
3046
|
tag: "g",
|
|
3047
|
-
attributes:
|
|
3048
|
-
children: [rn(
|
|
3049
|
-
tag:
|
|
3050
|
-
attributes:
|
|
3047
|
+
attributes: u({}, g.inner),
|
|
3048
|
+
children: [rn(u({
|
|
3049
|
+
tag: f.tag,
|
|
3050
|
+
attributes: u(u({}, f.attributes), g.path)
|
|
3051
3051
|
}, I))]
|
|
3052
3052
|
}, m = {
|
|
3053
3053
|
tag: "g",
|
|
3054
|
-
attributes:
|
|
3055
|
-
children: [
|
|
3056
|
-
}, v = "mask-".concat(
|
|
3054
|
+
attributes: u({}, g.outer),
|
|
3055
|
+
children: [P]
|
|
3056
|
+
}, v = "mask-".concat(l || Bt()), A = "clip-".concat(l || Bt()), M = {
|
|
3057
3057
|
tag: "mask",
|
|
3058
|
-
attributes:
|
|
3058
|
+
attributes: u(u({}, Ve), {}, {
|
|
3059
3059
|
id: v,
|
|
3060
3060
|
maskUnits: "userSpaceOnUse",
|
|
3061
3061
|
maskContentUnits: "userSpaceOnUse"
|
|
3062
3062
|
}),
|
|
3063
3063
|
children: [b, m]
|
|
3064
|
-
},
|
|
3064
|
+
}, O = {
|
|
3065
3065
|
tag: "defs",
|
|
3066
3066
|
children: [{
|
|
3067
3067
|
tag: "clipPath",
|
|
@@ -3071,9 +3071,9 @@ var Xo = {
|
|
|
3071
3071
|
children: Go(p)
|
|
3072
3072
|
}, M]
|
|
3073
3073
|
};
|
|
3074
|
-
return a.push(
|
|
3074
|
+
return a.push(O, {
|
|
3075
3075
|
tag: "rect",
|
|
3076
|
-
attributes:
|
|
3076
|
+
attributes: u({
|
|
3077
3077
|
fill: "currentColor",
|
|
3078
3078
|
"clip-path": "url(#".concat(A, ")"),
|
|
3079
3079
|
mask: "url(#".concat(v, ")")
|
|
@@ -3097,53 +3097,53 @@ var Xo = {
|
|
|
3097
3097
|
};
|
|
3098
3098
|
a.push({
|
|
3099
3099
|
tag: "path",
|
|
3100
|
-
attributes:
|
|
3100
|
+
attributes: u(u({}, r), {}, {
|
|
3101
3101
|
d: "M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"
|
|
3102
3102
|
})
|
|
3103
3103
|
});
|
|
3104
|
-
var o =
|
|
3104
|
+
var o = u(u({}, i), {}, {
|
|
3105
3105
|
attributeName: "opacity"
|
|
3106
|
-
}),
|
|
3106
|
+
}), l = {
|
|
3107
3107
|
tag: "circle",
|
|
3108
|
-
attributes:
|
|
3108
|
+
attributes: u(u({}, r), {}, {
|
|
3109
3109
|
cx: "256",
|
|
3110
3110
|
cy: "364",
|
|
3111
3111
|
r: "28"
|
|
3112
3112
|
}),
|
|
3113
3113
|
children: []
|
|
3114
3114
|
};
|
|
3115
|
-
return n ||
|
|
3115
|
+
return n || l.children.push({
|
|
3116
3116
|
tag: "animate",
|
|
3117
|
-
attributes:
|
|
3117
|
+
attributes: u(u({}, i), {}, {
|
|
3118
3118
|
attributeName: "r",
|
|
3119
3119
|
values: "28;14;28;28;14;28;"
|
|
3120
3120
|
})
|
|
3121
3121
|
}, {
|
|
3122
3122
|
tag: "animate",
|
|
3123
|
-
attributes:
|
|
3123
|
+
attributes: u(u({}, o), {}, {
|
|
3124
3124
|
values: "1;0;1;1;0;1;"
|
|
3125
3125
|
})
|
|
3126
|
-
}), a.push(
|
|
3126
|
+
}), a.push(l), a.push({
|
|
3127
3127
|
tag: "path",
|
|
3128
|
-
attributes:
|
|
3128
|
+
attributes: u(u({}, r), {}, {
|
|
3129
3129
|
opacity: "1",
|
|
3130
3130
|
d: "M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"
|
|
3131
3131
|
}),
|
|
3132
3132
|
children: n ? [] : [{
|
|
3133
3133
|
tag: "animate",
|
|
3134
|
-
attributes:
|
|
3134
|
+
attributes: u(u({}, o), {}, {
|
|
3135
3135
|
values: "1;0;0;0;0;1;"
|
|
3136
3136
|
})
|
|
3137
3137
|
}]
|
|
3138
3138
|
}), n || a.push({
|
|
3139
3139
|
tag: "path",
|
|
3140
|
-
attributes:
|
|
3140
|
+
attributes: u(u({}, r), {}, {
|
|
3141
3141
|
opacity: "0",
|
|
3142
3142
|
d: "M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"
|
|
3143
3143
|
}),
|
|
3144
3144
|
children: [{
|
|
3145
3145
|
tag: "animate",
|
|
3146
|
-
attributes:
|
|
3146
|
+
attributes: u(u({}, o), {}, {
|
|
3147
3147
|
values: "0;0;1;1;0;0;"
|
|
3148
3148
|
})
|
|
3149
3149
|
}]
|
|
@@ -3300,12 +3300,12 @@ var ss = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
3300
3300
|
(function(e) {
|
|
3301
3301
|
(function(t) {
|
|
3302
3302
|
var n = function(m, v, A) {
|
|
3303
|
-
if (!
|
|
3303
|
+
if (!c(v) || d(v) || p(v) || g(v) || s(v))
|
|
3304
3304
|
return v;
|
|
3305
|
-
var M,
|
|
3306
|
-
if (
|
|
3307
|
-
for (M = [],
|
|
3308
|
-
M.push(n(m, v[
|
|
3305
|
+
var M, O = 0, R = 0;
|
|
3306
|
+
if (f(v))
|
|
3307
|
+
for (M = [], R = v.length; O < R; O++)
|
|
3308
|
+
M.push(n(m, v[O], A));
|
|
3309
3309
|
else {
|
|
3310
3310
|
M = {};
|
|
3311
3311
|
for (var le in v)
|
|
@@ -3325,26 +3325,26 @@ var ss = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
3325
3325
|
return v.substr(0, 1).toUpperCase() + v.substr(1);
|
|
3326
3326
|
}, o = function(m, v) {
|
|
3327
3327
|
return a(m, v).toLowerCase();
|
|
3328
|
-
},
|
|
3328
|
+
}, l = Object.prototype.toString, s = function(m) {
|
|
3329
3329
|
return typeof m == "function";
|
|
3330
|
-
}, u = function(m) {
|
|
3331
|
-
return m === Object(m);
|
|
3332
3330
|
}, c = function(m) {
|
|
3333
|
-
return
|
|
3331
|
+
return m === Object(m);
|
|
3332
|
+
}, f = function(m) {
|
|
3333
|
+
return l.call(m) == "[object Array]";
|
|
3334
3334
|
}, d = function(m) {
|
|
3335
|
-
return
|
|
3335
|
+
return l.call(m) == "[object Date]";
|
|
3336
3336
|
}, p = function(m) {
|
|
3337
|
-
return
|
|
3337
|
+
return l.call(m) == "[object RegExp]";
|
|
3338
3338
|
}, g = function(m) {
|
|
3339
|
-
return
|
|
3339
|
+
return l.call(m) == "[object Boolean]";
|
|
3340
3340
|
}, b = function(m) {
|
|
3341
3341
|
return m = m - 0, m === m;
|
|
3342
3342
|
}, I = function(m, v) {
|
|
3343
3343
|
var A = v && "process" in v ? v.process : v;
|
|
3344
|
-
return typeof A != "function" ? m : function(M,
|
|
3345
|
-
return A(M, m,
|
|
3344
|
+
return typeof A != "function" ? m : function(M, O) {
|
|
3345
|
+
return A(M, m, O);
|
|
3346
3346
|
};
|
|
3347
|
-
},
|
|
3347
|
+
}, P = {
|
|
3348
3348
|
camelize: r,
|
|
3349
3349
|
decamelize: o,
|
|
3350
3350
|
pascalize: i,
|
|
@@ -3362,7 +3362,7 @@ var ss = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
3362
3362
|
return this.decamelizeKeys.apply(this, arguments);
|
|
3363
3363
|
}
|
|
3364
3364
|
};
|
|
3365
|
-
e.exports ? e.exports =
|
|
3365
|
+
e.exports ? e.exports = P : t.humps = P;
|
|
3366
3366
|
})(ss);
|
|
3367
3367
|
})(ya);
|
|
3368
3368
|
var ls = ya.exports, fs = ["gradientFill"], us = ["class", "style"], cs = ["type", "stops", "id"];
|
|
@@ -3402,23 +3402,23 @@ function ba(e) {
|
|
|
3402
3402
|
children: t
|
|
3403
3403
|
});
|
|
3404
3404
|
}
|
|
3405
|
-
function
|
|
3405
|
+
function Tt(e) {
|
|
3406
3406
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3407
3407
|
if (typeof e == "string")
|
|
3408
3408
|
return e;
|
|
3409
|
-
var a = t.gradientFill, r = a === void 0 ? null : a, i = qe(t, fs), o = !!r || "fill" in n,
|
|
3410
|
-
return
|
|
3411
|
-
}),
|
|
3412
|
-
var
|
|
3413
|
-
switch (
|
|
3409
|
+
var a = t.gradientFill, r = a === void 0 ? null : a, i = qe(t, fs), o = !!r || "fill" in n, l = o ? ba(e) : e, s = (l.children || []).map(function(M) {
|
|
3410
|
+
return Tt(M, {}, {});
|
|
3411
|
+
}), c = Object.keys(l.attributes || {}).reduce(function(M, O) {
|
|
3412
|
+
var R = l.attributes[O];
|
|
3413
|
+
switch (O) {
|
|
3414
3414
|
case "class":
|
|
3415
|
-
M.class = ms(
|
|
3415
|
+
M.class = ms(R);
|
|
3416
3416
|
break;
|
|
3417
3417
|
case "style":
|
|
3418
|
-
M.style = ds(
|
|
3418
|
+
M.style = ds(R);
|
|
3419
3419
|
break;
|
|
3420
3420
|
default:
|
|
3421
|
-
M.attrs[
|
|
3421
|
+
M.attrs[O] = R;
|
|
3422
3422
|
}
|
|
3423
3423
|
return M;
|
|
3424
3424
|
}, {
|
|
@@ -3427,22 +3427,22 @@ function Pt(e) {
|
|
|
3427
3427
|
style: {}
|
|
3428
3428
|
});
|
|
3429
3429
|
n.class;
|
|
3430
|
-
var
|
|
3430
|
+
var f = n.style, d = f === void 0 ? {} : f, p = qe(n, us);
|
|
3431
3431
|
if (r && r.id && (r.type === "linear" || r.type === "radial")) {
|
|
3432
|
-
var g = r.type, b = r.stops, I = b === void 0 ? [] : b,
|
|
3433
|
-
id:
|
|
3432
|
+
var g = r.type, b = r.stops, I = b === void 0 ? [] : b, P = r.id, m = qe(r, cs), v = g === "linear" ? "linearGradient" : "radialGradient", A = ue(v, S(S({}, m), {}, {
|
|
3433
|
+
id: P
|
|
3434
3434
|
}), I.map(ps));
|
|
3435
|
-
return ue(
|
|
3436
|
-
class:
|
|
3437
|
-
style: S(S({},
|
|
3438
|
-
},
|
|
3439
|
-
fill: "url(#".concat(
|
|
3440
|
-
}), [A].concat(Ee(
|
|
3435
|
+
return ue(l.tag, S(S(S(S({}, i), {}, {
|
|
3436
|
+
class: c.class,
|
|
3437
|
+
style: S(S({}, c.style), d)
|
|
3438
|
+
}, c.attrs), p), {}, {
|
|
3439
|
+
fill: "url(#".concat(P, ")")
|
|
3440
|
+
}), [A].concat(Ee(s)));
|
|
3441
3441
|
}
|
|
3442
3442
|
return ue(e.tag, S(S(S({}, i), {}, {
|
|
3443
|
-
class:
|
|
3444
|
-
style: S(S({},
|
|
3445
|
-
},
|
|
3443
|
+
class: c.class,
|
|
3444
|
+
style: S(S({}, c.style), d)
|
|
3445
|
+
}, c.attrs), p), s);
|
|
3446
3446
|
}
|
|
3447
3447
|
var Ia = !1;
|
|
3448
3448
|
try {
|
|
@@ -3620,28 +3620,28 @@ var Re = je({
|
|
|
3620
3620
|
return pe("classes", os(t));
|
|
3621
3621
|
}), o = L(function() {
|
|
3622
3622
|
return pe("transform", typeof t.transform == "string" ? Ce.transform(t.transform) : t.transform);
|
|
3623
|
-
}), s = L(function() {
|
|
3624
|
-
return pe("mask", ln(t.mask));
|
|
3625
3623
|
}), l = L(function() {
|
|
3626
|
-
|
|
3624
|
+
return pe("mask", ln(t.mask));
|
|
3625
|
+
}), s = L(function() {
|
|
3626
|
+
var f = S(S(S(S({}, i.value), o.value), l.value), {}, {
|
|
3627
3627
|
symbol: t.symbol,
|
|
3628
3628
|
maskId: t.maskId
|
|
3629
3629
|
});
|
|
3630
|
-
return
|
|
3630
|
+
return f.title = t.title, f.titleId = t.titleId, Jo(r.value, f);
|
|
3631
3631
|
});
|
|
3632
|
-
ka(
|
|
3633
|
-
if (!
|
|
3634
|
-
return sn("Could not find one or more icon(s)", r.value,
|
|
3632
|
+
ka(s, function(f) {
|
|
3633
|
+
if (!f)
|
|
3634
|
+
return sn("Could not find one or more icon(s)", r.value, l.value);
|
|
3635
3635
|
}, {
|
|
3636
3636
|
immediate: !0
|
|
3637
3637
|
}), t.gradientFill && t.symbol && sn("gradientFill is not supported when symbol is true and will be ignored");
|
|
3638
|
-
var
|
|
3639
|
-
return
|
|
3638
|
+
var c = L(function() {
|
|
3639
|
+
return s.value ? Tt(s.value.abstract[0], {
|
|
3640
3640
|
gradientFill: t.symbol ? null : t.gradientFill
|
|
3641
3641
|
}, a) : null;
|
|
3642
3642
|
});
|
|
3643
3643
|
return function() {
|
|
3644
|
-
return
|
|
3644
|
+
return c.value;
|
|
3645
3645
|
};
|
|
3646
3646
|
}
|
|
3647
3647
|
});
|
|
@@ -3692,34 +3692,34 @@ je({
|
|
|
3692
3692
|
return pe("classes", [].concat(Ee(t.counter ? ["".concat(r, "-layers-counter")] : []), Ee(t.position ? ["".concat(r, "-layers-").concat(t.position)] : [])));
|
|
3693
3693
|
}), o = L(function() {
|
|
3694
3694
|
return pe("transform", typeof t.transform == "string" ? Ce.transform(t.transform) : t.transform);
|
|
3695
|
-
}), s = L(function() {
|
|
3696
|
-
var u = Qo(t.value.toString(), S(S({}, o.value), i.value)), c = u.abstract;
|
|
3697
|
-
return t.counter && (c[0].attributes.class = c[0].attributes.class.replace("fa-layers-text", "")), c[0];
|
|
3698
3695
|
}), l = L(function() {
|
|
3699
|
-
|
|
3696
|
+
var c = Qo(t.value.toString(), S(S({}, o.value), i.value)), f = c.abstract;
|
|
3697
|
+
return t.counter && (f[0].attributes.class = f[0].attributes.class.replace("fa-layers-text", "")), f[0];
|
|
3698
|
+
}), s = L(function() {
|
|
3699
|
+
return Tt(l.value, {}, a);
|
|
3700
3700
|
});
|
|
3701
3701
|
return function() {
|
|
3702
|
-
return
|
|
3702
|
+
return s.value;
|
|
3703
3703
|
};
|
|
3704
3704
|
}
|
|
3705
3705
|
});
|
|
3706
|
-
let ve, ge,
|
|
3706
|
+
let ve, ge, U;
|
|
3707
3707
|
const mt = (e) => {
|
|
3708
3708
|
ve = e;
|
|
3709
3709
|
}, fn = (e) => {
|
|
3710
3710
|
ge = e;
|
|
3711
3711
|
}, hs = (e) => {
|
|
3712
|
-
|
|
3712
|
+
U = e;
|
|
3713
3713
|
}, pt = (e) => {
|
|
3714
|
-
ve != null && (
|
|
3714
|
+
ve != null && (U = !0, ge.loading = U, setTimeout(() => {
|
|
3715
3715
|
ve.push({ path: `${e}` }).finally(() => {
|
|
3716
|
-
|
|
3716
|
+
U = !1, ge.loading = U;
|
|
3717
3717
|
});
|
|
3718
3718
|
}, 400));
|
|
3719
3719
|
}, Q = (e) => {
|
|
3720
|
-
ve != null && (
|
|
3720
|
+
ve != null && (U = !0, ge.loading = U, setTimeout(() => {
|
|
3721
3721
|
ve.push({ path: `${e}` }).finally(() => {
|
|
3722
|
-
|
|
3722
|
+
U = !1, ge.loading = U;
|
|
3723
3723
|
});
|
|
3724
3724
|
}, 400));
|
|
3725
3725
|
}, vs = {
|
|
@@ -3746,7 +3746,7 @@ const mt = (e) => {
|
|
|
3746
3746
|
menuBar: this.menuBar,
|
|
3747
3747
|
tooltip: !0,
|
|
3748
3748
|
item: this.item,
|
|
3749
|
-
faChevronDown:
|
|
3749
|
+
faChevronDown: $,
|
|
3750
3750
|
leftItems: this.leftItems,
|
|
3751
3751
|
ref: "item",
|
|
3752
3752
|
rotuer: mt,
|
|
@@ -3815,38 +3815,38 @@ const mt = (e) => {
|
|
|
3815
3815
|
class: "sub-menu-button"
|
|
3816
3816
|
};
|
|
3817
3817
|
function ys(e, t, n, a, r, i) {
|
|
3818
|
-
var
|
|
3819
|
-
const o =
|
|
3820
|
-
return w(),
|
|
3821
|
-
class:
|
|
3818
|
+
var l;
|
|
3819
|
+
const o = B("FontAwesomeIcon");
|
|
3820
|
+
return w(), T("div", {
|
|
3821
|
+
class: E(["menu-item", {
|
|
3822
3822
|
"item-opened": r.item.opened,
|
|
3823
3823
|
"item-closed": !r.item.opened,
|
|
3824
3824
|
"item-active": r.item.active
|
|
3825
3825
|
}]),
|
|
3826
3826
|
ref: r.ref,
|
|
3827
|
-
onClick: t[0] || (t[0] = (
|
|
3827
|
+
onClick: t[0] || (t[0] = (s) => i.openSubMenu(r.item))
|
|
3828
3828
|
}, [
|
|
3829
3829
|
r.item.icon ? (w(), ye(o, {
|
|
3830
3830
|
key: 0,
|
|
3831
3831
|
class: "menu-item-icon",
|
|
3832
3832
|
size: "lg",
|
|
3833
3833
|
icon: r.item.icon
|
|
3834
|
-
}, null, 8, ["icon"])) :
|
|
3834
|
+
}, null, 8, ["icon"])) : N("", !0),
|
|
3835
3835
|
C("p", {
|
|
3836
|
-
class:
|
|
3836
|
+
class: E(["menu-item-text", {
|
|
3837
3837
|
"menu-text-opened": r.menuBar.opened,
|
|
3838
3838
|
"menu-text-closed": !r.menuBar.opened
|
|
3839
3839
|
}])
|
|
3840
3840
|
}, be(r.item.name), 3),
|
|
3841
|
-
(
|
|
3841
|
+
(l = r.item.items) != null && l.length && r.menuBar.opened ? (w(), T("div", gs, [
|
|
3842
3842
|
J(o, {
|
|
3843
|
-
class:
|
|
3843
|
+
class: E({ "icon-opened": r.item.opened }),
|
|
3844
3844
|
icon: r.item.openIcon
|
|
3845
3845
|
}, null, 8, ["class", "icon"])
|
|
3846
|
-
])) :
|
|
3846
|
+
])) : N("", !0)
|
|
3847
3847
|
], 2);
|
|
3848
3848
|
}
|
|
3849
|
-
const xa = /* @__PURE__ */ Se(vs, [["render", ys], ["__scopeId", "data-v-
|
|
3849
|
+
const xa = /* @__PURE__ */ Se(vs, [["render", ys], ["__scopeId", "data-v-d3e40673"]]), bs = {
|
|
3850
3850
|
name: "SubMenuItems",
|
|
3851
3851
|
components: {
|
|
3852
3852
|
MenuItem: xa
|
|
@@ -3863,17 +3863,20 @@ const xa = /* @__PURE__ */ Se(vs, [["render", ys], ["__scopeId", "data-v-cace39b
|
|
|
3863
3863
|
leftMenuItems: {
|
|
3864
3864
|
type: Array,
|
|
3865
3865
|
default: () => []
|
|
3866
|
+
},
|
|
3867
|
+
activeTooltipItemId: {
|
|
3868
|
+
type: Number,
|
|
3869
|
+
default: null
|
|
3866
3870
|
}
|
|
3867
3871
|
},
|
|
3868
3872
|
data() {
|
|
3869
3873
|
return {
|
|
3870
3874
|
item: this.item,
|
|
3871
|
-
tooltip: !1,
|
|
3872
3875
|
menuBar: this.menuBar,
|
|
3873
3876
|
leftMenuItems: this.leftMenuItems
|
|
3874
3877
|
};
|
|
3875
3878
|
},
|
|
3876
|
-
emits: ["openmenu", "changeMenuItem"],
|
|
3879
|
+
emits: ["openmenu", "changeMenuItem", "tooltip"],
|
|
3877
3880
|
watch: {
|
|
3878
3881
|
menuBar(e) {
|
|
3879
3882
|
this.menuBar = e;
|
|
@@ -3883,15 +3886,21 @@ const xa = /* @__PURE__ */ Se(vs, [["render", ys], ["__scopeId", "data-v-cace39b
|
|
|
3883
3886
|
}
|
|
3884
3887
|
},
|
|
3885
3888
|
methods: {
|
|
3886
|
-
showTooltipItems(e) {
|
|
3887
|
-
var
|
|
3888
|
-
this.menuBar.opened ||
|
|
3889
|
+
showTooltipItems(e, t) {
|
|
3890
|
+
var n;
|
|
3891
|
+
this.menuBar.opened || this.$emit(
|
|
3892
|
+
"tooltip",
|
|
3893
|
+
(n = t.items) != null && n.length ? t.id : null
|
|
3894
|
+
);
|
|
3895
|
+
},
|
|
3896
|
+
handleTooltip(e) {
|
|
3897
|
+
this.$emit("tooltip", e);
|
|
3889
3898
|
},
|
|
3890
3899
|
handleMenuItem(e) {
|
|
3891
3900
|
this.$emit("changeMenuItem", e);
|
|
3892
3901
|
},
|
|
3893
|
-
hideTooltipItems(e) {
|
|
3894
|
-
this.menuBar.opened
|
|
3902
|
+
hideTooltipItems(e, t) {
|
|
3903
|
+
!this.menuBar.opened && this.activeTooltipItemId === t.id && this.$emit("tooltip", null);
|
|
3895
3904
|
},
|
|
3896
3905
|
tooltipItemClick(e, t, n) {
|
|
3897
3906
|
var a;
|
|
@@ -3903,52 +3912,54 @@ const xa = /* @__PURE__ */ Se(vs, [["render", ys], ["__scopeId", "data-v-cace39b
|
|
|
3903
3912
|
}
|
|
3904
3913
|
}
|
|
3905
3914
|
}
|
|
3906
|
-
}, Is = {
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
leftItems
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
menuBar
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3915
|
+
}, Is = { class: "sub-menu-content" }, xs = ["onMouseenter", "onMouseleave"], ws = ["onMouseenter"], Ss = ["onClick"];
|
|
3916
|
+
function As(e, t, n, a, r, i) {
|
|
3917
|
+
const o = B("MenuItem"), l = B("SubMenuItems", !0);
|
|
3918
|
+
return w(), T("div", {
|
|
3919
|
+
class: E(["sub-menu-items", { itemsOpened: r.item.opened, itemsClosed: !r.item.opened }])
|
|
3920
|
+
}, [
|
|
3921
|
+
C("div", Is, [
|
|
3922
|
+
(w(!0), T(re, null, ie(r.item.items, (s, c) => {
|
|
3923
|
+
var f, d;
|
|
3924
|
+
return w(), T("div", {
|
|
3925
|
+
key: c,
|
|
3926
|
+
class: E(["item", { "menu-item-opened": r.menuBar.opened }]),
|
|
3927
|
+
onMouseenter: (p) => i.showTooltipItems(p, s),
|
|
3928
|
+
onMouseleave: (p) => i.hideTooltipItems(p, s)
|
|
3929
|
+
}, [
|
|
3930
|
+
J(o, {
|
|
3931
|
+
item: s,
|
|
3932
|
+
leftItems: r.leftMenuItems,
|
|
3933
|
+
onChangeMenuItem: t[0] || (t[0] = (p) => i.handleMenuItem(p)),
|
|
3934
|
+
menuBar: r.menuBar
|
|
3935
|
+
}, null, 8, ["item", "leftItems", "menuBar"]),
|
|
3936
|
+
(f = s.items) != null && f.length ? cn((w(), ye(l, {
|
|
3937
|
+
key: 0,
|
|
3938
|
+
onChangeMenuItem: t[1] || (t[1] = (p) => i.handleMenuItem(p)),
|
|
3939
|
+
onTooltip: t[2] || (t[2] = (p) => i.handleTooltip(p)),
|
|
3940
|
+
item: s,
|
|
3941
|
+
menuBar: r.menuBar,
|
|
3942
|
+
"active-tooltip-item-id": n.activeTooltipItemId
|
|
3943
|
+
}, null, 8, ["item", "menuBar", "active-tooltip-item-id"])), [
|
|
3944
|
+
[dn, r.menuBar.opened]
|
|
3945
|
+
]) : N("", !0),
|
|
3946
|
+
n.activeTooltipItemId === s.id && ((d = s.items) != null && d.length) && !r.menuBar.opened ? (w(), T("div", {
|
|
3947
|
+
key: 1,
|
|
3948
|
+
class: "active-tooltip",
|
|
3949
|
+
onMouseenter: (p) => e.$emit("tooltip", s.id)
|
|
3950
|
+
}, [
|
|
3951
|
+
r.menuBar.opened ? N("", !0) : (w(!0), T(re, { key: 0 }, ie(s.items, (p) => (w(), T("div", {
|
|
3952
|
+
key: p.name,
|
|
3953
|
+
class: "tooltip-item",
|
|
3954
|
+
onClick: (g) => i.tooltipItemClick(g, s, p)
|
|
3955
|
+
}, be(p.name), 9, Ss))), 128))
|
|
3956
|
+
], 40, ws)) : N("", !0)
|
|
3957
|
+
], 42, xs);
|
|
3958
|
+
}), 128))
|
|
3959
|
+
])
|
|
3960
|
+
], 2);
|
|
3950
3961
|
}
|
|
3951
|
-
const
|
|
3962
|
+
const ks = /* @__PURE__ */ Se(bs, [["render", As], ["__scopeId", "data-v-eb230a0a"]]), Ms = {
|
|
3952
3963
|
name: "TopSubMenuItems",
|
|
3953
3964
|
components: {
|
|
3954
3965
|
FontAwesomeIcon: Re
|
|
@@ -3989,7 +4000,11 @@ const As = /* @__PURE__ */ Se(bs, [["render", Ss], ["__scopeId", "data-v-6f31ff1
|
|
|
3989
4000
|
t.opened = !0;
|
|
3990
4001
|
},
|
|
3991
4002
|
closeTopMenuItem(e, t) {
|
|
3992
|
-
t.opened = !1;
|
|
4003
|
+
t.opened = !1, t.openIcon = $, this.closeSubItems(t);
|
|
4004
|
+
},
|
|
4005
|
+
closeSubItems(e) {
|
|
4006
|
+
for (const t of e.items ?? [])
|
|
4007
|
+
t.opened = !1, t.openIcon = $, this.closeSubItems(t);
|
|
3993
4008
|
},
|
|
3994
4009
|
openTopMenuItem(e, t) {
|
|
3995
4010
|
var n;
|
|
@@ -3999,52 +4014,52 @@ const As = /* @__PURE__ */ Se(bs, [["render", Ss], ["__scopeId", "data-v-6f31ff1
|
|
|
3999
4014
|
}
|
|
4000
4015
|
}
|
|
4001
4016
|
}
|
|
4002
|
-
},
|
|
4003
|
-
function
|
|
4004
|
-
const o =
|
|
4005
|
-
return r.item.opened ? (w(),
|
|
4017
|
+
}, Ts = { class: "content" }, Ps = ["onMouseleave"], Os = ["onClick", "onMouseenter"], Fs = { key: 0 };
|
|
4018
|
+
function _s(e, t, n, a, r, i) {
|
|
4019
|
+
const o = B("FontAwesomeIcon"), l = B("TopSubMenuItems", !0);
|
|
4020
|
+
return r.item.opened ? (w(), T("div", {
|
|
4006
4021
|
key: 0,
|
|
4007
|
-
class:
|
|
4022
|
+
class: E(["top-sub-menu-items", { "tooltip-opened": r.item.opened }])
|
|
4008
4023
|
}, [
|
|
4009
|
-
C("div",
|
|
4010
|
-
(w(!0),
|
|
4011
|
-
var
|
|
4012
|
-
return w(),
|
|
4013
|
-
key:
|
|
4014
|
-
class: "item"
|
|
4024
|
+
C("div", Ts, [
|
|
4025
|
+
(w(!0), T(re, null, ie(r.item.items, (s, c) => {
|
|
4026
|
+
var f, d;
|
|
4027
|
+
return w(), T("div", {
|
|
4028
|
+
key: s.id,
|
|
4029
|
+
class: "item",
|
|
4030
|
+
onMouseleave: (p) => i.closeTopMenuItem(p, s)
|
|
4015
4031
|
}, [
|
|
4016
4032
|
C("div", {
|
|
4017
4033
|
class: "top-menu-item",
|
|
4018
|
-
onClick: mn((p) => i.openTopMenuItem(p,
|
|
4019
|
-
onMouseenter: (p) => i.openHoverTopMenuItem(p,
|
|
4034
|
+
onClick: mn((p) => i.openTopMenuItem(p, s), ["stop"]),
|
|
4035
|
+
onMouseenter: (p) => i.openHoverTopMenuItem(p, s)
|
|
4020
4036
|
}, [
|
|
4021
|
-
C("div", null, be(
|
|
4022
|
-
(
|
|
4037
|
+
C("div", null, be(s.name), 1),
|
|
4038
|
+
(f = s.items) != null && f.length ? (w(), T("div", Fs, [
|
|
4023
4039
|
J(o, {
|
|
4024
4040
|
size: "sm",
|
|
4025
|
-
class:
|
|
4026
|
-
icon:
|
|
4041
|
+
class: E({ "icon-opened": s.opened }),
|
|
4042
|
+
icon: s.openIcon
|
|
4027
4043
|
}, null, 8, ["class", "icon"])
|
|
4028
|
-
])) :
|
|
4029
|
-
], 40,
|
|
4030
|
-
(d =
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
item: l,
|
|
4044
|
+
])) : N("", !0)
|
|
4045
|
+
], 40, Os),
|
|
4046
|
+
(d = s.items) != null && d.length ? (w(), ye(l, {
|
|
4047
|
+
style: Ma({ top: `${Number(c) * 70}px`, right: `${2 * 10 + 40}px` }),
|
|
4048
|
+
key: s.id,
|
|
4049
|
+
item: s,
|
|
4035
4050
|
topMenuItems: r.topMenuItems,
|
|
4036
4051
|
menuBar: r.menuBar
|
|
4037
|
-
}, null, 8, ["
|
|
4038
|
-
]);
|
|
4052
|
+
}, null, 8, ["style", "item", "topMenuItems", "menuBar"])) : N("", !0)
|
|
4053
|
+
], 40, Ps);
|
|
4039
4054
|
}), 128))
|
|
4040
4055
|
])
|
|
4041
|
-
], 2)) :
|
|
4056
|
+
], 2)) : N("", !0);
|
|
4042
4057
|
}
|
|
4043
|
-
const
|
|
4058
|
+
const Cs = /* @__PURE__ */ Se(Ms, [["render", _s]]), Es = {
|
|
4044
4059
|
name: "TopMenuItems",
|
|
4045
4060
|
components: {
|
|
4046
4061
|
FontAwesomeIcon: Re,
|
|
4047
|
-
TopSubMenuItems:
|
|
4062
|
+
TopSubMenuItems: Cs
|
|
4048
4063
|
},
|
|
4049
4064
|
props: {
|
|
4050
4065
|
topMenuItems: {
|
|
@@ -4082,22 +4097,28 @@ const Fs = /* @__PURE__ */ Se(ks, [["render", Ts]]), _s = {
|
|
|
4082
4097
|
},
|
|
4083
4098
|
hoverOpenTopMenuItem(e, t) {
|
|
4084
4099
|
var n;
|
|
4085
|
-
this.menuTimeout && clearTimeout(this.menuTimeout),
|
|
4100
|
+
if (this.menuTimeout && clearTimeout(this.menuTimeout), t.opened) {
|
|
4101
|
+
this.menuTimeout = null;
|
|
4102
|
+
return;
|
|
4103
|
+
}
|
|
4104
|
+
(n = document.querySelector(`.horizontal-top-menu-item-${t.id}`)) == null || n.classList.add("menu-hover"), this.closeMenuTabs(this.topMenuItems);
|
|
4086
4105
|
for (const a of document.querySelectorAll(".top-sub-menu-items"))
|
|
4087
4106
|
a.classList.remove("tooltip-opened");
|
|
4088
4107
|
this.menuTimeout = setTimeout(() => {
|
|
4089
|
-
t.opened = !0, this.
|
|
4108
|
+
t.opened = !0, this.menuTimeout = null;
|
|
4090
4109
|
}, 200);
|
|
4091
4110
|
},
|
|
4092
4111
|
closeTopMenuItem(e, t) {
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4112
|
+
const n = document.querySelector(
|
|
4113
|
+
`.horizontal-top-menu-item-${t.id}`
|
|
4114
|
+
);
|
|
4115
|
+
n == null || n.classList.remove("menu-hover"), this.menuTimeout && clearTimeout(this.menuTimeout), this.menuTimeout = setTimeout(() => {
|
|
4116
|
+
t.opened = !1, t.openIcon = $, this.closeSubItems(t), this.menuTimeout = null;
|
|
4096
4117
|
}, 200);
|
|
4097
4118
|
},
|
|
4098
4119
|
closeTopMenu(e, t) {
|
|
4099
4120
|
var n;
|
|
4100
|
-
(n = t.items) != null && n.length || (t.opened = !1, t.openIcon =
|
|
4121
|
+
(n = t.items) != null && n.length || (t.opened = !1, t.openIcon = $);
|
|
4101
4122
|
},
|
|
4102
4123
|
openMenuItem(e, t) {
|
|
4103
4124
|
var n;
|
|
@@ -4108,54 +4129,52 @@ const Fs = /* @__PURE__ */ Se(ks, [["render", Ts]]), _s = {
|
|
|
4108
4129
|
},
|
|
4109
4130
|
closeMenuTabs(e) {
|
|
4110
4131
|
for (const t of e)
|
|
4111
|
-
t.opened = !1, t.openIcon =
|
|
4132
|
+
t.opened = !1, t.openIcon = $, this.closeSubItems(t);
|
|
4112
4133
|
},
|
|
4113
4134
|
closeSubItems(e) {
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
for (const n of e.items || [])
|
|
4117
|
-
n.opened = !1, (t = n.items) != null && t.length && this.closeSubItems(n);
|
|
4135
|
+
for (const t of e.items ?? [])
|
|
4136
|
+
t.opened = !1, t.openIcon = $, this.closeSubItems(t);
|
|
4118
4137
|
}
|
|
4119
4138
|
}
|
|
4120
|
-
},
|
|
4121
|
-
function
|
|
4122
|
-
const o =
|
|
4123
|
-
return w(),
|
|
4124
|
-
(w(!0),
|
|
4125
|
-
var
|
|
4126
|
-
return w(),
|
|
4127
|
-
key:
|
|
4128
|
-
class:
|
|
4129
|
-
onMouseenter: (d) => i.hoverOpenTopMenuItem(d,
|
|
4139
|
+
}, Ns = { class: "horizontal-top-menu" }, js = ["onMouseenter", "onMouseleave"], $s = ["onClick", "onMouseleave"], Ls = { key: 0 };
|
|
4140
|
+
function Bs(e, t, n, a, r, i) {
|
|
4141
|
+
const o = B("FontAwesomeIcon"), l = B("TopSubMenuItems");
|
|
4142
|
+
return w(), T("div", Ns, [
|
|
4143
|
+
(w(!0), T(re, null, ie(r.topMenuItems, (s) => {
|
|
4144
|
+
var c, f;
|
|
4145
|
+
return w(), T("div", {
|
|
4146
|
+
key: s.id,
|
|
4147
|
+
class: E(["horizontal-top-menu-item", { "menu-hover": s.opened, active: s.opened }]),
|
|
4148
|
+
onMouseenter: (d) => i.hoverOpenTopMenuItem(d, s),
|
|
4149
|
+
onMouseleave: (d) => i.closeTopMenuItem(d, s)
|
|
4130
4150
|
}, [
|
|
4131
4151
|
C("div", {
|
|
4132
4152
|
class: "top-menu-item-heading",
|
|
4133
|
-
onClick: (d) => i.openMenuItem(d,
|
|
4134
|
-
onMouseleave: (d) => i.closeTopMenu(d,
|
|
4153
|
+
onClick: (d) => i.openMenuItem(d, s),
|
|
4154
|
+
onMouseleave: (d) => i.closeTopMenu(d, s)
|
|
4135
4155
|
}, [
|
|
4136
|
-
C("div", null, be(
|
|
4137
|
-
(
|
|
4156
|
+
C("div", null, be(s.name), 1),
|
|
4157
|
+
(c = s.items) != null && c.length ? (w(), T("div", Ls, [
|
|
4138
4158
|
J(o, {
|
|
4139
4159
|
size: "sm",
|
|
4140
|
-
class:
|
|
4141
|
-
icon:
|
|
4160
|
+
class: E({ "icon-opened": s.opened }),
|
|
4161
|
+
icon: s.openIcon
|
|
4142
4162
|
}, null, 8, ["class", "icon"])
|
|
4143
|
-
])) :
|
|
4144
|
-
], 40,
|
|
4145
|
-
(
|
|
4163
|
+
])) : N("", !0)
|
|
4164
|
+
], 40, $s),
|
|
4165
|
+
(f = s.items) != null && f.length ? (w(), ye(l, {
|
|
4146
4166
|
key: 0,
|
|
4147
|
-
|
|
4148
|
-
item: l,
|
|
4167
|
+
item: s,
|
|
4149
4168
|
topMenuItems: r.topMenuItems,
|
|
4150
4169
|
menuBar: r.menuBar,
|
|
4151
4170
|
onClick: t[0] || (t[0] = mn(() => {
|
|
4152
4171
|
}, ["stop"]))
|
|
4153
|
-
}, null, 8, ["
|
|
4154
|
-
], 42,
|
|
4172
|
+
}, null, 8, ["item", "topMenuItems", "menuBar"])) : N("", !0)
|
|
4173
|
+
], 42, js);
|
|
4155
4174
|
}), 128))
|
|
4156
4175
|
]);
|
|
4157
4176
|
}
|
|
4158
|
-
const
|
|
4177
|
+
const zs = /* @__PURE__ */ Se(Es, [["render", Bs], ["__scopeId", "data-v-86faac3c"]]), un = [
|
|
4159
4178
|
{
|
|
4160
4179
|
name: "Light",
|
|
4161
4180
|
value: "light",
|
|
@@ -4196,13 +4215,13 @@ const $s = /* @__PURE__ */ Se(_s, [["render", Ls], ["__scopeId", "data-v-9060ac8
|
|
|
4196
4215
|
text: "#000000",
|
|
4197
4216
|
iconColor: "#000000"
|
|
4198
4217
|
}
|
|
4199
|
-
],
|
|
4218
|
+
], Ds = je({
|
|
4200
4219
|
name: "MenuPlate",
|
|
4201
4220
|
components: {
|
|
4202
4221
|
FontAwesomeIcon: Re,
|
|
4203
4222
|
MenuItem: xa,
|
|
4204
|
-
SubMenuItems:
|
|
4205
|
-
TopMenuItem:
|
|
4223
|
+
SubMenuItems: ks,
|
|
4224
|
+
TopMenuItem: zs
|
|
4206
4225
|
},
|
|
4207
4226
|
props: {
|
|
4208
4227
|
initialMenuBar: {
|
|
@@ -4222,8 +4241,8 @@ const $s = /* @__PURE__ */ Se(_s, [["render", Ls], ["__scopeId", "data-v-9060ac8
|
|
|
4222
4241
|
default: () => []
|
|
4223
4242
|
},
|
|
4224
4243
|
theme: {
|
|
4225
|
-
type:
|
|
4226
|
-
default: () => new
|
|
4244
|
+
type: Pt,
|
|
4245
|
+
default: () => new Pt()
|
|
4227
4246
|
},
|
|
4228
4247
|
loader: {
|
|
4229
4248
|
type: Boolean,
|
|
@@ -4257,12 +4276,13 @@ const $s = /* @__PURE__ */ Se(_s, [["render", Ls], ["__scopeId", "data-v-9060ac8
|
|
|
4257
4276
|
data() {
|
|
4258
4277
|
return {
|
|
4259
4278
|
menuBar: this.initialMenuBar,
|
|
4260
|
-
faChevronDown:
|
|
4279
|
+
faChevronDown: $,
|
|
4261
4280
|
faChevronUp: ce,
|
|
4262
4281
|
topMenuItems: [],
|
|
4263
4282
|
leftMenuItems: [],
|
|
4264
4283
|
tooltip: !1,
|
|
4265
|
-
|
|
4284
|
+
tooltipItemId: null,
|
|
4285
|
+
tooltipTimeout: null,
|
|
4266
4286
|
topItems: this.topItems,
|
|
4267
4287
|
leftItems: this.leftItems,
|
|
4268
4288
|
floor: 20,
|
|
@@ -4296,23 +4316,29 @@ const $s = /* @__PURE__ */ Se(_s, [["render", Ls], ["__scopeId", "data-v-9060ac8
|
|
|
4296
4316
|
return n;
|
|
4297
4317
|
},
|
|
4298
4318
|
openVerticalMenu(e) {
|
|
4299
|
-
this.menuBar.opened = !this.menuBar.opened, this.menuBar.changeIcon = "flip", this.menuBar.icon = this.menuBar.opened ?
|
|
4319
|
+
this.menuBar.opened = !this.menuBar.opened, this.menuBar.changeIcon = "flip", this.menuBar.icon = this.menuBar.opened ? Oa : pn;
|
|
4300
4320
|
},
|
|
4301
4321
|
openSubMenu(e) {
|
|
4302
4322
|
e.opened = !e.opened;
|
|
4303
4323
|
},
|
|
4304
4324
|
showTooltipItems(e, t) {
|
|
4305
|
-
|
|
4325
|
+
var n;
|
|
4326
|
+
this.menuBar.opened || (this.tooltip = !!((n = t.items) != null && n.length), this.tooltipItemId = this.tooltip ? t.id : null);
|
|
4306
4327
|
},
|
|
4307
|
-
hideTooltipItems(e) {
|
|
4308
|
-
this.menuBar.opened
|
|
4328
|
+
hideTooltipItems(e, t) {
|
|
4329
|
+
!this.menuBar.opened && this.tooltipItemId === t.id && (this.tooltipTimeout && clearTimeout(this.tooltipTimeout), this.tooltipTimeout = setTimeout(() => {
|
|
4330
|
+
this.setTooltipItem(null);
|
|
4331
|
+
}, 150));
|
|
4332
|
+
},
|
|
4333
|
+
setTooltipItem(e) {
|
|
4334
|
+
this.tooltipTimeout && (clearTimeout(this.tooltipTimeout), this.tooltipTimeout = null), this.tooltipItemId = e, this.tooltip = e !== null;
|
|
4309
4335
|
},
|
|
4310
4336
|
handleOpenMenu(e) {
|
|
4311
4337
|
var n;
|
|
4312
4338
|
for (const a of this.leftMenuItems || [])
|
|
4313
|
-
(n = a.items) != null && n.length && (a.opened = !0, a.openIcon = a.openIcon ?
|
|
4339
|
+
(n = a.items) != null && n.length && (a.opened = !0, a.openIcon = a.openIcon ? $ : ce);
|
|
4314
4340
|
const t = this.leftMenuItems.find((a) => a.name === e.name);
|
|
4315
|
-
t && (t.opened = !t.opened, t.openIcon = t.opened ?
|
|
4341
|
+
t && (t.opened = !t.opened, t.openIcon = t.opened ? $ : ce);
|
|
4316
4342
|
},
|
|
4317
4343
|
openTooltipItem(e, t, n) {
|
|
4318
4344
|
var a;
|
|
@@ -4334,84 +4360,88 @@ const $s = /* @__PURE__ */ Se(_s, [["render", Ls], ["__scopeId", "data-v-9060ac8
|
|
|
4334
4360
|
n.active = !1, (t = n.items) != null && t.length && this.closeItems(n.items);
|
|
4335
4361
|
}
|
|
4336
4362
|
}
|
|
4337
|
-
}),
|
|
4363
|
+
}), Rs = { class: "menu-container" }, Ws = { class: "horizontal-menu" }, Us = { class: "menu-button" }, Ys = ["onMouseenter", "onMouseleave"], Hs = ["onMouseenter", "onMouseleave"], Gs = ["onClick"], Xs = {
|
|
4338
4364
|
key: 0,
|
|
4339
4365
|
class: "loader"
|
|
4340
4366
|
};
|
|
4341
|
-
function
|
|
4342
|
-
const o =
|
|
4343
|
-
return w(),
|
|
4344
|
-
C("div",
|
|
4345
|
-
C("div",
|
|
4367
|
+
function Ks(e, t, n, a, r, i) {
|
|
4368
|
+
const o = B("FontAwesomeIcon"), l = B("TopMenuItem"), s = B("MenuItem"), c = B("SubMenuItems");
|
|
4369
|
+
return w(), T("div", Rs, [
|
|
4370
|
+
C("div", Ws, [
|
|
4371
|
+
C("div", Us, [
|
|
4346
4372
|
C("div", {
|
|
4347
4373
|
class: "menu-icon",
|
|
4348
|
-
onClick: t[0] || (t[0] = (
|
|
4374
|
+
onClick: t[0] || (t[0] = (f) => e.openVerticalMenu(f))
|
|
4349
4375
|
}, [
|
|
4350
4376
|
e.menuBar.icon ? (w(), ye(o, {
|
|
4351
4377
|
key: 0,
|
|
4352
4378
|
icon: e.menuBar.icon,
|
|
4353
4379
|
size: "1x"
|
|
4354
|
-
}, null, 8, ["icon"])) :
|
|
4380
|
+
}, null, 8, ["icon"])) : N("", !0)
|
|
4355
4381
|
])
|
|
4356
4382
|
]),
|
|
4357
|
-
J(
|
|
4383
|
+
J(l, {
|
|
4358
4384
|
topMenuItems: e.topMenuItems,
|
|
4359
4385
|
menuBar: e.menuBar
|
|
4360
4386
|
}, null, 8, ["topMenuItems", "menuBar"])
|
|
4361
4387
|
]),
|
|
4362
4388
|
C("div", {
|
|
4363
|
-
class:
|
|
4389
|
+
class: E(["vertical-menu", { "vertical-menu-opened": e.menuBar.opened }])
|
|
4364
4390
|
}, [
|
|
4365
|
-
(w(!0),
|
|
4391
|
+
(w(!0), T(re, null, ie(e.leftMenuItems, (f, d) => {
|
|
4366
4392
|
var p, g;
|
|
4367
|
-
return w(),
|
|
4393
|
+
return w(), T("div", {
|
|
4368
4394
|
key: d,
|
|
4369
|
-
class:
|
|
4370
|
-
onMouseenter: (b) => e.showTooltipItems(b,
|
|
4395
|
+
class: E(["menu-item-heading", { "item-active": f.active }]),
|
|
4396
|
+
onMouseenter: (b) => e.showTooltipItems(b, f),
|
|
4397
|
+
onMouseleave: (b) => e.hideTooltipItems(b, f)
|
|
4371
4398
|
}, [
|
|
4372
4399
|
C("div", {
|
|
4373
|
-
class:
|
|
4400
|
+
class: E(["item", { "menu-item-opened": e.menuBar.opened }])
|
|
4374
4401
|
}, [
|
|
4375
|
-
J(
|
|
4376
|
-
item:
|
|
4402
|
+
J(s, {
|
|
4403
|
+
item: f,
|
|
4377
4404
|
menuBar: e.menuBar,
|
|
4378
4405
|
"left-items": e.leftMenuItems
|
|
4379
4406
|
}, null, 8, ["item", "menuBar", "left-items"]),
|
|
4380
|
-
cn(J(
|
|
4407
|
+
cn(J(c, {
|
|
4381
4408
|
onOpenmenu: t[1] || (t[1] = (b) => e.handleOpenMenu(b)),
|
|
4382
4409
|
onChangeMenuItem: t[2] || (t[2] = (b) => e.handleMenuItem(b)),
|
|
4410
|
+
onTooltip: t[3] || (t[3] = (b) => e.setTooltipItem(b)),
|
|
4383
4411
|
"left-menu-items": e.leftMenuItems,
|
|
4384
|
-
item:
|
|
4385
|
-
menuBar: e.menuBar
|
|
4386
|
-
|
|
4412
|
+
item: f,
|
|
4413
|
+
menuBar: e.menuBar,
|
|
4414
|
+
"active-tooltip-item-id": e.tooltipItemId
|
|
4415
|
+
}, null, 8, ["left-menu-items", "item", "menuBar", "active-tooltip-item-id"]), [
|
|
4387
4416
|
[dn, e.menuBar.opened]
|
|
4388
4417
|
]),
|
|
4389
|
-
e.tooltip && ((p =
|
|
4418
|
+
e.tooltip && e.tooltipItemId === f.id && ((p = f.items) != null && p.length) && !e.menuBar.opened ? (w(), T("div", {
|
|
4390
4419
|
key: 0,
|
|
4391
|
-
class:
|
|
4420
|
+
class: E([
|
|
4392
4421
|
"active-tooltip",
|
|
4393
4422
|
{
|
|
4394
|
-
"tooltip-opened": e.tooltip && ((g =
|
|
4423
|
+
"tooltip-opened": e.tooltip && e.tooltipItemId === f.id && ((g = f.items) == null ? void 0 : g.length) && !e.menuBar.opened
|
|
4395
4424
|
}
|
|
4396
4425
|
]),
|
|
4397
|
-
|
|
4426
|
+
onMouseenter: (b) => e.setTooltipItem(f.id),
|
|
4427
|
+
onMouseleave: (b) => e.hideTooltipItems(b, f)
|
|
4398
4428
|
}, [
|
|
4399
|
-
(w(!0),
|
|
4429
|
+
(w(!0), T(re, null, ie(f.items, (b) => (w(), T("div", {
|
|
4400
4430
|
key: b.name,
|
|
4401
4431
|
class: "tooltip-item",
|
|
4402
|
-
onClick: (I) => e.openTooltipItem(I, b,
|
|
4403
|
-
}, be(b.name), 9,
|
|
4404
|
-
],
|
|
4432
|
+
onClick: (I) => e.openTooltipItem(I, b, f)
|
|
4433
|
+
}, be(b.name), 9, Gs))), 128))
|
|
4434
|
+
], 42, Hs)) : N("", !0)
|
|
4405
4435
|
], 2)
|
|
4406
|
-
], 42,
|
|
4436
|
+
], 42, Ys);
|
|
4407
4437
|
}), 128))
|
|
4408
4438
|
], 2),
|
|
4409
4439
|
C("div", {
|
|
4410
|
-
class:
|
|
4440
|
+
class: E(["main", { "main-loading": e.menuBar.loading }])
|
|
4411
4441
|
}, [
|
|
4412
|
-
|
|
4442
|
+
Ta(e.$slots, "handler", {}, void 0, !0)
|
|
4413
4443
|
], 2),
|
|
4414
|
-
e.menuBar.loading && e.loader ? (w(),
|
|
4444
|
+
e.menuBar.loading && e.loader ? (w(), T("div", Xs, [...t[4] || (t[4] = [
|
|
4415
4445
|
C("svg", {
|
|
4416
4446
|
class: "loader-icon",
|
|
4417
4447
|
viewBox: "0 0 64 64",
|
|
@@ -4430,14 +4460,14 @@ function Hs(e, t, n, a, r, i) {
|
|
|
4430
4460
|
r: "24"
|
|
4431
4461
|
})
|
|
4432
4462
|
], -1)
|
|
4433
|
-
])])) :
|
|
4463
|
+
])])) : N("", !0)
|
|
4434
4464
|
]);
|
|
4435
4465
|
}
|
|
4436
|
-
const
|
|
4466
|
+
const Zs = /* @__PURE__ */ Se(Ds, [["render", Ks], ["__scopeId", "data-v-2eedc0d8"]]);
|
|
4437
4467
|
export {
|
|
4438
|
-
|
|
4468
|
+
Js as LeftMenuModel,
|
|
4439
4469
|
Fa as MenuBarModel,
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4470
|
+
Qs as MenuItemModel,
|
|
4471
|
+
Zs as MenuPlate,
|
|
4472
|
+
Pt as ThemeModel
|
|
4443
4473
|
};
|