@eui/core 23.0.0-alpha.2 → 23.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/docs/architecture.html +223 -0
  3. package/docs/changelog.html +87 -2
  4. package/docs/classes/ActivatedRouteAction.html +70 -20
  5. package/docs/classes/AddApiQueueItemAction.html +70 -20
  6. package/docs/classes/AddAppLoadedConfigModulesAction.html +70 -20
  7. package/docs/classes/ApiQueueServiceMock.html +77 -20
  8. package/docs/classes/AsyncStorageService.html +86 -20
  9. package/docs/classes/AsyncStorageServiceMock.html +73 -17
  10. package/docs/classes/CssUtils.html +74 -20
  11. package/docs/classes/EmptyApiQueueAction.html +67 -17
  12. package/docs/classes/ErrorSubClass.html +68 -16
  13. package/docs/classes/EuiAppShellServiceMock.html +58 -20
  14. package/docs/classes/EuiCoreRootGuardClass.html +39 -8
  15. package/docs/classes/EuiError.html +69 -17
  16. package/docs/classes/I18nResourceImpl.html +50 -17
  17. package/docs/classes/InitStoreAction.html +70 -20
  18. package/docs/classes/LogServiceMock.html +67 -17
  19. package/docs/classes/RemoveApiQueueItemAction.html +67 -17
  20. package/docs/classes/StorageService.html +83 -19
  21. package/docs/classes/StorageServiceMock.html +70 -17
  22. package/docs/classes/TranslateServiceMock.html +90 -35
  23. package/docs/classes/UpdateAppConnectionAction.html +67 -17
  24. package/docs/classes/UpdateAppStatusAction.html +67 -17
  25. package/docs/classes/UpdateAppVersionAction.html +67 -17
  26. package/docs/classes/UpdateCurrentModuleAction.html +67 -17
  27. package/docs/classes/UpdateI18nStateAction.html +67 -17
  28. package/docs/classes/UpdateLocaleStateAction.html +67 -17
  29. package/docs/classes/UpdateNotificationsListAction.html +67 -17
  30. package/docs/classes/UpdateUserDashboardAction.html +67 -17
  31. package/docs/classes/UpdateUserDetailsAction.html +67 -17
  32. package/docs/classes/UpdateUserPreferencesAction.html +67 -17
  33. package/docs/classes/UpdateUserRightsAction.html +67 -17
  34. package/docs/classes/UpdateUserStateAction.html +67 -17
  35. package/docs/dependencies.html +38 -4
  36. package/docs/directives/TranslateMockDirective.html +72 -19
  37. package/docs/index.html +26 -2
  38. package/docs/injectables/ApiQueueService.html +97 -20
  39. package/docs/injectables/EuiAppShellService.html +147 -68
  40. package/docs/injectables/EuiDynamicComponentService.html +51 -18
  41. package/docs/injectables/EuiDynamicMenuService.html +67 -20
  42. package/docs/injectables/EuiGrowlService.html +85 -21
  43. package/docs/injectables/EuiLoaderService.html +65 -17
  44. package/docs/injectables/EuiPermissionService.html +95 -20
  45. package/docs/injectables/EuiThemeService.html +89 -34
  46. package/docs/injectables/EuiTimezoneService.html +51 -16
  47. package/docs/injectables/GlobalErrorHandler.html +79 -17
  48. package/docs/injectables/I18nLoader.html +53 -17
  49. package/docs/injectables/I18nService.html +101 -23
  50. package/docs/injectables/I18nServiceMock.html +96 -34
  51. package/docs/injectables/LocalForageService.html +81 -21
  52. package/docs/injectables/LocalStorageService.html +78 -21
  53. package/docs/injectables/LocaleService.html +124 -41
  54. package/docs/injectables/LocaleServiceMock.html +72 -18
  55. package/docs/injectables/LogService.html +68 -17
  56. package/docs/injectables/SessionStorageService.html +78 -21
  57. package/docs/injectables/StoreService.html +91 -22
  58. package/docs/injectables/StoreServiceMock.html +72 -17
  59. package/docs/injectables/UserService.html +97 -23
  60. package/docs/injectables/UserServiceMock.html +81 -23
  61. package/docs/interceptors/AddLangParamInterceptor.html +49 -18
  62. package/docs/interceptors/CachePreventionInterceptor.html +48 -17
  63. package/docs/interceptors/CorsSecurityInterceptor.html +48 -17
  64. package/docs/interceptors/CsrfPreventionInterceptor.html +48 -17
  65. package/docs/interceptors/EuLoginSessionTimeoutHandlingInterceptor.html +48 -17
  66. package/docs/interceptors/HttpErrorHandlerInterceptor.html +48 -17
  67. package/docs/interceptors/UxRequestErrorModelInterceptor.html +48 -17
  68. package/docs/interfaces/Action.html +158 -60
  69. package/docs/interfaces/ActionReducer.html +84 -55
  70. package/docs/interfaces/ComponentInfo.html +151 -123
  71. package/docs/interfaces/Dependency.html +278 -250
  72. package/docs/interfaces/Edit-1.html +151 -123
  73. package/docs/interfaces/Edit-2.html +151 -123
  74. package/docs/interfaces/Edit.html +151 -123
  75. package/docs/interfaces/EuiComponentEntry.html +230 -202
  76. package/docs/interfaces/EuiTimeZone.html +121 -93
  77. package/docs/interfaces/IEuiTheme.html +181 -153
  78. package/docs/interfaces/ImportToAdd.html +164 -136
  79. package/docs/interfaces/ImportsArrayInfo.html +121 -93
  80. package/docs/interfaces/Library.html +169 -137
  81. package/docs/interfaces/LoadedResources.html +164 -136
  82. package/docs/interfaces/LoadedResourcesError.html +121 -93
  83. package/docs/interfaces/MemoizedSelector.html +187 -138
  84. package/docs/interfaces/MemoizedSelectorWithProps.html +188 -139
  85. package/docs/interfaces/MigrateAllSchema.html +228 -200
  86. package/docs/interfaces/MigrationResult.html +151 -123
  87. package/docs/interfaces/ModuleLoadEvent.html +164 -136
  88. package/docs/interfaces/ModuleMapping.html +121 -93
  89. package/docs/interfaces/NgModuleInfo.html +151 -123
  90. package/docs/interfaces/Policy.html +164 -136
  91. package/docs/interfaces/ResourceError.html +170 -142
  92. package/docs/interfaces/Schema-1.html +140 -112
  93. package/docs/interfaces/Schema-10.html +140 -112
  94. package/docs/interfaces/Schema-11.html +140 -112
  95. package/docs/interfaces/Schema-12.html +140 -112
  96. package/docs/interfaces/Schema-13.html +140 -112
  97. package/docs/interfaces/Schema-14.html +140 -112
  98. package/docs/interfaces/Schema-15.html +140 -112
  99. package/docs/interfaces/Schema-16.html +140 -112
  100. package/docs/interfaces/Schema-17.html +140 -112
  101. package/docs/interfaces/Schema-18.html +140 -112
  102. package/docs/interfaces/Schema-19.html +140 -112
  103. package/docs/interfaces/Schema-2.html +141 -113
  104. package/docs/interfaces/Schema-20.html +140 -112
  105. package/docs/interfaces/Schema-3.html +180 -152
  106. package/docs/interfaces/Schema-4.html +140 -112
  107. package/docs/interfaces/Schema-5.html +140 -112
  108. package/docs/interfaces/Schema-6.html +140 -112
  109. package/docs/interfaces/Schema-7.html +140 -112
  110. package/docs/interfaces/Schema-8.html +140 -112
  111. package/docs/interfaces/Schema-9.html +140 -112
  112. package/docs/interfaces/Schema.html +184 -156
  113. package/docs/interfaces/SelectorEntry.html +230 -202
  114. package/docs/interfaces/TextChange.html +151 -123
  115. package/docs/interfaces/ThemeState.html +121 -93
  116. package/docs/interfaces/TranslationKeys.html +41 -11
  117. package/docs/interfaces/UIState.html +1669 -1641
  118. package/docs/interfaces/body.html +181 -153
  119. package/docs/js/architecture-graph.js +288 -0
  120. package/docs/js/libs/bootstrap-native.js +4 -2
  121. package/docs/js/libs/tablesort.min.js +3 -3
  122. package/docs/js/libs/tablesort.number.min.js +2 -2
  123. package/docs/js/libs/vis-network.min.js +7 -7
  124. package/docs/js/menu-wc.js +47 -14
  125. package/docs/js/routes.js +138 -37
  126. package/docs/js/search/search.js +62 -0
  127. package/docs/js/search/search_index.js +2 -2
  128. package/docs/js/tabs.js +98 -15
  129. package/docs/js/tree.js +44 -7
  130. package/docs/json/EuiPermissionService.md +1 -0
  131. package/docs/json/LocaleService.md +1 -0
  132. package/docs/json/documentation.json +7181 -1557
  133. package/docs/license.html +26 -2
  134. package/docs/llms.txt +2282 -0
  135. package/docs/miscellaneous/enumerations.html +34 -10
  136. package/docs/miscellaneous/functions.html +550 -394
  137. package/docs/miscellaneous/typealiases.html +59 -27
  138. package/docs/miscellaneous/variables.html +196 -175
  139. package/docs/modules/CoreModule.html +34 -9
  140. package/docs/modules/I18nModule.html +34 -9
  141. package/docs/modules/LogModule.html +34 -9
  142. package/docs/modules/TranslateMockModule.html +60 -13
  143. package/docs/modules.html +26 -2
  144. package/docs/overview.html +27 -3
  145. package/docs/pipes/TranslateMockPipe.html +87 -9
  146. package/docs/properties.html +27 -3
  147. package/docs/routes.html +26 -2
  148. package/docs/styles/compodoc.css +365 -44
  149. package/docs/styles/dark.css +16 -0
  150. package/docs/template-playground/hbs-render.service.ts +6 -1
  151. package/fesm2022/eui-core.mjs +26 -27
  152. package/fesm2022/eui-core.mjs.map +1 -1
  153. package/package.json +2 -2
  154. package/types/eui-core.d.ts +9 -11
  155. package/types/eui-core.d.ts.map +1 -1
  156. package/docs/js/menu-wc_es5.js +0 -40
