@factorialco/f0-react 1.288.0 → 1.289.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/f0.js CHANGED
@@ -1,456 +1,49 @@
1
- import { S as We, a as qt, f as Ee, L as J, b as Kt, A as Vt, i as ae, c as tt, d as it, E as Yt, g as he, e as Xt, h as Jt, C as Qt, j as Zt, k as K, l as st, u as ei, G as ti, m as ii, n as $e, o as si, p as rt, q as ri, B as nt, X as ot, Y as De, r as ni, s as at, t as oi, v as ai, w as li, x as hi, y as di, z as ci, D as ui, F as fi, H as je, I as gi, J as Q, K as Ne, M as pi, N as mi, O as vi, P as lt, Q as L, R as I, T as yi, U as bi, V as wi, W as xi, Z as _i, _ as Ci, $ as Ei, a0 as ht, a1 as Ni, a2 as de, a3 as dt, a4 as ct, a5 as Ri, a6 as ut, a7 as ft, a8 as gt, a9 as pt, aa as Di, ab as Si, ac as mt, ad as zi, ae as ki, af as vt, ag as Pi, ah as yt, ai as Ai, aj as Ti, ak as Oi, al as Li, am as Mi, an as Hi, ao as Bi, ap as Ii, aq as bt, ar as V, as as wt, at as Fi, au as Gi, av as Ue, aw as Wi, ax as xt, ay as $i, az as ji, aA as Ui, aB as qi, aC as Ki, aD as Vi, aE as Yi, aF as Xi, aG as Ji, aH as Qi, aI as Zi, aJ as es } from "./hooks-DOxjzQyl.js";
2
- import { ba as Gr, bn as Wr, bw as $r, aK as jr, aL as Ur, aM as qr, aN as Kr, aO as Vr, aP as Yr, aQ as Xr, aR as Jr, aT as Qr, aU as Zr, aV as en, aW as tn, aX as sn, aY as rn, aZ as nn, bs as on, a$ as an, b1 as ln, b2 as hn, b3 as dn, b4 as cn, b7 as un, b8 as fn, b9 as gn, bc as pn, b0 as mn, bb as vn, b6 as yn, bt as bn, bm as wn, bh as xn, bk as _n, bg as Cn, bx as En, bf as Nn, be as Rn, aS as Dn, a_ as Sn, b5 as zn, bd as kn, bi as Pn, bo as An, bp as Tn, bq as On, by as Ln, bj as Mn, br as Hn, bv as Bn, bl as In, bu as Fn } from "./hooks-DOxjzQyl.js";
3
- import { jsx as g, jsxs as R, Fragment as we } from "react/jsx-runtime";
4
- import * as Pe from "react";
5
- import z, { PureComponent as ts, useState as M, forwardRef as j, createElement as qe, useRef as Z, useImperativeHandle as _t, Children as is, createContext as xe, useContext as Ct, useCallback as q, useEffect as ce, useLayoutEffect as Ke, useMemo as Et } from "react";
1
+ import { S as Ge, a as Kt, f as Ce, L as J, b as Vt, A as qt, i as ae, c as tt, d as it, E as Xt, g as he, e as Yt, h as Jt, C as Zt, j as Qt, k as V, l as st, u as ei, G as ti, m as ii, n as $e, o as si, p as rt, q as ri, B as nt, X as ot, Y as ze, r as ni, s as at, t as oi, v as ai, w as li, x as hi, y as di, z as ci, D as ui, F as fi, H as Ue, I as gi, J as Z, K as Ne, M as pi, N as mi, O as vi, P as lt, Q as L, R as F, T as yi, U as bi, V as xi, W as _i, Z as wi, _ as Ei, $ as Ci, a0 as ht, a1 as Ni, a2 as de, a3 as dt, a4 as ct, a5 as Ri, a6 as ut, a7 as ft, a8 as gt, a9 as pt, aa as zi, ab as Di, ac as mt, ad as Pi, ae as Si, af as vt, ag as ki, ah as yt, ai as Oi, aj as Ai, ak as Ti, al as Li, am as Mi, an as Hi, ao as Bi, ap as Fi, aq as bt, ar as q, as as xt, at as Ii, au as Wi, av as je, aw as Gi, ax as _t, ay as $i, az as Ui, aA as ji, aB as Ki, aC as Vi, aD as qi, aE as Xi, aF as Yi, aG as Ji, aH as Zi, aI as Qi, aJ as es } from "./hooks-B2MvGPG3.js";
2
+ import { ba as Fr, bn as Ir, bw as Wr, aK as Gr, aL as $r, aM as Ur, aN as jr, aO as Kr, aP as Vr, aQ as qr, aR as Xr, aT as Yr, aU as Jr, aV as Zr, aW as Qr, aX as en, aY as tn, aZ as sn, bs as rn, a$ as nn, b1 as on, b2 as an, b3 as ln, b4 as hn, b7 as dn, b8 as cn, b9 as un, bc as fn, b0 as gn, bb as pn, b6 as mn, bt as vn, bm as yn, bh as bn, bk as xn, bg as _n, bx as wn, bf as En, be as Cn, aS as Nn, a_ as Rn, b5 as zn, bd as Dn, bi as Pn, bo as Sn, bp as kn, bq as On, by as An, bj as Tn, br as Ln, bv as Mn, bl as Hn, bu as Bn } from "./hooks-B2MvGPG3.js";
3
+ import { jsx as g, jsxs as R, Fragment as xe } from "react/jsx-runtime";
4
+ import * as ke from "react";
5
+ import P, { PureComponent as ts, useState as M, forwardRef as U, createElement as Ke, useRef as Q, useImperativeHandle as wt, Children as is, createContext as _e, useContext as Et, useCallback as K, useEffect as ce, useLayoutEffect as Ve, useMemo as Ct } from "react";
6
6
  import { createPortal as ss } from "react-dom";
7
- import './f0.css';const rs = {
8
- ad: "Andorra",
9
- ae: "United Arab Emirates",
10
- af: "Afghanistan",
11
- ag: "Antigua and Barbuda",
12
- ai: "Anguilla",
13
- al: "Albania",
14
- am: "Armenia",
15
- ao: "Angola",
16
- ar: "Argentina",
17
- as: "American Samoa",
18
- at: "Austria",
19
- au: "Australia",
20
- aw: "Aruba",
21
- ax: "Åland Islands",
22
- az: "Azerbaijan",
23
- ba: "Bosnia and Herzegovina",
24
- bb: "Barbados",
25
- bd: "Bangladesh",
26
- be: "Belgium",
27
- bf: "Burkina Faso",
28
- bg: "Bulgaria",
29
- bh: "Bahrain",
30
- bi: "Burundi",
31
- bj: "Benin",
32
- bm: "Bermuda",
33
- bo: "Bolivia",
34
- br: "Brazil",
35
- bt: "Bhutan",
36
- bw: "Botswana",
37
- by: "Belarus",
38
- bz: "Belize",
39
- ca: "Canada",
40
- cd: "Democratic Republic of the Congo",
41
- cf: "Central African Republic",
42
- cg: "Republic of the Congo",
43
- ch: "Switzerland",
44
- ci: "Côte d'Ivoire",
45
- ck: "Cook Islands",
46
- cl: "Chile",
47
- cm: "Cameroon",
48
- cn: "China",
49
- co: "Colombia",
50
- cr: "Costa Rica",
51
- cu: "Cuba",
52
- cv: "Cape Verde",
53
- cw: "Curaçao",
54
- cy: "Cyprus",
55
- cz: "Czech Republic",
56
- de: "Germany",
57
- dj: "Djibouti",
58
- dk: "Denmark",
59
- dm: "Dominica",
60
- do: "Dominican Republic",
61
- dz: "Algeria",
62
- ec: "Ecuador",
63
- ee: "Estonia",
64
- eg: "Egypt",
65
- er: "Eritrea",
66
- es: "Spain",
67
- et: "Ethiopia",
68
- fi: "Finland",
69
- fj: "Fiji",
70
- fk: "Falkland Islands",
71
- fm: "Micronesia",
72
- fo: "Faroe Islands",
73
- fr: "France",
74
- ga: "Gabon",
75
- gb: "United Kingdom",
76
- gd: "Grenada",
77
- ge: "Georgia",
78
- gg: "Guernsey",
79
- gh: "Ghana",
80
- gi: "Gibraltar",
81
- gl: "Greenland",
82
- gm: "Gambia",
83
- gn: "Guinea",
84
- gq: "Equatorial Guinea",
85
- gr: "Greece",
86
- gt: "Guatemala",
87
- gu: "Guam",
88
- gw: "Guinea-Bissau",
89
- hk: "Hong Kong",
90
- hn: "Honduras",
91
- hr: "Croatia",
92
- ht: "Haiti",
93
- hu: "Hungary",
94
- id: "Indonesia",
95
- ie: "Ireland",
96
- il: "Israel",
97
- im: "Isle of Man",
98
- in: "India",
99
- io: "British Indian Ocean Territory",
100
- iq: "Iraq",
101
- ir: "Iran",
102
- is: "Iceland",
103
- it: "Italy",
104
- je: "Jersey",
105
- jm: "Jamaica",
106
- jo: "Jordan",
107
- jp: "Japan",
108
- ke: "Kenya"
109
- }, ur = {
110
- countries: rs,
111
- approvals: {
112
- history: "Approval history",
113
- statuses: {
114
- waiting: "Waiting",
115
- pending: "Pending",
116
- approved: "Approved",
117
- rejected: "Rejected"
118
- },
119
- requiredNumbers: {
120
- one: "One approval required",
121
- other: "{{count}} approvals required"
122
- }
123
- },
124
- navigation: {
125
- sidebar: {
126
- label: "Main navigation",
127
- companySelector: {
128
- label: "Select a company",
129
- placeholder: "Select a company"
130
- }
131
- },
132
- previous: "Previous",
133
- next: "Next"
134
- },
135
- inputs: {
136
- password: {
137
- show: "Show password",
138
- hide: "Hide password"
139
- }
140
- },
141
- actions: {
142
- add: "Add",
143
- edit: "Edit",
144
- save: "Save",
145
- send: "Send",
146
- cancel: "Cancel",
147
- copy: "Copy",
148
- close: "Close",
149
- showAll: "Show all",
150
- showLess: "Show less",
151
- skipToContent: "Skip to content",
152
- view: "View",
153
- unselect: "Unselect",
154
- search: "Search",
155
- clear: "Clear",
156
- more: "More",
157
- moveUp: "Move up",
158
- moveDown: "Move down",
159
- thumbsUp: "Like",
160
- thumbsDown: "Dislike",
161
- other: "Other actions",
162
- toggle: "Toggle",
163
- toggleDropdownMenu: "Toggle dropdown menu"
164
- },
165
- status: {
166
- selected: {
167
- singular: "Selected",
168
- plural: "Selected"
169
- }
170
- },
171
- filters: {
172
- label: "Filters",
173
- applyFilters: "Apply filters",
174
- applySelection: "Apply selection",
175
- cancel: "Cancel",
176
- failedToLoadOptions: "Failed to load options",
177
- retry: "Retry",
178
- number: {
179
- value: "Value",
180
- equal: "Equal to",
181
- equalTo: "Equal to {{value}}",
182
- lessOrEqual: "Less or equal to",
183
- greaterOrEqual: "Greater or equal to",
184
- equalShort: "= {{value}}",
185
- greaterThanOrEqualShort: ">= {{value}}",
186
- lessThanOrEqualShort: "<= {{value}}",
187
- rangeTitle: "Use range",
188
- range: "Between {{min}} and {{max}}"
189
- },
190
- selectAll: "Select all",
191
- clear: "Clear"
192
- },
193
- toc: {
194
- search: "Search..."
195
- },
196
- collections: {
197
- sorting: {
198
- noSorting: "No sorting",
199
- toggleDirection: "Toggle sorting direction",
200
- sortBy: "Sort by"
201
- },
202
- grouping: {
203
- noGrouping: "No grouping",
204
- groupBy: "Group by",
205
- toggleDirection: "Toggle direction"
206
- },
207
- actions: {
208
- actions: "Actions"
209
- },
210
- visualizations: {
211
- table: "Table view",
212
- card: "Card view",
213
- list: "List view",
214
- kanban: "Kanban view",
215
- pagination: {
216
- of: "of"
217
- },
218
- settings: "{{visualizationName}} settings",
219
- reset: "Reset to default"
220
- },
221
- table: {
222
- settings: {
223
- showAllColumns: "Show all",
224
- hideAllColumns: "Hide all"
225
- }
226
- },
227
- itemsCount: "items",
228
- emptyStates: {
229
- noData: {
230
- title: "No data",
231
- description: "No data available"
232
- },
233
- noResults: {
234
- title: "No results",
235
- description: "No results found try another search or clear the filters",
236
- clearFilters: "Clear filters"
237
- },
238
- error: {
239
- title: "Error",
240
- description: "An error occurred while loading the data",
241
- retry: "Retry"
242
- }
243
- },
244
- summaries: {
245
- types: {
246
- sum: "sum"
247
- }
248
- }
249
- },
250
- shortcut: "Shortcut",
251
- date: {
252
- from: "From",
253
- to: "To",
254
- none: "None",
255
- date: "Date",
256
- custom: "Custom period",
257
- selectDate: "Select Date",
258
- compareTo: "Compare to",
259
- presets: {
260
- last7Days: "Last 7 days",
261
- last30Days: "Last 30 days",
262
- last3Months: "Last 3 months",
263
- last6Months: "Last 6 months",
264
- lastYear: "Last year",
265
- last3Years: "Last 3 years",
266
- last100Years: "Last 100 years"
267
- },
268
- range: "Range",
269
- selectedBy: "Selected by",
270
- groups: {
271
- today: "Today",
272
- yesterday: "Yesterday",
273
- lastWeek: "Last week",
274
- lastMonth: "Last month",
275
- other: "Other"
276
- },
277
- granularities: {
278
- day: {
279
- currentDate: "Today",
280
- label: "Day"
281
- },
282
- week: {
283
- currentDate: "This week",
284
- label: "Week",
285
- long: "Week of {{day}} {{month}} {{year}}",
286
- longSingular: "Week of {{date}}",
287
- longPlural: "Weeks of {{date}}"
288
- },
289
- month: {
290
- currentDate: "This month",
291
- label: "Month"
292
- },
293
- quarter: {
294
- currentDate: "This quarter",
295
- label: "Quarter"
296
- },
297
- halfyear: {
298
- currentDate: "This half year",
299
- label: "Half year"
300
- },
301
- year: {
302
- currentDate: "This year",
303
- label: "Year"
304
- },
305
- range: {
306
- currentDate: "Today",
307
- label: "Range"
308
- }
309
- },
310
- month: {
311
- january: "January",
312
- february: "February",
313
- march: "March",
314
- april: "April",
315
- may: "May",
316
- june: "June",
317
- july: "July",
318
- august: "August",
319
- september: "September",
320
- october: "October",
321
- november: "November",
322
- december: "December"
323
- }
324
- },
325
- favorites: {
326
- favorites: "Favorites",
327
- remove: "Remove favorite"
328
- },
329
- notifications: "Notifications",
330
- ai: {
331
- openChat: "Open Chat with One AI",
332
- closeChat: "Close Chat with One AI",
333
- startNewChat: "Start new chat",
334
- scrollToBottom: "Scroll to bottom",
335
- welcome: "Ask or create with One",
336
- defaultInitialMessage: "How can I help you today?",
337
- inputPlaceholder: "Ask about time, people, or company info…",
338
- stopAnswerGeneration: "Stop generating",
339
- sendMessage: "Send message",
340
- thoughtsGroupTitle: "Reflection",
341
- resourcesGroupTitle: "Resources",
342
- thinking: "Thinking...",
343
- feedbackModal: {
344
- positive: {
345
- title: "What did you like about this response?",
346
- label: "Your feedback helps us make Factorial AI better",
347
- placeholder: "Share what worked well"
348
- },
349
- negative: {
350
- title: "What could have been better?",
351
- label: "Your feedback helps us improve future answers",
352
- placeholder: "Share what didn’t work"
353
- }
354
- }
355
- },
356
- select: {
357
- noResults: "No results found",
358
- loadingMore: "Loading..."
359
- },
360
- numberInput: {
361
- between: "It should be between {{min}} and {{max}}",
362
- greaterThan: "It should be greater than {{min}}",
363
- lessThan: "It should be less than {{max}}"
364
- },
365
- coCreationForm: {
366
- actions: {
367
- actions: "Actions",
368
- duplicateQuestion: "Duplicate question",
369
- deleteQuestion: "Delete question",
370
- duplicateSection: "Duplicate section",
371
- deleteSection: "Delete section"
372
- },
373
- questionTypes: {
374
- section: "Section",
375
- rating: "Rating",
376
- multipleChoice: "Multiple choice",
377
- singleChoice: "Single choice",
378
- text: "Text",
379
- longText: "Long text",
380
- numeric: "Numeric",
381
- link: "Link",
382
- date: "Date"
383
- },
384
- selectQuestion: {
385
- addOption: "Add option",
386
- newOption: "New option {{number}}",
387
- markAsCorrect: "Mark as correct",
388
- remove: "Remove",
389
- correct: "Correct",
390
- optionPlaceholder: "Type anything you want here..."
391
- },
392
- answer: {
393
- label: "Answer",
394
- placeholder: "Respondent's answer"
395
- },
396
- labels: {
397
- endOfSection: "End of section",
398
- title: "Title",
399
- titlePlaceholder: "Question title",
400
- description: "Description",
401
- questionDescriptionPlaceholder: "Describe the question in a few words",
402
- sectionDescriptionPlaceholder: "Describe the section in a few words",
403
- required: "Required",
404
- questionType: "Question type",
405
- questionOptions: "Question options",
406
- actions: "Actions",
407
- sectionTitlePlaceholder: "Section title"
408
- },
409
- defaults: {
410
- newSection: "New Section",
411
- newQuestion: "New Question",
412
- newQuestionDescription: "New question description"
413
- }
414
- }
415
- }, fr = [
7
+ import { defaultTranslations as In } from "./i18n-provider-defaults.js";
8
+ import './f0.css';const cr = [
416
9
  "person",
417
10
  "team",
418
11
  "company",
419
12
  "file",
420
13
  "flag"
421
14
  ];
422
- function Y(a) {
15
+ function X(a) {
423
16
  "@babel/helpers - typeof";
424
- return Y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
17
+ return X = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
425
18
  return typeof e;
426
19
  } : function(e) {
427
20
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
428
- }, Y(a);
21
+ }, X(a);
429
22
  }
