@agregio-solutions/design-system 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6923,54 +6923,68 @@ var bu = {
6923
6923
  noData: "Désolé, il n'y a actuellement aucune donnée à afficher",
6924
6924
  withFilters: "avec les filtres actifs"
6925
6925
  }
6926
- }, xu = n({ size: "default" });
6927
- function Su() {
6928
- return o(xu) || { size: "default" };
6929
- }
6930
- //#endregion
6931
- //#region packages/components/DataTable/DataTable.styled.ts
6932
- var Cu = K.div`
6933
- overflow-x: auto;
6934
- overflow-y: hidden;
6935
- width: 100%;
6936
- `, wu = K.td`
6937
- padding: var(--spacing-sm);
6926
+ }, xu = ni`
6927
+ 0% { opacity:1; }
6928
+ 50% { opacity:0.4; }
6929
+ 100% { opacity:1; }
6930
+ `, Su = K.span`
6931
+ display: block;
6932
+ background-color: var(--color-content-neutral-stroke);
6933
+ height: 1.2em;
6934
+ margin: 0;
6935
+ border-radius: var(--radius-rounded);
6936
+ animation-duration: 2s;
6937
+ animation-timing-function: ease-in-out;
6938
+ animation-delay: 0.5s;
6939
+ animation-iteration-count: infinite;
6940
+ animation-name: ${xu};
6941
+
6942
+ &[data-variant="text"] {
6943
+ transform-origin: 0 55%;
6944
+ transform: scale(1, 0.6);
6945
+ }
6946
+
6947
+ &[data-variant="rectangular"] {
6948
+ border-radius: 0;
6949
+ }
6950
+
6951
+ &[data-variant="circular"] {
6952
+ border-radius: 50%;
6953
+ transform: none;
6954
+ }
6955
+
6956
+ &[data-color="white"] {
6957
+ background-color: var(--color-content-neutral-primary-reversed);
6958
+ }
6959
+
6960
+ @media (prefers-reduced-motion: reduce) {
6961
+ animation: none;
6962
+ }
6938
6963
  `;
6939
6964
  //#endregion
6940
- //#region packages/components/DataTable/DataTable.tsx
6941
- function Tu({ table: e, pagination: n, renderSubComponent: r, itemsPerPageOptions: i, size: a = "default", ...o }) {
6942
- let s = (e.state.columnFilters?.length ?? 0) > 0 || (e.state.globalFilter?.length ?? 0) > 0, c = e.getRowModel().rows, l = e.getRowCount?.() ?? c.length;
6943
- return /* @__PURE__ */ z("div", {
6965
+ //#region packages/components/Skeleton/Skeleton.tsx
6966
+ function Cu({ variant: e = "text", color: t = "neutral", width: n, height: r, style: i, className: a, ...o }) {
6967
+ return /* @__PURE__ */ R(Su, {
6944
6968
  ...o,
6945
- children: [
6946
- /* @__PURE__ */ R(xu.Provider, {
6947
- value: { size: a },
6948
- children: /* @__PURE__ */ R(Cu, { children: /* @__PURE__ */ z(_u, { children: [/* @__PURE__ */ R("thead", { children: e.getHeaderGroups().map((t) => /* @__PURE__ */ R("tr", { children: t.headers.map((t) => /* @__PURE__ */ R(e.FlexRender, { header: t }, t.id)) }, t.id)) }), /* @__PURE__ */ R("tbody", { children: c.map((n) => {
6949
- let i = n, a = i.getVisibleCells?.() ?? n.getAllCells(), o = i.getIsExpanded?.() ?? !1;
6950
- return /* @__PURE__ */ z(t, { children: [/* @__PURE__ */ R(Yl, {
6951
- "data-sub-row-expanded": o,
6952
- "data-is-sub-row": !!n.getParentRow(),
6953
- children: a.map((t) => /* @__PURE__ */ R(e.FlexRender, { cell: t }, t.id))
6954
- }), o && !!r && /* @__PURE__ */ R("tr", { children: /* @__PURE__ */ R(wu, {
6955
- colSpan: a.length,
6956
- children: r({ row: n })
6957
- }) })] }, n.id);
6958
- }) })] }) })
6959
- }),
6960
- l === 0 && /* @__PURE__ */ R(yu, { withFilters: s }),
6961
- !!n && /* @__PURE__ */ R(mu, {
6962
- count: l,
6963
- onPageChange: (t) => e.setPageIndex?.(t),
6964
- pageIndex: n.pageIndex,
6965
- onItemsPerPageChange: (t) => e.setPageSize?.(t),
6966
- itemsPerPage: n.pageSize,
6967
- itemsPerPageOptions: i,
6968
- style: { marginTop: "16px" }
6969
- })
6970
- ]
6969
+ "data-variant": e,
6970
+ "data-color": t,
6971
+ className: a,
6972
+ "aria-hidden": "true",
6973
+ style: {
6974
+ width: n || i?.width,
6975
+ height: r || i?.height,
6976
+ ...i
6977
+ },
6978
+ children: "\xA0"
6971
6979
  });
6972
6980
  }
6973
6981
  //#endregion
6982
+ //#region packages/components/DataTable/DataTableContext.tsx
6983
+ var wu = n({ size: "default" });
6984
+ function Tu() {
6985
+ return o(wu) || { size: "default" };
6986
+ }
6987
+ //#endregion
6974
6988
  //#region packages/components/DataTable/DataTableCell/DataTableCell.styled.ts
6975
6989
  var Eu = K.td`
6976
6990
  padding: 0;
@@ -7048,7 +7062,7 @@ var Eu = K.td`
7048
7062
  //#endregion
7049
7063
  //#region packages/components/DataTable/DataTableCell/DataTableCell.tsx
7050
7064
  function ku({ children: e, iconLeft: t, border: n, align: r = "left", size: i, compact: a, ...o }) {
7051
- let { size: s } = Su();
7065
+ let { size: s } = Tu();
7052
7066
  return /* @__PURE__ */ R(Eu, {
7053
7067
  ...o,
7054
7068
  "data-border": n,
@@ -7061,8 +7075,68 @@ function ku({ children: e, iconLeft: t, border: n, align: r = "left", size: i, c
7061
7075
  });
7062
7076
  }
7063
7077
  //#endregion
7078
+ //#region packages/components/DataTable/DataTableSkeletonRows/DataTableSkeletonRows.tsx
7079
+ function Au({ rowCount: e, columnCount: t }) {
7080
+ return /* @__PURE__ */ R(L, { children: ou(e).map((e) => /* @__PURE__ */ R(Yl, {
7081
+ "data-design-system-component": "DataTableSkeletonRows",
7082
+ "aria-hidden": "true",
7083
+ children: ou(t).map((e) => /* @__PURE__ */ R(ku, { children: /* @__PURE__ */ R(Cu, {
7084
+ variant: "text",
7085
+ width: "100%"
7086
+ }) }, e))
7087
+ }, e)) });
7088
+ }
7089
+ //#endregion
7090
+ //#region packages/components/DataTable/DataTable.styled.ts
7091
+ var ju = K.div`
7092
+ overflow-x: auto;
7093
+ overflow-y: hidden;
7094
+ width: 100%;
7095
+ `, Mu = K.td`
7096
+ padding: var(--spacing-sm);
7097
+ `, Nu = 10;
7098
+ function Pu({ table: e, pagination: n, renderSubComponent: r, itemsPerPageOptions: i, size: a = "default", isLoading: o = !1, ...s }) {
7099
+ let c = (e.state.columnFilters?.length ?? 0) > 0 || (e.state.globalFilter?.length ?? 0) > 0, l = e.getHeaderGroups(), u = e.getRowModel().rows, d = e.getRowCount?.() ?? u.length;
7100
+ return /* @__PURE__ */ z("div", {
7101
+ ...s,
7102
+ "data-design-system-component": "DataTable",
7103
+ children: [
7104
+ /* @__PURE__ */ R(wu.Provider, {
7105
+ value: { size: a },
7106
+ children: /* @__PURE__ */ R(ju, { children: /* @__PURE__ */ z(_u, {
7107
+ "aria-busy": o,
7108
+ children: [/* @__PURE__ */ R("thead", { children: l.map((t) => /* @__PURE__ */ R("tr", { children: t.headers.map((t) => /* @__PURE__ */ R(e.FlexRender, { header: t }, t.id)) }, t.id)) }), /* @__PURE__ */ z("tbody", { children: [o && /* @__PURE__ */ R(Au, {
7109
+ rowCount: n?.pageSize ?? e.state.pagination?.pageSize ?? Nu,
7110
+ columnCount: l[l.length - 1]?.headers.length ?? 0
7111
+ }), !o && u.map((n) => {
7112
+ let i = n, a = i.getVisibleCells?.() ?? n.getAllCells(), o = i.getIsExpanded?.() ?? !1;
7113
+ return /* @__PURE__ */ z(t, { children: [/* @__PURE__ */ R(Yl, {
7114
+ "data-sub-row-expanded": o,
7115
+ "data-is-sub-row": !!n.getParentRow(),
7116
+ children: a.map((t) => /* @__PURE__ */ R(e.FlexRender, { cell: t }, t.id))
7117
+ }), o && !!r && /* @__PURE__ */ R("tr", { children: /* @__PURE__ */ R(Mu, {
7118
+ colSpan: a.length,
7119
+ children: r({ row: n })
7120
+ }) })] }, n.id);
7121
+ })] })]
7122
+ }) })
7123
+ }),
7124
+ !o && d === 0 && /* @__PURE__ */ R(yu, { withFilters: c }),
7125
+ !!n && /* @__PURE__ */ R(mu, {
7126
+ count: d,
7127
+ onPageChange: (t) => e.setPageIndex?.(t),
7128
+ pageIndex: n.pageIndex,
7129
+ onItemsPerPageChange: (t) => e.setPageSize?.(t),
7130
+ itemsPerPage: n.pageSize,
7131
+ itemsPerPageOptions: i,
7132
+ style: { marginTop: "16px" }
7133
+ })
7134
+ ]
7135
+ });
7136
+ }
7137
+ //#endregion
7064
7138
  //#region packages/components/DataTable/DataTableHeader/DataTableHeader.styled.ts
7065
- var Au = K.th`
7139
+ var Fu = K.th`
7066
7140
  padding: 0;
7067
7141
  vertical-align: bottom;
7068
7142
  background: var(--color-background-neutral-underground-1);
@@ -7081,11 +7155,11 @@ var Au = K.th`
7081
7155
  background: var(--color-content-action-action-lighter);
7082
7156
  cursor: pointer;
7083
7157
  }