@@ -0,0 +1,288 @@
1
+ document.addEventListener("DOMContentLoaded", function () {
2
+ var container = document.getElementById("architecture-graph");
3
+ if (!container) {
4
+ return;
5
+ }
6
+ if (
7
+ typeof ARCHITECTURE_DEP_GRAPH === "undefined" ||
8
+ !ARCHITECTURE_DEP_GRAPH ||
9
+ !ARCHITECTURE_DEP_GRAPH.nodes
10
+ ) {
11
+ return;
12
+ }
13
+ if (typeof vis === "undefined" || !vis.Network) {
14
+ return;
15
+ }
16
+
17
+ var typeColors = {
18
+ component: "#10b39c",
19
+ directive: "#6747dd",
20
+ pipe: "#de3b91",
21
+ module: "#2973f0",
22
+ injectable: "#b77006",
23
+ };
24
+ var isDarkMode = function () {
25
+ return !!(document.body && document.body.classList.contains("dark"));
26
+ };
27
+ var getNodeTextColor = function () {
28
+ return isDarkMode() ? "#f0f0f0" : "#2d2d2d";
29
+ };
30
+ var getEdgeColor = function () {
31
+ return isDarkMode() ? "#b5b5b5" : "#8b8b8b";
32
+ };
33
+ var getEdgeOpacity = function () {
34
+ return isDarkMode() ? 0.8 : 0.65;
35
+ };
36
+
37
+ var allNodes = ARCHITECTURE_DEP_GRAPH.nodes.map(function (node) {
38
+ return {
39
+ id: node.id,
40
+ label: node.name,
41
+ type: node.type,
42
+ url: node.url,
43
+ };
44
+ });
45
+ var allEdges = ARCHITECTURE_DEP_GRAPH.edges.map(function (edge) {
46
+ return {
47
+ from: edge.source,
48
+ to: edge.target,
49
+ };
50
+ });
51
+
52
+ if (!allNodes.length || !allEdges.length) {
53
+ container.innerHTML =
54
+ '<p class="alert alert-warning">No dependency links to render.</p>';
55
+ return;
56
+ }
57
+
58
+ var degreeByNodeId = {};
59
+ allEdges.forEach(function (edge) {
60
+ degreeByNodeId[edge.from] = (degreeByNodeId[edge.from] || 0) + 1;
61
+ degreeByNodeId[edge.to] = (degreeByNodeId[edge.to] || 0) + 1;
62
+ });
63
+
64
+ allNodes = allNodes.map(function (node) {
65
+ var degree = degreeByNodeId[node.id] || 1;
66
+ return {
67
+ id: node.id,
68
+ label: node.label,
69
+ title: node.label + " (" + node.type + ")",
70
+ type: node.type,
71
+ url: node.url,
72
+ color: typeColors[node.type] || typeColors.module,
73
+ size: Math.min(30, 10 + degree * 1.3),
74
+ font: { color: getNodeTextColor(), size: 12 },
75
+ borderWidth: 1,
76
+ };
77
+ });
78
+
79
+ var activeTypes = {};
80
+ var knownTypes = ["component", "directive", "pipe", "module", "injectable"];
81
+ knownTypes.forEach(function (type) {
82
+ activeTypes[type] = true;
83
+ });
84
+
85
+ var nodeById = {};
86
+ allNodes.forEach(function (node) {
87
+ nodeById[node.id] = node;
88
+ });
89
+
90
+ var network;
91
+ var currentScale = 1;
92
+
93
+ var applyGraphTheme = function () {
94
+ var textColor = getNodeTextColor();
95
+ var edgeColor = getEdgeColor();
96
+ var edgeOpacity = getEdgeOpacity();
97
+
98
+ for (var i = 0; i < allNodes.length; i++) {
99
+ allNodes[i].font = allNodes[i].font || {};
100
+ allNodes[i].font.color = textColor;
101
+ }
102
+
103
+ if (network) {
104
+ network.setOptions({
105
+ edges: {
106
+ color: { color: edgeColor, opacity: edgeOpacity },
107
+ },
108
+ });
109
+ }
110
+ };
111
+
112
+ var getFilteredGraphData = function () {
113
+ var visibleNodes = allNodes.filter(function (node) {
114
+ return activeTypes[node.type];
115
+ });
116
+ var visibleNodeIds = {};
117
+ visibleNodes.forEach(function (node) {
118
+ visibleNodeIds[node.id] = true;
119
+ });
120
+ var visibleEdges = allEdges.filter(function (edge) {
121
+ return visibleNodeIds[edge.from] && visibleNodeIds[edge.to];
122
+ });
123
+ return { nodes: visibleNodes, edges: visibleEdges };
124
+ };
125
+
126
+ var renderFilteredGraph = function () {
127
+ var filtered = getFilteredGraphData();
128
+ network.setData({
129
+ nodes: new vis.DataSet(filtered.nodes),
130
+ edges: new vis.DataSet(filtered.edges),
131
+ });
132
+ network.stabilize(120);
133
+ };
134
+
135
+ var options = {
136
+ autoResize: true,
137
+ layout: {
138
+ improvedLayout: true,
139
+ },
140
+ interaction: {
141
+ hover: true,
142
+ dragView: true,
143
+ zoomView: true,
144
+ },
145
+ physics: {
146
+ enabled: true,
147
+ stabilization: {
148
+ enabled: true,
149
+ iterations: 180,
150
+ fit: true,
151
+ },
152
+ barnesHut: {
153
+ gravitationalConstant: -6000,
154
+ centralGravity: 0.35,
155
+ springLength: 130,
156
+ springConstant: 0.02,
157
+ damping: 0.2,
158
+ },
159
+ },
160
+ edges: {
161
+ arrows: { to: { enabled: true, scaleFactor: 0.6 } },
162
+ color: { color: getEdgeColor(), opacity: getEdgeOpacity() },
163
+ smooth: {
164
+ enabled: true,
165
+ type: "dynamic",
166
+ },
167
+ },
168
+ nodes: {
169
+ shape: "dot",
170
+ scaling: {
171
+ min: 9,
172
+ max: 32,
173
+ },
174
+ },
175
+ };
176
+
177
+ var initialData = getFilteredGraphData();
178
+ network = new vis.Network(
179
+ container,
180
+ {
181
+ nodes: new vis.DataSet(initialData.nodes),
182
+ edges: new vis.DataSet(initialData.edges),
183
+ },
184
+ options,
185
+ );
186
+
187
+ network.on("click", function (params) {
188
+ if (!params.nodes || params.nodes.length === 0) {
189
+ return;
190
+ }
191
+ var node = nodeById[params.nodes[0]];
192
+ if (node && node.url) {
193
+ document.location.href = node.url;
194
+ }
195
+ });
196
+
197
+ network.once("stabilizationIterationsDone", function () {
198
+ network.fit({ animation: { duration: 250, easingFunction: "easeOutQuad" } });
199
+ currentScale = 1;
200
+ });
201
+ applyGraphTheme();
202
+
203
+ var legendButtons = document.querySelectorAll("[data-architecture-filter]");
204
+ var updateLegendState = function () {
205
+ for (var i = 0; i < legendButtons.length; i++) {
206
+ var button = legendButtons[i];
207
+ var type = button.getAttribute("data-architecture-filter");
208
+ var active = !!activeTypes[type];
209
+ button.setAttribute("aria-pressed", active ? "true" : "false");
210
+ if (active) {
211
+ button.classList.remove("is-disabled");
212
+ } else {
213
+ button.classList.add("is-disabled");
214
+ }
215
+ }
216
+ };
217
+
218
+ for (var i = 0; i < legendButtons.length; i++) {
219
+ legendButtons[i].addEventListener("click", function (event) {
220
+ event.preventDefault();
221
+ var type = this.getAttribute("data-architecture-filter");
222
+ if (!type) {
223
+ return;
224
+ }
225
+
226
+ activeTypes[type] = !activeTypes[type];
227
+
228
+ var activeCount = 0;
229
+ knownTypes.forEach(function (entry) {
230
+ if (activeTypes[entry]) {
231
+ activeCount += 1;
232
+ }
233
+ });
234
+ if (activeCount === 0) {
235
+ knownTypes.forEach(function (entry) {
236
+ activeTypes[entry] = true;
237
+ });
238
+ }
239
+
240
+ updateLegendState();
241
+ renderFilteredGraph();
242
+ });
243
+ }
244
+ updateLegendState();
245
+
246
+ var zoomIn = document.getElementById("architecture-zoom-in");
247
+ var zoomOut = document.getElementById("architecture-zoom-out");
248
+ var reset = document.getElementById("architecture-reset");
249
+
250
+ if (zoomIn) {
251
+ zoomIn.addEventListener("click", function (ev) {
252
+ ev.preventDefault();
253
+ currentScale = Math.min(4, currentScale * 1.25);
254
+ network.moveTo({
255
+ scale: currentScale,
256
+ animation: { duration: 160, easingFunction: "easeOutQuad" },
257
+ });
258
+ });
259
+ }
260
+ if (zoomOut) {
261
+ zoomOut.addEventListener("click", function (ev) {
262
+ ev.preventDefault();
263
+ currentScale = Math.max(0.2, currentScale / 1.25);
264
+ network.moveTo({
265
+ scale: currentScale,
266
+ animation: { duration: 160, easingFunction: "easeOutQuad" },
267
+ });
268
+ });
269
+ }
270
+ if (reset) {
271
+ reset.addEventListener("click", function (ev) {
272
+ ev.preventDefault();
273
+ network.fit({ animation: { duration: 180, easingFunction: "easeOutQuad" } });
274
+ currentScale = 1;
275
+ });
276
+ }
277
+
278
+ if (window.MutationObserver && document.body) {
279
+ var bodyThemeObserver = new MutationObserver(function () {
280
+ applyGraphTheme();
281
+ renderFilteredGraph();
282
+ });
283
+ bodyThemeObserver.observe(document.body, {
284
+ attributes: true,
285
+ attributeFilter: ["class"],
286
+ });
287
+ }
288
+ });
@@ -1,2 +1,4 @@
1
- var BSN=(function(N){"use strict";const Ms="aria-describedby",ue="aria-expanded",qt="aria-hidden",ge="aria-modal",Bs="aria-pressed",Le="aria-selected",Oe="focus",ke="focusin",Rs="focusout",pe="keydown",Wo="keyup",D="click",Fs="mousedown",jo="hover",me="mouseenter",Ne="mouseleave",Ws="pointerdown",zo="pointermove",Ko="pointerup",ve="touchstart",Vo="dragstart",Xo='a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"]',Me="ArrowDown",Be="ArrowUp",js="ArrowLeft",zs="ArrowRight",Re="Escape",qo="transitionDuration",Uo="transitionDelay",Fe="transitionend",Ks="transitionProperty",Vs=()=>{const e=/iPhone|iPad|iPod|Android/i;return navigator?.userAgentData?.brands.some(t=>e.test(t.brand))||e.test(navigator?.userAgent)||!1},Yo=()=>{const e=/(iPhone|iPod|iPad)/;return navigator?.userAgentData?.brands.some(t=>e.test(t.brand))||e.test(navigator?.userAgent)||!1},be=()=>{},Zo=(e,t,s,n)=>{e.addEventListener(t,s,!1)},Qo=(e,t,s,n)=>{e.removeEventListener(t,s,!1)},U=(e,t)=>e.getAttribute(t),Ut=(e,t)=>e.hasAttribute(t),I=(e,t,s)=>e.setAttribute(t,s),yt=(e,t)=>e.removeAttribute(t),d=(e,...t)=>{e.classList.add(...t)},v=(e,...t)=>{e.classList.remove(...t)},h=(e,t)=>e.classList.contains(t),Yt=e=>e!=null&&typeof e=="object"||!1,P=e=>Yt(e)&&typeof e.nodeType=="number"&&[1,2,3,4,5,6,7,8,9,10,11].some(t=>e.nodeType===t)||!1,j=e=>P(e)&&e.nodeType===1||!1,Rt=new Map,Ct={data:Rt,set:(e,t,s)=>{j(e)&&(Rt.has(t)||Rt.set(t,new Map),Rt.get(t).set(e,s))},getAllFor:e=>Rt.get(e)||null,get:(e,t)=>{if(!j(e)||!t)return null;const s=Ct.getAllFor(t);return e&&s&&s.get(e)||null},remove:(e,t)=>{const s=Ct.getAllFor(t);!s||!j(e)||(s.delete(e),s.size===0&&Rt.delete(t))}},R=(e,t)=>Ct.get(e,t),Xs=e=>e?.trim().replace(/(?:^\w|[A-Z]|\b\w)/g,(t,s)=>s===0?t.toLowerCase():t.toUpperCase()).replace(/\s+/g,""),Zt=e=>typeof e=="string"||!1,qs=e=>Yt(e)&&e.constructor.name==="Window"||!1,Us=e=>P(e)&&e.nodeType===9||!1,b=e=>Us(e)?e:P(e)?e.ownerDocument:qs(e)?e.document:globalThis.document,rt=(e,...t)=>Object.assign(e,...t),ut=e=>{if(!e)return;if(Zt(e))return b().createElement(e);const{tagName:t}=e,s=ut(t);if(!s)return;const n={...e};return delete n.tagName,rt(s,n)},w=(e,t)=>e.dispatchEvent(t),F=(e,t,s)=>{const n=getComputedStyle(e,s),o=t.replace("webkit","Webkit").replace(/([A-Z])/g,"-$1").toLowerCase();return n.getPropertyValue(o)},Go=e=>{const t=F(e,Ks),s=F(e,Uo),n=s.includes("ms")?1:1e3,o=t&&t!=="none"?parseFloat(s)*n:0;return Number.isNaN(o)?0:o},Qt=e=>{const t=F(e,Ks),s=F(e,qo),n=s.includes("ms")?1:1e3,o=t&&t!=="none"?parseFloat(s)*n:0;return Number.isNaN(o)?0:o},_=(e,t)=>{let s=0;const n=new Event(Fe),o=Qt(e),i=Go(e);if(o){const r=a=>{a.target===e&&(t.apply(e,[a]),e.removeEventListener(Fe,r),s=1)};e.addEventListener(Fe,r),setTimeout(()=>{s||w(e,n)},o+i+17)}else t.apply(e,[n])},at=(e,t)=>e.focus(t),Ys=e=>["true",!0].includes(e)?!0:["false",!1].includes(e)?!1:["null","",null,void 0].includes(e)?null:e!==""&&!Number.isNaN(+e)?+e:e,we=e=>Object.entries(e),Jo=(e,t,s,n)=>{if(!j(e))return t;const o={...s},i={...e.dataset},r={...t},a={},c="title";return we(i).forEach(([l,f])=>{const p=typeof l=="string"&&l.includes(n)?Xs(l.replace(n,"")):Xs(l);a[p]=Ys(f)}),we(o).forEach(([l,f])=>{o[l]=Ys(f)}),we(t).forEach(([l,f])=>{l in o?r[l]=o[l]:l in a?r[l]=a[l]:r[l]=l===c?U(e,c):f}),r},Zs=e=>Object.keys(e),E=(e,t)=>{const s=new CustomEvent(e,{cancelable:!0,bubbles:!0});return Yt(t)&&rt(s,t),s},Gt={passive:!0},_t=e=>e.offsetHeight,S=(e,t)=>{we(t).forEach(([s,n])=>{if(n&&Zt(s)&&s.includes("--"))e.style.setProperty(s,n);else{const o={};o[s]=n,rt(e.style,o)}})},We=e=>Yt(e)&&e.constructor.name==="Map"||!1,ti=e=>typeof e=="number"||!1,gt=new Map,u={set:(e,t,s,n)=>{j(e)&&(n&&n.length?(gt.has(e)||gt.set(e,new Map),gt.get(e).set(n,setTimeout(t,s))):gt.set(e,setTimeout(t,s)))},get:(e,t)=>{if(!j(e))return null;const s=gt.get(e);return t&&s&&We(s)?s.get(t)||null:ti(s)?s:null},clear:(e,t)=>{if(!j(e))return;const s=gt.get(e);t&&t.length&&We(s)?(clearTimeout(s.get(t)),s.delete(t),s.size===0&&gt.delete(e)):(clearTimeout(s),gt.delete(e))}},Jt=e=>e.toLowerCase(),Y=(e,t)=>(P(t)?t:b()).querySelectorAll(e),je=new Map;function Qs(e){const{shiftKey:t,code:s}=e,n=b(this),o=[...Y(Xo,this)].filter(a=>!Ut(a,"disabled")&&!U(a,qt));if(!o.length)return;const i=o[0],r=o[o.length-1];s==="Tab"&&(t&&n.activeElement===i?(r.focus(),e.preventDefault()):!t&&n.activeElement===r&&(i.focus(),e.preventDefault()))}const ze=e=>je.has(e)===!0,ei=e=>{ze(e)||(Zo(e,"keydown",Qs),je.set(e,!0))},si=e=>{ze(e)&&(Qo(e,"keydown",Qs),je.delete(e))},Ee=e=>{ze(e)?si(e):ei(e)},H=e=>j(e)&&"offsetWidth"in e||!1,St=(e,t)=>{const{width:s,height:n,top:o,right:i,bottom:r,left:a}=e.getBoundingClientRect();let c=1,l=1;if(t&&H(e)){const{offsetWidth:f,offsetHeight:p}=e;c=f>0?Math.round(s)/f:1,l=p>0?Math.round(n)/p:1}return{width:s/c,height:n/l,top:o/l,right:i/c,bottom:r/l,left:a/c,x:a/c,y:o/l}},At=e=>b(e).body,ct=e=>b(e).documentElement,ni=e=>{const t=qs(e),s=t?e.scrollX:e.scrollLeft,n=t?e.scrollY:e.scrollTop;return{x:s,y:n}},Gs=e=>P(e)&&e.constructor.name==="ShadowRoot"||!1,oi=e=>e.nodeName==="HTML"?e:j(e)&&e.assignedSlot||P(e)&&e.parentNode||Gs(e)&&e.host||ct(e),Js=e=>e?Us(e)?e.defaultView:P(e)?e?.ownerDocument?.defaultView:e:window,ii=e=>P(e)&&["TABLE","TD","TH"].includes(e.nodeName)||!1,tn=(e,t)=>e.matches(t),ri=e=>{if(!H(e))return!1;const{width:t,height:s}=St(e),{offsetWidth:n,offsetHeight:o}=e;return Math.round(t)!==n||Math.round(s)!==o},ai=(e,t,s)=>{const n=H(t),o=St(e,n&&ri(t)),i={x:0,y:0};if(n){const r=St(t,!0);i.x=r.x+t.clientLeft,i.y=r.y+t.clientTop}return{x:o.left+s.x-i.x,y:o.top+s.y-i.y,width:o.width,height:o.height}};let en=0,sn=0;const Ft=new Map,nn=(e,t)=>{let s=t?en:sn;if(t){const n=nn(e),o=Ft.get(n)||new Map;Ft.has(n)||Ft.set(n,o),We(o)&&!o.has(t)?(o.set(t,s),en+=1):s=o.get(t)}else{const n=e.id||e;Ft.has(n)?s=Ft.get(n):(Ft.set(n,s),sn+=1)}return s},ci=e=>Array.isArray(e)||!1,on=e=>{if(!P(e))return!1;const{top:t,bottom:s}=St(e),{clientHeight:n}=ct(e);return t<=n&&s>=0},rn=e=>typeof e=="function"||!1,li=e=>Yt(e)&&e.constructor.name==="NodeList"||!1,pt=e=>ct(e).dir==="rtl",M=(e,t)=>!e||!t?null:e.closest(t)||M(e.getRootNode().host,t)||null,A=(e,t)=>j(e)?e:(j(t)?t:b()).querySelector(e),Ke=(e,t)=>(P(t)?t:b()).getElementsByTagName(e),di=(e,t)=>b(t).getElementById(e),lt=(e,t)=>(t&&P(t)?t:b()).getElementsByClassName(e),Wt={},an=e=>{const{type:t,currentTarget:s}=e;Wt[t].forEach((n,o)=>{s===o&&n.forEach((i,r)=>{r.apply(o,[e]),typeof i=="object"&&i.once&&O(o,t,r,i)})})},L=(e,t,s,n)=>{Wt[t]||(Wt[t]=new Map);const o=Wt[t];o.has(e)||o.set(e,new Map);const i=o.get(e),{size:r}=i;i.set(s,n),r||e.addEventListener(t,an,n)},O=(e,t,s,n)=>{const o=Wt[t],i=o&&o.get(e),r=i&&i.get(s),a=r!==void 0?r:n;i&&i.has(s)&&i.delete(s),o&&(!i||!i.size)&&o.delete(e),(!o||!o.size)&&delete Wt[t],(!i||!i.size)&&e.removeEventListener(t,an,a)},k="fade",g="show",Te="data-bs-dismiss",$e="alert",cn="Alert",ot=e=>h(e,"disabled")||U(e,"disabled")==="true",hi="5.1.6";class J{constructor(t,s){let n;try{if(j(t))n=t;else if(Zt(t)){if(n=A(t),!n)throw Error(`"${t}" is not a valid selector.`)}else throw Error("your target is not an instance of HTMLElement.")}catch(i){throw Error(`${this.name} Error: ${i.message}`)}const o=Ct.get(n,this.name);o&&o._toggleEventListeners(),this.element=n,this.options=this.defaults&&Zs(this.defaults).length?Jo(n,this.defaults,s||{},"bs"):{},Ct.set(n,this.name,this)}get version(){return hi}get name(){return"BaseComponent"}get defaults(){return{}}_toggleEventListeners=()=>{};dispose(){Ct.remove(this.element,this.name),Zs(this).forEach(t=>{delete this[t]})}}const fi=`.${$e}`,ui=`[${Te}="${$e}"]`,gi=e=>R(e,cn),pi=e=>new Ve(e),ln=E(`close.bs.${$e}`),mi=E(`closed.bs.${$e}`),dn=e=>{const{element:t}=e;w(t,mi),e._toggleEventListeners(),e.dispose(),t.remove()};class Ve extends J{static selector=fi;static init=pi;static getInstance=gi;dismiss;constructor(t){super(t),this.dismiss=A(ui,this.element),this._toggleEventListeners(!0)}get name(){return cn}close=t=>{const{element:s,dismiss:n}=this;!s||!h(s,g)||t&&n&&ot(n)||(w(s,ln),!ln.defaultPrevented&&(v(s,g),h(s,k)?_(s,()=>dn(this)):dn(this)))};_toggleEventListeners=t=>{const s=t?L:O,{dismiss:n,close:o}=this;n&&s(n,D,o)};dispose(){this._toggleEventListeners(),super.dispose()}}const T="active",it="data-bs-toggle",vi="button",hn="Button",bi=`[${it}="${vi}"]`,wi=e=>R(e,hn),Ei=e=>new Xe(e);class Xe extends J{static selector=bi;static init=Ei;static getInstance=wi;constructor(t){super(t);const{element:s}=this;this.isActive=h(s,T),I(s,Bs,String(!!this.isActive)),this._toggleEventListeners(!0)}get name(){return hn}toggle=t=>{t&&t.preventDefault();const{element:s,isActive:n}=this;if(ot(s))return;(n?v:d)(s,T),I(s,Bs,n?"false":"true"),this.isActive=h(s,T)};_toggleEventListeners=t=>{(t?L:O)(this.element,D,this.toggle)};dispose(){this._toggleEventListeners(),super.dispose()}}const qe="data-bs-target",Pt="carousel",fn="Carousel",un="data-bs-parent",Ti="data-bs-container",z=e=>{const t=[qe,un,Ti,"href"],s=b(e);return t.map(n=>{const o=U(e,n);return o?n===un?M(e,o):A(o,s):null}).filter(n=>n)[0]},te=`[data-bs-ride="${Pt}"]`,tt=`${Pt}-item`,Ue="data-bs-slide-to",mt="data-bs-slide",vt="paused",$i=Vs()?ve:Ws;console.log({isMobile:Vs(),touchEvent:$i});const gn={pause:"hover",keyboard:!1,touch:!0,interval:5e3},dt=e=>R(e,fn),yi=e=>new ts(e);let ee=0,ye=0,Ye=0;const Ze=E(`slide.bs.${Pt}`),Qe=E(`slid.bs.${Pt}`),pn=e=>{const{index:t,direction:s,element:n,slides:o,options:i}=e;if(e.isAnimating){const r=Je(e),a=s==="left"?"next":"prev",c=s==="left"?"start":"end";d(o[t],T),v(o[t],`${tt}-${a}`),v(o[t],`${tt}-${c}`),v(o[r],T),v(o[r],`${tt}-${c}`),w(n,Qe),u.clear(n,mt),e.cycle&&!b(n).hidden&&i.interval&&!e.isPaused&&e.cycle()}};function Ci(){const e=dt(this);e&&!e.isPaused&&!u.get(this,vt)&&d(this,vt)}function _i(){const e=dt(this);e&&e.isPaused&&!u.get(this,vt)&&e.cycle()}function Si(e){e.preventDefault();const t=M(this,te)||z(this),s=t&&dt(t);if(ot(this)||!s||s.isAnimating)return;const n=+(U(this,Ue)||0);this&&!h(this,T)&&!Number.isNaN(n)&&s.to(n)}function Ai(e){e.preventDefault();const t=M(this,te)||z(this),s=t&&dt(t);if(ot(this)||!s||s.isAnimating)return;const n=U(this,mt);n==="next"?s.next():n==="prev"&&s.prev()}const Pi=({code:e,target:t})=>{const s=b(t),[n]=[...Y(te,s)].filter(c=>on(c)),o=dt(n);if(!o||o.isAnimating||/textarea|input|select/i.test(t.nodeName))return;const i=pt(n);e===(i?zs:js)?o.prev():e===(i?js:zs)&&o.next()};function mn(e){const{target:t}=e,s=dt(this);s&&s.isTouch&&!s.controls.includes(t)&&!s.controls.includes(t?.parentElement)&&(!s.indicator||!s.indicator.contains(t))&&e.preventDefault()}function Hi(e){const{target:t}=e,s=dt(this);if(!s||s.isAnimating||s.isTouch)return;const{controls:n,indicator:o}=s;![...n,o].every(i=>i&&(i===t||i.contains(t)))&&this.contains(t)&&(ee=e.pageX,s.isTouch=!0,vn(s,!0))}const xi=e=>{ye=e.pageX},Di=e=>{const{target:t}=e,s=b(t),n=[...Y(te,s)].map(a=>dt(a)).find(a=>a.isTouch);if(!n)return;const{element:o,index:i}=n,r=pt(o);Ye=e.pageX,n.isTouch=!1,vn(n),!s.getSelection()?.toString().length&&o.contains(t)&&Math.abs(ee-Ye)>120&&(ye<ee?n.to(i+(r?-1:1)):ye>ee&&n.to(i+(r?1:-1))),ee=0,ye=0,Ye=0},Ge=(e,t)=>{const{indicators:s}=e;[...s].forEach(n=>v(n,T)),e.indicators[t]&&d(s[t],T)},vn=(e,t)=>{const{element:s}=e,n=t?L:O;n(b(s),zo,xi,Gt),n(b(s),Ko,Di,Gt)},Je=e=>{const{slides:t,element:s}=e,n=A(`.${tt}.${T}`,s);return n?[...t].indexOf(n):-1};class ts extends J{static selector=te;static init=yi;static getInstance=dt;constructor(t,s){super(t,s);const{element:n}=this;this.direction=pt(n)?"right":"left",this.isTouch=!1,this.slides=lt(tt,n);const{slides:o}=this;if(o.length<2)return;const i=Je(this),r=[...o].find(l=>tn(l,`.${tt}-next`));this.index=i;const a=b(n);this.controls=[...Y(`[${mt}]`,n),...Y(`[${mt}][${qe}="#${n.id}"]`,a)].filter((l,f,p)=>f===p.indexOf(l)),this.indicator=A(`.${Pt}-indicators`,n),this.indicators=[...this.indicator?Y(`[${Ue}]`,this.indicator):[],...Y(`[${Ue}][${qe}="#${n.id}"]`,a)].filter((l,f,p)=>f===p.indexOf(l));const{options:c}=this;this.options.interval=c.interval===!0?gn.interval:c.interval,r?this.index=[...o].indexOf(r):i<0&&(this.index=0,d(o[0],T),this.indicators.length&&Ge(this,0)),this.indicators.length&&Ge(this,this.index),this._toggleEventListeners(!0),c.interval&&this.cycle()}get name(){return fn}get defaults(){return gn}get isPaused(){return h(this.element,vt)}get isAnimating(){return A(`.${tt}-next,.${tt}-prev`,this.element)!==null}cycle(){const{element:t,options:s,isPaused:n,index:o}=this;u.clear(t,Pt),n&&(u.clear(t,vt),v(t,vt)),u.set(t,()=>{this.element&&!this.isPaused&&!this.isTouch&&on(t)&&this.to(o+1)},s.interval,Pt)}pause(){const{element:t,options:s}=this;this.isPaused||!s.interval||(d(t,vt),u.set(t,()=>{},1,vt))}next(){this.isAnimating||this.to(this.index+1)}prev(){this.isAnimating||this.to(this.index-1)}to(t){const{element:s,slides:n,options:o}=this,i=Je(this),r=pt(s);let a=t;if(this.isAnimating||i===a||u.get(s,mt))return;i<a||i===0&&a===n.length-1?this.direction=r?"right":"left":(i>a||i===n.length-1&&a===0)&&(this.direction=r?"left":"right");const{direction:c}=this;a<0?a=n.length-1:a>=n.length&&(a=0);const l=c==="left"?"next":"prev",f=c==="left"?"start":"end",p={relatedTarget:n[a],from:i,to:a,direction:c};rt(Ze,p),rt(Qe,p),w(s,Ze),!Ze.defaultPrevented&&(this.index=a,Ge(this,a),Qt(n[a])&&h(s,"slide")?u.set(s,()=>{d(n[a],`${tt}-${l}`),_t(n[a]),d(n[a],`${tt}-${f}`),d(n[i],`${tt}-${f}`),_(n[a],()=>this.slides&&this.slides.length&&pn(this))},0,mt):(d(n[a],T),v(n[i],T),u.set(s,()=>{u.clear(s,mt),s&&o.interval&&!this.isPaused&&this.cycle(),w(s,Qe)},0,mt)))}_toggleEventListeners=t=>{const{element:s,options:n,slides:o,controls:i,indicators:r}=this,{touch:a,pause:c,interval:l,keyboard:f}=n,p=t?L:O;c&&l&&(p(s,me,Ci),p(s,Ne,_i)),a&&o.length>2&&(p(s,Ws,Hi,Gt),p(s,ve,mn,{passive:!1}),p(s,Vo,mn,{passive:!1})),i.length&&i.forEach(y=>{p(y,D,Ai)}),r.length&&r.forEach(y=>{p(y,D,Si)}),f&&p(b(s),pe,Pi)};dispose(){const{isAnimating:t}=this,s={...this,isAnimating:t};this._toggleEventListeners(),super.dispose(),s.isAnimating&&_(s.slides[s.index],()=>{pn(s)})}}const Ht="collapsing",K="collapse",bn="Collapse",Ii=`.${K}`,wn=`[${it}="${K}"]`,Li={parent:null},Ce=e=>R(e,bn),Oi=e=>new es(e),En=E(`show.bs.${K}`),ki=E(`shown.bs.${K}`),Tn=E(`hide.bs.${K}`),Ni=E(`hidden.bs.${K}`),Mi=e=>{const{element:t,parent:s,triggers:n}=e;w(t,En),En.defaultPrevented||(u.set(t,be,17),s&&u.set(s,be,17),d(t,Ht),v(t,K),S(t,{height:`${t.scrollHeight}px`}),_(t,()=>{u.clear(t),s&&u.clear(s),n.forEach(o=>I(o,ue,"true")),v(t,Ht),d(t,K),d(t,g),S(t,{height:""}),w(t,ki)}))},$n=e=>{const{element:t,parent:s,triggers:n}=e;w(t,Tn),Tn.defaultPrevented||(u.set(t,be,17),s&&u.set(s,be,17),S(t,{height:`${t.scrollHeight}px`}),v(t,K),v(t,g),d(t,Ht),_t(t),S(t,{height:"0px"}),_(t,()=>{u.clear(t),s&&u.clear(s),n.forEach(o=>I(o,ue,"false")),v(t,Ht),d(t,K),S(t,{height:""}),w(t,Ni)}))},Bi=e=>{const{target:t}=e,s=t&&M(t,wn),n=s&&z(s),o=n&&Ce(n);s&&ot(s)||o&&(o.toggle(),s?.tagName==="A"&&e.preventDefault())};class es extends J{static selector=Ii;static init=Oi;static getInstance=Ce;constructor(t,s){super(t,s);const{element:n,options:o}=this,i=b(n);this.triggers=[...Y(wn,i)].filter(r=>z(r)===n),this.parent=H(o.parent)?o.parent:Zt(o.parent)?z(n)||A(o.parent,i):null,this._toggleEventListeners(!0)}get name(){return bn}get defaults(){return Li}hide(){const{triggers:t,element:s}=this;u.get(s)||($n(this),t.length&&t.forEach(n=>d(n,`${K}d`)))}show(){const{element:t,parent:s,triggers:n}=this;let o,i;s&&(o=[...Y(`.${K}.${g}`,s)].find(r=>Ce(r)),i=o&&Ce(o)),(!s||!u.get(s))&&!u.get(t)&&(i&&o!==t&&($n(i),i.triggers.forEach(r=>{d(r,`${K}d`)})),Mi(this),n.length&&n.forEach(r=>v(r,`${K}d`)))}toggle(){h(this.element,g)?this.hide():this.show()}_toggleEventListeners=t=>{const s=t?L:O,{triggers:n}=this;n.length&&n.forEach(o=>{s(o,D,Bi)})};dispose(){this._toggleEventListeners(),super.dispose()}}var Ri="1.1.0";const Fi=["all","intersecting","update"],yn="PositionObserver Error";var ss=class{entries;static version=Ri;_t;_r;_cm;_w;_h;_rm;_th;_c;constructor(e,t){if(!rn(e))throw new Error(`${yn}: ${e} is not a function.`);this.entries=new Map,this._c=e,this._t=0;const s=j(t?.root)?t.root:document?.documentElement;this._r=s,this._rm=t?.rootMargin,this._th=t?.threshold;this._cm=Fi.indexOf(t?.callbackMode||"intersecting"),this._w=s.clientWidth,this._h=s.clientHeight}observe=e=>{if(!j(e))throw new Error(`${yn}: ${e} is not an instance of Element.`);this._r.contains(e)&&this._n(e).then(t=>{t.boundingClientRect&&!this.getEntry(e)&&this.entries.set(e,t);this._t||(this._t=requestAnimationFrame(this._rc))})};unobserve=e=>{this.entries.has(e)&&this.entries.delete(e)};_rc=()=>{if(!this.entries.size){this._t=0;return}const{clientWidth:e,clientHeight:t}=this._r,s=new Promise(n=>{const o=[];this.entries.forEach(({target:i,boundingClientRect:r,isIntersecting:a})=>{this._r.contains(i)&&this._n(i).then(c=>{if(!c.isIntersecting){if(this._cm===1)return;if(this._cm===2){a&&(this.entries.set(i,c),o.push(c));return}}const{left:l,top:f}=c.boundingClientRect;(r.top!==f||r.left!==l||this._w!==e||this._h!==t)&&(this.entries.set(i,c),o.push(c))})}),this._w=e,this._h=t,n(o)});this._t=requestAnimationFrame(async()=>{const n=await s;n.length&&this._c(n,this),this._rc()})};_n=e=>new Promise(t=>{new IntersectionObserver(([n],o)=>{o.disconnect(),t(n)},{threshold:this._th,rootMargin:this._rm}).observe(e)});getEntry=e=>this.entries.get(e);disconnect=()=>{cancelAnimationFrame(this._t),this.entries.clear(),this._t=0}};const xt=["dropdown","dropup","dropstart","dropend"],Cn="Dropdown",_n="dropdown-menu",Sn=e=>{const t=M(e,"A");return e.tagName==="A"&&Ut(e,"href")&&U(e,"href")?.slice(-1)==="#"||t&&Ut(t,"href")&&U(t,"href")?.slice(-1)==="#"},[et,ns,os,is]=xt,Wi=`[${it}="${et}"]`,se=e=>R(e,Cn),ji=e=>new ls(e),zi=`${_n}-end`,An=[et,ns],Pn=[os,is],Hn=["A","BUTTON"],Ki={offset:5,display:"dynamic"},rs=E(`show.bs.${et}`),xn=E(`shown.bs.${et}`),as=E(`hide.bs.${et}`),Dn=E(`hidden.bs.${et}`),In=E(`updated.bs.${et}`),Ln=e=>{const{element:t,menu:s,parentElement:n,options:o}=e,{offset:i}=o;if(F(s,"position")==="static")return;const r=pt(t),a=h(s,zi);["margin","top","bottom","left","right"].forEach(W=>{const Nt={};Nt[W]="",S(s,Nt)});let l=xt.find(W=>h(n,W))||et;const f={dropdown:[i,0,0],dropup:[0,0,i],dropstart:r?[-1,0,0,i]:[-1,i,0],dropend:r?[-1,i,0]:[-1,0,0,i]},p={dropdown:{top:"100%"},dropup:{top:"auto",bottom:"100%"},dropstart:r?{left:"100%",right:"auto"}:{left:"auto",right:"100%"},dropend:r?{left:"auto",right:"100%"}:{left:"100%",right:"auto"},menuStart:r?{right:"0",left:"auto"}:{right:"auto",left:"0"},menuEnd:r?{right:"auto",left:"0"}:{right:"0",left:"auto"}},{offsetWidth:y,offsetHeight:B}=s,{clientWidth:G,clientHeight:st}=ct(t),{left:m,top:q,width:Ot,height:kt}=St(t),C=m-y-i<0,Et=m+y+Ot+i>=G,ft=q+B+i>=st,nt=q+B+kt+i>=st,zt=q-B-i<0,$=(!r&&a||r&&!a)&&m+Ot-y<0,V=(r&&a||!r&&!a)&&m+y>=G;if(Pn.includes(l)&&C&&Et&&(l=et),l===os&&(r?Et:C)&&(l=is),l===is&&(r?C:Et)&&(l=os),l===ns&&zt&&!nt&&(l=et),l===et&&nt&&!zt&&(l=ns),Pn.includes(l)&&ft&&rt(p[l],{top:"auto",bottom:0}),An.includes(l)&&($||V)){let W={left:"auto",right:"auto"};!$&&V&&!r&&(W={left:"auto",right:0}),$&&!V&&r&&(W={left:0,right:"auto"}),W&&rt(p[l],W)}const Kt=f[l];S(s,{...p[l],margin:`${Kt.map(W=>W&&`${W}px`).join(" ")}`}),An.includes(l)&&a&&a&&S(s,p[!r&&$||r&&V?"menuStart":"menuEnd"]),w(n,In)},Vi=e=>Array.from(e.children).map(t=>{if(t&&Hn.includes(t.tagName))return t;const{firstElementChild:s}=t;return s&&Hn.includes(s.tagName)?s:null}).filter(t=>t),On=e=>{const{element:t,options:s,menu:n}=e,o=e.open?L:O,i=b(t);o(i,D,kn),o(i,Oe,kn),o(i,pe,qi),o(i,Wo,Ui),s.display==="dynamic"&&(e.open?e._observer.observe(n):e._observer.disconnect())},cs=e=>{const t=[...xt,"btn-group","input-group"].map(s=>lt(`${s} ${g}`,b(e))).find(s=>s.length);if(t&&t.length)return[...t[0].children].find(s=>xt.some(n=>n===U(s,it)))},kn=e=>{const{target:t,type:s}=e;if(!H(t))return;const n=cs(t),o=n&&se(n);if(!o)return;const{parentElement:i,menu:r}=o,a=i&&i.contains(t)&&(t.tagName==="form"||M(t,"form")!==null);[D,Fs].includes(s)&&Sn(t)&&e.preventDefault(),!a&&s!==Oe&&t!==n&&t!==r&&o.hide()};function Xi(e){const t=se(this);ot(this)||t&&(e.stopPropagation(),t.toggle(),Sn(this)&&e.preventDefault())}const qi=e=>{[Me,Be].includes(e.code)&&e.preventDefault()};function Ui(e){const{code:t}=e,s=cs(this);if(!s)return;const n=se(s),{activeElement:o}=b(s);if(!n||!o)return;const{menu:i,open:r}=n,a=Vi(i);if(a&&a.length&&[Me,Be].includes(t)){let c=a.indexOf(o);o===s?c=0:t===Be?c=c>1?c-1:0:t===Me&&(c=c<a.length-1?c+1:c),a[c]&&at(a[c])}Re===t&&r&&(n.toggle(),at(s))}class ls extends J{static selector=Wi;static init=ji;static getInstance=se;constructor(t,s){super(t,s);const{parentElement:n}=this.element,[o]=lt(_n,n);o&&(this.parentElement=n,this.menu=o,this._observer=new ss(()=>Ln(this)),this._toggleEventListeners(!0))}get name(){return Cn}get defaults(){return Ki}toggle(){this.open?this.hide():this.show()}show(){const{element:t,open:s,menu:n,parentElement:o}=this;if(s)return;const i=cs(t),r=i&&se(i);r&&r.hide(),[rs,xn,In].forEach(a=>{a.relatedTarget=t}),w(o,rs),!rs.defaultPrevented&&(d(n,g),d(o,g),I(t,ue,"true"),Ln(this),this.open=!s,at(t),On(this),w(o,xn))}hide(){const{element:t,open:s,menu:n,parentElement:o}=this;s&&([as,Dn].forEach(i=>{i.relatedTarget=t}),w(o,as),!as.defaultPrevented&&(v(n,g),v(o,g),I(t,ue,"false"),this.open=!s,On(this),w(o,Dn)))}_toggleEventListeners=t=>{(t?L:O)(this.element,D,Xi)};dispose(){this.open&&this.hide(),this._toggleEventListeners(),super.dispose()}}const X="modal",ds="Modal",hs="Offcanvas",Yi="fixed-top",Zi="fixed-bottom",Nn="sticky-top",Mn="position-sticky",Bn=e=>[...lt(Yi,e),...lt(Zi,e),...lt(Nn,e),...lt(Mn,e),...lt("is-fixed",e)],Qi=e=>{const t=At(e);S(t,{paddingRight:"",overflow:""});const s=Bn(t);s.length&&s.forEach(n=>{S(n,{paddingRight:"",marginRight:""})})},Rn=e=>{const{clientWidth:t}=ct(e),{innerWidth:s}=Js(e);return Math.abs(s-t)},Fn=(e,t)=>{const s=At(e),n=parseInt(F(s,"paddingRight"),10),i=F(s,"overflow")==="hidden"&&n?0:Rn(e),r=Bn(s);t&&(S(s,{overflow:"hidden",paddingRight:`${n+i}px`}),r.length&&r.forEach(a=>{const c=F(a,"paddingRight");if(a.style.paddingRight=`${parseInt(c,10)+i}px`,[Nn,Mn].some(l=>h(a,l))){const l=F(a,"marginRight");a.style.marginRight=`${parseInt(l,10)-i}px`}}))},Z="offcanvas",bt=ut({tagName:"div",className:"popup-container"}),Wn=(e,t)=>{const s=P(t)&&t.nodeName==="BODY",n=P(t)&&!s?t:bt,o=s?t:At(e);P(e)&&(n===bt&&o.append(bt),n.append(e))},jn=(e,t)=>{const s=P(t)&&t.nodeName==="BODY",n=P(t)&&!s?t:bt;P(e)&&(e.remove(),n===bt&&!bt.children.length&&bt.remove())},fs=(e,t)=>{const s=P(t)&&t.nodeName!=="BODY"?t:bt;return P(e)&&s.contains(e)},zn="backdrop",Kn=`${X}-${zn}`,Vn=`${Z}-${zn}`,Xn=`.${X}.${g}`,us=`.${Z}.${g}`,x=ut("div"),Dt=e=>A(`${Xn},${us}`,b(e)),gs=e=>{const t=e?Kn:Vn;[Kn,Vn].forEach(s=>{v(x,s)}),d(x,t)},qn=(e,t,s)=>{gs(s),Wn(x,At(e)),t&&d(x,k)},Un=()=>{h(x,g)||(d(x,g),_t(x))},_e=()=>{v(x,g)},Yn=e=>{Dt(e)||(v(x,k),jn(x,At(e)),Qi(e))},Zn=e=>H(e)&&F(e,"visibility")!=="hidden"&&e.offsetParent!==null,Gi=`.${X}`,Ji=`[${it}="${X}"]`,tr=`[${Te}="${X}"]`,Qn=`${X}-static`,er={backdrop:!0,keyboard:!0},ne=e=>R(e,ds),sr=e=>new ms(e),Se=E(`show.bs.${X}`),Gn=E(`shown.bs.${X}`),ps=E(`hide.bs.${X}`),Jn=E(`hidden.bs.${X}`),to=e=>{const{element:t}=e,s=Rn(t),{clientHeight:n,scrollHeight:o}=ct(t),{clientHeight:i,scrollHeight:r}=t,a=i!==r;if(!a&&s){const l={[pt(t)?"paddingLeft":"paddingRight"]:`${s}px`};S(t,l)}Fn(t,a||n!==o)},eo=(e,t)=>{const s=t?L:O,{element:n}=e;s(n,D,ir),s(b(n),pe,or),t?e._observer.observe(n):e._observer.disconnect()},so=e=>{const{triggers:t,element:s,relatedTarget:n}=e;Yn(s),S(s,{paddingRight:"",display:""}),eo(e);const o=Se.relatedTarget||t.find(Zn);o&&at(o),Jn.relatedTarget=n||void 0,w(s,Jn),Ee(s)},no=e=>{const{element:t,relatedTarget:s}=e;at(t),eo(e,!0),Gn.relatedTarget=s||void 0,w(t,Gn),Ee(t)},oo=e=>{const{element:t,hasFade:s}=e;S(t,{display:"block"}),to(e),Dt(t)||S(At(t),{overflow:"hidden"}),d(t,g),yt(t,qt),I(t,ge,"true"),s?_(t,()=>no(e)):no(e)},io=e=>{const{element:t,options:s,hasFade:n}=e;s.backdrop&&n&&h(x,g)&&!Dt(t)?(_e(),_(x,()=>so(e))):so(e)};function nr(e){const t=z(this),s=t&&ne(t);ot(this)||s&&(this.tagName==="A"&&e.preventDefault(),s.relatedTarget=this,s.toggle())}const or=({code:e,target:t})=>{const s=A(Xn,b(t)),n=s&&ne(s);if(!n)return;const{options:o}=n;o.keyboard&&e===Re&&h(s,g)&&(n.relatedTarget=null,n.hide())},ir=e=>{const{currentTarget:t}=e,s=t&&ne(t);if(!s||!t||u.get(t))return;const{options:n,isStatic:o,modalDialog:i}=s,{backdrop:r}=n,{target:a}=e,c=b(t)?.getSelection()?.toString().length,l=i.contains(a),f=a&&M(a,tr);o&&!l?u.set(t,()=>{d(t,Qn),_(i,()=>rr(s))},17):(f||!c&&!o&&!l&&r)&&(s.relatedTarget=f||null,s.hide(),e.preventDefault())},rr=e=>{const{element:t,modalDialog:s}=e,n=(Qt(s)||0)+17;v(t,Qn),u.set(t,()=>u.clear(t),n)};class ms extends J{static selector=Gi;static init=sr;static getInstance=ne;constructor(t,s){super(t,s);const{element:n}=this,o=A(`.${X}-dialog`,n);o&&(this.modalDialog=o,this.triggers=[...Y(Ji,b(n))].filter(i=>z(i)===n),this.isStatic=this.options.backdrop==="static",this.hasFade=h(n,k),this.relatedTarget=null,this._observer=new ResizeObserver(()=>this.update()),this._toggleEventListeners(!0))}get name(){return ds}get defaults(){return er}toggle(){h(this.element,g)?this.hide():this.show()}show(){const{element:t,options:s,hasFade:n,relatedTarget:o}=this,{backdrop:i}=s;let r=0;if(h(t,g)||(Se.relatedTarget=o||void 0,w(t,Se),Se.defaultPrevented))return;const a=Dt(t);if(a&&a!==t){const c=ne(a)||R(a,hs);c&&c.hide()}i?(fs(x)?gs(!0):qn(t,n,!0),r=Qt(x),Un(),setTimeout(()=>oo(this),r)):(oo(this),a&&h(x,g)&&_e())}hide(){const{element:t,hasFade:s,relatedTarget:n}=this;h(t,g)&&(ps.relatedTarget=n||void 0,w(t,ps),!ps.defaultPrevented&&(v(t,g),I(t,qt,"true"),yt(t,ge),s?_(t,()=>io(this)):io(this)))}update=()=>{h(this.element,g)&&to(this)};_toggleEventListeners=t=>{const s=t?L:O,{triggers:n}=this;n.length&&n.forEach(o=>{s(o,D,nr)})};dispose(){const t={...this},{modalDialog:s,hasFade:n}=t,o=()=>setTimeout(()=>super.dispose(),17);this.hide(),this._toggleEventListeners(),n?_(s,o):o()}}const ar=`.${Z}`,ro=`[${it}="${Z}"]`,cr=`[${Te}="${Z}"]`,Ae=`${Z}-toggling`,lr={backdrop:!0,keyboard:!0,scroll:!1},oe=e=>R(e,hs),dr=e=>new bs(e),Pe=E(`show.bs.${Z}`),ao=E(`shown.bs.${Z}`),vs=E(`hide.bs.${Z}`),co=E(`hidden.bs.${Z}`),hr=e=>{const{element:t}=e,{clientHeight:s,scrollHeight:n}=ct(t);Fn(t,s!==n)},lo=(e,t)=>{const s=t?L:O,n=b(e.element);s(n,pe,pr),s(n,D,gr)},ho=e=>{const{element:t,options:s}=e;s.scroll||(hr(e),S(At(t),{overflow:"hidden"})),d(t,Ae),d(t,g),S(t,{visibility:"visible"}),_(t,()=>mr(e))},fr=e=>{const{element:t,options:s}=e,n=Dt(t);t.blur(),!n&&s.backdrop&&h(x,g)&&_e(),_(t,()=>vr(e))};function ur(e){const t=z(this),s=t&&oe(t);ot(this)||s&&(s.relatedTarget=this,s.toggle(),this.tagName==="A"&&e.preventDefault())}const gr=e=>{const{target:t}=e,s=A(us,b(t));if(!s)return;const n=A(cr,s),o=oe(s);if(!o)return;const{options:i,triggers:r}=o,{backdrop:a}=i,c=M(t,ro),l=b(s).getSelection();x.contains(t)&&a==="static"||(!(l&&l.toString().length)&&(!s.contains(t)&&a&&(!c||r.includes(t))||n&&n.contains(t))&&(o.relatedTarget=n&&n.contains(t)?n:void 0,o.hide()),c&&c.tagName==="A"&&e.preventDefault())},pr=({code:e,target:t})=>{const s=A(us,b(t)),n=s&&oe(s);n&&n.options.keyboard&&e===Re&&(n.relatedTarget=void 0,n.hide())},mr=e=>{const{element:t}=e;v(t,Ae),yt(t,qt),I(t,ge,"true"),I(t,"role","dialog"),w(t,ao),lo(e,!0),at(t),Ee(t)},vr=e=>{const{element:t,triggers:s}=e;I(t,qt,"true"),yt(t,ge),yt(t,"role"),S(t,{visibility:""});const n=Pe.relatedTarget||s.find(Zn);n&&at(n),Yn(t),w(t,co),v(t,Ae),Ee(t),Dt(t)||lo(e)};class bs extends J{static selector=ar;static init=dr;static getInstance=oe;constructor(t,s){super(t,s);const{element:n}=this;this.triggers=[...Y(ro,b(n))].filter(o=>z(o)===n),this.relatedTarget=void 0,this._toggleEventListeners(!0)}get name(){return hs}get defaults(){return lr}toggle(){h(this.element,g)?this.hide():this.show()}show(){const{element:t,options:s,relatedTarget:n}=this;let o=0;if(h(t,g)||(Pe.relatedTarget=n||void 0,ao.relatedTarget=n||void 0,w(t,Pe),Pe.defaultPrevented))return;const i=Dt(t);if(i&&i!==t){const r=oe(i)||R(i,ds);r&&r.hide()}s.backdrop?(fs(x)?gs():qn(t,!0),o=Qt(x),Un(),setTimeout(()=>ho(this),o)):(ho(this),i&&h(x,g)&&_e())}hide(){const{element:t,relatedTarget:s}=this;h(t,g)&&(vs.relatedTarget=s||void 0,co.relatedTarget=s||void 0,w(t,vs),!vs.defaultPrevented&&(d(t,Ae),v(t,g),fr(this)))}_toggleEventListeners=t=>{const s=t?L:O;this.triggers.forEach(n=>{s(n,D,ur)})};dispose(){const{element:t}=this,s=h(t,g),n=()=>setTimeout(()=>super.dispose(),1);this.hide(),this._toggleEventListeners(),s?_(t,n):n()}}const It="popover",ws="Popover",ht="tooltip",fo=e=>{const t=e===ht,s=t?`${e}-inner`:`${e}-body`,n=t?"":`<h3 class="${e}-header"></h3>`,o=`<div class="${e}-arrow"></div>`,i=`<div class="${s}"></div>`;return`<div class="${e}" role="${ht}">${n+o+i}</div>`},uo={top:"top",bottom:"bottom",left:"start",right:"end"},Es=e=>{requestAnimationFrame(()=>{const t=/\b(top|bottom|start|end)+/,{element:s,tooltip:n,container:o,offsetParent:i,options:r,arrow:a}=e;if(!n)return;const c=pt(s),{x:l,y:f}=ni(i);S(n,{top:"",left:"",right:"",bottom:""});const{offsetWidth:p,offsetHeight:y}=n,{clientWidth:B,clientHeight:G,offsetWidth:st}=ct(s);let{placement:m}=r;const{clientWidth:q,offsetWidth:Ot}=o,C=F(o,"position")==="fixed",Et=Math.abs(C?q-Ot:B-st),ft=c&&C?Et:0,nt=B-(c?0:Et)-1,zt=e._observer.getEntry(s),{width:$,height:V,left:Kt,right:W,top:Nt}=zt?.boundingClientRect||St(s,!0),{x:xe,y:Vt}=ai(s,i,{x:l,y:f});S(a,{top:"",left:"",right:"",bottom:""});let Mt=0,ce="",Tt=0,Ls="",Xt="",De="",Os="";const Bt=a.offsetWidth||0,$t=a.offsetHeight||0,ks=Bt/2;let le=Nt-y-$t<0,de=Nt+y+V+$t>=G,he=Kt-p-Bt<ft,fe=Kt+p+$+Bt>=nt;const Ie=["left","right"],Ns=["top","bottom"];le=Ie.includes(m)?Nt+V/2-y/2-$t<0:le,de=Ie.includes(m)?Nt+y/2+V/2+$t>=G:de,he=Ns.includes(m)?Kt+$/2-p/2<ft:he,fe=Ns.includes(m)?Kt+p/2+$/2>=nt:fe,m=Ie.includes(m)&&he&&fe?"top":m,m=m==="top"&&le?"bottom":m,m=m==="bottom"&&de?"top":m,m=m==="left"&&he?"right":m,m=m==="right"&&fe?"left":m,n.className.includes(m)||(n.className=n.className.replace(t,uo[m])),Ie.includes(m)?(m==="left"?Tt=xe-p-Bt:Tt=xe+$+Bt,le&&de?(Mt=0,ce=0,Xt=Vt+V/2-$t/2):le?(Mt=Vt,ce="",Xt=V/2-Bt):de?(Mt=Vt-y+V,ce="",Xt=y-V/2-Bt):(Mt=Vt-y/2+V/2,Xt=y/2-$t/2)):Ns.includes(m)&&(m==="top"?Mt=Vt-y-$t:Mt=Vt+V+$t,he?(Tt=0,De=xe+$/2-ks):fe?(Tt="auto",Ls=0,Os=$/2+nt-W-ks):(Tt=xe-p/2+$/2,De=p/2-ks)),S(n,{top:`${Mt}px`,bottom:ce===""?"":`${ce}px`,left:Tt==="auto"?Tt:`${Tt}px`,right:Ls!==""?`${Ls}px`:""}),H(a)&&(Xt!==""&&(a.style.top=`${Xt}px`),De!==""?a.style.left=`${De}px`:Os!==""&&(a.style.right=`${Os}px`));const Qr=E(`updated.bs.${Jt(e.name)}`);w(s,Qr)})},Ts={template:fo(ht),title:"",customClass:"",trigger:"hover focus",placement:"top",sanitizeFn:void 0,animation:!0,delay:200,container:document.body,content:"",dismissible:!1,btnClose:""},go="data-original-title",Lt="Tooltip",wt=(e,t,s)=>{if(Zt(t)&&t.length){let n=t.trim();rn(s)&&(n=s(n));const i=new DOMParser().parseFromString(n,"text/html");e.append(...i.body.childNodes)}else H(t)?e.append(t):(li(t)||ci(t)&&t.every(P))&&e.append(...t)},br=e=>{const t=e.name===Lt,{id:s,element:n,options:o}=e,{title:i,placement:r,template:a,animation:c,customClass:l,sanitizeFn:f,dismissible:p,content:y,btnClose:B}=o,G=t?ht:It,st={...uo};let m=[],q=[];pt(n)&&(st.left="end",st.right="start");const Ot=`bs-${G}-${st[r]}`;let kt;if(H(a))kt=a;else{const $=ut("div");wt($,a,f),kt=$.firstChild}if(!H(kt))return;e.tooltip=kt.cloneNode(!0);const{tooltip:C}=e;I(C,"id",s),I(C,"role",ht);const Et=t?`${ht}-inner`:`${It}-body`,ft=t?null:A(`.${It}-header`,C),nt=A(`.${Et}`,C);e.arrow=A(`.${G}-arrow`,C);const{arrow:zt}=e;if(H(i))m=[i.cloneNode(!0)];else{const $=ut("div");wt($,i,f),m=[...$.childNodes]}if(H(y))q=[y.cloneNode(!0)];else{const $=ut("div");wt($,y,f),q=[...$.childNodes]}if(p)if(i)if(H(B))m=[...m,B.cloneNode(!0)];else{const $=ut("div");wt($,B,f),m=[...m,$.firstChild]}else if(ft&&ft.remove(),H(B))q=[...q,B.cloneNode(!0)];else{const $=ut("div");wt($,B,f),q=[...q,$.firstChild]}t?i&&nt&&wt(nt,i,f):(i&&ft&&wt(ft,m,f),y&&nt&&wt(nt,q,f),e.btn=A(".btn-close",C)||void 0),d(C,"position-absolute"),d(zt,"position-absolute"),h(C,G)||d(C,G),c&&!h(C,k)&&d(C,k),l&&!h(C,l)&&d(C,l),h(C,Ot)||d(C,Ot)},wr=e=>{const t=["HTML","BODY"],s=[];let{parentNode:n}=e;for(;n&&!t.includes(n.nodeName);)n=oi(n),Gs(n)||ii(n)||s.push(n);return s.find((o,i)=>(F(o,"position")!=="relative"||F(o,"position")==="relative"&&o.offsetHeight!==o.scrollHeight)&&s.slice(i+1).every(r=>F(r,"position")==="static")?o:null)||b(e).body},Er=`[${it}="${ht}"],[data-tip="${ht}"]`,po="title";let mo=e=>R(e,Lt);const Tr=e=>new He(e),$r=e=>{const{element:t,tooltip:s,container:n}=e;yt(t,Ms),jn(s,n)},ie=e=>{const{tooltip:t,container:s}=e;return t&&fs(t,s)},yr=(e,t)=>{const{element:s}=e;e._toggleEventListeners(),Ut(s,go)&&e.name===Lt&&To(e),t&&t()},vo=(e,t)=>{const s=t?L:O,{element:n}=e;s(b(n),ve,e.handleTouch,Gt)},bo=e=>{const{element:t}=e,s=E(`shown.bs.${Jt(e.name)}`);vo(e,!0),w(t,s),u.clear(t,"in")},wo=e=>{const{element:t}=e,s=E(`hidden.bs.${Jt(e.name)}`);vo(e),$r(e),w(t,s),u.clear(t,"out")},Eo=(e,t)=>{const s=t?L:O,{element:n,tooltip:o}=e,i=M(n,`.${X}`),r=M(n,`.${Z}`);t?[n,o].forEach(a=>e._observer.observe(a)):e._observer.disconnect(),i&&s(i,`hide.bs.${X}`,e.handleHide),r&&s(r,`hide.bs.${Z}`,e.handleHide)},To=(e,t)=>{const s=[go,po],{element:n}=e;I(n,s[t?0:1],t||U(n,s[0])||""),yt(n,s[t?1:0])};class He extends J{static selector=Er;static init=Tr;static getInstance=mo;static styleTip=Es;constructor(t,s){super(t,s);const{element:n}=this,o=this.name===Lt,i=o?ht:It,r=o?Lt:ws;mo=f=>R(f,r),this.enabled=!0,this.id=`${i}-${nn(n,i)}`;const{options:a}=this;if(!a.title&&o||!o&&!a.content)return;rt(Ts,{titleAttr:""}),Ut(n,po)&&o&&typeof a.title=="string"&&To(this,a.title);const c=wr(n),l=["sticky","fixed","relative"].some(f=>F(c,"position")===f)?c:Js(n);this.container=c,this.offsetParent=l,br(this),this.tooltip&&(this._observer=new ss(()=>this.update()),this._toggleEventListeners(!0))}get name(){return Lt}get defaults(){return Ts}handleFocus=()=>at(this.element);handleShow=()=>this.show();show(){const{options:t,tooltip:s,element:n,container:o,id:i}=this,{animation:r}=t,a=u.get(n,"out");u.clear(n,"out"),s&&!a&&!ie(this)&&u.set(n,()=>{const c=E(`show.bs.${Jt(this.name)}`);w(n,c),c.defaultPrevented||(Wn(s,o),I(n,Ms,`#${i}`),this.update(),Eo(this,!0),h(s,g)||d(s,g),r?_(s,()=>bo(this)):bo(this))},17,"in")}handleHide=()=>this.hide();hide(){const{options:t,tooltip:s,element:n}=this,{animation:o,delay:i}=t;u.clear(n,"in"),s&&ie(this)&&u.set(n,()=>{const r=E(`hide.bs.${Jt(this.name)}`);w(n,r),r.defaultPrevented||(this.update(),v(s,g),Eo(this),o?_(s,()=>wo(this)):wo(this))},i+17,"out")}update=()=>{Es(this)};toggle=()=>{const{tooltip:t}=this;t&&!ie(this)?this.show():this.hide()};enable(){const{enabled:t}=this;t||(this._toggleEventListeners(!0),this.enabled=!t)}disable(){const{tooltip:t,enabled:s}=this;s&&(t&&ie(this)&&this.hide(),this._toggleEventListeners(),this.enabled=!s)}toggleEnabled(){this.enabled?this.disable():this.enable()}handleTouch=({target:t})=>{const{tooltip:s,element:n}=this;s&&s.contains(t)||t===n||t&&n.contains(t)||this.hide()};_toggleEventListeners=t=>{const s=t?L:O,{element:n,options:o,btn:i}=this,{trigger:r}=o,c=!!(this.name!==Lt&&o.dismissible);r.includes("manual")||(this.enabled=!!t,r.split(" ").forEach(f=>{f===jo?(s(n,Fs,this.handleShow),s(n,me,this.handleShow),c||(s(n,Ne,this.handleHide),s(b(n),ve,this.handleTouch,Gt))):f===D?s(n,f,c?this.handleShow:this.toggle):f===Oe&&(s(n,ke,this.handleShow),c||s(n,Rs,this.handleHide),Yo()&&s(n,D,this.handleFocus)),c&&i&&s(i,D,this.handleHide)}))};dispose(){const{tooltip:t,options:s}=this,n={...this,name:this.name},o=()=>setTimeout(()=>yr(n,()=>super.dispose()),17);s.animation&&ie(n)?(this.options.delay=0,this.hide(),_(t,o)):o()}}const Cr=`[${it}="${It}"],[data-tip="${It}"]`,_r=rt({},Ts,{template:fo(It),content:"",dismissible:!1,btnClose:'<button class="btn-close position-absolute top-0 end-0 m-1" aria-label="Close"></button>'}),Sr=e=>R(e,ws),Ar=e=>new $s(e);class $s extends He{static selector=Cr;static init=Ar;static getInstance=Sr;static styleTip=Es;constructor(t,s){super(t,s)}get name(){return ws}get defaults(){return _r}show=()=>{super.show();const{options:t,btn:s}=this;t.dismissible&&s&&setTimeout(()=>at(s),17)}}const Pr="scrollspy",$o="ScrollSpy",Hr='[data-bs-spy="scroll"]',xr="[href]",Dr={offset:10,target:void 0},Ir=e=>R(e,$o),Lr=e=>new Cs(e),yo=E(`activate.bs.${Pr}`),Or=e=>{const{target:t,_itemsLength:s,_observables:n}=e,o=Ke("A",t),i=b(t);!o.length||s===n.size||(n.clear(),Array.from(o).forEach(r=>{const a=U(r,"href")?.slice(1),c=a?.length?i.getElementById(a):null;c&&!ot(r)&&e._observables.set(c,r)}),e._itemsLength=e._observables.size)},Co=e=>{Array.from(Ke("A",e)).forEach(t=>{h(t,T)&&v(t,T)})},_o=(e,t)=>{const{target:s,element:n}=e;Co(s),e._activeItem=t,d(t,T);let o=t;for(;o!==s;)if(o=o.parentElement,["nav","dropdown-menu","list-group"].some(i=>h(o,i))){const i=o.previousElementSibling;i&&!h(i,T)&&d(i,T)}yo.relatedTarget=t,w(n,yo)},ys=(e,t)=>{const{scrollTarget:s,element:n,options:o}=e;return(s!==n?St(t).top+s.scrollTop:t.offsetTop)-(o.offset||10)};class Cs extends J{static selector=Hr;static init=Lr;static getInstance=Ir;constructor(t,s){super(t,s);const{element:n,options:o}=this,i=A(o.target,b(n));i&&(this.target=i,this.scrollTarget=n.clientHeight<n.scrollHeight?n:ct(n),this._observables=new Map,this.refresh(),this._observer=new ss(()=>{requestAnimationFrame(()=>this.refresh())},{root:this.scrollTarget}),this._toggleEventListeners(!0))}get name(){return $o}get defaults(){return Dr}refresh=()=>{const{target:t,scrollTarget:s}=this;if(!t||t.offsetHeight===0)return;Or(this);const{_itemsLength:n,_observables:o,_activeItem:i}=this;if(!n)return;const r=o.entries().toArray(),{scrollTop:a,scrollHeight:c,clientHeight:l}=s;if(a>=c-l){const p=r[n-1]?.[1];i!==p&&_o(this,p);return}const f=r[0]?.[0]?ys(this,r[0][0]):null;if(f!==null&&a<f&&f>0){this._activeItem=null,Co(t);return}for(let p=0;p<n;p+=1){const[y,B]=r[p],G=ys(this,y),st=r[p+1]?.[0],m=st?ys(this,st):null;if(i!==B&&a>=G&&(m===null||a<m)){_o(this,B);break}}};_scrollTo=t=>{const s=M(t.target,xr),n=s&&U(s,"href")?.slice(1),o=n&&di(n,this.target);o&&(this.scrollTarget.scrollTo({top:o.offsetTop,behavior:"smooth"}),t.preventDefault())};_toggleEventListeners=t=>{const{target:s,_observables:n,_observer:o,_scrollTo:i}=this;(t?L:O)(s,D,i),t?n?.forEach((a,c)=>o.observe(c)):o.disconnect()};dispose(){this._toggleEventListeners(),super.dispose()}}const re="tab",So="Tab",_s=`[${it}="${re}"]`,Ao=e=>R(e,So),kr=e=>new Ps(e),Ss=E(`show.bs.${re}`),Po=E(`shown.bs.${re}`),As=E(`hide.bs.${re}`),Ho=E(`hidden.bs.${re}`),ae=new Map,xo=e=>{const{tabContent:t,nav:s}=e;t&&h(t,Ht)&&(t.style.height="",v(t,Ht)),s&&u.clear(s)},Do=e=>{const{element:t,tabContent:s,content:n,nav:o}=e,{tab:i}=H(o)&&ae.get(o)||{tab:null};if(s&&n&&h(n,k)){const{currentHeight:r,nextHeight:a}=ae.get(t)||{currentHeight:0,nextHeight:0};r!==a?setTimeout(()=>{s.style.height=`${a}px`,_t(s),_(s,()=>xo(e))},50):xo(e)}else o&&u.clear(o);Po.relatedTarget=i,w(t,Po)},Io=e=>{const{element:t,content:s,tabContent:n,nav:o}=e,{tab:i,content:r}=o&&ae.get(o)||{tab:null,content:null};let a=0;if(n&&s&&h(s,k)&&([r,s].forEach(c=>{c&&d(c,"overflow-hidden")}),a=r?r.scrollHeight:0),Ss.relatedTarget=i,Ho.relatedTarget=t,w(t,Ss),!Ss.defaultPrevented){if(s&&d(s,T),r&&v(r,T),n&&s&&h(s,k)){const c=s.scrollHeight;ae.set(t,{currentHeight:a,nextHeight:c,tab:null,content:null}),d(n,Ht),n.style.height=`${a}px`,_t(n),[r,s].forEach(l=>{l&&v(l,"overflow-hidden")})}s&&s&&h(s,k)?setTimeout(()=>{d(s,g),_(s,()=>{Do(e)})},1):(s&&d(s,g),Do(e)),i&&w(i,Ho)}},Lo=e=>{const{nav:t}=e;if(!H(t))return{tab:null,content:null};const s=lt(T,t);let n=null;s.length===1&&!xt.some(i=>h(s[0].parentElement,i))?[n]=s:s.length>1&&(n=s[s.length-1]);const o=H(n)?z(n):null;return{tab:n,content:o}},Oo=e=>{if(!H(e))return null;const t=M(e,`.${xt.join(",.")}`);return t?A(`.${xt[0]}-toggle`,t):null},Nr=e=>{const t=M(e.target,_s),s=t&&Ao(t);s&&(e.preventDefault(),s.show())};class Ps extends J{static selector=_s;static init=kr;static getInstance=Ao;constructor(t){super(t);const{element:s}=this,n=z(s);if(!n)return;const o=M(s,".nav"),i=M(n,".tab-content");this.nav=o,this.content=n,this.tabContent=i,this.dropdown=Oo(s);const{tab:r}=Lo(this);if(o&&!r){const a=A(_s,o),c=a&&z(a);c&&(d(a,T),d(c,g),d(c,T),I(s,Le,"true"))}this._toggleEventListeners(!0)}get name(){return So}show(){const{element:t,content:s,nav:n,dropdown:o}=this;if(n&&u.get(n)||h(t,T))return;const{tab:i,content:r}=Lo(this);if(n&&i&&ae.set(n,{tab:i,content:r,currentHeight:0,nextHeight:0}),As.relatedTarget=t,!H(i)||(w(i,As),As.defaultPrevented))return;d(t,T),I(t,Le,"true");const a=H(i)&&Oo(i);if(a&&h(a,T)&&v(a,T),n){const c=()=>{i&&(v(i,T),I(i,Le,"false")),o&&!h(o,T)&&d(o,T)};r&&(h(r,k)||s&&h(s,k))?u.set(n,c,1):c()}r&&(v(r,g),h(r,k)?_(r,()=>Io(this)):Io(this))}_toggleEventListeners=t=>{(t?L:O)(this.element,D,Nr)};dispose(){this._toggleEventListeners(),super.dispose()}}const Q="toast",ko="Toast",Mr=`.${Q}`,Br=`[${Te}="${Q}"]`,Rr=`[${it}="${Q}"]`,jt="showing",No="hide",Fr={animation:!0,autohide:!0,delay:5e3},Hs=e=>R(e,ko),Wr=e=>new xs(e),Mo=E(`show.bs.${Q}`),jr=E(`shown.bs.${Q}`),Bo=E(`hide.bs.${Q}`),zr=E(`hidden.bs.${Q}`),Ro=e=>{const{element:t,options:s}=e;v(t,jt),u.clear(t,jt),w(t,jr),s.autohide&&u.set(t,()=>e.hide(),s.delay,Q)},Fo=e=>{const{element:t}=e;v(t,jt),v(t,g),d(t,No),u.clear(t,Q),w(t,zr)},Kr=e=>{const{element:t,options:s}=e;d(t,jt),s.animation?(_t(t),_(t,()=>Fo(e))):Fo(e)},Vr=e=>{const{element:t,options:s}=e;u.set(t,()=>{v(t,No),_t(t),d(t,g),d(t,jt),s.animation?_(t,()=>Ro(e)):Ro(e)},17,jt)};function Xr(e){const t=z(this),s=t&&Hs(t);ot(this)||s&&(this.tagName==="A"&&e.preventDefault(),s.relatedTarget=this,s.show())}const qr=e=>{const t=e.target,s=Hs(t),{type:n,relatedTarget:o}=e;!s||t===o||t.contains(o)||([me,ke].includes(n)?u.clear(t,Q):u.set(t,()=>s.hide(),s.options.delay,Q))};class xs extends J{static selector=Mr;static init=Wr;static getInstance=Hs;constructor(t,s){super(t,s);const{element:n,options:o}=this;o.animation&&!h(n,k)?d(n,k):!o.animation&&h(n,k)&&v(n,k),this.dismiss=A(Br,n),this.triggers=[...Y(Rr,b(n))].filter(i=>z(i)===n),this._toggleEventListeners(!0)}get name(){return ko}get defaults(){return Fr}get isShown(){return h(this.element,g)}show=()=>{const{element:t,isShown:s}=this;!t||s||(w(t,Mo),Mo.defaultPrevented||Vr(this))};hide=()=>{const{element:t,isShown:s}=this;!t||!s||(w(t,Bo),Bo.defaultPrevented||Kr(this))};_toggleEventListeners=t=>{const s=t?L:O,{element:n,triggers:o,dismiss:i,options:r,hide:a}=this;i&&s(i,D,a),r.autohide&&[ke,Rs,me,Ne].forEach(c=>s(n,c,qr)),o.length&&o.forEach(c=>{s(c,D,Xr)})};dispose(){const{element:t,isShown:s}=this;this._toggleEventListeners(),u.clear(t,Q),s&&v(t,g),super.dispose()}}const Ds=new Map;[Ve,Xe,ts,es,ls,ms,bs,$s,Cs,Ps,xs,He].forEach(e=>Ds.set(e.prototype.name,e));const Ur=(e,t)=>{[...t].forEach(s=>e(s))},Yr=(e,t)=>{const s=Ct.getAllFor(e);s&&[...s].forEach(([n,o])=>{t.contains(n)&&o.dispose()})},Is=e=>{const t=e&&e.nodeName?e:document,s=[...Ke("*",t)];Ds.forEach(n=>{const{init:o,selector:i}=n;Ur(o,s.filter(r=>tn(r,i)))})},Zr=e=>{const t=e&&e.nodeName?e:document;Ds.forEach(s=>{Yr(s.prototype.name,t)})};return document.body?Is():L(document,"DOMContentLoaded",()=>Is(),{once:!0}),N.Alert=Ve,N.Button=Xe,N.Carousel=ts,N.Collapse=es,N.Dropdown=ls,N.Modal=ms,N.Offcanvas=bs,N.Popover=$s,N.ScrollSpy=Cs,N.Tab=Ps,N.Toast=xs,N.Tooltip=He,N.initCallback=Is,N.removeDataAPI=Zr,Object.defineProperty(N,Symbol.toStringTag,{value:"Module"}),N})({});
2
- //# sourceMappingURL=bootstrap-native.js.map
1
+ /*! Bootstrap Native UMD v5.1.10 | thednp © 2026 | MIT-License */
2
+ "use strict";
3
+ (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports):typeof define==`function`&&define.amd?define([`exports`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.BSN={}))})(this,function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});let t=`aria-describedby`,n=`aria-expanded`,r=`aria-hidden`,i=`aria-modal`,a=`aria-pressed`,o=`aria-selected`,s=`focusin`,c=`focusout`,l=`keydown`,u=`click`,d=`mouseenter`,f=`mouseleave`,p=`touchstart`;`onmouseleave`in document;let m=`transitionend`,h=`transitionProperty`;navigator.userAgentData;let{userAgent:g}=navigator,ee=()=>{let e=/(iPhone|iPod|iPad)/;return navigator?.userAgentData?.brands.some(t=>e.test(t.brand))||e.test(navigator?.userAgent)||!1},te=()=>{},ne=(e,t,n,r)=>{let i=r||!1;e.addEventListener(t,n,i)},_=(e,t,n,r)=>{let i=r||!1;e.removeEventListener(t,n,i)},v=(e,t)=>e.getAttribute(t),y=(e,t)=>e.hasAttribute(t),b=(e,t,n)=>e.setAttribute(t,n),x=(e,t)=>e.removeAttribute(t),S=(e,...t)=>{e.classList.add(...t)},C=(e,...t)=>{e.classList.remove(...t)},w=(e,t)=>e.classList.contains(t),{body:re}=document,{documentElement:ie}=document,{head:ae}=document,oe=e=>typeof e==`object`&&!!e||!1,T=e=>oe(e)&&typeof e.nodeType==`number`&&[1,2,3,4,5,6,7,8,9,10,11].some(t=>e.nodeType===t)||!1,E=e=>T(e)&&e.nodeType===1||!1,D=new Map,O={data:D,set:(e,t,n)=>{E(e)&&(D.has(t)||D.set(t,new Map),D.get(t).set(e,n))},getAllFor:e=>D.get(e)||null,get:(e,t)=>{if(!E(e)||!t)return null;let n=O.getAllFor(t);return e&&n&&n.get(e)||null},remove:(e,t)=>{let n=O.getAllFor(t);!n||!E(e)||(n.delete(e),n.size===0&&D.delete(t))}},k=(e,t)=>O.get(e,t),se=e=>e?.trim().replace(/(?:^\w|[A-Z]|\b\w)/g,(e,t)=>t===0?e.toLowerCase():e.toUpperCase()).replace(/\s+/g,``),A=e=>typeof e==`string`||!1,ce=e=>oe(e)&&e.constructor.name===`Window`||!1,le=e=>T(e)&&e.nodeType===9||!1,j=e=>le(e)?e:T(e)?e.ownerDocument:ce(e)?e.document:globalThis.document,M=(e,...t)=>Object.assign(e,...t),N=e=>{if(!e)return;if(A(e))return j().createElement(e);let{tagName:t}=e,n=N(t);if(!n)return;let r={...e};return delete r.tagName,M(n,r)},P=(e,t)=>e.dispatchEvent(t),F=(e,t,n)=>{let r=getComputedStyle(e,n),i=t.replace(`webkit`,`Webkit`).replace(/([A-Z])/g,`-$1`).toLowerCase();return r.getPropertyValue(i)},ue=e=>{let t=F(e,h),n=F(e,`transitionDelay`),r=n.includes(`ms`)?1:1e3,i=t&&t!==`none`?parseFloat(n)*r:0;return Number.isNaN(i)?0:i},de=e=>{let t=F(e,h),n=F(e,`transitionDuration`),r=n.includes(`ms`)?1:1e3,i=t&&t!==`none`?parseFloat(n)*r:0;return Number.isNaN(i)?0:i},I=(e,t)=>{let n=0,r=new Event(m),i=de(e),a=ue(e);if(i){let o=r=>{r.target===e&&(t.apply(e,[r]),e.removeEventListener(m,o),n=1)};e.addEventListener(m,o),setTimeout(()=>{n||P(e,r)},i+a+17)}else t.apply(e,[r])},fe=(e,t)=>e.focus(t),pe=e=>[`true`,!0].includes(e)?!0:[`false`,!1].includes(e)?!1:[`null`,``,null,void 0].includes(e)?null:e!==``&&!Number.isNaN(+e)?+e:e,me=e=>Object.entries(e),he=(e,t,n,r)=>{if(!E(e))return t;let i={...n},a={...e.dataset},o={...t},s={},c=`title`;return me(a).forEach(([e,t])=>{let n=r&&typeof e==`string`&&e.includes(r)?se(e.replace(r,``)):se(e);s[n]=pe(t)}),me(i).forEach(([e,t])=>{i[e]=pe(t)}),me(t).forEach(([t,n])=>{t in i?o[t]=i[t]:t in s?o[t]=s[t]:o[t]=t===c?v(e,c):n}),o},ge=e=>Object.keys(e),L=(e,t)=>{let n=new CustomEvent(e,{cancelable:!0,bubbles:!0});return oe(t)&&M(n,t),n},_e={passive:!0},ve=e=>e.offsetHeight,R=(e,t)=>{me(t).forEach(([t,n])=>{if(n&&A(t)&&t.includes(`--`))e.style.setProperty(t,n);else{let r={};r[t]=n,M(e.style,r)}})},ye=e=>oe(e)&&e.constructor.name===`Map`||!1,be=e=>typeof e==`number`||!1,xe=new Map,z={set:(e,t,n,r)=>{E(e)&&(r&&r.length?(xe.has(e)||xe.set(e,new Map),xe.get(e).set(r,setTimeout(t,n))):xe.set(e,setTimeout(t,n)))},get:(e,t)=>{if(!E(e))return null;let n=xe.get(e);return t&&n&&ye(n)?n.get(t)||null:be(n)?n:null},clear:(e,t)=>{if(!E(e))return;let n=xe.get(e);t&&t.length&&ye(n)?(clearTimeout(n.get(t)),n.delete(t),n.size===0&&xe.delete(e)):(clearTimeout(n),xe.delete(e))}},Se=e=>e.toLowerCase(),B=(e,t)=>(T(t)?t:j()).querySelectorAll(e),Ce=new Map;function we(e){let{shiftKey:t,code:n}=e,r=j(this),i=[...B(`a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"]`,this)].filter(e=>!y(e,`disabled`)&&!v(e,`aria-hidden`));if(!i.length)return;let a=i[0],o=i[i.length-1];n===`Tab`&&(t&&r.activeElement===a?(o.focus(),e.preventDefault()):!t&&r.activeElement===o&&(a.focus(),e.preventDefault()))}let Te=e=>Ce.has(e)===!0,Ee=e=>{Te(e)||(ne(e,`keydown`,we),Ce.set(e,!0))},De=e=>{Te(e)&&(_(e,`keydown`,we),Ce.delete(e))},Oe=e=>{Te(e)?De(e):Ee(e)},V=e=>E(e)&&`offsetWidth`in e||!1,ke=(e,t)=>{let{width:n,height:r,top:i,right:a,bottom:o,left:s}=e.getBoundingClientRect(),c=1,l=1;if(t&&V(e)){let{offsetWidth:t,offsetHeight:i}=e;c=t>0?Math.round(n)/t:1,l=i>0?Math.round(r)/i:1}return{width:n/c,height:r/l,top:i/l,right:a/c,bottom:o/l,left:s/c,x:s/c,y:i/l}},Ae=e=>j(e).body,je=e=>j(e).documentElement,Me=e=>{let t=ce(e);return{x:t?e.scrollX:e.scrollLeft,y:t?e.scrollY:e.scrollTop}},Ne=e=>T(e)&&e.constructor.name===`ShadowRoot`||!1,Pe=e=>e.nodeName===`HTML`?e:E(e)&&e.assignedSlot||T(e)&&e.parentNode||Ne(e)&&e.host||je(e),Fe=e=>e?le(e)?e.defaultView:T(e)?e?.ownerDocument?.defaultView:e:window,Ie=e=>T(e)&&[`TABLE`,`TD`,`TH`].includes(e.nodeName)||!1,Le=(e,t)=>e.matches(t),Re=e=>{if(!V(e))return!1;let{width:t,height:n}=ke(e),{offsetWidth:r,offsetHeight:i}=e;return Math.round(t)!==r||Math.round(n)!==i},ze=(e,t,n)=>{let r=V(t),i=ke(e,r&&Re(t)),a={x:0,y:0};if(r){let e=ke(t,!0);a.x=e.x+t.clientLeft,a.y=e.y+t.clientTop}return{x:i.left+n.x-a.x,y:i.top+n.y-a.y,width:i.width,height:i.height}},Be=0,Ve=0,He=new Map,Ue=(e,t)=>{let n=t?Be:Ve;if(t){let r=Ue(e),i=He.get(r)||new Map;He.has(r)||He.set(r,i),ye(i)&&!i.has(t)?(i.set(t,n),Be+=1):n=i.get(t)}else{let t=e.id||e;He.has(t)?n=He.get(t):(He.set(t,n),Ve+=1)}return n},We=e=>Array.isArray(e)||!1,Ge=e=>{if(!T(e))return!1;let{top:t,bottom:n}=ke(e),{clientHeight:r}=je(e);return t<=r&&n>=0},Ke=e=>typeof e==`function`||!1,qe=e=>oe(e)&&e.constructor.name===`NodeList`||!1,Je=e=>je(e).dir===`rtl`,H=(e,t)=>!e||!t?null:e.closest(t)||H(e.getRootNode().host,t)||null,U=(e,t)=>E(e)?e:(E(t)?t:j()).querySelector(e),Ye=(e,t)=>(T(t)?t:j()).getElementsByTagName(e),Xe=(e,t)=>j(t).getElementById(e),Ze=(e,t)=>(t&&T(t)?t:j()).getElementsByClassName(e),Qe={},$e=e=>{let{type:t,currentTarget:n}=e;Qe[t].forEach((r,i)=>{n===i&&r.forEach((n,r)=>{r.apply(i,[e]),typeof n==`object`&&n.once&&G(i,t,r,n)})})},W=(e,t,n,r)=>{Qe[t]||(Qe[t]=new Map);let i=Qe[t];i.has(e)||i.set(e,new Map);let a=i.get(e),{size:o}=a;a.set(n,r),o||e.addEventListener(t,$e,r)},G=(e,t,n,r)=>{let i=Qe[t],a=i&&i.get(e),o=a&&a.get(n),s=o===void 0?r:o;a&&a.has(n)&&a.delete(n),i&&(!a||!a.size)&&i.delete(e),(!i||!i.size)&&delete Qe[t],(!a||!a.size)&&e.removeEventListener(t,$e,s)},et=`fade`,K=`show`,tt=`data-bs-dismiss`,nt=`alert`,rt=`Alert`,it=e=>w(e,`disabled`)||v(e,`disabled`)===`true`;var at=class{constructor(e,t){let n;try{if(E(e))n=e;else if(A(e)){if(n=U(e),!n)throw Error(`"${e}" is not a valid selector.`)}else throw Error(`your target is not an instance of HTMLElement.`)}catch(e){throw Error(`${this.name} Error: ${e.message}`)}let r=O.get(n,this.name);r&&r._toggleEventListeners(),this.element=n,this.options=this.defaults&&ge(this.defaults).length?he(n,this.defaults,t||{},`bs`):{},O.set(n,this.name,this)}get version(){return`5.1.10`}get name(){return`BaseComponent`}get defaults(){return{}}_toggleEventListeners=()=>{};dispose(){O.remove(this.element,this.name),ge(this).forEach(e=>{delete this[e]})}};let ot=`.${nt}`,st=`[${tt}="${nt}"]`,ct=e=>k(e,rt),lt=e=>new pt(e),ut=L(`close.bs.${nt}`),dt=L(`closed.bs.${nt}`),ft=e=>{let{element:t}=e;P(t,dt),e._toggleEventListeners(),e.dispose(),t.remove()};var pt=class extends at{static selector=ot;static init=lt;static getInstance=ct;dismiss;constructor(e){super(e),this.dismiss=U(st,this.element),this._toggleEventListeners(!0)}get name(){return rt}close=e=>{let{element:t,dismiss:n}=this;!t||!w(t,`show`)||e&&n&&it(n)||(P(t,ut),!ut.defaultPrevented&&(C(t,K),w(t,`fade`)?I(t,()=>ft(this)):ft(this)))};_toggleEventListeners=e=>{let t=e?W:G,{dismiss:n,close:r}=this;n&&t(n,u,r)};dispose(){this._toggleEventListeners(),super.dispose()}};let q=`active`,mt=`data-bs-toggle`,ht=`Button`,gt=`[${mt}="button"]`,_t=e=>k(e,ht),vt=e=>new yt(e);var yt=class extends at{static selector=gt;static init=vt;static getInstance=_t;constructor(e){super(e);let{element:t}=this;this.isActive=w(t,q),b(t,a,String(!!this.isActive)),this._toggleEventListeners(!0)}get name(){return ht}toggle=e=>{e&&e.preventDefault();let{element:t,isActive:n}=this;it(t)||((n?C:S)(t,q),b(t,a,n?`false`:`true`),this.isActive=w(t,q))};_toggleEventListeners=e=>{(e?W:G)(this.element,u,this.toggle)};dispose(){this._toggleEventListeners(),super.dispose()}};let bt=`data-bs-target`,xt=`carousel`,St=`Carousel`,J=e=>{let t=[bt,`data-bs-parent`,`data-bs-container`,`href`],n=j(e);return t.map(t=>{let r=v(e,t);return r?t===`data-bs-parent`?H(e,r):U(r,n):null}).filter(e=>e)[0]},Ct=`[data-bs-ride="${xt}"]`,wt=`${xt}-item`,Tt=`data-bs-slide-to`,Et=`data-bs-slide`,Dt=`paused`,Ot={pause:`hover`,keyboard:!1,touch:!0,interval:5e3},kt=e=>k(e,St),At=e=>new Yt(e),jt=0,Mt=0,Nt=0,Pt=L(`slide.bs.${xt}`),Ft=L(`slid.bs.${xt}`),It=e=>{let{index:t,direction:n,element:r,slides:i,options:a}=e;if(e.isAnimating){let o=Jt(e),s=n===`left`?`next`:`prev`,c=n===`left`?`start`:`end`;S(i[t],q),C(i[t],`${wt}-${s}`),C(i[t],`${wt}-${c}`),C(i[o],q),C(i[o],`${wt}-${c}`),P(r,Ft),z.clear(r,Et),e.cycle&&!j(r).hidden&&a.interval&&!e.isPaused&&e.cycle()}};function Lt(){let e=kt(this);e&&!e.isPaused&&!z.get(this,Dt)&&S(this,Dt)}function Rt(){let e=kt(this);e&&e.isPaused&&!z.get(this,Dt)&&e.cycle()}function zt(e){e.preventDefault();let t=H(this,Ct)||J(this),n=t&&kt(t);if(it(this)||!n||n.isAnimating)return;let r=Number(v(this,Tt)||0);this&&!w(this,`active`)&&!Number.isNaN(r)&&n.to(r)}function Bt(e){e.preventDefault();let t=H(this,Ct)||J(this),n=t&&kt(t);if(it(this)||!n||n.isAnimating)return;let r=v(this,Et);r===`next`?n.next():r===`prev`&&n.prev()}let Vt=({code:e,target:t})=>{let[n]=[...B(Ct,j(t))].filter(e=>Ge(e)),r=kt(n);if(!r||r.isAnimating||/textarea|input|select/i.test(t.nodeName))return;let i=Je(n);e===(i?`ArrowRight`:`ArrowLeft`)?r.prev():e===(i?`ArrowLeft`:`ArrowRight`)&&r.next()};function Ht(e){let{target:t}=e,n=kt(this);n&&n.isTouch&&!n.controls.includes(t)&&!n.controls.includes(t?.parentElement)&&(!n.indicator||!n.indicator.contains(t))&&e.preventDefault()}function Ut(e){let{target:t}=e,n=kt(this);if(!n||n.isAnimating||n.isTouch)return;let{controls:r,indicator:i}=n;![...r,i].every(e=>e&&(e===t||e.contains(t)))&&this.contains(t)&&(jt=e.pageX,n.isTouch=!0,qt(n,!0))}let Wt=e=>{Mt=e.pageX},Gt=e=>{let{target:t}=e,n=j(t),r=[...B(Ct,n)].map(e=>kt(e)).find(e=>e.isTouch);if(!r)return;let{element:i,index:a}=r,o=Je(i);Nt=e.pageX,r.isTouch=!1,qt(r),!n.getSelection()?.toString().length&&i.contains(t)&&Math.abs(jt-Nt)>120&&(Mt<jt?r.to(a+(o?-1:1)):Mt>jt&&r.to(a+(o?1:-1))),jt=0,Mt=0,Nt=0},Kt=(e,t)=>{let{indicators:n}=e;[...n].forEach(e=>C(e,q)),e.indicators[t]&&S(n[t],q)},qt=(e,t)=>{let{element:n}=e,r=t?W:G;r(j(n),`pointermove`,Wt,_e),r(j(n),`pointerup`,Gt,_e)},Jt=e=>{let{slides:t,element:n}=e,r=U(`.${wt}.${q}`,n);return r?[...t].indexOf(r):-1};var Yt=class extends at{static selector=Ct;static init=At;static getInstance=kt;constructor(e,t){super(e,t);let{element:n}=this;this.direction=Je(n)?`right`:`left`,this.isTouch=!1,this.slides=Ze(wt,n);let{slides:r}=this;if(r.length<2)return;let i=Jt(this),a=[...r].find(e=>Le(e,`.${wt}-next`));this.index=i;let o=j(n);this.controls=[...B(`[${Et}]`,n),...B(`[${Et}][${bt}="#${n.id}"]`,o)].filter((e,t,n)=>t===n.indexOf(e)),this.indicator=U(`.${xt}-indicators`,n),this.indicators=[...this.indicator?B(`[${Tt}]`,this.indicator):[],...B(`[${Tt}][${bt}="#${n.id}"]`,o)].filter((e,t,n)=>t===n.indexOf(e));let{options:s}=this;this.options.interval=s.interval===!0?Ot.interval:s.interval,a?this.index=[...r].indexOf(a):i<0&&(this.index=0,S(r[0],q),this.indicators.length&&Kt(this,0)),this.indicators.length&&Kt(this,this.index),this._toggleEventListeners(!0),s.interval&&this.cycle()}get name(){return St}get defaults(){return Ot}get isPaused(){return w(this.element,Dt)}get isAnimating(){return U(`.${wt}-next,.${wt}-prev`,this.element)!==null}cycle(){let{element:e,options:t,isPaused:n,index:r}=this;z.clear(e,xt),n&&(z.clear(e,Dt),C(e,Dt)),z.set(e,()=>{this.element&&!this.isPaused&&!this.isTouch&&Ge(e)&&this.to(r+1)},t.interval,xt)}pause(){let{element:e,options:t}=this;this.isPaused||!t.interval||(S(e,Dt),z.set(e,()=>{},1,Dt))}next(){this.isAnimating||this.to(this.index+1)}prev(){this.isAnimating||this.to(this.index-1)}to(e){let{element:t,slides:n,options:r}=this,i=Jt(this),a=Je(t),o=e;if(this.isAnimating||i===o||z.get(t,Et))return;i<o||i===0&&o===n.length-1?this.direction=a?`right`:`left`:(i>o||i===n.length-1&&o===0)&&(this.direction=a?`left`:`right`);let{direction:s}=this;o<0?o=n.length-1:o>=n.length&&(o=0);let c=s===`left`?`next`:`prev`,l=s===`left`?`start`:`end`,u={relatedTarget:n[o],from:i,to:o,direction:s};M(Pt,u),M(Ft,u),P(t,Pt),!Pt.defaultPrevented&&(this.index=o,Kt(this,o),de(n[o])&&w(t,`slide`)?z.set(t,()=>{S(n[o],`${wt}-${c}`),ve(n[o]),S(n[o],`${wt}-${l}`),S(n[i],`${wt}-${l}`),I(n[o],()=>this.slides&&this.slides.length&&It(this))},0,Et):(S(n[o],q),C(n[i],q),z.set(t,()=>{z.clear(t,Et),t&&r.interval&&!this.isPaused&&this.cycle(),P(t,Ft)},0,Et)))}_toggleEventListeners=e=>{let{element:t,options:n,slides:r,controls:i,indicators:a}=this,{touch:o,pause:s,interval:c,keyboard:m}=n,h=e?W:G;s&&c&&(h(t,d,Lt),h(t,f,Rt)),o&&r.length>2&&(h(t,`pointerdown`,Ut,_e),h(t,p,Ht,{passive:!1}),h(t,`dragstart`,Ht,{passive:!1})),i.length&&i.forEach(e=>{h(e,u,Bt)}),a.length&&a.forEach(e=>{h(e,u,zt)}),m&&h(j(t),l,Vt)};dispose(){let{isAnimating:e}=this,t={...this,isAnimating:e};this._toggleEventListeners(),super.dispose(),t.isAnimating&&I(t.slides[t.index],()=>{It(t)})}};let Xt=`collapsing`,Y=`collapse`,Zt=`Collapse`,Qt=`.${Y}`,$t=`[${mt}="${Y}"]`,en={parent:null},tn=e=>k(e,Zt),nn=e=>new dn(e),rn=L(`show.bs.${Y}`),an=L(`shown.bs.${Y}`),on=L(`hide.bs.${Y}`),sn=L(`hidden.bs.${Y}`),cn=e=>{let{element:t,parent:r,triggers:i}=e;P(t,rn),rn.defaultPrevented||(z.set(t,te,17),r&&z.set(r,te,17),S(t,Xt),C(t,Y),R(t,{height:`${t.scrollHeight}px`}),I(t,()=>{z.clear(t),r&&z.clear(r),i.forEach(e=>b(e,n,`true`)),C(t,Xt),S(t,Y),S(t,K),R(t,{height:``}),P(t,an)}))},ln=e=>{let{element:t,parent:r,triggers:i}=e;P(t,on),on.defaultPrevented||(z.set(t,te,17),r&&z.set(r,te,17),R(t,{height:`${t.scrollHeight}px`}),C(t,Y),C(t,K),S(t,Xt),ve(t),R(t,{height:`0px`}),I(t,()=>{z.clear(t),r&&z.clear(r),i.forEach(e=>b(e,n,`false`)),C(t,Xt),S(t,Y),R(t,{height:``}),P(t,sn)}))},un=e=>{let{target:t}=e,n=t&&H(t,$t),r=n&&J(n),i=r&&tn(r);n&&it(n)||i&&(i.toggle(),n?.tagName===`A`&&e.preventDefault())};var dn=class extends at{static selector=Qt;static init=nn;static getInstance=tn;constructor(e,t){super(e,t);let{element:n,options:r}=this,i=j(n);this.triggers=[...B($t,i)].filter(e=>J(e)===n),this.parent=V(r.parent)?r.parent:A(r.parent)?J(n)||U(r.parent,i):null,this._toggleEventListeners(!0)}get name(){return Zt}get defaults(){return en}hide(){let{triggers:e,element:t}=this;z.get(t)||(ln(this),e.length&&e.forEach(e=>S(e,`${Y}d`)))}show(){let{element:e,parent:t,triggers:n}=this,r,i;t&&(r=[...B(`.${Y}.${K}`,t)].find(e=>tn(e)),i=r&&tn(r)),(!t||!z.get(t))&&!z.get(e)&&(i&&r!==e&&(ln(i),i.triggers.forEach(e=>{S(e,`${Y}d`)})),cn(this),n.length&&n.forEach(e=>C(e,`${Y}d`)))}toggle(){w(this.element,`show`)?this.hide():this.show()}_toggleEventListeners=e=>{let t=e?W:G,{triggers:n}=this;n.length&&n.forEach(e=>{t(e,u,un)})};dispose(){this._toggleEventListeners(),super.dispose()}},fn=`1.1.3`;let pn=`PositionObserver Error`;var mn=class{entries;static version=fn;_t;_r;_w;_h;_rm;_th;_c;constructor(e,t){if(!Ke(e))throw Error(`${pn}: ${e} is not a function.`);this.entries=new Map,this._c=e,this._t=0;let n=E(t?.root)?t.root:document?.documentElement;this._r=n,this._rm=t?.rootMargin,this._th=t?.threshold,this._w=n.clientWidth,this._h=n.clientHeight}observe=e=>{if(!E(e))throw Error(`${pn}: ${e} is not an instance of Element.`);this._r.contains(e)&&this._n(e).then(t=>{t.boundingClientRect&&!this.getEntry(e)&&this.entries.set(e,t),this._t||=requestAnimationFrame(this._rc)})};unobserve=e=>{this.entries.has(e)&&this.entries.delete(e)};_rc=()=>{if(!this.entries.size){this._t=0;return}let{clientWidth:e,clientHeight:t}=this._r,n=new Promise(n=>{let r=[];this.entries.forEach(({target:n,boundingClientRect:i})=>{this._r.contains(n)&&this._n(n).then(a=>{if(!a.isIntersecting)return;let{left:o,top:s}=a.boundingClientRect;(i.top!==s||i.left!==o||this._w!==e||this._h!==t)&&(this.entries.set(n,a),r.push(a))})}),this._w=e,this._h=t,n(r)});this._t=requestAnimationFrame(async()=>{let e=await n;e.length&&this._c(e,this),this._rc()})};_n=e=>new Promise(t=>{new IntersectionObserver(([e],n)=>{n.disconnect(),t(e)},{threshold:this._th,rootMargin:this._rm}).observe(e)});getEntry=e=>this.entries.get(e);disconnect=()=>{cancelAnimationFrame(this._t),this.entries.clear(),this._t=0}};let hn=[`dropdown`,`dropup`,`dropstart`,`dropend`],gn=`Dropdown`,_n=`dropdown-menu`,vn=e=>{let t=H(e,`A`);return e.tagName===`A`&&y(e,`href`)&&v(e,`href`)?.slice(-1)===`#`||t&&y(t,`href`)&&v(t,`href`)?.slice(-1)===`#`},[yn,bn,xn,Sn]=hn,Cn=`[${mt}="${yn}"]`,wn=e=>k(e,gn),Tn=e=>new Wn(e),En=`${_n}-end`,Dn=[yn,bn],On=[xn,Sn],kn=[`A`,`BUTTON`],An={offset:5,display:`dynamic`},jn=L(`show.bs.${yn}`),Mn=L(`shown.bs.${yn}`),Nn=L(`hide.bs.${yn}`),Pn=L(`hidden.bs.${yn}`),Fn=L(`updated.bs.${yn}`),In=e=>{let{element:t,menu:n,parentElement:r,options:i}=e,{offset:a}=i;if(F(n,`position`)===`static`)return;let o=Je(t),s=w(n,En);[`margin`,`top`,`bottom`,`left`,`right`].forEach(e=>{let t={};t[e]=``,R(n,t)});let c=hn.find(e=>w(r,e))||yn,l={dropdown:[a,0,0],dropup:[0,0,a],dropstart:o?[-1,0,0,a]:[-1,a,0],dropend:o?[-1,a,0]:[-1,0,0,a]},u={dropdown:{top:`100%`},dropup:{top:`auto`,bottom:`100%`},dropstart:o?{left:`100%`,right:`auto`}:{left:`auto`,right:`100%`},dropend:o?{left:`auto`,right:`100%`}:{left:`100%`,right:`auto`},menuStart:o?{right:`0`,left:`auto`}:{right:`auto`,left:`0`},menuEnd:o?{right:`auto`,left:`0`}:{right:`0`,left:`auto`}},{offsetWidth:d,offsetHeight:f}=n,{clientWidth:p,clientHeight:m}=je(t),{left:h,top:g,width:ee,height:te}=ke(t),ne=h-d-a<0,_=h+d+ee+a>=p,v=g+f+a>=m,y=g+f+te+a>=m,b=g-f-a<0,x=(!o&&s||o&&!s)&&h+ee-d<0,S=(o&&s||!o&&!s)&&h+d>=p;if(On.includes(c)&&ne&&_&&(c=yn),c===xn&&(o?_:ne)&&(c=Sn),c===Sn&&(o?ne:_)&&(c=xn),c===bn&&b&&!y&&(c=yn),c===yn&&y&&!b&&(c=bn),On.includes(c)&&v&&M(u[c],{top:`auto`,bottom:0}),Dn.includes(c)&&(x||S)){let e={left:`auto`,right:`auto`};!x&&S&&!o&&(e={left:`auto`,right:0}),x&&!S&&o&&(e={left:0,right:`auto`}),e&&M(u[c],e)}let C=l[c];R(n,{...u[c],margin:`${C.map(e=>e&&`${e}px`).join(` `)}`}),Dn.includes(c)&&s&&s&&R(n,u[!o&&x||o&&S?`menuStart`:`menuEnd`]),P(r,Fn)},Ln=e=>Array.from(e.children).map(e=>{if(e&&kn.includes(e.tagName))return e;let{firstElementChild:t}=e;return t&&kn.includes(t.tagName)?t:null}).filter(e=>e),Rn=e=>{let{element:t,options:n,menu:r}=e,i=e.open?W:G,a=j(t);i(a,u,Bn),i(a,`focus`,Bn),i(a,l,Hn),i(a,`keyup`,Un),n.display===`dynamic`&&(e.open?e._observer.observe(r):e._observer.disconnect())},zn=e=>{let t=[...hn,`btn-group`,`input-group`].map(t=>Ze(`${t} ${K}`,j(e))).find(e=>e.length);if(t&&t.length)return[...t[0].children].find(e=>hn.some(t=>t===v(e,mt)))},Bn=e=>{let{target:t,type:n}=e;if(!V(t))return;let r=zn(t),i=r&&wn(r);if(!i)return;let{parentElement:a,menu:o}=i,s=a&&a.contains(t)&&(t.tagName===`form`||H(t,`form`)!==null);[`click`,`mousedown`].includes(n)&&vn(t)&&e.preventDefault(),!s&&n!==`focus`&&t!==r&&t!==o&&i.hide()};function Vn(e){let t=wn(this);it(this)||t&&(e.stopPropagation(),t.toggle(),vn(this)&&e.preventDefault())}let Hn=e=>{[`ArrowDown`,`ArrowUp`].includes(e.code)&&e.preventDefault()};function Un(e){let{code:t}=e,n=zn(this);if(!n)return;let r=wn(n),{activeElement:i}=j(n);if(!r||!i)return;let{menu:a,open:o}=r,s=Ln(a);if(s&&s.length&&[`ArrowDown`,`ArrowUp`].includes(t)){let e=s.indexOf(i);i===n?e=0:t===`ArrowUp`?e=e>1?e-1:0:t===`ArrowDown`&&(e=e<s.length-1?e+1:e),s[e]&&fe(s[e])}t===`Escape`&&o&&(r.toggle(),fe(n))}var Wn=class extends at{static selector=Cn;static init=Tn;static getInstance=wn;constructor(e,t){super(e,t);let{parentElement:n}=this.element,[r]=Ze(_n,n);r&&(this.parentElement=n,this.menu=r,this._observer=new mn(()=>In(this)),this._toggleEventListeners(!0))}get name(){return gn}get defaults(){return An}toggle(){this.open?this.hide():this.show()}show(){let{element:e,open:t,menu:r,parentElement:i}=this;if(t)return;let a=zn(e),o=a&&wn(a);o&&o.hide(),[jn,Mn,Fn].forEach(t=>{t.relatedTarget=e}),P(i,jn),!jn.defaultPrevented&&(S(r,K),S(i,K),b(e,n,`true`),In(this),this.open=!t,fe(e),Rn(this),P(i,Mn))}hide(){let{element:e,open:t,menu:r,parentElement:i}=this;t&&([Nn,Pn].forEach(t=>{t.relatedTarget=e}),P(i,Nn),!Nn.defaultPrevented&&(C(r,K),C(i,K),b(e,n,`false`),this.open=!t,Rn(this),P(i,Pn)))}_toggleEventListeners=e=>{(e?W:G)(this.element,u,Vn)};dispose(){this.open&&this.hide(),this._toggleEventListeners(),super.dispose()}};let X=`modal`,Gn=`Modal`,Kn=`Offcanvas`,qn=e=>[...Ze(`fixed-top`,e),...Ze(`fixed-bottom`,e),...Ze(`sticky-top`,e),...Ze(`position-sticky`,e),...Ze(`is-fixed`,e)],Jn=e=>{let t=Ae(e);R(t,{paddingRight:``,overflow:``});let n=qn(t);n.length&&n.forEach(e=>{R(e,{paddingRight:``,marginRight:``})})},Yn=e=>{let{clientWidth:t}=je(e),{innerWidth:n}=Fe(e);return Math.abs(n-t)},Xn=(e,t)=>{let n=Ae(e),r=parseInt(F(n,`paddingRight`),10),i=F(n,`overflow`)===`hidden`&&r?0:Yn(e),a=qn(n);t&&(R(n,{overflow:`hidden`,paddingRight:`${r+i}px`}),a.length&&a.forEach(e=>{let t=F(e,`paddingRight`);if(e.style.paddingRight=`${parseInt(t,10)+i}px`,[`sticky-top`,`position-sticky`].some(t=>w(e,t))){let t=F(e,`marginRight`);e.style.marginRight=`${parseInt(t,10)-i}px`}}))},Z=`offcanvas`,Zn=N({tagName:`div`,className:`popup-container`}),Qn=(e,t)=>{let n=T(t)&&t.nodeName===`BODY`,r=T(t)&&!n?t:Zn,i=n?t:Ae(e);T(e)&&(r===Zn&&i.append(Zn),r.append(e))},$n=(e,t)=>{let n=T(t)&&t.nodeName===`BODY`,r=T(t)&&!n?t:Zn;T(e)&&(e.remove(),r===Zn&&!Zn.children.length&&Zn.remove())},er=(e,t)=>{let n=T(t)&&t.nodeName!==`BODY`?t:Zn;return T(e)&&n.contains(e)},tr=`backdrop`,nr=`${X}-${tr}`,rr=`${Z}-${tr}`,ir=`.${X}.${K}`,ar=`.${Z}.${K}`,Q=N(`div`),or=e=>U(`${ir},${ar}`,j(e)),sr=e=>{let t=e?nr:rr;[nr,rr].forEach(e=>{C(Q,e)}),S(Q,t)},cr=(e,t,n)=>{sr(n),Qn(Q,Ae(e)),t&&S(Q,et)},lr=()=>{w(Q,`show`)||(S(Q,K),ve(Q))},ur=()=>{C(Q,K)},dr=e=>{or(e)||(C(Q,et),$n(Q,Ae(e)),Jn(e))},fr=e=>V(e)&&F(e,`visibility`)!==`hidden`&&e.offsetParent!==null,pr=`.${X}`,mr=`[${mt}="${X}"]`,hr=`[${tt}="${X}"]`,gr=`${X}-static`,_r={backdrop:!0,keyboard:!0},vr=e=>k(e,Gn),yr=e=>new Pr(e),br=L(`show.bs.${X}`),xr=L(`shown.bs.${X}`),Sr=L(`hide.bs.${X}`),Cr=L(`hidden.bs.${X}`),wr=e=>{let{element:t}=e,n=Yn(t),{clientHeight:r,scrollHeight:i}=je(t),{clientHeight:a,scrollHeight:o}=t,s=a!==o;!s&&n&&R(t,{[Je(t)?`paddingLeft`:`paddingRight`]:`${n}px`}),Xn(t,s||r!==i)},Tr=(e,t)=>{let n=t?W:G,{element:r}=e;n(r,u,Mr),n(j(r),l,jr),t?e._observer.observe(r):e._observer.disconnect()},Er=e=>{let{triggers:t,element:n,relatedTarget:r}=e;dr(n),R(n,{paddingRight:``,display:``}),Tr(e);let i=br.relatedTarget||t.find(fr);i&&fe(i),Cr.relatedTarget=r||void 0,P(n,Cr),Oe(n)},Dr=e=>{let{element:t,relatedTarget:n}=e;fe(t),Tr(e,!0),xr.relatedTarget=n||void 0,P(t,xr),Oe(t)},Or=e=>{let{element:t,hasFade:n}=e;R(t,{display:`block`}),wr(e),or(t)||R(Ae(t),{overflow:`hidden`}),S(t,K),x(t,r),b(t,i,`true`),n?I(t,()=>Dr(e)):Dr(e)},kr=e=>{let{element:t,options:n,hasFade:r}=e;n.backdrop&&r&&w(Q,`show`)&&!or(t)?(ur(),I(Q,()=>Er(e))):Er(e)};function Ar(e){let t=J(this),n=t&&vr(t);it(this)||n&&(this.tagName===`A`&&e.preventDefault(),n.relatedTarget=this,n.toggle())}let jr=({code:e,target:t})=>{let n=U(ir,j(t)),r=n&&vr(n);if(!r)return;let{options:i}=r;i.keyboard&&e===`Escape`&&w(n,`show`)&&(r.relatedTarget=null,r.hide())},Mr=e=>{let{currentTarget:t}=e,n=t&&vr(t);if(!n||!t||z.get(t))return;let{options:r,isStatic:i,modalDialog:a}=n,{backdrop:o}=r,{target:s}=e,c=j(t)?.getSelection()?.toString().length,l=a.contains(s),u=s&&H(s,hr);i&&!l?z.set(t,()=>{S(t,gr),I(a,()=>Nr(n))},17):(u||!c&&!i&&!l&&o)&&(n.relatedTarget=u||null,n.hide(),e.preventDefault())},Nr=e=>{let{element:t,modalDialog:n}=e,r=(de(n)||0)+17;C(t,gr),z.set(t,()=>z.clear(t),r)};var Pr=class extends at{static selector=pr;static init=yr;static getInstance=vr;constructor(e,t){super(e,t);let{element:n}=this,r=U(`.${X}-dialog`,n);r&&(this.modalDialog=r,this.triggers=[...B(mr,j(n))].filter(e=>J(e)===n),this.isStatic=this.options.backdrop===`static`,this.hasFade=w(n,et),this.relatedTarget=null,this._observer=new ResizeObserver(()=>this.update()),this._toggleEventListeners(!0))}get name(){return Gn}get defaults(){return _r}toggle(){w(this.element,`show`)?this.hide():this.show()}show(){let{element:e,options:t,hasFade:n,relatedTarget:r}=this,{backdrop:i}=t,a=0;if(w(e,`show`)||(br.relatedTarget=r||void 0,P(e,br),br.defaultPrevented))return;let o=or(e);if(o&&o!==e){let e=vr(o)||k(o,`Offcanvas`);e&&e.hide()}i?(er(Q)?sr(!0):cr(e,n,!0),a=de(Q),lr(),setTimeout(()=>Or(this),a)):(Or(this),o&&w(Q,`show`)&&ur())}hide(){let{element:e,hasFade:t,relatedTarget:n}=this;w(e,`show`)&&(Sr.relatedTarget=n||void 0,P(e,Sr),!Sr.defaultPrevented&&(C(e,K),b(e,r,`true`),x(e,i),t?I(e,()=>kr(this)):kr(this)))}update=()=>{w(this.element,`show`)&&wr(this)};_toggleEventListeners=e=>{let t=e?W:G,{triggers:n}=this;n.length&&n.forEach(e=>{t(e,u,Ar)})};dispose(){let{modalDialog:e,hasFade:t}={...this},n=()=>setTimeout(()=>super.dispose(),17);this.hide(),this._toggleEventListeners(),t?I(e,n):n()}};let Fr=`.${Z}`,Ir=`[${mt}="${Z}"]`,Lr=`[${tt}="${Z}"]`,Rr=`${Z}-toggling`,zr={backdrop:!0,keyboard:!0,scroll:!1},Br=e=>k(e,Kn),Vr=e=>new ti(e),Hr=L(`show.bs.${Z}`),Ur=L(`shown.bs.${Z}`),Wr=L(`hide.bs.${Z}`),Gr=L(`hidden.bs.${Z}`),Kr=e=>{let{element:t}=e,{clientHeight:n,scrollHeight:r}=je(t);Xn(t,n!==r)},qr=(e,t)=>{let n=t?W:G,r=j(e.element);n(r,l,Qr),n(r,u,Zr)},Jr=e=>{let{element:t,options:n}=e;n.scroll||(Kr(e),R(Ae(t),{overflow:`hidden`})),S(t,Rr),S(t,K),R(t,{visibility:`visible`}),I(t,()=>$r(e))},Yr=e=>{let{element:t,options:n}=e,r=or(t);t.blur(),!r&&n.backdrop&&w(Q,`show`)&&ur(),I(t,()=>ei(e))};function Xr(e){let t=J(this),n=t&&Br(t);it(this)||n&&(n.relatedTarget=this,n.toggle(),this.tagName===`A`&&e.preventDefault())}let Zr=e=>{let{target:t}=e,n=U(ar,j(t));if(!n)return;let r=U(Lr,n),i=Br(n);if(!i)return;let{options:a,triggers:o}=i,{backdrop:s}=a,c=H(t,Ir),l=j(n).getSelection();if(Q.contains(t)&&s===`static`)return;let u=o.includes(t),d=r?.contains(t)||!1;!(l&&l.toString().length)&&(!n.contains(t)&&s&&(!c||u)||d)&&(i.relatedTarget=r&&d?r:void 0,i.hide()),c&&c.tagName===`A`&&e.preventDefault()},Qr=({code:e,target:t})=>{let n=U(ar,j(t)),r=n&&Br(n);r&&r.options.keyboard&&e===`Escape`&&(r.relatedTarget=void 0,r.hide())},$r=e=>{let{element:t}=e;C(t,Rr),x(t,r),b(t,i,`true`),b(t,`role`,`dialog`),P(t,Ur),qr(e,!0),fe(t),Oe(t)},ei=e=>{let{element:t,triggers:n}=e;b(t,r,`true`),x(t,i),x(t,`role`),R(t,{visibility:``});let a=Hr.relatedTarget||n.find(fr);a&&fe(a),dr(t),P(t,Gr),C(t,Rr),Oe(t),or(t)||qr(e)};var ti=class extends at{static selector=Fr;static init=Vr;static getInstance=Br;constructor(e,t){super(e,t);let{element:n}=this;this.triggers=[...B(Ir,j(n))].filter(e=>J(e)===n),this.relatedTarget=void 0,this._toggleEventListeners(!0)}get name(){return Kn}get defaults(){return zr}toggle(){w(this.element,`show`)?this.hide():this.show()}show(){let{element:e,options:t,relatedTarget:n}=this,r=0;if(w(e,`show`)||(Hr.relatedTarget=n||void 0,Ur.relatedTarget=n||void 0,P(e,Hr),Hr.defaultPrevented))return;let i=or(e);if(i&&i!==e){let e=Br(i)||k(i,`Modal`);e&&e.hide()}t.backdrop?(er(Q)?sr():cr(e,!0),r=de(Q),lr(),setTimeout(()=>Jr(this),r)):(Jr(this),i&&w(Q,`show`)&&ur())}hide(){let{element:e,relatedTarget:t}=this;w(e,`show`)&&(Wr.relatedTarget=t||void 0,Gr.relatedTarget=t||void 0,P(e,Wr),!Wr.defaultPrevented&&(S(e,Rr),C(e,K),Yr(this)))}_toggleEventListeners=e=>{let t=e?W:G;this.triggers.forEach(e=>{t(e,u,Xr)})};dispose(){let{element:e}=this,t=w(e,K),n=()=>setTimeout(()=>super.dispose(),1);this.hide(),this._toggleEventListeners(),t?I(e,n):n()}};let ni=`popover`,ri=`Popover`,ii=`tooltip`,ai=e=>{let t=e===ii,n=t?`${e}-inner`:`${e}-body`,r=t?``:`<h3 class="${e}-header"></h3>`,i=`<div class="${e}-arrow"></div>`,a=`<div class="${n}"></div>`;return`<div class="${e}" role="${ii}">${r+i+a}</div>`},oi={top:`top`,bottom:`bottom`,left:`start`,right:`end`},si=e=>{requestAnimationFrame(()=>{let t=/\b(top|bottom|start|end)+/,{element:n,tooltip:r,container:i,offsetParent:a,options:o,arrow:s}=e;if(!r)return;let c=Je(n),{x:l,y:u}=Me(a);R(r,{top:``,left:``,right:``,bottom:``});let{offsetWidth:d,offsetHeight:f}=r,{clientWidth:p,clientHeight:m,offsetWidth:h}=je(n),{placement:g}=o,{clientWidth:ee,offsetWidth:te}=i,ne=F(i,`position`)===`fixed`,_=Math.abs(ne?ee-te:p-h),v=c&&ne?_:0,y=p-(c?0:_)-1,{width:b,height:x,left:S,right:C,top:w}=e._observer.getEntry(n)?.boundingClientRect||ke(n,!0),{x:re,y:ie}=ze(n,a,{x:l,y:u});R(s,{top:``,left:``,right:``,bottom:``});let ae=0,oe=``,T=0,E=``,D=``,O=``,k=``,se=s.offsetWidth||0,A=s.offsetHeight||0,ce=se/2,le=w-f-A<0,j=w+f+x+A>=m,M=S-d-se<v,N=S+d+b+se>=y,ue=[`left`,`right`],de=[`top`,`bottom`];le=ue.includes(g)?w+x/2-f/2-A<0:le,j=ue.includes(g)?w+f/2+x/2+A>=m:j,M=de.includes(g)?S+b/2-d/2<v:M,N=de.includes(g)?S+d/2+b/2>=y:N,g=ue.includes(g)&&M&&N?`top`:g,g=g===`top`&&le?`bottom`:g,g=g===`bottom`&&j?`top`:g,g=g===`left`&&M?`right`:g,g=g===`right`&&N?`left`:g,r.className.includes(g)||(r.className=r.className.replace(t,oi[g])),ue.includes(g)?(T=g===`left`?re-d-se:re+b+se,le&&j?(ae=0,oe=0,D=ie+x/2-A/2):le?(ae=ie,oe=``,D=x/2-se):j?(ae=ie-f+x,oe=``,D=f-x/2-se):(ae=ie-f/2+x/2,D=f/2-A/2)):de.includes(g)&&(ae=g===`top`?ie-f-A:ie+x+A,M?(T=0,O=re+b/2-ce):N?(T=`auto`,E=0,k=b/2+y-C-ce):(T=re-d/2+b/2,O=d/2-ce)),R(r,{top:`${ae}px`,bottom:oe===``?``:`${oe}px`,left:T===`auto`?T:`${T}px`,right:E===``?``:`${E}px`}),V(s)&&(D!==``&&(s.style.top=`${D}px`),O===``?k!==``&&(s.style.right=`${k}px`):s.style.left=`${O}px`),P(n,L(`updated.bs.${Se(e.name)}`))})},ci={template:ai(ii),title:``,customClass:``,trigger:`hover focus`,placement:`top`,sanitizeFn:void 0,animation:!0,delay:200,container:document.body,content:``,dismissible:!1,btnClose:``},li=`Tooltip`,ui=(e,t,n)=>{if(A(t)&&t.length){let r=t.trim();Ke(n)&&(r=n(r));let i=new DOMParser().parseFromString(r,`text/html`);e.append(...i.body.childNodes)}else V(t)?e.append(t):(qe(t)||We(t)&&t.every(T))&&e.append(...t)},di=e=>{let t=e.name===li,{id:n,element:r,options:i}=e,{title:a,placement:o,template:s,animation:c,customClass:l,sanitizeFn:u,dismissible:d,content:f,btnClose:p}=i,m=t?ii:ni,h={...oi},g=[],ee=[];Je(r)&&(h.left=`end`,h.right=`start`);let te=`bs-${m}-${h[o]}`,ne;if(V(s))ne=s;else{let e=N(`div`);ui(e,s,u),ne=e.firstChild}if(!V(ne))return;e.tooltip=ne.cloneNode(!0);let{tooltip:_}=e;b(_,`id`,n),b(_,`role`,ii);let v=t?`${ii}-inner`:`${ni}-body`,y=t?null:U(`.${ni}-header`,_),x=U(`.${v}`,_);e.arrow=U(`.${m}-arrow`,_);let{arrow:C}=e;if(V(a))g=[a.cloneNode(!0)];else{let e=N(`div`);ui(e,a,u),g=[...[...e.childNodes]]}if(V(f))ee=[f.cloneNode(!0)];else{let e=N(`div`);ui(e,f,u),ee=[...[...e.childNodes]]}if(d)if(a)if(V(p))g=[...g,p.cloneNode(!0)];else{let e=N(`div`);ui(e,p,u),g=[...g,e.firstChild]}else if(y&&y.remove(),V(p))ee=[...ee,p.cloneNode(!0)];else{let e=N(`div`);ui(e,p,u),ee=[...ee,e.firstChild]}t?a&&x&&ui(x,a,u):(a&&y&&ui(y,g,u),f&&x&&ui(x,ee,u),e.btn=U(`.btn-close`,_)||void 0),S(_,`position-absolute`),S(C,`position-absolute`),w(_,m)||S(_,m),c&&!w(_,`fade`)&&S(_,et),l&&!w(_,l)&&S(_,l),w(_,te)||S(_,te)},fi=e=>{let t=[`HTML`,`BODY`],n=[],{parentNode:r}=e;for(;r&&!t.includes(r.nodeName);)r=Pe(r),Ne(r)||Ie(r)||n.push(r);return n.find((e,t)=>(F(e,`position`)!==`relative`||F(e,`position`)===`relative`&&e.offsetHeight!==e.scrollHeight)&&n.slice(t+1).every(e=>F(e,`position`)===`static`)?e:null)||j(e).body},pi=`[${mt}="${ii}"],[data-tip="${ii}"]`,mi=`title`,hi=e=>k(e,li),gi=e=>new Ti(e),_i=e=>{let{element:n,tooltip:r,container:i}=e;x(n,t),$n(r,i)},vi=e=>{let{tooltip:t,container:n}=e;return t&&er(t,n)},yi=(e,t)=>{let{element:n}=e;e._toggleEventListeners(),y(n,`data-original-title`)&&e.name===`Tooltip`&&wi(e),t&&t()},bi=(e,t)=>{let n=t?W:G,{element:r}=e;n(j(r),p,e.handleTouch,_e)},xi=e=>{let{element:t}=e,n=L(`shown.bs.${Se(e.name)}`);bi(e,!0),P(t,n),z.clear(t,`in`)},Si=e=>{let{element:t}=e,n=L(`hidden.bs.${Se(e.name)}`);bi(e),_i(e),P(t,n),z.clear(t,`out`)},Ci=(e,t)=>{let n=t?W:G,{element:r,tooltip:i}=e,a=H(r,`.${X}`),o=H(r,`.${Z}`);t?[r,i].forEach(t=>e._observer.observe(t)):e._observer.disconnect(),a&&n(a,`hide.bs.${X}`,e.handleHide),o&&n(o,`hide.bs.${Z}`,e.handleHide)},wi=(e,t)=>{let n=[`data-original-title`,mi],{element:r}=e;b(r,n[t?0:1],t||v(r,n[0])||``),x(r,n[t?1:0])};var Ti=class extends at{static selector=pi;static init=gi;static getInstance=hi;static styleTip=si;constructor(e,t){super(e,t);let{element:n}=this,r=this.name===li,i=r?ii:ni,a=r?li:ri;hi=e=>k(e,a),this.enabled=!0,this.id=`${i}-${Ue(n,i)}`;let{options:o}=this;if(!o.title&&r||!r&&!o.content)return;M(ci,{titleAttr:``}),y(n,mi)&&r&&typeof o.title==`string`&&wi(this,o.title);let s=fi(n),c=[`sticky`,`fixed`,`relative`].some(e=>F(s,`position`)===e)?s:Fe(n);this.container=s,this.offsetParent=c,di(this),this.tooltip&&(this._observer=new mn(()=>this.update()),this._toggleEventListeners(!0))}get name(){return li}get defaults(){return ci}handleFocus=()=>fe(this.element);handleShow=()=>this.show();show(){let{options:e,tooltip:n,element:r,container:i,id:a}=this,{animation:o}=e,s=z.get(r,`out`);z.clear(r,`out`),n&&!s&&!vi(this)&&z.set(r,()=>{let e=L(`show.bs.${Se(this.name)}`);P(r,e),e.defaultPrevented||(Qn(n,i),b(r,t,`#${a}`),this.update(),Ci(this,!0),w(n,`show`)||S(n,K),o?I(n,()=>xi(this)):xi(this))},17,`in`)}handleHide=()=>this.hide();hide(){let{options:e,tooltip:t,element:n}=this,{animation:r,delay:i}=e;z.clear(n,`in`),t&&vi(this)&&z.set(n,()=>{let e=L(`hide.bs.${Se(this.name)}`);P(n,e),e.defaultPrevented||(this.update(),C(t,K),Ci(this),r?I(t,()=>Si(this)):Si(this))},i+17,`out`)}update=()=>{si(this)};toggle=()=>{let{tooltip:e}=this;e&&!vi(this)?this.show():this.hide()};enable(){let{enabled:e}=this;e||(this._toggleEventListeners(!0),this.enabled=!e)}disable(){let{tooltip:e,enabled:t}=this;t&&(e&&vi(this)&&this.hide(),this._toggleEventListeners(),this.enabled=!t)}toggleEnabled(){this.enabled?this.disable():this.enable()}handleTouch=({target:e})=>{let{tooltip:t,element:n}=this;t&&t.contains(e)||e===n||e&&n.contains(e)||this.hide()};_toggleEventListeners=e=>{let t=e?W:G,{element:n,options:r,btn:i}=this,{trigger:a}=r,o=!!(this.name!==`Tooltip`&&r.dismissible);a.includes(`manual`)||(this.enabled=!!e,a.split(` `).forEach(e=>{e===`hover`?(t(n,`mousedown`,this.handleShow),t(n,d,this.handleShow),o||(t(n,f,this.handleHide),t(j(n),p,this.handleTouch,_e))):e===`click`?t(n,e,o?this.handleShow:this.toggle):e===`focus`&&(t(n,s,this.handleShow),o||t(n,c,this.handleHide),ee()&&t(n,u,this.handleFocus)),o&&i&&t(i,u,this.handleHide)}))};dispose(){let{tooltip:e,options:t}=this,n={...this,name:this.name},r=()=>setTimeout(()=>yi(n,()=>super.dispose()),17);t.animation&&vi(n)?(this.options.delay=0,this.hide(),I(e,r)):r()}};let Ei=`[${mt}="${ni}"],[data-tip="${ni}"]`,Di=M({},ci,{template:ai(ni),content:``,dismissible:!1,btnClose:`<button class="btn-close position-absolute top-0 end-0 m-1" aria-label="Close"></button>`}),Oi=e=>k(e,ri),ki=e=>new Ai(e);var Ai=class extends Ti{static selector=Ei;static init=ki;static getInstance=Oi;static styleTip=si;constructor(e,t){super(e,t)}get name(){return ri}get defaults(){return Di}show=()=>{super.show();let{options:e,btn:t}=this;e.dismissible&&t&&setTimeout(()=>fe(t),17)}};let ji=`ScrollSpy`,Mi={offset:10,target:void 0},Ni=e=>k(e,ji),Pi=e=>new Bi(e),Fi=L(`activate.bs.scrollspy`),Ii=e=>{let{target:t,_itemsLength:n,_observables:r}=e,i=Ye(`A`,t),a=j(t);!i.length||n===r.size||(r.clear(),Array.from(i).forEach(t=>{let n=v(t,`href`)?.slice(1),r=n?.length?a.getElementById(n):null;r&&!it(t)&&e._observables.set(r,t)}),e._itemsLength=e._observables.size)},Li=e=>{Array.from(Ye(`A`,e)).forEach(e=>{w(e,`active`)&&C(e,q)})},Ri=(e,t)=>{let{target:n,element:r}=e;Li(n),e._activeItem=t,S(t,q);let i=t;for(;i!==n;)if(i=i.parentElement,[`nav`,`dropdown-menu`,`list-group`].some(e=>w(i,e))){let e=i.previousElementSibling;e&&!w(e,`active`)&&S(e,q)}Fi.relatedTarget=t,P(r,Fi)},zi=(e,t)=>{let{scrollTarget:n,element:r,options:i}=e;return(n===r?t.offsetTop:ke(t).top+n.scrollTop)-(i.offset||10)};var Bi=class extends at{static selector=`[data-bs-spy="scroll"]`;static init=Pi;static getInstance=Ni;constructor(e,t){super(e,t);let{element:n,options:r}=this,i=U(r.target,j(n));i&&(this.target=i,this.scrollTarget=n.clientHeight<n.scrollHeight?n:je(n),this._observables=new Map,this.refresh(),this._observer=new mn(()=>{requestAnimationFrame(()=>this.refresh?.())},{root:this.scrollTarget}),this._toggleEventListeners(!0))}get name(){return ji}get defaults(){return Mi}refresh=()=>{let{target:e,scrollTarget:t}=this;if(!e||e.offsetHeight===0)return;Ii(this);let{_itemsLength:n,_observables:r,_activeItem:i}=this;if(!n)return;let a=r.entries().toArray(),{scrollTop:o,scrollHeight:s,clientHeight:c}=t;if(o>=s-c){let e=a[n-1]?.[1];i!==e&&Ri(this,e);return}let l=a[0]?.[0]?zi(this,a[0][0]):null;if(l!==null&&o<l&&l>0){this._activeItem=null,Li(e);return}for(let e=0;e<n;e+=1){let[t,n]=a[e],r=zi(this,t),s=a[e+1]?.[0],c=s?zi(this,s):null;if(i!==n&&o>=r&&(c===null||o<c)){Ri(this,n);break}}};_scrollTo=e=>{let t=H(e.target,`[href]`),n=t&&v(t,`href`)?.slice(1),r=n&&Xe(n,this.target);r&&(this.scrollTarget.scrollTo({top:r.offsetTop,behavior:`smooth`}),e.preventDefault())};_toggleEventListeners=e=>{let{target:t,_observables:n,_observer:r,_scrollTo:i}=this;(e?W:G)(t,u,i),e?n?.forEach((e,t)=>r.observe(t)):r.disconnect()};dispose(){this._toggleEventListeners(),super.dispose()}};let Vi=`[${mt}="tab"]`,Hi=e=>k(e,`Tab`),Ui=e=>new ta(e),Wi=L(`show.bs.tab`),Gi=L(`shown.bs.tab`),Ki=L(`hide.bs.tab`),qi=L(`hidden.bs.tab`),Ji=new Map,Yi=e=>{let{tabContent:t,nav:n}=e;t&&w(t,`collapsing`)&&(t.style.height=``,C(t,Xt)),n&&z.clear(n)},Xi=e=>{let{element:t,tabContent:n,content:r,nav:i}=e,{tab:a}=V(i)&&Ji.get(i)||{tab:null};if(n&&r&&w(r,`fade`)){let{currentHeight:r,nextHeight:i}=Ji.get(t)||{currentHeight:0,nextHeight:0};r===i?Yi(e):setTimeout(()=>{n.style.height=`${i}px`,ve(n),I(n,()=>Yi(e))},50)}else i&&z.clear(i);Gi.relatedTarget=a,P(t,Gi)},Zi=e=>{let{element:t,content:n,tabContent:r,nav:i}=e,{tab:a,content:o}=i&&Ji.get(i)||{tab:null,content:null},s=0;if(r&&n&&w(n,`fade`)&&([o,n].forEach(e=>{e&&S(e,`overflow-hidden`)}),s=o?o.scrollHeight:0),Wi.relatedTarget=a,qi.relatedTarget=t,P(t,Wi),!Wi.defaultPrevented){if(n&&S(n,q),o&&C(o,q),r&&n&&w(n,`fade`)){let e=n.scrollHeight;Ji.set(t,{currentHeight:s,nextHeight:e,tab:null,content:null}),S(r,Xt),r.style.height=`${s}px`,ve(r),[o,n].forEach(e=>{e&&C(e,`overflow-hidden`)})}n&&n&&w(n,`fade`)?setTimeout(()=>{S(n,K),I(n,()=>{Xi(e)})},1):(n&&S(n,K),Xi(e)),a&&P(a,qi)}},Qi=e=>{let{nav:t}=e;if(!V(t))return{tab:null,content:null};let n=Ze(q,t),r=null;n.length===1&&!hn.some(e=>w(n[0].parentElement,e))?[r]=n:n.length>1&&(r=n[n.length-1]);let i=V(r)?J(r):null;return{tab:r,content:i}},$i=e=>{if(!V(e))return null;let t=H(e,`.${hn.join(`,.`)}`);return t?U(`.${hn[0]}-toggle`,t):null},ea=e=>{let t=H(e.target,Vi),n=t&&Hi(t);n&&(e.preventDefault(),n.show())};var ta=class extends at{static selector=Vi;static init=Ui;static getInstance=Hi;constructor(e){super(e);let{element:t}=this,n=J(t);if(!n)return;let r=H(t,`.nav`),i=H(n,`.tab-content`);this.nav=r,this.content=n,this.tabContent=i,this.dropdown=$i(t);let{tab:a}=Qi(this);if(r&&!a){let e=U(Vi,r),n=e&&J(e);n&&(S(e,q),S(n,K),S(n,q),b(t,o,`true`))}this._toggleEventListeners(!0)}get name(){return`Tab`}show(){let{element:e,content:t,nav:n,dropdown:r}=this;if(n&&z.get(n)||w(e,`active`))return;let{tab:i,content:a}=Qi(this);if(n&&i&&Ji.set(n,{tab:i,content:a,currentHeight:0,nextHeight:0}),Ki.relatedTarget=e,!V(i)||(P(i,Ki),Ki.defaultPrevented))return;S(e,q),b(e,o,`true`);let s=V(i)&&$i(i);if(s&&w(s,`active`)&&C(s,q),n){let e=()=>{i&&(C(i,q),b(i,o,`false`)),r&&!w(r,`active`)&&S(r,q)};a&&(w(a,`fade`)||t&&w(t,`fade`))?z.set(n,e,1):e()}a&&(C(a,K),w(a,`fade`)?I(a,()=>Zi(this)):Zi(this))}_toggleEventListeners=e=>{(e?W:G)(this.element,u,ea)};dispose(){this._toggleEventListeners(),super.dispose()}};let $=`toast`,na=`Toast`,ra=`.${$}`,ia=`[${tt}="${$}"]`,aa=`[${mt}="${$}"]`,oa=`showing`,sa=`hide`,ca={animation:!0,autohide:!0,delay:5e3},la=e=>k(e,na),ua=e=>new xa(e),da=L(`show.bs.${$}`),fa=L(`shown.bs.${$}`),pa=L(`hide.bs.${$}`),ma=L(`hidden.bs.${$}`),ha=e=>{let{element:t,options:n}=e;C(t,oa),z.clear(t,oa),P(t,fa),n.autohide&&z.set(t,()=>e.hide(),n.delay,$)},ga=e=>{let{element:t}=e;C(t,oa),C(t,K),S(t,sa),z.clear(t,$),P(t,ma)},_a=e=>{let{element:t,options:n}=e;S(t,oa),n.animation?(ve(t),I(t,()=>ga(e))):ga(e)},va=e=>{let{element:t,options:n}=e;z.set(t,()=>{C(t,sa),ve(t),S(t,K),S(t,oa),n.animation?I(t,()=>ha(e)):ha(e)},17,oa)};function ya(e){let t=J(this),n=t&&la(t);it(this)||n&&(this.tagName===`A`&&e.preventDefault(),n.relatedTarget=this,n.show())}let ba=e=>{let t=e.target,n=la(t),{type:r,relatedTarget:i}=e;!n||t===i||t.contains(i)||([`mouseenter`,`focusin`].includes(r)?z.clear(t,$):z.set(t,()=>n.hide(),n.options.delay,$))};var xa=class extends at{static selector=ra;static init=ua;static getInstance=la;constructor(e,t){super(e,t);let{element:n,options:r}=this;r.animation&&!w(n,`fade`)?S(n,et):!r.animation&&w(n,`fade`)&&C(n,et),this.dismiss=U(ia,n),this.triggers=[...B(aa,j(n))].filter(e=>J(e)===n),this._toggleEventListeners(!0)}get name(){return na}get defaults(){return ca}get isShown(){return w(this.element,K)}show=()=>{let{element:e,isShown:t}=this;!e||t||(P(e,da),da.defaultPrevented||va(this))};hide=()=>{let{element:e,isShown:t}=this;!e||!t||(P(e,pa),pa.defaultPrevented||_a(this))};_toggleEventListeners=e=>{let t=e?W:G,{element:n,triggers:r,dismiss:i,options:a,hide:o}=this;i&&t(i,u,o),a.autohide&&[s,c,d,f].forEach(e=>t(n,e,ba)),r.length&&r.forEach(e=>{t(e,u,ya)})};dispose(){let{element:e,isShown:t}=this;this._toggleEventListeners(),z.clear(e,$),t&&C(e,K),super.dispose()}};let Sa=new Map;[pt,yt,Yt,dn,Wn,Pr,ti,Ai,Bi,ta,xa,Ti].forEach(e=>Sa.set(e.prototype.name,e));let Ca=(e,t)=>{[...t].forEach(t=>e(t))},wa=(e,t)=>{let n=O.getAllFor(e);n&&[...n].forEach(([e,n])=>{t.contains(e)&&n.dispose()})},Ta=e=>{let t=[...Ye(`*`,e&&e.nodeName?e:document)];Sa.forEach(e=>{let{init:n,selector:r}=e;Ca(n,t.filter(e=>Le(e,r)))})};document.body?Ta():W(document,`DOMContentLoaded`,()=>Ta(),{once:!0}),e.Alert=pt,e.Button=yt,e.Carousel=Yt,e.Collapse=dn,e.Dropdown=Wn,e.Modal=Pr,e.Offcanvas=ti,e.Popover=Ai,e.ScrollSpy=Bi,e.Tab=ta,e.Toast=xa,e.Tooltip=Ti,e.initCallback=Ta,e.removeDataAPI=e=>{let t=e&&e.nodeName?e:document;Sa.forEach(e=>{wa(e.prototype.name,t)})}});
4
+ //# sourceMappingURL=bootstrap-native.min.js.map
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * tablesort v5.6.0 (2025-04-20)
2
+ * tablesort v5.7.1 (2026-04-15)
3
3
  * http://tristen.ca/tablesort/demo/