430
- function ns(a, e) {
23
+ function rs(a, e) {
431
24
  if (!(a instanceof e))
432
25
  throw new TypeError("Cannot call a class as a function");
433
26
  }
434
- function os(a, e) {
27
+ function ns(a, e) {
435
28
  for (var t = 0; t < e.length; t++) {
436
29
  var i = e[t];
437
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(a, Dt(i.key), i);
30
+ i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(a, zt(i.key), i);
438
31
  }
439
32
  }
440
- function as(a, e, t) {
441
- return e && os(a.prototype, e), Object.defineProperty(a, "prototype", { writable: !1 }), a;
33
+ function os(a, e, t) {
34
+ return e && ns(a.prototype, e), Object.defineProperty(a, "prototype", { writable: !1 }), a;
442
35
  }
443
- function ls(a, e, t) {
444
- return e = ue(e), hs(a, Nt() ? Reflect.construct(e, t || [], ue(a).constructor) : e.apply(a, t));
36
+ function as(a, e, t) {
37
+ return e = ue(e), ls(a, Nt() ? Reflect.construct(e, t || [], ue(a).constructor) : e.apply(a, t));
445
38
  }
446
- function hs(a, e) {
447
- if (e && (Y(e) === "object" || typeof e == "function"))
39
+ function ls(a, e) {
40
+ if (e && (X(e) === "object" || typeof e == "function"))
448
41
  return e;
449
42
  if (e !== void 0)
450
43
  throw new TypeError("Derived constructors may only return object or undefined");
451
- return ds(a);
44
+ return hs(a);
452
45
  }
453
- function ds(a) {
46
+ function hs(a) {
454
47
  if (a === void 0)
455
48
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
456
49
  return a;
@@ -470,52 +63,52 @@ function ue(a) {
470
63
  return t.__proto__ || Object.getPrototypeOf(t);
471
64
  }, ue(a);
472
65
  }
473
- function cs(a, e) {
66
+ function ds(a, e) {
474
67
  if (typeof e != "function" && e !== null)
475
68
  throw new TypeError("Super expression must either be null or a function");
476
- a.prototype = Object.create(e && e.prototype, { constructor: { value: a, writable: !0, configurable: !0 } }), Object.defineProperty(a, "prototype", { writable: !1 }), e && Se(a, e);
69
+ a.prototype = Object.create(e && e.prototype, { constructor: { value: a, writable: !0, configurable: !0 } }), Object.defineProperty(a, "prototype", { writable: !1 }), e && De(a, e);
477
70
  }
478
- function Se(a, e) {
479
- return Se = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, s) {
71
+ function De(a, e) {
72
+ return De = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, s) {
480
73
  return i.__proto__ = s, i;
481
- }, Se(a, e);
74
+ }, De(a, e);
482
75
  }
483
76
  function Rt(a, e, t) {
484
- return e = Dt(e), e in a ? Object.defineProperty(a, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : a[e] = t, a;
77
+ return e = zt(e), e in a ? Object.defineProperty(a, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : a[e] = t, a;
485
78
  }
486
- function Dt(a) {
487
- var e = us(a, "string");
488
- return Y(e) == "symbol" ? e : e + "";
79
+ function zt(a) {
80
+ var e = cs(a, "string");
81
+ return X(e) == "symbol" ? e : e + "";
489
82
  }
490
- function us(a, e) {
491
- if (Y(a) != "object" || !a) return a;
83
+ function cs(a, e) {
84
+ if (X(a) != "object" || !a) return a;
492
85
  var t = a[Symbol.toPrimitive];
493
86
  if (t !== void 0) {
494
87
  var i = t.call(a, e);
495
- if (Y(i) != "object") return i;
88
+ if (X(i) != "object") return i;
496
89
  throw new TypeError("@@toPrimitive must return a primitive value.");
497
90
  }
498
91
  return String(a);
499
92
  }
500
- var _e = /* @__PURE__ */ function(a) {
93
+ var we = /* @__PURE__ */ function(a) {
501
94
  function e() {
502
- return ns(this, e), ls(this, e, arguments);
95
+ return rs(this, e), as(this, e, arguments);
503
96
  }
504
- return cs(e, a), as(e, [{
97
+ return ds(e, a), os(e, [{
505
98
  key: "render",
506
99
  value: function() {
507
100
  return null;
508
101
  }
509
102
  }]);
510
- }(z.Component);
511
- Rt(_e, "displayName", "ZAxis");
512
- Rt(_e, "defaultProps", {
103
+ }(P.Component);
104
+ Rt(we, "displayName", "ZAxis");
105
+ Rt(we, "defaultProps", {
513
106
  zAxisId: 0,
514
107
  range: [64, 64],
515
108
  scale: "auto",
516
109
  type: "number"
517
110
  });
518
- var fs = ["option", "isActive"];
111
+ var us = ["option", "isActive"];
519
112
  function ee() {
520
113
  return ee = Object.assign ? Object.assign.bind() : function(a) {
521
114
  for (var e = 1; e < arguments.length; e++) {
@@ -526,9 +119,9 @@ function ee() {
526
119
  return a;
527
120
  }, ee.apply(this, arguments);
528
121
  }
529
- function gs(a, e) {
122
+ function fs(a, e) {
530
123
  if (a == null) return {};
531
- var t = ps(a, e), i, s;
124
+ var t = gs(a, e), i, s;
532
125
  if (Object.getOwnPropertySymbols) {
533
126
  var r = Object.getOwnPropertySymbols(a);
534
127
  for (s = 0; s < r.length; s++)
@@ -536,7 +129,7 @@ function gs(a, e) {
536
129
  }
537
130
  return t;
538
131
  }
539
- function ps(a, e) {
132
+ function gs(a, e) {
540
133
  if (a == null) return {};
541
134
  var t = {};
542
135
  for (var i in a)
@@ -546,27 +139,27 @@ function ps(a, e) {
546
139
  }
547
140
  return t;
548
141
  }
549
- function ms(a) {
550
- var e = a.option, t = a.isActive, i = gs(a, fs);
551
- return typeof e == "string" ? /* @__PURE__ */ z.createElement(We, ee({
552
- option: /* @__PURE__ */ z.createElement(qt, ee({
142
+ function ps(a) {
143
+ var e = a.option, t = a.isActive, i = fs(a, us);
144
+ return typeof e == "string" ? /* @__PURE__ */ P.createElement(Ge, ee({
145
+ option: /* @__PURE__ */ P.createElement(Kt, ee({
553
146
  type: e
554
147
  }, i)),
555
148
  isActive: t,
556
149
  shapeType: "symbols"
557
- }, i)) : /* @__PURE__ */ z.createElement(We, ee({
150
+ }, i)) : /* @__PURE__ */ P.createElement(Ge, ee({
558
151
  option: e,
559
152
  isActive: t,
560
153
  shapeType: "symbols"
561
154
  }, i));
562
155
  }
563
- function X(a) {
156
+ function Y(a) {
564
157
  "@babel/helpers - typeof";
565
- return X = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
158
+ return Y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
566
159
  return typeof e;
567
160
  } : function(e) {
568
161
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
569
- }, X(a);
162
+ }, Y(a);
570
163
  }
571
164
  function te() {
572
165
  return te = Object.assign ? Object.assign.bind() : function(a) {
@@ -578,7 +171,7 @@ function te() {
578
171
  return a;
579
172
  }, te.apply(this, arguments);
580
173
  }
581
- function Ve(a, e) {
174
+ function qe(a, e) {
582
175
  var t = Object.keys(a);
583
176
  if (Object.getOwnPropertySymbols) {
584
177
  var i = Object.getOwnPropertySymbols(a);
@@ -588,35 +181,35 @@ function Ve(a, e) {
588
181
  }
589
182
  return t;
590
183
  }
591
- function O(a) {
184
+ function T(a) {
592
185
  for (var e = 1; e < arguments.length; e++) {
593
186
  var t = arguments[e] != null ? arguments[e] : {};
594
- e % 2 ? Ve(Object(t), !0).forEach(function(i) {
595
- U(a, i, t[i]);
596
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Ve(Object(t)).forEach(function(i) {
187
+ e % 2 ? qe(Object(t), !0).forEach(function(i) {
188
+ j(a, i, t[i]);
189
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : qe(Object(t)).forEach(function(i) {
597
190
  Object.defineProperty(a, i, Object.getOwnPropertyDescriptor(t, i));
598
191
  });
599
192
  }
600
193
  return a;
601
194
  }
602
- function vs(a, e) {
195
+ function ms(a, e) {
603
196
  if (!(a instanceof e))
604
197
  throw new TypeError("Cannot call a class as a function");
605
198
  }
606
- function Ye(a, e) {
199
+ function Xe(a, e) {
607
200
  for (var t = 0; t < e.length; t++) {
608
201
  var i = e[t];
609
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(a, zt(i.key), i);
202
+ i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(a, Pt(i.key), i);
610
203
  }
611
204
  }
612
- function ys(a, e, t) {
613
- return e && Ye(a.prototype, e), t && Ye(a, t), Object.defineProperty(a, "prototype", { writable: !1 }), a;
205
+ function vs(a, e, t) {
206
+ return e && Xe(a.prototype, e), t && Xe(a, t), Object.defineProperty(a, "prototype", { writable: !1 }), a;
614
207
  }
615
- function bs(a, e, t) {
616
- return e = fe(e), ws(a, St() ? Reflect.construct(e, t || [], fe(a).constructor) : e.apply(a, t));
208
+ function ys(a, e, t) {
209
+ return e = fe(e), bs(a, Dt() ? Reflect.construct(e, t || [], fe(a).constructor) : e.apply(a, t));
617
210
  }
618
- function ws(a, e) {
619
- if (e && (X(e) === "object" || typeof e == "function"))
211
+ function bs(a, e) {
212
+ if (e && (Y(e) === "object" || typeof e == "function"))
620
213
  return e;
621
214
  if (e !== void 0)
622
215
  throw new TypeError("Derived constructors may only return object or undefined");
@@ -627,13 +220,13 @@ function xs(a) {
627
220
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
628
221
  return a;
629
222
  }
630
- function St() {
223
+ function Dt() {
631
224
  try {
632
225
  var a = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
633
226
  }));
634
227
  } catch {
635
228
  }
636
- return (St = function() {
229
+ return (Dt = function() {
637
230
  return !!a;
638
231
  })();
639
232
  }
@@ -645,26 +238,26 @@ function fe(a) {
645
238
  function _s(a, e) {
646
239
  if (typeof e != "function" && e !== null)
647
240
  throw new TypeError("Super expression must either be null or a function");
648
- a.prototype = Object.create(e && e.prototype, { constructor: { value: a, writable: !0, configurable: !0 } }), Object.defineProperty(a, "prototype", { writable: !1 }), e && ze(a, e);
241
+ a.prototype = Object.create(e && e.prototype, { constructor: { value: a, writable: !0, configurable: !0 } }), Object.defineProperty(a, "prototype", { writable: !1 }), e && Pe(a, e);
649
242
  }
650
- function ze(a, e) {
651
- return ze = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, s) {
243
+ function Pe(a, e) {
244
+ return Pe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, s) {
652
245
  return i.__proto__ = s, i;
653
- }, ze(a, e);
246
+ }, Pe(a, e);
654
247
  }
655
- function U(a, e, t) {
656
- return e = zt(e), e in a ? Object.defineProperty(a, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : a[e] = t, a;
248
+ function j(a, e, t) {
249
+ return e = Pt(e), e in a ? Object.defineProperty(a, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : a[e] = t, a;
657
250
  }
658
- function zt(a) {
659
- var e = Cs(a, "string");
660
- return X(e) == "symbol" ? e : e + "";
251
+ function Pt(a) {
252
+ var e = ws(a, "string");
253
+ return Y(e) == "symbol" ? e : e + "";
661
254
  }
662
- function Cs(a, e) {
663
- if (X(a) != "object" || !a) return a;
255
+ function ws(a, e) {
256
+ if (Y(a) != "object" || !a) return a;
664
257
  var t = a[Symbol.toPrimitive];
665
258
  if (t !== void 0) {
666
259
  var i = t.call(a, e);
667
- if (X(i) != "object") return i;
260
+ if (Y(i) != "object") return i;
668
261
  throw new TypeError("@@toPrimitive must return a primitive value.");
669
262
  }
670
263
  return String(a);
@@ -672,33 +265,33 @@ function Cs(a, e) {
672
265
  var re = /* @__PURE__ */ function(a) {
673
266
  function e() {
674
267
  var t;
675
- vs(this, e);
268
+ ms(this, e);
676
269
  for (var i = arguments.length, s = new Array(i), r = 0; r < i; r++)
677
270
  s[r] = arguments[r];
678
- return t = bs(this, e, [].concat(s)), U(t, "state", {
271
+ return t = ys(this, e, [].concat(s)), j(t, "state", {
679
272
  isAnimationFinished: !1
680
- }), U(t, "handleAnimationEnd", function() {
273
+ }), j(t, "handleAnimationEnd", function() {
681
274
  t.setState({
682
275
  isAnimationFinished: !0
683
276
  });
684
- }), U(t, "handleAnimationStart", function() {
277
+ }), j(t, "handleAnimationStart", function() {
685
278
  t.setState({
686
279
  isAnimationFinished: !1
687
280
  });
688
- }), U(t, "id", ei("recharts-scatter-")), t;
281
+ }), j(t, "id", ei("recharts-scatter-")), t;
689
282
  }
690
- return _s(e, a), ys(e, [{
283
+ return _s(e, a), vs(e, [{
691
284
  key: "renderSymbolsStatically",
692
285
  value: function(i) {
693
- var s = this, r = this.props, n = r.shape, o = r.activeShape, h = r.activeIndex, c = Ee(this.props, !1);
286
+ var s = this, r = this.props, n = r.shape, o = r.activeShape, h = r.activeIndex, c = Ce(this.props, !1);
694
287
  return i.map(function(l, d) {
695
- var f = h === d, p = f ? o : n, m = O(O({}, c), l);
696
- return /* @__PURE__ */ z.createElement(J, te({
288
+ var f = h === d, p = f ? o : n, m = T(T({}, c), l);
289
+ return /* @__PURE__ */ P.createElement(J, te({
697
290
  className: "recharts-scatter-symbol",
698
291
  key: "symbol-".concat(l == null ? void 0 : l.cx, "-").concat(l == null ? void 0 : l.cy, "-").concat(l == null ? void 0 : l.size, "-").concat(d)
699
- }, Kt(s.props, l, d), {
292
+ }, Vt(s.props, l, d), {
700
293
  role: "img"
701
- }), /* @__PURE__ */ z.createElement(ms, te({
294
+ }), /* @__PURE__ */ P.createElement(ps, te({
702
295
  option: p,
703
296
  isActive: f,
704
297
  key: "symbol-".concat(d)
@@ -709,7 +302,7 @@ var re = /* @__PURE__ */ function(a) {
709
302
  key: "renderSymbolsWithAnimation",
710
303
  value: function() {
711
304
  var i = this, s = this.props, r = s.points, n = s.isAnimationActive, o = s.animationBegin, h = s.animationDuration, c = s.animationEasing, l = s.animationId, d = this.state.prevPoints;
712
- return /* @__PURE__ */ z.createElement(Vt, {
305
+ return /* @__PURE__ */ P.createElement(qt, {
713
306
  begin: o,
714
307
  duration: h,
715
308
  isActive: n,
@@ -725,21 +318,21 @@ var re = /* @__PURE__ */ function(a) {
725
318
  onAnimationStart: this.handleAnimationStart
726
319
  }, function(f) {
727
320
  var p = f.t, m = r.map(function(v, b) {
728
- var _ = d && d[b];
729
- if (_) {
730
- var E = ae(_.cx, v.cx), C = ae(_.cy, v.cy), S = ae(_.size, v.size);
731
- return O(O({}, v), {}, {
732
- cx: E(p),
733
- cy: C(p),
734
- size: S(p)
321
+ var w = d && d[b];
322
+ if (w) {
323
+ var C = ae(w.cx, v.cx), E = ae(w.cy, v.cy), D = ae(w.size, v.size);
324
+ return T(T({}, v), {}, {
325
+ cx: C(p),
326
+ cy: E(p),
327
+ size: D(p)
735
328
  });
736
329
  }
737
330
  var N = ae(0, v.size);
738
- return O(O({}, v), {}, {
331
+ return T(T({}, v), {}, {
739
332
  size: N(p)
740
333
  });
741
334
  });
742
- return /* @__PURE__ */ z.createElement(J, null, i.renderSymbolsStatically(m));
335
+ return /* @__PURE__ */ P.createElement(J, null, i.renderSymbolsStatically(m));
743
336
  });
744
337
  }
745
338
  }, {
@@ -754,21 +347,21 @@ var re = /* @__PURE__ */ function(a) {
754
347
  var i = this.props.isAnimationActive;
755
348
  if (i && !this.state.isAnimationFinished)
756
349
  return null;
757
- var s = this.props, r = s.points, n = s.xAxis, o = s.yAxis, h = s.children, c = it(h, Yt);
350
+ var s = this.props, r = s.points, n = s.xAxis, o = s.yAxis, h = s.children, c = it(h, Xt);
758
351
  return c ? c.map(function(l, d) {
759
352
  var f = l.props, p = f.direction, m = f.dataKey;
760
- return /* @__PURE__ */ z.cloneElement(l, {
353
+ return /* @__PURE__ */ P.cloneElement(l, {
761
354
  key: "".concat(p, "-").concat(m, "-").concat(r[d]),
762
355
  data: r,
763
356
  xAxis: n,
764
357
  yAxis: o,
765
358
  layout: p === "x" ? "vertical" : "horizontal",
766
- dataPointFormatter: function(b, _) {
359
+ dataPointFormatter: function(b, w) {
767
360
  return {
768
361
  x: b.cx,
769
362
  y: b.cy,
770
363
  value: p === "x" ? +b.node.x : +b.node.y,
771
- errorVal: he(b, _)
364
+ errorVal: he(b, w)
772
365
  };
773
366
  }
774
367
  });
@@ -777,35 +370,35 @@ var re = /* @__PURE__ */ function(a) {
777
370
  }, {
778
371
  key: "renderLine",
779
372
  value: function() {
780
- var i = this.props, s = i.points, r = i.line, n = i.lineType, o = i.lineJointType, h = Ee(this.props, !1), c = Ee(r, !1), l, d;
373
+ var i = this.props, s = i.points, r = i.line, n = i.lineType, o = i.lineJointType, h = Ce(this.props, !1), c = Ce(r, !1), l, d;
781
374
  if (n === "joint")
782
- l = s.map(function(C) {
375
+ l = s.map(function(E) {
783
376
  return {
784
- x: C.cx,
785
- y: C.cy
377
+ x: E.cx,
378
+ y: E.cy
786
379
  };
787
380
  });
788
381
  else if (n === "fitting") {
789
- var f = Xt(s), p = f.xmin, m = f.xmax, v = f.a, b = f.b, _ = function(S) {
790
- return v * S + b;
382
+ var f = Yt(s), p = f.xmin, m = f.xmax, v = f.a, b = f.b, w = function(D) {
383
+ return v * D + b;
791
384
  };
792
385
  l = [{
793
386
  x: p,
794
- y: _(p)
387
+ y: w(p)
795
388
  }, {
796
389
  x: m,
797
- y: _(m)
390
+ y: w(m)
798
391
  }];
799
392
  }
800
- var E = O(O(O({}, h), {}, {
393
+ var C = T(T(T({}, h), {}, {
801
394
  fill: "none",
802
395
  stroke: h && h.fill
803
396
  }, c), {}, {
804
397
  points: l
805
398
  });
806
- return /* @__PURE__ */ z.isValidElement(r) ? d = /* @__PURE__ */ z.cloneElement(r, E) : Jt(r) ? d = r(E) : d = /* @__PURE__ */ z.createElement(Qt, te({}, E, {
399
+ return /* @__PURE__ */ P.isValidElement(r) ? d = /* @__PURE__ */ P.cloneElement(r, C) : Jt(r) ? d = r(C) : d = /* @__PURE__ */ P.createElement(Zt, te({}, C, {
807
400
  type: o
808
- })), /* @__PURE__ */ z.createElement(J, {
401
+ })), /* @__PURE__ */ P.createElement(J, {
809
402
  className: "recharts-scatter-line",
810
403
  key: "recharts-scatter-line"
811
404
  }, d);
@@ -816,18 +409,18 @@ var re = /* @__PURE__ */ function(a) {
816
409
  var i = this.props, s = i.hide, r = i.points, n = i.line, o = i.className, h = i.xAxis, c = i.yAxis, l = i.left, d = i.top, f = i.width, p = i.height, m = i.id, v = i.isAnimationActive;
817
410
  if (s || !r || !r.length)
818
411
  return null;
819
- var b = this.state.isAnimationFinished, _ = Zt("recharts-scatter", o), E = h && h.allowDataOverflow, C = c && c.allowDataOverflow, S = E || C, N = K(m) ? this.id : m;
820
- return /* @__PURE__ */ z.createElement(J, {
821
- className: _,
822
- clipPath: S ? "url(#clipPath-".concat(N, ")") : null
823
- }, E || C ? /* @__PURE__ */ z.createElement("defs", null, /* @__PURE__ */ z.createElement("clipPath", {
412
+ var b = this.state.isAnimationFinished, w = Qt("recharts-scatter", o), C = h && h.allowDataOverflow, E = c && c.allowDataOverflow, D = C || E, N = V(m) ? this.id : m;
413
+ return /* @__PURE__ */ P.createElement(J, {
414
+ className: w,
415
+ clipPath: D ? "url(#clipPath-".concat(N, ")") : null
416
+ }, C || E ? /* @__PURE__ */ P.createElement("defs", null, /* @__PURE__ */ P.createElement("clipPath", {
824
417
  id: "clipPath-".concat(N)
825
- }, /* @__PURE__ */ z.createElement("rect", {
826
- x: E ? l : l - f / 2,
827
- y: C ? d : d - p / 2,
828
- width: E ? f : f * 2,
829
- height: C ? p : p * 2
830
- }))) : null, n && this.renderLine(), this.renderErrorBar(), /* @__PURE__ */ z.createElement(J, {
418
+ }, /* @__PURE__ */ P.createElement("rect", {
419
+ x: C ? l : l - f / 2,
420
+ y: E ? d : d - p / 2,
421
+ width: C ? f : f * 2,
422
+ height: E ? p : p * 2
423
+ }))) : null, n && this.renderLine(), this.renderErrorBar(), /* @__PURE__ */ P.createElement(J, {
831
424
  key: "recharts-scatter-symbols"
832
425
  }, this.renderSymbols()), (!v || b) && st.renderCallByParent(this.props, r));
833
426
  }
@@ -844,8 +437,8 @@ var re = /* @__PURE__ */ function(a) {
844
437
  }
845
438
  }]);
846
439
  }(ts);
847
- U(re, "displayName", "Scatter");
848
- U(re, "defaultProps", {
440
+ j(re, "displayName", "Scatter");
441
+ j(re, "defaultProps", {
849
442
  xAxisId: 0,
850
443
  yAxisId: 0,
851
444
  zAxisId: 0,
@@ -860,28 +453,28 @@ U(re, "defaultProps", {
860
453
  animationDuration: 400,
861
454
  animationEasing: "linear"
862
455
  });
863
- U(re, "getComposedData", function(a) {
864
- var e = a.xAxis, t = a.yAxis, i = a.zAxis, s = a.item, r = a.displayedData, n = a.xAxisTicks, o = a.yAxisTicks, h = a.offset, c = s.props.tooltipType, l = it(s.props.children, ii), d = K(e.dataKey) ? s.props.dataKey : e.dataKey, f = K(t.dataKey) ? s.props.dataKey : t.dataKey, p = i && i.dataKey, m = i ? i.range : _e.defaultProps.range, v = m && m[0], b = e.scale.bandwidth ? e.scale.bandwidth() : 0, _ = t.scale.bandwidth ? t.scale.bandwidth() : 0, E = r.map(function(C, S) {
865
- var N = he(C, d), P = he(C, f), A = !K(p) && he(C, p) || "-", W = [{
866
- name: K(e.dataKey) ? s.props.name : e.name || e.dataKey,
456
+ j(re, "getComposedData", function(a) {
457
+ var e = a.xAxis, t = a.yAxis, i = a.zAxis, s = a.item, r = a.displayedData, n = a.xAxisTicks, o = a.yAxisTicks, h = a.offset, c = s.props.tooltipType, l = it(s.props.children, ii), d = V(e.dataKey) ? s.props.dataKey : e.dataKey, f = V(t.dataKey) ? s.props.dataKey : t.dataKey, p = i && i.dataKey, m = i ? i.range : we.defaultProps.range, v = m && m[0], b = e.scale.bandwidth ? e.scale.bandwidth() : 0, w = t.scale.bandwidth ? t.scale.bandwidth() : 0, C = r.map(function(E, D) {
458
+ var N = he(E, d), k = he(E, f), O = !V(p) && he(E, p) || "-", G = [{
459
+ name: V(e.dataKey) ? s.props.name : e.name || e.dataKey,
867
460
  unit: e.unit || "",
868
461
  value: N,
869
- payload: C,
462
+ payload: E,
870
463
  dataKey: d,
871
464
  type: c
872
465
  }, {
873
- name: K(t.dataKey) ? s.props.name : t.name || t.dataKey,
466
+ name: V(t.dataKey) ? s.props.name : t.name || t.dataKey,
874
467
  unit: t.unit || "",
875
- value: P,
876
- payload: C,
468
+ value: k,
469
+ payload: E,
877
470
  dataKey: f,
878
471
  type: c
879
472
  }];
880
- A !== "-" && W.push({
473
+ O !== "-" && G.push({
881
474
  name: i.name || i.dataKey,
882
475
  unit: i.unit || "",
883
- value: A,
884
- payload: C,
476
+ value: O,
477
+ payload: E,
885
478
  dataKey: p,
886
479
  type: c
887
480
  });
@@ -889,43 +482,43 @@ U(re, "getComposedData", function(a) {
889
482
  axis: e,
890
483
  ticks: n,
891
484
  bandSize: b,
892
- entry: C,
893
- index: S,
485
+ entry: E,
486
+ index: D,
894
487
  dataKey: d
895
- }), F = $e({
488
+ }), I = $e({
896
489
  axis: t,
897
490
  ticks: o,
898
- bandSize: _,
899
- entry: C,
900
- index: S,
491
+ bandSize: w,
492
+ entry: E,
493
+ index: D,
901
494
  dataKey: f
902
- }), x = A !== "-" ? i.scale(A) : v, D = Math.sqrt(Math.max(x, 0) / Math.PI);
903
- return O(O({}, C), {}, {
495
+ }), _ = O !== "-" ? i.scale(O) : v, z = Math.sqrt(Math.max(_, 0) / Math.PI);
496
+ return T(T({}, E), {}, {
904
497
  cx: H,
905
- cy: F,
906
- x: H - D,
907
- y: F - D,
498
+ cy: I,
499
+ x: H - z,
500
+ y: I - z,
908
501
  xAxis: e,
909
502
  yAxis: t,
910
503
  zAxis: i,
911
- width: 2 * D,
912
- height: 2 * D,
913
- size: x,
504
+ width: 2 * z,
505
+ height: 2 * z,
506
+ size: _,
914
507
  node: {
915
508
  x: N,
916
- y: P,
917
- z: A
509
+ y: k,
510
+ z: O
918
511
  },
919
- tooltipPayload: W,
512
+ tooltipPayload: G,
920
513
  tooltipPosition: {
921
514
  x: H,
922
- y: F
515
+ y: I
923
516
  },
924
- payload: C
925
- }, l && l[S] && l[S].props);
517
+ payload: E
518
+ }, l && l[D] && l[D].props);
926
519
  });
927
- return O({
928
- points: E
520
+ return T({
521
+ points: C
929
522
  }, h);
930
523
  });
931
524
  var Es = si({
@@ -936,14 +529,14 @@ var Es = si({
936
529
  AxisComp: ot
937
530
  }, {
938
531
  axisType: "yAxis",
939
- AxisComp: De
532
+ AxisComp: ze
940
533
  }, {
941
534
  axisType: "zAxis",
942
- AxisComp: _e
535
+ AxisComp: we
943
536
  }],
944
537
  formatAxisMap: ni
945
538
  });
946
- const Ns = (a) => {
539
+ const Cs = (a) => {
947
540
  const e = (t) => {
948
541
  const { cx: i, cy: s, fill: r, payload: n } = t, o = () => {
949
542
  if (!n) return "-";
@@ -967,11 +560,11 @@ const Ns = (a) => {
967
560
  });
968
561
  };
969
562
  return e.displayName = `Scatter-${a}`, e;
970
- }, Rs = ({ dataConfig: a, data: e, xAxis: t, yAxis: i = {
563
+ }, Ns = ({ dataConfig: a, data: e, xAxis: t, yAxis: i = {
971
564
  hide: !0
972
565
  }, label: s = !1, hideTooltip: r = !1, hideGrid: n = !1, aspect: o, legend: h, showValueUnderLabel: c = !1, bar: l, line: d, scatter: f, onClick: p }, m) => {
973
- var A, W, H, F;
974
- const v = oi(e), b = l != null && l.categories ? Array.isArray(l.categories) ? l.categories : [l.categories] : [], _ = d != null && d.categories ? Array.isArray(d.categories) ? d.categories : [d.categories] : [], E = f != null && f.categories ? Array.isArray(f.categories) ? f.categories : [f.categories] : [], C = [...b, ..._, ...E], S = Math.max(...v.flatMap((x) => C.map((D) => ai(i != null && i.tickFormatter ? i.tickFormatter(`${x[D]}`) : `${x[D]}`)))), N = [l, d, f].filter((x) => (x == null ? void 0 : x.axisPosition) === "left"), P = [l, d, f].filter((x) => (x == null ? void 0 : x.axisPosition) === "right");
566
+ var O, G, H, I;
567
+ const v = oi(e), b = l != null && l.categories ? Array.isArray(l.categories) ? l.categories : [l.categories] : [], w = d != null && d.categories ? Array.isArray(d.categories) ? d.categories : [d.categories] : [], C = f != null && f.categories ? Array.isArray(f.categories) ? f.categories : [f.categories] : [], E = [...b, ...w, ...C], D = Math.max(...v.flatMap((_) => E.map((z) => ai(i != null && i.tickFormatter ? i.tickFormatter(`${_[z]}`) : `${_[z]}`)))), N = [l, d, f].filter((_) => (_ == null ? void 0 : _.axisPosition) === "left"), k = [l, d, f].filter((_) => (_ == null ? void 0 : _.axisPosition) === "right");
975
568
  return g(li, {
976
569
  config: a,
977
570
  ref: m,
@@ -986,16 +579,16 @@ const Ns = (a) => {
986
579
  bottom: c ? 24 : 12
987
580
  },
988
581
  stackOffset: void 0,
989
- onClick: (x) => {
990
- if (!p || !x.activeLabel || !x.activePayload)
582
+ onClick: (_) => {
583
+ if (!p || !_.activeLabel || !_.activePayload)
991
584
  return;
992
- const D = {
993
- label: x.activeLabel,
585
+ const z = {
586
+ label: _.activeLabel,
994
587
  values: {}
995
588
  };
996
- for (const ne of x.activePayload)
997
- D.values[ne.name] = ne.value;
998
- p(D);
589
+ for (const ne of _.activePayload)
590
+ z.values[ne.name] = ne.value;
591
+ p(z);
999
592
  },
1000
593
  children: [!r && g(hi, {
1001
594
  ...di(),
@@ -1004,36 +597,36 @@ const Ns = (a) => {
1004
597
  })
1005
598
  }), !n && g(ui, {
1006
599
  ...fi()
1007
- }), N.length > 0 && g(De, {
1008
- ...je(i),
600
+ }), N.length > 0 && g(ze, {
601
+ ...Ue(i),
1009
602
  tick: !0,
1010
- width: i.width ?? S + 20 + (P.length > 0 && ((A = N[0]) != null && A.axisLabel) ? 20 : 0),
1011
- hide: i.hide || N.some((x) => x == null ? void 0 : x.hideAxis),
1012
- label: (W = N[0]) != null && W.axisLabel ? {
603
+ width: i.width ?? D + 20 + (k.length > 0 && ((O = N[0]) != null && O.axisLabel) ? 20 : 0),
604
+ hide: i.hide || N.some((_) => _ == null ? void 0 : _.hideAxis),
605
+ label: (G = N[0]) != null && G.axisLabel ? {
1013
606
  value: N[0].axisLabel,
1014
607
  angle: -90,
1015
608
  position: "insideLeft"
1016
609
  } : void 0
1017
- }), P.length > 0 && g(De, {
1018
- ...je(i),
610
+ }), k.length > 0 && g(ze, {
611
+ ...Ue(i),
1019
612
  yAxisId: "right",
1020
613
  orientation: "right",
1021
614
  tick: !0,
1022
- width: i.width ?? S + 20 + (N.length > 0 && ((H = P[0]) != null && H.axisLabel) ? 20 : 0),
1023
- hide: i.hide || P.some((x) => x == null ? void 0 : x.hideAxis),
1024
- label: (F = P[0]) != null && F.axisLabel ? {
1025
- value: P[0].axisLabel,
615
+ width: i.width ?? D + 20 + (N.length > 0 && ((H = k[0]) != null && H.axisLabel) ? 20 : 0),
616
+ hide: i.hide || k.some((_) => _ == null ? void 0 : _.hideAxis),
617
+ label: (I = k[0]) != null && I.axisLabel ? {
618
+ value: k[0].axisLabel,
1026
619
  angle: 90,
1027
620
  position: "insideRight"
1028
621
  } : void 0
1029
622
  }), g(ot, {
1030
623
  ...gi(t),
1031
624
  hide: t == null ? void 0 : t.hide,
1032
- tick: c ? (x) => {
1033
- var Fe, Ge;
1034
- const { x: D, y: ne, payload: Be } = x, Ie = ((Fe = e.find((Ut) => Ut.label === Be.value)) == null ? void 0 : Fe.values) || "", oe = Object.keys(Ie).length === 1 ? (Ge = Object.values(Ie)) == null ? void 0 : Ge[0] : void 0, jt = oe !== void 0 && i.tickFormatter ? i.tickFormatter(`${oe}`) : oe.toLocaleString();
625
+ tick: c ? (_) => {
626
+ var Ie, We;
627
+ const { x: z, y: ne, payload: Be } = _, Fe = ((Ie = e.find((jt) => jt.label === Be.value)) == null ? void 0 : Ie.values) || "", oe = Object.keys(Fe).length === 1 ? (We = Object.values(Fe)) == null ? void 0 : We[0] : void 0, Ut = oe !== void 0 && i.tickFormatter ? i.tickFormatter(`${oe}`) : oe.toLocaleString();
1035
628
  return R("g", {
1036
- transform: `translate(${D},${ne})`,
629
+ transform: `translate(${z},${ne})`,
1037
630
  children: [g("text", {
1038
631
  x: 0,
1039
632
  y: 0,
@@ -1047,14 +640,14 @@ const Ns = (a) => {
1047
640
  dy: 28,
1048
641
  textAnchor: "middle",
1049
642
  className: "!fill-f1-foreground text-sm font-medium",
1050
- children: jt
643
+ children: Ut
1051
644
  })]
1052
645
  });
1053
646
  } : void 0
1054
- }), b.map((x, D) => g(nt, {
647
+ }), b.map((_, z) => g(nt, {
1055
648
  isAnimationActive: !1,
1056
- dataKey: String(x),
1057
- fill: a[x].color ? Q(a[x].color) : Ne(D),
649
+ dataKey: String(_),
650
+ fill: a[_].color ? Z(a[_].color) : Ne(z),
1058
651
  radius: 4,
1059
652
  maxBarSize: 32,
1060
653
  children: s && g(st, {
@@ -1062,23 +655,23 @@ const Ns = (a) => {
1062
655
  offset: 10,
1063
656
  className: "fill-f1-foreground",
1064
657
  fontSize: 12
1065
- }, `label-${String(x)}`)
1066
- }, `bar-${String(x)}`)), _.map((x, D) => g(rt, {
658
+ }, `label-${String(_)}`)
659
+ }, `bar-${String(_)}`)), w.map((_, z) => g(rt, {
1067
660
  type: (d == null ? void 0 : d.lineType) ?? "natural",
1068
- dataKey: String(x),
1069
- stroke: a[x].color ? Q(a[x].color) : Ne(b.length + D),
661
+ dataKey: String(_),
662
+ stroke: a[_].color ? Z(a[_].color) : Ne(b.length + z),
1070
663
  strokeWidth: 2,
1071
664
  dot: (d == null ? void 0 : d.dot) ?? !1,
1072
665
  isAnimationActive: !1,
1073
666
  yAxisId: (d == null ? void 0 : d.axisPosition) === "right" ? "right" : void 0
1074
- }, `line-${String(x)}`)), E.map((x, D) => g(re, {
1075
- dataKey: String(x),
1076
- fill: a[x].color ? Q(a[x].color) : Ne(b.length + _.length + D),
667
+ }, `line-${String(_)}`)), C.map((_, z) => g(re, {
668
+ dataKey: String(_),
669
+ fill: a[_].color ? Z(a[_].color) : Ne(b.length + w.length + z),
1077
670
  r: 4,
1078
671
  isAnimationActive: !1,
1079
672
  yAxisId: (f == null ? void 0 : f.axisPosition) === "right" ? "right" : void 0,
1080
- shape: Ns(String(x))
1081
- }, `scatter-${String(x)}`)), h && g(pi, {
673
+ shape: Cs(String(_))
674
+ }, `scatter-${String(_)}`)), h && g(pi, {
1082
675
  content: g(mi, {
1083
676
  nameKey: "label"
1084
677
  }),
@@ -1089,21 +682,21 @@ const Ns = (a) => {
1089
682
  })]
1090
683
  })
1091
684
  });
1092
- }, Ds = at(Rs);
1093
- var Ae = "Progress", Te = 100, [Ss, gr] = vi(Ae), [zs, ks] = Ss(Ae), kt = Pe.forwardRef(
685
+ }, Rs = at(Ns);
686
+ var Oe = "Progress", Ae = 100, [zs, ur] = vi(Oe), [Ds, Ps] = zs(Oe), St = ke.forwardRef(
1094
687
  (a, e) => {
1095
688
  const {
1096
689
  __scopeProgress: t,
1097
690
  value: i = null,
1098
691
  max: s,
1099
- getValueLabel: r = Ps,
692
+ getValueLabel: r = Ss,
1100
693
  ...n
1101
694
  } = a;
1102
- (s || s === 0) && !Xe(s) && console.error(As(`${s}`, "Progress"));
1103
- const o = Xe(s) ? s : Te;
1104
- i !== null && !Je(i, o) && console.error(Ts(`${i}`, "Progress"));
695
+ (s || s === 0) && !Ye(s) && console.error(ks(`${s}`, "Progress"));
696
+ const o = Ye(s) ? s : Ae;
697
+ i !== null && !Je(i, o) && console.error(Os(`${i}`, "Progress"));
1105
698
  const h = Je(i, o) ? i : null, c = ge(h) ? r(h, o) : void 0;
1106
- return /* @__PURE__ */ g(zs, { scope: t, value: h, max: o, children: /* @__PURE__ */ g(
699
+ return /* @__PURE__ */ g(Ds, { scope: t, value: h, max: o, children: /* @__PURE__ */ g(
1107
700
  lt.div,
1108
701
  {
1109
702
  "aria-valuemax": o,
@@ -1111,7 +704,7 @@ var Ae = "Progress", Te = 100, [Ss, gr] = vi(Ae), [zs, ks] = Ss(Ae), kt = Pe.for
1111
704
  "aria-valuenow": ge(h) ? h : void 0,
1112
705
  "aria-valuetext": c,
1113
706
  role: "progressbar",
1114
- "data-state": Tt(h, o),
707
+ "data-state": At(h, o),
1115
708
  "data-value": h ?? void 0,
1116
709
  "data-max": o,
1117
710
  ...n,
@@ -1120,14 +713,14 @@ var Ae = "Progress", Te = 100, [Ss, gr] = vi(Ae), [zs, ks] = Ss(Ae), kt = Pe.for
1120
713
  ) });
1121
714
  }
1122
715
  );
1123
- kt.displayName = Ae;
1124
- var Pt = "ProgressIndicator", At = Pe.forwardRef(
716
+ St.displayName = Oe;
717
+ var kt = "ProgressIndicator", Ot = ke.forwardRef(
1125
718
  (a, e) => {
1126
- const { __scopeProgress: t, ...i } = a, s = ks(Pt, t);
719
+ const { __scopeProgress: t, ...i } = a, s = Ps(kt, t);
1127
720
  return /* @__PURE__ */ g(
1128
721
  lt.div,
1129
722
  {
1130
- "data-state": Tt(s.value, s.max),
723
+ "data-state": At(s.value, s.max),
1131
724
  "data-value": s.value ?? void 0,
1132
725
  "data-max": s.max,
1133
726
  ...i,
@@ -1136,39 +729,39 @@ var Pt = "ProgressIndicator", At = Pe.forwardRef(
1136
729
  );
1137
730
  }
1138
731
  );
1139
- At.displayName = Pt;
1140
- function Ps(a, e) {
732
+ Ot.displayName = kt;
733
+ function Ss(a, e) {
1141
734
  return `${Math.round(a / e * 100)}%`;
1142
735
  }
1143
- function Tt(a, e) {
736
+ function At(a, e) {
1144
737
  return a == null ? "indeterminate" : a === e ? "complete" : "loading";
1145
738
  }
1146
739
  function ge(a) {
1147
740
  return typeof a == "number";
1148
741
  }
1149
- function Xe(a) {
742
+ function Ye(a) {
1150
743
  return ge(a) && !isNaN(a) && a > 0;
1151
744
  }
1152
745
  function Je(a, e) {
1153
746
  return ge(a) && !isNaN(a) && a <= e && a >= 0;
1154
747
  }
1155
- function As(a, e) {
1156
- return `Invalid prop \`max\` of value \`${a}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${Te}\`.`;
748
+ function ks(a, e) {
749
+ return `Invalid prop \`max\` of value \`${a}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${Ae}\`.`;
1157
750
  }
1158
- function Ts(a, e) {
751
+ function Os(a, e) {
1159
752
  return `Invalid prop \`value\` of value \`${a}\` supplied to \`${e}\`. The \`value\` prop must be:
1160
753
  - a positive number
1161
- - less than the value passed to \`max\` (or ${Te} if no \`max\` prop is set)
754
+ - less than the value passed to \`max\` (or ${Ae} if no \`max\` prop is set)
1162
755
  - \`null\` or \`undefined\` if the progress is indeterminate.
1163
756
 
1164
757
  Defaulting to \`null\`.`;
1165
758
  }
1166
- var Ot = kt, Os = At;
1167
- const Lt = Pe.forwardRef(({ className: a, value: e, ...t }, i) => g(Ot, {
759
+ var Tt = St, As = Ot;
760
+ const Lt = ke.forwardRef(({ className: a, value: e, ...t }, i) => g(Tt, {
1168
761
  ref: i,
1169
762
  className: L("relative h-2 w-full overflow-hidden rounded-full bg-f1-background-secondary", a),
1170
763
  ...t,
1171
- children: g(Os, {
764
+ children: g(As, {
1172
765
  className: "h-full w-full flex-1 transition-all",
1173
766
  style: {
1174
767
  backgroundColor: t.color,
@@ -1176,9 +769,9 @@ const Lt = Pe.forwardRef(({ className: a, value: e, ...t }, i) => g(Ot, {
1176
769
  }
1177
770
  })
1178
771
  }));
1179
- Lt.displayName = Ot.displayName;
1180
- const Ls = ({ value: a, max: e = 100, label: t, color: i }, s) => {
1181
- const r = i ? Q(i) : Q("categorical-1"), n = a / e * 100;
772
+ Lt.displayName = Tt.displayName;
773
+ const Ts = ({ value: a, max: e = 100, label: t, color: i }, s) => {
774
+ const r = i ? Z(i) : Z("categorical-1"), n = a / e * 100;
1182
775
  return R("div", {
1183
776
  className: "flex items-center space-x-2",
1184
777
  "aria-live": "polite",
@@ -1198,55 +791,55 @@ const Ls = ({ value: a, max: e = 100, label: t, color: i }, s) => {
1198
791
  children: t
1199
792
  })]
1200
793
  });
1201
- }, Ms = at(Ls), pr = I(
794
+ }, Ls = at(Ts), fr = F(
1202
795
  {
1203
796
  name: "AreaChart",
1204
797
  type: "info"
1205
798
  },
1206
- Ci
1207
- ), mr = I(
799
+ Ei
800
+ ), gr = F(
1208
801
  {
1209
802
  name: "BarChart",
1210
803
  type: "info"
1211
804
  },
1212
805
  yi
1213
- ), vr = I(
806
+ ), pr = F(
1214
807
  {
1215
808
  name: "CategoryBarChart",
1216
809
  type: "info"
1217
810
  },
1218
811
  bi
1219
- ), yr = I(
812
+ ), mr = F(
1220
813
  {
1221
814
  name: "LineChart",
1222
815
  type: "info"
1223
816
  },
1224
- wi
1225
- ), br = I(
817
+ xi
818
+ ), vr = F(
1226
819
  {
1227
820
  name: "PieChart",
1228
821
  type: "info"
1229
822
  },
1230
- xi
1231
- ), wr = I(
823
+ _i
824
+ ), yr = F(
1232
825
  {
1233
826
  name: "VerticalBarChart",
1234
827
  type: "info"
1235
828
  },
1236
- _i
1237
- ), xr = I(
829
+ wi
830
+ ), br = F(
1238
831
  {
1239
832
  name: "ProgressBarChart",
1240
833
  type: "info"
1241
834
  },
1242
- Ms
1243
- ), _r = I(
835
+ Ls
836
+ ), xr = F(
1244
837
  {
1245
838
  name: "ComboChart",
1246
839
  type: "info"
1247
840
  },
1248
- Ds
1249
- ), Cr = Ei, Er = ht, Nr = ["default", "outline", "neutral"], Rr = ht, Dr = ["sm", "md", "lg"], Sr = Ni, ke = ({ count: a, list: e }) => {
841
+ Rs
842
+ ), _r = Ci, wr = ht, Er = ["default", "outline", "neutral"], Cr = ht, Nr = ["sm", "md", "lg"], Rr = Ni, Se = ({ count: a, list: e }) => {
1250
843
  const [t, i] = M(!1), s = g(de, {
1251
844
  label: `+${a}`
1252
845
  });
@@ -1277,17 +870,17 @@ const Ls = ({ value: a, max: e = 100, label: t, color: i }, s) => {
1277
870
  })]
1278
871
  }) : s;
1279
872
  };
1280
- ke.displayName = "ChipCounter";
873
+ Se.displayName = "ChipCounter";
1281
874
  const Mt = ({ chips: a, max: e = 4, remainingCount: t, layout: i = "compact" }) => {
1282
875
  if (i === "fill")
1283
- return g(Di, {
876
+ return g(zi, {
1284
877
  items: a,
1285
878
  renderListItem: (h) => g(de, {
1286
879
  ...h
1287
880
  }),
1288
881
  renderDropdownItem: () => null,
1289
882
  forceShowingOverflowIndicator: t !== void 0,
1290
- renderOverflowIndicator: (h) => g(ke, {
883
+ renderOverflowIndicator: (h) => g(Se, {
1291
884
  count: (t ?? 0) + h,
1292
885
  list: t ? void 0 : a.slice(a.length - h)
1293
886
  }),
@@ -1299,14 +892,14 @@ const Mt = ({ chips: a, max: e = 4, remainingCount: t, layout: i = "compact" })
1299
892
  className: "flex items-center gap-2",
1300
893
  children: [s.map((h, c) => g(de, {
1301
894
  ...h
1302
- }, c)), o && g(ke, {
895
+ }, c)), o && g(Se, {
1303
896
  count: n,
1304
897
  list: t ? void 0 : r
1305
898
  })]
1306
899
  });
1307
900
  };
1308
901
  Mt.displayName = "F0ChipList";
1309
- const zr = pt("F0ChipList", Mt), kr = Si, Re = mt({
902
+ const zr = pt("F0ChipList", Mt), Dr = Di, Re = mt({
1310
903
  base: "text-base text-f1-foreground",
1311
904
  variants: {
1312
905
  variant: {
@@ -1347,7 +940,7 @@ const zr = pt("F0ChipList", Mt), kr = Si, Re = mt({
1347
940
  variant: "body",
1348
941
  align: "left"
1349
942
  }
1350
- }), Hs = {
943
+ }), Ms = {
1351
944
  "heading-large": "h1",
1352
945
  heading: "h2",
1353
946
  body: "p",
@@ -1366,10 +959,10 @@ const zr = pt("F0ChipList", Mt), kr = Si, Re = mt({
1366
959
  "positive-strong": "p",
1367
960
  "info-strong": "p",
1368
961
  code: "code"
1369
- }, Oe = j(({ content: a, variant: e, align: t, className: i, as: s, ellipsis: r, noEllipsisTooltip: n, markdown: o, ...h }, c) => {
1370
- const l = s ?? Hs[e ?? "body"];
962
+ }, Te = U(({ content: a, variant: e, align: t, className: i, as: s, ellipsis: r, noEllipsisTooltip: n, markdown: o, ...h }, c) => {
963
+ const l = s ?? Ms[e ?? "body"];
1371
964
  if (r !== void 0)
1372
- return g(zi, {
965
+ return g(Pi, {
1373
966
  ref: c,
1374
967
  lines: typeof r == "number" ? r : 1,
1375
968
  noTooltip: n,
@@ -1383,8 +976,8 @@ const zr = pt("F0ChipList", Mt), kr = Si, Re = mt({
1383
976
  children: a
1384
977
  });
1385
978
  if (o) {
1386
- const d = ki(a);
1387
- return qe(l, {
979
+ const d = Si(a);
980
+ return Ke(l, {
1388
981
  ...h,
1389
982
  className: L(Re({
1390
983
  variant: e,
@@ -1396,7 +989,7 @@ const zr = pt("F0ChipList", Mt), kr = Si, Re = mt({
1396
989
  }
1397
990
  });
1398
991
  }
1399
- return qe(l, {
992
+ return Ke(l, {
1400
993
  ...h,
1401
994
  className: L(Re({
1402
995
  variant: e,
@@ -1405,27 +998,27 @@ const zr = pt("F0ChipList", Mt), kr = Si, Re = mt({
1405
998
  ref: c
1406
999
  }, a);
1407
1000
  });
1408
- Oe.displayName = "Text";
1409
- const Bs = j((a, e) => g(Oe, {
1001
+ Te.displayName = "Text";
1002
+ const Hs = U((a, e) => g(Te, {
1410
1003
  ref: e,
1411
1004
  variant: "heading",
1412
1005
  ...a
1413
1006
  }));
1414
- Bs.displayName = "F0Heading";
1415
- const Is = j((a, e) => g(Oe, {
1007
+ Hs.displayName = "F0Heading";
1008
+ const Bs = U((a, e) => g(Te, {
1416
1009
  ref: e,
1417
1010
  markdown: a.markdown ?? !0,
1418
1011
  ...a
1419
1012
  }));
1420
- Is.displayName = "F0Text";
1013
+ Bs.displayName = "F0Text";
1421
1014
  const Fs = {
1422
1015
  xs: 1,
1423
1016
  sm: 2,
1424
1017
  md: 2,
1425
1018
  lg: 2
1426
- }, Gs = j(function({ widgets: e, children: t }, i) {
1427
- const s = Z(null);
1428
- _t(i, () => s.current);
1019
+ }, Is = U(function({ widgets: e, children: t }, i) {
1020
+ const s = Q(null);
1021
+ wt(i, () => s.current);
1429
1022
  const r = is.toArray(e).filter((n) => !!n).map((n, o) => g("div", {
1430
1023
  className: "h-full @5xl:h-auto [&>div]:h-full",
1431
1024
  children: n
@@ -1437,7 +1030,7 @@ const Fs = {
1437
1030
  className: "@container",
1438
1031
  children: [R("div", {
1439
1032
  className: "flex flex-col gap-6 px-5 pt-4 @md:pt-2 @5xl:hidden",
1440
- children: [g(Pi, {
1033
+ children: [g(ki, {
1441
1034
  columns: Fs,
1442
1035
  showArrows: !1,
1443
1036
  children: r
@@ -1459,7 +1052,7 @@ const Fs = {
1459
1052
  })]
1460
1053
  })
1461
1054
  });
1462
- }), Ws = j(function({ children: e, sideContent: t, mainColumnPosition: i = "left", sticky: s = !1 }, r) {
1055
+ }), Ws = U(function({ children: e, sideContent: t, mainColumnPosition: i = "left", sticky: s = !1 }, r) {
1463
1056
  return g("div", {
1464
1057
  ref: r,
1465
1058
  className: "h-full",
@@ -1468,31 +1061,31 @@ const Fs = {
1468
1061
  children: [g("main", {
1469
1062
  className: L("sm:min-h-xs order-2 h-fit border-0 px-4 py-5 sm:flex-1 sm:border-solid md:order-2 md:px-6", s ? "md:h-full md:max-h-full md:overflow-y-auto" : "min-h-full", i === "right" ? "sm:border-l sm:border-l-f1-border-secondary" : "sm:border-r sm:border-r-f1-border-secondary", "border-t border-solid border-t-f1-border-secondary sm:border-t-0"),
1470
1063
  children: e
1471
- }), g($s, {
1064
+ }), g(Gs, {
1472
1065
  sticky: s,
1473
1066
  className: L("order-1", i === "right" ? "md:order-1" : "md:order-3"),
1474
1067
  children: t
1475
1068
  })]
1476
1069
  })
1477
1070
  });
1478
- }), $s = ({ children: a, className: e }) => g("aside", {
1071
+ }), Gs = ({ children: a, className: e }) => g("aside", {
1479
1072
  className: L("min-w-30 py-5 pl-4 pr-4 sm:basis-1/4 sm:pb-6 md:max-w-80 md:pl-2", e),
1480
1073
  children: a
1481
- }), js = mt({
1074
+ }), $s = mt({
1482
1075
  base: "relative flex min-h-full w-full flex-1 flex-col gap-4 place-self-center overflow-y-auto px-6 py-5",
1483
1076
  variants: {
1484
1077
  variant: {
1485
1078
  narrow: "max-w-screen-lg"
1486
1079
  }
1487
1080
  }
1488
- }), Ht = z.forwardRef(({ children: a, variant: e, className: t, ...i }, s) => g(vt, {
1081
+ }), Ht = P.forwardRef(({ children: a, variant: e, className: t, ...i }, s) => g(vt, {
1489
1082
  layout: "standard",
1490
1083
  children: g("section", {
1491
1084
  ref: s,
1492
1085
  className: L("relative flex-1 overflow-auto", t),
1493
1086
  ...i,
1494
1087
  children: g("div", {
1495
- className: L(js({
1088
+ className: L($s({
1496
1089
  variant: e
1497
1090
  })),
1498
1091
  children: a
@@ -1500,18 +1093,18 @@ const Fs = {
1500
1093
  })
1501
1094
  }));
1502
1095
  Ht.displayName = "StandardLayout";
1503
- const Pr = I({
1096
+ const Pr = F({
1504
1097
  name: "StandardLayout",
1505
1098
  type: "layout"
1506
- }, Ht), Ar = I({
1099
+ }, Ht), Sr = F({
1507
1100
  name: "TwoColumnLayout",
1508
1101
  type: "layout"
1509
- }, Ws), Tr = I({
1102
+ }, Ws), kr = F({
1510
1103
  name: "HomeLayout",
1511
1104
  type: "layout"
1512
- }, Gs), Bt = xe(null);
1105
+ }, Is), Bt = _e(null);
1513
1106
  function Le() {
1514
- const a = Ct(Bt);
1107
+ const a = Et(Bt);
1515
1108
  if (!a)
1516
1109
  throw new Error(
1517
1110
  "useGridStackContext must be used within a GridStackProvider"
@@ -1522,15 +1115,15 @@ function Us({ children: a, initialOptions: e, onResizeStop: t, onChange: i }) {
1522
1115
  const [s, r] = M(null), [n, o] = M(() => {
1523
1116
  var v;
1524
1117
  const p = /* @__PURE__ */ new Map(), m = (b) => {
1525
- var _, E;
1526
- b.id && ((_ = b.renderFn) != null && _.call(b)) && p.set(b.id, b), (E = b.subGridOpts) != null && E.children && b.subGridOpts.children.forEach((C) => {
1527
- m(C);
1118
+ var w, C;
1119
+ b.id && ((w = b.renderFn) != null && w.call(b)) && p.set(b.id, b), (C = b.subGridOpts) != null && C.children && b.subGridOpts.children.forEach((E) => {
1120
+ m(E);
1528
1121
  });
1529
1122
  };
1530
1123
  return (v = e.children) == null || v.forEach((b) => {
1531
1124
  m(b);
1532
1125
  }), p;
1533
- }), h = q(() => {
1126
+ }), h = K(() => {
1534
1127
  if (!s)
1535
1128
  return;
1536
1129
  const p = s.save();
@@ -1554,26 +1147,26 @@ function Us({ children: a, initialOptions: e, onResizeStop: t, onChange: i }) {
1554
1147
  }, [s, t, h]), ce(() => {
1555
1148
  s && h();
1556
1149
  }, [s]);
1557
- const c = q((p) => {
1150
+ const c = K((p) => {
1558
1151
  s == null || s.addWidget(p), o((m) => {
1559
1152
  const v = new Map(m);
1560
1153
  return v.set(p.id, p), v;
1561
1154
  });
1562
- }, [s]), l = q((p) => {
1155
+ }, [s]), l = K((p) => {
1563
1156
  s == null || s.addWidget(p), o((m) => {
1564
- var b, _;
1157
+ var b, w;
1565
1158
  const v = new Map(m);
1566
- return (_ = (b = p.subGridOpts) == null ? void 0 : b.children) == null || _.forEach((E) => {
1567
- v.set(E.id, E);
1159
+ return (w = (b = p.subGridOpts) == null ? void 0 : b.children) == null || w.forEach((C) => {
1160
+ v.set(C.id, C);
1568
1161
  }), v;
1569
1162
  });
1570
- }, [s]), d = q((p) => {
1163
+ }, [s]), d = K((p) => {
1571
1164
  const m = document.body.querySelector(`[gs-id="${p}"]`);
1572
1165
  m && (s == null || s.removeWidget(m)), o((v) => {
1573
1166
  const b = new Map(v);
1574
1167
  return b.delete(p), b;
1575
1168
  });
1576
- }, [s]), f = q(() => {
1169
+ }, [s]), f = K(() => {
1577
1170
  s == null || s.removeAll(), o(/* @__PURE__ */ new Map());
1578
1171
  }, [s]);
1579
1172
  return g(Bt.Provider, {
@@ -1596,19 +1189,19 @@ function Us({ children: a, initialOptions: e, onResizeStop: t, onChange: i }) {
1596
1189
  children: a
1597
1190
  });
1598
1191
  }
1599
- const It = xe(null);
1600
- function qs() {
1601
- const a = Ct(It);
1192
+ const Ft = _e(null);
1193
+ function js() {
1194
+ const a = Et(Ft);
1602
1195
  if (!a)
1603
1196
  throw new Error(
1604
1197
  "useGridStackRenderContext must be used within a GridStackProvider"
1605
1198
  );
1606
1199
  return a;
1607
1200
  }
1608
- const Ks = xe(null);
1201
+ const Ks = _e(null);
1609
1202
  function Vs() {
1610
- const { _rawWidgetMetaMap: a } = Le(), { getWidgetContainer: e } = qs();
1611
- return g(we, {
1203
+ const { _rawWidgetMetaMap: a } = Le(), { getWidgetContainer: e } = js();
1204
+ return g(xe, {
1612
1205
  children: Array.from(a.value.entries()).map(([t, i]) => {
1613
1206
  var r;
1614
1207
  const s = e(t);
@@ -1623,7 +1216,7 @@ function Vs() {
1623
1216
  })
1624
1217
  });
1625
1218
  }
1626
- function Ys(a, e, t, i, s) {
1219
+ function qs(a, e, t, i, s) {
1627
1220
  const r = (...n) => (console.warn("gridstack.js: Function `" + t + "` is deprecated in " + s + " and has been replaced with `" + i + "`. It will be **removed** in a future release"), e.apply(a, n));
1628
1221
  return r.prototype = e.prototype, r;
1629
1222
  }
@@ -2840,7 +2433,7 @@ class $ {
2840
2433
  }
2841
2434
  }
2842
2435
  $._idSeq = 0;
2843
- const T = {
2436
+ const A = {
2844
2437
  alwaysShowResizeHandle: "mobile",
2845
2438
  animate: !0,
2846
2439
  auto: !0,
@@ -2869,49 +2462,49 @@ const T = {
2869
2462
  // staticGrid: false,
2870
2463
  //removable
2871
2464
  };
2872
- class w {
2465
+ class x {
2873
2466
  }
2874
2467
  const B = typeof window < "u" && typeof document < "u" && ("ontouchstart" in document || "ontouchstart" in window || window.DocumentTouch && document instanceof window.DocumentTouch || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0);
2875
- class G {
2468
+ class W {
2876
2469
  }
2877
2470
  function pe(a, e) {
2878
2471
  a.touches.length > 1 || (a.cancelable && a.preventDefault(), u.simulateMouseEvent(a.changedTouches[0], e));
2879
2472
  }
2880
- function Ft(a, e) {
2473
+ function It(a, e) {
2881
2474
  a.cancelable && a.preventDefault(), u.simulateMouseEvent(a, e);
2882
2475
  }
2883
2476
  function me(a) {
2884
- G.touchHandled || (G.touchHandled = !0, pe(a, "mousedown"));
2477
+ W.touchHandled || (W.touchHandled = !0, pe(a, "mousedown"));
2885
2478
  }
2886
2479
  function ve(a) {
2887
- G.touchHandled && pe(a, "mousemove");
2480
+ W.touchHandled && pe(a, "mousemove");
2888
2481
  }
2889
2482
  function ye(a) {
2890
- if (!G.touchHandled)
2483
+ if (!W.touchHandled)
2891
2484
  return;
2892
- G.pointerLeaveTimeout && (window.clearTimeout(G.pointerLeaveTimeout), delete G.pointerLeaveTimeout);
2893
- const e = !!w.dragElement;
2894
- pe(a, "mouseup"), e || pe(a, "click"), G.touchHandled = !1;
2485
+ W.pointerLeaveTimeout && (window.clearTimeout(W.pointerLeaveTimeout), delete W.pointerLeaveTimeout);
2486
+ const e = !!x.dragElement;
2487
+ pe(a, "mouseup"), e || pe(a, "click"), W.touchHandled = !1;
2895
2488
  }
2896
2489
  function be(a) {
2897
2490
  a.pointerType !== "mouse" && a.target.releasePointerCapture(a.pointerId);
2898
2491
  }
2899
- function Qe(a) {
2900
- w.dragElement && a.pointerType !== "mouse" && Ft(a, "mouseenter");
2901
- }
2902
2492
  function Ze(a) {
2903
- w.dragElement && a.pointerType !== "mouse" && (G.pointerLeaveTimeout = window.setTimeout(() => {
2904
- delete G.pointerLeaveTimeout, Ft(a, "mouseleave");
2493
+ x.dragElement && a.pointerType !== "mouse" && It(a, "mouseenter");
2494
+ }
2495
+ function Qe(a) {
2496
+ x.dragElement && a.pointerType !== "mouse" && (W.pointerLeaveTimeout = window.setTimeout(() => {
2497
+ delete W.pointerLeaveTimeout, It(a, "mouseleave");
2905
2498
  }, 10));
2906
2499
  }
2907
- class Ce {
2500
+ class Ee {
2908
2501
  constructor(e, t, i) {
2909
2502
  this.host = e, this.dir = t, this.option = i, this.moving = !1, this._mouseDown = this._mouseDown.bind(this), this._mouseMove = this._mouseMove.bind(this), this._mouseUp = this._mouseUp.bind(this), this._keyEvent = this._keyEvent.bind(this), this._init();
2910
2503
  }
2911
2504
  /** @internal */
2912
2505
  _init() {
2913
2506
  const e = this.el = document.createElement("div");
2914
- return e.classList.add("ui-resizable-handle"), e.classList.add(`${Ce.prefix}${this.dir}`), e.style.zIndex = "100", e.style.userSelect = "none", this.host.appendChild(this.el), this.el.addEventListener("mousedown", this._mouseDown), B && (this.el.addEventListener("touchstart", me), this.el.addEventListener("pointerdown", be)), this;
2507
+ return e.classList.add("ui-resizable-handle"), e.classList.add(`${Ee.prefix}${this.dir}`), e.style.zIndex = "100", e.style.userSelect = "none", this.host.appendChild(this.el), this.el.addEventListener("mousedown", this._mouseDown), B && (this.el.addEventListener("touchstart", me), this.el.addEventListener("pointerdown", be)), this;
2915
2508
  }
2916
2509
  /** call this when resize handle needs to be removed and cleaned up */
2917
2510
  destroy() {
@@ -2940,7 +2533,7 @@ class Ce {
2940
2533
  return this.option[e] && this.option[e](t), this;
2941
2534
  }
2942
2535
  }
2943
- Ce.prefix = "ui-resizable-";
2536
+ Ee.prefix = "ui-resizable-";
2944
2537
  class Me {
2945
2538
  constructor() {
2946
2539
  this._eventRegister = {};
@@ -3058,21 +2651,21 @@ class ie extends Me {
3058
2651
  }
3059
2652
  /** @internal turns auto hide on/off */
3060
2653
  _setupAutoHide(e) {
3061
- return e ? (this.el.classList.add("ui-resizable-autohide"), this.el.addEventListener("mouseover", this._mouseOver), this.el.addEventListener("mouseout", this._mouseOut)) : (this.el.classList.remove("ui-resizable-autohide"), this.el.removeEventListener("mouseover", this._mouseOver), this.el.removeEventListener("mouseout", this._mouseOut), w.overResizeElement === this && delete w.overResizeElement), this;
2654
+ return e ? (this.el.classList.add("ui-resizable-autohide"), this.el.addEventListener("mouseover", this._mouseOver), this.el.addEventListener("mouseout", this._mouseOut)) : (this.el.classList.remove("ui-resizable-autohide"), this.el.removeEventListener("mouseover", this._mouseOver), this.el.removeEventListener("mouseout", this._mouseOut), x.overResizeElement === this && delete x.overResizeElement), this;
3062
2655
  }
3063
2656
  /** @internal */
3064
2657
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
3065
2658
  _mouseOver(e) {
3066
- w.overResizeElement || w.dragElement || (w.overResizeElement = this, this.el.classList.remove("ui-resizable-autohide"));
2659
+ x.overResizeElement || x.dragElement || (x.overResizeElement = this, this.el.classList.remove("ui-resizable-autohide"));
3067
2660
  }
3068
2661
  /** @internal */
3069
2662
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
3070
2663
  _mouseOut(e) {
3071
- w.overResizeElement === this && (delete w.overResizeElement, this.el.classList.add("ui-resizable-autohide"));
2664
+ x.overResizeElement === this && (delete x.overResizeElement, this.el.classList.add("ui-resizable-autohide"));
3072
2665
  }
3073
2666
  /** @internal */
3074
2667
  _setupHandlers() {
3075
- return this.handlers = this.option.handles.split(",").map((e) => e.trim()).map((e) => new Ce(this.el, e, {
2668
+ return this.handlers = this.option.handles.split(",").map((e) => e.trim()).map((e) => new Ee(this.el, e, {
3076
2669
  start: (t) => {
3077
2670
  this._resizeStart(t);
3078
2671
  },
@@ -3189,8 +2782,8 @@ class se extends Me {
3189
2782
  }
3190
2783
  /** @internal call when mouse goes down before a dragstart happens */
3191
2784
  _mouseDown(e) {
3192
- if (!w.mouseHandled)
3193
- return e.button !== 0 || !this.dragEls.find((t) => t === e.target) && e.target.closest(Xs) || this.option.cancel && e.target.closest(this.option.cancel) || (this.mouseDownEvent = e, delete this.dragging, delete w.dragElement, delete w.dropElement, document.addEventListener("mousemove", this._mouseMove, { capture: !0, passive: !0 }), document.addEventListener("mouseup", this._mouseUp, !0), B && (e.currentTarget.addEventListener("touchmove", ve), e.currentTarget.addEventListener("touchend", ye)), e.preventDefault(), document.activeElement && document.activeElement.blur(), w.mouseHandled = !0), !0;
2785
+ if (!x.mouseHandled)
2786
+ return e.button !== 0 || !this.dragEls.find((t) => t === e.target) && e.target.closest(Xs) || this.option.cancel && e.target.closest(this.option.cancel) || (this.mouseDownEvent = e, delete this.dragging, delete x.dragElement, delete x.dropElement, document.addEventListener("mousemove", this._mouseMove, { capture: !0, passive: !0 }), document.addEventListener("mouseup", this._mouseUp, !0), B && (e.currentTarget.addEventListener("touchmove", ve), e.currentTarget.addEventListener("touchend", ye)), e.preventDefault(), document.activeElement && document.activeElement.blur(), x.mouseHandled = !0), !0;
3194
2787
  }
3195
2788
  /** @internal method to call actual drag event */
3196
2789
  _callDrag(e) {
@@ -3204,15 +2797,15 @@ class se extends Me {
3204
2797
  var i;
3205
2798
  const t = this.mouseDownEvent;
3206
2799
  if (this.lastDrag = e, this.dragging)
3207
- if (this._dragFollow(e), w.pauseDrag) {
3208
- const s = Number.isInteger(w.pauseDrag) ? w.pauseDrag : 100;
2800
+ if (this._dragFollow(e), x.pauseDrag) {
2801
+ const s = Number.isInteger(x.pauseDrag) ? x.pauseDrag : 100;
3209
2802
  this.dragTimeout && window.clearTimeout(this.dragTimeout), this.dragTimeout = window.setTimeout(() => this._callDrag(e), s);
3210
2803
  } else
3211
2804
  this._callDrag(e);
3212
2805
  else if (Math.abs(e.x - t.x) + Math.abs(e.y - t.y) > 3) {
3213
- this.dragging = !0, w.dragElement = this;
2806
+ this.dragging = !0, x.dragElement = this;
3214
2807
  const s = (i = this.el.gridstackNode) == null ? void 0 : i.grid;
3215
- s ? w.dropElement = s.el.ddElement.ddDroppable : delete w.dropElement, this.helper = this._createHelper(), this._setupHelperContainmentStyle(), this.dragTransform = u.getValuesFromTransformedElement(this.helperContainment), this.dragOffset = this._getDragOffset(e, this.el, this.helperContainment), this._setupHelperStyle(e);
2808
+ s ? x.dropElement = s.el.ddElement.ddDroppable : delete x.dropElement, this.helper = this._createHelper(), this._setupHelperContainmentStyle(), this.dragTransform = u.getValuesFromTransformedElement(this.helperContainment), this.dragOffset = this._getDragOffset(e, this.el, this.helperContainment), this._setupHelperStyle(e);
3216
2809
  const r = u.initEvent(e, { target: this.el, type: "dragstart" });
3217
2810
  this.option.start && this.option.start(r, this.ui()), this.triggerEvent("dragstart", r), document.addEventListener("keydown", this._keyEvent);
3218
2811
  }
@@ -3222,16 +2815,16 @@ class se extends Me {
3222
2815
  _mouseUp(e) {
3223
2816
  var t, i;
3224
2817
  if (document.removeEventListener("mousemove", this._mouseMove, !0), document.removeEventListener("mouseup", this._mouseUp, !0), B && e.currentTarget && (e.currentTarget.removeEventListener("touchmove", ve, !0), e.currentTarget.removeEventListener("touchend", ye, !0)), this.dragging) {
3225
- delete this.dragging, (t = this.el.gridstackNode) == null || delete t._origRotate, document.removeEventListener("keydown", this._keyEvent), ((i = w.dropElement) == null ? void 0 : i.el) === this.el.parentElement && delete w.dropElement, this.helperContainment.style.position = this.parentOriginStylePosition || null, this.helper !== this.el && this.helper.remove(), this._removeHelperStyle();
2818
+ delete this.dragging, (t = this.el.gridstackNode) == null || delete t._origRotate, document.removeEventListener("keydown", this._keyEvent), ((i = x.dropElement) == null ? void 0 : i.el) === this.el.parentElement && delete x.dropElement, this.helperContainment.style.position = this.parentOriginStylePosition || null, this.helper !== this.el && this.helper.remove(), this._removeHelperStyle();
3226
2819
  const s = u.initEvent(e, { target: this.el, type: "dragstop" });
3227
- this.option.stop && this.option.stop(s), this.triggerEvent("dragstop", s), w.dropElement && w.dropElement.drop(e);
2820
+ this.option.stop && this.option.stop(s), this.triggerEvent("dragstop", s), x.dropElement && x.dropElement.drop(e);
3228
2821
  }
3229
- delete this.helper, delete this.mouseDownEvent, delete w.dragElement, delete w.dropElement, delete w.mouseHandled, e.preventDefault();
2822
+ delete this.helper, delete this.mouseDownEvent, delete x.dragElement, delete x.dropElement, delete x.mouseHandled, e.preventDefault();
3230
2823
  }
3231
2824
  /** @internal call when keys are being pressed - use Esc to cancel, R to rotate */
3232
2825
  _keyEvent(e) {
3233
2826
  var s, r;
3234
- const t = this.el.gridstackNode, i = (t == null ? void 0 : t.grid) || ((r = (s = w.dropElement) == null ? void 0 : s.el) == null ? void 0 : r.gridstack);
2827
+ const t = this.el.gridstackNode, i = (t == null ? void 0 : t.grid) || ((r = (s = x.dropElement) == null ? void 0 : s.el) == null ? void 0 : r.gridstack);
3235
2828
  if (e.key === "Escape")
3236
2829
  t && t._origRotate && (t._orig = t._origRotate, delete t._origRotate), i == null || i.cancelDrag(), this._mouseUp(this.mouseDownEvent);
3237
2830
  else if (t && i && (e.key === "r" || e.key === "R")) {
@@ -3304,7 +2897,7 @@ class se extends Me {
3304
2897
  }
3305
2898
  }
3306
2899
  se.originStyleProp = ["width", "height", "transform", "transform-origin", "transition", "pointerEvents", "position", "left", "top", "minWidth", "willChange"];
3307
- class Js extends Me {
2900
+ class Ys extends Me {
3308
2901
  constructor(e, t = {}) {
3309
2902
  super(), this.el = e, this.option = t, this._mouseEnter = this._mouseEnter.bind(this), this._mouseLeave = this._mouseLeave.bind(this), this.enable(), this._setupAccept();
3310
2903
  }
@@ -3315,10 +2908,10 @@ class Js extends Me {
3315
2908
  super.off(e);
3316
2909
  }
3317
2910
  enable() {
3318
- this.disabled !== !1 && (super.enable(), this.el.classList.add("ui-droppable"), this.el.classList.remove("ui-droppable-disabled"), this.el.addEventListener("mouseenter", this._mouseEnter), this.el.addEventListener("mouseleave", this._mouseLeave), B && (this.el.addEventListener("pointerenter", Qe), this.el.addEventListener("pointerleave", Ze)));
2911
+ this.disabled !== !1 && (super.enable(), this.el.classList.add("ui-droppable"), this.el.classList.remove("ui-droppable-disabled"), this.el.addEventListener("mouseenter", this._mouseEnter), this.el.addEventListener("mouseleave", this._mouseLeave), B && (this.el.addEventListener("pointerenter", Ze), this.el.addEventListener("pointerleave", Qe)));
3319
2912
  }
3320
2913
  disable(e = !1) {
3321
- this.disabled !== !0 && (super.disable(), this.el.classList.remove("ui-droppable"), e || this.el.classList.add("ui-droppable-disabled"), this.el.removeEventListener("mouseenter", this._mouseEnter), this.el.removeEventListener("mouseleave", this._mouseLeave), B && (this.el.removeEventListener("pointerenter", Qe), this.el.removeEventListener("pointerleave", Ze)));
2914
+ this.disabled !== !0 && (super.disable(), this.el.classList.remove("ui-droppable"), e || this.el.classList.add("ui-droppable-disabled"), this.el.removeEventListener("mouseenter", this._mouseEnter), this.el.removeEventListener("mouseleave", this._mouseLeave), B && (this.el.removeEventListener("pointerenter", Ze), this.el.removeEventListener("pointerleave", Qe)));
3322
2915
  }
3323
2916
  destroy() {
3324
2917
  this.disable(!0), this.el.classList.remove("ui-droppable"), this.el.classList.remove("ui-droppable-disabled"), super.destroy();
@@ -3328,20 +2921,20 @@ class Js extends Me {
3328
2921
  }
3329
2922
  /** @internal called when the cursor enters our area - prepare for a possible drop and track leaving */
3330
2923
  _mouseEnter(e) {
3331
- if (!w.dragElement || !this._canDrop(w.dragElement.el))
2924
+ if (!x.dragElement || !this._canDrop(x.dragElement.el))
3332
2925
  return;
3333
- e.preventDefault(), e.stopPropagation(), w.dropElement && w.dropElement !== this && w.dropElement._mouseLeave(e, !0), w.dropElement = this;
2926
+ e.preventDefault(), e.stopPropagation(), x.dropElement && x.dropElement !== this && x.dropElement._mouseLeave(e, !0), x.dropElement = this;
3334
2927
  const t = u.initEvent(e, { target: this.el, type: "dropover" });
3335
- this.option.over && this.option.over(t, this._ui(w.dragElement)), this.triggerEvent("dropover", t), this.el.classList.add("ui-droppable-over");
2928
+ this.option.over && this.option.over(t, this._ui(x.dragElement)), this.triggerEvent("dropover", t), this.el.classList.add("ui-droppable-over");
3336
2929
  }
3337
2930
  /** @internal called when the item is leaving our area, stop tracking if we had moving item */
3338
2931
  _mouseLeave(e, t = !1) {
3339
2932
  var s;
3340
- if (!w.dragElement || w.dropElement !== this)
2933
+ if (!x.dragElement || x.dropElement !== this)
3341
2934
  return;
3342
2935
  e.preventDefault(), e.stopPropagation();
3343
2936
  const i = u.initEvent(e, { target: this.el, type: "dropout" });
3344
- if (this.option.out && this.option.out(i, this._ui(w.dragElement)), this.triggerEvent("dropout", i), w.dropElement === this && (delete w.dropElement, !t)) {
2937
+ if (this.option.out && this.option.out(i, this._ui(x.dragElement)), this.triggerEvent("dropout", i), x.dropElement === this && (delete x.dropElement, !t)) {
3345
2938
  let r, n = this.el.parentElement;
3346
2939
  for (; !r && n; )
3347
2940
  r = (s = n.ddElement) == null ? void 0 : s.ddDroppable, n = n.parentElement;
@@ -3352,7 +2945,7 @@ class Js extends Me {
3352
2945
  drop(e) {
3353
2946
  e.preventDefault();
3354
2947
  const t = u.initEvent(e, { target: this.el, type: "drop" });
3355
- this.option.drop && this.option.drop(t, this._ui(w.dragElement)), this.triggerEvent("drop", t);
2948
+ this.option.drop && this.option.drop(t, this._ui(x.dragElement)), this.triggerEvent("drop", t);
3356
2949
  }
3357
2950
  /** @internal true if element matches the string/method accept option */
3358
2951
  _canDrop(e) {
@@ -3396,13 +2989,13 @@ class He {
3396
2989
  return this.ddResizable && (this.ddResizable.destroy(), delete this.ddResizable), this;
3397
2990
  }
3398
2991
  setupDroppable(e) {
3399
- return this.ddDroppable ? this.ddDroppable.updateOption(e) : this.ddDroppable = new Js(this.el, e), this;
2992
+ return this.ddDroppable ? this.ddDroppable.updateOption(e) : this.ddDroppable = new Ys(this.el, e), this;
3400
2993
  }
3401
2994
  cleanDroppable() {
3402
2995
  return this.ddDroppable && (this.ddDroppable.destroy(), delete this.ddDroppable), this;
3403
2996
  }
3404
2997
  }
3405
- class Qs {
2998
+ class Js {
3406
2999
  /**
3407
3000
  * Enable/disable/configure resizing for grid elements.
3408
3001
  *
@@ -3498,7 +3091,7 @@ class Qs {
3498
3091
  }
3499
3092
  on(e, t, i) {
3500
3093
  return this._getDDElements(e).forEach((s) => s.on(t, (r) => {
3501
- i(r, w.dragElement ? w.dragElement.el : r.target, w.dragElement ? w.dragElement.helper : null);
3094
+ i(r, x.dragElement ? x.dragElement.el : r.target, x.dragElement ? x.dragElement.helper : null);
3502
3095
  })), this;
3503
3096
  }
3504
3097
  off(e, t) {
@@ -3517,7 +3110,7 @@ class Qs {
3517
3110
  * Copyright (c) 2021-2025 Alain Dumesny
3518
3111
  * see root license https://github.com/gridstack/gridstack.js/tree/master/LICENSE
3519
3112
  */
3520
- const k = new Qs();
3113
+ const S = new Js();
3521
3114
  class y {
3522
3115
  /**
3523
3116
  * initializing the HTML element, or selector string, into a grid will return the grid. Calling it again will
@@ -3585,7 +3178,7 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
3585
3178
  */
3586
3179
  get placeholder() {
3587
3180
  if (!this._placeholder) {
3588
- this._placeholder = u.createDiv([this.opts.placeholderClass, T.itemClass, this.opts.itemClass]);
3181
+ this._placeholder = u.createDiv([this.opts.placeholderClass, A.itemClass, this.opts.itemClass]);
3589
3182
  const e = u.createDiv(["placeholder-content"], this._placeholder);
3590
3183
  this.opts.placeholderText && (e.textContent = this.opts.placeholderText);
3591
3184
  }
@@ -3607,26 +3200,26 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
3607
3200
  !s.columnWidth && !(l != null && l.length) ? delete t.columnOpts : (s.columnMax = s.columnMax || 12, (l == null ? void 0 : l.length) > 1 && l.sort((d, f) => (f.w || 0) - (d.w || 0)));
3608
3201
  }
3609
3202
  const r = {
3610
- ...u.cloneDeep(T),
3611
- column: u.toNumber(e.getAttribute("gs-column")) || T.column,
3612
- minRow: i || u.toNumber(e.getAttribute("gs-min-row")) || T.minRow,
3613
- maxRow: i || u.toNumber(e.getAttribute("gs-max-row")) || T.maxRow,
3614
- staticGrid: u.toBool(e.getAttribute("gs-static")) || T.staticGrid,
3203
+ ...u.cloneDeep(A),
3204
+ column: u.toNumber(e.getAttribute("gs-column")) || A.column,
3205
+ minRow: i || u.toNumber(e.getAttribute("gs-min-row")) || A.minRow,
3206
+ maxRow: i || u.toNumber(e.getAttribute("gs-max-row")) || A.maxRow,
3207
+ staticGrid: u.toBool(e.getAttribute("gs-static")) || A.staticGrid,
3615
3208
  sizeToContent: u.toBool(e.getAttribute("gs-size-to-content")) || void 0,
3616
3209
  draggable: {
3617
- handle: (t.handleClass ? "." + t.handleClass : t.handle ? t.handle : "") || T.draggable.handle
3210
+ handle: (t.handleClass ? "." + t.handleClass : t.handle ? t.handle : "") || A.draggable.handle
3618
3211
  },
3619
3212
  removableOptions: {
3620
- accept: t.itemClass || T.removableOptions.accept,
3621
- decline: T.removableOptions.decline
3213
+ accept: t.itemClass || A.removableOptions.accept,
3214
+ decline: A.removableOptions.decline
3622
3215
  }
3623
3216
  };
3624
3217
  e.getAttribute("gs-animate") && (r.animate = u.toBool(e.getAttribute("gs-animate"))), t = u.defaults(t, r), this._initMargin(), this.checkDynamicColumn(), this._updateColumnVar(t), t.rtl === "auto" && (t.rtl = e.style.direction === "rtl"), t.rtl && this.el.classList.add("grid-stack-rtl");
3625
- const n = this.el.closest("." + T.itemClass), o = n == null ? void 0 : n.gridstackNode;
3218
+ const n = this.el.closest("." + A.itemClass), o = n == null ? void 0 : n.gridstackNode;
3626
3219
  if (o && (o.subGrid = this, this.parentGridNode = o, this.el.classList.add("grid-stack-nested"), o.el.classList.add("grid-stack-sub-grid")), this._isAutoCellHeight = t.cellHeight === "auto", this._isAutoCellHeight || t.cellHeight === "initial")
3627
3220
  this.cellHeight(void 0);
3628
3221
  else {
3629
- typeof t.cellHeight == "number" && t.cellHeightUnit && t.cellHeightUnit !== T.cellHeightUnit && (t.cellHeight = t.cellHeight + t.cellHeightUnit, delete t.cellHeightUnit);
3222
+ typeof t.cellHeight == "number" && t.cellHeightUnit && t.cellHeightUnit !== A.cellHeightUnit && (t.cellHeight = t.cellHeight + t.cellHeightUnit, delete t.cellHeightUnit);
3630
3223
  const l = t.cellHeight;
3631
3224
  delete t.cellHeight, this.cellHeight(l);
3632
3225
  }
@@ -3646,7 +3239,7 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
3646
3239
  const l = t.children;
3647
3240
  delete t.children, l.length && this.load(l);
3648
3241
  }
3649
- this.setAnimation(), t.subGridDynamic && !w.pauseDrag && (w.pauseDrag = !0), ((c = t.draggable) == null ? void 0 : c.pause) !== void 0 && (w.pauseDrag = t.draggable.pause), this._setupRemoveDrop(), this._setupAcceptWidget(), this._updateResizeEvent();
3242
+ this.setAnimation(), t.subGridDynamic && !x.pauseDrag && (x.pauseDrag = !0), ((c = t.draggable) == null ? void 0 : c.pause) !== void 0 && (x.pauseDrag = t.draggable.pause), this._setupRemoveDrop(), this._setupAcceptWidget(), this._updateResizeEvent();
3650
3243
  }
3651
3244
  _updateColumnVar(e = this.opts) {
3652
3245
  this.el.classList.add("gs-" + e.column), typeof e.column == "number" && this.el.style.setProperty("--gs-column-width", `${100 / e.column}%`);
@@ -3733,8 +3326,8 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
3733
3326
  t.column === "auto" && (h = !0, t.column = Math.max(r.w || 1, (i == null ? void 0 : i.w) || 1), delete t.columnOpts);
3734
3327
  let c = r.el.querySelector(".grid-stack-item-content"), l, d;
3735
3328
  if (s && (this._removeDD(r.el), d = { ...r, x: 0, y: 0 }, u.removeInternalForSave(d), delete d.subGridOpts, r.content && (d.content = r.content, delete r.content), y.addRemoveCB ? l = y.addRemoveCB(this.el, d, !0, !1) : (l = u.createDiv(["grid-stack-item"]), l.appendChild(c), c = u.createDiv(["grid-stack-item-content"], r.el)), this.prepareDragDrop(r.el)), i) {
3736
- const b = h ? t.column : r.w, _ = r.h + i.h, E = r.el.style;
3737
- E.transition = "none", this.update(r.el, { w: b, h: _ }), setTimeout(() => E.transition = null);
3329
+ const b = h ? t.column : r.w, w = r.h + i.h, C = r.el.style;
3330
+ C.transition = "none", this.update(r.el, { w: b, h: w }), setTimeout(() => C.transition = null);
3738
3331
  }
3739
3332
  const f = r.subGrid = y.addGrid(c, t);
3740
3333
  return i != null && i._moving && (f._isTemp = !0), h && (f._autoColumn = !0), s && f.makeWidget(l, d), i && (i._moving ? window.setTimeout(() => u.simulateMouseEvent(i._event, "mouseenter", f.el), 0) : f.makeWidget(r.el, r)), this.resizeToContentCheck(!1, r), f;
@@ -3779,7 +3372,7 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
3779
3372
  const n = u.cloneDeep(this.opts);
3780
3373
  n.marginBottom === n.marginTop && n.marginRight === n.marginLeft && n.marginTop === n.marginRight && (n.margin = n.marginTop, delete n.marginTop, delete n.marginRight, delete n.marginBottom, delete n.marginLeft), n.rtl === (this.el.style.direction === "rtl") && (n.rtl = "auto"), this._isAutoCellHeight && (n.cellHeight = "auto"), this._autoColumn && (n.column = "auto");
3781
3374
  const o = n._alwaysShowResizeHandle;
3782
- return delete n._alwaysShowResizeHandle, o !== void 0 ? n.alwaysShowResizeHandle = o : delete n.alwaysShowResizeHandle, u.removeInternalAndSame(n, T), n.children = r, n;
3375
+ return delete n._alwaysShowResizeHandle, o !== void 0 ? n.alwaysShowResizeHandle = o : delete n.alwaysShowResizeHandle, u.removeInternalAndSame(n, A), n.children = r, n;
3783
3376
  }
3784
3377
  return r;
3785
3378
  }
@@ -4528,7 +4121,7 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
4528
4121
  }
4529
4122
  /** @internal */
4530
4123
  _prepareElement(e, t = !1, i) {
4531
- i = i || this._readAttr(e), e.gridstackNode = i, i.el = e, i.grid = this, i = this.engine.addNode(i, t), this._writeAttr(e, i), e.classList.add(T.itemClass, this.opts.itemClass);
4124
+ i = i || this._readAttr(e), e.gridstackNode = i, i.el = e, i.grid = this, i = this.engine.addNode(i, t), this._writeAttr(e, i), e.classList.add(A.itemClass, this.opts.itemClass);
4532
4125
  const s = u.shouldSizeToContent(i);
4533
4126
  return s ? e.classList.add("size-to-content") : e.classList.remove("size-to-content"), s && this.resizeToContentCheck(!1, i), u.lazyLoad(i) || this.prepareDragDrop(i.el), this;
4534
4127
  }
@@ -4647,7 +4240,7 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
4647
4240
  * // Access drag & drop functionality
4648
4241
  */
4649
4242
  static getDD() {
4650
- return k;
4243
+ return S;
4651
4244
  }
4652
4245
  /**
4653
4246
  * call to setup dragging in from the outside (say toolbar), by specifying the class selection and options.
@@ -4659,8 +4252,8 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
4659
4252
  * @param root optional root which defaults to document (for shadow dom pass the parent HTMLDocument)
4660
4253
  */
4661
4254
  static setupDragIn(e, t, i, s = document) {
4662
- (t == null ? void 0 : t.pause) !== void 0 && (w.pauseDrag = t.pause), t = { appendTo: "body", helper: "clone", ...t || {} }, (typeof e == "string" ? u.getElements(e, s) : e).forEach((n, o) => {
4663
- k.isDraggable(n) || k.dragIn(n, t), i != null && i[o] && (n.gridstackNode = i[o]);
4255
+ (t == null ? void 0 : t.pause) !== void 0 && (x.pauseDrag = t.pause), t = { appendTo: "body", helper: "clone", ...t || {} }, (typeof e == "string" ? u.getElements(e, s) : e).forEach((n, o) => {
4256
+ S.isDraggable(n) || S.dragIn(n, t), i != null && i[o] && (n.gridstackNode = i[o]);
4664
4257
  });
4665
4258
  }
4666
4259
  /**
@@ -4812,12 +4405,12 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
4812
4405
  }
4813
4406
  /** @internal removes any drag&drop present (called during destroy) */
4814
4407
  _removeDD(e) {
4815
- return k.draggable(e, "destroy").resizable(e, "destroy"), e.gridstackNode && delete e.gridstackNode._initDD, delete e.ddElement, this;
4408
+ return S.draggable(e, "destroy").resizable(e, "destroy"), e.gridstackNode && delete e.gridstackNode._initDD, delete e.ddElement, this;
4816
4409
  }
4817
4410
  /** @internal called to add drag over to support widgets being added externally */
4818
4411
  _setupAcceptWidget() {
4819
4412
  if (this.opts.staticGrid || !this.opts.acceptWidgets && !this.opts.removable)
4820
- return k.droppable(this.el, "destroy"), this;
4413
+ return S.droppable(this.el, "destroy"), this;
4821
4414
  let e, t;
4822
4415
  const i = (s, r, n) => {
4823
4416
  var f;
@@ -4842,7 +4435,7 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
4842
4435
  if (o._temporaryRemoved) {
4843
4436
  if (o.x = Math.max(0, Math.round(c / t)), o.y = Math.max(0, Math.round(h / e)), delete o.autoPosition, this.engine.nodeBoundFix(o), !this.engine.willItFit(o)) {
4844
4437
  if (o.autoPosition = !0, !this.engine.willItFit(o)) {
4845
- k.off(r, "drag");
4438
+ S.off(r, "drag");
4846
4439
  return;
4847
4440
  }
4848
4441
  o._willFitPos && (u.copyPos(o, o._willFitPos), delete o._willFitPos);
@@ -4851,7 +4444,7 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
4851
4444
  } else
4852
4445
  this._dragOrResize(n, s, d, o, t, e);
4853
4446
  };
4854
- return k.droppable(this.el, {
4447
+ return S.droppable(this.el, {
4855
4448
  accept: (s) => {
4856
4449
  const r = s.gridstackNode || this._readAttr(s, !1);
4857
4450
  if ((r == null ? void 0 : r.grid) === this)
@@ -4890,7 +4483,7 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
4890
4483
  o.grid || (o.el || (o = { ...o }), o._isExternal = !0, n.gridstackNode = o);
4891
4484
  const h = o.w || Math.round(n.offsetWidth / t) || 1, c = o.h || Math.round(n.offsetHeight / e) || 1;
4892
4485
  return o.grid && o.grid !== this ? (r._gridstackNodeOrig || (r._gridstackNodeOrig = o), r.gridstackNode = o = { ...o, w: h, h: c, grid: this }, delete o.x, delete o.y, this.engine.cleanupNode(o).nodeBoundFix(o), o._initDD = o._isExternal = // DOM needs to be re-parented on a drop
4893
- o._temporaryRemoved = !0) : (o.w = h, o.h = c, o._temporaryRemoved = !0), y._itemRemoving(o.el, !1), k.on(r, "drag", i), i(s, r, n), !1;
4486
+ o._temporaryRemoved = !0) : (o.w = h, o.h = c, o._temporaryRemoved = !0), y._itemRemoving(o.el, !1), S.on(r, "drag", i), i(s, r, n), !1;
4894
4487
  }).on(this.el, "dropout", (s, r, n) => {
4895
4488
  const o = (n == null ? void 0 : n.gridstackNode) || r.gridstackNode;
4896
4489
  return o && (!o.grid || o.grid === this) && (this._leave(r, n), this._isTemp && this.removeAsSubGrid(o)), !1;
@@ -4906,7 +4499,7 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
4906
4499
  const v = l.grid;
4907
4500
  v.engine.removeNodeFromLayoutCache(l), v.engine.removedNodes.push(l), v._triggerRemoveEvent()._triggerChangeEvent(), v.parentGridNode && !v.engine.nodes.length && v.opts.subGridDynamic && v.removeAsSubGrid();
4908
4501
  }
4909
- if (!o || (h && (this.engine.cleanupNode(o), o.grid = this), (f = o.grid) == null || delete f._isTemp, k.off(r, "drag"), n !== r ? (n.remove(), r = n) : r.remove(), this._removeDD(r), !h))
4502
+ if (!o || (h && (this.engine.cleanupNode(o), o.grid = this), (f = o.grid) == null || delete f._isTemp, S.off(r, "drag"), n !== r ? (n.remove(), r = n) : r.remove(), this._removeDD(r), !h))
4910
4503
  return !1;
4911
4504
  const d = (m = (p = o.subGrid) == null ? void 0 : p.el) == null ? void 0 : m.gridstack;
4912
4505
  return u.copyPos(o, this._readAttr(this.placeholder)), u.removePositioningStyles(r), c && (o.content || o.subGridOpts || y.addRemoveCB) ? (delete o.el, r = this.addWidget(o)) : (this._prepareElement(r, !0, o), this.el.appendChild(r), this.resizeToContentCheck(!1, o), d && (d.parentGridNode = o), this._updateContainerHeight()), this.engine.addedNodes.push(o), this._triggerAddEvent(), this._triggerChangeEvent(), this.engine.endUpdate(), this._gsEventHandler.dropped && this._gsEventHandler.dropped({ ...s, type: "dropped" }, l && l.grid ? l : void 0, o), !1;
@@ -4924,7 +4517,7 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
4924
4517
  if (typeof this.opts.removable != "string")
4925
4518
  return this;
4926
4519
  const e = document.querySelector(this.opts.removable);
4927
- return e ? (!this.opts.staticGrid && !k.isDroppable(e) && k.droppable(e, this.opts.removableOptions).on(e, "dropover", (t, i) => y._itemRemoving(i, !0)).on(e, "dropout", (t, i) => y._itemRemoving(i, !1)), this) : this;
4520
+ return e ? (!this.opts.staticGrid && !S.isDroppable(e) && S.droppable(e, this.opts.removableOptions).on(e, "dropover", (t, i) => y._itemRemoving(i, !0)).on(e, "dropout", (t, i) => y._itemRemoving(i, !1)), this) : this;
4928
4521
  }
4929
4522
  /**
4930
4523
  * prepares the element for drag&drop - this is normally called by makeWidget() unless are are delay loading
@@ -4956,7 +4549,7 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
4956
4549
  this._extraDragRow = 0, this._updateContainerHeight(), this._triggerChangeEvent(), this.engine.endUpdate(), f.type === "resizestop" && (Number.isInteger(i.sizeToContent) && (i.sizeToContent = i.h), this.resizeToContentCheck(p, i));
4957
4550
  }
4958
4551
  };
4959
- k.draggable(e, {
4552
+ S.draggable(e, {
4960
4553
  start: c,
4961
4554
  stop: d,
4962
4555
  drag: l
@@ -4966,7 +4559,7 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
4966
4559
  resize: l
4967
4560
  }), i._initDD = !0;
4968
4561
  }
4969
- return k.draggable(e, s ? "disable" : "enable").resizable(e, r ? "disable" : "enable"), this;
4562
+ return S.draggable(e, s ? "disable" : "enable").resizable(e, r ? "disable" : "enable"), this;
4970
4563
  }
4971
4564
  /** @internal handles actual drag/resize start */
4972
4565
  _onStartMoving(e, t, i, s, r, n) {
@@ -4985,7 +4578,7 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
4985
4578
  };
4986
4579
  if (s.el = this.placeholder, s._lastUiPosition = i.position, s._prevYPix = i.position.top, s._moving = t.type === "dragstart", s._resizing = t.type === "resizestart", delete s._lastTried, t.type === "dropover" && s._temporaryRemoved && (this.engine.addNode(s), s._moving = !0), this.engine.cacheRects(r, n, this.opts.marginTop, this.opts.marginRight, this.opts.marginBottom, this.opts.marginLeft), t.type === "resizestart") {
4987
4580
  const h = this.getColumn() - s.x, c = (this.opts.maxRow || Number.MAX_SAFE_INTEGER) - s.y;
4988
- k.resizable(e, "option", "minWidth", r * Math.min(s.minW || 1, h)).resizable(e, "option", "minHeight", n * Math.min(s.minH || 1, c)).resizable(e, "option", "maxWidth", r * Math.min(s.maxW || Number.MAX_SAFE_INTEGER, h)).resizable(e, "option", "maxWidthMoveLeft", r * Math.min(s.maxW || Number.MAX_SAFE_INTEGER, s.x + s.w)).resizable(e, "option", "maxHeight", n * Math.min(s.maxH || Number.MAX_SAFE_INTEGER, c)).resizable(e, "option", "maxHeightMoveUp", n * Math.min(s.maxH || Number.MAX_SAFE_INTEGER, s.y + s.h));
4581
+ S.resizable(e, "option", "minWidth", r * Math.min(s.minW || 1, h)).resizable(e, "option", "minHeight", n * Math.min(s.minH || 1, c)).resizable(e, "option", "maxWidth", r * Math.min(s.maxW || Number.MAX_SAFE_INTEGER, h)).resizable(e, "option", "maxWidthMoveLeft", r * Math.min(s.maxW || Number.MAX_SAFE_INTEGER, s.x + s.w)).resizable(e, "option", "maxHeight", n * Math.min(s.maxH || Number.MAX_SAFE_INTEGER, c)).resizable(e, "option", "maxHeightMoveUp", n * Math.min(s.maxH || Number.MAX_SAFE_INTEGER, s.y + s.h));
4989
4582
  }
4990
4583
  }
4991
4584
  /** @internal handles actual drag/resize */
@@ -4998,22 +4591,22 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
4998
4591
  return;
4999
4592
  const b = i.position.top - s._prevYPix;
5000
4593
  s._prevYPix = i.position.top, this.opts.draggable.scroll !== !1 && u.updateScrollPosition(e, i.position, b);
5001
- const _ = i.position.left + (i.position.left > s._lastUiPosition.left ? -l : c), E = i.position.top + (i.position.top > s._lastUiPosition.top ? -f : d);
5002
- o.x = Math.round(_ / r), o.y = Math.round(E / n);
5003
- const C = this._extraDragRow;
4594
+ const w = i.position.left + (i.position.left > s._lastUiPosition.left ? -l : c), C = i.position.top + (i.position.top > s._lastUiPosition.top ? -f : d);
4595
+ o.x = Math.round(w / r), o.y = Math.round(C / n);
4596
+ const E = this._extraDragRow;
5004
4597
  if (this.engine.collide(s, o)) {
5005
- const S = this.getRow();
5006
- let N = Math.max(0, o.y + s.h - S);
5007
- this.opts.maxRow && S + N > this.opts.maxRow && (N = Math.max(0, this.opts.maxRow - S)), this._extraDragRow = N;
4598
+ const D = this.getRow();
4599
+ let N = Math.max(0, o.y + s.h - D);
4600
+ this.opts.maxRow && D + N > this.opts.maxRow && (N = Math.max(0, this.opts.maxRow - D)), this._extraDragRow = N;
5008
4601
  } else
5009
4602
  this._extraDragRow = 0;
5010
- if (this._extraDragRow !== C && this._updateContainerHeight(), s.x === o.x && s.y === o.y)
4603
+ if (this._extraDragRow !== E && this._updateContainerHeight(), s.x === o.x && s.y === o.y)
5011
4604
  return;
5012
4605
  } else if (t.type === "resize") {
5013
4606
  if (o.x < 0 || (u.updateScrollResize(t, e, n), o.w = Math.round((i.size.width - c) / r), o.h = Math.round((i.size.height - d) / n), s.w === o.w && s.h === o.h) || s._lastTried && s._lastTried.w === o.w && s._lastTried.h === o.h)
5014
4607
  return;
5015
- const b = i.position.left + c, _ = i.position.top + d;
5016
- o.x = Math.round(b / r), o.y = Math.round(_ / n), h = !0;
4608
+ const b = i.position.left + c, w = i.position.top + d;
4609
+ o.x = Math.round(b / r), o.y = Math.round(w / n), h = !0;
5017
4610
  }
5018
4611
  s._event = t, s._lastTried = o;
5019
4612
  const v = {
@@ -5042,7 +4635,7 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
5042
4635
  _leave(e, t) {
5043
4636
  t = t || e;
5044
4637
  const i = t.gridstackNode;
5045
- if (!i || (t.style.transform = t.style.transformOrigin = null, k.off(e, "drag"), i._temporaryRemoved))
4638
+ if (!i || (t.style.transform = t.style.transformOrigin = null, S.off(e, "drag"), i._temporaryRemoved))
5046
4639
  return;
5047
4640
  i._temporaryRemoved = !0, this.engine.removeNode(i), i.el = i._isExternal && t ? t : e;
5048
4641
  const s = i._sidebarOrig;
@@ -5050,7 +4643,7 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
5050
4643
  }
5051
4644
  // legacy method removed
5052
4645
  commit() {
5053
- return Ys(this, this.batchUpdate(!1), "commit", "batchUpdate", "5.2"), this;
4646
+ return qs(this, this.batchUpdate(!1), "commit", "batchUpdate", "5.2"), this;
5054
4647
  }
5055
4648
  }
5056
4649
  y.renderCB = (a, e) => {
@@ -5062,28 +4655,28 @@ y.Engine = $;
5062
4655
  y.GDRev = "12.3.2";
5063
4656
  const le = /* @__PURE__ */ new WeakMap();
5064
4657
  function Zs({ children: a }) {
5065
- const { _gridStack: { value: e, set: t }, initialOptions: i } = Le(), s = Z(/* @__PURE__ */ new Map()), r = Z(null), n = Z(i), o = q((c, l) => {
4658
+ const { _gridStack: { value: e, set: t }, initialOptions: i } = Le(), s = Q(/* @__PURE__ */ new Map()), r = Q(null), n = Q(i), o = K((c, l) => {
5066
4659
  if (l.id && l.grid) {
5067
4660
  let d = le.get(l.grid);
5068
4661
  d || (d = /* @__PURE__ */ new Map(), le.set(l.grid, d)), d.set(l.id, c), s.current.set(l.id, c);
5069
4662
  }
5070
- }, []), h = q(() => r.current ? (y.renderCB = o, y.init(n.current, r.current)) : null, [o]);
5071
- return Ke(() => {
4663
+ }, []), h = K(() => r.current ? (y.renderCB = o, y.init(n.current, r.current)) : null, [o]);
4664
+ return Ve(() => {
5072
4665
  if (!tt(i, n.current) && e)
5073
4666
  try {
5074
4667
  e.removeAll(!1), e.destroy(!1), s.current.clear(), le.delete(e), n.current = i, t(h());
5075
4668
  } catch (c) {
5076
4669
  console.error("Error reinitializing gridstack", c);
5077
4670
  }
5078
- }, [i, e, h, t]), Ke(() => {
4671
+ }, [i, e, h, t]), Ve(() => {
5079
4672
  if (!e)
5080
4673
  try {
5081
4674
  t(h());
5082
4675
  } catch (c) {
5083
4676
  console.error("Error initializing gridstack", c);
5084
4677
  }
5085
- }, [e, h, t]), g(It.Provider, {
5086
- value: Et(() => ({
4678
+ }, [e, h, t]), g(Ft.Provider, {
4679
+ value: Ct(() => ({
5087
4680
  getWidgetContainer: (c) => {
5088
4681
  if (e) {
5089
4682
  const l = le.get(e);
@@ -5099,18 +4692,18 @@ function Zs({ children: a }) {
5099
4692
  })
5100
4693
  });
5101
4694
  }
5102
- const Gt = j((a, e) => {
4695
+ const Wt = U((a, e) => {
5103
4696
  const t = Le();
5104
- return _t(e, () => ({
4697
+ return wt(e, () => ({
5105
4698
  addWidget: t.addWidget,
5106
4699
  removeWidget: t.removeWidget,
5107
4700
  addSubGrid: t.addSubGrid,
5108
4701
  removeAll: t.removeAll
5109
4702
  }), [t]), null;
5110
4703
  });
5111
- Gt.displayName = "RefHandler";
5112
- const Wt = j(({ options: a, widgets: e, onChange: t }, i) => {
5113
- const s = Et(() => ({
4704
+ Wt.displayName = "RefHandler";
4705
+ const Gt = U(({ options: a, widgets: e, onChange: t }, i) => {
4706
+ const s = Ct(() => ({
5114
4707
  ...a,
5115
4708
  children: e
5116
4709
  }), [e]), r = (o, h, c) => {
@@ -5137,32 +4730,32 @@ const Wt = j(({ options: a, widgets: e, onChange: t }, i) => {
5137
4730
  }));
5138
4731
  },
5139
4732
  onChange: t,
5140
- children: [g(Gt, {
4733
+ children: [g(Wt, {
5141
4734
  ref: i
5142
4735
  }), g(Zs, {
5143
4736
  children: g(Vs, {})
5144
4737
  })]
5145
4738
  });
5146
4739
  });
5147
- Wt.displayName = "F0GridStack";
4740
+ Gt.displayName = "F0GridStack";
5148
4741
  const Or = pt(
5149
4742
  "F0GridStack",
5150
- Wt
5151
- ), er = ({ benefits: a }) => g("div", {
4743
+ Gt
4744
+ ), Qs = ({ benefits: a }) => g("div", {
5152
4745
  className: "flex flex-col gap-2",
5153
- children: a.map((e, t) => g(tr, {
4746
+ children: a.map((e, t) => g(er, {
5154
4747
  text: e
5155
4748
  }, t))
5156
- }), tr = ({ text: a }) => R("div", {
4749
+ }), er = ({ text: a }) => R("div", {
5157
4750
  className: "flex flex-row items-start gap-2",
5158
- children: [g(Oi, {
4751
+ children: [g(Ti, {
5159
4752
  icon: Li,
5160
4753
  size: "md",
5161
4754
  className: "text-f1-icon-positive"
5162
4755
  }), g("span", {
5163
4756
  children: a
5164
4757
  })]
5165
- }), $t = j(({ title: a, image: e, benefits: t, actions: i, withShadow: s = !0, module: r, moduleName: n, tag: o, promoTag: h }, c) => R("div", {
4758
+ }), $t = U(({ title: a, image: e, benefits: t, actions: i, withShadow: s = !0, module: r, moduleName: n, tag: o, promoTag: h }, c) => R("div", {
5166
4759
  ref: c,
5167
4760
  className: L("bg-white flex flex-row rounded-xl border border-f1-border-secondary", s && "shadow-md"),
5168
4761
  children: [g("div", {
@@ -5188,10 +4781,10 @@ const Or = pt(
5188
4781
  })]
5189
4782
  }), (o || h) && R("div", {
5190
4783
  className: "flex justify-start gap-2",
5191
- children: [o && g(Ai, {
4784
+ children: [o && g(Oi, {
5192
4785
  icon: o.icon,
5193
4786
  text: o.label
5194
- }), h && g(Ti, {
4787
+ }), h && g(Ai, {
5195
4788
  variant: h.variant || "positive",
5196
4789
  text: h.label
5197
4790
  })]
@@ -5199,7 +4792,7 @@ const Or = pt(
5199
4792
  className: "font-bold text-xl text-f1-foreground",
5200
4793
  children: a
5201
4794
  })]
5202
- }), g(er, {
4795
+ }), g(Qs, {
5203
4796
  benefits: t
5204
4797
  })]
5205
4798
  }), i && g("div", {
@@ -5209,7 +4802,7 @@ const Or = pt(
5209
4802
  })]
5210
4803
  }));
5211
4804
  $t.displayName = "ProductBlankslate";
5212
- function ir({ isOpen: a, onClose: e, title: t, children: i, module: s, portalContainer: r }) {
4805
+ function tr({ isOpen: a, onClose: e, title: t, children: i, module: s, portalContainer: r }) {
5213
4806
  const [n, o] = M(a);
5214
4807
  return ce(() => {
5215
4808
  o(a);
@@ -5230,7 +4823,7 @@ function ir({ isOpen: a, onClose: e, title: t, children: i, module: s, portalCon
5230
4823
  module: s,
5231
4824
  size: "lg"
5232
4825
  }), t]
5233
- }), g(Ii, {
4826
+ }), g(Fi, {
5234
4827
  variant: "outline",
5235
4828
  icon: bt,
5236
4829
  onClick: e,
@@ -5247,24 +4840,24 @@ function ir({ isOpen: a, onClose: e, title: t, children: i, module: s, portalCon
5247
4840
  })
5248
4841
  });
5249
4842
  }
5250
- function Lr({ isOpen: a, onClose: e, title: t, image: i, benefits: s, errorMessage: r, successMessage: n, loadingState: o, nextSteps: h, closeLabel: c, primaryAction: l, modalTitle: d, modalModule: f, secondaryAction: p, portalContainer: m, tag: v, promoTag: b, showResponseDialog: _ = !0 }) {
5251
- const [E, C] = M(a), [S, N] = M(null), [P, A] = M(!1), W = async () => {
4843
+ function Ar({ isOpen: a, onClose: e, title: t, image: i, benefits: s, errorMessage: r, successMessage: n, loadingState: o, nextSteps: h, closeLabel: c, primaryAction: l, modalTitle: d, modalModule: f, secondaryAction: p, portalContainer: m, tag: v, promoTag: b, showResponseDialog: w = !0 }) {
4844
+ const [C, E] = M(a), [D, N] = M(null), [k, O] = M(!1), G = async () => {
5252
4845
  if (l != null && l.onClick) {
5253
- A(!0);
4846
+ O(!0);
5254
4847
  try {
5255
- await l.onClick(), C(!1), _ && N("success");
4848
+ await l.onClick(), E(!1), w && N("success");
5256
4849
  } catch {
5257
- _ && N("error");
4850
+ w && N("error");
5258
4851
  } finally {
5259
- A(!1);
4852
+ O(!1);
5260
4853
  }
5261
4854
  }
5262
4855
  }, H = () => {
5263
- C(!1), e == null || e();
5264
- }, F = P;
5265
- return R(we, {
5266
- children: [g(ir, {
5267
- isOpen: E,
4856
+ E(!1), e == null || e();
4857
+ }, I = k;
4858
+ return R(xe, {
4859
+ children: [g(tr, {
4860
+ isOpen: C,
5268
4861
  onClose: H,
5269
4862
  title: d,
5270
4863
  module: f,
@@ -5280,14 +4873,14 @@ function Lr({ isOpen: a, onClose: e, title: t, image: i, benefits: s, errorMessa
5280
4873
  promoTag: b,
5281
4874
  actions: R("div", {
5282
4875
  className: "flex gap-3",
5283
- children: [l && g(V, {
4876
+ children: [l && g(q, {
5284
4877
  variant: l.variant,
5285
- label: F ? o.label : l.label,
4878
+ label: I ? o.label : l.label,
5286
4879
  icon: l.icon || void 0,
5287
- onClick: W,
4880
+ onClick: G,
5288
4881
  loading: l.loading,
5289
4882
  size: l.size
5290
- }), p && g(V, {
4883
+ }), p && g(q, {
5291
4884
  onClick: p.onClick,
5292
4885
  label: p.label,
5293
4886
  variant: p.variant,
@@ -5297,12 +4890,12 @@ function Lr({ isOpen: a, onClose: e, title: t, image: i, benefits: s, errorMessa
5297
4890
  })
5298
4891
  })
5299
4892
  })
5300
- }), S && _ && g(wt, {
4893
+ }), D && w && g(xt, {
5301
4894
  open: !0,
5302
4895
  onClose: () => {
5303
4896
  H(), N(null);
5304
4897
  },
5305
- success: S === "success",
4898
+ success: D === "success",
5306
4899
  errorMessage: r,
5307
4900
  successMessage: n,
5308
4901
  nextSteps: h,
@@ -5311,7 +4904,7 @@ function Lr({ isOpen: a, onClose: e, title: t, image: i, benefits: s, errorMessa
5311
4904
  })]
5312
4905
  });
5313
4906
  }
5314
- function sr({ mediaUrl: a, title: e, description: t, onClose: i, dismissible: s, width: r, trackVisibility: n, actions: o, showConfirmation: h = !0 }) {
4907
+ function ir({ mediaUrl: a, title: e, description: t, onClose: i, dismissible: s, width: r, trackVisibility: n, actions: o, showConfirmation: h = !0 }) {
5315
4908
  const [c, l] = M(!1), d = () => {
5316
4909
  l(!0), i && i();
5317
4910
  };
@@ -5319,16 +4912,16 @@ function sr({ mediaUrl: a, title: e, description: t, onClose: i, dismissible: s,
5319
4912
  n && n(!c);
5320
4913
  }, [n, c]);
5321
4914
  const f = a == null ? void 0 : a.includes(".mp4");
5322
- return g(we, {
5323
- children: c ? null : R(Fi, {
4915
+ return g(xe, {
4916
+ children: c ? null : R(Ii, {
5324
4917
  style: {
5325
4918
  width: r
5326
4919
  },
5327
4920
  className: "relative bg-f1-background p-1",
5328
- children: [R(Gi, {
4921
+ children: [R(Wi, {
5329
4922
  children: [s && g("div", {
5330
4923
  className: "absolute right-2 top-2 z-10",
5331
- children: g(V, {
4924
+ children: g(q, {
5332
4925
  variant: "ghost",
5333
4926
  icon: bt,
5334
4927
  size: "sm",
@@ -5352,18 +4945,18 @@ function sr({ mediaUrl: a, title: e, description: t, onClose: i, dismissible: s,
5352
4945
  }))
5353
4946
  }), R("div", {
5354
4947
  className: "flex flex-col gap-[2px] p-3",
5355
- children: [g(Ue, {
4948
+ children: [g(je, {
5356
4949
  className: "text-lg font-medium",
5357
4950
  children: e
5358
- }), g(Ue, {
4951
+ }), g(je, {
5359
4952
  className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary",
5360
4953
  children: t
5361
4954
  })]
5362
4955
  })]
5363
4956
  })]
5364
- }), o && g(Wi, {
4957
+ }), o && g(Gi, {
5365
4958
  className: "p-3",
5366
- children: o.map((p) => p.type === "upsell" ? g(xt, {
4959
+ children: o.map((p) => p.type === "upsell" ? g(_t, {
5367
4960
  label: p.label,
5368
4961
  onRequest: p.onClick,
5369
4962
  errorMessage: p.errorMessage,
@@ -5373,7 +4966,7 @@ function sr({ mediaUrl: a, title: e, description: t, onClose: i, dismissible: s,
5373
4966
  closeLabel: p.closeLabel,
5374
4967
  showConfirmation: h && p.showConfirmation,
5375
4968
  variant: p.variant
5376
- }, p.label) : g(V, {
4969
+ }, p.label) : g(q, {
5377
4970
  label: p.label,
5378
4971
  onClick: p.onClick,
5379
4972
  variant: p.variant
@@ -5382,8 +4975,8 @@ function sr({ mediaUrl: a, title: e, description: t, onClose: i, dismissible: s,
5382
4975
  })
5383
4976
  });
5384
4977
  }
5385
- const rr = j(function({ primaryAction: e, secondaryAction: t, ...i }, s) {
5386
- const r = (h) => h.variant === "promote" ? g(xt, {
4978
+ const sr = U(function({ primaryAction: e, secondaryAction: t, ...i }, s) {
4979
+ const r = (h) => h.variant === "promote" ? g(_t, {
5387
4980
  label: h.label,
5388
4981
  onRequest: async () => {
5389
4982
  await h.onClick();
@@ -5396,7 +4989,7 @@ const rr = j(function({ primaryAction: e, secondaryAction: t, ...i }, s) {
5396
4989
  showIcon: h.showIcon,
5397
4990
  showConfirmation: h.showConfirmation,
5398
4991
  variant: h.variant
5399
- }) : g(V, {
4992
+ }) : g(q, {
5400
4993
  onClick: h.onClick,
5401
4994
  label: h.label,
5402
4995
  variant: h.variant || "default",
@@ -5411,32 +5004,32 @@ const rr = j(function({ primaryAction: e, secondaryAction: t, ...i }, s) {
5411
5004
  children: [(e == null ? void 0 : e.variant) === "promote" && r(e), (t == null ? void 0 : t.variant) === "promote" && r(t)]
5412
5005
  });
5413
5006
  });
5414
- rr.displayName = "UpsellingBanner";
5415
- function Mr({ isOpen: a, setIsOpen: e, label: t, variant: i = "promote", size: s = "md", showIcon: r = !0, side: n = "right", align: o = "center", icon: h = ji, mediaUrl: c, title: l, description: d, width: f = "300px", trackVisibility: p, actions: m, onClick: v, hideLabel: b = !1 }) {
5416
- const [_, E] = M(!1), [C, S] = M(null), [N, P] = M(null), A = (D) => {
5417
- e(D), v && v();
5418
- }, W = async (D) => {
5419
- if (D.type === "upsell") {
5420
- P(D);
5007
+ sr.displayName = "UpsellingBanner";
5008
+ function Tr({ isOpen: a, setIsOpen: e, label: t, variant: i = "promote", size: s = "md", showIcon: r = !0, side: n = "right", align: o = "center", icon: h = Ui, mediaUrl: c, title: l, description: d, width: f = "300px", trackVisibility: p, actions: m, onClick: v, hideLabel: b = !1 }) {
5009
+ const [w, C] = M(!1), [E, D] = M(null), [N, k] = M(null), O = (z) => {
5010
+ e(z), v && v();
5011
+ }, G = async (z) => {
5012
+ if (z.type === "upsell") {
5013
+ k(z);
5421
5014
  try {
5422
- await D.onClick(), D.showConfirmation && (E(!0), S("success"));
5015
+ await z.onClick(), z.showConfirmation && (C(!0), D("success"));
5423
5016
  } catch {
5424
- E(!0), S("error");
5017
+ C(!0), D("error");
5425
5018
  }
5426
5019
  }
5427
5020
  }, H = () => {
5428
- S(null), E(!1), P(null), e(!1);
5429
- }, F = a && !_, x = m == null ? void 0 : m.map((D) => D.type === "upsell" ? {
5430
- ...D,
5431
- onClick: () => W(D)
5432
- } : D);
5433
- return R(we, {
5021
+ D(null), C(!1), k(null), e(!1);
5022
+ }, I = a && !w, _ = m == null ? void 0 : m.map((z) => z.type === "upsell" ? {
5023
+ ...z,
5024
+ onClick: () => G(z)
5025
+ } : z);
5026
+ return R(xe, {
5434
5027
  children: [R(dt, {
5435
- open: F,
5436
- onOpenChange: A,
5028
+ open: I,
5029
+ onOpenChange: O,
5437
5030
  children: [g(ct, {
5438
5031
  asChild: !0,
5439
- children: g(V, {
5032
+ children: g(q, {
5440
5033
  variant: i,
5441
5034
  label: t,
5442
5035
  size: s,
@@ -5448,7 +5041,7 @@ function Mr({ isOpen: a, setIsOpen: e, label: t, variant: i = "promote", size: s
5448
5041
  side: n,
5449
5042
  align: o,
5450
5043
  className: "w-fit border-none bg-transparent p-2 shadow-none",
5451
- children: g(sr, {
5044
+ children: g(ir, {
5452
5045
  mediaUrl: c,
5453
5046
  title: l,
5454
5047
  description: d,
@@ -5456,14 +5049,14 @@ function Mr({ isOpen: a, setIsOpen: e, label: t, variant: i = "promote", size: s
5456
5049
  dismissible: !1,
5457
5050
  width: f,
5458
5051
  trackVisibility: p,
5459
- actions: x,
5052
+ actions: _,
5460
5053
  showConfirmation: !1
5461
5054
  })
5462
5055
  })]
5463
- }), (N == null ? void 0 : N.type) === "upsell" && N.showConfirmation && C && g(wt, {
5056
+ }), (N == null ? void 0 : N.type) === "upsell" && N.showConfirmation && E && g(xt, {
5464
5057
  open: !0,
5465
5058
  onClose: H,
5466
- success: C === "success",
5059
+ success: E === "success",
5467
5060
  errorMessage: N.errorMessage,
5468
5061
  successMessage: N.successMessage,
5469
5062
  nextSteps: N.nextSteps,
@@ -5472,11 +5065,11 @@ function Mr({ isOpen: a, setIsOpen: e, label: t, variant: i = "promote", size: s
5472
5065
  })]
5473
5066
  });
5474
5067
  }
5475
- const nr = xe(null), or = ({ children: a, fullScreen: e = !0 }) => {
5476
- const t = Z(null), [i, s] = M(t.current);
5068
+ const rr = _e(null), nr = ({ children: a, fullScreen: e = !0 }) => {
5069
+ const t = Q(null), [i, s] = M(t.current);
5477
5070
  return es(() => {
5478
5071
  s(t.current);
5479
- }, []), g(nr.Provider, {
5072
+ }, []), g(rr.Provider, {
5480
5073
  value: {
5481
5074
  element: i
5482
5075
  },
@@ -5489,27 +5082,27 @@ const nr = xe(null), or = ({ children: a, fullScreen: e = !0 }) => {
5489
5082
  children: a
5490
5083
  })
5491
5084
  });
5492
- }, ar = ({ children: a }) => g(Zi, {
5085
+ }, or = ({ children: a }) => g(Qi, {
5493
5086
  reducedMotion: "user",
5494
5087
  children: a
5495
- }), Hr = ({ children: a, layout: e, link: t, privacyModeInitiallyEnabled: i, image: s, i18n: r, l10n: n, isDev: o = !1, dataCollectionStorageHandler: h, showExperimentalWarnings: c = !1 }) => g(ar, {
5496
- children: g(Ui, {
5088
+ }), Lr = ({ children: a, layout: e, link: t, privacyModeInitiallyEnabled: i, image: s, i18n: r, l10n: n, isDev: o = !1, dataCollectionStorageHandler: h, showExperimentalWarnings: c = !1 }) => g(or, {
5089
+ children: g(ji, {
5497
5090
  isDev: o,
5498
5091
  showExperimentalWarnings: c,
5499
- children: g(qi, {
5092
+ children: g(Ki, {
5500
5093
  ...n,
5501
- children: g(Ki, {
5094
+ children: g(Vi, {
5502
5095
  ...r,
5503
- children: g(Vi, {
5096
+ children: g(qi, {
5504
5097
  ...t,
5505
- children: g(or, {
5098
+ children: g(nr, {
5506
5099
  ...e,
5507
- children: g(Yi, {
5508
- children: g(Xi, {
5100
+ children: g(Xi, {
5101
+ children: g(Yi, {
5509
5102
  initiallyEnabled: i,
5510
5103
  children: g(Ji, {
5511
5104
  ...s,
5512
- children: g(Qi, {
5105
+ children: g(Zi, {
5513
5106
  handler: h,
5514
5107
  children: a
5515
5108
  })
@@ -5521,7 +5114,7 @@ const nr = xe(null), or = ({ children: a, fullScreen: e = !0 }) => {
5521
5114
  })
5522
5115
  })
5523
5116
  })
5524
- }), et = (a) => `datacollection-${a}`, Br = {
5117
+ }), et = (a) => `datacollection-${a}`, Mr = {
5525
5118
  get: async (a) => JSON.parse(
5526
5119
  localStorage.getItem(et(a)) ?? "{}"
5527
5120
  ),
@@ -5530,97 +5123,97 @@ const nr = xe(null), or = ({ children: a, fullScreen: e = !0 }) => {
5530
5123
  }
5531
5124
  };
5532
5125
  export {
5533
- pr as AreaChart,
5534
- Gr as Await,
5535
- mr as BarChart,
5536
- vr as CategoryBarChart,
5537
- _r as ComboChart,
5538
- Wr as DndProvider,
5539
- $r as EmojiImage,
5540
- jr as F0Avatar,
5541
- Ur as F0AvatarAlert,
5542
- qr as F0AvatarCompany,
5543
- Kr as F0AvatarDate,
5544
- Vr as F0AvatarEmoji,
5545
- Yr as F0AvatarFile,
5546
- Xr as F0AvatarIcon,
5547
- Jr as F0AvatarList,
5126
+ fr as AreaChart,
5127
+ Fr as Await,
5128
+ gr as BarChart,
5129
+ pr as CategoryBarChart,
5130
+ xr as ComboChart,
5131
+ Ir as DndProvider,
5132
+ Wr as EmojiImage,
5133
+ Gr as F0Avatar,
5134
+ $r as F0AvatarAlert,
5135
+ Ur as F0AvatarCompany,
5136
+ jr as F0AvatarDate,
5137
+ Kr as F0AvatarEmoji,
5138
+ Vr as F0AvatarFile,
5139
+ qr as F0AvatarIcon,
5140
+ Xr as F0AvatarList,
5548
5141
  yt as F0AvatarModule,
5549
- Qr as F0AvatarPerson,
5550
- Zr as F0AvatarTeam,
5551
- V as F0Button,
5552
- en as F0ButtonDropdown,
5553
- tn as F0ButtonToggle,
5554
- sn as F0Card,
5555
- rn as F0Checkbox,
5142
+ Yr as F0AvatarPerson,
5143
+ Jr as F0AvatarTeam,
5144
+ q as F0Button,
5145
+ Zr as F0ButtonDropdown,
5146
+ Qr as F0ButtonToggle,
5147
+ en as F0Card,
5148
+ tn as F0Checkbox,
5556
5149
  zr as F0ChipList,
5557
- nn as F0DatePicker,
5558
- on as F0EventCatcherProvider,
5150
+ sn as F0DatePicker,
5151
+ rn as F0EventCatcherProvider,
5559
5152
  Or as F0GridStack,
5560
- Bs as F0Heading,
5561
- Oi as F0Icon,
5562
- an as F0Link,
5563
- Hr as F0Provider,
5564
- ln as F0TagAlert,
5565
- hn as F0TagBalance,
5566
- dn as F0TagCompany,
5567
- cn as F0TagDot,
5568
- un as F0TagList,
5569
- fn as F0TagPerson,
5570
- Ai as F0TagRaw,
5571
- Ti as F0TagStatus,
5572
- gn as F0TagTeam,
5573
- Is as F0Text,
5574
- pn as GROUP_ID_SYMBOL,
5575
- Tr as HomeLayout,
5576
- yr as LineChart,
5577
- mn as OneFilterPicker,
5578
- br as PieChart,
5579
- Xi as PrivacyModeProvider,
5153
+ Hs as F0Heading,
5154
+ Ti as F0Icon,
5155
+ nn as F0Link,
5156
+ Lr as F0Provider,
5157
+ on as F0TagAlert,
5158
+ an as F0TagBalance,
5159
+ ln as F0TagCompany,
5160
+ hn as F0TagDot,
5161
+ dn as F0TagList,
5162
+ cn as F0TagPerson,
5163
+ Oi as F0TagRaw,
5164
+ Ai as F0TagStatus,
5165
+ un as F0TagTeam,
5166
+ Bs as F0Text,
5167
+ fn as GROUP_ID_SYMBOL,
5168
+ kr as HomeLayout,
5169
+ mr as LineChart,
5170
+ gn as OneFilterPicker,
5171
+ vr as PieChart,
5172
+ Yi as PrivacyModeProvider,
5580
5173
  $t as ProductBlankslate,
5581
- vn as ProductCard,
5582
- Lr as ProductModal,
5583
- sr as ProductWidget,
5584
- xr as ProgressBarChart,
5174
+ pn as ProductCard,
5175
+ Ar as ProductModal,
5176
+ ir as ProductWidget,
5177
+ br as ProgressBarChart,
5585
5178
  Pr as StandardLayout,
5586
- yn as TagCounter,
5587
- Ar as TwoColumnLayout,
5588
- wt as UpsellRequestResponseDialog,
5589
- rr as UpsellingBanner,
5590
- xt as UpsellingButton,
5591
- Mr as UpsellingPopover,
5592
- wr as VerticalBarChart,
5593
- fr as avatarVariants,
5594
- bn as buildTranslations,
5595
- Rr as buttonDropdownSizes,
5596
- Nr as buttonDropdownVariants,
5597
- Er as buttonSizes,
5598
- Dr as buttonToggleSizes,
5599
- Cr as buttonVariants,
5600
- wn as createAtlaskitDriver,
5601
- xn as createDataSourceDefinition,
5602
- Br as dataCollectionLocalStorageHandler,
5603
- kr as datepickerSizes,
5604
- ur as defaultTranslations,
5179
+ mn as TagCounter,
5180
+ Sr as TwoColumnLayout,
5181
+ xt as UpsellRequestResponseDialog,
5182
+ sr as UpsellingBanner,
5183
+ _t as UpsellingButton,
5184
+ Tr as UpsellingPopover,
5185
+ yr as VerticalBarChart,
5186
+ cr as avatarVariants,
5187
+ vn as buildTranslations,
5188
+ Cr as buttonDropdownSizes,
5189
+ Er as buttonDropdownVariants,
5190
+ wr as buttonSizes,
5191
+ Nr as buttonToggleSizes,
5192
+ _r as buttonVariants,
5193
+ yn as createAtlaskitDriver,
5194
+ bn as createDataSourceDefinition,
5195
+ Mr as dataCollectionLocalStorageHandler,
5196
+ Dr as datepickerSizes,
5197
+ In as defaultTranslations,
5605
5198
  pt as experimental,
5606
- _n as getAnimationVariants,
5607
- Cn as getDataSourcePaginationType,
5608
- En as getEmojiLabel,
5609
- Nn as isInfiniteScrollPagination,
5610
- Rn as isPageBasedPagination,
5611
- Sr as linkVariants,
5612
- Dn as modules,
5613
- Sn as predefinedPresets,
5199
+ xn as getAnimationVariants,
5200
+ _n as getDataSourcePaginationType,
5201
+ wn as getEmojiLabel,
5202
+ En as isInfiniteScrollPagination,
5203
+ Cn as isPageBasedPagination,
5204
+ Rr as linkVariants,
5205
+ Nn as modules,
5206
+ Rn as predefinedPresets,
5614
5207
  zn as tagDotColors,
5615
- kn as useData,
5208
+ Dn as useData,
5616
5209
  Pn as useDataSource,
5617
- An as useDndEvents,
5618
- Tn as useDraggable,
5210
+ Sn as useDndEvents,
5211
+ kn as useDraggable,
5619
5212
  On as useDroppableList,
5620
- Ln as useEmojiConfetti,
5621
- Mn as useGroups,
5622
- Hn as usePrivacyMode,
5623
- Bn as useReducedMotion,
5624
- In as useSelectable,
5625
- Fn as useXRay
5213
+ An as useEmojiConfetti,
5214
+ Tn as useGroups,
5215
+ Ln as usePrivacyMode,
5216
+ Mn as useReducedMotion,
5217
+ Hn as useSelectable,
5218
+ Bn as useXRay
5626
5219
  };