7084
- `, ju = Yr`
7085
- ${Au}[data-sortable="true"]:hover & {
7158
+ `, Iu = Yr`
7159
+ ${Fu}[data-sortable="true"]:hover & {
7086
7160
  color: var(--color-content-action-action);
7087
7161
  }
7088
- `, Mu = K.div`
7162
+ `, Lu = K.div`
7089
7163
  display: flex;
7090
7164
  align-items: center;
7091
7165
  width: 100%;
@@ -7119,13 +7193,13 @@ var Au = K.th`
7119
7193
  justify-content: flex-end;
7120
7194
  text-align: right;
7121
7195
  }
7122
- `, Nu = K(q)`
7196
+ `, Ru = K(q)`
7123
7197
  display: inline-block;
7124
7198
  font-size: var(--text-font-size-xl);
7125
7199
  color: var(--color-content-neutral-secondary);
7126
7200
 
7127
- ${ju}
7128
- `, Pu = K.button`
7201
+ ${Iu}
7202
+ `, zu = K.button`
7129
7203
  padding: 0;
7130
7204
  border: none;
7131
7205
  background: none;
@@ -7137,7 +7211,7 @@ var Au = K.th`
7137
7211
  appearance: none;
7138
7212
  white-space: nowrap;
7139
7213
 
7140
- ${Au}[data-sortable="true"] & {
7214
+ ${Fu}[data-sortable="true"] & {
7141
7215
  cursor: pointer;
7142
7216
  }
7143
7217
 
@@ -7146,12 +7220,12 @@ var Au = K.th`
7146
7220
  color: var(--color-content-action-action);
7147
7221
  }
7148
7222
 
7149
- ${Nu} {
7223
+ ${Ru} {
7150
7224
  color: var(--color-content-neutral-primary);
7151
7225
  }
7152
7226
 
7153
- ${ju}
7154
- `, Fu = K(q)`
7227
+ ${Iu}
7228
+ `, Bu = K(q)`
7155
7229
  font-size: var(--text-font-size-md);
7156
7230
  color: var(--color-content-neutral-tertiary);
7157
7231
 
@@ -7162,39 +7236,39 @@ var Au = K.th`
7162
7236
  &[data-active="true"] {
7163
7237
  color: var(--color-content-action-action);
7164
7238
  }
7165
- `, Iu = K.div`
7239
+ `, Vu = K.div`
7166
7240
  display: flex;
7167
7241
  flex-direction: column;
7168
7242
  align-items: center;
7169
- `, Lu = {
7243
+ `, Hu = {
7170
7244
  asc: "ascending",
7171
7245
  desc: "descending",
7172
7246
  none: "none"
7173
7247
  };
7174
- function Ru({ text: e, iconLeft: t, sortDirection: n = "none", onSortClick: r, border: i, align: a = "left", size: o, ...s }) {
7175
- let { size: c } = Su(), l = !!r;
7176
- return /* @__PURE__ */ R(Au, {
7248
+ function Uu({ text: e, iconLeft: t, sortDirection: n = "none", onSortClick: r, border: i, align: a = "left", size: o, ...s }) {
7249
+ let { size: c } = Tu(), l = !!r;
7250
+ return /* @__PURE__ */ R(Fu, {
7177
7251
  ...s,
7178
7252
  "data-design-system-component": "DataTableHeader",
7179
7253
  "data-border": i,
7180
7254
  "data-sortable": l ? "true" : void 0,
7181
- "aria-sort": l ? Lu[n] : void 0,
7255
+ "aria-sort": l ? Hu[n] : void 0,
7182
7256
  onClick: r,
7183
- children: /* @__PURE__ */ z(Mu, {
7257
+ children: /* @__PURE__ */ z(Lu, {
7184
7258
  "data-align": a,
7185
7259
  "data-size": o || c,
7186
7260
  children: [
7187
- !!t && /* @__PURE__ */ R(Nu, { name: t }),
7188
- /* @__PURE__ */ R(Pu, {
7261
+ !!t && /* @__PURE__ */ R(Ru, { name: t }),
7262
+ /* @__PURE__ */ R(zu, {
7189
7263
  as: l ? "button" : "span",
7190
7264
  type: l ? "button" : void 0,
7191
7265
  "data-sort-direction": n,
7192
7266
  children: e
7193
7267
  }),
7194
- l && /* @__PURE__ */ z(Iu, { children: [/* @__PURE__ */ R(Fu, {
7268
+ l && /* @__PURE__ */ z(Vu, { children: [/* @__PURE__ */ R(Bu, {
7195
7269
  name: "expand_less",
7196
7270
  "data-active": n === "asc"
7197
- }), /* @__PURE__ */ R(Fu, {
7271
+ }), /* @__PURE__ */ R(Bu, {
7198
7272
  name: "expand_more",
7199
7273
  "data-active": n === "desc"
7200
7274
  })] })
@@ -7204,20 +7278,20 @@ function Ru({ text: e, iconLeft: t, sortDirection: n = "none", onSortClick: r, b
7204
7278
  }
7205
7279
  //#endregion
7206
7280
  //#region packages/components/DatePicker/DatePicker.styled.ts
7207
- var zu = K(C)`
7281
+ var Wu = K(C)`
7208
7282
  display: flex;
7209
7283
 
7210
7284
  &[data-fullwidth="true"] {
7211
7285
  width: 100%;
7212
7286
  }
7213
- `, Bu = K(ne)`
7287
+ `, Gu = K(ne)`
7214
7288
  display: flex;
7215
7289
  column-gap: var(--spacing-xxs);
7216
7290
 
7217
7291
  &[data-fullwidth="true"] {
7218
7292
  width: 100%;
7219
7293
  }
7220
- `, Vu = K(S)`
7294
+ `, Ku = K(S)`
7221
7295
  position: relative;
7222
7296
  display: inline-flex;
7223
7297
  justify-content: flex-start;
@@ -7264,8 +7338,8 @@ var zu = K(C)`
7264
7338
  &[data-nature="warning"] {
7265
7339
  outline-color: var(--color-content-message-warning-darker);
7266
7340
  }
7267
- `, Hu = e.forwardRef(({ wrapperProps: e, id: t, label: n, labelIconRight: r, labelIconRightTooltip: i, helperTextIcon: a, helperText: o, errorHelperText: s, errorHelperTextIcon: c, successHelperText: l, successHelperTextIcon: u, warningHelperText: d, warningHelperTextIcon: f, orientation: p, required: m, nature: h, fullWidth: g, isDisabled: _, defaultValue: v, onChange: y, value: b, minValue: x, maxValue: S, isDateUnavailable: C, timeZone: w, ampm: D, ...O }, ee) => {
7268
- let k = J(Uu), te = O["aria-label"] ?? String(n), ne = Wl({
7341
+ `, qu = e.forwardRef(({ wrapperProps: e, id: t, label: n, labelIconRight: r, labelIconRightTooltip: i, helperTextIcon: a, helperText: o, errorHelperText: s, errorHelperTextIcon: c, successHelperText: l, successHelperTextIcon: u, warningHelperText: d, warningHelperTextIcon: f, orientation: p, required: m, nature: h, fullWidth: g, isDisabled: _, defaultValue: v, onChange: y, value: b, minValue: x, maxValue: S, isDateUnavailable: C, timeZone: w, ampm: D, ...O }, ee) => {
7342
+ let k = J(Ju), te = O["aria-label"] ?? String(n), ne = Wl({
7269
7343
  nature: h,
7270
7344
  successHelperText: l,
7271
7345
  errorHelperText: s,
@@ -7290,7 +7364,7 @@ var zu = K(C)`
7290
7364
  return D === !0 && (M = 12), D === !1 && (M = 24), /* @__PURE__ */ R(Q, {
7291
7365
  ...A,
7292
7366
  ref: ee,
7293
- children: /* @__PURE__ */ z(zu, {
7367
+ children: /* @__PURE__ */ z(Wu, {
7294
7368
  ...O,
7295
7369
  id: t,
7296
7370
  isDisabled: _,
@@ -7305,9 +7379,9 @@ var zu = K(C)`
7305
7379
  minValue: X(x, w) ?? void 0,
7306
7380
  maxValue: X(S, w) ?? void 0,
7307
7381
  isDateUnavailable: C ? (e) => C(Z(e)) : void 0,
7308
- children: [/* @__PURE__ */ z(Bu, {
7382
+ children: [/* @__PURE__ */ z(Gu, {
7309
7383
  "data-fullwidth": g,
7310
- children: [/* @__PURE__ */ R(Vu, {
7384
+ children: [/* @__PURE__ */ R(Ku, {
7311
7385
  "data-fullwidth": g,
7312
7386
  "aria-disabled": _,
7313
7387
  "data-nature": ne,
@@ -7320,23 +7394,23 @@ var zu = K(C)`
7320
7394
  }), /* @__PURE__ */ R(me, { children: /* @__PURE__ */ R(E, { children: /* @__PURE__ */ R(Kc, { mode: "single" }) }) })]
7321
7395
  })
7322
7396
  });
7323
- }), Uu = {
7397
+ }), Ju = {
7324
7398
  en: { openCalendar: "Open calendar " },
7325
7399
  fr: { openCalendar: "Ouvrir le calendrier " }
7326
- }, Wu = K(w)`
7400
+ }, Yu = K(w)`
7327
7401
  display: flex;
7328
7402
 
7329
7403
  &[data-fullwidth="true"] {
7330
7404
  width: 100%;
7331
7405
  }
7332
- `, Gu = K(ne)`
7406
+ `, Xu = K(ne)`
7333
7407
  display: flex;
7334
7408
  column-gap: var(--spacing-xxs);
7335
7409
 
7336
7410
  &[data-fullwidth="true"] {
7337
7411
  width: 100%;
7338
7412
  }
7339
- `, Ku = K.div`
7413
+ `, Zu = K.div`
7340
7414
  display: flex;
7341
7415
  align-items: center;
7342
7416
  outline: 1px solid var(--color-content-neutral-stroke);
@@ -7365,14 +7439,14 @@ var zu = K(C)`
7365
7439
  &[data-nature="warning"] {
7366
7440
  outline-color: var(--color-content-message-warning-darker);
7367
7441
  }
7368
- `, qu = K.span`
7442
+ `, Qu = K.span`
7369
7443
  display: inline-block;
7370
7444
  margin: 0 var(--spacing-xxs);
7371
7445
 
7372
7446
  &[data-disabled="true"] {
7373
7447
  color: var(--color-content-neutral-primary-reversed);
7374
7448
  }
7375
- `, Ju = K(S)`
7449
+ `, $u = K(S)`
7376
7450
  position: relative;
7377
7451
  display: inline-flex;
7378
7452
  justify-content: flex-start;
@@ -7403,8 +7477,8 @@ var zu = K(C)`
7403
7477
  background: var(--color-content-neutral-tertiary);
7404
7478
  color: var(--color-content-neutral-primary-reversed);
7405
7479
  }
7406
- `, Yu = e.forwardRef(({ wrapperProps: e, id: t, label: n, labelIconRight: r, labelIconRightTooltip: i, helperTextIcon: a, helperText: o, errorHelperText: s, errorHelperTextIcon: c, successHelperText: l, successHelperTextIcon: u, warningHelperText: d, warningHelperTextIcon: f, orientation: p, required: m, nature: h, fullWidth: g, isDisabled: _, defaultValue: v, onChange: y, value: b, minValue: x, maxValue: S, isDateUnavailable: C, timeZone: w, ampm: D, ...O }, ee) => {
7407
- let k = J(Xu), te = O["aria-label"] ?? String(n), ne = Wl({
7480
+ `, ed = e.forwardRef(({ wrapperProps: e, id: t, label: n, labelIconRight: r, labelIconRightTooltip: i, helperTextIcon: a, helperText: o, errorHelperText: s, errorHelperTextIcon: c, successHelperText: l, successHelperTextIcon: u, warningHelperText: d, warningHelperTextIcon: f, orientation: p, required: m, nature: h, fullWidth: g, isDisabled: _, defaultValue: v, onChange: y, value: b, minValue: x, maxValue: S, isDateUnavailable: C, timeZone: w, ampm: D, ...O }, ee) => {
7481
+ let k = J(td), te = O["aria-label"] ?? String(n), ne = Wl({
7408
7482
  nature: h,
7409
7483
  successHelperText: l,
7410
7484
  errorHelperText: s,
@@ -7429,7 +7503,7 @@ var zu = K(C)`
7429
7503
  return D === !0 && (M = 12), D === !1 && (M = 24), /* @__PURE__ */ R(Q, {
7430
7504
  ...A,
7431
7505
  ref: ee,
7432
- children: /* @__PURE__ */ z(Wu, {
7506
+ children: /* @__PURE__ */ z(Yu, {
7433
7507
  ...O,
7434
7508
  id: t,
7435
7509
  isDisabled: _,
@@ -7438,33 +7512,33 @@ var zu = K(C)`
7438
7512
  "data-fullwidth": g,
7439
7513
  hourCycle: M,
7440
7514
  placeholderValue: j,
7441
- defaultValue: Zu(v, w),
7515
+ defaultValue: nd(v, w),
7442
7516
  onChange: (e) => y?.({
7443
7517
  start: Z(e?.start),
7444
7518
  end: Z(e?.end)
7445
7519
  }),
7446
- value: b === null ? null : Zu(b, w),
7520
+ value: b === null ? null : nd(b, w),
7447
7521
  minValue: x ? X(x, w) : void 0,
7448
7522
  maxValue: S ? X(S, w) : void 0,
7449
7523
  isDateUnavailable: C ? (e) => C(Z(e)) : void 0,
7450
- children: [/* @__PURE__ */ z(Gu, {
7524
+ children: [/* @__PURE__ */ z(Xu, {
7451
7525
  "data-fullwidth": g,
7452
- children: [/* @__PURE__ */ z(Ku, {
7526
+ children: [/* @__PURE__ */ z(Zu, {
7453
7527
  "data-disabled": _,
7454
7528
  "data-nature": ne,
7455
7529
  "data-fullwidth": g,
7456
7530
  children: [
7457
- /* @__PURE__ */ R(Ju, {
7531
+ /* @__PURE__ */ R($u, {
7458
7532
  slot: "start",
7459
7533
  "aria-disabled": _,
7460
7534
  children: (e) => /* @__PURE__ */ R(T, { segment: e })
7461
7535
  }),
7462
- /* @__PURE__ */ R(qu, {
7536
+ /* @__PURE__ */ R(Qu, {
7463
7537
  "aria-hidden": "true",
7464
7538
  "data-disabled": _,
7465
7539
  children: "–"
7466
7540
  }),
7467
- /* @__PURE__ */ R(Ju, {
7541
+ /* @__PURE__ */ R($u, {
7468
7542
  slot: "end",
7469
7543
  "aria-disabled": _,
7470
7544
  children: (e) => /* @__PURE__ */ R(T, { segment: e })
@@ -7478,11 +7552,11 @@ var zu = K(C)`
7478
7552
  }), /* @__PURE__ */ R(me, { children: /* @__PURE__ */ R(E, { children: /* @__PURE__ */ R(Kc, { mode: "range" }) }) })]
7479
7553
  })
7480
7554
  });
7481
- }), Xu = {
7555
+ }), td = {
7482
7556
  en: { openCalendar: "Open calendar " },
7483
7557
  fr: { openCalendar: "Ouvrir le calendrier " }
7484
7558
  };
7485
- function Zu(e, t) {
7559
+ function nd(e, t) {
7486
7560
  if (e) return {
7487
7561
  start: X(e.start, t),
7488
7562
  end: X(e.end, t)
@@ -7490,10 +7564,10 @@ function Zu(e, t) {
7490
7564
  }
7491
7565
  //#endregion
7492
7566
  //#region packages/internal-components/DialogLayout/DialogLayout.styled.ts
7493
- var Qu = ni`
7567
+ var rd = ni`
7494
7568
  from { background: rgba(0 0 0 / 0); }
7495
7569
  to { background: rgba(0 12 51 / 0.7); }
7496
- `, $u = K.header`
7570
+ `, id = K.header`
7497
7571
  display: flex;
7498
7572
  align-items: center;
7499
7573
  justify-content: space-between;
@@ -7501,35 +7575,35 @@ var Qu = ni`
7501
7575
  var(--spacing-sm);
7502
7576
  gap: var(--spacing-xs);
7503
7577
  background: var(--color-content-action-action-darker);
7504
- `, ed = K(j)`
7578
+ `, ad = K(j)`
7505
7579
  margin: 0;
7506
7580
  font-size: var(--text-font-size-md);
7507
7581
  font-style: normal;
7508
7582
  font-weight: 700;
7509
7583
  line-height: var(--text-line-height-md);
7510
7584
  color: var(--color-content-neutral-primary-reversed);
7511
- `, td = K(Y)`
7585
+ `, od = K(Y)`
7512
7586
  color: var(--color-content-neutral-primary-reversed);
7513
- `, nd = K.form`
7587
+ `, sd = K.form`
7514
7588
  display: flex;
7515
7589
  flex-direction: column;
7516
7590
  flex: 1;
7517
7591
  overflow-y: hidden;
7518
- `, rd = K.section`
7592
+ `, cd = K.section`
7519
7593
  padding: var(--spacing-lg);
7520
7594
  flex: 1;
7521
7595
  overflow-y: auto;
7522
- `, id = K.footer`
7596
+ `, ld = K.footer`
7523
7597
  display: flex;
7524
7598
  justify-content: flex-end;
7525
7599
  align-items: center;
7526
7600
  padding: var(--spacing-sm);
7527
7601
  gap: var(--spacing-sm);
7528
7602
  border-top: 1px solid var(--color-content-neutral-stroke);
7529
- `, ad = ni`
7603
+ `, ud = ni`
7530
7604
  from { transform: translateX(100%); }
7531
7605
  to { transform: translateX(0); }
7532
- `, od = K(de)`
7606
+ `, dd = K(de)`
7533
7607
  position: fixed;
7534
7608
  z-index: var(--z-index-modal);
7535
7609
  top: 0;
@@ -7539,11 +7613,11 @@ var Qu = ni`
7539
7613
  background: rgba(0 12 51 / 0.7);
7540
7614
 
7541
7615
  &[data-entering] {
7542
- animation: ${Qu} 300ms;
7616
+ animation: ${rd} 300ms;
7543
7617
  }
7544
7618
 
7545
7619
  &[data-exiting] {
7546
- animation: ${Qu} 300ms reverse ease-in;
7620
+ animation: ${rd} 300ms reverse ease-in;
7547
7621
  }
7548
7622
 
7549
7623
  @media (prefers-reduced-motion: reduce) {
@@ -7552,7 +7626,7 @@ var Qu = ni`
7552
7626
  animation: none;
7553
7627
  }
7554
7628
  }
7555
- `, sd = K(ue)`
7629
+ `, fd = K(ue)`
7556
7630
  position: fixed;
7557
7631
  top: 0;
7558
7632
  right: 0;
@@ -7562,11 +7636,11 @@ var Qu = ni`
7562
7636
  outline: none;
7563
7637
 
7564
7638
  &[data-entering] {
7565
- animation: ${ad} 300ms;
7639
+ animation: ${ud} 300ms;
7566
7640
  }
7567
7641
 
7568
7642
  &[data-exiting] {
7569
- animation: ${ad} 300ms reverse ease-in;
7643
+ animation: ${ud} 300ms reverse ease-in;
7570
7644
  }
7571
7645
 
7572
7646
  @media (prefers-reduced-motion: reduce) {
@@ -7579,7 +7653,7 @@ var Qu = ni`
7579
7653
  @media screen and (max-width: 767px) {
7580
7654
  width: 100vw;
7581
7655
  }
7582
- `, cd = K(E)`
7656
+ `, pd = K(E)`
7583
7657
  outline: none;
7584
7658
  height: 100%;
7585
7659
  display: flex;
@@ -7587,19 +7661,19 @@ var Qu = ni`
7587
7661
  `;
7588
7662
  //#endregion
7589
7663
  //#region packages/components/Drawer/Drawer.tsx
7590
- function ld({ children: e, isOpen: t, onOpenChange: n, title: r, isDismissable: i = !0 }) {
7591
- return /* @__PURE__ */ R(od, {
7664
+ function md({ children: e, isOpen: t, onOpenChange: n, title: r, isDismissable: i = !0 }) {
7665
+ return /* @__PURE__ */ R(dd, {
7592
7666
  "data-design-system-component": "Drawer",
7593
7667
  isOpen: t,
7594
7668
  onOpenChange: n,
7595
7669
  isDismissable: i,
7596
7670
  isKeyboardDismissDisabled: !i,
7597
- children: /* @__PURE__ */ R(sd, { children: /* @__PURE__ */ R(cd, {
7671
+ children: /* @__PURE__ */ R(fd, { children: /* @__PURE__ */ R(pd, {
7598
7672
  "aria-label": r,
7599
- children: ({ close: t }) => /* @__PURE__ */ z(L, { children: [/* @__PURE__ */ z($u, { children: [/* @__PURE__ */ R(ed, {
7673
+ children: ({ close: t }) => /* @__PURE__ */ z(L, { children: [/* @__PURE__ */ z(id, { children: [/* @__PURE__ */ R(ad, {
7600
7674
  slot: "title",
7601
7675
  children: r
7602
- }), /* @__PURE__ */ R(td, {
7676
+ }), /* @__PURE__ */ R(od, {
7603
7677
  type: "button",
7604
7678
  onClick: t,
7605
7679
  "aria-label": "Close",
@@ -7611,7 +7685,7 @@ function ld({ children: e, isOpen: t, onOpenChange: n, title: r, isDismissable:
7611
7685
  }
7612
7686
  //#endregion
7613
7687
  //#region packages/components/EmptyState/EmptyState.styled.ts
7614
- var ud = K.div`
7688
+ var hd = K.div`
7615
7689
  width: 100%;
7616
7690
  display: flex;
7617
7691
  flex-direction: column;
@@ -7624,13 +7698,13 @@ var ud = K.div`
7624
7698
  &[data-variant="gray"] {
7625
7699
  background: var(--color-background-neutral-underground-1);
7626
7700
  }
7627
- `, dd = K.div`
7701
+ `, gd = K.div`
7628
7702
  display: flex;
7629
7703
  flex-direction: column;
7630
7704
  align-items: center;
7631
7705
  width: 100%;
7632
7706
  gap: var(--spacing-sm);
7633
- `, fd = K.div`
7707
+ `, _d = K.div`
7634
7708
  display: flex;
7635
7709
  align-items: center;
7636
7710
  justify-content: center;
@@ -7646,23 +7720,23 @@ var ud = K.div`
7646
7720
  height: 24px;
7647
7721
  color: var(--color-content-neutral-secondary);
7648
7722
  }
7649
- `, pd = K.div`
7723
+ `, vd = K.div`
7650
7724
  width: 100%;
7651
7725
  text-align: center;
7652
- `, md = K.h2`
7726
+ `, yd = K.h2`
7653
7727
  margin: 0;
7654
7728
  color: var(--color-content-neutral-secondary);
7655
7729
  font-size: var(--text-font-size-lg);
7656
7730
  line-height: var(--text-line-height-lg);
7657
7731
  font-weight: 700;
7658
7732
  text-align: center;
7659
- `, hd = K.div`
7733
+ `, bd = K.div`
7660
7734
  color: var(--color-content-neutral-secondary);
7661
7735
  font-size: var(--text-font-size-md);
7662
7736
  line-height: var(--text-line-height-md);
7663
7737
  font-weight: 400;
7664
7738
  text-align: center;
7665
- `, gd = K.div`
7739
+ `, xd = K.div`
7666
7740
  display: flex;
7667
7741
  justify-content: center;
7668
7742
  align-items: center;
@@ -7672,24 +7746,24 @@ var ud = K.div`
7672
7746
  `;
7673
7747
  //#endregion
7674
7748
  //#region packages/components/EmptyState/EmptyState.tsx
7675
- function _d({ icon: e, title: t, description: n, children: r, variant: i = "default", className: a, style: o, ...s }) {
7676
- return /* @__PURE__ */ z(ud, {
7749
+ function Sd({ icon: e, title: t, description: n, children: r, variant: i = "default", className: a, style: o, ...s }) {
7750
+ return /* @__PURE__ */ z(hd, {
7677
7751
  className: a,
7678
7752
  style: o,
7679
7753
  "data-variant": i,
7680
7754
  ...s,
7681
- children: [/* @__PURE__ */ z(dd, { children: [e && /* @__PURE__ */ R(fd, { children: /* @__PURE__ */ R(q, { name: e }) }), /* @__PURE__ */ z(pd, { children: [/* @__PURE__ */ R(md, { children: t }), n && /* @__PURE__ */ R(hd, { children: n })] })] }), r && /* @__PURE__ */ R(gd, { children: r })]
7755
+ children: [/* @__PURE__ */ z(gd, { children: [e && /* @__PURE__ */ R(_d, { children: /* @__PURE__ */ R(q, { name: e }) }), /* @__PURE__ */ z(vd, { children: [/* @__PURE__ */ R(yd, { children: t }), n && /* @__PURE__ */ R(bd, { children: n })] })] }), r && /* @__PURE__ */ R(xd, { children: r })]
7682
7756
  });
7683
7757
  }
7684
7758
  //#endregion
7685
7759
  //#region packages/components/FileUpload/components/FileDetails/FileDetails.styled.tsx
7686
- var vd = K.li`
7760
+ var Cd = K.li`
7687
7761
  display: flex;
7688
7762
  align-items: center;
7689
7763
  column-gap: var(--spacing-sm);
7690
7764
  padding: var(--spacing-xs) 0;
7691
7765
  list-style: none;
7692
- `, yd = K(q)`
7766
+ `, wd = K(q)`
7693
7767
  flex: none;
7694
7768
  font-size: var(--text-font-size-xl);
7695
7769
  color: var(--color-content-brand-brand-2);
@@ -7697,12 +7771,12 @@ var vd = K.li`
7697
7771
  &[data-is-uploading="true"] {
7698
7772
  color: var(--color-content-neutral-tertiary);
7699
7773
  }
7700
- `, bd = K.div`
7774
+ `, Td = K.div`
7701
7775
  flex: 1;
7702
7776
  max-width: 100%;
7703
7777
  white-space: nowrap;
7704
7778
  overflow: hidden;
7705
- `, xd = K.div`
7779
+ `, Ed = K.div`
7706
7780
  color: var(--color-content-neutral-primary);
7707
7781
  font-size: var(--text-font-size-sm);
7708
7782
  font-style: normal;
@@ -7711,7 +7785,7 @@ var vd = K.li`
7711
7785
  max-width: 100%;
7712
7786
  text-overflow: ellipsis;
7713
7787
  overflow: hidden;
7714
- `, Sd = K.div`
7788
+ `, Dd = K.div`
7715
7789
  color: var(--color-content-neutral-secondary);
7716
7790
  font-size: var(--text-font-size-xs);
7717
7791
  font-style: normal;
@@ -7723,19 +7797,19 @@ var vd = K.li`
7723
7797
  `;
7724
7798
  //#endregion
7725
7799
  //#region packages/components/FileUpload/components/FileDetails/FileDetails.tsx
7726
- function Cd({ id: e, fileName: t, fileSize: n, isUploading: r, onDelete: i }) {
7727
- let a = J(wd);
7728
- return /* @__PURE__ */ z(vd, {
7800
+ function Od({ id: e, fileName: t, fileSize: n, isUploading: r, onDelete: i }) {
7801
+ let a = J(kd);
7802
+ return /* @__PURE__ */ z(Cd, {
7729
7803
  id: e,
7730
7804
  children: [
7731
- /* @__PURE__ */ R(yd, {
7805
+ /* @__PURE__ */ R(wd, {
7732
7806
  name: "text_snippet",
7733
7807
  "data-is-uploading": r
7734
7808
  }),
7735
- /* @__PURE__ */ z(bd, { children: [/* @__PURE__ */ R(xd, {
7809
+ /* @__PURE__ */ z(Td, { children: [/* @__PURE__ */ R(Ed, {
7736
7810
  title: t,
7737
7811
  children: t
7738
- }), /* @__PURE__ */ R(Sd, {
7812
+ }), /* @__PURE__ */ R(Dd, {
7739
7813
  title: n,
7740
7814
  children: n
7741
7815
  })] }),
@@ -7749,7 +7823,7 @@ function Cd({ id: e, fileName: t, fileSize: n, isUploading: r, onDelete: i }) {
7749
7823
  ]
7750
7824
  });
7751
7825
  }
7752
- var wd = {
7826
+ var kd = {
7753
7827
  en: {
7754
7828
  isLoading: "Loading in progress...",
7755
7829
  delete: "Delete"
@@ -7758,14 +7832,14 @@ var wd = {
7758
7832
  isLoading: "Chargement en cours...",
7759
7833
  delete: "Supprimer"
7760
7834
  }
7761
- }, Td = K.div`
7835
+ }, Ad = K.div`
7762
7836
  width: 100%;
7763
7837
  min-width: 313px;
7764
- `, Ed = K.ul`
7838
+ `, jd = K.ul`
7765
7839
  list-style: none;
7766
7840
  margin: var(--spacing-xs) 0 0 0;
7767
7841
  padding: 0;
7768
- `, Dd = K(k)`
7842
+ `, Md = K(k)`
7769
7843
  padding: var(--spacing-xs);
7770
7844
  display: flex;
7771
7845
  align-items: center;
@@ -7794,28 +7868,28 @@ var wd = {
7794
7868
  `;
7795
7869
  //#endregion
7796
7870
  //#region internal/composeRefs/composeRefs.ts
7797
- function Od(...e) {
7798
- return e.length === 2 ? Ad(e[0], e[1]) || null : e.slice(1).reduce((e, t) => Ad(e, t), e[0]) || null;
7871
+ function Nd(...e) {
7872
+ return e.length === 2 ? Fd(e[0], e[1]) || null : e.slice(1).reduce((e, t) => Fd(e, t), e[0]) || null;
7799
7873
  }
7800
- var kd = /* @__PURE__ */ new WeakMap();
7801
- function Ad(e, t) {
7874
+ var Pd = /* @__PURE__ */ new WeakMap();
7875
+ function Fd(e, t) {
7802
7876
  if (e && t) {
7803
- let n = kd.get(e) || /* @__PURE__ */ new WeakMap();
7804
- kd.set(e, n);
7877
+ let n = Pd.get(e) || /* @__PURE__ */ new WeakMap();
7878
+ Pd.set(e, n);
7805
7879
  let r = n.get(t) || ((n) => {
7806
- jd(e, n), jd(t, n);
7880
+ Id(e, n), Id(t, n);
7807
7881
  });
7808
7882
  return n.set(t, r), r;
7809
7883
  }
7810
7884
  return e || t;
7811
7885
  }
7812
- function jd(e, t) {
7886
+ function Id(e, t) {
7813
7887
  typeof e == "function" ? e(t) : e.current = t;
7814
7888
  }
7815
7889
  //#endregion
7816
7890
  //#region packages/components/FileUpload/FileUpload.tsx
7817
- var Md = e.forwardRef(({ onSelectionChange: e, acceptedFileTypes: t, allowsMultiple: n = !1, files: r, formGroupWrapperProps: i, className: o, style: c, isDisabled: l = !1 }, u) => {
7818
- let f = J(Nd), p = d(null), m = !!r?.length && !n;
7891
+ var Ld = e.forwardRef(({ onSelectionChange: e, acceptedFileTypes: t, allowsMultiple: n = !1, files: r, formGroupWrapperProps: i, className: o, style: c, isDisabled: l = !1 }, u) => {
7892
+ let f = J(Rd), p = d(null), m = !!r?.length && !n;
7819
7893
  s(() => {
7820
7894
  i.htmlForId && p.current?.setAttribute("id", i.htmlForId);
7821
7895
  }, [i.htmlForId, p]);
@@ -7826,14 +7900,14 @@ var Md = e.forwardRef(({ onSelectionChange: e, acceptedFileTypes: t, allowsMulti
7826
7900
  m,
7827
7901
  e
7828
7902
  ]);
7829
- return /* @__PURE__ */ z(Td, {
7903
+ return /* @__PURE__ */ z(Ad, {
7830
7904
  className: o,
7831
7905
  style: c,
7832
7906
  children: [/* @__PURE__ */ R(Q, {
7833
7907
  ...i,
7834
- children: /* @__PURE__ */ z(Dd, {
7908
+ children: /* @__PURE__ */ z(Md, {
7835
7909
  isDisabled: l,
7836
- getDropOperation: (e) => m ? "cancel" : Pd(e, t),
7910
+ getDropOperation: (e) => m ? "cancel" : zd(e, t),
7837
7911
  onDrop: async (e) => {
7838
7912
  let t = [], n = e.items.filter((e) => e.kind === "file");
7839
7913
  for (let e of n) t.push(await e.getFile());
@@ -7841,7 +7915,7 @@ var Md = e.forwardRef(({ onSelectionChange: e, acceptedFileTypes: t, allowsMulti
7841
7915
  },
7842
7916
  children: [/* @__PURE__ */ R(te, {
7843
7917
  "aria-label": i.label,
7844
- ref: Od(u, p),
7918
+ ref: Nd(u, p),
7845
7919
  onSelect: (e) => {
7846
7920
  if (!e) return console.error("No file selected");
7847
7921
  let t = Array.from(e);
@@ -7859,9 +7933,9 @@ var Md = e.forwardRef(({ onSelectionChange: e, acceptedFileTypes: t, allowsMulti
7859
7933
  children: n ? f.dropHerePlural : f.dropHere
7860
7934
  })]
7861
7935
  })
7862
- }), !!r?.length && /* @__PURE__ */ R(Ed, { children: r.map((e) => /* @__PURE__ */ R(Cd, { ...e }, e.id)) })]
7936
+ }), !!r?.length && /* @__PURE__ */ R(jd, { children: r.map((e) => /* @__PURE__ */ R(Od, { ...e }, e.id)) })]
7863
7937
  });
7864
- }), Nd = {
7938
+ }), Rd = {
7865
7939
  en: {
7866
7940
  trigger: "Browse",
7867
7941
  dropHere: "Or drop your file here",
@@ -7873,7 +7947,7 @@ var Md = e.forwardRef(({ onSelectionChange: e, acceptedFileTypes: t, allowsMulti
7873
7947
  dropHerePlural: "Ou déposer vos fichiers ici"
7874
7948
  }
7875
7949
  };
7876
- function Pd(e, t) {
7950
+ function zd(e, t) {
7877
7951
  if (!t?.length) return "copy";
7878
7952
  let n = !1;
7879
7953
  return t.forEach((t) => {
@@ -7882,7 +7956,7 @@ function Pd(e, t) {
7882
7956
  }
7883
7957
  //#endregion
7884
7958
  //#region packages/components/TextInput/TextInput.styled.ts
7885
- var Fd = K.div`
7959
+ var Bd = K.div`
7886
7960
  display: inline-flex;
7887
7961
  flex-direction: column;
7888
7962
  row-gap: var(--spacing-xs);
@@ -7890,14 +7964,14 @@ var Fd = K.div`
7890
7964
  &[data-fullwidth="true"] {
7891
7965
  width: 100%;
7892
7966
  }
7893
- `, Id = K.div`
7967
+ `, Vd = K.div`
7894
7968
  display: inline-block;
7895
7969
  position: relative;
7896
7970
 
7897
7971
  &[data-fullwidth="true"] {
7898
7972
  width: 100%;
7899
7973
  }
7900
- `, Ld = K.div`
7974
+ `, Hd = K.div`
7901
7975
  position: absolute;
7902
7976
  display: flex;
7903
7977
  align-items: center;
@@ -7932,7 +8006,7 @@ var Fd = K.div`
7932
8006
  cursor: not-allowed;
7933
8007
  --color: var(--color-content-neutral-primary-reversed);
7934
8008
  }
7935
- `, Rd = K.div`
8009
+ `, Ud = K.div`
7936
8010
  color: var(--color);
7937
8011
  column-gap: var(--spacing-xxs);
7938
8012
  display: flex;
@@ -7962,7 +8036,7 @@ var Fd = K.div`
7962
8036
  &[data-nature="warning"] {
7963
8037
  --color: var(--color-content-message-warning-darker);
7964
8038
  }
7965
- `, zd = e.forwardRef(({ nature: e, inputIcon: t, label: n, labelIconRight: r, labelIconRightTooltip: i, characterCounter: a, helperText: o, helperTextIcon: s, required: l, value: u, onChange: d, disabled: f, maxLength: p, type: m = "text", fullWidth: h, wrapperProps: g, errorHelperTextIcon: _, successHelperTextIcon: v, successHelperText: y, errorHelperText: b, warningHelperText: x, warningHelperTextIcon: S, orientation: C, as: w = "input", ...T }, E) => {
8039
+ `, Wd = e.forwardRef(({ nature: e, inputIcon: t, label: n, labelIconRight: r, labelIconRightTooltip: i, characterCounter: a, helperText: o, helperTextIcon: s, required: l, value: u, onChange: d, disabled: f, maxLength: p, type: m = "text", fullWidth: h, wrapperProps: g, errorHelperTextIcon: _, successHelperTextIcon: v, successHelperText: y, errorHelperText: b, warningHelperText: x, warningHelperTextIcon: S, orientation: C, as: w = "input", ...T }, E) => {
7966
8040
  let D = c(), O = T.id || D, ee = Wl({
7967
8041
  nature: e,
7968
8042
  successHelperText: y,
@@ -7985,13 +8059,13 @@ var Fd = K.div`
7985
8059
  warningHelperTextIcon: S,
7986
8060
  orientation: C,
7987
8061
  required: l,
7988
- characterCounter: a && typeof u == "string" ? /* @__PURE__ */ z(Rd, {
8062
+ characterCounter: a && typeof u == "string" ? /* @__PURE__ */ z(Ud, {
7989
8063
  "data-nature": ee,
7990
8064
  children: [u.length, !!p && ` / ${p}`]
7991
8065
  }) : null,
7992
- children: /* @__PURE__ */ R(Fd, {
8066
+ children: /* @__PURE__ */ R(Bd, {
7993
8067
  "data-fullwidth": h,
7994
- children: /* @__PURE__ */ z(Id, {
8068
+ children: /* @__PURE__ */ z(Vd, {
7995
8069
  "data-fullwidth": h,
7996
8070
  children: [/* @__PURE__ */ R(Ll, {
7997
8071
  ...T,
@@ -8008,7 +8082,7 @@ var Fd = K.div`
8008
8082
  disabled: f,
8009
8083
  maxLength: p,
8010
8084
  "data-fullwidth": h
8011
- }), !!t && /* @__PURE__ */ R(Ld, {
8085
+ }), !!t && /* @__PURE__ */ R(Hd, {
8012
8086
  "data-nature": ee,
8013
8087
  "data-disabled": f,
8014
8088
  children: Fs(t) ? /* @__PURE__ */ R(q, { name: t }) : t
@@ -8016,29 +8090,29 @@ var Fd = K.div`
8016
8090
  })
8017
8091
  })
8018
8092
  });
8019
- }), Bd = K.div`
8093
+ }), Gd = K.div`
8020
8094
  display: flex;
8021
8095
  flex-direction: column;
8022
8096
  gap: var(--spacing-sm);
8023
8097
  margin-bottom: var(--spacing-sm);
8024
- `, Vd = K.div`
8098
+ `, Kd = K.div`
8025
8099
  display: flex;
8026
8100
  align-items: flex-end;
8027
8101
  justify-content: flex-end;
8028
8102
  gap: var(--spacing-sm);
8029
- `, Hd = K.div`
8103
+ `, qd = K.div`
8030
8104
  display: flex;
8031
8105
  align-items: center;
8032
8106
  justify-content: flex-end;
8033
8107
  gap: var(--spacing-xs);
8034
8108
  flex-wrap: wrap;
8035
- `, Ud = K(zd)`
8109
+ `, Jd = K(Wd)`
8036
8110
  width: 284px;
8037
8111
  `;
8038
8112
  //#endregion
8039
8113
  //#region packages/components/Filter/Filter.tsx
8040
- function Wd({ extraLeftContent: e, extraRightContent: t, divProps: n, onDownloadClick: r, onSettingsClick: i, table: a, searchAriaLabel: o, searchPlaceholder: s }) {
8041
- let c = J(Gd), [l, u] = f(!1), d = () => a.resetColumnFilters?.(), p = typeof a.state.globalFilter == "string", m = a.getAllColumns(), h = [], g = [];
8114
+ function Yd({ extraLeftContent: e, extraRightContent: t, divProps: n, onDownloadClick: r, onSettingsClick: i, table: a, searchAriaLabel: o, searchPlaceholder: s }) {
8115
+ let c = J(Xd), [l, u] = f(!1), d = () => a.resetColumnFilters?.(), p = typeof a.state.globalFilter == "string", m = a.getAllColumns(), h = [], g = [];
8042
8116
  return m.forEach((e) => {
8043
8117
  let t = e.columnDef.meta, n = e;
8044
8118
  if (t?.FilterInDrawer && h.push({
@@ -8059,12 +8133,12 @@ function Wd({ extraLeftContent: e, extraRightContent: t, divProps: n, onDownload
8059
8133
  });
8060
8134
  });
8061
8135
  }
8062
- }), /* @__PURE__ */ z(Bd, {
8136
+ }), /* @__PURE__ */ z(Gd, {
8063
8137
  ...n,
8064
8138
  children: [
8065
- /* @__PURE__ */ z(Vd, { children: [
8139
+ /* @__PURE__ */ z(Kd, { children: [
8066
8140
  e,
8067
- !!p && /* @__PURE__ */ R(Ud, {
8141
+ !!p && /* @__PURE__ */ R(Jd, {
8068
8142
  "aria-label": o,
8069
8143
  placeholder: s,
8070
8144
  value: a.state.globalFilter,
@@ -8091,16 +8165,16 @@ function Wd({ extraLeftContent: e, extraRightContent: t, divProps: n, onDownload
8091
8165
  }),
8092
8166
  t
8093
8167
  ] }),
8094
- g.length > 0 && /* @__PURE__ */ z(Hd, { children: [g?.map((e) => /* @__PURE__ */ R(Sl, { ...e }, e.value)), /* @__PURE__ */ R(Y, {
8168
+ g.length > 0 && /* @__PURE__ */ z(qd, { children: [g?.map((e) => /* @__PURE__ */ R(Sl, { ...e }, e.value)), /* @__PURE__ */ R(Y, {
8095
8169
  onClick: d,
8096
8170
  mode: "tertiary",
8097
8171
  text: c.reset
8098
8172
  })] }),
8099
- /* @__PURE__ */ z(ld, {
8173
+ /* @__PURE__ */ z(md, {
8100
8174
  isOpen: l,
8101
8175
  onOpenChange: u,
8102
8176
  title: c.filters,
8103
- children: [/* @__PURE__ */ R(rd, { children: h.map(({ column: e, FilterComponent: t }) => /* @__PURE__ */ R(t, { column: e }, e.id)) }), /* @__PURE__ */ z(id, { children: [/* @__PURE__ */ R(Y, {
8177
+ children: [/* @__PURE__ */ R(cd, { children: h.map(({ column: e, FilterComponent: t }) => /* @__PURE__ */ R(t, { column: e }, e.id)) }), /* @__PURE__ */ z(ld, { children: [/* @__PURE__ */ R(Y, {
8104
8178
  onClick: d,
8105
8179
  text: c.reset,
8106
8180
  mode: "secondary"
@@ -8112,7 +8186,7 @@ function Wd({ extraLeftContent: e, extraRightContent: t, divProps: n, onDownload
8112
8186
  ]
8113
8187
  });
8114
8188
  }
8115
- var Gd = {
8189
+ var Xd = {
8116
8190
  en: {
8117
8191
  download: "Download",
8118
8192
  settings: "Settings",
@@ -8132,7 +8206,7 @@ var Gd = {
8132
8206
  };
8133
8207
  //#endregion
8134
8208
  //#region packages/components/Navigation/components/AgregioSolutionsLogo.tsx
8135
- function Kd(e) {
8209
+ function Zd(e) {
8136
8210
  return /* @__PURE__ */ z("svg", {
8137
8211
  viewBox: "0 0 121 56",
8138
8212
  fill: "none",
@@ -8248,7 +8322,7 @@ function Kd(e) {
8248
8322
  }
8249
8323
  //#endregion
8250
8324
  //#region packages/components/Navigation/components/ConnectionManagementLogo.tsx
8251
- function qd(e) {
8325
+ function Qd(e) {
8252
8326
  return /* @__PURE__ */ z("svg", {
8253
8327
  viewBox: "0 0 121 56",
8254
8328
  fill: "none",
@@ -8265,7 +8339,7 @@ function qd(e) {
8265
8339
  }
8266
8340
  //#endregion
8267
8341
  //#region packages/components/Navigation/components/IrisLogo.tsx
8268
- function Jd(e) {
8342
+ function $d(e) {
8269
8343
  return /* @__PURE__ */ z("svg", {
8270
8344
  viewBox: "0 0 121 56",
8271
8345
  fill: "none",
@@ -8327,7 +8401,7 @@ function Jd(e) {
8327
8401
  }
8328
8402
  //#endregion
8329
8403
  //#region packages/components/Navigation/components/VPPLogo.tsx
8330
- function Yd(e) {
8404
+ function ef(e) {
8331
8405
  return /* @__PURE__ */ z("svg", {
8332
8406
  viewBox: "0 0 121 56",
8333
8407
  fill: "none",
@@ -8385,7 +8459,7 @@ function Yd(e) {
8385
8459
  }
8386
8460
  //#endregion
8387
8461
  //#region packages/components/Navigation/components/OBILogo.tsx
8388
- function Xd(e) {
8462
+ function tf(e) {
8389
8463
  return /* @__PURE__ */ z("svg", {
8390
8464
  viewBox: "0 0 160 56",
8391
8465
  fill: "none",
@@ -8471,18 +8545,18 @@ function Xd(e) {
8471
8545
  }
8472
8546
  //#endregion
8473
8547
  //#region packages/internal-components/Logo/Logo.tsx
8474
- function Zd({ title: e, ...t }) {
8548
+ function nf({ title: e, ...t }) {
8475
8549
  switch (e) {
8476
- case "agregio": return /* @__PURE__ */ R(Kd, { ...t });
8477
- case "connection-management": return /* @__PURE__ */ R(qd, { ...t });
8478
- case "iris": return /* @__PURE__ */ R(Jd, { ...t });
8479
- case "vpp": return /* @__PURE__ */ R(Yd, { ...t });
8480
- case "obi": return /* @__PURE__ */ R(Xd, { ...t });
8550
+ case "agregio": return /* @__PURE__ */ R(Zd, { ...t });
8551
+ case "connection-management": return /* @__PURE__ */ R(Qd, { ...t });
8552
+ case "iris": return /* @__PURE__ */ R($d, { ...t });
8553
+ case "vpp": return /* @__PURE__ */ R(ef, { ...t });
8554
+ case "obi": return /* @__PURE__ */ R(tf, { ...t });
8481
8555
  }
8482
8556
  }
8483
8557
  //#endregion
8484
8558
  //#region packages/components/Header/Header.styled.ts
8485
- var Qd = K.div`
8559
+ var rf = K.div`
8486
8560
  padding: 0;
8487
8561
 
8488
8562
  &[data-has-tabs="false"] {
@@ -8507,7 +8581,7 @@ var Qd = K.div`
8507
8581
  padding-bottom: 0;
8508
8582
  }
8509
8583
  }
8510
- `, $d = K.div`
8584
+ `, af = K.div`
8511
8585
  display: flex;
8512
8586
  justify-content: space-between;
8513
8587
  background: var(--color-background-neutral-ground-reversed);
@@ -8516,13 +8590,13 @@ var Qd = K.div`
8516
8590
  @media screen and (min-width: 768px) {
8517
8591
  display: none;
8518
8592
  }
8519
- `, ef = K.div`
8593
+ `, of = K.div`
8520
8594
  flex: 1;
8521
8595
  display: flex;
8522
8596
  align-items: center;
8523
8597
  justify-content: flex-start;
8524
8598
  padding: 0 var(--spacing-sm);
8525
- `, tf = K(Zd)`
8599
+ `, sf = K(nf)`
8526
8600
  &[data-title="agregio"] {
8527
8601
  width: 121px;
8528
8602
  height: 56px;
@@ -8543,14 +8617,14 @@ var Qd = K.div`
8543
8617
  width: calc(121px * 0.7);
8544
8618
  height: calc(56px * 0.7);
8545
8619
  }
8546
- `, nf = K.button`
8620
+ `, cf = K.button`
8547
8621
  background: var(--color-background-neutral-ground-reversed);
8548
8622
  color: var(--color-background-neutral-ground);
8549
8623
  cursor: pointer;
8550
8624
  border: none;
8551
8625
  padding: 0 var(--spacing-sm);
8552
8626
  margin-left: auto;
8553
- `, rf = K.header`
8627
+ `, lf = K.header`
8554
8628
  display: flex;
8555
8629
  flex-direction: column-reverse;
8556
8630
  align-items: flex-start;
@@ -8565,15 +8639,15 @@ var Qd = K.div`
8565
8639
  padding-bottom: var(--spacing-xs);
8566
8640
  }
8567
8641
  }
8568
- `, af = K.div`
8642
+ `, uf = K.div`
8569
8643
  flex: 1;
8570
- `, of = K.div`
8644
+ `, df = K.div`
8571
8645
  display: none;
8572
8646
 
8573
8647
  @media screen and (min-width: 768px) {
8574
8648
  display: block;
8575
8649
  }
8576
- `, sf = K.div`
8650
+ `, ff = K.div`
8577
8651
  display: flex;
8578
8652
  column-gap: var(--spacing-sm);
8579
8653
  margin-top: var(--spacing-sm);
@@ -8585,7 +8659,7 @@ var Qd = K.div`
8585
8659
  @media screen and (min-width: 768px) {
8586
8660
  margin-top: 0;
8587
8661
  }
8588
- `, cf = K.h1`
8662
+ `, pf = K.h1`
8589
8663
  margin: 0;
8590
8664
  padding: 0;
8591
8665
  color: var(--color-content-neutral-primary);
@@ -8593,11 +8667,11 @@ var Qd = K.div`
8593
8667
  line-height: var(--text-line-height-2xl);
8594
8668
  font-style: normal;
8595
8669
  font-weight: 700;
8596
- `, lf = K.div`
8670
+ `, mf = K.div`
8597
8671
  display: flex;
8598
8672
  column-gap: var(--spacing-xs);
8599
8673
  align-items: center;
8600
- `, uf = K.div`
8674
+ `, hf = K.div`
8601
8675
  display: flex;
8602
8676
  align-self: flex-end;
8603
8677
  column-gap: var(--spacing-xs);
@@ -8607,9 +8681,9 @@ var Qd = K.div`
8607
8681
  align-self: flex-start;
8608
8682
  padding-right: 0;
8609
8683
  }
8610
- `, df = n(void 0), ff = () => o(df), pf = ({ children: e, initialIsCollapsed: t = !0 }) => {
8684
+ `, gf = n(void 0), _f = () => o(gf), vf = ({ children: e, initialIsCollapsed: t = !0 }) => {
8611
8685
  let [n, r] = f(t);
8612
- return /* @__PURE__ */ R(df.Provider, {
8686
+ return /* @__PURE__ */ R(gf.Provider, {
8613
8687
  value: {
8614
8688
  isCollapsed: n,
8615
8689
  setIsCollapsed: r
@@ -8619,30 +8693,30 @@ var Qd = K.div`
8619
8693
  };
8620
8694
  //#endregion
8621
8695
  //#region packages/components/Header/Header.tsx
8622
- function mf({ title: e, subtitle: t, tagComponent: n, logo: r, onGoBack: i, breadcrumbsComponent: a, helperIconComponent: o, notificationIconComponent: s, additionalActions: c, tabsComponent: l, ...u }) {
8623
- let d = J(hf), f = ff(), p = !!o || !!s || !!c;
8624
- return /* @__PURE__ */ z(L, { children: [/* @__PURE__ */ z(Qd, {
8696
+ function yf({ title: e, subtitle: t, tagComponent: n, logo: r, onGoBack: i, breadcrumbsComponent: a, helperIconComponent: o, notificationIconComponent: s, additionalActions: c, tabsComponent: l, ...u }) {
8697
+ let d = J(bf), f = _f(), p = !!o || !!s || !!c;
8698
+ return /* @__PURE__ */ z(L, { children: [/* @__PURE__ */ z(rf, {
8625
8699
  "data-has-tabs": !!l,
8626
8700
  ...u,
8627
- children: [/* @__PURE__ */ z($d, { children: [r && /* @__PURE__ */ R(ef, { children: /* @__PURE__ */ R(tf, {
8701
+ children: [/* @__PURE__ */ z(af, { children: [r && /* @__PURE__ */ R(of, { children: /* @__PURE__ */ R(sf, {
8628
8702
  title: r,
8629
8703
  "data-title": r
8630
- }) }), f && /* @__PURE__ */ R(nf, {
8704
+ }) }), f && /* @__PURE__ */ R(cf, {
8631
8705
  type: "button",
8632
8706
  "aria-label": d.menuMobile,
8633
8707
  onClick: () => f.setIsCollapsed((e) => !e),
8634
8708
  children: /* @__PURE__ */ R(q, { name: "menu" })
8635
- })] }), /* @__PURE__ */ z(rf, {
8709
+ })] }), /* @__PURE__ */ z(lf, {
8636
8710
  "data-has-tabs": !!l,
8637
- children: [/* @__PURE__ */ z(af, { children: [/* @__PURE__ */ R(of, { children: a }), /* @__PURE__ */ z(sf, {
8711
+ children: [/* @__PURE__ */ z(uf, { children: [/* @__PURE__ */ R(df, { children: a }), /* @__PURE__ */ z(ff, {
8638
8712
  "data-has-breadcrumbs": !!a,
8639
8713
  children: [i && /* @__PURE__ */ R("div", { children: /* @__PURE__ */ R(Y, {
8640
8714
  onClick: i,
8641
8715
  iconLeft: "arrow_back",
8642
8716
  mode: "tertiary",
8643
8717
  "aria-label": d.goBack
8644
- }) }), /* @__PURE__ */ z("div", { children: [/* @__PURE__ */ R(cf, { children: e }), /* @__PURE__ */ z(lf, { children: [!!n && /* @__PURE__ */ R("div", { children: n }), !!t && /* @__PURE__ */ R("div", { children: t })] })] })]
8645
- })] }), p && /* @__PURE__ */ z(uf, { children: [
8718
+ }) }), /* @__PURE__ */ z("div", { children: [/* @__PURE__ */ R(pf, { children: e }), /* @__PURE__ */ z(mf, { children: [!!n && /* @__PURE__ */ R("div", { children: n }), !!t && /* @__PURE__ */ R("div", { children: t })] })] })]
8719
+ })] }), p && /* @__PURE__ */ z(hf, { children: [
8646
8720
  o,
8647
8721
  s,
8648
8722
  c
@@ -8650,7 +8724,7 @@ function mf({ title: e, subtitle: t, tagComponent: n, logo: r, onGoBack: i, brea
8650
8724
  })]
8651
8725
  }), l] });
8652
8726
  }
8653
- var hf = {
8727
+ var bf = {
8654
8728
  en: {
8655
8729
  goBack: "Go back",
8656
8730
  menuMobile: "Mobile menu"
@@ -8659,11 +8733,11 @@ var hf = {
8659
8733
  goBack: "Retour",
8660
8734
  menuMobile: "Menu mobile"
8661
8735
  }
8662
- }, gf = K.aside`
8736
+ }, xf = K.aside`
8663
8737
  display: flex;
8664
8738
  flex-direction: column;
8665
8739
  gap: var(--spacing-xs);
8666
- `, _f = K.header`
8740
+ `, Sf = K.header`
8667
8741
  display: flex;
8668
8742
  align-items: center;
8669
8743
  justify-content: space-between;
@@ -8672,7 +8746,7 @@ var hf = {
8672
8746
  font-style: normal;
8673
8747
  font-weight: 400;
8674
8748
  line-height: 20px;
8675
- `, vf = K.div`
8749
+ `, Cf = K.div`
8676
8750
  flex: none;
8677
8751
  display: flex;
8678
8752
  align-items: center;
@@ -8689,7 +8763,7 @@ var hf = {
8689
8763
  &[data-nature="positive"] {
8690
8764
  background: var(--color-content-message-positive);
8691
8765
  }
8692
- `, yf = K.div`
8766
+ `, wf = K.div`
8693
8767
  background: var(--color-content-neutral-stroke);
8694
8768
  width: 100%;
8695
8769
  height: 8px;
@@ -8697,7 +8771,7 @@ var hf = {
8697
8771
  &[data-size="small"] {
8698
8772
  height: 4px;
8699
8773
  }
8700
- `, bf = K.div`
8774
+ `, Tf = K.div`
8701
8775
  background-color: var(--color-content-action-action);
8702
8776
  height: 100%;
8703
8777
 
@@ -8714,7 +8788,7 @@ var hf = {
8714
8788
  &[data-nature="positive"] {
8715
8789
  background: var(--color-content-message-positive);
8716
8790
  }
8717
- `, xf = K.footer`
8791
+ `, Ef = K.footer`
8718
8792
  display: flex;
8719
8793
  justify-content: space-between;
8720
8794
  align-items: flex-start;
@@ -8730,24 +8804,24 @@ var hf = {
8730
8804
  `;
8731
8805
  //#endregion
8732
8806
  //#region packages/components/LinearProgressBar/LinearProgressBar.tsx
8733
- function Sf({ title: e, percentage: t = 0, description: n, hidePercentValue: r = !1, size: i = "medium", nature: a = "default", hideStatusIcon: o = !1, ...s }) {
8807
+ function Df({ title: e, percentage: t = 0, description: n, hidePercentValue: r = !1, size: i = "medium", nature: a = "default", hideStatusIcon: o = !1, ...s }) {
8734
8808
  let c = Math.round(Math.min(Math.max(t, 0), 100)), l = a === "negative" && !o, u = a === "positive" && !o;
8735
- return /* @__PURE__ */ z(gf, {
8809
+ return /* @__PURE__ */ z(xf, {
8736
8810
  ...s,
8737
8811
  children: [
8738
- !!e && /* @__PURE__ */ z(_f, { children: [e, (l || u) && /* @__PURE__ */ z(vf, {
8812
+ !!e && /* @__PURE__ */ z(Sf, { children: [e, (l || u) && /* @__PURE__ */ z(Cf, {
8739
8813
  "data-nature": a,
8740
8814
  children: [l && /* @__PURE__ */ R(q, { name: "close" }), u && /* @__PURE__ */ R(q, { name: "check" })]
8741
8815
  })] }),
8742
- /* @__PURE__ */ R(yf, {
8816
+ /* @__PURE__ */ R(wf, {
8743
8817
  "data-testid": `progress-bar-${e}`,
8744
8818
  "data-size": i,
8745
- children: /* @__PURE__ */ R(bf, {
8819
+ children: /* @__PURE__ */ R(Tf, {
8746
8820
  style: { width: `${c}%` },
8747
8821
  "data-nature": a
8748
8822
  })
8749
8823
  }),
8750
- /* @__PURE__ */ z(xf, {
8824
+ /* @__PURE__ */ z(Ef, {
8751
8825
  "data-nature": a,
8752
8826
  children: [/* @__PURE__ */ R("div", { children: n }), !r && /* @__PURE__ */ z("div", { children: [c, "%"] })]
8753
8827
  })
@@ -8756,7 +8830,7 @@ function Sf({ title: e, percentage: t = 0, description: n, hidePercentValue: r =
8756
8830
  }
8757
8831
  //#endregion
8758
8832
  //#region packages/components/Link/Link.styled.ts
8759
- var Cf = K.span`
8833
+ var Of = K.span`
8760
8834
  color: inherit;
8761
8835
  text-decoration: underline;
8762
8836
  text-underline-offset: 5px;
@@ -8764,7 +8838,7 @@ var Cf = K.span`
8764
8838
  line-height: var(--text-line-height-md);
8765
8839
  font-weight: 700;
8766
8840
  font-style: normal;
8767
- `, wf = K(P)`
8841
+ `, kf = K(P)`
8768
8842
  display: inline-flex;
8769
8843
  justify-content: center;
8770
8844
  align-items: center;
@@ -8772,7 +8846,7 @@ var Cf = K.span`
8772
8846
  text-decoration: none;
8773
8847
  color: var(--color);
8774
8848
 
8775
- &:hover ${Cf} {
8849
+ &:hover ${Of} {
8776
8850
  background-color: var(--background-color);
8777
8851
  }
8778
8852
 
@@ -8796,14 +8870,14 @@ var Cf = K.span`
8796
8870
  --color: var(--color-content-message-warning-darker);
8797
8871
  --background-color: var(--color-content-message-warning-lighter);
8798
8872
  }
8799
- `, Tf = K(q)`
8873
+ `, Af = K(q)`
8800
8874
  font-size: var(--text-font-size-xl);
8801
- `, Ef = ({ children: e, showLinkIcon: t = !1, nature: n = "default", onClick: r, ...i }) => /* @__PURE__ */ z(wf, {
8875
+ `, jf = ({ children: e, showLinkIcon: t = !1, nature: n = "default", onClick: r, ...i }) => /* @__PURE__ */ z(kf, {
8802
8876
  ...i,
8803
8877
  "data-nature": n,
8804
8878
  onPress: r,
8805
- children: [/* @__PURE__ */ R(Cf, { children: e }), t && /* @__PURE__ */ R(Tf, { name: "link" })]
8806
- }), Df = K(ae)`
8879
+ children: [/* @__PURE__ */ R(Of, { children: e }), t && /* @__PURE__ */ R(Af, { name: "link" })]
8880
+ }), Mf = K(ae)`
8807
8881
  display: flex;
8808
8882
  align-items: center;
8809
8883
  padding: var(--spacing-xs) var(--spacing-sm);
@@ -8823,24 +8897,24 @@ var Cf = K.span`
8823
8897
  background-color: var(--color-content-action-action-lighter);
8824
8898
  outline: none;
8825
8899
  }
8826
- `, Of = K(q)`
8900
+ `, Nf = K(q)`
8827
8901
  width: 24px;
8828
8902
  height: 24px;
8829
8903
  flex-shrink: 0;
8830
8904
  color: var(--color-content-neutral-tertiary);
8831
8905
 
8832
- ${Df}:not([data-disabled="true"]):hover &,
8833
- ${Df}:not([data-disabled="true"])[data-focused="true"] & {
8906
+ ${Mf}:not([data-disabled="true"]):hover &,
8907
+ ${Mf}:not([data-disabled="true"])[data-focused="true"] & {
8834
8908
  color: var(--color-content-action-action);
8835
8909
  }
8836
- `, kf = K.div`
8910
+ `, Pf = K.div`
8837
8911
  display: flex;
8838
8912
  flex-direction: column;
8839
8913
  flex: 1;
8840
8914
  min-width: 0; /* Allows text truncation if needed */
8841
8915
  overflow: hidden;
8842
8916
  max-width: 100%;
8843
- `, Af = K(I)`
8917
+ `, Ff = K(I)`
8844
8918
  color: var(--color-content-neutral-secondary);
8845
8919
  font-size: var(--text-font-size-md);
8846
8920
  line-height: var(--text-line-height-md);
@@ -8851,11 +8925,11 @@ var Cf = K.span`
8851
8925
  text-overflow: ellipsis;
8852
8926
 
8853
8927
  /* Hover state - title becomes action color */
8854
- ${Df}:not([data-disabled="true"]):hover &,
8855
- ${Df}:not([data-disabled="true"])[data-focused="true"] & {
8928
+ ${Mf}:not([data-disabled="true"]):hover &,
8929
+ ${Mf}:not([data-disabled="true"])[data-focused="true"] & {
8856
8930
  color: var(--color-content-action-action);
8857
8931
  }
8858
- `, jf = K(I)`
8932
+ `, If = K(I)`
8859
8933
  color: var(--color-content-neutral-secondary);
8860
8934
  font-size: var(--text-font-size-md);
8861
8935
  line-height: var(--text-line-height-md);
@@ -8864,7 +8938,7 @@ var Cf = K.span`
8864
8938
  white-space: nowrap;
8865
8939
  overflow: hidden;
8866
8940
  text-overflow: ellipsis;
8867
- `, Mf = K(A)`
8941
+ `, Lf = K(A)`
8868
8942
  display: flex;
8869
8943
  align-items: center;
8870
8944
  width: 100%;
@@ -8884,13 +8958,13 @@ var Cf = K.span`
8884
8958
  text-overflow: ellipsis;
8885
8959
  max-width: 100%;
8886
8960
  }
8887
- `, Nf = K(oe)`
8961
+ `, Rf = K(oe)`
8888
8962
  border-top: var(--stroke-default) solid var(--color-content-neutral-stroke);
8889
8963
 
8890
8964
  &:first-child {
8891
8965
  border-top: none;
8892
8966
  }
8893
- `, Pf = K.span`
8967
+ `, zf = K.span`
8894
8968
  // Core styles, here is the only place where CSS variables are *used*
8895
8969
  display: inline-flex;
8896
8970
  align-items: center;
@@ -9046,26 +9120,26 @@ var Cf = K.span`
9046
9120
  --color: var(--color-content-neutral-primary-reversed);
9047
9121
  }
9048
9122
  }
9049
- `, Ff = K(q)`
9123
+ `, Bf = K(q)`
9050
9124
  flex: none;
9051
9125
  margin-right: var(--spacing-xxs);
9052
9126
  font-size: var(--text-font-size-md);
9053
9127
  line-height: var(--text-font-size-md);
9054
9128
  width: var(--text-font-size-md);
9055
9129
  height: var(--text-font-size-md);
9056
- `, If = e.forwardRef(({ children: e, nature: t = "default", mode: n = "default", iconLeft: r, ...i }, a) => /* @__PURE__ */ z(Pf, {
9130
+ `, Vf = e.forwardRef(({ children: e, nature: t = "default", mode: n = "default", iconLeft: r, ...i }, a) => /* @__PURE__ */ z(zf, {
9057
9131
  "data-design-system-component": "Tag",
9058
9132
  "data-nature": t,
9059
9133
  "data-mode": n,
9060
9134
  "data-have-icon": !!r,
9061
9135
  ref: a,
9062
9136
  ...i,
9063
- children: [!!r && /* @__PURE__ */ R(Ff, { name: r }), e]
9137
+ children: [!!r && /* @__PURE__ */ R(Bf, { name: r }), e]
9064
9138
  }));
9065
9139
  //#endregion
9066
9140
  //#region packages/components/List/components/ListItem/ListItem.tsx
9067
- function Lf({ title: e, subtitle: t, tagProps: n, icon: r, id: i, onAction: a, isDisabled: o, href: s, target: c, download: l, routerOptions: u, ...d }) {
9068
- return /* @__PURE__ */ z(Df, {
9141
+ function Hf({ title: e, subtitle: t, tagProps: n, icon: r, id: i, onAction: a, isDisabled: o, href: s, target: c, download: l, routerOptions: u, ...d }) {
9142
+ return /* @__PURE__ */ z(Mf, {
9069
9143
  ...d,
9070
9144
  id: i,
9071
9145
  onAction: a,
@@ -9076,54 +9150,54 @@ function Lf({ title: e, subtitle: t, tagProps: n, icon: r, id: i, onAction: a, i
9076
9150
  download: l,
9077
9151
  routerOptions: u,
9078
9152
  children: [
9079
- !!r && /* @__PURE__ */ R(Of, { name: r }),
9080
- /* @__PURE__ */ z(kf, { children: [/* @__PURE__ */ R(Af, {
9153
+ !!r && /* @__PURE__ */ R(Nf, { name: r }),
9154
+ /* @__PURE__ */ z(Pf, { children: [/* @__PURE__ */ R(Ff, {
9081
9155
  slot: "label",
9082
9156
  children: e
9083
- }), /* @__PURE__ */ R(jf, {
9157
+ }), /* @__PURE__ */ R(If, {
9084
9158
  slot: "description",
9085
9159
  children: t
9086
9160
  })] }),
9087
- !!n && /* @__PURE__ */ R(If, { ...n })
9161
+ !!n && /* @__PURE__ */ R(Vf, { ...n })
9088
9162
  ]
9089
9163
  });
9090
9164
  }
9091
9165
  //#endregion
9092
9166
  //#region packages/components/List/List.tsx
9093
- function Rf({ sections: e, renderEmptyState: t, disabledIds: n, ...r }) {
9167
+ function Uf({ sections: e, renderEmptyState: t, disabledIds: n, ...r }) {
9094
9168
  let i = e.filter((e) => !!e.items.length);
9095
9169
  return i.length === 0 && !t ? null : /* @__PURE__ */ R(ie, {
9096
9170
  ...r,
9097
9171
  renderEmptyState: t,
9098
9172
  disabledKeys: n,
9099
9173
  items: i,
9100
- children: (e) => /* @__PURE__ */ z(Nf, {
9174
+ children: (e) => /* @__PURE__ */ z(Rf, {
9101
9175
  id: e.id,
9102
- children: [!!e.title && /* @__PURE__ */ R(Mf, { children: /* @__PURE__ */ R("span", { children: e.title }) }), /* @__PURE__ */ R(b, {
9176
+ children: [!!e.title && /* @__PURE__ */ R(Lf, { children: /* @__PURE__ */ R("span", { children: e.title }) }), /* @__PURE__ */ R(b, {
9103
9177
  items: e.items,
9104
- children: (e) => /* @__PURE__ */ R(Lf, { ...e })
9178
+ children: (e) => /* @__PURE__ */ R(Hf, { ...e })
9105
9179
  })]
9106
9180
  })
9107
9181
  });
9108
9182
  }
9109
9183
  //#endregion
9110
9184
  //#region packages/components/Menu/Menu.styled.ts
9111
- var zf = le, Bf = me, Vf = K(se)`
9185
+ var Wf = le, Gf = me, Kf = K(se)`
9112
9186
  ${bc};
9113
9187
  z-index: var(--z-index-dropdown);
9114
9188
  outline: none;
9115
9189
  `;
9116
9190
  //#endregion
9117
9191
  //#region packages/components/Menu/Menu.tsx
9118
- function Hf({ children: e, buttonProps: t, isOpen: n, onOpenChange: r, defaultOpen: i, placement: a = "bottom", tallDropdown: o }) {
9119
- return /* @__PURE__ */ z(zf, {
9192
+ function qf({ children: e, buttonProps: t, isOpen: n, onOpenChange: r, defaultOpen: i, placement: a = "bottom", tallDropdown: o }) {
9193
+ return /* @__PURE__ */ z(Wf, {
9120
9194
  isOpen: n,
9121
9195
  onOpenChange: r,
9122
9196
  defaultOpen: i,
9123
- children: [/* @__PURE__ */ R(Y, { ...t }), /* @__PURE__ */ R(Bf, {
9197
+ children: [/* @__PURE__ */ R(Y, { ...t }), /* @__PURE__ */ R(Gf, {
9124
9198
  offset: 8,
9125
9199
  placement: a,
9126
- children: /* @__PURE__ */ R(Vf, {
9200
+ children: /* @__PURE__ */ R(Kf, {
9127
9201
  "data-tall": o || void 0,
9128
9202
  children: e
9129
9203
  })
@@ -9132,7 +9206,7 @@ function Hf({ children: e, buttonProps: t, isOpen: n, onOpenChange: r, defaultOp
9132
9206
  }
9133
9207
  //#endregion
9134
9208
  //#region packages/components/MenuItem/MenuItem.tsx
9135
- function Uf({ text: e, iconRight: t, iconLeft: n, href: r, routerOptions: i, onClick: a, isDisabled: o, style: s, className: c, ...l }) {
9209
+ function Jf({ text: e, iconRight: t, iconLeft: n, href: r, routerOptions: i, onClick: a, isDisabled: o, style: s, className: c, ...l }) {
9136
9210
  return /* @__PURE__ */ R(ce, {
9137
9211
  ...l,
9138
9212
  textValue: e,
@@ -9160,7 +9234,7 @@ function Uf({ text: e, iconRight: t, iconLeft: n, href: r, routerOptions: i, onC
9160
9234
  }
9161
9235
  //#endregion
9162
9236
  //#region packages/components/Message/Message.styled.ts
9163
- var Wf = K.div`
9237
+ var Yf = K.div`
9164
9238
  display: flex;
9165
9239
  flex: 1;
9166
9240
  padding: var(--spacing-xs) var(--spacing-xs) var(--spacing-sm)
@@ -9191,7 +9265,7 @@ var Wf = K.div`
9191
9265
  background: var(--color-content-message-informative-lighter);
9192
9266
  color: var(--color-content-message-informative-darkest);
9193
9267
  }
9194
- `, Gf = K.div`
9268
+ `, Xf = K.div`
9195
9269
  padding-top: var(--spacing-xs);
9196
9270
  flex: 1;
9197
9271
  word-break: break-word;
@@ -9199,12 +9273,12 @@ var Wf = K.div`
9199
9273
  &[data-has-close="false"] {
9200
9274
  padding-right: var(--spacing-sm);
9201
9275
  }
9202
- `, Kf = K.div`
9276
+ `, Zf = K.div`
9203
9277
  margin-bottom: var(--spacing-xs);
9204
9278
  font-size: var(--text-font-size-md);
9205
9279
  font-weight: 700;
9206
9280
  line-height: var(--text-line-height-md);
9207
- `, qf = K.div`
9281
+ `, Qf = K.div`
9208
9282
  font-size: var(--text-font-size-sm);
9209
9283
  font-style: normal;
9210
9284
  font-weight: 400;
@@ -9213,7 +9287,7 @@ var Wf = K.div`
9213
9287
  &[data-has-title="false"] {
9214
9288
  margin-top: 2px; // Minor alignment fix because the line-height of the content is smaller than the line-height icon on the left
9215
9289
  }
9216
- `, Jf = K(q)`
9290
+ `, $f = K(q)`
9217
9291
  display: none;
9218
9292
 
9219
9293
  @media screen and (min-width: 768px) {
@@ -9222,7 +9296,7 @@ var Wf = K.div`
9222
9296
  flex: none;
9223
9297
  font-size: var(--text-font-size-xl);
9224
9298
  }
9225
- `, Yf = K.div`
9299
+ `, ep = K.div`
9226
9300
  margin-top: var(--spacing-sm);
9227
9301
  display: flex;
9228
9302
  flex-direction: column;
@@ -9235,7 +9309,7 @@ var Wf = K.div`
9235
9309
  align-items: center;
9236
9310
  justify-content: flex-start;
9237
9311
  }
9238
- `, Xf = K.button`
9312
+ `, tp = K.button`
9239
9313
  background: none;
9240
9314
  border: none;
9241
9315
  padding: var(--spacing-xs);
@@ -9252,11 +9326,11 @@ var Wf = K.div`
9252
9326
  `;
9253
9327
  //#endregion
9254
9328
  //#region packages/components/Message/Message.tsx
9255
- function Zf({ children: e, title: t, nature: n = "negative", actions: i, onClose: a, className: o, style: s, autoHide: l = !1 }) {
9256
- let [u, d] = f(!1), p = c(), m = J(Qf);
9329
+ function np({ children: e, title: t, nature: n = "negative", actions: i, onClose: a, className: o, style: s, autoHide: l = !1 }) {
9330
+ let [u, d] = f(!1), p = c(), m = J(rp);
9257
9331
  if (u) return null;
9258
9332
  let h = `${p}-description`, g = `${p}-title`, _ = !!i?.length, v = !!a || !!l;
9259
- return /* @__PURE__ */ z(Wf, {
9333
+ return /* @__PURE__ */ z(Yf, {
9260
9334
  role: "alert",
9261
9335
  "aria-describedby": h,
9262
9336
  "aria-labelledby": g,
@@ -9264,23 +9338,23 @@ function Zf({ children: e, title: t, nature: n = "negative", actions: i, onClose
9264
9338
  className: o,
9265
9339
  style: s,
9266
9340
  children: [
9267
- /* @__PURE__ */ R(Jf, {
9341
+ /* @__PURE__ */ R($f, {
9268
9342
  "aria-hidden": "true",
9269
- name: $f(n)
9343
+ name: ip(n)
9270
9344
  }),
9271
- /* @__PURE__ */ z(Gf, {
9345
+ /* @__PURE__ */ z(Xf, {
9272
9346
  id: h,
9273
9347
  "data-has-close": v,
9274
9348
  children: [
9275
- t && /* @__PURE__ */ R(Kf, {
9349
+ t && /* @__PURE__ */ R(Zf, {
9276
9350
  id: g,
9277
9351
  children: t
9278
9352
  }),
9279
- /* @__PURE__ */ R(qf, {
9353
+ /* @__PURE__ */ R(Qf, {
9280
9354
  "data-has-title": !!t,
9281
9355
  children: e
9282
9356
  }),
9283
- _ && /* @__PURE__ */ R(Yf, { children: i.map((e) => /* @__PURE__ */ r(Y, {
9357
+ _ && /* @__PURE__ */ R(ep, { children: i.map((e) => /* @__PURE__ */ r(Y, {
9284
9358
  ...e,
9285
9359
  key: e.text,
9286
9360
  nature: n,
@@ -9288,7 +9362,7 @@ function Zf({ children: e, title: t, nature: n = "negative", actions: i, onClose
9288
9362
  })) })
9289
9363
  ]
9290
9364
  }),
9291
- v && /* @__PURE__ */ R(Xf, {
9365
+ v && /* @__PURE__ */ R(tp, {
9292
9366
  type: "button",
9293
9367
  "aria-label": m.close,
9294
9368
  onClick: () => {
@@ -9299,10 +9373,10 @@ function Zf({ children: e, title: t, nature: n = "negative", actions: i, onClose
9299
9373
  ]
9300
9374
  });
9301
9375
  }
9302
- var Qf = {
9376
+ var rp = {
9303
9377
  en: { close: "Close alert" },
9304
9378
  fr: { close: "Fermer l'alerte" }
9305
- }, $f = (e) => e === "positive" ? "check_circle_outline" : e === "warning" ? "warning_amber" : e === "informative" ? "help_outline" : "error_outline", ep = ni`
9379
+ }, ip = (e) => e === "positive" ? "check_circle_outline" : e === "warning" ? "warning_amber" : e === "informative" ? "help_outline" : "error_outline", ap = ni`
9306
9380
  from {
9307
9381
  transform: translate(-50%, -40%) scale(0.9);
9308
9382
  opacity: 0;
@@ -9311,7 +9385,7 @@ var Qf = {
9311
9385
  transform: translate(-50%, -50%) scale(1);
9312
9386
  opacity: 1;
9313
9387
  }
9314
- `, tp = K(de)`
9388
+ `, op = K(de)`
9315
9389
  position: fixed;
9316
9390
  z-index: var(--z-index-modal);
9317
9391
  top: 0;
@@ -9321,11 +9395,11 @@ var Qf = {
9321
9395
  background: rgba(0 12 51 / 0.7);
9322
9396
 
9323
9397
  &[data-entering] {
9324
- animation: ${Qu} 100ms;
9398
+ animation: ${rd} 100ms;
9325
9399
  }
9326
9400
 
9327
9401
  &[data-exiting] {
9328
- animation: ${Qu} 100ms reverse ease-in;
9402
+ animation: ${rd} 100ms reverse ease-in;
9329
9403
  }
9330
9404
 
9331
9405
  @media (prefers-reduced-motion: reduce) {
@@ -9334,7 +9408,7 @@ var Qf = {
9334
9408
  animation: none;
9335
9409
  }
9336
9410
  }
9337
- `, np = K(ue)`
9411
+ `, sp = K(ue)`
9338
9412
  position: fixed;
9339
9413
  top: 50%;
9340
9414
  left: 50%;
@@ -9346,11 +9420,11 @@ var Qf = {
9346
9420
  overflow: hidden;
9347
9421
 
9348
9422
  &[data-entering] {
9349
- animation: ${ep} 100ms;
9423
+ animation: ${ap} 100ms;
9350
9424
  }
9351
9425
 
9352
9426
  &[data-exiting] {
9353
- animation: ${ep} 100ms reverse ease-in;
9427
+ animation: ${ap} 100ms reverse ease-in;
9354
9428
  }
9355
9429
 
9356
9430
  @media (prefers-reduced-motion: reduce) {
@@ -9359,7 +9433,7 @@ var Qf = {
9359
9433
  animation: none;
9360
9434
  }
9361
9435
  }
9362
- `, rp = K(E)`
9436
+ `, cp = K(E)`
9363
9437
  outline: none;
9364
9438
  max-height: calc(100vh - var(--spacing-md));
9365
9439
  display: flex;
@@ -9367,21 +9441,21 @@ var Qf = {
9367
9441
  `;
9368
9442
  //#endregion
9369
9443
  //#region packages/components/Modal/Modal.tsx
9370
- function ip({ children: e, isOpen: t, onOpenChange: n, title: r, isDismissable: i = !0, width: a }) {
9371
- return /* @__PURE__ */ R(tp, {
9444
+ function lp({ children: e, isOpen: t, onOpenChange: n, title: r, isDismissable: i = !0, width: a }) {
9445
+ return /* @__PURE__ */ R(op, {
9372
9446
  "data-design-system-component": "Modal",
9373
9447
  isOpen: t,
9374
9448
  onOpenChange: n,
9375
9449
  isDismissable: i,
9376
9450
  isKeyboardDismissDisabled: !i,
9377
- children: /* @__PURE__ */ R(np, {
9451
+ children: /* @__PURE__ */ R(sp, {
9378
9452
  style: { "--modal-width": a || "800px" },
9379
- children: /* @__PURE__ */ R(rp, {
9453
+ children: /* @__PURE__ */ R(cp, {
9380
9454
  "aria-label": r,
9381
- children: ({ close: t }) => /* @__PURE__ */ z(L, { children: [/* @__PURE__ */ z($u, { children: [/* @__PURE__ */ R(ed, {
9455
+ children: ({ close: t }) => /* @__PURE__ */ z(L, { children: [/* @__PURE__ */ z(id, { children: [/* @__PURE__ */ R(ad, {
9382
9456
  slot: "title",
9383
9457
  children: r
9384
- }), /* @__PURE__ */ R(td, {
9458
+ }), /* @__PURE__ */ R(od, {
9385
9459
  type: "button",
9386
9460
  onClick: t,
9387
9461
  "aria-label": "Close",
@@ -9394,7 +9468,7 @@ function ip({ children: e, isOpen: t, onOpenChange: n, title: r, isDismissable:
9394
9468
  }
9395
9469
  //#endregion
9396
9470
  //#region packages/components/Navigation/Navigation.styled.ts
9397
- var ap = K.div`
9471
+ var up = K.div`
9398
9472
  display: flex;
9399
9473
  height: 100vh;
9400
9474
  width: 280px;
@@ -9415,7 +9489,7 @@ var ap = K.div`
9415
9489
  padding-left: 0;
9416
9490
  }
9417
9491
  }
9418
- `, op = K.header`
9492
+ `, dp = K.header`
9419
9493
  display: flex;
9420
9494
  margin-bottom: var(--spacing-lg);
9421
9495
  padding: var(--spacing-xs) var(--spacing-xs) var(--spacing-xs) 0;
@@ -9429,7 +9503,7 @@ var ap = K.div`
9429
9503
  @media screen and (max-width: 767px) {
9430
9504
  padding: 0;
9431
9505
  }
9432
- `, sp = K(m)`
9506
+ `, fp = K(m)`
9433
9507
  all: unset;
9434
9508
  display: inline-flex;
9435
9509
  padding: var(--spacing-sm);
@@ -9451,7 +9525,7 @@ var ap = K.div`
9451
9525
  @media screen and (max-width: 767px) {
9452
9526
  display: none;
9453
9527
  }
9454
- `, cp = K(sp)`
9528
+ `, pp = K(fp)`
9455
9529
  padding: var(--spacing-xs);
9456
9530
 
9457
9531
  @media screen and (max-width: 767px) {
@@ -9461,9 +9535,9 @@ var ap = K.div`
9461
9535
  @media screen and (min-width: 768px) {
9462
9536
  display: none !important;
9463
9537
  }
9464
- `, lp = K.nav`
9538
+ `, mp = K.nav`
9465
9539
  flex: 1;
9466
- `, up = K.div`
9540
+ `, hp = K.div`
9467
9541
  margin: var(--spacing-sm) 0 0 0;
9468
9542
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-sm)
9469
9543
  var(--spacing-sm);
@@ -9479,19 +9553,19 @@ var ap = K.div`
9479
9553
  height: 1px;
9480
9554
  background: var(--color-content-neutral-stroke);
9481
9555
  }
9482
- `, dp = K(Zd)`
9556
+ `, gp = K(nf)`
9483
9557
  width: 120px;
9484
9558
 
9485
9559
  &[data-type="obi"] {
9486
9560
  width: 160px;
9487
9561
  }
9488
- `, fp = n(void 0), pp = () => {
9489
- let e = o(fp);
9562
+ `, _p = n(void 0), vp = () => {
9563
+ let e = o(_p);
9490
9564
  if (e === void 0) throw Error("useNavigation must be used within the Navigation component");
9491
9565
  return e;
9492
- }, mp = ({ children: e, initialIsCollapsed: t = !1, currentPath: n }) => {
9566
+ }, yp = ({ children: e, initialIsCollapsed: t = !1, currentPath: n }) => {
9493
9567
  let [r, i] = f(t);
9494
- return /* @__PURE__ */ R(fp.Provider, {
9568
+ return /* @__PURE__ */ R(_p.Provider, {
9495
9569
  value: {
9496
9570
  isCollapsed: r,
9497
9571
  setIsCollapsed: i,
@@ -9499,7 +9573,7 @@ var ap = K.div`
9499
9573
  },
9500
9574
  children: e
9501
9575
  });
9502
- }, hp = Yr`
9576
+ }, bp = Yr`
9503
9577
  all: unset;
9504
9578
  // "all: unset" also drops the global border-box, which width: 100% would
9505
9579
  // then grow past the rail by the padding and the border
@@ -9561,14 +9635,14 @@ var ap = K.div`
9561
9635
  background-color: rgba(255, 255, 255, 0.3);
9562
9636
  }
9563
9637
  }
9564
- `, gp = K(P)`
9565
- ${hp}
9566
- `, _p = K(m)`
9567
- ${hp}
9568
- `, vp = K(q)`
9638
+ `, xp = K(P)`
9639
+ ${bp}
9640
+ `, Sp = K(m)`
9641
+ ${bp}
9642
+ `, Cp = K(q)`
9569
9643
  width: 24px;
9570
9644
  height: 24px;
9571
- `, yp = K(q)`
9645
+ `, wp = K(q)`
9572
9646
  width: 24px;
9573
9647
  height: 24px;
9574
9648
  transform: rotate(90deg);
@@ -9582,7 +9656,7 @@ var ap = K.div`
9582
9656
  display: none;
9583
9657
  }
9584
9658
  }
9585
- `, bp = K.div`
9659
+ `, Tp = K.div`
9586
9660
  flex: 1;
9587
9661
 
9588
9662
  @media (min-width: 768px) {
@@ -9593,13 +9667,13 @@ var ap = K.div`
9593
9667
  `;
9594
9668
  //#endregion
9595
9669
  //#region internal/getAriaLabel/getAriaLabel.ts
9596
- function xp({ label: e, ariaLabel: t }) {
9670
+ function Ep({ label: e, ariaLabel: t }) {
9597
9671
  return t ?? String(e);
9598
9672
  }
9599
9673
  //#endregion
9600
9674
  //#region packages/components/NavigationItem/NavigationItem.tsx
9601
- function Sp({ label: t, href: n, isActive: r, subLinks: i, iconLeft: a, defaultOpen: o, className: c, style: l, onClick: u, "aria-label": d, ...p }) {
9602
- let { isCollapsed: m, setIsCollapsed: h, currentPath: g } = pp(), _ = ff(), [v, y] = f(o || !1), b = !n && !!i?.length, x = Cp({
9675
+ function Dp({ label: t, href: n, isActive: r, subLinks: i, iconLeft: a, defaultOpen: o, className: c, style: l, onClick: u, "aria-label": d, ...p }) {
9676
+ let { isCollapsed: m, setIsCollapsed: h, currentPath: g } = vp(), _ = _f(), [v, y] = f(o || !1), b = !n && !!i?.length, x = Op({
9603
9677
  controlledIsActive: r,
9604
9678
  isDropdown: b,
9605
9679
  href: n,
@@ -9612,7 +9686,7 @@ function Sp({ label: t, href: n, isActive: r, subLinks: i, iconLeft: a, defaultO
9612
9686
  g,
9613
9687
  x,
9614
9688
  b
9615
- ]), /* @__PURE__ */ z(L, { children: [/* @__PURE__ */ z(b ? _p : gp, {
9689
+ ]), /* @__PURE__ */ z(L, { children: [/* @__PURE__ */ z(b ? Sp : xp, {
9616
9690
  "data-active": x,
9617
9691
  href: n,
9618
9692
  "aria-expanded": b ? S : void 0,
@@ -9622,19 +9696,19 @@ function Sp({ label: t, href: n, isActive: r, subLinks: i, iconLeft: a, defaultO
9622
9696
  "data-collapsed": m,
9623
9697
  className: c,
9624
9698
  style: l,
9625
- "aria-label": xp({
9699
+ "aria-label": Ep({
9626
9700
  label: t,
9627
9701
  ariaLabel: d
9628
9702
  }),
9629
9703
  "data-is-dropdown": b,
9630
9704
  ...p,
9631
9705
  children: [
9632
- a && /* @__PURE__ */ R(vp, { name: a }),
9633
- /* @__PURE__ */ R(bp, {
9706
+ a && /* @__PURE__ */ R(Cp, { name: a }),
9707
+ /* @__PURE__ */ R(Tp, {
9634
9708
  "data-is-collapsed": m,
9635
9709
  children: t
9636
9710
  }),
9637
- b && /* @__PURE__ */ R(yp, {
9711
+ b && /* @__PURE__ */ R(wp, {
9638
9712
  "data-is-collapsed": m,
9639
9713
  name: "chevron_right",
9640
9714
  "data-open": S
@@ -9642,9 +9716,9 @@ function Sp({ label: t, href: n, isActive: r, subLinks: i, iconLeft: a, defaultO
9642
9716
  ]
9643
9717
  }), b && S && /* @__PURE__ */ R(L, { children: i.map((t) => {
9644
9718
  let n = t.wrapperComponent || ((e) => e);
9645
- return /* @__PURE__ */ R(e.Fragment, { children: n(/* @__PURE__ */ R(Sp, {
9719
+ return /* @__PURE__ */ R(e.Fragment, { children: n(/* @__PURE__ */ R(Dp, {
9646
9720
  href: t.href,
9647
- isActive: Cp({
9721
+ isActive: Op({
9648
9722
  controlledIsActive: t.isActive,
9649
9723
  isDropdown: !1,
9650
9724
  href: t.href,
@@ -9655,42 +9729,42 @@ function Sp({ label: t, href: n, isActive: r, subLinks: i, iconLeft: a, defaultO
9655
9729
  })) }, t.href);
9656
9730
  }) })] });
9657
9731
  }
9658
- var Cp = ({ controlledIsActive: e, isDropdown: t, href: n, subLinks: r, currentPath: i }) => {
9732
+ var Op = ({ controlledIsActive: e, isDropdown: t, href: n, subLinks: r, currentPath: i }) => {
9659
9733
  if (e != null) return e;
9660
9734
  if (i == null) return !1;
9661
- let a = wp(i);
9662
- if (t && r && r.length > 0) return r.some((e) => a.startsWith(wp(e.href)));
9735
+ let a = kp(i);
9736
+ if (t && r && r.length > 0) return r.some((e) => a.startsWith(kp(e.href)));
9663
9737
  if (n) {
9664
- let e = wp(n);
9738
+ let e = kp(n);
9665
9739
  if (e === "/") return a === "/";
9666
9740
  if (a.startsWith(e)) return !0;
9667
9741
  }
9668
9742
  return !1;
9669
- }, wp = (e) => e.split("?")[0];
9743
+ }, kp = (e) => e.split("?")[0];
9670
9744
  //#endregion
9671
9745
  //#region packages/components/Navigation/Navigation.tsx
9672
- function Tp({ children: e, logo: t, onParametersClick: n, onLogoutClick: r, footerElements: i, ...a }) {
9673
- let o = J(Dp), { isCollapsed: s, setIsCollapsed: c } = pp(), l = ff(), u = !!n || !!r;
9674
- return /* @__PURE__ */ z(ap, {
9746
+ function Ap({ children: e, logo: t, onParametersClick: n, onLogoutClick: r, footerElements: i, ...a }) {
9747
+ let o = J(Mp), { isCollapsed: s, setIsCollapsed: c } = vp(), l = _f(), u = !!n || !!r;
9748
+ return /* @__PURE__ */ z(up, {
9675
9749
  "data-collapsed": s,
9676
9750
  "data-page-layout-collapsed": l?.isCollapsed,
9677
9751
  ...a,
9678
9752
  children: [
9679
- /* @__PURE__ */ z(op, {
9753
+ /* @__PURE__ */ z(dp, {
9680
9754
  "data-collapsed": s,
9681
9755
  children: [
9682
- !s && /* @__PURE__ */ R(dp, {
9756
+ !s && /* @__PURE__ */ R(gp, {
9683
9757
  title: t,
9684
9758
  "data-type": t
9685
9759
  }),
9686
- /* @__PURE__ */ R(sp, {
9760
+ /* @__PURE__ */ R(fp, {
9687
9761
  "data-testid": "navigation-mobile-collapsed-menu",
9688
9762
  onPress: () => c((e) => !e),
9689
9763
  "aria-label": s ? o.open : o.close,
9690
9764
  "data-collapsed": s,
9691
9765
  children: /* @__PURE__ */ R(q, { name: "collapse_menu" })
9692
9766
  }),
9693
- /* @__PURE__ */ R(cp, {
9767
+ /* @__PURE__ */ R(pp, {
9694
9768
  "data-testid": "navigation-mobile-close-menu",
9695
9769
  onPress: () => l?.setIsCollapsed((e) => !e),
9696
9770
  "aria-label": l?.isCollapsed ? o.open : o.close,
@@ -9699,19 +9773,19 @@ function Tp({ children: e, logo: t, onParametersClick: n, onLogoutClick: r, foot
9699
9773
  })
9700
9774
  ]
9701
9775
  }),
9702
- /* @__PURE__ */ R(lp, { children: e }),
9703
- u && /* @__PURE__ */ z(L, { children: [/* @__PURE__ */ R(up, {
9776
+ /* @__PURE__ */ R(mp, { children: e }),
9777
+ u && /* @__PURE__ */ z(L, { children: [/* @__PURE__ */ R(hp, {
9704
9778
  "data-collapsed": s,
9705
9779
  children: /* @__PURE__ */ R("hr", {})
9706
9780
  }), /* @__PURE__ */ z("footer", { children: [
9707
9781
  i,
9708
- !!n && /* @__PURE__ */ R(Sp, {
9782
+ !!n && /* @__PURE__ */ R(Dp, {
9709
9783
  iconLeft: "settings",
9710
9784
  label: o.settings,
9711
9785
  onClick: n,
9712
9786
  "aria-label": o.settings
9713
9787
  }),
9714
- !!r && /* @__PURE__ */ R(Sp, {
9788
+ !!r && /* @__PURE__ */ R(Dp, {
9715
9789
  iconLeft: "logout",
9716
9790
  label: o.logout,
9717
9791
  onClick: r,
@@ -9721,14 +9795,14 @@ function Tp({ children: e, logo: t, onParametersClick: n, onLogoutClick: r, foot
9721
9795
  ]
9722
9796
  });
9723
9797
  }
9724
- function Ep({ initialIsCollapsed: e, currentPath: t, ...n }) {
9725
- return /* @__PURE__ */ R(mp, {
9798
+ function jp({ initialIsCollapsed: e, currentPath: t, ...n }) {
9799
+ return /* @__PURE__ */ R(yp, {
9726
9800
  initialIsCollapsed: e,
9727
9801
  currentPath: t,
9728
- children: /* @__PURE__ */ R(Tp, { ...n })
9802
+ children: /* @__PURE__ */ R(Ap, { ...n })
9729
9803
  });
9730
9804
  }
9731
- var Dp = {
9805
+ var Mp = {
9732
9806
  en: {
9733
9807
  close: "Close navigation",
9734
9808
  open: "Open navigation",
@@ -9741,10 +9815,10 @@ var Dp = {
9741
9815
  settings: "Paramètres",
9742
9816
  logout: "Déconnexion"
9743
9817
  }
9744
- }, Op = K(D)``, kp = K(me)`
9818
+ }, Np = K(D)``, Pp = K(me)`
9745
9819
  width: min(calc(100vw - var(--spacing-sm) * 2), 448px);
9746
9820
  outline: none;
9747
- `, Ap = K(E)`
9821
+ `, Fp = K(E)`
9748
9822
  /* react-aria sizes the Popover to the available space; mirror that bound so the
9749
9823
  Content can scroll instead of overflowing */
9750
9824
  max-height: inherit;
@@ -9759,12 +9833,12 @@ var Dp = {
9759
9833
  background: var(--color-background-neutral-overground);
9760
9834
 
9761
9835
  box-shadow: var(--shadow-strong);
9762
- `, jp = K.header`
9836
+ `, Ip = K.header`
9763
9837
  display: flex;
9764
9838
  align-items: center;
9765
9839
  gap: var(--spacing-xs);
9766
9840
  width: 100%;
9767
- `, Mp = K(j)`
9841
+ `, Lp = K(j)`
9768
9842
  padding: 0;
9769
9843
  margin: 0;
9770
9844
  color: var(--color-content-neutral-primary);
@@ -9772,38 +9846,38 @@ var Dp = {
9772
9846
  font-style: normal;
9773
9847
  font-weight: 700;
9774
9848
  line-height: var(--text-line-height-xl);
9775
- `, Np = K(Y)`
9849
+ `, Rp = K(Y)`
9776
9850
  margin-left: auto;
9777
- `, Pp = K.div`
9851
+ `, zp = K.div`
9778
9852
  display: flex;
9779
9853
  flex-direction: column;
9780
9854
  gap: var(--spacing-xxs);
9781
9855
  flex: 1;
9782
9856
  overflow-y: auto;
9783
9857
  width: 100%;
9784
- `, Fp = K.div`
9858
+ `, Bp = K.div`
9785
9859
  display: flex;
9786
9860
  justify-content: center;
9787
9861
  align-items: center;
9788
9862
  flex: 1;
9789
9863
  padding: var(--spacing-sm);
9790
- `, Ip = K.footer`
9864
+ `, Vp = K.footer`
9791
9865
  display: flex;
9792
9866
  padding-top: var(--spacing-sm);
9793
9867
  justify-content: space-between;
9794
9868
  align-items: center;
9795
9869
  align-self: stretch;
9796
9870
  border-top: 1px solid var(--color-content-neutral-stroke);
9797
- `, Lp = K(Y)`
9871
+ `, Hp = K(Y)`
9798
9872
  margin-left: auto;
9799
- `, Rp = K.div`
9873
+ `, Up = K.div`
9800
9874
  display: flex;
9801
9875
  flex-direction: column;
9802
9876
  align-items: center;
9803
9877
  justify-content: center;
9804
9878
  gap: var(--spacing-sm);
9805
9879
  padding: var(--spacing-sm);
9806
- `, zp = K.h3`
9880
+ `, Wp = K.h3`
9807
9881
  margin: 0;
9808
9882
  color: var(--color-content-neutral-primary);
9809
9883
  text-align: center;
@@ -9811,7 +9885,7 @@ var Dp = {
9811
9885
  font-style: normal;
9812
9886
  font-weight: 700;
9813
9887
  line-height: var(--text-line-height-lg);
9814
- `, Bp = K.p`
9888
+ `, Gp = K.p`
9815
9889
  margin: 0;
9816
9890
  margin-bottom: 100px;
9817
9891
  color: var(--color-content-neutral-secondary);
@@ -9823,8 +9897,8 @@ var Dp = {
9823
9897
  `;
9824
9898
  //#endregion
9825
9899
  //#region packages/components/Notifications/components/EmptyNotifications/EmptyNotifications.tsx
9826
- function Vp({ title: e, description: t }) {
9827
- return /* @__PURE__ */ z(Rp, { children: [/* @__PURE__ */ R("svg", {
9900
+ function Kp({ title: e, description: t }) {
9901
+ return /* @__PURE__ */ z(Up, { children: [/* @__PURE__ */ R("svg", {
9828
9902
  width: "40",
9829
9903
  height: "40",
9830
9904
  viewBox: "0 0 40 40",
@@ -9834,18 +9908,18 @@ function Vp({ title: e, description: t }) {
9834
9908
  d: "M30.0065 26.25V17.9167C30.0065 12.8 27.2732 8.51667 22.5065 7.38333V6.25C22.5065 4.86667 21.3732 3.75 19.9899 3.75C18.6065 3.75 17.5065 4.86667 17.5065 6.25V7.38333C12.7232 8.51667 10.0065 12.7833 10.0065 17.9167V26.25L7.83987 28.4C6.78987 29.45 7.5232 31.25 9.00653 31.25H30.9565C32.4399 31.25 33.1899 29.45 32.1399 28.4L30.0065 26.25ZM19.9899 36.25C21.8232 36.25 23.3232 34.75 23.3232 32.9167H16.6565C16.6565 34.75 18.1399 36.25 19.9899 36.25ZM11.2899 7.46667C11.9899 6.83333 12.0065 5.75 11.3399 5.08333C10.7065 4.45 9.6732 4.43333 9.0232 5.05C6.1732 7.65 4.20653 11.1833 3.5732 15.15C3.4232 16.1667 4.20653 17.0833 5.23987 17.0833C6.03987 17.0833 6.73987 16.5 6.8732 15.7C7.3732 12.4667 8.9732 9.58333 11.2899 7.46667ZM31.0065 5.05C30.3399 4.43333 29.3065 4.45 28.6732 5.08333C28.0065 5.75 28.0399 6.81667 28.7232 7.45C31.0232 9.56667 32.6399 12.45 33.1399 15.6833C33.2565 16.4833 33.9565 17.0667 34.7732 17.0667C35.7899 17.0667 36.5899 16.15 36.4232 15.1333C35.7899 11.1833 33.8399 7.66667 31.0065 5.05Z",
9835
9909
  fill: "var(--color-content-brand-brand-3)"
9836
9910
  })
9837
- }), /* @__PURE__ */ z("div", { children: [/* @__PURE__ */ R(zp, { children: e }), /* @__PURE__ */ R(Bp, { children: t })] })] });
9911
+ }), /* @__PURE__ */ z("div", { children: [/* @__PURE__ */ R(Wp, { children: e }), /* @__PURE__ */ R(Gp, { children: t })] })] });
9838
9912
  }
9839
9913
  //#endregion
9840
9914
  //#region packages/components/Notifications/Notifications.tsx
9841
- function Hp({ children: e, triggerProps: t, nbOfReadNotifications: n, nbOfUnreadNotifications: r, onParametersClick: i, onMarkAllAsReadClick: a, isLoading: o, placement: s = "bottom" }) {
9842
- let c = J(Up), l = n === 0 && r === 0, u = !!i, d = !l && !!a, f = u || d, p = "content";
9843
- return l && (p = "empty"), o && (p = "loading"), /* @__PURE__ */ z(Op, { children: [/* @__PURE__ */ R(Y, { ...t }), /* @__PURE__ */ R(kp, {
9915
+ function qp({ children: e, triggerProps: t, nbOfReadNotifications: n, nbOfUnreadNotifications: r, onParametersClick: i, onMarkAllAsReadClick: a, isLoading: o, placement: s = "bottom" }) {
9916
+ let c = J(Jp), l = n === 0 && r === 0, u = !!i, d = !l && !!a, f = u || d, p = "content";
9917
+ return l && (p = "empty"), o && (p = "loading"), /* @__PURE__ */ z(Np, { children: [/* @__PURE__ */ R(Y, { ...t }), /* @__PURE__ */ R(Pp, {
9844
9918
  offset: 16,
9845
9919
  placement: s,
9846
- children: /* @__PURE__ */ z(Ap, { children: [
9847
- /* @__PURE__ */ z(jp, { children: [
9848
- /* @__PURE__ */ R(Mp, {
9920
+ children: /* @__PURE__ */ z(Fp, { children: [
9921
+ /* @__PURE__ */ z(Ip, { children: [
9922
+ /* @__PURE__ */ R(Lp, {
9849
9923
  slot: "title",
9850
9924
  children: c.title
9851
9925
  }),
@@ -9853,7 +9927,7 @@ function Hp({ children: e, triggerProps: t, nbOfReadNotifications: n, nbOfUnread
9853
9927
  value: r,
9854
9928
  nature: "negative"
9855
9929
  }),
9856
- /* @__PURE__ */ R(Np, {
9930
+ /* @__PURE__ */ R(Rp, {
9857
9931
  mode: "tertiary",
9858
9932
  size: "small",
9859
9933
  iconLeft: "close",
@@ -9861,21 +9935,21 @@ function Hp({ children: e, triggerProps: t, nbOfReadNotifications: n, nbOfUnread
9861
9935
  "aria-label": c.close
9862
9936
  })
9863
9937
  ] }),
9864
- /* @__PURE__ */ z(Pp, { children: [
9865
- p === "loading" && /* @__PURE__ */ R(Fp, { children: /* @__PURE__ */ R(sc, { size: "large" }) }),
9866
- p === "empty" && /* @__PURE__ */ R(Vp, {
9938
+ /* @__PURE__ */ z(zp, { children: [
9939
+ p === "loading" && /* @__PURE__ */ R(Bp, { children: /* @__PURE__ */ R(sc, { size: "large" }) }),
9940
+ p === "empty" && /* @__PURE__ */ R(Kp, {
9867
9941
  title: c.emptyTitle,
9868
9942
  description: c.emptyDescription
9869
9943
  }),
9870
9944
  p === "content" && e
9871
9945
  ] }),
9872
- f && /* @__PURE__ */ z(Ip, { children: [u && /* @__PURE__ */ R(Y, {
9946
+ f && /* @__PURE__ */ z(Vp, { children: [u && /* @__PURE__ */ R(Y, {
9873
9947
  iconLeft: "settings",
9874
9948
  onClick: i,
9875
9949
  mode: "tertiary",
9876
9950
  size: "small",
9877
9951
  "aria-label": c.parameters
9878
- }), d && /* @__PURE__ */ R(Lp, {
9952
+ }), d && /* @__PURE__ */ R(Hp, {
9879
9953
  text: c.markAllAsRead,
9880
9954
  mode: "tertiary",
9881
9955
  size: "small",
@@ -9884,7 +9958,7 @@ function Hp({ children: e, triggerProps: t, nbOfReadNotifications: n, nbOfUnread
9884
9958
  ] })
9885
9959
  })] });
9886
9960
  }
9887
- var Up = {
9961
+ var Jp = {
9888
9962
  en: {
9889
9963
  title: "Notifications",
9890
9964
  markAllAsRead: "Mark all as read",
@@ -9903,7 +9977,7 @@ var Up = {
9903
9977
  emptyTitle: "Vous n’avez aucune notification",
9904
9978
  emptyDescription: "Lorsque qu’une activité est détecté, vous le verrez ici."
9905
9979
  }
9906
- }, Wp = K.div`
9980
+ }, Yp = K.div`
9907
9981
  display: -webkit-box;
9908
9982
  max-width: 100%;
9909
9983
  -webkit-line-clamp: 2;
@@ -9913,12 +9987,12 @@ var Up = {
9913
9987
  `;
9914
9988
  //#endregion
9915
9989
  //#region packages/internal-components/MultiLineEllipsis/MultiLineEllipsis.tsx
9916
- function Gp({ text: e, maxLines: t = 2, style: n = {}, ...r }) {
9990
+ function Xp({ text: e, maxLines: t = 2, style: n = {}, ...r }) {
9917
9991
  let i = d(null), [a, o] = f(!1);
9918
9992
  return s(() => {
9919
9993
  let e = i.current;
9920
9994
  e && o(e.scrollHeight > e.clientHeight + 1);
9921
- }, [e]), /* @__PURE__ */ R(Wp, {
9995
+ }, [e]), /* @__PURE__ */ R(Yp, {
9922
9996
  ...r,
9923
9997
  title: a ? e : void 0,
9924
9998
  style: {
@@ -9931,7 +10005,7 @@ function Gp({ text: e, maxLines: t = 2, style: n = {}, ...r }) {
9931
10005
  }
9932
10006
  //#endregion
9933
10007
  //#region packages/components/NotificationCard/NotificationCard.styled.ts
9934
- var Kp = K.div`
10008
+ var Zp = K.div`
9935
10009
  position: relative;
9936
10010
  display: flex;
9937
10011
  flex-direction: column;
@@ -9943,12 +10017,12 @@ var Kp = K.div`
9943
10017
  &[data-read="false"] {
9944
10018
  background: var(--color-background-neutral-underground-1);
9945
10019
  }
9946
- `, qp = K.div`
10020
+ `, Qp = K.div`
9947
10021
  display: flex;
9948
10022
  align-items: flex-start;
9949
10023
  gap: var(--spacing-sm);
9950
10024
  width: 100%;
9951
- `, Jp = K.div`
10025
+ `, $p = K.div`
9952
10026
  display: flex;
9953
10027
  align-items: center;
9954
10028
  justify-content: center;
@@ -9986,45 +10060,45 @@ var Kp = K.div`
9986
10060
  &[data-read="false"] {
9987
10061
  background-color: var(--color-background-neutral-overground);
9988
10062
  }
9989
- `, Yp = K.img`
10063
+ `, em = K.img`
9990
10064
  width: 32px;
9991
10065
  height: 32px;
9992
10066
  border-radius: 50%;
9993
10067
  object-fit: cover;
9994
- `, Xp = K.div`
10068
+ `, tm = K.div`
9995
10069
  display: flex;
9996
10070
  flex-direction: column;
9997
10071
  gap: var(--spacing-sm);
9998
10072
  flex: 1;
9999
10073
  min-width: 0;
10000
- `, Zp = K.div`
10074
+ `, nm = K.div`
10001
10075
  display: flex;
10002
10076
  align-items: flex-start;
10003
10077
  gap: var(--spacing-sm);
10004
10078
  width: 100%;
10005
- `, Qp = K.div`
10079
+ `, rm = K.div`
10006
10080
  display: flex;
10007
10081
  flex-direction: column;
10008
10082
  flex: 1;
10009
10083
  min-width: 0;
10010
- `, $p = K(Gp)`
10084
+ `, im = K(Xp)`
10011
10085
  margin: 0;
10012
10086
  color: var(--color-content-neutral-primary);
10013
10087
  font-size: var(--text-font-size-sm);
10014
10088
  line-height: var(--text-line-height-sm);
10015
10089
  font-weight: 700;
10016
- `, em = K(Gp)`
10090
+ `, am = K(Xp)`
10017
10091
  margin: 0;
10018
10092
  color: var(--color-content-neutral-primary);
10019
10093
  font-size: var(--text-font-size-sm);
10020
10094
  line-height: var(--text-line-height-sm);
10021
10095
  font-weight: 400;
10022
- `, tm = K.div`
10096
+ `, om = K.div`
10023
10097
  display: flex;
10024
10098
  align-items: center;
10025
10099
  gap: var(--spacing-xxs);
10026
10100
  margin-top: var(--spacing-xxs);
10027
- `, nm = K.span`
10101
+ `, sm = K.span`
10028
10102
  color: var(--color-content-neutral-secondary);
10029
10103
  font-size: var(--text-font-size-xs);
10030
10104
  line-height: var(--text-line-height-xs);
@@ -10033,46 +10107,46 @@ var Kp = K.div`
10033
10107
  overflow: hidden;
10034
10108
  text-overflow: ellipsis;
10035
10109
  max-width: 100%;
10036
- `, rm = K.div`
10110
+ `, cm = K.div`
10037
10111
  display: flex;
10038
10112
  align-items: center;
10039
10113
  gap: var(--spacing-xs);
10040
10114
  flex-wrap: wrap;
10041
- `, im = K(gc)`
10115
+ `, lm = K(gc)`
10042
10116
  position: absolute;
10043
10117
  top: var(--spacing-xs);
10044
10118
  right: var(--spacing-xs);
10045
- `, am = {
10119
+ `, um = {
10046
10120
  informative: "help_outline",
10047
10121
  negative: "error_outline",
10048
10122
  warning: "warning_amber",
10049
10123
  positive: "check_circle_outline",
10050
10124
  default: "help_outline"
10051
10125
  };
10052
- function om({ title: e, description: t, dateAndTime: n, isRead: r, type: i = "default", customIcon: a, avatarUrl: o, avatarAlt: s, children: c, menuActions: l, onClose: u, className: d, style: f }) {
10053
- let p = !r, m = J(sm);
10054
- return /* @__PURE__ */ z(Kp, {
10126
+ function dm({ title: e, description: t, dateAndTime: n, isRead: r, type: i = "default", customIcon: a, avatarUrl: o, avatarAlt: s, children: c, menuActions: l, onClose: u, className: d, style: f }) {
10127
+ let p = !r, m = J(fm);
10128
+ return /* @__PURE__ */ z(Zp, {
10055
10129
  "data-read": r,
10056
10130
  className: d,
10057
10131
  style: f,
10058
- children: [/* @__PURE__ */ z(qp, { children: [/* @__PURE__ */ R(Jp, {
10132
+ children: [/* @__PURE__ */ z(Qp, { children: [/* @__PURE__ */ R($p, {
10059
10133
  "data-read": r,
10060
10134
  "data-icon-type": i,
10061
- children: o ? /* @__PURE__ */ R(Yp, {
10135
+ children: o ? /* @__PURE__ */ R(em, {
10062
10136
  src: o,
10063
10137
  alt: s
10064
- }) : /* @__PURE__ */ R(q, { name: a || am[i] })
10065
- }), /* @__PURE__ */ z(Xp, { children: [/* @__PURE__ */ z(Zp, { children: [
10066
- /* @__PURE__ */ z(Qp, { children: [
10067
- /* @__PURE__ */ R($p, {
10138
+ }) : /* @__PURE__ */ R(q, { name: a || um[i] })
10139
+ }), /* @__PURE__ */ z(tm, { children: [/* @__PURE__ */ z(nm, { children: [
10140
+ /* @__PURE__ */ z(rm, { children: [
10141
+ /* @__PURE__ */ R(im, {
10068
10142
  text: e,
10069
10143
  maxLines: 2
10070
10144
  }),
10071
- !!t && /* @__PURE__ */ R(em, {
10145
+ !!t && /* @__PURE__ */ R(am, {
10072
10146
  text: t,
10073
10147
  maxLines: 2
10074
10148
  }),
10075
- /* @__PURE__ */ R(tm, { children: /* @__PURE__ */ R(nm, { children: n }) })
10149
+ /* @__PURE__ */ R(om, { children: /* @__PURE__ */ R(sm, { children: n }) })
10076
10150
  ] }),
10077
10151
  !l?.length && !!u && /* @__PURE__ */ R(Y, {
10078
10152
  onClick: u,
@@ -10080,23 +10154,23 @@ function om({ title: e, description: t, dateAndTime: n, isRead: r, type: i = "de
10080
10154
  mode: "tertiary",
10081
10155
  size: "small"
10082
10156
  }),
10083
- !!l?.length && /* @__PURE__ */ R(Hf, {
10157
+ !!l?.length && /* @__PURE__ */ R(qf, {
10084
10158
  buttonProps: {
10085
10159
  mode: "tertiary",
10086
10160
  size: "small",
10087
10161
  iconLeft: "more_vert",
10088
10162
  "aria-label": m.moreOptions
10089
10163
  },
10090
- children: l?.map((e) => /* @__PURE__ */ R(Uf, { ...e }, e.text))
10164
+ children: l?.map((e) => /* @__PURE__ */ R(Jf, { ...e }, e.text))
10091
10165
  })
10092
- ] }), c && /* @__PURE__ */ R(rm, { children: c })] })] }), p && /* @__PURE__ */ R(im, {
10166
+ ] }), c && /* @__PURE__ */ R(cm, { children: c })] })] }), p && /* @__PURE__ */ R(lm, {
10093
10167
  variant: "dot",
10094
10168
  nature: "negative",
10095
10169
  "data-testid": "unread-badge"
10096
10170
  })]
10097
10171
  });
10098
10172
  }
10099
- var sm = {
10173
+ var fm = {
10100
10174
  en: {
10101
10175
  markAsRead: "Mark as read",
10102
10176
  moreOptions: "More options"
@@ -10105,13 +10179,13 @@ var sm = {
10105
10179
  markAsRead: "Marquer comme lu",
10106
10180
  moreOptions: "Plus d'options"
10107
10181
  }
10108
- }, cm = K(fe)`
10182
+ }, pm = K(fe)`
10109
10183
  display: inline-block;
10110
10184
 
10111
10185
  &[data-fullwidth="true"] {
10112
10186
  width: 100%;
10113
10187
  }
10114
- `, lm = K(ne)`
10188
+ `, mm = K(ne)`
10115
10189
  align-items: stretch;
10116
10190
  --stepper-disabled-color: var(--color-content-neutral-primary-reversed);
10117
10191
  border-radius: var(--radius-rounded);
@@ -10212,7 +10286,7 @@ var sm = {
10212
10286
  --color: var(--color-content-neutral-primary-reversed);
10213
10287
  --placeholder-color: var(--color-content-neutral-primary-reversed);
10214
10288
  }
10215
- `, um = K.span`
10289
+ `, hm = K.span`
10216
10290
  align-items: center;
10217
10291
  color: var(--color);
10218
10292
  display: inline-flex;
@@ -10223,7 +10297,7 @@ var sm = {
10223
10297
  &[data-fullwidth="true"] {
10224
10298
  width: 100%;
10225
10299
  }
10226
- `, dm = K(N)`
10300
+ `, gm = K(N)`
10227
10301
  appearance: none;
10228
10302
  background: var(--background-color);
10229
10303
  border: 1px solid var(--input-border-color);
@@ -10269,7 +10343,7 @@ var sm = {
10269
10343
  order: 1;
10270
10344
  text-align: center;
10271
10345
  }
10272
- `, fm = K.div`
10346
+ `, _m = K.div`
10273
10347
  background: var(--background-color);
10274
10348
  border: 1px solid var(--stepper-border-color);
10275
10349
  border-inline-start: 0;
@@ -10283,7 +10357,7 @@ var sm = {
10283
10357
  @media screen and (max-width: 767px) {
10284
10358
  display: none;
10285
10359
  }
10286
- `, pm = K(m)`
10360
+ `, vm = K(m)`
10287
10361
  align-items: center;
10288
10362
  background: transparent;
10289
10363
  border: 0;
@@ -10362,8 +10436,8 @@ var sm = {
10362
10436
  order: 2;
10363
10437
  }
10364
10438
  }
10365
- `, mm = e.forwardRef(({ label: e, labelIconRight: t, labelIconRightTooltip: n, helperText: r, helperTextIcon: i, errorHelperText: a, errorHelperTextIcon: o, successHelperText: s, successHelperTextIcon: l, warningHelperText: d, warningHelperTextIcon: f, orientation: p, required: m, nature: h, wrapperProps: g, fullWidth: _, isDisplayOnly: v, advancedReactAriaOptions: y, ...b }, x) => {
10366
- let S = c(), C = y?.id ?? S, w = J(hm), { locale: T } = Fe(), E = u(() => {
10439
+ `, ym = e.forwardRef(({ label: e, labelIconRight: t, labelIconRightTooltip: n, helperText: r, helperTextIcon: i, errorHelperText: a, errorHelperTextIcon: o, successHelperText: s, successHelperTextIcon: l, warningHelperText: d, warningHelperTextIcon: f, orientation: p, required: m, nature: h, wrapperProps: g, fullWidth: _, isDisplayOnly: v, advancedReactAriaOptions: y, ...b }, x) => {
10440
+ let S = c(), C = y?.id ?? S, w = J(bm), { locale: T } = Fe(), E = u(() => {
10367
10441
  if (!v) return "";
10368
10442
  let e = b.value ?? b.defaultValue;
10369
10443
  return e === void 0 || Number.isNaN(e) ? "" : new Intl.NumberFormat(T, b.formatOptions).format(e);
@@ -10395,7 +10469,7 @@ var sm = {
10395
10469
  warningHelperTextIcon: f,
10396
10470
  orientation: p,
10397
10471
  required: m,
10398
- children: /* @__PURE__ */ R(cm, {
10472
+ children: /* @__PURE__ */ R(pm, {
10399
10473
  ...y,
10400
10474
  ...b,
10401
10475
  ref: x,
@@ -10405,30 +10479,30 @@ var sm = {
10405
10479
  "data-design-system-component": "NumberField",
10406
10480
  "data-nature": D,
10407
10481
  "data-fullwidth": _,
10408
- children: v ? /* @__PURE__ */ R(um, {
10482
+ children: v ? /* @__PURE__ */ R(hm, {
10409
10483
  id: C,
10410
10484
  "data-fullwidth": _,
10411
10485
  children: E
10412
- }) : /* @__PURE__ */ z(lm, {
10486
+ }) : /* @__PURE__ */ z(mm, {
10413
10487
  "data-fullwidth": _,
10414
10488
  children: [
10415
- /* @__PURE__ */ R(pm, {
10489
+ /* @__PURE__ */ R(vm, {
10416
10490
  slot: "decrement",
10417
10491
  "data-viewport": "mobile",
10418
10492
  children: /* @__PURE__ */ R(q, { name: "remove" })
10419
10493
  }),
10420
- /* @__PURE__ */ R(dm, { id: C }),
10421
- /* @__PURE__ */ z(fm, {
10494
+ /* @__PURE__ */ R(gm, { id: C }),
10495
+ /* @__PURE__ */ z(_m, {
10422
10496
  "data-slot": "stepper",
10423
- children: [/* @__PURE__ */ R(pm, {
10497
+ children: [/* @__PURE__ */ R(vm, {
10424
10498
  slot: "increment",
10425
10499
  children: /* @__PURE__ */ R(q, { name: "expand_less" })
10426
- }), /* @__PURE__ */ R(pm, {
10500
+ }), /* @__PURE__ */ R(vm, {
10427
10501
  slot: "decrement",
10428
10502
  children: /* @__PURE__ */ R(q, { name: "expand_more" })
10429
10503
  })]
10430
10504
  }),
10431
- /* @__PURE__ */ R(pm, {
10505
+ /* @__PURE__ */ R(vm, {
10432
10506
  slot: "increment",
10433
10507
  "data-viewport": "mobile",
10434
10508
  children: /* @__PURE__ */ R(q, { name: "add" })
@@ -10438,8 +10512,8 @@ var sm = {
10438
10512
  })
10439
10513
  });
10440
10514
  });
10441
- mm.displayName = "NumberField";
10442
- var hm = {
10515
+ ym.displayName = "NumberField";
10516
+ var bm = {
10443
10517
  en: {
10444
10518
  increment: "Increment",
10445
10519
  decrement: "Decrement"
@@ -10448,20 +10522,20 @@ var hm = {
10448
10522
  increment: "Augmenter",
10449
10523
  decrement: "Diminuer"
10450
10524
  }
10451
- }, gm = $r`
10525
+ }, xm = $r`
10452
10526
  /* This hack is required when using the PageLayout component to avoid a bug in Chrome that creates a double scrollbar on the page */
10453
10527
  html {
10454
10528
  height: 100vh;
10455
10529
  overflow: hidden;
10456
10530
  }
10457
- `, _m = K.div`
10531
+ `, Sm = K.div`
10458
10532
  display: flex;
10459
10533
  overflow: hidden;
10460
- `, vm = K.main`
10534
+ `, Cm = K.main`
10461
10535
  height: 100vh;
10462
10536
  flex: 1;
10463
10537
  overflow-y: auto;
10464
- `, ym = K.div`
10538
+ `, wm = K.div`
10465
10539
  @media screen and (max-width: 767px) {
10466
10540
  position: absolute;
10467
10541
  z-index: var(--z-index-fixed);
@@ -10477,7 +10551,7 @@ var hm = {
10477
10551
  transition: none;
10478
10552
  }
10479
10553
  }
10480
- `, bm = K.div`
10554
+ `, Tm = K.div`
10481
10555
  @media screen and (max-width: 767px) {
10482
10556
  display: none;
10483
10557
 
@@ -10493,27 +10567,27 @@ var hm = {
10493
10567
  `;
10494
10568
  //#endregion
10495
10569
  //#region packages/components/PageLayout/PageLayout.tsx
10496
- function xm({ navigationComponent: e, children: t }) {
10497
- let n = ff();
10498
- return /* @__PURE__ */ z(_m, { children: [
10499
- /* @__PURE__ */ R(gm, {}),
10500
- /* @__PURE__ */ R(bm, {
10570
+ function Em({ navigationComponent: e, children: t }) {
10571
+ let n = _f();
10572
+ return /* @__PURE__ */ z(Sm, { children: [
10573
+ /* @__PURE__ */ R(xm, {}),
10574
+ /* @__PURE__ */ R(Tm, {
10501
10575
  "data-navigation-overlay-collapsed": n?.isCollapsed,
10502
10576
  onClick: () => n?.setIsCollapsed((e) => !e)
10503
10577
  }),
10504
- /* @__PURE__ */ R(ym, {
10578
+ /* @__PURE__ */ R(wm, {
10505
10579
  "data-page-layout-collapsed": n?.isCollapsed,
10506
10580
  children: e
10507
10581
  }),
10508
- /* @__PURE__ */ R(vm, { children: t })
10582
+ /* @__PURE__ */ R(Cm, { children: t })
10509
10583
  ] });
10510
10584
  }
10511
- function Sm(e) {
10512
- return /* @__PURE__ */ R(pf, { children: /* @__PURE__ */ R(xm, { ...e }) });
10585
+ function Dm(e) {
10586
+ return /* @__PURE__ */ R(vf, { children: /* @__PURE__ */ R(Em, { ...e }) });
10513
10587
  }
10514
10588
  //#endregion
10515
10589
  //#region packages/components/Popover/Popover.styled.ts
10516
- var Cm = K(me)`
10590
+ var Om = K(me)`
10517
10591
  padding: var(--spacing-sm);
10518
10592
  border-radius: var(--radius-rounded);
10519
10593
  color: var(--color-content-neutral-secondary);
@@ -10559,7 +10633,7 @@ var Cm = K(me)`
10559
10633
  margin-right: var(--spacing-xs);
10560
10634
  --origin: translateX(4px);
10561
10635
  }
10562
- `, wm = K(pe)`
10636
+ `, km = K(pe)`
10563
10637
  line-height: 0;
10564
10638
 
10565
10639
  &[data-placement="bottom"] svg {
@@ -10573,7 +10647,7 @@ var Cm = K(me)`
10573
10647
  &[data-placement="left"] svg {
10574
10648
  transform: rotate(-90deg);
10575
10649
  }
10576
- `, Tm = K(m)`
10650
+ `, Am = K(m)`
10577
10651
  background: none;
10578
10652
  border: none;
10579
10653
  padding: 0;
@@ -10592,19 +10666,19 @@ var Cm = K(me)`
10592
10666
  background-color: transparent;
10593
10667
  -webkit-appearance: none;
10594
10668
  -moz-appearance: none;
10595
- `, Em = K(E)`
10669
+ `, jm = K(E)`
10596
10670
  display: flex;
10597
10671
  flex-direction: column;
10598
10672
  align-items: flex-start;
10599
10673
  gap: var(--spacing-xs);
10600
10674
  outline: none;
10601
- `, Dm = K.header`
10675
+ `, Mm = K.header`
10602
10676
  display: flex;
10603
10677
  justify-content: space-between;
10604
10678
  align-items: center;
10605
10679
  gap: var(--spacing-xs);
10606
10680
  width: 100%;
10607
- `, Om = K(j)`
10681
+ `, Nm = K(j)`
10608
10682
  margin: 0;
10609
10683
  padding: 0;
10610
10684
  color: var(--color-content-neutral-primary);
@@ -10612,29 +10686,29 @@ var Cm = K(me)`
10612
10686
  font-style: normal;
10613
10687
  font-weight: 700;
10614
10688
  line-height: var(--text-line-height-lg);
10615
- `, km = K(Y)`
10689
+ `, Pm = K(Y)`
10616
10690
  margin-left: auto;
10617
10691
  `;
10618
10692
  //#endregion
10619
10693
  //#region packages/components/Popover/Popover.tsx
10620
- function Am({ trigger: e, title: t, children: n, defaultOpen: r, isOpen: i, onOpenChange: a, placement: o = "top", hideArrow: s = !1, hideCloseButton: c = !1 }) {
10694
+ function Fm({ trigger: e, title: t, children: n, defaultOpen: r, isOpen: i, onOpenChange: a, placement: o = "top", hideArrow: s = !1, hideCloseButton: c = !1 }) {
10621
10695
  let l = !!t || !c;
10622
10696
  return /* @__PURE__ */ z(D, {
10623
10697
  defaultOpen: r,
10624
10698
  isOpen: i,
10625
10699
  onOpenChange: a,
10626
- children: [e, /* @__PURE__ */ z(Cm, {
10700
+ children: [e, /* @__PURE__ */ z(Om, {
10627
10701
  placement: o,
10628
- children: [!s && /* @__PURE__ */ R(wm, { children: /* @__PURE__ */ R("svg", {
10702
+ children: [!s && /* @__PURE__ */ R(km, { children: /* @__PURE__ */ R("svg", {
10629
10703
  width: 8,
10630
10704
  height: 8,
10631
10705
  viewBox: "0 0 8 8",
10632
10706
  fill: "#FFF",
10633
10707
  children: /* @__PURE__ */ R("path", { d: "M0 0 L4 4 L8 0" })
10634
- }) }), /* @__PURE__ */ R(Em, { children: ({ close: e }) => /* @__PURE__ */ z(L, { children: [l && /* @__PURE__ */ z(Dm, { children: [!!t && /* @__PURE__ */ R(Om, {
10708
+ }) }), /* @__PURE__ */ R(jm, { children: ({ close: e }) => /* @__PURE__ */ z(L, { children: [l && /* @__PURE__ */ z(Mm, { children: [!!t && /* @__PURE__ */ R(Nm, {
10635
10709
  slot: "title",
10636
10710
  children: t
10637
- }), !c && /* @__PURE__ */ R(km, {
10711
+ }), !c && /* @__PURE__ */ R(Pm, {
10638
10712
  iconRight: "close",
10639
10713
  mode: "tertiary",
10640
10714
  size: "small",
@@ -10643,21 +10717,21 @@ function Am({ trigger: e, title: t, children: n, defaultOpen: r, isOpen: i, onOp
10643
10717
  })]
10644
10718
  });
10645
10719
  }
10646
- function jm({ children: e, triggerButtonProps: t }) {
10647
- return /* @__PURE__ */ R(Tm, {
10720
+ function Im({ children: e, triggerButtonProps: t }) {
10721
+ return /* @__PURE__ */ R(Am, {
10648
10722
  ...t,
10649
10723
  children: e
10650
10724
  });
10651
10725
  }
10652
10726
  //#endregion
10653
10727
  //#region packages/components/Radio/Radio.styled.ts
10654
- var Mm = K.div`
10728
+ var Lm = K.div`
10655
10729
  display: flex;
10656
10730
 
10657
10731
  &[data-has-label="true"] {
10658
10732
  padding: var(--spacing-xs) var(--spacing-xxs);
10659
10733
  }
10660
- `, Nm = K.label`
10734
+ `, Rm = K.label`
10661
10735
  display: flex;
10662
10736
  align-items: center;
10663
10737
  border-radius: var(--radius-rounded);
@@ -10681,7 +10755,7 @@ var Mm = K.div`
10681
10755
  border-radius: 9999px;
10682
10756
  outline-offset: -2px;
10683
10757
  }
10684
- `, Pm = K.input`
10758
+ `, zm = K.input`
10685
10759
  margin: var(--spacing-xxs);
10686
10760
  width: 16px;
10687
10761
  height: 16px;
@@ -10695,24 +10769,24 @@ var Mm = K.div`
10695
10769
  &:disabled {
10696
10770
  cursor: not-allowed;
10697
10771
  }
10698
- `, Fm = K.span`
10772
+ `, Bm = K.span`
10699
10773
  padding: 0 var(--spacing-xs);
10700
- `, Im = e.forwardRef(({ label: e, labelProps: t, wrapperProps: n, disabled: r, ...i }, a) => /* @__PURE__ */ R(Mm, {
10774
+ `, Vm = e.forwardRef(({ label: e, labelProps: t, wrapperProps: n, disabled: r, ...i }, a) => /* @__PURE__ */ R(Lm, {
10701
10775
  ...n,
10702
10776
  "data-has-label": !!e,
10703
10777
  "data-design-system-component": "Radio",
10704
- children: /* @__PURE__ */ z(Nm, {
10778
+ children: /* @__PURE__ */ z(Rm, {
10705
10779
  ...t,
10706
10780
  "aria-disabled": !!r,
10707
10781
  "data-has-label": !!e,
10708
- children: [/* @__PURE__ */ R(Pm, {
10782
+ children: [/* @__PURE__ */ R(zm, {
10709
10783
  ...i,
10710
10784
  type: "radio",
10711
10785
  ref: a,
10712
10786
  disabled: r
10713
- }), !!e && /* @__PURE__ */ R(Fm, { children: e })]
10787
+ }), !!e && /* @__PURE__ */ R(Bm, { children: e })]
10714
10788
  })
10715
- })), Lm = K(ge)`
10789
+ })), Hm = K(ge)`
10716
10790
  display: flex;
10717
10791
  flex-direction: column;
10718
10792
 
@@ -10721,7 +10795,7 @@ var Mm = K.div`
10721
10795
  flex-wrap: wrap;
10722
10796
  column-gap: var(--spacing-md);
10723
10797
  }
10724
- `, Rm = e.forwardRef(({ children: e, direction: t = "vertical", "aria-label": n, wrapperProps: r, label: i, labelIconRight: a, labelIconRightTooltip: o, helperTextIcon: s, helperText: c, errorHelperText: u, errorHelperTextIcon: f, successHelperText: p, successHelperTextIcon: m, warningHelperText: h, warningHelperTextIcon: g, orientation: _, required: v, ...y }, b) => {
10798
+ `, Um = e.forwardRef(({ children: e, direction: t = "vertical", "aria-label": n, wrapperProps: r, label: i, labelIconRight: a, labelIconRightTooltip: o, helperTextIcon: s, helperText: c, errorHelperText: u, errorHelperTextIcon: f, successHelperText: p, successHelperTextIcon: m, warningHelperText: h, warningHelperTextIcon: g, orientation: _, required: v, ...y }, b) => {
10725
10799
  let x = n ?? (typeof i == "string" ? i : void 0), S = d(null);
10726
10800
  return l(b, () => ({ focus: (e) => S.current?.querySelector("input[tabindex=\"0\"]")?.focus(e) }), []), /* @__PURE__ */ R(Q, {
10727
10801
  ...r,
@@ -10738,7 +10812,7 @@ var Mm = K.div`
10738
10812
  warningHelperTextIcon: g,
10739
10813
  orientation: _,
10740
10814
  required: v,
10741
- children: /* @__PURE__ */ R(Lm, {
10815
+ children: /* @__PURE__ */ R(Hm, {
10742
10816
  ref: S,
10743
10817
  "aria-label": x,
10744
10818
  orientation: t,
@@ -10749,7 +10823,7 @@ var Mm = K.div`
10749
10823
  children: e
10750
10824
  })
10751
10825
  });
10752
- }), zm = K(he)`
10826
+ }), Wm = K(he)`
10753
10827
  display: flex;
10754
10828
  flex-direction: column;
10755
10829
  align-items: flex-start;
@@ -10757,7 +10831,7 @@ var Mm = K.div`
10757
10831
  &[data-has-label="true"] {
10758
10832
  padding: var(--spacing-xs) 0 var(--spacing-xs) var(--spacing-xxs);
10759
10833
  }
10760
- `, Bm = K.span`
10834
+ `, Gm = K.span`
10761
10835
  flex-shrink: 0;
10762
10836
  box-sizing: border-box;
10763
10837
  margin: var(--spacing-xxs);
@@ -10766,10 +10840,10 @@ var Mm = K.div`
10766
10840
  border: 1px solid var(--color-content-action-action);
10767
10841
  border-radius: var(--radius-full);
10768
10842
  background: var(--color-background-neutral-ground);
10769
- `, Vm = K(q)`
10843
+ `, Km = K(q)`
10770
10844
  flex-shrink: 0;
10771
10845
  font-size: var(--text-font-size-md);
10772
- `, Hm = K(F)`
10846
+ `, qm = K(F)`
10773
10847
  display: flex;
10774
10848
  align-items: center;
10775
10849
  border-radius: var(--radius-rounded);
@@ -10778,7 +10852,7 @@ var Mm = K.div`
10778
10852
  font-size: var(--text-font-size-md);
10779
10853
  line-height: var(--text-line-height-md);
10780
10854
 
10781
- &[data-selected] ${Bm} {
10855
+ &[data-selected] ${Gm} {
10782
10856
  background: var(--color-content-action-action);
10783
10857
  box-shadow: inset 0 0 0 2px var(--color-background-neutral-ground);
10784
10858
  }
@@ -10792,7 +10866,7 @@ var Mm = K.div`
10792
10866
  cursor: not-allowed;
10793
10867
  }
10794
10868
 
10795
- &[data-disabled] ${Bm} {
10869
+ &[data-disabled] ${Gm} {
10796
10870
  border-color: var(--color-content-neutral-tertiary);
10797
10871
  background: var(--color-content-neutral-tertiary);
10798
10872
  box-shadow: none;
@@ -10807,35 +10881,35 @@ var Mm = K.div`
10807
10881
  border-radius: var(--radius-full);
10808
10882
  outline-offset: -2px;
10809
10883
  }
10810
- `, Um = K.span`
10884
+ `, Jm = K.span`
10811
10885
  padding: 0 var(--spacing-xs);
10812
- `, Wm = K(I)`
10886
+ `, Ym = K(I)`
10813
10887
  padding-left: calc(16px + 2 * var(--spacing-xxs) + var(--spacing-xs));
10814
10888
  color: var(--color-content-neutral-tertiary);
10815
10889
  font-size: var(--text-font-size-sm);
10816
10890
  line-height: var(--text-line-height-sm);
10817
10891
 
10818
- ${zm}[data-readonly] & {
10892
+ ${Wm}[data-readonly] & {
10819
10893
  padding-left: calc(16px + var(--spacing-xs));
10820
10894
  }
10821
- `, Gm = e.forwardRef(({ value: e, label: t, "aria-label": n, description: r, isDisabled: i }, a) => /* @__PURE__ */ z(zm, {
10895
+ `, Xm = e.forwardRef(({ value: e, label: t, "aria-label": n, description: r, isDisabled: i }, a) => /* @__PURE__ */ z(Wm, {
10822
10896
  ref: a,
10823
10897
  value: e,
10824
10898
  "aria-label": n,
10825
10899
  isDisabled: i,
10826
10900
  "data-has-label": !!t,
10827
10901
  "data-design-system-component": "RadioGroupItem",
10828
- children: [/* @__PURE__ */ R(Hm, {
10902
+ children: [/* @__PURE__ */ R(qm, {
10829
10903
  "data-has-label": !!t,
10830
- children: ({ isReadOnly: e, isSelected: n }) => /* @__PURE__ */ z(L, { children: [e ? /* @__PURE__ */ R(Vm, {
10904
+ children: ({ isReadOnly: e, isSelected: n }) => /* @__PURE__ */ z(L, { children: [e ? /* @__PURE__ */ R(Km, {
10831
10905
  name: n ? "check_circle_outline" : "close",
10832
10906
  "aria-hidden": "true"
10833
- }) : /* @__PURE__ */ R(Bm, {}), !!t && /* @__PURE__ */ R(Um, { children: t })] })
10834
- }), !!r && /* @__PURE__ */ R(Wm, {
10907
+ }) : /* @__PURE__ */ R(Gm, {}), !!t && /* @__PURE__ */ R(Jm, { children: t })] })
10908
+ }), !!r && /* @__PURE__ */ R(Ym, {
10835
10909
  slot: "description",
10836
10910
  children: r
10837
10911
  })]
10838
- })), Km = ni`
10912
+ })), Zm = ni`
10839
10913
  from {
10840
10914
  transform: translate(-50%, 50px) scale(0.9);
10841
10915
  opacity: 0;
@@ -10844,10 +10918,10 @@ var Mm = K.div`
10844
10918
  transform: translate(-50%, 0) scale(1);
10845
10919
  opacity: 1;
10846
10920
  }
10847
- `, qm = ni`
10921
+ `, Qm = ni`
10848
10922
  from { background: rgba(0 0 0 / 0); }
10849
10923
  to { background: rgba(0 12 51 / 0.7); }
10850
- `, Jm = K(de)`
10924
+ `, $m = K(de)`
10851
10925
  position: fixed;
10852
10926
  z-index: var(--z-index-modal);
10853
10927
  top: 0;
@@ -10857,7 +10931,7 @@ var Mm = K.div`
10857
10931
  background: rgba(0 12 51 / 0.7);
10858
10932
 
10859
10933
  &[data-entering] {
10860
- animation: ${qm} 100ms;
10934
+ animation: ${Qm} 100ms;
10861
10935
  }
10862
10936
 
10863
10937
  @media (prefers-reduced-motion: reduce) {
@@ -10866,7 +10940,7 @@ var Mm = K.div`
10866
10940
  animation: none;
10867
10941
  }
10868
10942
  }
10869
- `, Ym = K(ue)`
10943
+ `, eh = K(ue)`
10870
10944
  position: fixed;
10871
10945
  top: 12vh;
10872
10946
  left: 50%;
@@ -10878,7 +10952,7 @@ var Mm = K.div`
10878
10952
  overflow: hidden;
10879
10953
 
10880
10954
  &[data-entering] {
10881
- animation: ${Km} 100ms;
10955
+ animation: ${Zm} 100ms;
10882
10956
  }
10883
10957
 
10884
10958
  @media (prefers-reduced-motion: reduce) {
@@ -10887,12 +10961,12 @@ var Mm = K.div`
10887
10961
  animation: none;
10888
10962
  }
10889
10963
  }
10890
- `, Xm = K(E)`
10964
+ `, th = K(E)`
10891
10965
  outline: none;
10892
10966
  max-height: min(calc(100vh - 12vh - var(--spacing-md)), 632px);
10893
10967
  display: flex;
10894
10968
  flex-direction: column;
10895
- `, Zm = K.div`
10969
+ `, nh = K.div`
10896
10970
  padding: var(--spacing-xxs);
10897
10971
 
10898
10972
  div {
@@ -10905,7 +10979,7 @@ var Mm = K.div`
10905
10979
  font-weight: 400;
10906
10980
  line-height: var(--text-line-height-md);
10907
10981
  }
10908
- `, Qm = K.div`
10982
+ `, rh = K.div`
10909
10983
  flex: 1;
10910
10984
  overflow-y: auto;
10911
10985
  display: inline;
@@ -10919,7 +10993,7 @@ var Mm = K.div`
10919
10993
  padding: var(--spacing-md) var(--spacing-sm) var(--spacing-xs)
10920
10994
  var(--spacing-sm) !important;
10921
10995
  }
10922
- `, $m = K(ye)`
10996
+ `, ih = K(ye)`
10923
10997
  width: 100%;
10924
10998
  height: 56px;
10925
10999
  display: flex;
@@ -10932,16 +11006,16 @@ var Mm = K.div`
10932
11006
  &:focus-within {
10933
11007
  background: var(--color-background-neutral-underground-1);
10934
11008
  }
10935
- `, eh = K(q)`
11009
+ `, ah = K(q)`
10936
11010
  width: 24px;
10937
11011
  height: 24px;
10938
11012
  color: var(--color-content-neutral-primary);
10939
11013
  flex-shrink: 0;
10940
11014
 
10941
- ${$m}:focus-within & {
11015
+ ${ih}:focus-within & {
10942
11016
  color: var(--color-content-action-action);
10943
11017
  }
10944
- `, th = K(N)`
11018
+ `, oh = K(N)`
10945
11019
  flex: 1;
10946
11020
  border: none;
10947
11021
  outline: none;
@@ -10966,7 +11040,7 @@ var Mm = K.div`
10966
11040
  &::-webkit-search-cancel-button {
10967
11041
  display: none;
10968
11042
  }
10969
- `, nh = K(m)`
11043
+ `, sh = K(m)`
10970
11044
  all: unset;
10971
11045
  display: flex;
10972
11046
  align-items: center;
@@ -10974,42 +11048,42 @@ var Mm = K.div`
10974
11048
  cursor: pointer;
10975
11049
 
10976
11050
  // react-aria keeps the clear button mounted
10977
- ${$m}[data-empty] & {
11051
+ ${ih}[data-empty] & {
10978
11052
  display: none;
10979
11053
  }
10980
- `, rh = K(q)`
11054
+ `, ch = K(q)`
10981
11055
  width: 24px;
10982
11056
  height: 24px;
10983
11057
  color: var(--color-content-action-action);
10984
11058
  flex-shrink: 0;
10985
- `, ih = i(({ value: e, onChange: t, onClear: n, withResults: r, ...i }, a) => {
10986
- let o = J(ah);
10987
- return /* @__PURE__ */ z($m, {
11059
+ `, lh = i(({ value: e, onChange: t, onClear: n, withResults: r, ...i }, a) => {
11060
+ let o = J(uh);
11061
+ return /* @__PURE__ */ z(ih, {
10988
11062
  ...e !== void 0 && { value: e },
10989
11063
  ...t && { onChange: t },
10990
11064
  onClear: n,
10991
11065
  "aria-label": i["aria-label"] || o.placeholder,
10992
11066
  "data-with-results": r,
10993
11067
  children: [
10994
- /* @__PURE__ */ R(eh, {
11068
+ /* @__PURE__ */ R(ah, {
10995
11069
  name: "search",
10996
11070
  "aria-hidden": "true"
10997
11071
  }),
10998
- /* @__PURE__ */ R(th, {
11072
+ /* @__PURE__ */ R(oh, {
10999
11073
  ...i,
11000
11074
  ref: a,
11001
11075
  placeholder: i.placeholder || o.placeholder
11002
11076
  }),
11003
- /* @__PURE__ */ R(nh, {
11077
+ /* @__PURE__ */ R(sh, {
11004
11078
  "aria-label": o.clearButton,
11005
- children: /* @__PURE__ */ R(rh, {
11079
+ children: /* @__PURE__ */ R(ch, {
11006
11080
  name: "close",
11007
11081
  "aria-hidden": "true"
11008
11082
  })
11009
11083
  })
11010
11084
  ]
11011
11085
  });
11012
- }), ah = {
11086
+ }), uh = {
11013
11087
  en: {
11014
11088
  placeholder: "Search",
11015
11089
  clearButton: "Clear"
@@ -11018,22 +11092,22 @@ var Mm = K.div`
11018
11092
  placeholder: "Rechercher",
11019
11093
  clearButton: "Effacer"
11020
11094
  }
11021
- }, oh = e.memo(ih), sh = K.div`
11095
+ }, dh = e.memo(lh), fh = K.div`
11022
11096
  display: flex;
11023
11097
  align-items: center;
11024
11098
  width: 100%;
11025
11099
  gap: var(--spacing-lg);
11026
11100
  padding: var(--spacing-sm);
11027
11101
  background: var(--color-background-neutral-overground);
11028
- `, ch = K.div`
11102
+ `, ph = K.div`
11029
11103
  display: flex;
11030
11104
  align-items: center;
11031
11105
  gap: var(--spacing-xs);
11032
- `, lh = K.div`
11106
+ `, mh = K.div`
11033
11107
  display: flex;
11034
11108
  align-items: center;
11035
11109
  gap: var(--spacing-xxs);
11036
- `, uh = K.div`
11110
+ `, hh = K.div`
11037
11111
  display: flex;
11038
11112
  align-items: center;
11039
11113
  justify-content: flex-start;
@@ -11054,13 +11128,13 @@ var Mm = K.div`
11054
11128
  height: 16px;
11055
11129
  color: var(--color-content-neutral-secondary);
11056
11130
  }
11057
- `, dh = K.span`
11131
+ `, gh = K.span`
11058
11132
  font-size: 12px;
11059
11133
  line-height: 16px;
11060
11134
  font-weight: 700;
11061
11135
  color: var(--color-content-neutral-secondary);
11062
11136
  text-align: center;
11063
- `, fh = K.span`
11137
+ `, _h = K.span`
11064
11138
  font-size: var(--text-font-size-md);
11065
11139
  line-height: var(--text-line-height-md);
11066
11140
  font-weight: 700;
@@ -11068,31 +11142,31 @@ var Mm = K.div`
11068
11142
  `;
11069
11143
  //#endregion
11070
11144
  //#region packages/components/SearchBar/components/SearchBarLegend/SearchBarLegend.tsx
11071
- function ph({ className: e, style: t }) {
11072
- let n = J(mh);
11073
- return /* @__PURE__ */ z(sh, {
11145
+ function vh({ className: e, style: t }) {
11146
+ let n = J(yh);
11147
+ return /* @__PURE__ */ z(fh, {
11074
11148
  className: e,
11075
11149
  style: t,
11076
11150
  children: [
11077
- /* @__PURE__ */ z(ch, { children: [/* @__PURE__ */ z(lh, { children: [/* @__PURE__ */ R(uh, {
11151
+ /* @__PURE__ */ z(ph, { children: [/* @__PURE__ */ z(mh, { children: [/* @__PURE__ */ R(hh, {
11078
11152
  "data-type": "icon",
11079
11153
  children: /* @__PURE__ */ R(q, { name: "arrow_upward" })
11080
- }), /* @__PURE__ */ R(uh, {
11154
+ }), /* @__PURE__ */ R(hh, {
11081
11155
  "data-type": "icon",
11082
11156
  children: /* @__PURE__ */ R(q, { name: "arrow_downward" })
11083
- })] }), /* @__PURE__ */ R(fh, { children: n.navigation })] }),
11084
- /* @__PURE__ */ z(ch, { children: [/* @__PURE__ */ R(lh, { children: /* @__PURE__ */ R(uh, {
11157
+ })] }), /* @__PURE__ */ R(_h, { children: n.navigation })] }),
11158
+ /* @__PURE__ */ z(ph, { children: [/* @__PURE__ */ R(mh, { children: /* @__PURE__ */ R(hh, {
11085
11159
  "data-type": "icon",
11086
11160
  children: /* @__PURE__ */ R(q, { name: "arrow_enter" })
11087
- }) }), /* @__PURE__ */ R(fh, { children: n.choose })] }),
11088
- /* @__PURE__ */ z(ch, { children: [/* @__PURE__ */ R(lh, { children: /* @__PURE__ */ R(uh, {
11161
+ }) }), /* @__PURE__ */ R(_h, { children: n.choose })] }),
11162
+ /* @__PURE__ */ z(ph, { children: [/* @__PURE__ */ R(mh, { children: /* @__PURE__ */ R(hh, {
11089
11163
  "data-type": "text",
11090
- children: /* @__PURE__ */ R(dh, { children: n.esc })
11091
- }) }), /* @__PURE__ */ R(fh, { children: n.close })] })
11164
+ children: /* @__PURE__ */ R(gh, { children: n.esc })
11165
+ }) }), /* @__PURE__ */ R(_h, { children: n.close })] })
11092
11166
  ]
11093
11167
  });
11094
11168
  }
11095
- var mh = {
11169
+ var yh = {
11096
11170
  en: {
11097
11171
  navigation: "Navigation",
11098
11172
  choose: "Choose",
@@ -11108,8 +11182,8 @@ var mh = {
11108
11182
  };
11109
11183
  //#endregion
11110
11184
  //#region packages/components/SearchBar/SearchBar.tsx
11111
- function hh({ children: e, isOpen: t, onOpenChange: n, onClear: r, resultsCount: i, width: a, inputProps: o }) {
11112
- let c = J(gh), { value: l, onChange: u, ...d } = o;
11185
+ function bh({ children: e, isOpen: t, onOpenChange: n, onClear: r, resultsCount: i, width: a, inputProps: o }) {
11186
+ let c = J(xh), { value: l, onChange: u, ...d } = o;
11113
11187
  s(() => {
11114
11188
  let e = (e) => {
11115
11189
  (e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "k" && (e.preventDefault(), t || n(!0));
@@ -11117,34 +11191,34 @@ function hh({ children: e, isOpen: t, onOpenChange: n, onClear: r, resultsCount:
11117
11191
  return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
11118
11192
  }, [t, n]);
11119
11193
  let f = c.noResults;
11120
- return i === 1 ? f = `1 ${c.result}` : i > 1 && (f = `${i} ${c.results}`), /* @__PURE__ */ R(Jm, {
11194
+ return i === 1 ? f = `1 ${c.result}` : i > 1 && (f = `${i} ${c.results}`), /* @__PURE__ */ R($m, {
11121
11195
  isOpen: t,
11122
11196
  onOpenChange: n,
11123
11197
  isDismissable: !0,
11124
- children: /* @__PURE__ */ R(Ym, {
11198
+ children: /* @__PURE__ */ R(eh, {
11125
11199
  style: { "--modal-width": a || "800px" },
11126
- children: /* @__PURE__ */ R(Xm, {
11200
+ children: /* @__PURE__ */ R(th, {
11127
11201
  "aria-label": c.title,
11128
11202
  children: /* @__PURE__ */ z(p, {
11129
11203
  inputValue: l,
11130
11204
  onInputChange: u,
11131
11205
  children: [
11132
- /* @__PURE__ */ R(oh, {
11206
+ /* @__PURE__ */ R(dh, {
11133
11207
  ...d,
11134
11208
  onClear: r,
11135
11209
  withResults: !!i,
11136
11210
  autoFocus: !0
11137
11211
  }),
11138
- !!l && /* @__PURE__ */ R(Zm, { children: /* @__PURE__ */ R("div", { children: f }) }),
11139
- /* @__PURE__ */ R(Qm, { children: e }),
11140
- !!i && /* @__PURE__ */ R(ph, {})
11212
+ !!l && /* @__PURE__ */ R(nh, { children: /* @__PURE__ */ R("div", { children: f }) }),
11213
+ /* @__PURE__ */ R(rh, { children: e }),
11214
+ !!i && /* @__PURE__ */ R(vh, {})
11141
11215
  ]
11142
11216
  })
11143
11217
  })
11144
11218
  })
11145
11219
  });
11146
11220
  }
11147
- var gh = {
11221
+ var xh = {
11148
11222
  en: {
11149
11223
  title: "Search",
11150
11224
  result: "result",
@@ -11157,7 +11231,7 @@ var gh = {
11157
11231
  results: "résultats",
11158
11232
  noResults: "Aucun résultat trouvé"
11159
11233
  }
11160
- }, _h = e.forwardRef((e, t) => {
11234
+ }, Sh = e.forwardRef((e, t) => {
11161
11235
  let { children: n, isDisabled: r, selectedKey: i, onSelectionChange: a, defaultSelectedKey: o, className: s, style: c } = e;
11162
11236
  return /* @__PURE__ */ R(ke, {
11163
11237
  ref: t,
@@ -11169,7 +11243,7 @@ var gh = {
11169
11243
  style: c,
11170
11244
  children: n
11171
11245
  });
11172
- }), vh = K.div``, yh = K(Ee)`
11246
+ }), Ch = K.div``, wh = K(Ee)`
11173
11247
  appearance: none;
11174
11248
  position: relative;
11175
11249
  display: inline-flex;
@@ -11241,11 +11315,11 @@ var gh = {
11241
11315
  background: var(--color-content-neutral-tertiary);
11242
11316
  color: var(--color-content-neutral-primary-reversed);
11243
11317
  }
11244
- `, bh = K(q)`
11318
+ `, Th = K(q)`
11245
11319
  font-size: var(--text-font-size-xl);
11246
- `, xh = e.forwardRef((e, t) => {
11320
+ `, Eh = e.forwardRef((e, t) => {
11247
11321
  let { id: n, href: r, target: i, text: a, icon: o, style: s, className: c, isDisabled: l, routerOptions: u, ...d } = e;
11248
- return !a && !o ? null : /* @__PURE__ */ z(yh, {
11322
+ return !a && !o ? null : /* @__PURE__ */ z(wh, {
11249
11323
  ...d,
11250
11324
  ref: t,
11251
11325
  id: n,
@@ -11255,92 +11329,35 @@ var gh = {
11255
11329
  isDisabled: l,
11256
11330
  routerOptions: u,
11257
11331
  target: i,
11258
- children: [!!o && /* @__PURE__ */ R(bh, { name: o }), !!a && /* @__PURE__ */ R(vh, { children: a })]
11332
+ children: [!!o && /* @__PURE__ */ R(Th, { name: o }), !!a && /* @__PURE__ */ R(Ch, { children: a })]
11259
11333
  });
11260
- }), Sh = K(De)`
11334
+ }), Dh = K(De)`
11261
11335
  display: flex;
11262
11336
  align-items: center;
11263
- `, Ch = e.forwardRef((e, t) => {
11337
+ `, Oh = e.forwardRef((e, t) => {
11264
11338
  let { children: n, className: r, style: i } = e;
11265
- return /* @__PURE__ */ R(Sh, {
11339
+ return /* @__PURE__ */ R(Dh, {
11266
11340
  ref: t,
11267
11341
  className: r,
11268
11342
  style: i,
11269
11343
  children: n
11270
11344
  });
11271
- }), wh = e.forwardRef((e, t) => /* @__PURE__ */ R(Oe, {
11345
+ }), kh = e.forwardRef((e, t) => /* @__PURE__ */ R(Oe, {
11272
11346
  ref: t,
11273
11347
  ...e
11274
- })), Th = ni`
11275
- 0% { opacity:1; }
11276
- 50% { opacity:0.4; }
11277
- 100% { opacity:1; }
11278
- `, Eh = K.span`
11279
- display: block;
11280
- background-color: var(--color-content-neutral-stroke);
11281
- height: 1.2em;
11282
- margin: 0;
11283
- border-radius: var(--radius-rounded);
11284
- animation-duration: 2s;
11285
- animation-timing-function: ease-in-out;
11286
- animation-delay: 0.5s;
11287
- animation-iteration-count: infinite;
11288
- animation-name: ${Th};
11289
-
11290
- &[data-variant="text"] {
11291
- transform-origin: 0 55%;
11292
- transform: scale(1, 0.6);
11293
- }
11294
-
11295
- &[data-variant="rectangular"] {
11296
- border-radius: 0;
11297
- }
11298
-
11299
- &[data-variant="circular"] {
11300
- border-radius: 50%;
11301
- transform: none;
11302
- }
11303
-
11304
- &[data-color="white"] {
11305
- background-color: var(--color-content-neutral-primary-reversed);
11306
- }
11307
-
11308
- @media (prefers-reduced-motion: reduce) {
11309
- animation: none;
11310
- }
11311
- `;
11312
- //#endregion
11313
- //#region packages/components/Skeleton/Skeleton.tsx
11314
- function Dh({ variant: e = "text", color: t = "neutral", width: n, height: r, style: i, className: a, ...o }) {
11315
- return /* @__PURE__ */ R(Eh, {
11316
- ...o,
11317
- "data-variant": e,
11318
- "data-color": t,
11319
- className: a,
11320
- "aria-hidden": "true",
11321
- style: {
11322
- width: n || i?.width,
11323
- height: r || i?.height,
11324
- ...i
11325
- },
11326
- children: "\xA0"
11327
- });
11328
- }
11329
- //#endregion
11330
- //#region packages/components/Slider/Slider.styled.ts
11331
- var Oh = K(Se)`
11348
+ })), Ah = K(Se)`
11332
11349
  flex-direction: column;
11333
11350
  width: 100%;
11334
- `, kh = K.div`
11351
+ `, jh = K.div`
11335
11352
  width: 100%;
11336
11353
  display: flex;
11337
11354
  align-items: center;
11338
11355
  gap: var(--spacing-sm);
11339
- `, Ah = K.div`
11356
+ `, Mh = K.div`
11340
11357
  color: var(--color-content-neutral-secondary);
11341
11358
  font-size: var(--text-font-size-sm);
11342
11359
  line-height: var(--text-line-height-sm);
11343
- `, jh = K(we)`
11360
+ `, Nh = K(we)`
11344
11361
  position: relative;
11345
11362
  display: flex;
11346
11363
  width: 100%;
@@ -11394,7 +11411,7 @@ var Oh = K(Se)`
11394
11411
  &[data-disabled="true"]:before {
11395
11412
  cursor: not-allowed;
11396
11413
  }
11397
- `, Mh = K(Ce)`
11414
+ `, Ph = K(Ce)`
11398
11415
  z-index: 3;
11399
11416
  top: 50%;
11400
11417
  width: 16px;
@@ -11424,7 +11441,7 @@ var Oh = K(Se)`
11424
11441
  &[data-disabled="true"] {
11425
11442
  cursor: not-allowed;
11426
11443
  }
11427
- `, Nh = K.div`
11444
+ `, Fh = K.div`
11428
11445
  position: absolute;
11429
11446
  z-index: 2;
11430
11447
  top: 50%;
@@ -11437,7 +11454,7 @@ var Oh = K(Se)`
11437
11454
  &[data-disabled="true"] {
11438
11455
  cursor: not-allowed;
11439
11456
  }
11440
- `, Ph = K.div`
11457
+ `, Ih = K.div`
11441
11458
  width: 2px;
11442
11459
  height: 2px;
11443
11460
  flex-shrink: 0;
@@ -11450,8 +11467,8 @@ var Oh = K(Se)`
11450
11467
  `;
11451
11468
  //#endregion
11452
11469
  //#region packages/components/Slider/Slider.tsx
11453
- function Fh({ id: e, label: t, minValue: n = 0, maxValue: r = 100, step: i = 1, isDisabled: a, style: o, className: l, onChange: d, onChangeEnd: p, value: m, thumbLabels: h, labelIconRight: g, labelIconRightTooltip: _, helperText: v, helperTextIcon: y, errorHelperText: b, errorHelperTextIcon: x, successHelperText: S, successHelperTextIcon: C, isInvalid: w, withTrackDots: T = !1, ...E }) {
11454
- let [D, O] = f(m), ee = c(), k = e ?? ee, te = E["aria-label"] ?? String(t), ne = J(Ih), A = D.length > 1, [j, M] = f(D[0]), [N, re] = f(D[1]), P = {
11470
+ function Lh({ id: e, label: t, minValue: n = 0, maxValue: r = 100, step: i = 1, isDisabled: a, style: o, className: l, onChange: d, onChangeEnd: p, value: m, thumbLabels: h, labelIconRight: g, labelIconRightTooltip: _, helperText: v, helperTextIcon: y, errorHelperText: b, errorHelperTextIcon: x, successHelperText: S, successHelperTextIcon: C, isInvalid: w, withTrackDots: T = !1, ...E }) {
11471
+ let [D, O] = f(m), ee = c(), k = e ?? ee, te = E["aria-label"] ?? String(t), ne = J(Rh), A = D.length > 1, [j, M] = f(D[0]), [N, re] = f(D[1]), P = {
11455
11472
  htmlForId: e,
11456
11473
  label: t,
11457
11474
  labelIconRight: g,
@@ -11491,7 +11508,7 @@ function Fh({ id: e, label: t, minValue: n = 0, maxValue: r = 100, step: i = 1,
11491
11508
  ]), le = (e, t) => {
11492
11509
  let n = parseInt(e.target.value || "0");
11493
11510
  isNaN(n) || (t === "first" ? M(n) : re(n)), oe.includes(n) && (t === "first" && n > N || t === "second" && n < j || (t === "first" && ae(A ? [n, N] : [n]), t === "second" && ae([j, n])));
11494
- }, ue = /* @__PURE__ */ R(zd, {
11511
+ }, ue = /* @__PURE__ */ R(Wd, {
11495
11512
  "aria-label": `${ne.valueForInput} ${h?.[0]}`,
11496
11513
  value: j,
11497
11514
  onChange: (e) => le(e, "first"),
@@ -11501,7 +11518,7 @@ function Fh({ id: e, label: t, minValue: n = 0, maxValue: r = 100, step: i = 1,
11501
11518
  width: 64,
11502
11519
  minWidth: 64
11503
11520
  }
11504
- }), de = /* @__PURE__ */ R(zd, {
11521
+ }), de = /* @__PURE__ */ R(Wd, {
11505
11522
  "aria-label": `${ne.valueForInput} ${h?.[1]}`,
11506
11523
  value: N,
11507
11524
  onChange: (e) => le(e, "second"),
@@ -11512,7 +11529,7 @@ function Fh({ id: e, label: t, minValue: n = 0, maxValue: r = 100, step: i = 1,
11512
11529
  minWidth: 64
11513
11530
  }
11514
11531
  });
11515
- return /* @__PURE__ */ R(Oh, {
11532
+ return /* @__PURE__ */ R(Ah, {
11516
11533
  id: k,
11517
11534
  isDisabled: a,
11518
11535
  minValue: n,
@@ -11530,35 +11547,35 @@ function Fh({ id: e, label: t, minValue: n = 0, maxValue: r = 100, step: i = 1,
11530
11547
  "aria-label": te,
11531
11548
  children: ({ state: e }) => /* @__PURE__ */ R(Q, {
11532
11549
  ...P,
11533
- children: /* @__PURE__ */ z(kh, { children: [
11550
+ children: /* @__PURE__ */ z(jh, { children: [
11534
11551
  A && ue,
11535
- /* @__PURE__ */ R(Ah, { children: n }),
11536
- /* @__PURE__ */ z(jh, {
11552
+ /* @__PURE__ */ R(Mh, { children: n }),
11553
+ /* @__PURE__ */ z(Nh, {
11537
11554
  "data-invalid": w?.(e.values) || !1,
11538
11555
  "data-range-mode": A,
11539
11556
  style: {
11540
11557
  "--thumb-1-percent": e.getThumbPercent(0) * 100 + "%",
11541
11558
  "--thumb-2-percent": e.getThumbPercent(1) * 100 + "%"
11542
11559
  },
11543
- children: [T && /* @__PURE__ */ R(Nh, {
11560
+ children: [T && /* @__PURE__ */ R(Fh, {
11544
11561
  "data-disabled": a,
11545
- children: oe.map((t) => /* @__PURE__ */ R(Ph, { "data-active": Lh(t, e.values[0], e.values[1]) }, t))
11546
- }), e.values.map((t, n) => /* @__PURE__ */ R(Mh, {
11562
+ children: oe.map((t) => /* @__PURE__ */ R(Ih, { "data-active": zh(t, e.values[0], e.values[1]) }, t))
11563
+ }), e.values.map((t, n) => /* @__PURE__ */ R(Ph, {
11547
11564
  index: n,
11548
11565
  "aria-label": h?.[n],
11549
11566
  "data-invalid": w?.(e.values) || !1
11550
11567
  }, n))]
11551
11568
  }),
11552
- /* @__PURE__ */ R(Ah, { children: r }),
11569
+ /* @__PURE__ */ R(Mh, { children: r }),
11553
11570
  A ? de : ue
11554
11571
  ] })
11555
11572
  })
11556
11573
  });
11557
11574
  }
11558
- var Ih = {
11575
+ var Rh = {
11559
11576
  en: { valueForInput: "Value for" },
11560
11577
  fr: { valueForInput: "Valeur pour" }
11561
- }, Lh = (e, t, n) => n == null ? e < t : e > t && e < n, Rh = K.div`
11578
+ }, zh = (e, t, n) => n == null ? e < t : e > t && e < n, Bh = K.div`
11562
11579
  display: flex;
11563
11580
  align-items: flex-start;
11564
11581
  justify-content: flex-start;
@@ -11572,16 +11589,16 @@ var Ih = {
11572
11589
  display: none;
11573
11590
  }
11574
11591
  }
11575
- `, zh = n({ orientation: "horizontal" }), Bh = () => o(zh), Vh = ({ children: e, orientation: t }) => /* @__PURE__ */ R(zh.Provider, {
11592
+ `, Vh = n({ orientation: "horizontal" }), Hh = () => o(Vh), Uh = ({ children: e, orientation: t }) => /* @__PURE__ */ R(Vh.Provider, {
11576
11593
  value: { orientation: t },
11577
11594
  children: e
11578
11595
  });
11579
11596
  //#endregion
11580
11597
  //#region packages/components/Stepper/Stepper.tsx
11581
- function Hh({ children: e, orientation: t, ...n }) {
11582
- return /* @__PURE__ */ R(Vh, {
11598
+ function Wh({ children: e, orientation: t, ...n }) {
11599
+ return /* @__PURE__ */ R(Uh, {
11583
11600
  orientation: t,
11584
- children: /* @__PURE__ */ R(Rh, {
11601
+ children: /* @__PURE__ */ R(Bh, {
11585
11602
  "data-orientation": t,
11586
11603
  ...n,
11587
11604
  children: e
@@ -11590,7 +11607,7 @@ function Hh({ children: e, orientation: t, ...n }) {
11590
11607
  }
11591
11608
  //#endregion
11592
11609
  //#region packages/components/Stepper/Step/Step.styled.ts
11593
- var Uh = K.div`
11610
+ var Gh = K.div`
11594
11611
  display: flex;
11595
11612
  flex-direction: column;
11596
11613
  gap: var(--spacing-xs);
@@ -11612,14 +11629,14 @@ var Uh = K.div`
11612
11629
  &[data-nature="positive"] {
11613
11630
  --primary-color: var(--color-content-message-positive);
11614
11631
  }
11615
- `, Wh = K.div`
11632
+ `, Kh = K.div`
11616
11633
  padding-right: var(--spacing-sm);
11617
11634
 
11618
11635
  &[data-orientation="vertical"] {
11619
11636
  padding-right: 0;
11620
11637
  padding-bottom: var(--spacing-sm);
11621
11638
  }
11622
- `, Gh = K(P)`
11639
+ `, qh = K(P)`
11623
11640
  margin: 0;
11624
11641
  text-decoration: none;
11625
11642
  color: var(--color-content-neutral-secondary);
@@ -11651,7 +11668,7 @@ var Uh = K.div`
11651
11668
  color: var(--color-content-neutral-tertiary);
11652
11669
  cursor: not-allowed;
11653
11670
  }
11654
- `, Kh = K.div`
11671
+ `, Jh = K.div`
11655
11672
  margin: 0;
11656
11673
  color: var(--color-content-neutral-secondary);
11657
11674
  font-size: var(--text-font-size-sm);
@@ -11662,14 +11679,14 @@ var Uh = K.div`
11662
11679
  &[data-is-disabled="true"] {
11663
11680
  color: var(--color-content-neutral-tertiary);
11664
11681
  }
11665
- `, qh = K.div`
11682
+ `, Yh = K.div`
11666
11683
  display: flex;
11667
11684
  align-items: center;
11668
11685
 
11669
11686
  &[data-orientation="vertical"] {
11670
11687
  flex-direction: column;
11671
11688
  }
11672
- `, Jh = K.div`
11689
+ `, Xh = K.div`
11673
11690
  position: relative;
11674
11691
  z-index: 1;
11675
11692
  width: var(--spacing-md);
@@ -11712,11 +11729,11 @@ var Uh = K.div`
11712
11729
  border-color: var(--color-content-neutral-tertiary);
11713
11730
  color: var(--color-content-neutral-tertiary);
11714
11731
  }
11715
- `, Yh = K(q)`
11732
+ `, Zh = K(q)`
11716
11733
  font-size: 16px;
11717
- `, Xh = K(Yh)`
11734
+ `, Qh = K(Zh)`
11718
11735
  color: var(--color-content-neutral-tertiary);
11719
- `, Zh = K.div`
11736
+ `, $h = K.div`
11720
11737
  width: 100%;
11721
11738
  height: 1px;
11722
11739
  background: var(--color-content-neutral-secondary);
@@ -11753,35 +11770,35 @@ K.div`
11753
11770
  `;
11754
11771
  //#endregion
11755
11772
  //#region packages/components/Stepper/Step/Step.tsx
11756
- function Qh({ title: e, description: t, children: n, nature: r = "default", indicator: i, href: a, onClick: o, isCompleted: s, isActive: c, isDisabled: l, className: u, ...d }) {
11757
- let f = !c && (!!a || !!o), { orientation: p } = Bh();
11758
- return /* @__PURE__ */ z(Uh, {
11773
+ function eg({ title: e, description: t, children: n, nature: r = "default", indicator: i, href: a, onClick: o, isCompleted: s, isActive: c, isDisabled: l, className: u, ...d }) {
11774
+ let f = !c && (!!a || !!o), { orientation: p } = Hh();
11775
+ return /* @__PURE__ */ z(Gh, {
11759
11776
  "data-nature": r,
11760
11777
  "data-orientation": p,
11761
11778
  className: "DS-Step " + u || "",
11762
11779
  ...d,
11763
- children: [/* @__PURE__ */ z(qh, {
11780
+ children: [/* @__PURE__ */ z(Yh, {
11764
11781
  "data-orientation": p,
11765
- children: [/* @__PURE__ */ R(Jh, {
11782
+ children: [/* @__PURE__ */ R(Xh, {
11766
11783
  "data-is-completed": s,
11767
11784
  "data-is-active": c,
11768
11785
  "data-is-disabled": l,
11769
11786
  "data-primary-color": r !== "default",
11770
- children: /* @__PURE__ */ R($h, {
11787
+ children: /* @__PURE__ */ R(tg, {
11771
11788
  indicator: i,
11772
11789
  nature: r,
11773
11790
  isCompleted: s,
11774
11791
  isActive: c
11775
11792
  })
11776
- }), /* @__PURE__ */ R(Zh, {
11793
+ }), /* @__PURE__ */ R($h, {
11777
11794
  "data-is-completed": s,
11778
11795
  "data-orientation": p,
11779
11796
  className: "DS-Step-Line"
11780
11797
  })]
11781
- }), /* @__PURE__ */ z(Wh, {
11798
+ }), /* @__PURE__ */ z(Kh, {
11782
11799
  "data-orientation": p,
11783
11800
  children: [
11784
- /* @__PURE__ */ R(Gh, {
11801
+ /* @__PURE__ */ R(qh, {
11785
11802
  as: f ? void 0 : "div",
11786
11803
  href: c ? void 0 : a,
11787
11804
  onClick: c ? void 0 : o,
@@ -11791,7 +11808,7 @@ function Qh({ title: e, description: t, children: n, nature: r = "default", indi
11791
11808
  tabIndex: f ? void 0 : -1,
11792
11809
  children: e
11793
11810
  }),
11794
- /* @__PURE__ */ R(Kh, {
11811
+ /* @__PURE__ */ R(Jh, {
11795
11812
  "data-is-disabled": l,
11796
11813
  children: t
11797
11814
  }),
@@ -11800,19 +11817,19 @@ function Qh({ title: e, description: t, children: n, nature: r = "default", indi
11800
11817
  })]
11801
11818
  });
11802
11819
  }
11803
- var $h = (e) => {
11820
+ var tg = (e) => {
11804
11821
  let { indicator: t, nature: n, isCompleted: r, isActive: i } = e;
11805
11822
  if (typeof t == "number") return t;
11806
- if (t) return /* @__PURE__ */ R(Yh, { name: t });
11823
+ if (t) return /* @__PURE__ */ R(Zh, { name: t });
11807
11824
  switch (n) {
11808
- case "default": return i || r ? /* @__PURE__ */ R(Yh, { name: "check" }) : /* @__PURE__ */ R(Xh, { name: "record_full" });
11809
- case "warning": return /* @__PURE__ */ R(Yh, { name: "error_outline" });
11810
- case "negative": return /* @__PURE__ */ R(Yh, { name: "close" });
11811
- case "positive": return /* @__PURE__ */ R(Yh, { name: "check" });
11825
+ case "default": return i || r ? /* @__PURE__ */ R(Zh, { name: "check" }) : /* @__PURE__ */ R(Qh, { name: "record_full" });
11826
+ case "warning": return /* @__PURE__ */ R(Zh, { name: "error_outline" });
11827
+ case "negative": return /* @__PURE__ */ R(Zh, { name: "close" });
11828
+ case "positive": return /* @__PURE__ */ R(Zh, { name: "check" });
11812
11829
  }
11813
- }, eg = K(q)`
11830
+ }, ng = K(q)`
11814
11831
  font-size: var(--text-font-size-md);
11815
- `, tg = K.div`
11832
+ `, rg = K.div`
11816
11833
  position: relative;
11817
11834
  width: 40px;
11818
11835
  height: 24px;
@@ -11822,7 +11839,7 @@ var $h = (e) => {
11822
11839
  outline: 2px solid var(--color-content-action-action);
11823
11840
  outline-offset: -2px;
11824
11841
  transition: all 0.3s linear;
11825
- `, ng = K.div`
11842
+ `, ig = K.div`
11826
11843
  position: absolute;
11827
11844
  left: 0;
11828
11845
  display: flex;
@@ -11836,7 +11853,7 @@ var $h = (e) => {
11836
11853
  transform: translate3d(0, 0, 0);
11837
11854
  transition: all 0.2s linear;
11838
11855
  color: var(--color-content-neutral-primary-reversed);
11839
- `, rg = K(Te)`
11856
+ `, ag = K(Te)`
11840
11857
  position: relative;
11841
11858
  display: inline-flex;
11842
11859
  align-items: center;
@@ -11858,27 +11875,27 @@ var $h = (e) => {
11858
11875
  }
11859
11876
 
11860
11877
  &[data-size="large"] {
11861
- ${tg} {
11878
+ ${rg} {
11862
11879
  width: 48px;
11863
11880
  height: 32px;
11864
11881
  }
11865
11882
 
11866
- ${ng} {
11883
+ ${ig} {
11867
11884
  width: 32px;
11868
11885
  height: 32px;
11869
11886
  }
11870
11887
 
11871
- ${eg} {
11888
+ ${ng} {
11872
11889
  font-size: var(--text-font-size-xl);
11873
11890
  }
11874
11891
  }
11875
11892
 
11876
11893
  &[data-selected] {
11877
- ${tg} {
11894
+ ${rg} {
11878
11895
  background-color: var(--color-content-action-action);
11879
11896
  }
11880
11897
 
11881
- ${ng} {
11898
+ ${ig} {
11882
11899
  color: var(--color-content-neutral-primary);
11883
11900
  }
11884
11901
  }
@@ -11886,25 +11903,25 @@ var $h = (e) => {
11886
11903
  &[data-disabled] {
11887
11904
  cursor: not-allowed;
11888
11905
 
11889
- ${tg} {
11906
+ ${rg} {
11890
11907
  background: var(--color-content-neutral-tertiary);
11891
11908
  outline-color: var(--color-content-neutral-tertiary);
11892
11909
  }
11893
11910
 
11894
- ${ng} {
11911
+ ${ig} {
11895
11912
  border-color: var(--color-content-neutral-tertiary);
11896
11913
  }
11897
11914
  }
11898
11915
 
11899
11916
  &[data-disabled][data-selected] {
11900
- ${ng} {
11917
+ ${ig} {
11901
11918
  color: var(--color-content-neutral-tertiary);
11902
11919
  }
11903
11920
  }
11904
11921
 
11905
11922
  &[data-focus-visible],
11906
11923
  &[data-force-focus-visible] {
11907
- ${tg}::before {
11924
+ ${rg}::before {
11908
11925
  content: "";
11909
11926
  position: absolute;
11910
11927
  inset: 0;
@@ -11918,58 +11935,58 @@ var $h = (e) => {
11918
11935
  &[data-size="medium"],
11919
11936
  &[data-size="large"] {
11920
11937
  &[data-pressed] {
11921
- ${ng} {
11938
+ ${ig} {
11922
11939
  transform: translate3d(0, 0, 0);
11923
11940
  }
11924
11941
  }
11925
11942
  &[data-selected] {
11926
- ${ng} {
11943
+ ${ig} {
11927
11944
  transform: translate3d(16px, 0, 0);
11928
11945
  }
11929
11946
  }
11930
11947
  &[data-selected][data-pressed] {
11931
- ${ng} {
11948
+ ${ig} {
11932
11949
  transform: translate3d(12px, 0, 0);
11933
11950
  }
11934
11951
  }
11935
11952
  }
11936
11953
 
11937
11954
  &[data-size="medium"][data-pressed] {
11938
- ${ng} {
11955
+ ${ig} {
11939
11956
  width: 28px;
11940
11957
  }
11941
11958
  }
11942
11959
 
11943
11960
  &[data-size="large"][data-pressed] {
11944
- ${ng} {
11961
+ ${ig} {
11945
11962
  width: 36px;
11946
11963
  }
11947
11964
  }
11948
11965
  /* End - Handle animation */
11949
- `, ig = e.forwardRef(({ label: e, size: t = "medium", labelPosition: n = "right", ...r }, i) => {
11966
+ `, og = e.forwardRef(({ label: e, size: t = "medium", labelPosition: n = "right", ...r }, i) => {
11950
11967
  let a = d(null);
11951
- return l(i, () => a.current, []), /* @__PURE__ */ z(rg, {
11968
+ return l(i, () => a.current, []), /* @__PURE__ */ z(ag, {
11952
11969
  ...r,
11953
11970
  inputRef: a,
11954
11971
  "data-size": t,
11955
11972
  "data-has-label": !!e,
11956
11973
  children: [
11957
11974
  e && n === "left" && /* @__PURE__ */ R("span", { children: e }),
11958
- /* @__PURE__ */ R(tg, {
11975
+ /* @__PURE__ */ R(rg, {
11959
11976
  "aria-hidden": !0,
11960
- children: /* @__PURE__ */ R(ng, { children: /* @__PURE__ */ R(eg, { name: "check" }) })
11977
+ children: /* @__PURE__ */ R(ig, { children: /* @__PURE__ */ R(ng, { name: "check" }) })
11961
11978
  }),
11962
11979
  e && n === "right" && /* @__PURE__ */ R("span", { children: e })
11963
11980
  ]
11964
11981
  });
11965
- }), ag = K.div`
11982
+ }), sg = K.div`
11966
11983
  color: var(--color-content-neutral-secondary);
11967
11984
  font-size: var(--text-font-size-md);
11968
11985
  line-height: var(--text-line-height-md);
11969
11986
  font-style: normal;
11970
11987
  font-weight: 700;
11971
11988
  white-space: nowrap;
11972
- `, og = K(gc)``, sg = K(Ee)`
11989
+ `, cg = K(gc)``, lg = K(Ee)`
11973
11990
  display: flex;
11974
11991
  align-items: center;
11975
11992
  justify-content: center;
@@ -11984,7 +12001,7 @@ var $h = (e) => {
11984
12001
  &[data-selected="true"] {
11985
12002
  border-bottom-color: var(--color-content-action-action);
11986
12003
 
11987
- ${ag} {
12004
+ ${sg} {
11988
12005
  color: var(--color-content-action-action);
11989
12006
  }
11990
12007
  }
@@ -11998,17 +12015,17 @@ var $h = (e) => {
11998
12015
 
11999
12016
  border-bottom-color: var(--color-content-neutral-stroke);
12000
12017
 
12001
- ${ag} {
12018
+ ${sg} {
12002
12019
  color: var(--color-content-neutral-stroke);
12003
12020
  }
12004
12021
 
12005
- ${og} {
12022
+ ${cg} {
12006
12023
  background-color: var(--color-background-neutral-underground-2);
12007
12024
  }
12008
12025
  }
12009
- `, cg = e.forwardRef((e, t) => {
12026
+ `, ug = e.forwardRef((e, t) => {
12010
12027
  let { id: n, href: r, children: i, style: a, className: o, isDisabled: s, routerOptions: c, badgeProps: l, ...u } = e;
12011
- return /* @__PURE__ */ z(sg, {
12028
+ return /* @__PURE__ */ z(lg, {
12012
12029
  ...u,
12013
12030
  ref: t,
12014
12031
  id: n,
@@ -12017,32 +12034,32 @@ var $h = (e) => {
12017
12034
  className: o,
12018
12035
  isDisabled: s,
12019
12036
  routerOptions: c,
12020
- children: [/* @__PURE__ */ R(ag, { children: i }), l && /* @__PURE__ */ R(og, { ...l })]
12037
+ children: [/* @__PURE__ */ R(sg, { children: i }), l && /* @__PURE__ */ R(cg, { ...l })]
12021
12038
  });
12022
- }), lg = K(De)`
12039
+ }), dg = K(De)`
12023
12040
  display: flex;
12024
12041
  align-items: center;
12025
12042
  border-bottom: 1px solid var(--color-content-neutral-stroke);
12026
- `, ug = K.div`
12043
+ `, fg = K.div`
12027
12044
  overflow-x: auto;
12028
12045
  width: 100%;
12029
- `, dg = e.forwardRef((e, t) => {
12046
+ `, pg = e.forwardRef((e, t) => {
12030
12047
  let { children: n, className: r, style: i } = e;
12031
- return /* @__PURE__ */ R(ug, {
12048
+ return /* @__PURE__ */ R(fg, {
12032
12049
  "data-component": "tab-list",
12033
- children: /* @__PURE__ */ R(lg, {
12050
+ children: /* @__PURE__ */ R(dg, {
12034
12051
  ref: t,
12035
12052
  className: r,
12036
12053
  style: i,
12037
12054
  children: n
12038
12055
  })
12039
12056
  });
12040
- }), fg = e.forwardRef((e, t) => /* @__PURE__ */ R(Oe, {
12057
+ }), mg = e.forwardRef((e, t) => /* @__PURE__ */ R(Oe, {
12041
12058
  ref: t,
12042
12059
  ...e
12043
- })), pg = K(ke)``, mg = e.forwardRef((e, t) => {
12060
+ })), hg = K(ke)``, gg = e.forwardRef((e, t) => {
12044
12061
  let { children: n, isDisabled: r, selectedKey: i, onSelectionChange: a, defaultSelectedKey: o, className: s, style: c } = e;
12045
- return /* @__PURE__ */ R(pg, {
12062
+ return /* @__PURE__ */ R(hg, {
12046
12063
  ref: t,
12047
12064
  isDisabled: r,
12048
12065
  selectedKey: i,
@@ -12053,13 +12070,13 @@ var $h = (e) => {
12053
12070
  "data-design-system-component": "Tabs",
12054
12071
  children: n
12055
12072
  });
12056
- }), hg = K(Ae)`
12073
+ }), _g = K(Ae)`
12057
12074
  display: flex;
12058
12075
 
12059
12076
  &[data-fullwidth="true"] {
12060
12077
  width: 100%;
12061
12078
  }
12062
- `, gg = K(S)`
12079
+ `, vg = K(S)`
12063
12080
  position: relative;
12064
12081
  display: inline-flex;
12065
12082
  justify-content: flex-start;
@@ -12102,7 +12119,7 @@ var $h = (e) => {
12102
12119
  &[data-nature="warning"] {
12103
12120
  outline-color: var(--color-content-message-warning-darker);
12104
12121
  }
12105
- `, _g = e.forwardRef(({ wrapperProps: e, id: t, label: n, labelIconRight: r, labelIconRightTooltip: i, helperTextIcon: a, helperText: o, errorHelperText: s, errorHelperTextIcon: c, successHelperText: l, successHelperTextIcon: u, warningHelperText: d, warningHelperTextIcon: f, required: p, nature: m, fullWidth: h, isDisabled: g, defaultValue: _, onChange: v, value: y, ampm: b, orientation: x, ...S }, C) => {
12122
+ `, yg = e.forwardRef(({ wrapperProps: e, id: t, label: n, labelIconRight: r, labelIconRightTooltip: i, helperTextIcon: a, helperText: o, errorHelperText: s, errorHelperTextIcon: c, successHelperText: l, successHelperTextIcon: u, warningHelperText: d, warningHelperTextIcon: f, required: p, nature: m, fullWidth: h, isDisabled: g, defaultValue: _, onChange: v, value: y, ampm: b, orientation: x, ...S }, C) => {
12106
12123
  let w = S["aria-label"] ?? String(n), E = Wl({
12107
12124
  nature: m,
12108
12125
  successHelperText: l,
@@ -12128,7 +12145,7 @@ var $h = (e) => {
12128
12145
  return b === !0 && (O = 12), b === !1 && (O = 24), /* @__PURE__ */ R(Q, {
12129
12146
  ...D,
12130
12147
  ref: C,
12131
- children: /* @__PURE__ */ R(hg, {
12148
+ children: /* @__PURE__ */ R(_g, {
12132
12149
  ...S,
12133
12150
  id: t,
12134
12151
  isDisabled: g,
@@ -12140,7 +12157,7 @@ var $h = (e) => {
12140
12157
  onChange: (e) => v?.((e || "").toString()),
12141
12158
  value: typeof y == "string" ? Be(y) : y,
12142
12159
  hourCycle: O,
12143
- children: /* @__PURE__ */ R(gg, {
12160
+ children: /* @__PURE__ */ R(vg, {
12144
12161
  "data-fullwidth": h,
12145
12162
  "aria-disabled": g,
12146
12163
  "data-nature": E,
@@ -12148,16 +12165,16 @@ var $h = (e) => {
12148
12165
  })
12149
12166
  })
12150
12167
  });
12151
- }), vg = K.div`
12168
+ }), bg = K.div`
12152
12169
  display: flex;
12153
12170
  gap: var(--spacing-xxs);
12154
12171
  align-items: flex-start;
12155
- `, yg = K.span`
12172
+ `, xg = K.span`
12156
12173
  min-height: 32px;
12157
12174
  `;
12158
12175
  //#endregion
12159
12176
  //#region packages/components/TimePicker/utils/buildOptions/buildOptions.ts
12160
- function bg(e, t) {
12177
+ function Sg(e, t) {
12161
12178
  if (e < 0 || !Number.isFinite(e)) throw Error(`buildOptions: max must be a non-negative finite number, received ${e}`);
12162
12179
  let n = Math.max(1, Math.floor(t)), r = [];
12163
12180
  for (let t = 0; t <= e; t += n) r.push(String(t).padStart(2, "0"));
@@ -12165,33 +12182,33 @@ function bg(e, t) {
12165
12182
  }
12166
12183
  //#endregion
12167
12184
  //#region packages/components/TimePicker/utils/getSegment/getSegment.ts
12168
- function xg(e, t) {
12185
+ function Cg(e, t) {
12169
12186
  let n = e?.[t];
12170
12187
  return n ? n.padStart(2, "0") : null;
12171
12188
  }
12172
12189
  //#endregion
12173
12190
  //#region packages/components/TimePicker/TimePicker.tsx
12174
- var Sg = [
12191
+ var wg = [
12175
12192
  "hours",
12176
12193
  "minutes",
12177
12194
  "seconds"
12178
- ], Cg = {
12195
+ ], Tg = {
12179
12196
  hours: "HH",
12180
12197
  minutes: "MM",
12181
12198
  seconds: "SS"
12182
- }, wg = {
12199
+ }, Eg = {
12183
12200
  hours: "Hours",
12184
12201
  minutes: "Minutes",
12185
12202
  seconds: "Seconds"
12186
- }, Tg = {
12203
+ }, Dg = {
12187
12204
  hours: 23,
12188
12205
  minutes: 59,
12189
12206
  seconds: 59
12190
- }, Eg = {
12207
+ }, Og = {
12191
12208
  hours: "h",
12192
12209
  minutes: "m",
12193
12210
  seconds: "s"
12194
- }, Dg = e.forwardRef(({ wrapperProps: t, label: n, labelIconRight: r, labelIconRightTooltip: i, helperTextIcon: a, helperText: o, errorHelperText: s, errorHelperTextIcon: c, successHelperText: l, successHelperTextIcon: u, warningHelperText: d, warningHelperTextIcon: f, required: p, nature: m, isDisabled: h, isReadOnly: g, orientation: _, value: v, onChange: y, units: b = Sg, minutesStep: x = 1, secondsStep: S = 1, "aria-label": C }, w) => {
12211
+ }, kg = e.forwardRef(({ wrapperProps: t, label: n, labelIconRight: r, labelIconRightTooltip: i, helperTextIcon: a, helperText: o, errorHelperText: s, errorHelperTextIcon: c, successHelperText: l, successHelperTextIcon: u, warningHelperText: d, warningHelperTextIcon: f, required: p, nature: m, isDisabled: h, isReadOnly: g, orientation: _, value: v, onChange: y, units: b = wg, minutesStep: x = 1, secondsStep: S = 1, "aria-label": C }, w) => {
12195
12212
  let T = e.useId(), E = C ?? String(n), D = Wl({
12196
12213
  nature: m,
12197
12214
  successHelperText: l,
@@ -12220,19 +12237,19 @@ var Sg = [
12220
12237
  warningHelperTextIcon: f,
12221
12238
  required: p,
12222
12239
  orientation: _,
12223
- children: g ? /* @__PURE__ */ R(yg, {
12240
+ children: g ? /* @__PURE__ */ R(xg, {
12224
12241
  "data-readonly": "true",
12225
- children: b.filter((e) => Sg.includes(e)).map((e) => xg(v, e) ?? Cg[e]).join(":")
12226
- }) : /* @__PURE__ */ R(vg, { children: b.map((e) => {
12227
- if (!Sg.includes(e)) return null;
12228
- let t = bg(Tg[e], O[e]), n = xg(v, e);
12242
+ children: b.filter((e) => wg.includes(e)).map((e) => Cg(v, e) ?? Tg[e]).join(":")
12243
+ }) : /* @__PURE__ */ R(bg, { children: b.map((e) => {
12244
+ if (!wg.includes(e)) return null;
12245
+ let t = Sg(Dg[e], O[e]), n = Cg(v, e);
12229
12246
  return /* @__PURE__ */ R(iu, {
12230
12247
  id: `${T}-${e}`,
12231
12248
  mode: "single",
12232
- "aria-label": `${E} : ${wg[e]}`,
12249
+ "aria-label": `${E} : ${Eg[e]}`,
12233
12250
  nature: D,
12234
12251
  disabled: h,
12235
- placeholder: Cg[e],
12252
+ placeholder: Tg[e],
12236
12253
  fullWidth: !0,
12237
12254
  value: n,
12238
12255
  onChange: (t) => {
@@ -12244,19 +12261,19 @@ var Sg = [
12244
12261
  wrapperProps: { style: { width: "80px" } },
12245
12262
  children: t.map((t) => /* @__PURE__ */ R(jc, {
12246
12263
  id: t,
12247
- text: `${t}${Eg[e]}`
12264
+ text: `${t}${Og[e]}`
12248
12265
  }, t))
12249
12266
  }, e);
12250
12267
  }) })
12251
12268
  });
12252
12269
  });
12253
- Dg.displayName = "TimePicker";
12270
+ kg.displayName = "TimePicker";
12254
12271
  //#endregion
12255
12272
  //#region packages/components/Timeline/utils/Timeline.types.ts
12256
- function Og(e) {
12273
+ function Ag(e) {
12257
12274
  return e.type === "group";
12258
12275
  }
12259
- var kg = 58, Ag = 40, jg = (e) => e > 0 ? Ag : kg, Mg = 5, Ng = 3, Pg = (e) => e > 0 ? Ng : Mg, Fg = K.div`
12276
+ var jg = 58, Mg = 40, Ng = (e) => e > 0 ? Mg : jg, Pg = 5, Fg = 3, Ig = (e) => e > 0 ? Fg : Pg, Lg = K.div`
12260
12277
  display: flex;
12261
12278
  align-items: flex-end;
12262
12279
  overflow-x: auto;
@@ -12264,12 +12281,12 @@ var kg = 58, Ag = 40, jg = (e) => e > 0 ? Ag : kg, Mg = 5, Ng = 3, Pg = (e) => e
12264
12281
  &[data-shape="squared"] {
12265
12282
  --timeline-block-radius: var(--radius-minimal);
12266
12283
  }
12267
- `, Ig = K.div`
12284
+ `, Rg = K.div`
12268
12285
  flex: 1;
12269
- `, Lg = K.div`
12286
+ `, zg = K.div`
12270
12287
  position: relative;
12271
12288
  overflow: hidden;
12272
- `, Rg = K.div`
12289
+ `, Bg = K.div`
12273
12290
  position: absolute;
12274
12291
  top: 0;
12275
12292
  bottom: 0;
@@ -12277,7 +12294,7 @@ var kg = 58, Ag = 40, jg = (e) => e > 0 ? Ag : kg, Mg = 5, Ng = 3, Pg = (e) => e
12277
12294
  right: 0;
12278
12295
  pointer-events: none;
12279
12296
  z-index: calc(var(--z-index-base) + 2);
12280
- `, zg = K.div`
12297
+ `, Vg = K.div`
12281
12298
  position: absolute;
12282
12299
  top: 0;
12283
12300
  bottom: 0;
@@ -12286,7 +12303,7 @@ var kg = 58, Ag = 40, jg = (e) => e > 0 ? Ag : kg, Mg = 5, Ng = 3, Pg = (e) => e
12286
12303
  /* Zero-width box: the border sits just before its date, flush against a
12287
12304
  block starting on it instead of covering the block's first pixel. */
12288
12305
  margin-left: calc(var(--stroke-default, 1px) * -1);
12289
- `, Bg = K.div`
12306
+ `, Hg = K.div`
12290
12307
  margin-left: ${188}px;
12291
12308
  min-width: 576px;
12292
12309
  display: flex;
@@ -12298,7 +12315,7 @@ var kg = 58, Ag = 40, jg = (e) => e > 0 ? Ag : kg, Mg = 5, Ng = 3, Pg = (e) => e
12298
12315
  font-weight: 400;
12299
12316
  line-height: 16px;
12300
12317
  border-bottom: 1px solid var(--color-content-neutral-stroke);
12301
- `, Vg = K.div`
12318
+ `, Ug = K.div`
12302
12319
  flex-grow: 1;
12303
12320
  flex-shrink: 0;
12304
12321
  flex-basis: 0;
@@ -12314,12 +12331,12 @@ var kg = 58, Ag = 40, jg = (e) => e > 0 ? Ag : kg, Mg = 5, Ng = 3, Pg = (e) => e
12314
12331
  &:last-child[data-type="dot"] div {
12315
12332
  transform: none;
12316
12333
  }
12317
- `, Hg = K.div`
12334
+ `, Wg = K.div`
12318
12335
  width: 5px;
12319
12336
  height: 5px;
12320
12337
  border-radius: 50%;
12321
12338
  background-color: var(--color-content-neutral-secondary);
12322
- `, Ug = K.div`
12339
+ `, Gg = K.div`
12323
12340
  flex-grow: 1;
12324
12341
  flex-shrink: 0;
12325
12342
  flex-basis: 0;
@@ -12331,53 +12348,53 @@ var kg = 58, Ag = 40, jg = (e) => e > 0 ? Ag : kg, Mg = 5, Ng = 3, Pg = (e) => e
12331
12348
  &:last-child {
12332
12349
  border-right: none;
12333
12350
  }
12334
- `, Wg = 36e5, Gg = Wg * 24;
12335
- Gg * 7, Gg * 14;
12336
- function Kg(e) {
12351
+ `, Kg = 36e5, qg = Kg * 24;
12352
+ qg * 7, qg * 14;
12353
+ function Jg(e) {
12337
12354
  return e <= 864e5 ? "hours" : e <= 6048e5 ? "week" : e <= 12096e5 ? "two-weeks" : "month";
12338
12355
  }
12339
12356
  //#endregion
12340
12357
  //#region packages/components/Timeline/components/TimelineRange/TimelineRange.tsx
12341
- var qg = ({ startDate: e, endDate: t }) => {
12342
- let n = Fe(), r = t.getTime() - e.getTime(), i = Kg(r);
12358
+ var Yg = ({ startDate: e, endDate: t }) => {
12359
+ let n = Fe(), r = t.getTime() - e.getTime(), i = Jg(r);
12343
12360
  if (i === "hours") {
12344
- let e = Math.ceil(r / Wg);
12345
- return /* @__PURE__ */ R(Bg, { children: Array(e).fill(0).map((e, t) => {
12361
+ let e = Math.ceil(r / Kg);
12362
+ return /* @__PURE__ */ R(Hg, { children: Array(e).fill(0).map((e, t) => {
12346
12363
  let n = t + 1;
12347
- return n % 2 == 0 ? /* @__PURE__ */ R(Vg, {
12364
+ return n % 2 == 0 ? /* @__PURE__ */ R(Ug, {
12348
12365
  "data-type": "dot",
12349
- children: /* @__PURE__ */ R(Hg, { "data-testid": `hour-dot-${n}` })
12350
- }, n) : /* @__PURE__ */ R(Vg, {
12366
+ children: /* @__PURE__ */ R(Wg, { "data-testid": `hour-dot-${n}` })
12367
+ }, n) : /* @__PURE__ */ R(Ug, {
12351
12368
  "data-type": "number",
12352
12369
  children: /* @__PURE__ */ z("span", { children: [n.toString().padStart(2, "0"), "h"] })
12353
12370
  }, n);
12354
12371
  }) });
12355
12372
  }
12356
- let a = Math.ceil(r / Gg), o = Array(a).fill(0).map((t, n) => {
12373
+ let a = Math.ceil(r / qg), o = Array(a).fill(0).map((t, n) => {
12357
12374
  let r = new Date(e);
12358
12375
  return r.setDate(r.getDate() + n), r;
12359
12376
  });
12360
- return /* @__PURE__ */ R(Bg, { children: o.map((e) => {
12377
+ return /* @__PURE__ */ R(Hg, { children: o.map((e) => {
12361
12378
  let t = e.toLocaleDateString(n.locale, { weekday: "short" }), r = e.toLocaleDateString(n.locale, {
12362
12379
  day: "2-digit",
12363
12380
  month: i === "week" ? "2-digit" : void 0
12364
12381
  });
12365
- return /* @__PURE__ */ z(Ug, { children: [i !== "month" && /* @__PURE__ */ R("div", { children: t }), /* @__PURE__ */ R("div", { children: r })] }, e.toISOString());
12382
+ return /* @__PURE__ */ z(Gg, { children: [i !== "month" && /* @__PURE__ */ R("div", { children: t }), /* @__PURE__ */ R("div", { children: r })] }, e.toISOString());
12366
12383
  }) });
12367
- }, Jg = (e, t, n) => {
12384
+ }, Xg = (e, t, n) => {
12368
12385
  let r = e.startDate < t ? t : e.startDate, i = e.endDate > n ? n : e.endDate, a = n.getTime() - t.getTime(), o = i.getTime() - r.getTime(), s = (r.getTime() - t.getTime()) / a, c = o / a;
12369
12386
  return {
12370
12387
  start: (s * 100).toFixed(2),
12371
12388
  width: (c * 100).toFixed(2)
12372
12389
  };
12373
- }, Yg = K.div`
12390
+ }, Zg = K.div`
12374
12391
  display: flex;
12375
- `, Xg = K.div`
12392
+ `, Qg = K.div`
12376
12393
  flex: 1;
12377
12394
  position: relative;
12378
12395
  border-bottom: 1px solid var(--color-content-neutral-stroke);
12379
12396
  overflow: hidden;
12380
- `, Zg = K.div`
12397
+ `, $g = K.div`
12381
12398
  position: absolute;
12382
12399
  top: var(--spacing-xs);
12383
12400
  bottom: var(--spacing-xs);
@@ -12390,11 +12407,11 @@ var qg = ({ startDate: e, endDate: t }) => {
12390
12407
  button[data-clickable="true"]:hover {
12391
12408
  filter: brightness(0.8);
12392
12409
  }
12393
- `, Qg = K.div`
12410
+ `, e_ = K.div`
12394
12411
  position: relative;
12395
12412
  flex: 1;
12396
12413
  min-height: 0;
12397
- `, $g = K.div`
12414
+ `, t_ = K.div`
12398
12415
  position: absolute;
12399
12416
  max-width: 100%;
12400
12417
  height: 100%;
@@ -12405,7 +12422,7 @@ var qg = ({ startDate: e, endDate: t }) => {
12405
12422
  &[data-is-expanded="true"] {
12406
12423
  background-color: #f6f6f699;
12407
12424
  }
12408
- `, e_ = K.div`
12425
+ `, n_ = K.div`
12409
12426
  position: absolute;
12410
12427
  width: 1px;
12411
12428
  /* Above the grid lines, which sit at +2. */
@@ -12413,7 +12430,7 @@ var qg = ({ startDate: e, endDate: t }) => {
12413
12430
  height: 100%;
12414
12431
  border: 1px solid var(--color-content-neutral-primary);
12415
12432
  transform: translateX(-50%);
12416
- `, t_ = K(Ne)`
12433
+ `, r_ = K(Ne)`
12417
12434
  outline: none;
12418
12435
  forced-color-adjust: none;
12419
12436
  transform: translate3d(0, 0, 0);
@@ -12439,10 +12456,10 @@ var qg = ({ startDate: e, endDate: t }) => {
12439
12456
  `;
12440
12457
  //#endregion
12441
12458
  //#region packages/components/Timeline/components/BlockLineContainer/utils/groupOverlappingBlocks/groupOverlappingBlocks.ts
12442
- function n_(e) {
12459
+ function i_(e) {
12443
12460
  let t = [];
12444
12461
  for (let n of e) {
12445
- let e = t.filter((e) => r_(n, e));
12462
+ let e = t.filter((e) => a_(n, e));
12446
12463
  if (e.length === 0 && t.push({
12447
12464
  start: n.startDate,
12448
12465
  end: n.endDate,
@@ -12462,10 +12479,10 @@ function n_(e) {
12462
12479
  }
12463
12480
  return t;
12464
12481
  }
12465
- var r_ = (e, t) => e.startDate === t.start || e.startDate < t.end && e.startDate >= t.start || e.endDate > t.start && e.endDate <= t.end || e.endDate === t.end || e.startDate < t.start && e.endDate > t.end;
12482
+ var a_ = (e, t) => e.startDate === t.start || e.startDate < t.end && e.startDate >= t.start || e.endDate > t.start && e.endDate <= t.end || e.endDate === t.end || e.startDate < t.start && e.endDate > t.end;
12466
12483
  //#endregion
12467
12484
  //#region packages/components/Timeline/components/BlockLineContainer/utils/assignBlocksToLanes/assignBlocksToLanes.ts
12468
- function i_(e) {
12485
+ function o_(e) {
12469
12486
  let t = /* @__PURE__ */ new Map();
12470
12487
  for (let n of e) {
12471
12488
  let e = t.get(n.color) ?? [];
@@ -12473,54 +12490,54 @@ function i_(e) {
12473
12490
  }
12474
12491
  return Array.from(t.entries()).map(([e, t]) => ({
12475
12492
  color: String(e),
12476
- lanes: a_(t),
12493
+ lanes: s_(t),
12477
12494
  startsAt: t.reduce((e, t) => Math.min(e, t.startDate.getTime()), Infinity)
12478
- })).sort((e, t) => e.startsAt - t.startsAt || o_(e.color, t.color)).flatMap((e) => e.lanes);
12495
+ })).sort((e, t) => e.startsAt - t.startsAt || c_(e.color, t.color)).flatMap((e) => e.lanes);
12479
12496
  }
12480
- function a_(e) {
12481
- let t = [...e].sort((e, t) => e.startDate.getTime() - t.startDate.getTime() || e.endDate.getTime() - t.endDate.getTime() || o_(e.id, t.id)), n = [];
12497
+ function s_(e) {
12498
+ let t = [...e].sort((e, t) => e.startDate.getTime() - t.startDate.getTime() || e.endDate.getTime() - t.endDate.getTime() || c_(e.id, t.id)), n = [];
12482
12499
  for (let e of t) {
12483
12500
  let t = n.find((t) => t[t.length - 1].endDate.getTime() <= e.startDate.getTime());
12484
12501
  t ? t.push(e) : n.push([e]);
12485
12502
  }
12486
12503
  return n;
12487
12504
  }
12488
- function o_(e, t) {
12505
+ function c_(e, t) {
12489
12506
  return e < t ? -1 : +(e > t);
12490
12507
  }
12491
12508
  //#endregion
12492
12509
  //#region packages/components/Timeline/components/BlockLineContainer/utils/isBlockInBoundaries/isBlockInBoundaries.ts
12493
- function s_(e, t, n) {
12510
+ function l_(e, t, n) {
12494
12511
  return !(e.startDate < t && e.endDate <= t || e.startDate >= n);
12495
12512
  }
12496
12513
  //#endregion
12497
12514
  //#region packages/components/Timeline/components/BlockLineContainer/components/ExpandButton/ExpandButton.styled.ts
12498
- var c_ = K.div`
12515
+ var u_ = K.div`
12499
12516
  position: absolute;
12500
12517
  bottom: calc(var(--spacing-xs) * -2);
12501
12518
  display: flex;
12502
12519
  align-items: center;
12503
12520
  justify-content: center;
12504
- `, l_ = K.button`
12521
+ `, d_ = K.button`
12505
12522
  all: unset;
12506
12523
  cursor: pointer;
12507
12524
  padding: var(--spacing-xs);
12508
12525
  `;
12509
12526
  //#endregion
12510
12527
  //#region packages/components/Timeline/components/BlockLineContainer/components/ExpandButton/ExpandButton.tsx
12511
- function u_(e) {
12512
- let t = J(d_), n = e.lineEndDate, r = e.lineStartDate;
12528
+ function f_(e) {
12529
+ let t = J(p_), n = e.lineEndDate, r = e.lineStartDate;
12513
12530
  for (let t of e.blocks) t.startDate < n && (n = t.startDate), t.endDate > r && (r = t.endDate);
12514
- let { start: i, width: a } = Jg({
12531
+ let { start: i, width: a } = Xg({
12515
12532
  startDate: n,
12516
12533
  endDate: r
12517
12534
  }, e.lineStartDate, e.lineEndDate);
12518
- return /* @__PURE__ */ R(c_, {
12535
+ return /* @__PURE__ */ R(u_, {
12519
12536
  style: {
12520
12537
  left: `${i}%`,
12521
12538
  width: `${a}%`
12522
12539
  },
12523
- children: /* @__PURE__ */ R(l_, {
12540
+ children: /* @__PURE__ */ R(d_, {
12524
12541
  onClick: e.onClick,
12525
12542
  type: "button",
12526
12543
  "data-start": i,
@@ -12540,19 +12557,19 @@ function u_(e) {
12540
12557
  })
12541
12558
  });
12542
12559
  }
12543
- var d_ = {
12560
+ var p_ = {
12544
12561
  en: { expand: "Expand" },
12545
12562
  fr: { expand: "Afficher plus" }
12546
12563
  };
12547
12564
  //#endregion
12548
12565
  //#region packages/components/Timeline/components/BlockLineContainer/utils/getLineHeight/getLineHeight.ts
12549
- function f_({ nbOfLanes: e, isCollapsed: t, indentLevel: n }) {
12550
- let r = Pg(n), i = jg(n);
12566
+ function m_({ nbOfLanes: e, isCollapsed: t, indentLevel: n }) {
12567
+ let r = Ig(n), i = Ng(n);
12551
12568
  return t || e <= r ? i : i + (e - r) * 9;
12552
12569
  }
12553
12570
  //#endregion
12554
12571
  //#region packages/components/Timeline/components/BlockLineContainer/components/NameBlock/NameBlock.styled.ts
12555
- var p_ = K.div`
12572
+ var h_ = K.div`
12556
12573
  display: flex;
12557
12574
  align-items: center;
12558
12575
  justify-content: flex-start;
@@ -12578,21 +12595,21 @@ var p_ = K.div`
12578
12595
  color: var(--color-content-action-action);
12579
12596
  }
12580
12597
  }
12581
- `, m_ = K.button`
12598
+ `, g_ = K.button`
12582
12599
  all: unset;
12583
12600
  cursor: pointer;
12584
12601
  display: flex;
12585
12602
  align-items: center;
12586
12603
  gap: var(--spacing-xxs);
12587
12604
  max-width: 100%;
12588
- `, h_ = K.span`
12605
+ `, __ = K.span`
12589
12606
  display: -webkit-box;
12590
12607
  max-width: 100%;
12591
12608
  -webkit-line-clamp: 2;
12592
12609
  -webkit-box-orient: vertical;
12593
12610
  overflow: hidden;
12594
12611
  text-overflow: ellipsis;
12595
- `, g_ = K(q)`
12612
+ `, v_ = K(q)`
12596
12613
  flex-shrink: 0;
12597
12614
  transition: transform 0.2s ease;
12598
12615
  transform: rotate(0deg);
@@ -12601,25 +12618,25 @@ var p_ = K.div`
12601
12618
  &[data-is-expanded="true"] {
12602
12619
  transform: rotate(90deg);
12603
12620
  }
12604
- `, __ = ({ name: e, isGroupParent: t, isExpanded: n, onClick: r, indentLevel: i = 0 }) => {
12621
+ `, y_ = ({ name: e, isGroupParent: t, isExpanded: n, onClick: r, indentLevel: i = 0 }) => {
12605
12622
  let a = d(null), [o, c] = f(!1);
12606
12623
  s(() => {
12607
12624
  let e = a.current;
12608
- e && c(e.scrollHeight > jg(i) - 5);
12625
+ e && c(e.scrollHeight > Ng(i) - 5);
12609
12626
  }, [e, i]);
12610
- let l = /* @__PURE__ */ R(h_, {
12627
+ let l = /* @__PURE__ */ R(__, {
12611
12628
  title: o ? e : void 0,
12612
12629
  ref: a,
12613
12630
  children: e
12614
12631
  });
12615
- return /* @__PURE__ */ R(p_, {
12632
+ return /* @__PURE__ */ R(h_, {
12616
12633
  "data-is-group-parent": t,
12617
12634
  "data-is-expanded": n,
12618
12635
  "data-indent-level": i,
12619
- children: t ? /* @__PURE__ */ z(m_, {
12636
+ children: t ? /* @__PURE__ */ z(g_, {
12620
12637
  type: "button",
12621
12638
  onClick: r,
12622
- children: [/* @__PURE__ */ R(g_, {
12639
+ children: [/* @__PURE__ */ R(v_, {
12623
12640
  name: "caret",
12624
12641
  "data-is-expanded": n
12625
12642
  }), l]
@@ -12628,7 +12645,7 @@ var p_ = K.div`
12628
12645
  };
12629
12646
  //#endregion
12630
12647
  //#region packages/components/Timeline/components/BlockLineContainer/utils/getBlockStyles/getBlockStyles.ts
12631
- function v_({ start: e, width: t, block: n, lineStartDate: r, lineEndDate: i, indentLevel: a }) {
12648
+ function b_({ start: e, width: t, block: n, lineStartDate: r, lineEndDate: i, indentLevel: a }) {
12632
12649
  let o = n.startDate < r, s = n.endDate > i, c = o && s, l = "var(--timeline-block-radius, 32px)", u = l;
12633
12650
  c ? u = "0" : s ? u = `${l} 0 0 ${l}` : o && (u = `0 ${l} ${l} 0`);
12634
12651
  let d = "1px";
@@ -12652,44 +12669,44 @@ function v_({ start: e, width: t, block: n, lineStartDate: r, lineEndDate: i, in
12652
12669
  }
12653
12670
  //#endregion
12654
12671
  //#region packages/components/Timeline/components/BlockLineContainer/BlockLineContainer.tsx
12655
- function y_({ name: e, blocks: t, lineStartDate: n, lineEndDate: r, isGroupParent: i, isGroupExpanded: a, onNameClick: o, indentLevel: s = 0, ...c }) {
12656
- let [l, d] = f(!0), p = u(() => t.filter((e) => s_(e, n, r)), [
12672
+ function x_({ name: e, blocks: t, lineStartDate: n, lineEndDate: r, isGroupParent: i, isGroupExpanded: a, onNameClick: o, indentLevel: s = 0, ...c }) {
12673
+ let [l, d] = f(!0), p = u(() => t.filter((e) => l_(e, n, r)), [
12657
12674
  t,
12658
12675
  n,
12659
12676
  r
12660
- ]), m = u(() => n_(p), [p]), h = u(() => m.map((e) => i_(e.blocks)), [m]), g = /* @__PURE__ */ new Date(), _ = g >= n && g <= r, v = Jg({
12677
+ ]), m = u(() => i_(p), [p]), h = u(() => m.map((e) => o_(e.blocks)), [m]), g = /* @__PURE__ */ new Date(), _ = g >= n && g <= r, v = Xg({
12661
12678
  startDate: n,
12662
12679
  endDate: g
12663
- }, n, r), y = Jg({
12680
+ }, n, r), y = Xg({
12664
12681
  startDate: g,
12665
12682
  endDate: g
12666
12683
  }, n, r), b = h.reduce((e, t) => Math.max(e, t.length), 0);
12667
- return /* @__PURE__ */ z(Yg, {
12684
+ return /* @__PURE__ */ z(Zg, {
12668
12685
  ...c,
12669
- children: [/* @__PURE__ */ R(__, {
12686
+ children: [/* @__PURE__ */ R(y_, {
12670
12687
  name: e,
12671
12688
  isGroupParent: i,
12672
12689
  isExpanded: a,
12673
12690
  onClick: o,
12674
12691
  indentLevel: s
12675
- }), /* @__PURE__ */ z(Xg, {
12676
- style: { height: f_({
12692
+ }), /* @__PURE__ */ z(Qg, {
12693
+ style: { height: m_({
12677
12694
  nbOfLanes: b,
12678
12695
  isCollapsed: l,
12679
12696
  indentLevel: s
12680
12697
  }) },
12681
12698
  children: [
12682
- _ && /* @__PURE__ */ R($g, {
12699
+ _ && /* @__PURE__ */ R(t_, {
12683
12700
  "data-testid": "timeline-past-overlay",
12684
12701
  style: { width: `${v.width}%` },
12685
12702
  "data-is-expanded": a || s > 0
12686
12703
  }),
12687
12704
  m.map((e, t) => {
12688
- let i = h[t], a = l ? i.slice(0, Pg(s)) : i, o = i.length > a.length;
12689
- return /* @__PURE__ */ z(Zg, { children: [a.map((e, i) => /* @__PURE__ */ R(Qg, { children: e.map((e) => {
12690
- let { start: a, width: o } = Jg(e, n, r), c = {
12705
+ let i = h[t], a = l ? i.slice(0, Ig(s)) : i, o = i.length > a.length;
12706
+ return /* @__PURE__ */ z($g, { children: [a.map((e, i) => /* @__PURE__ */ R(e_, { children: e.map((e) => {
12707
+ let { start: a, width: o } = Xg(e, n, r), c = {
12691
12708
  onClick: e.onClick,
12692
- style: v_({
12709
+ style: b_({
12693
12710
  start: a,
12694
12711
  width: o,
12695
12712
  block: e,
@@ -12708,7 +12725,7 @@ function y_({ name: e, blocks: t, lineStartDate: n, lineEndDate: r, isGroupParen
12708
12725
  return e.hoverContent ? /* @__PURE__ */ z(Pe, {
12709
12726
  delay: 0,
12710
12727
  closeDelay: 0,
12711
- children: [/* @__PURE__ */ R(mc, { triggerButtonProps: c }), /* @__PURE__ */ R(t_, {
12728
+ children: [/* @__PURE__ */ R(mc, { triggerButtonProps: c }), /* @__PURE__ */ R(r_, {
12712
12729
  placement: "top",
12713
12730
  children: e.hoverContent
12714
12731
  })]
@@ -12720,14 +12737,14 @@ function y_({ name: e, blocks: t, lineStartDate: n, lineEndDate: r, isGroupParen
12720
12737
  fluid: !0,
12721
12738
  children: /* @__PURE__ */ R(mc, { triggerButtonProps: c })
12722
12739
  }, e.id);
12723
- }) }, `lane-${i}`)), o && /* @__PURE__ */ R(u_, {
12740
+ }) }, `lane-${i}`)), o && /* @__PURE__ */ R(f_, {
12724
12741
  blocks: e.blocks,
12725
12742
  lineStartDate: n,
12726
12743
  lineEndDate: r,
12727
12744
  onClick: () => d(!l)
12728
12745
  })] }, `${e.start.toISOString()} - ${t}`);
12729
12746
  }),
12730
- _ && /* @__PURE__ */ R(e_, {
12747
+ _ && /* @__PURE__ */ R(n_, {
12731
12748
  "data-testid": "timeline-now-line",
12732
12749
  style: { left: `${y.start}%` }
12733
12750
  })
@@ -12737,10 +12754,10 @@ function y_({ name: e, blocks: t, lineStartDate: n, lineEndDate: r, isGroupParen
12737
12754
  }
12738
12755
  //#endregion
12739
12756
  //#region packages/components/Timeline/utils/mergeBlocksByColor/mergeBlocksByColor.ts
12740
- function b_(e) {
12757
+ function S_(e) {
12741
12758
  return `${String(e.getDate()).padStart(2, "0")}/${String(e.getMonth() + 1).padStart(2, "0")}/${e.getFullYear()} ${String(e.getHours()).padStart(2, "0")}:${String(e.getMinutes()).padStart(2, "0")}`;
12742
12759
  }
12743
- function x_(e, t) {
12760
+ function C_(e, t) {
12744
12761
  let n = e.flatMap((e) => e.blocks), r = /* @__PURE__ */ new Map();
12745
12762
  for (let e of n) {
12746
12763
  let t = r.get(e.color) ?? [];
@@ -12769,7 +12786,7 @@ function x_(e, t) {
12769
12786
  endDate: o,
12770
12787
  color: e,
12771
12788
  blocks: s
12772
- }) : `${b_(r)} - ${b_(o)}`
12789
+ }) : `${S_(r)} - ${S_(o)}`
12773
12790
  });
12774
12791
  }
12775
12792
  }
@@ -12777,7 +12794,7 @@ function x_(e, t) {
12777
12794
  }
12778
12795
  //#endregion
12779
12796
  //#region packages/components/Timeline/components/GroupLineContainer/GroupLineContainer.styled.tsx
12780
- var S_ = K.div`
12797
+ var w_ = K.div`
12781
12798
  display: flex;
12782
12799
  flex-direction: column;
12783
12800
 
@@ -12788,11 +12805,11 @@ var S_ = K.div`
12788
12805
  `;
12789
12806
  //#endregion
12790
12807
  //#region packages/components/Timeline/components/GroupLineContainer/GroupLineContainer.tsx
12791
- function C_({ name: e, subLines: t, lineStartDate: n, lineEndDate: r, groupHoverText: i, isExpanded: a, onExpandedChange: o }) {
12792
- let [s, c] = f(!1), l = a ?? s, d = u(() => x_(t, i), [t, i]);
12793
- return /* @__PURE__ */ z(S_, {
12808
+ function T_({ name: e, subLines: t, lineStartDate: n, lineEndDate: r, groupHoverText: i, isExpanded: a, onExpandedChange: o }) {
12809
+ let [s, c] = f(!1), l = a ?? s, d = u(() => C_(t, i), [t, i]);
12810
+ return /* @__PURE__ */ z(w_, {
12794
12811
  "data-is-expanded": l,
12795
- children: [/* @__PURE__ */ R(y_, {
12812
+ children: [/* @__PURE__ */ R(x_, {
12796
12813
  name: e,
12797
12814
  blocks: d,
12798
12815
  lineStartDate: n,
@@ -12803,7 +12820,7 @@ function C_({ name: e, subLines: t, lineStartDate: n, lineEndDate: r, groupHover
12803
12820
  let e = !l;
12804
12821
  a === void 0 && c(e), o?.(e);
12805
12822
  }
12806
- }), l && t.map((e, t) => /* @__PURE__ */ R(y_, {
12823
+ }), l && t.map((e, t) => /* @__PURE__ */ R(x_, {
12807
12824
  name: e.name,
12808
12825
  blocks: e.blocks,
12809
12826
  lineStartDate: n,
@@ -12814,31 +12831,31 @@ function C_({ name: e, subLines: t, lineStartDate: n, lineEndDate: r, groupHover
12814
12831
  }
12815
12832
  //#endregion
12816
12833
  //#region packages/components/Timeline/utils/getGridLineDates/getGridLineDates.ts
12817
- function w_(e, t) {
12834
+ function E_(e, t) {
12818
12835
  let n = t.getTime() - e.getTime();
12819
12836
  if (n <= 0) return [];
12820
- let r = Kg(n) === "hours" ? Wg : Gg, i = [];
12837
+ let r = Jg(n) === "hours" ? Kg : qg, i = [];
12821
12838
  for (let t = r; t < n; t += r) i.push(new Date(e.getTime() + t));
12822
12839
  return i;
12823
12840
  }
12824
12841
  //#endregion
12825
12842
  //#region packages/components/Timeline/Timeline.tsx
12826
- function T_({ emptyPlaceholder: e, lines: t, startDate: n, endDate: r, expandedGroups: i, onExpandedGroupsChange: a, shape: o = "rounded", showGridLines: s = !1, ...c }) {
12827
- let l = u(() => s ? w_(n, r) : [], [
12843
+ function D_({ emptyPlaceholder: e, lines: t, startDate: n, endDate: r, expandedGroups: i, onExpandedGroupsChange: a, shape: o = "rounded", showGridLines: s = !1, ...c }) {
12844
+ let l = u(() => s ? E_(n, r) : [], [
12828
12845
  s,
12829
12846
  n,
12830
12847
  r
12831
12848
  ]);
12832
- return !t || t.length === 0 ? /* @__PURE__ */ R(L, { children: e }) : /* @__PURE__ */ R(Fg, {
12849
+ return !t || t.length === 0 ? /* @__PURE__ */ R(L, { children: e }) : /* @__PURE__ */ R(Lg, {
12833
12850
  ...c,
12834
12851
  "data-shape": o,
12835
12852
  "data-testid": "timeline",
12836
- children: /* @__PURE__ */ z(Ig, { children: [/* @__PURE__ */ R(qg, {
12853
+ children: /* @__PURE__ */ z(Rg, { children: [/* @__PURE__ */ R(Yg, {
12837
12854
  startDate: n,
12838
12855
  endDate: r
12839
- }), /* @__PURE__ */ z(Lg, {
12856
+ }), /* @__PURE__ */ z(zg, {
12840
12857
  "data-testid": "block-chart",
12841
- children: [t.map((e, t) => Og(e) ? /* @__PURE__ */ R(C_, {
12858
+ children: [t.map((e, t) => Ag(e) ? /* @__PURE__ */ R(T_, {
12842
12859
  name: e.name,
12843
12860
  subLines: e.subLines,
12844
12861
  lineStartDate: n,
@@ -12849,17 +12866,17 @@ function T_({ emptyPlaceholder: e, lines: t, startDate: n, endDate: r, expandedG
12849
12866
  ...i,
12850
12867
  [e.name]: t
12851
12868
  }))
12852
- }, `block-chart-group-${e.name}-${t}`) : /* @__PURE__ */ R(y_, {
12869
+ }, `block-chart-group-${e.name}-${t}`) : /* @__PURE__ */ R(x_, {
12853
12870
  "data-testid": `block-chart-line-${e.name}-${t}`,
12854
12871
  name: e.name,
12855
12872
  blocks: e.blocks,
12856
12873
  lineStartDate: n,
12857
12874
  lineEndDate: r
12858
- }, `block-chart-line-${e.name}-${t}`)), l.length > 0 && /* @__PURE__ */ R(Rg, {
12875
+ }, `block-chart-line-${e.name}-${t}`)), l.length > 0 && /* @__PURE__ */ R(Bg, {
12859
12876
  "data-testid": "timeline-grid-lines",
12860
- children: l.map((e) => /* @__PURE__ */ R(zg, {
12877
+ children: l.map((e) => /* @__PURE__ */ R(Vg, {
12861
12878
  "data-testid": `grid-line-${e.toISOString()}`,
12862
- style: { left: `${Jg({
12879
+ style: { left: `${Xg({
12863
12880
  startDate: e,
12864
12881
  endDate: e
12865
12882
  }, n, r).start}%` }
@@ -12870,26 +12887,26 @@ function T_({ emptyPlaceholder: e, lines: t, startDate: n, endDate: r, expandedG
12870
12887
  }
12871
12888
  //#endregion
12872
12889
  //#region node_modules/sonner/dist/index.mjs
12873
- function E_(e) {
12890
+ function O_(e) {
12874
12891
  if (!e || typeof document > "u") return;
12875
12892
  let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
12876
12893
  n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
12877
12894
  }
12878
- var D_ = (e) => {
12895
+ var k_ = (e) => {
12879
12896
  switch (e) {
12880
- case "success": return A_;
12881
- case "info": return M_;
12882
- case "warning": return j_;
12883
- case "error": return N_;
12897
+ case "success": return M_;
12898
+ case "info": return P_;
12899
+ case "warning": return N_;
12900
+ case "error": return F_;
12884
12901
  default: return null;
12885
12902
  }
12886
- }, O_ = Array(12).fill(0), k_ = ({ visible: t, className: n }) => /*#__PURE__*/ e.createElement("div", {
12903
+ }, A_ = Array(12).fill(0), j_ = ({ visible: t, className: n }) => /*#__PURE__*/ e.createElement("div", {
12887
12904
  className: ["sonner-loading-wrapper", n].filter(Boolean).join(" "),
12888
12905
  "data-visible": t
12889
- }, /*#__PURE__*/ e.createElement("div", { className: "sonner-spinner" }, O_.map((t, n) => /*#__PURE__*/ e.createElement("div", {
12906
+ }, /*#__PURE__*/ e.createElement("div", { className: "sonner-spinner" }, A_.map((t, n) => /*#__PURE__*/ e.createElement("div", {
12890
12907
  className: "sonner-loading-bar",
12891
12908
  key: `spinner-bar-${n}`
12892
- })))), A_ = /*#__PURE__*/ e.createElement("svg", {
12909
+ })))), M_ = /*#__PURE__*/ e.createElement("svg", {
12893
12910
  xmlns: "http://www.w3.org/2000/svg",
12894
12911
  viewBox: "0 0 20 20",
12895
12912
  fill: "currentColor",
@@ -12900,7 +12917,7 @@ var D_ = (e) => {
12900
12917
  fillRule: "evenodd",
12901
12918
  d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
12902
12919
  clipRule: "evenodd"
12903
- })), j_ = /*#__PURE__*/ e.createElement("svg", {
12920
+ })), N_ = /*#__PURE__*/ e.createElement("svg", {
12904
12921
  xmlns: "http://www.w3.org/2000/svg",
12905
12922
  viewBox: "0 0 24 24",
12906
12923
  fill: "currentColor",
@@ -12911,7 +12928,7 @@ var D_ = (e) => {
12911
12928
  fillRule: "evenodd",
12912
12929
  d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
12913
12930
  clipRule: "evenodd"
12914
- })), M_ = /*#__PURE__*/ e.createElement("svg", {
12931
+ })), P_ = /*#__PURE__*/ e.createElement("svg", {
12915
12932
  xmlns: "http://www.w3.org/2000/svg",
12916
12933
  viewBox: "0 0 20 20",
12917
12934
  fill: "currentColor",
@@ -12922,7 +12939,7 @@ var D_ = (e) => {
12922
12939
  fillRule: "evenodd",
12923
12940
  d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
12924
12941
  clipRule: "evenodd"
12925
- })), N_ = /*#__PURE__*/ e.createElement("svg", {
12942
+ })), F_ = /*#__PURE__*/ e.createElement("svg", {
12926
12943
  xmlns: "http://www.w3.org/2000/svg",
12927
12944
  viewBox: "0 0 20 20",
12928
12945
  fill: "currentColor",
@@ -12933,7 +12950,7 @@ var D_ = (e) => {
12933
12950
  fillRule: "evenodd",
12934
12951
  d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
12935
12952
  clipRule: "evenodd"
12936
- })), P_ = /*#__PURE__*/ e.createElement("svg", {
12953
+ })), I_ = /*#__PURE__*/ e.createElement("svg", {
12937
12954
  xmlns: "http://www.w3.org/2000/svg",
12938
12955
  width: "12",
12939
12956
  height: "12",
@@ -12954,7 +12971,7 @@ var D_ = (e) => {
12954
12971
  y1: "6",
12955
12972
  x2: "18",
12956
12973
  y2: "18"
12957
- })), F_ = () => {
12974
+ })), L_ = () => {
12958
12975
  let [t, n] = e.useState(document.hidden);
12959
12976
  return e.useEffect(() => {
12960
12977
  let e = () => {
@@ -12962,7 +12979,7 @@ var D_ = (e) => {
12962
12979
  };
12963
12980
  return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
12964
12981
  }, []), t;
12965
- }, I_ = 1, L_ = 100, R_ = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : I_++, $ = new class {
12982
+ }, R_ = 1, z_ = 100, B_ = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : R_++, $ = new class {
12966
12983
  constructor() {
12967
12984
  this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
12968
12985
  let t = this.subscribers.indexOf(e);
@@ -12972,10 +12989,10 @@ var D_ = (e) => {
12972
12989
  }, this.addToast = (e) => {
12973
12990
  this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
12974
12991
  }, this.trimHistory = () => {
12975
- let e = this.toasts.length - L_;
12992
+ let e = this.toasts.length - z_;
12976
12993
  e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));
12977
12994
  }, this.create = (e) => {
12978
- let { message: t, ...n } = e, r = R_(e), i = this.pendingDismissals.get(r);
12995
+ let { message: t, ...n } = e, r = B_(e), i = this.pendingDismissals.get(r);
12979
12996
  i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));
12980
12997
  let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;
12981
12998
  return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({
@@ -13050,7 +13067,7 @@ var D_ = (e) => {
13050
13067
  type: "default",
13051
13068
  message: t
13052
13069
  });
13053
- else if (B_(t) && !t.ok) {
13070
+ else if (H_(t) && !t.ok) {
13054
13071
  a = !1;
13055
13072
  let i = typeof n.error == "function" ? await n.error(`HTTP error! status: ${t.status}`) : n.error, o = typeof n.description == "function" ? await n.description(`HTTP error! status: ${t.status}`) : n.description, s = typeof i == "object" && !e.isValidElement(i) ? i : { message: i };
13056
13073
  this.create({
@@ -13094,7 +13111,7 @@ var D_ = (e) => {
13094
13111
  }), c = () => new Promise((e, t) => s.then(() => o[0] === "reject" ? t(o[1]) : e(o[1])).catch(t));
13095
13112
  return typeof r != "string" && typeof r != "number" ? { unwrap: c } : Object.assign(r, { unwrap: c });
13096
13113
  }, this.custom = (e, t) => {
13097
- let n = R_(t);
13114
+ let n = B_(t);
13098
13115
  return this.create({
13099
13116
  ...t,
13100
13117
  jsx: e(n),
@@ -13103,7 +13120,7 @@ var D_ = (e) => {
13103
13120
  }), n;
13104
13121
  }, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();
13105
13122
  }
13106
- }(), z_ = (e, t) => $.message(e, t), B_ = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", V_ = Object.assign(z_, {
13123
+ }(), V_ = (e, t) => $.message(e, t), H_ = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", U_ = Object.assign(V_, {
13107
13124
  success: $.success,
13108
13125
  info: $.info,
13109
13126
  warning: $.warning,
@@ -13117,20 +13134,20 @@ var D_ = (e) => {
13117
13134
  getHistory: () => $.toasts,
13118
13135
  getToasts: () => $.getActiveToasts()
13119
13136
  });
13120
- E_("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
13121
- function H_(e) {
13137
+ O_("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
13138
+ function W_(e) {
13122
13139
  return e.label !== void 0;
13123
13140
  }
13124
- var U_ = 3, W_ = "24px", G_ = "16px", K_ = 4e3, q_ = 356, J_ = 14, Y_ = 45, X_ = 200;
13125
- function Z_(...e) {
13141
+ var G_ = 3, K_ = "24px", q_ = "16px", J_ = 4e3, Y_ = 356, X_ = 14, Z_ = 45, Q_ = 200;
13142
+ function $_(...e) {
13126
13143
  return e.filter(Boolean).join(" ");
13127
13144
  }
13128
- function Q_(e) {
13145
+ function ev(e) {
13129
13146
  let [t, n] = e.split("-"), r = [];
13130
13147
  return t && r.push(t), n && r.push(n), r;
13131
13148
  }
13132
- var $_ = (t) => {
13133
- let { invert: n, toast: r, unstyled: i, interacting: a, setHeights: o, visibleToasts: s, heights: c, index: l, toasts: u, expanded: d, removeToast: f, defaultRichColors: p, closeButton: m, style: h, cancelButtonStyle: g, actionButtonStyle: _, className: v = "", descriptionClassName: y = "", duration: b, position: x, gap: S, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = t, [D, O] = e.useState(null), [ee, k] = e.useState(null), [te, ne] = e.useState(!1), [A, j] = e.useState(!1), [M, N] = e.useState(!1), [re, P] = e.useState(!1), [ie, ae] = e.useState(!1), [oe, se] = e.useState(0), [ce, le] = e.useState(0), ue = e.useRef(r.duration || b || K_), de = e.useRef(null), fe = e.useRef(null), pe = l === 0, me = l + 1 <= s, F = r.type, he = F ?? "default", ge = r.dismissible !== !1, _e = r.className || "", ve = r.descriptionClassName || "", ye = e.useMemo(() => c.findIndex((e) => e.toastId === r.id) || 0, [c, r.id]), be = e.useMemo(() => r.closeButton ?? m, [r.closeButton, m]), xe = e.useMemo(() => r.duration || b || K_, [r.duration, b]), Se = e.useRef(0), Ce = e.useRef(0), we = e.useRef(0), Te = e.useRef(null), [Ee, De] = x.split("-"), Oe = e.useMemo(() => c.reduce((e, t, n) => n >= ye ? e : e + t.height, 0), [c, ye]), ke = F_(), I = e.useMemo(() => t.swipeDirections ?? Q_(x), [t.swipeDirections, x]), Ae = r.invert || n, je = F === "loading";
13149
+ var tv = (t) => {
13150
+ let { invert: n, toast: r, unstyled: i, interacting: a, setHeights: o, visibleToasts: s, heights: c, index: l, toasts: u, expanded: d, removeToast: f, defaultRichColors: p, closeButton: m, style: h, cancelButtonStyle: g, actionButtonStyle: _, className: v = "", descriptionClassName: y = "", duration: b, position: x, gap: S, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = t, [D, O] = e.useState(null), [ee, k] = e.useState(null), [te, ne] = e.useState(!1), [A, j] = e.useState(!1), [M, N] = e.useState(!1), [re, P] = e.useState(!1), [ie, ae] = e.useState(!1), [oe, se] = e.useState(0), [ce, le] = e.useState(0), ue = e.useRef(r.duration || b || J_), de = e.useRef(null), fe = e.useRef(null), pe = l === 0, me = l + 1 <= s, F = r.type, he = F ?? "default", ge = r.dismissible !== !1, _e = r.className || "", ve = r.descriptionClassName || "", ye = e.useMemo(() => c.findIndex((e) => e.toastId === r.id) || 0, [c, r.id]), be = e.useMemo(() => r.closeButton ?? m, [r.closeButton, m]), xe = e.useMemo(() => r.duration || b || J_, [r.duration, b]), Se = e.useRef(0), Ce = e.useRef(0), we = e.useRef(0), Te = e.useRef(null), [Ee, De] = x.split("-"), Oe = e.useMemo(() => c.reduce((e, t, n) => n >= ye ? e : e + t.height, 0), [c, ye]), ke = L_(), I = e.useMemo(() => t.swipeDirections ?? ev(x), [t.swipeDirections, x]), Ae = r.invert || n, je = F === "loading";
13134
13151
  Ce.current = e.useMemo(() => ye * S + Oe, [ye, Oe]), e.useEffect(() => {
13135
13152
  ue.current = xe;
13136
13153
  }, [xe]), e.useEffect(() => {
@@ -13171,7 +13188,7 @@ var $_ = (t) => {
13171
13188
  let Me = e.useCallback(() => {
13172
13189
  j(!0), se(Ce.current), o((e) => e.filter((e) => e.toastId !== r.id)), setTimeout(() => {
13173
13190
  f(r);
13174
- }, X_);
13191
+ }, Q_);
13175
13192
  }, [
13176
13193
  r,
13177
13194
  f,
@@ -13202,18 +13219,18 @@ var $_ = (t) => {
13202
13219
  }, [Me, r.delete]);
13203
13220
  function Ne() {
13204
13221
  return T?.loading ? /*#__PURE__*/ e.createElement("div", {
13205
- className: Z_(w?.loader, r?.classNames?.loader, "sonner-loader"),
13222
+ className: $_(w?.loader, r?.classNames?.loader, "sonner-loader"),
13206
13223
  "data-visible": F === "loading"
13207
- }, T.loading) : /*#__PURE__*/ e.createElement(k_, {
13208
- className: Z_(w?.loader, r?.classNames?.loader),
13224
+ }, T.loading) : /*#__PURE__*/ e.createElement(j_, {
13225
+ className: $_(w?.loader, r?.classNames?.loader),
13209
13226
  visible: F === "loading"
13210
13227
  });
13211
13228
  }
13212
- let Pe = r.icon || T?.[F] || D_(F);
13229
+ let Pe = r.icon || T?.[F] || k_(F);
13213
13230
  return /*#__PURE__*/ e.createElement("li", {
13214
13231
  tabIndex: 0,
13215
13232
  ref: fe,
13216
- className: Z_(v, _e, w?.toast, r?.classNames?.toast, w?.[he], r?.classNames?.[he]),
13233
+ className: $_(v, _e, w?.toast, r?.classNames?.toast, w?.[he], r?.classNames?.[he]),
13217
13234
  "data-sonner-toast": "",
13218
13235
  "data-rich-colors": r.richColors ?? p,
13219
13236
  "data-styled": !(r.jsx || r.unstyled || i),
@@ -13256,7 +13273,7 @@ var $_ = (t) => {
13256
13273
  if (re || !ge) return;
13257
13274
  Te.current = null;
13258
13275
  let e = Number(fe.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(fe.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), n = (/* @__PURE__ */ new Date()).getTime() - de.current?.getTime(), i = D === "x" ? e : t, a = Math.abs(i) / n;
13259
- if ((D === "x" ? I.includes(e > 0 ? "right" : "left") : I.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Y_ || a > .11)) {
13276
+ if ((D === "x" ? I.includes(e > 0 ? "right" : "left") : I.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Z_ || a > .11)) {
13260
13277
  se(Ce.current), r.onDismiss == null || r.onDismiss.call(r, r), k(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), P(!0);
13261
13278
  return;
13262
13279
  }
@@ -13296,46 +13313,46 @@ var $_ = (t) => {
13296
13313
  onClick: je || !ge ? () => {} : () => {
13297
13314
  Me(), r.onDismiss == null || r.onDismiss.call(r, r);
13298
13315
  },
13299
- className: Z_(w?.closeButton, r?.classNames?.closeButton)
13300
- }, T?.close ?? P_) : null, (F || r.icon || r.promise) && r.icon !== null && (T?.[F] !== null || r.icon) ? /*#__PURE__*/ e.createElement("div", {
13316
+ className: $_(w?.closeButton, r?.classNames?.closeButton)
13317
+ }, T?.close ?? I_) : null, (F || r.icon || r.promise) && r.icon !== null && (T?.[F] !== null || r.icon) ? /*#__PURE__*/ e.createElement("div", {
13301
13318
  "data-icon": "",
13302
- className: Z_(w?.icon, r?.classNames?.icon)
13319
+ className: $_(w?.icon, r?.classNames?.icon)
13303
13320
  }, F === "loading" ? r.icon || Ne() : r.promise ? Ne() : null, F === "loading" ? null : Pe) : null, /*#__PURE__*/ e.createElement("div", {
13304
13321
  "data-content": "",
13305
- className: Z_(w?.content, r?.classNames?.content)
13322
+ className: $_(w?.content, r?.classNames?.content)
13306
13323
  }, /*#__PURE__*/ e.createElement("div", {
13307
13324
  "data-title": "",
13308
- className: Z_(w?.title, r?.classNames?.title)
13325
+ className: $_(w?.title, r?.classNames?.title)
13309
13326
  }, r.jsx ? r.jsx : typeof r.title == "function" ? r.title() : r.title), r.description ? /*#__PURE__*/ e.createElement("div", {
13310
13327
  "data-description": "",
13311
- className: Z_(y, ve, w?.description, r?.classNames?.description)
13312
- }, typeof r.description == "function" ? r.description() : r.description) : null), /*#__PURE__*/ e.isValidElement(r.cancel) ? r.cancel : r.cancel && H_(r.cancel) ? /*#__PURE__*/ e.createElement("button", {
13328
+ className: $_(y, ve, w?.description, r?.classNames?.description)
13329
+ }, typeof r.description == "function" ? r.description() : r.description) : null), /*#__PURE__*/ e.isValidElement(r.cancel) ? r.cancel : r.cancel && W_(r.cancel) ? /*#__PURE__*/ e.createElement("button", {
13313
13330
  "data-button": !0,
13314
13331
  "data-cancel": !0,
13315
13332
  style: r.cancelButtonStyle || g,
13316
13333
  onClick: (e) => {
13317
- H_(r.cancel) && ge && (r.cancel.onClick == null || r.cancel.onClick.call(r.cancel, e), Me());
13334
+ W_(r.cancel) && ge && (r.cancel.onClick == null || r.cancel.onClick.call(r.cancel, e), Me());
13318
13335
  },
13319
- className: Z_(w?.cancelButton, r?.classNames?.cancelButton)
13320
- }, r.cancel.label) : null, /*#__PURE__*/ e.isValidElement(r.action) ? r.action : r.action && H_(r.action) ? /*#__PURE__*/ e.createElement("button", {
13336
+ className: $_(w?.cancelButton, r?.classNames?.cancelButton)
13337
+ }, r.cancel.label) : null, /*#__PURE__*/ e.isValidElement(r.action) ? r.action : r.action && W_(r.action) ? /*#__PURE__*/ e.createElement("button", {
13321
13338
  "data-button": !0,
13322
13339
  "data-action": !0,
13323
13340
  style: r.actionButtonStyle || _,
13324
13341
  onClick: (e) => {
13325
- H_(r.action) && (r.action.onClick == null || r.action.onClick.call(r.action, e), !e.defaultPrevented && Me());
13342
+ W_(r.action) && (r.action.onClick == null || r.action.onClick.call(r.action, e), !e.defaultPrevented && Me());
13326
13343
  },
13327
- className: Z_(w?.actionButton, r?.classNames?.actionButton)
13344
+ className: $_(w?.actionButton, r?.classNames?.actionButton)
13328
13345
  }, r.action.label) : null);
13329
13346
  };
13330
- function ev() {
13347
+ function nv() {
13331
13348
  if (typeof window > "u" || typeof document > "u") return "ltr";
13332
13349
  let e = document.documentElement.getAttribute("dir");
13333
13350
  return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
13334
13351
  }
13335
- function tv(e, t) {
13352
+ function rv(e, t) {
13336
13353
  let n = {};
13337
13354
  return [e, t].forEach((e, t) => {
13338
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? G_ : W_;
13355
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? q_ : K_;
13339
13356
  function o(e) {
13340
13357
  [
13341
13358
  "top",
@@ -13358,8 +13375,8 @@ function tv(e, t) {
13358
13375
  }
13359
13376
  //#endregion
13360
13377
  //#region packages/components/Toaster/Toaster.styles.ts
13361
- var nv = K(/* @__PURE__ */ e.forwardRef(function(t, n) {
13362
- let { id: r, invert: i, position: a = "bottom-right", hotkey: o = ["altKey", "KeyT"], expand: s, closeButton: c, className: l, offset: u, mobileOffset: d, theme: f = "light", richColors: p, duration: m, style: h, visibleToasts: g = U_, toastOptions: _, dir: v = ev(), gap: y = J_, icons: b, customAriaLabel: x, containerAriaLabel: S = "Notifications" } = t, [C, w] = e.useState([]), T = e.useMemo(() => r ? C.filter((e) => e.toasterId === r) : C.filter((e) => !e.toasterId), [C, r]), E = e.useMemo(() => Array.from(new Set([a].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, a]), [D, O] = e.useState([]), [ee, k] = e.useState(!1), [te, ne] = e.useState(!1), [A, j] = e.useState(f === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : f), M = e.useRef(null), N = o.join("+").replace(/Key/g, "").replace(/Digit/g, ""), re = e.useRef(null), P = e.useRef(!1), ie = e.useCallback((e) => {
13378
+ var iv = K(/* @__PURE__ */ e.forwardRef(function(t, n) {
13379
+ let { id: r, invert: i, position: a = "bottom-right", hotkey: o = ["altKey", "KeyT"], expand: s, closeButton: c, className: l, offset: u, mobileOffset: d, theme: f = "light", richColors: p, duration: m, style: h, visibleToasts: g = G_, toastOptions: _, dir: v = nv(), gap: y = X_, icons: b, customAriaLabel: x, containerAriaLabel: S = "Notifications" } = t, [C, w] = e.useState([]), T = e.useMemo(() => r ? C.filter((e) => e.toasterId === r) : C.filter((e) => !e.toasterId), [C, r]), E = e.useMemo(() => Array.from(new Set([a].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, a]), [D, O] = e.useState([]), [ee, k] = e.useState(!1), [te, ne] = e.useState(!1), [A, j] = e.useState(f === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : f), M = e.useRef(null), N = o.join("+").replace(/Key/g, "").replace(/Digit/g, ""), re = e.useRef(null), P = e.useRef(!1), ie = e.useCallback((e) => {
13363
13380
  w((t) => (t.find((t) => t.id === e.id)?.delete || $.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
13364
13381
  }, []);
13365
13382
  return e.useEffect(() => $.subscribe((e) => {
@@ -13435,7 +13452,7 @@ var nv = K(/* @__PURE__ */ e.forwardRef(function(t, n) {
13435
13452
  let [a, o] = n.split("-");
13436
13453
  return T.length ? /*#__PURE__*/ e.createElement("ol", {
13437
13454
  key: n,
13438
- dir: v === "auto" ? ev() : v,
13455
+ dir: v === "auto" ? nv() : v,
13439
13456
  tabIndex: -1,
13440
13457
  ref: M,
13441
13458
  className: l,
@@ -13445,10 +13462,10 @@ var nv = K(/* @__PURE__ */ e.forwardRef(function(t, n) {
13445
13462
  "data-x-position": o,
13446
13463
  style: {
13447
13464
  "--front-toast-height": `${D[0]?.height || 0}px`,
13448
- "--width": `${q_}px`,
13465
+ "--width": `${Y_}px`,
13449
13466
  "--gap": `${y}px`,
13450
13467
  ...h,
13451
- ...tv(u, d)
13468
+ ...rv(u, d)
13452
13469
  },
13453
13470
  onBlur: (e) => {
13454
13471
  P.current && !e.currentTarget.contains(e.relatedTarget) && (P.current = !1, re.current &&= (re.current.focus({ preventScroll: !0 }), null));
@@ -13466,7 +13483,7 @@ var nv = K(/* @__PURE__ */ e.forwardRef(function(t, n) {
13466
13483
  e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || ne(!0);
13467
13484
  },
13468
13485
  onPointerUp: () => ne(!1)
13469
- }, T.filter((e) => !e.position && r === 0 || e.position === n).map((r, a) => /*#__PURE__*/ e.createElement($_, {
13486
+ }, T.filter((e) => !e.position && r === 0 || e.position === n).map((r, a) => /*#__PURE__*/ e.createElement(tv, {
13470
13487
  key: r.id,
13471
13488
  icons: b,
13472
13489
  index: a,
@@ -13552,8 +13569,8 @@ var nv = K(/* @__PURE__ */ e.forwardRef(function(t, n) {
13552
13569
  `;
13553
13570
  //#endregion
13554
13571
  //#region packages/components/Toaster/Toaster.tsx
13555
- function rv({ position: e = "bottom-center", expand: t = !1, visibleToasts: n = 3, offset: r = 32 }) {
13556
- return /* @__PURE__ */ R(nv, {
13572
+ function av({ position: e = "bottom-center", expand: t = !1, visibleToasts: n = 3, offset: r = 32 }) {
13573
+ return /* @__PURE__ */ R(iv, {
13557
13574
  position: e,
13558
13575
  expand: t,
13559
13576
  visibleToasts: n,
@@ -13571,7 +13588,7 @@ function rv({ position: e = "bottom-center", expand: t = !1, visibleToasts: n =
13571
13588
  }
13572
13589
  //#endregion
13573
13590
  //#region packages/components/ToggleButton/ToggleButton.styled.ts
13574
- var iv = K(je)`
13591
+ var ov = K(je)`
13575
13592
  display: inline-flex;
13576
13593
  height: 30px;
13577
13594
  min-width: 30px;
@@ -13626,8 +13643,8 @@ var iv = K(je)`
13626
13643
  color: var(--color-content-neutral-tertiary);
13627
13644
  box-shadow: none;
13628
13645
  }
13629
- `, av = e.forwardRef(({ children: e, iconName: t, isDisabled: n, isSelected: r, defaultSelected: i, onChange: a, mode: o = "primary", tooltip: s, ...c }, l) => {
13630
- let u = t ? /* @__PURE__ */ R(q, { name: t }) : e, d = /* @__PURE__ */ R(iv, {
13646
+ `, sv = e.forwardRef(({ children: e, iconName: t, isDisabled: n, isSelected: r, defaultSelected: i, onChange: a, mode: o = "primary", tooltip: s, ...c }, l) => {
13647
+ let u = t ? /* @__PURE__ */ R(q, { name: t }) : e, d = /* @__PURE__ */ R(ov, {
13631
13648
  ref: l,
13632
13649
  isDisabled: n,
13633
13650
  isSelected: r,
@@ -13642,11 +13659,11 @@ var iv = K(je)`
13642
13659
  label: s,
13643
13660
  children: d
13644
13661
  }) : d;
13645
- }), ov = K(Me)`
13662
+ }), cv = K(Me)`
13646
13663
  display: flex;
13647
13664
  align-items: center;
13648
13665
  gap: var(--spacing-xs);
13649
- `, sv = e.forwardRef(({ children: e, isDisabled: t, selectionMode: n = "multiple", selectedKeys: r, defaultSelectedKeys: i, onSelectionChange: a, wrapperProps: o, label: s, labelIconRight: c, labelIconRightTooltip: l, helperTextIcon: u, helperText: d, errorHelperText: f, errorHelperTextIcon: p, successHelperText: m, successHelperTextIcon: h, warningHelperText: g, warningHelperTextIcon: _, orientation: v, required: y, ...b }, x) => /* @__PURE__ */ R(Q, {
13666
+ `, lv = e.forwardRef(({ children: e, isDisabled: t, selectionMode: n = "multiple", selectedKeys: r, defaultSelectedKeys: i, onSelectionChange: a, wrapperProps: o, label: s, labelIconRight: c, labelIconRightTooltip: l, helperTextIcon: u, helperText: d, errorHelperText: f, errorHelperTextIcon: p, successHelperText: m, successHelperTextIcon: h, warningHelperText: g, warningHelperTextIcon: _, orientation: v, required: y, ...b }, x) => /* @__PURE__ */ R(Q, {
13650
13667
  ...o,
13651
13668
  label: s,
13652
13669
  labelIconRight: c,
@@ -13661,7 +13678,7 @@ var iv = K(je)`
13661
13678
  warningHelperTextIcon: _,
13662
13679
  orientation: v,
13663
13680
  required: y,
13664
- children: /* @__PURE__ */ R(ov, {
13681
+ children: /* @__PURE__ */ R(cv, {
13665
13682
  ref: x,
13666
13683
  isDisabled: t,
13667
13684
  selectionMode: n,
@@ -13673,7 +13690,7 @@ var iv = K(je)`
13673
13690
  ...b,
13674
13691
  children: e
13675
13692
  })
13676
- })), cv = K(m)`
13693
+ })), uv = K(m)`
13677
13694
  position: relative;
13678
13695
  display: inline-flex;
13679
13696
  justify-content: space-between;
@@ -13742,7 +13759,7 @@ var iv = K(je)`
13742
13759
  &[data-nature="warning"] {
13743
13760
  outline-color: var(--color-content-message-warning-darker);
13744
13761
  }
13745
- `, lv = K(q)`
13762
+ `, dv = K(q)`
13746
13763
  flex: none;
13747
13764
  font-size: var(--text-font-size-xl);
13748
13765
  color: var(--color-content-neutral-tertiary);
@@ -13751,7 +13768,7 @@ var iv = K(je)`
13751
13768
  &[data-disabled="true"] {
13752
13769
  color: var(--color-content-neutral-secondary);
13753
13770
  }
13754
- `, uv = me, dv = K(ie)`
13771
+ `, fv = me, pv = K(ie)`
13755
13772
  ${bc};
13756
13773
  z-index: var(--z-index-dropdown);
13757
13774
  outline: none;
@@ -13759,15 +13776,15 @@ var iv = K(je)`
13759
13776
  `;
13760
13777
  //#endregion
13761
13778
  //#region internal/useResizeObserver/useResizeObserver.ts
13762
- function fv() {
13779
+ function mv() {
13763
13780
  return window.ResizeObserver !== void 0;
13764
13781
  }
13765
- function pv(e) {
13782
+ function hv(e) {
13766
13783
  let { ref: t, onResize: n } = e;
13767
13784
  s(() => {
13768
13785
  let e = t?.current;
13769
13786
  if (e) {
13770
- if (fv()) {
13787
+ if (mv()) {
13771
13788
  let t = new window.ResizeObserver((e) => {
13772
13789
  e.length && n();
13773
13790
  });
@@ -13783,26 +13800,26 @@ function pv(e) {
13783
13800
  }
13784
13801
  //#endregion
13785
13802
  //#region internal/generateYearsArray/generateYearsArray.ts
13786
- function mv({ startYear: e, endYear: t, actualDate: n = /* @__PURE__ */ new Date(), sortYears: r = "ascending" }) {
13803
+ function gv({ startYear: e, endYear: t, actualDate: n = /* @__PURE__ */ new Date(), sortYears: r = "ascending" }) {
13787
13804
  let i = n.getFullYear(), a = t ?? i, o = Array.from({ length: a - e + 1 }, (t, n) => (e + n).toString());
13788
13805
  return r === "descending" && o.reverse(), o;
13789
13806
  }
13790
13807
  //#endregion
13791
13808
  //#region packages/components/YearMonthPicker/YearMonthPicker.tsx
13792
- var hv = e.forwardRef((e, t) => {
13809
+ var _v = e.forwardRef((e, t) => {
13793
13810
  let n = c(), r = e.id || n, i = e["aria-label"] ?? String(e.label), [o, s] = f(!1), [l, u] = f(!1), p = Wl({
13794
13811
  nature: e.nature,
13795
13812
  successHelperText: e.successHelperText,
13796
13813
  errorHelperText: e.errorHelperText,
13797
13814
  warningHelperText: e.warningHelperText
13798
- }), m = J(gv), h = _v.find(({ id: t }) => t === e.value?.month)?.text, g = h ? m[h] : "", _ = d(null), [v, y] = f(null);
13799
- pv({
13815
+ }), m = J(vv), h = yv.find(({ id: t }) => t === e.value?.month)?.text, g = h ? m[h] : "", _ = d(null), [v, y] = f(null);
13816
+ hv({
13800
13817
  ref: _,
13801
13818
  onResize: a(() => {
13802
13819
  _.current && y(_.current.offsetWidth + "px");
13803
13820
  }, [_])
13804
13821
  });
13805
- let b = mv({
13822
+ let b = gv({
13806
13823
  startYear: e.firstYear ?? 2e3,
13807
13824
  endYear: e.lastYear ?? 2050,
13808
13825
  sortYears: e.sortYears
@@ -13825,7 +13842,7 @@ var hv = e.forwardRef((e, t) => {
13825
13842
  orientation: e.orientation,
13826
13843
  ref: t,
13827
13844
  children: /* @__PURE__ */ z(D, { children: [
13828
- /* @__PURE__ */ z(cv, {
13845
+ /* @__PURE__ */ z(uv, {
13829
13846
  ...e.buttonProps,
13830
13847
  type: "button",
13831
13848
  ref: _,
@@ -13841,18 +13858,18 @@ var hv = e.forwardRef((e, t) => {
13841
13858
  g && g,
13842
13859
  g && e.value?.year && " ",
13843
13860
  e.value?.year && e.value.year,
13844
- /* @__PURE__ */ R(lv, {
13861
+ /* @__PURE__ */ R(dv, {
13845
13862
  name: e.inputIcon ?? "calendar_today",
13846
13863
  "data-disabled": e.disabled
13847
13864
  })
13848
13865
  ]
13849
13866
  }),
13850
- (e.mode === "month" || e.mode === "month-year") && /* @__PURE__ */ R(uv, {
13867
+ (e.mode === "month" || e.mode === "month-year") && /* @__PURE__ */ R(fv, {
13851
13868
  offset: 4,
13852
13869
  placement: "bottom",
13853
13870
  isOpen: o,
13854
13871
  onOpenChange: s,
13855
- children: /* @__PURE__ */ R(dv, {
13872
+ children: /* @__PURE__ */ R(pv, {
13856
13873
  "aria-label": `${m.monthSelectionFor} ${i}`,
13857
13874
  selectionMode: "single",
13858
13875
  selectedKeys: e.value?.month ? [e.value.month] : [],
@@ -13867,18 +13884,18 @@ var hv = e.forwardRef((e, t) => {
13867
13884
  },
13868
13885
  style: { "--trigger-width": v },
13869
13886
  "data-tall": e.tallDropdown || void 0,
13870
- children: _v.map(({ id: e, text: t }) => /* @__PURE__ */ R(jc, {
13887
+ children: yv.map(({ id: e, text: t }) => /* @__PURE__ */ R(jc, {
13871
13888
  text: m[t],
13872
13889
  id: e
13873
13890
  }, e))
13874
13891
  })
13875
13892
  }),
13876
- (e.mode === "year" || e.mode === "month-year") && /* @__PURE__ */ R(uv, {
13893
+ (e.mode === "year" || e.mode === "month-year") && /* @__PURE__ */ R(fv, {
13877
13894
  offset: 4,
13878
13895
  placement: "bottom",
13879
13896
  isOpen: l,
13880
13897
  onOpenChange: u,
13881
- children: /* @__PURE__ */ R(dv, {
13898
+ children: /* @__PURE__ */ R(pv, {
13882
13899
  "aria-label": `${m.yearSelectionFor} ${i}`,
13883
13900
  selectionMode: "single",
13884
13901
  selectedKeys: e.value?.year ? [e.value.year] : [],
@@ -13901,7 +13918,7 @@ var hv = e.forwardRef((e, t) => {
13901
13918
  })
13902
13919
  ] })
13903
13920
  });
13904
- }), gv = {
13921
+ }), vv = {
13905
13922
  en: {
13906
13923
  open: "Open:",
13907
13924
  january: "January",
@@ -13936,7 +13953,7 @@ var hv = e.forwardRef((e, t) => {
13936
13953
  monthSelectionFor: "Sélection du mois pour",
13937
13954
  yearSelectionFor: "Sélection de l'année pour"
13938
13955
  }
13939
- }, _v = [
13956
+ }, yv = [
13940
13957
  {
13941
13958
  id: "01",
13942
13959
  text: "january"
@@ -13985,10 +14002,10 @@ var hv = e.forwardRef((e, t) => {
13985
14002
  id: "12",
13986
14003
  text: "december"
13987
14004
  }
13988
- ], vv = ({ children: e, ...t }) => /* @__PURE__ */ R(ve, {
14005
+ ], bv = ({ children: e, ...t }) => /* @__PURE__ */ R(ve, {
13989
14006
  ...t,
13990
14007
  children: e
13991
- }), yv = {
14008
+ }), xv = {
13992
14009
  color: {
13993
14010
  content: {
13994
14011
  action: {
@@ -14145,4 +14162,4 @@ var hv = e.forwardRef((e, t) => {
14145
14162
  }
14146
14163
  };
14147
14164
  //#endregion
14148
- export { vc as Accordion, gc as Badge, Lc as Breadcrumbs, Y as Button, Kc as Calendar, Yc as CalendarCell, Zc as Card, al as ChartLegend, _l as ChartTooltip, kc as Checkbox, vl as CheckboxGroup, Sl as Chip, ql as Combobox, Tu as DataTable, ku as DataTableCell, Ru as DataTableHeader, _u as DataTableRoot, Yl as DataTableRow, Hu as DatePicker, Yu as DateRangePicker, ld as Drawer, id as DrawerActions, id as ModalActions, rd as DrawerContent, rd as ModalContent, nd as DrawerForm, nd as ModalForm, Sc as Dropdown, Ac as DropdownListItem, _d as EmptyState, Md as FileUpload, Wd as Filter, mf as Header, M as I18nProvider, q as Icon, Ol as Label, Sf as LinearProgressBar, Ef as Link, Rf as List, sc as Loader, Hf as Menu, Uf as MenuItem, Zf as Message, ip as Modal, Ep as Navigation, Sp as NavigationItem, om as NotificationCard, Hp as Notifications, mm as NumberField, Sm as PageLayout, mu as Pagination, Am as Popover, jm as PopoverTrigger, Im as Radio, Rm as RadioGroup, Gm as RadioGroupItem, vv as RouterProvider, hh as SearchBar, _h as SegmentedControl, xh as SegmentedControlButton, Ch as SegmentedControlList, wh as SegmentedControlPanel, iu as Select, jc as SelectItem, Dh as Skeleton, Fh as Slider, Qh as Step, Hh as Stepper, ig as Switch, cg as Tab, dg as TabList, fg as TabPanel, mg as Tabs, If as Tag, zd as TextInput, _g as TimeField, Dg as TimePicker, T_ as Timeline, rv as Toaster, av as ToggleButton, sv as ToggleButtonGroup, pc as Tooltip, mc as TooltipTrigger, hv as YearMonthPicker, V_ as toast, yv as tokens };
14165
+ export { vc as Accordion, gc as Badge, Lc as Breadcrumbs, Y as Button, Kc as Calendar, Yc as CalendarCell, Zc as Card, al as ChartLegend, _l as ChartTooltip, kc as Checkbox, vl as CheckboxGroup, Sl as Chip, ql as Combobox, Pu as DataTable, ku as DataTableCell, Uu as DataTableHeader, _u as DataTableRoot, Yl as DataTableRow, qu as DatePicker, ed as DateRangePicker, md as Drawer, ld as DrawerActions, ld as ModalActions, cd as DrawerContent, cd as ModalContent, sd as DrawerForm, sd as ModalForm, Sc as Dropdown, Ac as DropdownListItem, Sd as EmptyState, Ld as FileUpload, Yd as Filter, yf as Header, M as I18nProvider, q as Icon, Ol as Label, Df as LinearProgressBar, jf as Link, Uf as List, sc as Loader, qf as Menu, Jf as MenuItem, np as Message, lp as Modal, jp as Navigation, Dp as NavigationItem, dm as NotificationCard, qp as Notifications, ym as NumberField, Dm as PageLayout, mu as Pagination, Fm as Popover, Im as PopoverTrigger, Vm as Radio, Um as RadioGroup, Xm as RadioGroupItem, bv as RouterProvider, bh as SearchBar, Sh as SegmentedControl, Eh as SegmentedControlButton, Oh as SegmentedControlList, kh as SegmentedControlPanel, iu as Select, jc as SelectItem, Cu as Skeleton, Lh as Slider, eg as Step, Wh as Stepper, og as Switch, ug as Tab, pg as TabList, mg as TabPanel, gg as Tabs, Vf as Tag, Wd as TextInput, yg as TimeField, kg as TimePicker, D_ as Timeline, av as Toaster, sv as ToggleButton, lv as ToggleButtonGroup, pc as Tooltip, mc as TooltipTrigger, _v as YearMonthPicker, U_ as toast, xv as tokens };