4
- * Copyright (c) 2025 ; Licensed MIT
4
+ * Copyright (c) 2026 ; Licensed MIT
5
5
  */
6
- (()=>{function r(t,e){if(!(this instanceof r))return new r(t,e);if(!t||"TABLE"!==t.tagName)throw new Error("Element must be a table");this.init(t,e||{})}function v(t){var e;return window.CustomEvent&&"function"==typeof window.CustomEvent?e=new CustomEvent(t):(e=document.createEvent("CustomEvent")).initCustomEvent(t,!1,!1,void 0),e}function p(t,e){return t.getAttribute(e.sortAttribute||"data-sort")||t.textContent||t.innerText||""}function A(t,e){return(t=t.trim().toLowerCase())===(e=e.trim().toLowerCase())?0:t<e?1:-1}function E(t,e){return[].slice.call(t).find(function(t){return t.getAttribute("data-sort-column-key")===e})}function x(n,o){return function(t,e){var r=n(t.td,e.td);return 0===r?o?e.index-t.index:t.index-e.index:r}}var y=[];r.extend=function(t,e,r){if("function"!=typeof e||"function"!=typeof r)throw new Error("Pattern and sort must be a function");y.push({name:t,pattern:e,sort:r})},r.prototype={init:function(t,e){var r,n,o,i=this;if(i.table=t,i.thead=!1,i.options=e,t.rows&&0<t.rows.length)if(t.tHead&&0<t.tHead.rows.length){for(a=0;a<t.tHead.rows.length;a++)if("thead"===t.tHead.rows[a].getAttribute("data-sort-method")){r=t.tHead.rows[a];break}r=r||t.tHead.rows[t.tHead.rows.length-1],i.thead=!0}else r=t.rows[0];if(r){for(var s=function(){i.current&&i.current!==this&&i.current.removeAttribute("aria-sort"),i.current=this,i.sortTable(this)},a=0;a<r.cells.length;a++)(o=r.cells[a]).setAttribute("role","columnheader"),"none"!==o.getAttribute("data-sort-method")&&(o.tabIndex=0,o.addEventListener("click",s,!1),o.addEventListener("keydown",function(t){"Enter"===t.key&&(t.preventDefault(),s.call(this))}),null!==o.getAttribute("data-sort-default"))&&(n=o);n&&(i.current=n,i.sortTable(n))}},sortTable:function(t,e){var r=this,n=t.getAttribute("data-sort-column-key"),o=t.cellIndex,i=A,s="",a=[],d=r.thead?0:1,u=t.getAttribute("data-sort-method"),l=t.hasAttribute("data-sort-reverse"),c=t.getAttribute("aria-sort");if(r.table.dispatchEvent(v("beforeSort")),e||(c="ascending"===c||"descending"!==c&&r.options.descending?"descending":"ascending",t.setAttribute("aria-sort",c)),!(r.table.rows.length<2)){if(!u){for(;a.length<3&&d<r.table.tBodies[0].rows.length;)0<(s=(s=(h=n?E(r.table.tBodies[0].rows[d].cells,n):r.table.tBodies[0].rows[d].cells[o])?p(h,r.options):"").trim()).length&&a.push(s),d++;if(!a)return}for(d=0;d<y.length;d++)if(s=y[d],u){if(s.name===u){i=s.sort;break}}else if(a.every(s.pattern)){i=s.sort;break}for(r.col=o,d=0;d<r.table.tBodies.length;d++){var f,h,b=[],w={},g=0,m=0;if(!(r.table.tBodies[d].rows.length<2)){for(f=0;f<r.table.tBodies[d].rows.length;f++)"none"===(s=r.table.tBodies[d].rows[f]).getAttribute("data-sort-method")?w[g]=s:(h=n?E(s.cells,n):s.cells[r.col],b.push({tr:s,td:h?p(h,r.options):"",index:g})),g++;for("descending"===c&&!l||"ascending"===c&&l?b.sort(x(i,!0)):(b.sort(x(i,!1)),b.reverse()),f=0;f<g;f++)w[f]?(s=w[f],m++):s=b[f-m].tr,r.table.tBodies[d].appendChild(s)}}r.table.dispatchEvent(v("afterSort"))}},refresh:function(){void 0!==this.current&&this.sortTable(this.current,!0)}},"undefined"!=typeof module&&module.exports?module.exports=r:window.Tablesort=r})();
6
+ (()=>{function r(t,e){if(!(this instanceof r))return new r(t,e);if(!t||"TABLE"!==t.tagName)throw new Error("Element must be a table");this.init(t,e||{})}function v(t){var e;return window.CustomEvent&&"function"==typeof window.CustomEvent?e=new CustomEvent(t):(e=document.createEvent("CustomEvent")).initCustomEvent(t,!1,!1,void 0),e}function p(t,e){return e=e.sortAttribute||"data-sort",t.hasAttribute(e)?t.getAttribute(e):t.textContent||t.innerText||""}function A(t,e){return(t=t.trim().toLowerCase())===(e=e.trim().toLowerCase())?0:t<e?1:-1}function E(t,e){return[].slice.call(t).find(function(t){return t.getAttribute("data-sort-column-key")===e})}function x(n,o){return function(t,e){var r=n(t.td,e.td);return 0===r?o?e.index-t.index:t.index-e.index:r}}var y=[];r.extend=function(t,e,r){if("function"!=typeof e||"function"!=typeof r)throw new Error("Pattern and sort must be a function");y.push({name:t,pattern:e,sort:r})},r.prototype={init:function(t,e){var r,n,o,i=this;if(i.table=t,i.thead=!1,i.options=e,t.rows&&0<t.rows.length)if(t.tHead&&0<t.tHead.rows.length){for(a=0;a<t.tHead.rows.length;a++)if("thead"===t.tHead.rows[a].getAttribute("data-sort-method")){r=t.tHead.rows[a];break}r=r||t.tHead.rows[t.tHead.rows.length-1],i.thead=!0}else r=t.rows[0];if(r){for(var s=function(){i.current&&i.current!==this&&i.current.removeAttribute("aria-sort"),i.current=this,i.sortTable(this)},a=0;a<r.cells.length;a++)(o=r.cells[a]).setAttribute("role","columnheader"),"none"!==o.getAttribute("data-sort-method")&&(o.tabIndex=0,o.addEventListener("click",s,!1),o.addEventListener("keydown",function(t){"Enter"===t.key&&(t.preventDefault(),s.call(this))}),null!==o.getAttribute("data-sort-default"))&&(n=o);n&&(i.current=n,i.sortTable(n))}},sortTable:function(t,e){var r=this,n=t.getAttribute("data-sort-column-key"),o=t.cellIndex,i=A,s="",a=[],d=r.thead?0:1,u=t.getAttribute("data-sort-method"),l=t.hasAttribute("data-sort-reverse"),c=t.getAttribute("aria-sort");if(r.table.dispatchEvent(v("beforeSort")),e||(c="ascending"===c||"descending"!==c&&!!r.options.descending!=l?"descending":"ascending",t.setAttribute("aria-sort",c)),!(r.table.rows.length<2)){if(!u){for(;a.length<3&&d<r.table.tBodies[0].rows.length;)0<(s=(s=(h=n?E(r.table.tBodies[0].rows[d].cells,n):r.table.tBodies[0].rows[d].cells[o])?p(h,r.options):"").trim()).length&&a.push(s),d++;if(!a)return}for(d=0;d<y.length;d++)if(s=y[d],u){if(s.name===u){i=s.sort;break}}else if(a.every(s.pattern)){i=s.sort;break}for(r.col=o,d=0;d<r.table.tBodies.length;d++){var f,h,b=[],w={},g=0,m=0;if(!(r.table.tBodies[d].rows.length<2)){for(f=0;f<r.table.tBodies[d].rows.length;f++)"none"===(s=r.table.tBodies[d].rows[f]).getAttribute("data-sort-method")?w[g]=s:(h=n?E(s.cells,n):s.cells[r.col],b.push({tr:s,td:h?p(h,r.options):"",index:g})),g++;for("descending"===c?b.sort(x(i,!0)):(b.sort(x(i,!1)),b.reverse()),f=0;f<g;f++)w[f]?(s=w[f],m++):s=b[f-m].tr,r.table.tBodies[d].appendChild(s)}}r.table.dispatchEvent(v("afterSort"))}},refresh:function(){void 0!==this.current&&this.sortTable(this.current,!0)}},"undefined"!=typeof module&&module.exports?module.exports=r:window.Tablesort=r})();
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * tablesort v5.6.0 (2025-04-20)
2
+ * tablesort v5.7.1 (2026-04-15)
3
3
  * http://tristen.ca/tablesort/demo/
4
- * Copyright (c) 2025 ; Licensed MIT
4
+ * Copyright (c) 2026 ; Licensed MIT
5
5
  */
6
6
  (()=>{function a(t){return t.replace(/[^\-?0-9.]/g,"")}Tablesort.extend("number",function(t){return t.match(/^[-+]?[£\x24Û¢´€]?\d+\s*([,\.]\d{0,2})/)||t.match(/^[-+]?\d+\s*([,\.]\d{0,2})?[£\x24Û¢´€]/)||t.match(/^[-+]?(\d)*-?([,\.]){0,1}-?(\d)+([E,e][\-+][\d]+)?%?$/)},function(t,e){return t=a(t),e=a(e),e=e,t=t,e=parseFloat(e),t=parseFloat(t),(e=isNaN(e)?0:e)-(t=isNaN(t)?0:t)})})();