jamespot-react-components 1.3.28 → 1.3.29

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.
@@ -1,6 +1,6 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode('.react-reset{visibility:visible}.react-reset input[type=text]{box-shadow:none}.react-reset *{align-content:stretch;align-items:stretch;align-self:auto;animation-delay:0s;animation-direction:normal;animation-duration:0s;animation-fill-mode:none;animation-iteration-count:1;animation-name:none;animation-play-state:running;animation-timing-function:ease;azimuth:center;backface-visibility:visible;background-attachment:scroll;background-blend-mode:normal;background-clip:border-box;background-color:transparent;background-image:none;background-origin:padding-box;background-position:0% 0%;background-repeat:repeat;background-size:auto auto;border-block-end-color:currentcolor;border-block-end-style:none;border-block-end-width:medium;border-block-start-color:currentcolor;border-block-start-style:none;border-block-start-width:medium;border-bottom-color:currentcolor;border-bottom-style:none;border-bottom-width:medium;border-collapse:separate;border-image-outset:0s;border-image-repeat:stretch;border-image-slice:100%;border-image-source:none;border-image-width:1;border-inline-end-color:currentcolor;border-inline-end-style:none;border-inline-end-width:medium;border-inline-start-color:currentcolor;border-inline-start-style:none;border-inline-start-width:medium;border-left-color:currentcolor;border-left-style:none;border-left-width:medium;border-right-color:currentcolor;border-right-style:none;border-right-width:medium;border-spacing:0;border-top-color:currentcolor;border-top-style:none;border-top-width:medium;-webkit-box-decoration-break:slice;box-decoration-break:slice;box-sizing:border-box;break-after:auto;break-before:auto;break-inside:auto;caption-side:top;caret-color:auto;clear:none;clip:auto;color:inherit;column-count:auto;column-fill:balance;column-gap:normal;column-rule-color:currentcolor;column-rule-style:none;column-rule-width:medium;column-span:none;column-width:auto;content:normal;counter-increment:none;counter-reset:none;empty-cells:show;flex-basis:auto;flex-direction:row;flex-grow:0;flex-shrink:1;flex-wrap:nowrap;float:none;font-feature-settings:normal;font-kerning:auto;font-language-override:normal;font-stretch:normal;font-synthesis:weight style;font-variant:normal;font-variant-alternates:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-position:normal;grid-auto-columns:auto;grid-auto-flow:row;grid-auto-rows:auto;grid-column-end:auto;grid-column-gap:0;grid-column-start:auto;grid-row-end:auto;grid-row-gap:0;grid-row-start:auto;grid-template-areas:none;grid-template-columns:none;grid-template-rows:none;-webkit-hyphens:manual;hyphens:manual;image-orientation:0deg;image-rendering:auto;image-resolution:1dppx;ime-mode:auto;isolation:auto;justify-content:flex-start;inset:auto;letter-spacing:inherit;line-break:auto;list-style-image:none;list-style-position:outside;margin-block-end:0;margin-block-start:0;margin-inline-end:0;margin-inline-start:0;margin:0;mask-clip:border-box;-webkit-mask-composite:source-over;mask-composite:add;-webkit-mask-image:none;mask-image:none;mask-mode:match-source;-webkit-mask-origin:border-box;mask-origin:border-box;-webkit-mask-position:0% 0%;mask-position:0% 0%;-webkit-mask-repeat:repeat;mask-repeat:repeat;-webkit-mask-size:auto;mask-size:auto;mask-type:luminance;max-height:none;max-width:none;min-height:none;min-inline-size:none;min-width:none;mix-blend-mode:normal;object-fit:fill;object-position:50% 50%;offset-block-end:auto;offset-block-start:auto;offset-inline-end:auto;offset-inline-start:auto;opacity:1;order:0;orphans:2;outline-color:initial;outline-offset:0;outline-style:none;outline-width:medium;padding-block-end:0;padding-block-start:0;padding-inline-end:0;padding-inline-start:0;padding:0;page-break-after:auto;page-break-before:auto;page-break-inside:auto;perspective:none;perspective-origin:50% 50%;pointer-events:auto;position:static;quotes:initial;resize:none;ruby-align:space-around;ruby-merge:separate;ruby-position:over;scroll-behavior:auto;scroll-snap-coordinate:none;scroll-snap-destination:0px 0px;scroll-snap-points-x:none;scroll-snap-points-y:none;scroll-snap-type:none;shape-image-threshold:0;shape-margin:0;shape-outside:none;tab-size:8;table-layout:auto;text-align:initial;text-align-last:auto;text-combine-upright:none;text-emphasis-color:currentcolor;text-emphasis-position:over right;text-emphasis-style:none;text-indent:0;text-justify:auto;text-orientation:mixed;text-overflow:clip;text-rendering:auto;text-shadow:none;text-transform:none;text-underline-position:auto;touch-action:auto;transform-box:border-box;transform-origin:50% 50% 0;transform-style:flat;transition-delay:0s;transition-duration:0s;transition-property:all;transition-timing-function:ease;vertical-align:baseline;visibility:inherit;widows:2;will-change:auto;word-break:normal;word-spacing:normal;word-wrap:normal;writing-mode:horizontal-tb;z-index:unset}.react-reset:not(svg),.react-reset:not(g){border-radius:0;transform:none;box-shadow:none;-webkit-box-shadow:none;filter:none;clip-path:none}.react-icon[class^=icon-],.react-icon[class*=" icon-"]{speak:none;font-style:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.react-icon[class^=icon-fs-],.react-icon[class*=" icon-fs-"]{font-family:fontSpot!important;speak:none;font-style:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.react-reset,.react-reset input,.react-reset input::placeholder,.react-reset textarea::placeholder,.react-reset button,.react-reset select,.react-reset textarea{font-family:var(--font-family);font-size:14px;line-height:1.5;font-weight:400}.react-reset{width:100%}.r-grid{width:100%;display:grid;--pageColWidthLeft: 230px;--pageColWidthRight: 270px}.r-grid.page-1-cols{grid-template-columns:1fr;-ms-grid-columns:1fr;grid-template-rows:auto 1fr;-ms-grid-template-rows:auto 1fr}.r-grid.page-1-cols #r-main{grid-row:2;grid-column:1;-ms-grid-row:2;-ms-grid-column:1}.r-grid.page-2-cols{grid-template-columns:var(--pageColWidthLeft) 1fr;-ms-grid-columns:var(--pageColWidthLeft) 1fr;grid-template-rows:auto 1fr;-ms-grid-template-rows:auto 1fr}.r-grid.page-2-cols #r-left{grid-row:2;grid-column:1;-ms-grid-row:2;-ms-grid-column:1}.r-grid.page-2-cols #r-main{margin-left:30px;grid-row:2;grid-column:2;-ms-grid-row:2;-ms-grid-column:2}.r-grid.page-3-cols{grid-template-columns:var(--pageColWidthLeft) 1fr var(--pageColWidthRight);-ms-grid-columns:var(--pageColWidthLeft) 1fr var(--pageColWidthRight);grid-template-rows:auto 1fr;-ms-grid-template-rows:auto 1fr}.r-grid.page-3-cols #r-left{grid-row:2;grid-column:1;-ms-grid-row:2;-ms-grid-column:1}.r-grid.page-3-cols #r-main{margin:0 30px;grid-row:2;grid-column:2;-ms-grid-row:2;-ms-grid-column:2}.r-grid.page-3-cols #r-right{grid-row:2;grid-column:3;-ms-grid-row:2;-ms-grid-column:3}#r-left,#r-right{display:flex;flex-direction:column;justify-content:flex-end}#r-left .sticky,#r-right .sticky{position:-webkit-sticky;position:sticky;z-index:1;bottom:var(--template-padding);min-height:var(--body-container-height)}#r-left .sticky .fixed,#r-right .sticky .fixed{position:fixed}.react-reset{--scrollbarTrack: white;--scrollbarThumb: #bebed1}.react-reset *{scrollbar-width:thin;scrollbar-color:var(--scrollbarThumb) var(--scrollbarTrack);scroll-behavior:smooth}.react-reset *::-webkit-scrollbar-track{background:var(--scrollbarTrack)}.react-reset *::-webkit-scrollbar-thumb{background-color:var(--scrollbarThumb)}.react-reset *::-webkit-scrollbar{width:8px}.wiggle{animation:.25s ease-in-out 0s 4 wiggle}@keyframes wiggle{0%{transform:rotate(0)}25%{transform:rotate(10deg) scale(1.1)}75%{transform:rotate(-10deg) scale(1.1)}to{transform:rotate(0)}}.scale-left{animation:scale var(--timeout, 1s) linear 0s 1}@keyframes scale{0%{width:0}to{width:100%}}.slide-right{animation:slide-right 1s}@keyframes slide-right{0%{opacity:0;transform:translate(75px)}to{opacity:1;transform:translate(0)}}@keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}:root{--rc-drag-handle-size: 12px;--rc-drag-handle-mobile-size: 24px;--rc-drag-handle-bg-colour: rgba(0, 0, 0, .2);--rc-drag-bar-size: 6px;--rc-border-color: rgba(255, 255, 255, .7);--rc-focus-color: #0088ff}.ReactCrop{position:relative;display:inline-block;cursor:crosshair;max-width:100%}.ReactCrop *,.ReactCrop *:before,.ReactCrop *:after{box-sizing:border-box}.ReactCrop--disabled,.ReactCrop--locked{cursor:inherit}.ReactCrop__child-wrapper{overflow:hidden;max-height:inherit}.ReactCrop__child-wrapper>img,.ReactCrop__child-wrapper>video{display:block;max-width:100%;max-height:inherit}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>img,.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>video{touch-action:none}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__crop-selection{touch-action:none}.ReactCrop__crop-mask{position:absolute;inset:0;pointer-events:none;width:calc(100% + .5px);height:calc(100% + .5px)}.ReactCrop__crop-selection{position:absolute;top:0;left:0;transform:translateZ(0);cursor:move}.ReactCrop--disabled .ReactCrop__crop-selection{cursor:inherit}.ReactCrop--circular-crop .ReactCrop__crop-selection{border-radius:50%}.ReactCrop--circular-crop .ReactCrop__crop-selection:after{pointer-events:none;content:"";position:absolute;inset:-1px;border:1px solid var(--rc-border-color);opacity:.3}.ReactCrop--no-animate .ReactCrop__crop-selection{outline:1px dashed white}.ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection){animation:marching-ants 1s;background-image:linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%);background-size:10px 1px,10px 1px,1px 10px,1px 10px;background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;color:#fff;animation-play-state:running;animation-timing-function:linear;animation-iteration-count:infinite}.ReactCrop__crop-selection:focus{outline:2px solid var(--rc-focus-color);outline-offset:-1px}.ReactCrop--invisible-crop .ReactCrop__crop-mask,.ReactCrop--invisible-crop .ReactCrop__crop-selection{display:none}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after,.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{content:"";display:block;position:absolute;background-color:#fff6}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after{width:1px;height:100%}.ReactCrop__rule-of-thirds-vt:before{left:33.3333333333%}.ReactCrop__rule-of-thirds-vt:after{left:66.6666666667%}.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{width:100%;height:1px}.ReactCrop__rule-of-thirds-hz:before{top:33.3333333333%}.ReactCrop__rule-of-thirds-hz:after{top:66.6666666667%}.ReactCrop__drag-handle{position:absolute;width:var(--rc-drag-handle-size);height:var(--rc-drag-handle-size);background-color:var(--rc-drag-handle-bg-colour);border:1px solid var(--rc-border-color)}.ReactCrop__drag-handle:focus{background:var(--rc-focus-color)}.ReactCrop .ord-nw{top:0;left:0;transform:translate(-50%,-50%);cursor:nw-resize}.ReactCrop .ord-n{top:0;left:50%;transform:translate(-50%,-50%);cursor:n-resize}.ReactCrop .ord-ne{top:0;right:0;transform:translate(50%,-50%);cursor:ne-resize}.ReactCrop .ord-e{top:50%;right:0;transform:translate(50%,-50%);cursor:e-resize}.ReactCrop .ord-se{bottom:0;right:0;transform:translate(50%,50%);cursor:se-resize}.ReactCrop .ord-s{bottom:0;left:50%;transform:translate(-50%,50%);cursor:s-resize}.ReactCrop .ord-sw{bottom:0;left:0;transform:translate(-50%,50%);cursor:sw-resize}.ReactCrop .ord-w{top:50%;left:0;transform:translate(-50%,-50%);cursor:w-resize}.ReactCrop__disabled .ReactCrop__drag-handle{cursor:inherit}.ReactCrop__drag-bar{position:absolute}.ReactCrop__drag-bar.ord-n{top:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(-50%)}.ReactCrop__drag-bar.ord-e{right:0;top:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(50%)}.ReactCrop__drag-bar.ord-s{bottom:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(50%)}.ReactCrop__drag-bar.ord-w{top:0;left:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(-50%)}.ReactCrop--new-crop .ReactCrop__drag-bar,.ReactCrop--new-crop .ReactCrop__drag-handle,.ReactCrop--fixed-aspect .ReactCrop__drag-bar,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w{display:none}@media(pointer:coarse){.ReactCrop .ord-n,.ReactCrop .ord-e,.ReactCrop .ord-s,.ReactCrop .ord-w{display:none}.ReactCrop__drag-handle{width:var(--rc-drag-handle-mobile-size);height:var(--rc-drag-handle-mobile-size)}}')),document.head.appendChild(r)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
2
  import * as Sr from "react";
3
- import ee, { useContext as Eg, useMemo as te, forwardRef as Ue, createElement as Mr, useState as D, useEffect as M, useRef as ue, memo as vI, useCallback as J, Fragment as TA, Component as wI, createRef as Vo, PureComponent as rB, useImperativeHandle as iB, Suspense as xI, Children as oB, useLayoutEffect as Ko, createContext as sB } from "react";
3
+ import te, { useContext as Eg, useMemo as ee, forwardRef as Ue, createElement as Mr, useState as D, useEffect as M, useRef as ue, memo as vI, useCallback as J, Fragment as TA, Component as wI, createRef as Vo, PureComponent as rB, useImperativeHandle as iB, Suspense as xI, Children as oB, useLayoutEffect as Ko, createContext as sB } from "react";
4
4
  import p, { ThemeContext as bI, css as ot, ThemeProvider as Mp, useTheme as tt, keyframes as ls } from "styled-components";
5
5
  import { Link as BI } from "react-router-dom";
6
6
  import { useIntl as K, FormattedMessage as Oe } from "react-intl";
@@ -577,7 +577,7 @@ React keys must be passed directly to JSX without using spread:
577
577
  function f(E) {
578
578
  return typeof E == "object" && E !== null && E.$$typeof === h;
579
579
  }
580
- var g = ee, h = Symbol.for("react.transitional.element"), m = Symbol.for("react.portal"), w = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), b = Symbol.for("react.consumer"), B = Symbol.for("react.context"), y = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), I = Symbol.for("react.suspense_list"), O = Symbol.for("react.memo"), Q = Symbol.for("react.lazy"), L = Symbol.for("react.activity"), j = Symbol.for("react.client.reference"), k = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, U = Object.prototype.hasOwnProperty, W = Array.isArray, G = console.createTask ? console.createTask : function() {
580
+ var g = te, h = Symbol.for("react.transitional.element"), m = Symbol.for("react.portal"), w = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), b = Symbol.for("react.consumer"), B = Symbol.for("react.context"), y = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), I = Symbol.for("react.suspense_list"), O = Symbol.for("react.memo"), Q = Symbol.for("react.lazy"), L = Symbol.for("react.activity"), j = Symbol.for("react.client.reference"), k = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, U = Object.prototype.hasOwnProperty, W = Array.isArray, G = console.createTask ? console.createTask : function() {
581
581
  return null;
582
582
  };
583
583
  g = {
@@ -2242,7 +2242,7 @@ function km(e, t, A, n) {
2242
2242
  if (A === null) return null;
2243
2243
  var r = /<br\s*\/?>/;
2244
2244
  return !n || n === "false" || !r.test(e) ? e : e.split(r).map(function(i, o) {
2245
- return /* @__PURE__ */ ee.createElement("span", {
2245
+ return /* @__PURE__ */ te.createElement("span", {
2246
2246
  key: o,
2247
2247
  className: "multi-line"
2248
2248
  }, i);
@@ -2858,7 +2858,7 @@ var iA, oo, l0 = WH(iA = GH(iA = KH(iA = JH(iA = qH(iA = ZH(iA = $H(iA = (oo = /
2858
2858
  if (a) {
2859
2859
  var v = "".concat(u).concat(g ? `
2860
2860
  <style aria-hidden="true">`.concat(g, "</style>") : "");
2861
- return /* @__PURE__ */ ee.createElement(m, sl({
2861
+ return /* @__PURE__ */ te.createElement(m, sl({
2862
2862
  className: "".concat(w),
2863
2863
  id: this.props.id || d,
2864
2864
  ref: function(b) {
@@ -2871,7 +2871,7 @@ var iA, oo, l0 = WH(iA = GH(iA = KH(iA = JH(iA = qH(iA = ZH(iA = $H(iA = (oo = /
2871
2871
  }
2872
2872
  }));
2873
2873
  } else
2874
- return /* @__PURE__ */ ee.createElement(m, sl({
2874
+ return /* @__PURE__ */ te.createElement(m, sl({
2875
2875
  className: "".concat(w),
2876
2876
  id: this.props.id || d
2877
2877
  }, l, {
@@ -2879,7 +2879,7 @@ var iA, oo, l0 = WH(iA = GH(iA = KH(iA = JH(iA = qH(iA = ZH(iA = $H(iA = (oo = /
2879
2879
  return r.tooltipRef = b;
2880
2880
  },
2881
2881
  "data-id": "tooltip"
2882
- }), g && /* @__PURE__ */ ee.createElement("style", {
2882
+ }), g && /* @__PURE__ */ te.createElement("style", {
2883
2883
  dangerouslySetInnerHTML: {
2884
2884
  __html: g
2885
2885
  },
@@ -2944,7 +2944,7 @@ var iA, oo, l0 = WH(iA = GH(iA = KH(iA = JH(iA = qH(iA = ZH(iA = $H(iA = (oo = /
2944
2944
  }) : null;
2945
2945
  }
2946
2946
  }]), A;
2947
- })(ee.Component), Fo(oo, "defaultProps", {
2947
+ })(te.Component), Fo(oo, "defaultProps", {
2948
2948
  insecure: !0,
2949
2949
  resizeHide: !0,
2950
2950
  wrapper: "div",
@@ -3014,7 +3014,7 @@ const xt = (e = {}) => ot`
3014
3014
  role: l,
3015
3015
  label: c
3016
3016
  }) => {
3017
- const { faClasses: d, fontSpot: u } = te(() => {
3017
+ const { faClasses: d, fontSpot: u } = ee(() => {
3018
3018
  const f = ["fa", A.replace("icon-", "fa-")];
3019
3019
  return o?.style && f.push(`fa-${o.style}`), o || f.push("react-icon"), { faClasses: f.join(" "), fontSpot: A.indexOf("icon-fs-") === 0 };
3020
3020
  }, [o, A]);
@@ -4740,7 +4740,7 @@ const hP = p.a.attrs(({ dataCy: e, ...t }) => ({
4740
4740
  color: A,
4741
4741
  audience: n = null
4742
4742
  }) => {
4743
- const r = te(() => ol(A, -0.4) ?? "#FFF", [A]), i = te(() => ol(A, 0.8) ?? "transparent", [A]);
4743
+ const r = ee(() => ol(A, -0.4) ?? "#FFF", [A]), i = ee(() => ol(A, 0.8) ?? "transparent", [A]);
4744
4744
  return /* @__PURE__ */ s.jsxs(mP, { children: [
4745
4745
  /* @__PURE__ */ s.jsx(vP, { color: i, children: /* @__PURE__ */ s.jsx(
4746
4746
  ne,
@@ -4799,7 +4799,7 @@ const hP = p.a.attrs(({ dataCy: e, ...t }) => ({
4799
4799
  collect: (d) => ({
4800
4800
  isDragging: d.isDragging()
4801
4801
  })
4802
- }), c = te(
4802
+ }), c = ee(
4803
4803
  () => ({
4804
4804
  opacity: a ? 0.4 : 1,
4805
4805
  width: r ? "100%" : "auto"
@@ -5097,7 +5097,7 @@ function bt(e) {
5097
5097
  e.rulesValidate ? { validate: e.rulesValidate } : {}
5098
5098
  ),
5099
5099
  defaultValue: e.fieldDefaultValue
5100
- }), [r, i] = D("grey3"), o = (c) => i(c ? "yellow" : "grey3"), a = te(() => Gg(e.rules?.maxLength), [e.rules?.maxLength]);
5100
+ }), [r, i] = D("grey3"), o = (c) => i(c ? "yellow" : "grey3"), a = ee(() => Gg(e.rules?.maxLength), [e.rules?.maxLength]);
5101
5101
  function l() {
5102
5102
  return !!(e.rules?.required && (n && n.types && Object.keys(n.types).includes("required") || A.value === void 0 || A.value === null || A.value === "" || Array.isArray(A.value) && !A.value.length));
5103
5103
  }
@@ -5218,7 +5218,7 @@ const UP = p.button`
5218
5218
  srOnly: g,
5219
5219
  ...h
5220
5220
  }, m) => {
5221
- const w = h.disabled ?? !e, v = te(() => {
5221
+ const w = h.disabled ?? !e, v = ee(() => {
5222
5222
  const b = h.colorVariant ? WP[h.colorVariant] : void 0;
5223
5223
  return {
5224
5224
  color: b?.color ?? c,
@@ -5227,7 +5227,7 @@ const UP = p.button`
5227
5227
  bgHover: b?.bgHover ?? u,
5228
5228
  borderColor: b?.borderColor
5229
5229
  };
5230
- }, [f, w, d, u, c, h.colorVariant]), x = te(() => /* @__PURE__ */ s.jsx(gs, { condition: !!l, hasLicense: e, tooltip: l, children: /* @__PURE__ */ s.jsxs(
5230
+ }, [f, w, d, u, c, h.colorVariant]), x = ee(() => /* @__PURE__ */ s.jsx(gs, { condition: !!l, hasLicense: e, tooltip: l, children: /* @__PURE__ */ s.jsxs(
5231
5231
  UP,
5232
5232
  {
5233
5233
  ...h,
@@ -5635,19 +5635,19 @@ const nL = p.div`
5635
5635
  sectionError: b,
5636
5636
  $maxHeight: B
5637
5637
  }) => {
5638
- const y = K(), C = te(() => e.customSections, [e.customSections]), I = te(() => e.defaultSection, [e.defaultSection]), O = te(
5638
+ const y = K(), C = ee(() => e.customSections, [e.customSections]), I = ee(() => e.defaultSection, [e.defaultSection]), O = ee(
5639
5639
  () => h ?? y.formatMessage({ id: "DND_ADD_SECTION" }),
5640
5640
  [h, y]
5641
- ), Q = te(
5641
+ ), Q = ee(
5642
5642
  () => m ?? y.formatMessage({ id: "DND_EMPTY_STATE" }),
5643
5643
  [m, y]
5644
- ), L = te(
5644
+ ), L = ee(
5645
5645
  () => w ?? y.formatMessage({ id: "DND_STACK_TITLE" }),
5646
5646
  [w, y]
5647
- ), j = te(
5647
+ ), j = ee(
5648
5648
  () => v ?? y.formatMessage({ id: "DND_SECTIONS_TITLE" }),
5649
5649
  [v, y]
5650
- ), k = te(() => y.formatMessage({ id: "DND_NEW_SECTION_LABEL" }), [y]), U = J(
5650
+ ), k = ee(() => y.formatMessage({ id: "DND_NEW_SECTION_LABEL" }), [y]), U = J(
5651
5651
  (E, z, q) => {
5652
5652
  n(E, z, q);
5653
5653
  },
@@ -6106,7 +6106,7 @@ const wL = ({ hasLicense: e = !0, tooltip: t, ...A }, n) => /* @__PURE__ */ s.js
6106
6106
  closeHandler: n.closeHandler,
6107
6107
  focusOnCloseRef: n.focusOnCloseRef
6108
6108
  });
6109
- const o = document.getElementById(t), [a] = D(() => QA()), l = te(
6109
+ const o = document.getElementById(t), [a] = D(() => QA()), l = ee(
6110
6110
  () => e && !A && o && HL(o, a),
6111
6111
  [e, A, o, a]
6112
6112
  );
@@ -6463,7 +6463,7 @@ const ZL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6463
6463
  e.semiTransparentClosed && !v && i && (w.background = "black20", w.border = "black20");
6464
6464
  const B = (C) => {
6465
6465
  C.stopPropagation(), x((I) => (I && g?.(), !I));
6466
- }, y = te(() => QA(), []);
6466
+ }, y = ee(() => QA(), []);
6467
6467
  return /* @__PURE__ */ s.jsxs(
6468
6468
  Wg,
6469
6469
  {
@@ -7485,7 +7485,7 @@ const aj = p.div`
7485
7485
  `, mj = p.button``, lv = p.span`
7486
7486
  ${hn}
7487
7487
  `, vj = ({ file: e, width: t, height: A }) => {
7488
- const n = il(e.mimetype), r = te(() => e.uri.replace(/fitx(\d+)/, `fitx${t * 2}`), [e, t]);
7488
+ const n = il(e.mimetype), r = ee(() => e.uri.replace(/fitx(\d+)/, `fitx${t * 2}`), [e, t]);
7489
7489
  return n === Xa.IMAGE || n === Xa.GIF ? /* @__PURE__ */ s.jsxs(cj, { width: t, height: A, children: [
7490
7490
  /* @__PURE__ */ s.jsx(lv, { children: e.title }),
7491
7491
  /* @__PURE__ */ s.jsx(wj, { uri: r, width: t, maxHeight: A })
@@ -7515,13 +7515,13 @@ const aj = p.div`
7515
7515
  const { height: i } = th(n, r, t, 0), o = -Math.abs(i - A) / 2;
7516
7516
  return /* @__PURE__ */ s.jsx(uj, { $width: t, $height: A, children: /* @__PURE__ */ s.jsx(fj, { loading: "lazy", src: e, $width: t, $top: o }) });
7517
7517
  }, oc = ({ files: e, maxWidth: t = Ji, maxHeight: A, onClick: n }) => {
7518
- const r = te(() => Math.floor(A ?? t / 1.7777777777777777), [t, A]);
7518
+ const r = ee(() => Math.floor(A ?? t / 1.7777777777777777), [t, A]);
7519
7519
  return /* @__PURE__ */ s.jsx(TA, { children: e.map((i) => /* @__PURE__ */ s.jsx(mj, { onClick: () => n(i.id), "data-testid": `album-button-${i.id}`, children: /* @__PURE__ */ s.jsx(vj, { file: i, width: t, height: r }) }, i.uri)) });
7520
7520
  }, qo = ({ files: e, maxWidth: t = Ji, onClick: A }) => {
7521
- const { width: n, height: r } = te(() => ({ width: Math.floor((t - Nr) / 2), height: Math.floor((t - Nr) / 2) }), [t]);
7521
+ const { width: n, height: r } = ee(() => ({ width: Math.floor((t - Nr) / 2), height: Math.floor((t - Nr) / 2) }), [t]);
7522
7522
  return /* @__PURE__ */ s.jsx(z0, { children: e.map((i) => /* @__PURE__ */ s.jsx(oc, { files: [i], maxWidth: n, maxHeight: r, onClick: A }, i.uri)) });
7523
7523
  }, bj = ({ files: e, maxWidth: t = Ji, onClick: A }) => {
7524
- const { filesX1: n, filesX2: r } = te(() => ({
7524
+ const { filesX1: n, filesX2: r } = ee(() => ({
7525
7525
  filesX1: [...e].splice(0, 1),
7526
7526
  filesX2: [...e].splice(1, 2)
7527
7527
  }), [e]);
@@ -7530,7 +7530,7 @@ const aj = p.div`
7530
7530
  /* @__PURE__ */ s.jsx(qo, { files: r, maxWidth: t, onClick: A })
7531
7531
  ] });
7532
7532
  }, Bj = ({ files: e, maxWidth: t = Ji, onClick: A }) => {
7533
- const { filesX2Top: n, filesX2Bottom: r } = te(() => ({
7533
+ const { filesX2Top: n, filesX2Bottom: r } = ee(() => ({
7534
7534
  filesX2Top: [...e].splice(0, 2),
7535
7535
  filesX2Bottom: [...e].splice(2, 4)
7536
7536
  }), [e]);
@@ -7539,7 +7539,7 @@ const aj = p.div`
7539
7539
  /* @__PURE__ */ s.jsx(qo, { files: r, maxWidth: t, onClick: A })
7540
7540
  ] });
7541
7541
  }, yj = ({ files: e, maxWidth: t = Ji, onClick: A }) => {
7542
- const { filesX2: n, filesX3: r, count: i, width: o, height: a } = te(() => ({
7542
+ const { filesX2: n, filesX3: r, count: i, width: o, height: a } = ee(() => ({
7543
7543
  width: Math.floor((t - Nr * 2) / 3),
7544
7544
  height: Math.floor((t - Nr * 2) / 3),
7545
7545
  filesX2: [...e].splice(0, 2),
@@ -7562,7 +7562,7 @@ const aj = p.div`
7562
7562
  withAttachments: A = !1,
7563
7563
  urlResolve: n
7564
7564
  }) => {
7565
- const r = `fitx${t}`, { album: i, attachments: o, filesViewer: a } = te(() => ({
7565
+ const r = `fitx${t}`, { album: i, attachments: o, filesViewer: a } = ee(() => ({
7566
7566
  album: e.filter((l) => av.includes(il(l.mimetype))).map((l) => ({
7567
7567
  uri: n(l),
7568
7568
  mimetype: l.mimetype,
@@ -8093,7 +8093,7 @@ function a4({ description: e, activeTab: t, tabs: A = [], mode: n = "center", ..
8093
8093
  }, uA);
8094
8094
  g(b);
8095
8095
  }
8096
- const x = te(() => QA(), []);
8096
+ const x = ee(() => QA(), []);
8097
8097
  return /* @__PURE__ */ s.jsxs(s4, { mode: n, position: "left", ...r, open: o, id: x, children: [
8098
8098
  /* @__PURE__ */ s.jsxs("div", { children: [
8099
8099
  /* @__PURE__ */ s.jsxs(Xj, { onClick: (b) => w(b), children: [
@@ -9859,14 +9859,14 @@ const dc = {
9859
9859
  `, hv = p.p`
9860
9860
  font-size: 12px;
9861
9861
  `, aM = ({ list: e, limit: t = 4, size: A = 3, filter: n = [], hideDescription: r }) => {
9862
- const i = K(), { audience: o, totalGroups: a, totalUsers: l } = te(() => {
9862
+ const i = K(), { audience: o, totalGroups: a, totalUsers: l } = ee(() => {
9863
9863
  const u = e.filter((h) => h.mainType === "spot").filter((h) => !n.includes(h.uri)), f = e.filter((h) => h.mainType === "user").filter((h) => !n.includes(h.uri)), g = e.filter((h) => h.mainType !== "user" && h.mainType !== "spot").filter((h) => !n.includes(h.uri));
9864
9864
  return {
9865
9865
  audience: [...u, ...f, ...g].slice(0, t),
9866
9866
  totalGroups: u.length,
9867
9867
  totalUsers: f.length
9868
9868
  };
9869
- }, [e, n, t]), c = te(() => {
9869
+ }, [e, n, t]), c = ee(() => {
9870
9870
  if (!o.length) return "AUDIENCE_ONLY_ME";
9871
9871
  if (!r && o.length !== 1) {
9872
9872
  if (a && l) return "AUDIENCE_GROUPS_AND_USERS";
@@ -17535,7 +17535,7 @@ var r5 = pn({
17535
17535
  }
17536
17536
  }
17537
17537
  });
17538
- const i5 = parseInt(String(ee.version).split(".")[0]), o5 = i5 < 18;
17538
+ const i5 = parseInt(String(te.version).split(".")[0]), o5 = i5 < 18;
17539
17539
  class RC extends wI {
17540
17540
  constructor() {
17541
17541
  super(...arguments), this.elRef = Vo(), this.isUpdating = !1, this.isUnmounting = !1, this.state = {
@@ -17549,8 +17549,8 @@ class RC extends wI {
17549
17549
  render() {
17550
17550
  const t = [];
17551
17551
  for (const A of this.state.customRenderingMap.values())
17552
- t.push(ee.createElement(s5, { key: A.id, customRendering: A }));
17553
- return ee.createElement("div", { ref: this.elRef }, t);
17552
+ t.push(te.createElement(s5, { key: A.id, customRendering: A }));
17553
+ return te.createElement("div", { ref: this.elRef }, t);
17554
17554
  }
17555
17555
  componentDidMount() {
17556
17556
  this.isUnmounting = !1;
@@ -19561,8 +19561,6 @@ const vz = p(Wg)`
19561
19561
  }
19562
19562
  }
19563
19563
  }
19564
-
19565
- margin-bottom: -24px;
19566
19564
  `, xw = p(Ye)`
19567
19565
  margin-top: 24px;
19568
19566
  `, bw = p(ne)`
@@ -19631,7 +19629,7 @@ const vz = p(Wg)`
19631
19629
  defaultOpen: d,
19632
19630
  ...u
19633
19631
  }, f) {
19634
- const g = K(), { multiple: h, readOnly: m, onChange: w, required: v, getGroup: x } = u, b = (ae) => Zs(ae, u.getLabel), B = (ae) => Zs(ae, u.getValue), y = (ae) => Zs(ae, u.getSearch ?? u.getLabel), C = J((ae) => Zs(ae, x), [x]), [I] = pz(), [O, Q] = D(""), L = VC(O), [j, k] = D(d ?? !1), [U, W] = D(!1), [G, oe] = D(0), [V, Z] = D(u.loading ?? !1), $ = ue(!1), [H, E] = D(""), z = ue(null), q = ue(null), [R, F] = D(u.options ?? []), X = te(() => u.htmlFor ?? u.name, [u.htmlFor, u.name]), S = te(
19632
+ const g = K(), { multiple: h, readOnly: m, onChange: w, required: v, getGroup: x } = u, b = (ae) => Zs(ae, u.getLabel), B = (ae) => Zs(ae, u.getValue), y = (ae) => Zs(ae, u.getSearch ?? u.getLabel), C = J((ae) => Zs(ae, x), [x]), [I] = pz(), [O, Q] = D(""), L = VC(O), [j, k] = D(d ?? !1), [U, W] = D(!1), [G, oe] = D(0), [V, Z] = D(u.loading ?? !1), $ = ue(!1), [H, E] = D(""), z = ue(null), q = ue(null), [R, F] = D(u.options ?? []), X = ee(() => u.htmlFor ?? u.name, [u.htmlFor, u.name]), S = ee(
19635
19633
  () => i ? "onClick" in i ? /* @__PURE__ */ s.jsx(
19636
19634
  bw,
19637
19635
  {
@@ -19650,7 +19648,7 @@ const vz = p(Wg)`
19650
19648
  }
19651
19649
  ) : /* @__PURE__ */ s.jsx(bw, { name: i.icon, size: 20, color: i.color, left: 6 }) : null,
19652
19650
  [i]
19653
- ), Y = te(
19651
+ ), Y = ee(
19654
19652
  () => {
19655
19653
  if (t) {
19656
19654
  const ae = R.filter((Se) => _s(o, Se)), ke = o?.label?.toLowerCase?.()?.includes(O.toLowerCase()) && !!ae.length;
@@ -20389,7 +20387,7 @@ const vz = p(Wg)`
20389
20387
  noGestion: o,
20390
20388
  loading: a
20391
20389
  }) => {
20392
- const l = K(), c = tt(), { getStatusColor: d, getStatusLabel: u } = Xz(), [f, g] = D("display"), h = te(() => d(r ?? "available"), [d, r]), m = te(() => u(r ?? "available"), [u, r]), w = te(() => {
20390
+ const l = K(), c = tt(), { getStatusColor: d, getStatusLabel: u } = Xz(), [f, g] = D("display"), h = ee(() => d(r ?? "available"), [d, r]), m = ee(() => u(r ?? "available"), [u, r]), w = ee(() => {
20393
20391
  const v = [];
20394
20392
  return A ? (v.push({
20395
20393
  label: l.formatMessage({ id: "CALENDAR_Status_OnSpot" }),
@@ -20613,10 +20611,10 @@ const vz = p(Wg)`
20613
20611
  isUpdateStatusLoading: B,
20614
20612
  recurrent: y
20615
20613
  }) => {
20616
- const C = K(), I = tt(), O = te(() => Number(o), [o]), Q = te(
20614
+ const C = K(), I = tt(), O = ee(() => Number(o), [o]), Q = ee(
20617
20615
  () => A && n ? Math.ceil((n.getTime() - A.getTime()) / 6e4) : void 0,
20618
20616
  [n, A]
20619
- ), L = te(() => !Q || Q >= 40 ? "l" : Q >= 20 ? "s" : "xs", [Q]), j = J((oe) => {
20617
+ ), L = ee(() => !Q || Q >= 40 ? "l" : Q >= 20 ? "s" : "xs", [Q]), j = J((oe) => {
20620
20618
  switch (oe) {
20621
20619
  case "available":
20622
20620
  case "visio":
@@ -20631,13 +20629,13 @@ const vz = p(Wg)`
20631
20629
  default:
20632
20630
  return "🟢";
20633
20631
  }
20634
- }, []), k = te(
20632
+ }, []), k = ee(
20635
20633
  () => c ? C.formatMessage({ id: "CALENDAR_All_Day" }) : A?.getHours() + ":" + ("0" + A?.getMinutes()).slice(-2),
20636
20634
  [c, C, A]
20637
- ), U = te(
20635
+ ), U = ee(
20638
20636
  () => A && n && (A.getDate() !== n.getDate() || A.getMonth() !== A.getMonth() || A.getFullYear() !== A.getFullYear()),
20639
20637
  [n, A]
20640
- ), W = te(() => e === "unknown" ? "outlined" : "filled", [e]), G = J(
20638
+ ), W = ee(() => e === "unknown" ? "outlined" : "filled", [e]), G = J(
20641
20639
  (oe) => {
20642
20640
  oe.stopPropagation(), a(O);
20643
20641
  },
@@ -20837,7 +20835,7 @@ const vz = p(Wg)`
20837
20835
  focusOnCloseRef: A.focusOnCloseRef,
20838
20836
  scrollFirstElement: !1
20839
20837
  });
20840
- const l = te(
20838
+ const l = ee(
20841
20839
  () => t === "global" ? "react-portals" : t === "container" || !t ? "jrc-container-panel" : t,
20842
20840
  [t]
20843
20841
  );
@@ -21027,7 +21025,7 @@ const u8 = ot`
21027
21025
  }
21028
21026
  `, h8 = (e, t) => /* @__PURE__ */ s.jsx(tE, { id: e.name, ...e, ref: t }), p8 = Ue(h8);
21029
21027
  function AE(e) {
21030
- const t = te(() => Gg(e.rules?.maxLength), [e.rules?.maxLength]);
21028
+ const t = ee(() => Gg(e.rules?.maxLength), [e.rules?.maxLength]);
21031
21029
  return /* @__PURE__ */ s.jsx(
21032
21030
  bt,
21033
21031
  {
@@ -21938,7 +21936,7 @@ function y8() {
21938
21936
  Object.prototype.hasOwnProperty.call(u, f) && (c[f] = u[f]);
21939
21937
  }
21940
21938
  return c;
21941
- }, t = /* @__PURE__ */ Qg(), A = i(t), n = ee, r = i(n);
21939
+ }, t = /* @__PURE__ */ Qg(), A = i(t), n = te, r = i(n);
21942
21940
  function i(c) {
21943
21941
  return c && c.__esModule ? c : { default: c };
21944
21942
  }
@@ -21986,7 +21984,7 @@ function C8() {
21986
21984
  Object.prototype.hasOwnProperty.call(v, x) && (m[x] = v[x]);
21987
21985
  }
21988
21986
  return m;
21989
- }, t = /* @__PURE__ */ Qg(), A = u(t), n = rE(), r = u(n), i = B8(), o = u(i), a = ee, l = u(a), c = y8(), d = u(c);
21987
+ }, t = /* @__PURE__ */ Qg(), A = u(t), n = rE(), r = u(n), i = B8(), o = u(i), a = te, l = u(a), c = y8(), d = u(c);
21990
21988
  function u(m) {
21991
21989
  return m && m.__esModule ? m : { default: m };
21992
21990
  }
@@ -22156,7 +22154,7 @@ function Kh(e) {
22156
22154
  const F8 = ({ dateStart: e, dateEnd: t, type: A, allDay: n }) => {
22157
22155
  const r = K();
22158
22156
  return {
22159
- formattedDate: te(() => !e && !t ? "" : e && t ? r.formatMessage(
22157
+ formattedDate: ee(() => !e && !t ? "" : e && t ? r.formatMessage(
22160
22158
  {
22161
22159
  id: (oh(e, t) ? "CALENDAR_Event_Date_Start_End_Same_Day" : "CALENDAR_Event_Date_Start_End") + (A !== "recurringEventOccurrence" && n ? "_All_Day" : "")
22162
22160
  },
@@ -22284,7 +22282,7 @@ const F8 = ({ dateStart: e, dateEnd: t, type: A, allDay: n }) => {
22284
22282
  }
22285
22283
  }), [m, w] = D(!1), [v, x] = D(!1), [b, B] = D(!1), [y, C] = D(!1), [I, O] = D(
22286
22284
  t && "dateStart" in t && t.dateStart ? new Date(t.dateStart).getTime() - (/* @__PURE__ */ new Date()).getTime() : null
22287
- ), { formattedDate: Q } = F8(t ?? {}), L = te(() => t && t.type !== "recurringEventOccurrence" && "place" in t && (t.place === "bbb" || t.place === "bbb-public") && (!I || I > 1e3 * 60 * 15), [t, I]);
22285
+ ), { formattedDate: Q } = F8(t ?? {}), L = ee(() => t && t.type !== "recurringEventOccurrence" && "place" in t && (t.place === "bbb" || t.place === "bbb-public") && (!I || I > 1e3 * 60 * 15), [t, I]);
22288
22286
  M(() => {
22289
22287
  let V;
22290
22288
  return (!I || I > 0) && (V = setTimeout(() => {
@@ -22295,7 +22293,7 @@ const F8 = ({ dateStart: e, dateEnd: t, type: A, allDay: n }) => {
22295
22293
  clearTimeout(V);
22296
22294
  };
22297
22295
  }, [t, I]);
22298
- const j = te(() => {
22296
+ const j = ee(() => {
22299
22297
  const V = [
22300
22298
  {
22301
22299
  label: d.formatMessage({ id: "CALENDAR_Event_Revive_All" }),
@@ -22321,7 +22319,7 @@ const F8 = ({ dateStart: e, dateEnd: t, type: A, allDay: n }) => {
22321
22319
  label: d.formatMessage({ id: "CALENDAR_Event_Revive_Visio" }),
22322
22320
  value: "visio"
22323
22321
  })), V;
22324
- }, [t?._extend?.socialEventRecord?.isVisio, d]), k = te(() => {
22322
+ }, [t?._extend?.socialEventRecord?.isVisio, d]), k = ee(() => {
22325
22323
  switch (t?.type) {
22326
22324
  case "socialEvent":
22327
22325
  default:
@@ -22358,10 +22356,10 @@ const F8 = ({ dateStart: e, dateEnd: t, type: A, allDay: n }) => {
22358
22356
  }).finally(() => {
22359
22357
  B(!1), C(!1);
22360
22358
  }));
22361
- }, [t, A.article, o, n]), G = te(
22359
+ }, [t, A.article, o, n]), G = ee(
22362
22360
  () => !!t && ["socialEvent", "meeting", "recurringEventOccurrence"].includes(t.type) && !!a,
22363
22361
  [t, a]
22364
- ), oe = te(() => t ? t._extend?.recurringEventRecord?.tags ? Np(t._extend.recurringEventRecord) : Np(t) : [], [t]);
22362
+ ), oe = ee(() => t ? t._extend?.recurringEventRecord?.tags ? Np(t._extend.recurringEventRecord) : Np(t) : [], [t]);
22365
22363
  return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
22366
22364
  /* @__PURE__ */ s.jsx(
22367
22365
  Wh,
@@ -22682,7 +22680,7 @@ const F8 = ({ dateStart: e, dateEnd: t, type: A, allDay: n }) => {
22682
22680
  M(() => {
22683
22681
  oe?.(G());
22684
22682
  }, [oe, G]);
22685
- const V = te(
22683
+ const V = ee(
22686
22684
  () => _8.filter((S) => A.includes(S.value)).map((S) => ({ label: y.formatMessage({ id: S.label }), value: S.value })),
22687
22685
  [A, y]
22688
22686
  ), [Z, $] = D(
@@ -22697,7 +22695,7 @@ const F8 = ({ dateStart: e, dateEnd: t, type: A, allDay: n }) => {
22697
22695
  M(() => {
22698
22696
  G()?.changeView(Z.value === "list" ? "listMonth" : Z.value), E();
22699
22697
  }, [G, E, Z]);
22700
- const z = te(() => {
22698
+ const z = ee(() => {
22701
22699
  switch (y.locale) {
22702
22700
  case "fr":
22703
22701
  return pM;
@@ -22706,7 +22704,7 @@ const F8 = ({ dateStart: e, dateEnd: t, type: A, allDay: n }) => {
22706
22704
  default:
22707
22705
  return gM;
22708
22706
  }
22709
- }, [y.locale]), q = te(() => e?.map((S) => {
22707
+ }, [y.locale]), q = ee(() => e?.map((S) => {
22710
22708
  let Y, le;
22711
22709
  if ("dateStart" in S && S.dateStart && "dateEnd" in S && S.dateEnd)
22712
22710
  Y = new Date(S.dateStart), le = new Date(S.dateEnd);
@@ -22738,7 +22736,7 @@ const F8 = ({ dateStart: e, dateEnd: t, type: A, allDay: n }) => {
22738
22736
  urlGestion: S.type !== "recurringEventOccurrence" && "urlGestion" in S ? S.urlGestion : void 0,
22739
22737
  recurrent: !!S._extend?.recurringEventRecord
22740
22738
  };
22741
- }).filter(q0), [e]), R = te(() => {
22739
+ }).filter(q0), [e]), R = ee(() => {
22742
22740
  switch (Z.value) {
22743
22741
  case "dayGridMonth":
22744
22742
  return O && O > 780 ? { weekday: "long" } : { weekday: "short" };
@@ -22760,7 +22758,7 @@ const F8 = ({ dateStart: e, dateEnd: t, type: A, allDay: n }) => {
22760
22758
  M(() => {
22761
22759
  F?.(C);
22762
22760
  }, [F, C]);
22763
- const X = te(() => e?.find(
22761
+ const X = ee(() => e?.find(
22764
22762
  (S) => S.uri === L?.uri || S.type === "recurringEventOccurrence" && $d(S.dateStart, S.dateEnd) === L?.dates && S._extend?.recurringEventRecord?.uri === L?.uri
22765
22763
  ), [L?.dates, L?.uri, e]);
22766
22764
  return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
@@ -23386,7 +23384,7 @@ const F8 = ({ dateStart: e, dateEnd: t, type: A, allDay: n }) => {
23386
23384
  labelFor: l,
23387
23385
  ref: c
23388
23386
  }) => {
23389
- const d = K(), u = tt(), { debouncedFunction: f, value: g } = mz(e, o), h = te(() => l ?? `input-search-${QA()}`, [l]);
23387
+ const d = K(), u = tt(), { debouncedFunction: f, value: g } = mz(e, o), h = ee(() => l ?? `input-search-${QA()}`, [l]);
23390
23388
  return /* @__PURE__ */ s.jsxs(S7, { width: A ?? "100%", children: [
23391
23389
  /* @__PURE__ */ s.jsx(O7, { children: n ? /* @__PURE__ */ s.jsx(Fe, { size: "s" }) : /* @__PURE__ */ s.jsx(ne, { name: "icon-search", color: u.color.grey2, size: 18 }) }),
23392
23390
  /* @__PURE__ */ s.jsxs(T7, { children: [
@@ -26001,7 +25999,7 @@ const G9 = /* @__PURE__ */ Og(W9), lu = 2, V9 = p.button`
26001
25999
  );
26002
26000
  return i;
26003
26001
  }, Cc = ({ activePage: e = 1, nbrOfPage: t, clickHandler: A, dataCy: n }) => {
26004
- const r = K(), i = te(() => {
26002
+ const r = K(), i = ee(() => {
26005
26003
  let o = [];
26006
26004
  const a = 2 * lu + 1;
26007
26005
  o.push(
@@ -26198,10 +26196,10 @@ function i6(e) {
26198
26196
  return e.map((t) => ({ name: t.id, sort: t.desc ? "DESC" : "ASC" }));
26199
26197
  }
26200
26198
  const Dc = (e) => {
26201
- const [t, A] = D(1), [n, r] = D([]), i = te(() => n.length ? n : e.data, [e.data, n]), o = te(() => e.columns, [e.columns]), a = ue([]), [l, c] = D(0), [d, u] = D(), [f, g] = D(() => ({
26199
+ const [t, A] = D(1), [n, r] = D([]), i = ee(() => n.length ? n : e.data, [e.data, n]), o = ee(() => e.columns, [e.columns]), a = ue([]), [l, c] = D(0), [d, u] = D(), [f, g] = D(() => ({
26202
26200
  pageIndex: 0,
26203
26201
  pageSize: e.config?.pagination && e.config?.pagination.type !== "loadMore" && "perPage" in e.config.pagination ? e.config.pagination.perPage : 10
26204
- })), h = e?.config?.draggable ?? !1, m = J((Q, L) => "uri" in Q && typeof Q.uri == "string" ? Q.uri : Q.id && Q.type ? `${Q.type}/${Q.id}` : L.toString(), []), w = te(() => _w(e.config?.orders).map((Q) => ({ id: Q.id, desc: !!Q.desc })), [e.config?.orders]), [v, x] = D(w), b = U9({
26202
+ })), h = e?.config?.draggable ?? !1, m = J((Q, L) => "uri" in Q && typeof Q.uri == "string" ? Q.uri : Q.id && Q.type ? `${Q.type}/${Q.id}` : L.toString(), []), w = ee(() => _w(e.config?.orders).map((Q) => ({ id: Q.id, desc: !!Q.desc })), [e.config?.orders]), [v, x] = D(w), b = U9({
26205
26203
  data: i,
26206
26204
  columns: o,
26207
26205
  getRowId: m,
@@ -26242,9 +26240,9 @@ const Dc = (e) => {
26242
26240
  }, C = (Q) => {
26243
26241
  const L = Q.getIsSorted && Q.getIsSorted() !== !1, j = Q.getIsSorted && Q.getIsSorted() === "desc";
26244
26242
  return Q.getCanSort?.() ? L ? j ? /* @__PURE__ */ s.jsx(ne, { name: "icon-sort-desc", size: 12, color: "grey4" }) : /* @__PURE__ */ s.jsx(ne, { name: "icon-sort-asc", size: 12, color: "grey4" }) : /* @__PURE__ */ s.jsx(ne, { name: "icon-sort", size: 12, color: "grey2" }) : "";
26245
- }, I = b.getHeaderGroups(), O = b.getRowModel().rows;
26243
+ }, I = b.getHeaderGroups(), O = ee(() => b.getRowModel().rows, [b]);
26246
26244
  return /* @__PURE__ */ s.jsxs(TA, { children: [
26247
- /* @__PURE__ */ s.jsxs(Z9, { "data-cy": e.dataCy, className: e.className, loading: e.loading, children: [
26245
+ /* @__PURE__ */ s.jsxs(Z9, { "data-cy": e.dataCy, className: e.className, loading: e.loading, title: e.title, children: [
26248
26246
  /* @__PURE__ */ s.jsx(_9, { children: I.map((Q, L) => /* @__PURE__ */ s.jsxs(Tl, { children: [
26249
26247
  h && /* @__PURE__ */ s.jsx(Yw, {}),
26250
26248
  Q.headers.map((j) => {
@@ -26252,6 +26250,7 @@ const Dc = (e) => {
26252
26250
  return /* @__PURE__ */ s.jsxs(
26253
26251
  Yw,
26254
26252
  {
26253
+ scope: "col",
26255
26254
  title: void 0,
26256
26255
  width: k.columnDef.size,
26257
26256
  sortable: U,
@@ -26292,14 +26291,16 @@ const Dc = (e) => {
26292
26291
  },
26293
26292
  children: /* @__PURE__ */ s.jsx(Oe, { id: "GLOBAL_Load_More" })
26294
26293
  }
26295
- ) }) }) : /* @__PURE__ */ s.jsx(
26294
+ ) }) }) : /* @__PURE__ */ s.jsx(s.Fragment, { children: e.config.pagination.nbResults > e.config.pagination.perPage && /* @__PURE__ */ s.jsx(
26296
26295
  Cc,
26297
26296
  {
26298
26297
  activePage: e.config.pagination.page,
26299
- nbrOfPage: Math.ceil(e.config.pagination.nbResults / e.config.pagination.perPage),
26298
+ nbrOfPage: Math.ceil(
26299
+ e.config.pagination.nbResults / e.config.pagination.perPage
26300
+ ),
26300
26301
  clickHandler: (Q) => e.eventHandlers?.onPage?.(Q)
26301
26302
  }
26302
- ) : null
26303
+ ) }) : null
26303
26304
  ] });
26304
26305
  }, Ql = p.a`
26305
26306
  flex: 1;
@@ -26842,7 +26843,7 @@ const Dc = (e) => {
26842
26843
  flex-direction: column;
26843
26844
  flex: 1;
26844
26845
  `, Yi = ({ variant: e, message: t, messages: A }) => {
26845
- const n = tt(), r = te(
26846
+ const n = tt(), r = ee(
26846
26847
  () => ({
26847
26848
  error: {
26848
26849
  icon: "icon-times",
@@ -27034,7 +27035,7 @@ const b6 = p.label`
27034
27035
  deleteFile: m
27035
27036
  } = e, w = K(), [v, x] = D(0), [b] = D(!1), [B, y] = D(!1), [C, I] = D(S6), [O, Q] = D(
27036
27037
  h?.map((se) => ({ ...se, loading: !1 })) ?? []
27037
- ), [L, j] = D(!!e.directFilePopupOpening), [k, U] = D("upload"), [W, G] = D([]), [oe, V] = D(!1), [Z, $] = D([]), [H, E] = D(), z = te(
27038
+ ), [L, j] = D(!!e.directFilePopupOpening), [k, U] = D("upload"), [W, G] = D([]), [oe, V] = D(!1), [Z, $] = D([]), [H, E] = D(), z = ee(
27038
27039
  () => ({
27039
27040
  fileBank: w.formatMessage({ id: "INPUT_FILE_ADVANCED_FileBank" }),
27040
27041
  drive_microsoft_graph: w.formatMessage({ id: "INPUT_FILE_ADVANCED_Microsoft_365" }),
@@ -27113,7 +27114,7 @@ const b6 = p.label`
27113
27114
  e.directFilePopupOpening ? e.directFilePopupOpening.onClose() : j(!1), Y();
27114
27115
  }, [Y, e.directFilePopupOpening]), he = J(() => {
27115
27116
  e.directFilePopupOpening ? e.directFilePopupOpening.onClose() : j(!1), G([]), $([]), V(!1);
27116
- }, [e.directFilePopupOpening]), Me = te(
27117
+ }, [e.directFilePopupOpening]), Me = ee(
27117
27118
  () => k.replace(/(drive_|_)/g, ""),
27118
27119
  [k]
27119
27120
  ), re = J(() => {
@@ -28213,7 +28214,7 @@ const Gn = class NA extends rB {
28213
28214
  crop: o
28214
28215
  } = this.props, a = this.getCropStyle();
28215
28216
  if (o)
28216
- return /* @__PURE__ */ ee.createElement(
28217
+ return /* @__PURE__ */ te.createElement(
28217
28218
  "div",
28218
28219
  {
28219
28220
  style: a,
@@ -28224,7 +28225,7 @@ const Gn = class NA extends rB {
28224
28225
  onKeyDown: this.onComponentKeyDown,
28225
28226
  role: "group"
28226
28227
  },
28227
- !A && !n && /* @__PURE__ */ ee.createElement("div", { className: "ReactCrop__drag-elements", onFocus: this.onDragFocus }, /* @__PURE__ */ ee.createElement("div", { className: "ReactCrop__drag-bar ord-n", "data-ord": "n" }), /* @__PURE__ */ ee.createElement("div", { className: "ReactCrop__drag-bar ord-e", "data-ord": "e" }), /* @__PURE__ */ ee.createElement("div", { className: "ReactCrop__drag-bar ord-s", "data-ord": "s" }), /* @__PURE__ */ ee.createElement("div", { className: "ReactCrop__drag-bar ord-w", "data-ord": "w" }), /* @__PURE__ */ ee.createElement(
28228
+ !A && !n && /* @__PURE__ */ te.createElement("div", { className: "ReactCrop__drag-elements", onFocus: this.onDragFocus }, /* @__PURE__ */ te.createElement("div", { className: "ReactCrop__drag-bar ord-n", "data-ord": "n" }), /* @__PURE__ */ te.createElement("div", { className: "ReactCrop__drag-bar ord-e", "data-ord": "e" }), /* @__PURE__ */ te.createElement("div", { className: "ReactCrop__drag-bar ord-s", "data-ord": "s" }), /* @__PURE__ */ te.createElement("div", { className: "ReactCrop__drag-bar ord-w", "data-ord": "w" }), /* @__PURE__ */ te.createElement(
28228
28229
  "div",
28229
28230
  {
28230
28231
  className: "ReactCrop__drag-handle ord-nw",
@@ -28234,7 +28235,7 @@ const Gn = class NA extends rB {
28234
28235
  onKeyDown: (l) => this.onHandlerKeyDown(l, "nw"),
28235
28236
  role: "button"
28236
28237
  }
28237
- ), /* @__PURE__ */ ee.createElement(
28238
+ ), /* @__PURE__ */ te.createElement(
28238
28239
  "div",
28239
28240
  {
28240
28241
  className: "ReactCrop__drag-handle ord-n",
@@ -28244,7 +28245,7 @@ const Gn = class NA extends rB {
28244
28245
  onKeyDown: (l) => this.onHandlerKeyDown(l, "n"),
28245
28246
  role: "button"
28246
28247
  }
28247
- ), /* @__PURE__ */ ee.createElement(
28248
+ ), /* @__PURE__ */ te.createElement(
28248
28249
  "div",
28249
28250
  {
28250
28251
  className: "ReactCrop__drag-handle ord-ne",
@@ -28254,7 +28255,7 @@ const Gn = class NA extends rB {
28254
28255
  onKeyDown: (l) => this.onHandlerKeyDown(l, "ne"),
28255
28256
  role: "button"
28256
28257
  }
28257
- ), /* @__PURE__ */ ee.createElement(
28258
+ ), /* @__PURE__ */ te.createElement(
28258
28259
  "div",
28259
28260
  {
28260
28261
  className: "ReactCrop__drag-handle ord-e",
@@ -28264,7 +28265,7 @@ const Gn = class NA extends rB {
28264
28265
  onKeyDown: (l) => this.onHandlerKeyDown(l, "e"),
28265
28266
  role: "button"
28266
28267
  }
28267
- ), /* @__PURE__ */ ee.createElement(
28268
+ ), /* @__PURE__ */ te.createElement(
28268
28269
  "div",
28269
28270
  {
28270
28271
  className: "ReactCrop__drag-handle ord-se",
@@ -28274,7 +28275,7 @@ const Gn = class NA extends rB {
28274
28275
  onKeyDown: (l) => this.onHandlerKeyDown(l, "se"),
28275
28276
  role: "button"
28276
28277
  }
28277
- ), /* @__PURE__ */ ee.createElement(
28278
+ ), /* @__PURE__ */ te.createElement(
28278
28279
  "div",
28279
28280
  {
28280
28281
  className: "ReactCrop__drag-handle ord-s",
@@ -28284,7 +28285,7 @@ const Gn = class NA extends rB {
28284
28285
  onKeyDown: (l) => this.onHandlerKeyDown(l, "s"),
28285
28286
  role: "button"
28286
28287
  }
28287
- ), /* @__PURE__ */ ee.createElement(
28288
+ ), /* @__PURE__ */ te.createElement(
28288
28289
  "div",
28289
28290
  {
28290
28291
  className: "ReactCrop__drag-handle ord-sw",
@@ -28294,7 +28295,7 @@ const Gn = class NA extends rB {
28294
28295
  onKeyDown: (l) => this.onHandlerKeyDown(l, "sw"),
28295
28296
  role: "button"
28296
28297
  }
28297
- ), /* @__PURE__ */ ee.createElement(
28298
+ ), /* @__PURE__ */ te.createElement(
28298
28299
  "div",
28299
28300
  {
28300
28301
  className: "ReactCrop__drag-handle ord-w",
@@ -28305,8 +28306,8 @@ const Gn = class NA extends rB {
28305
28306
  role: "button"
28306
28307
  }
28307
28308
  )),
28308
- r && /* @__PURE__ */ ee.createElement("div", { className: "ReactCrop__selection-addon", onPointerDown: (l) => l.stopPropagation() }, r(this.state)),
28309
- i && /* @__PURE__ */ ee.createElement(ee.Fragment, null, /* @__PURE__ */ ee.createElement("div", { className: "ReactCrop__rule-of-thirds-hz" }), /* @__PURE__ */ ee.createElement("div", { className: "ReactCrop__rule-of-thirds-vt" }))
28309
+ r && /* @__PURE__ */ te.createElement("div", { className: "ReactCrop__selection-addon", onPointerDown: (l) => l.stopPropagation() }, r(this.state)),
28310
+ i && /* @__PURE__ */ te.createElement(te.Fragment, null, /* @__PURE__ */ te.createElement("div", { className: "ReactCrop__rule-of-thirds-hz" }), /* @__PURE__ */ te.createElement("div", { className: "ReactCrop__rule-of-thirds-vt" }))
28310
28311
  );
28311
28312
  }
28312
28313
  makePixelCrop(t) {
@@ -28327,7 +28328,7 @@ const Gn = class NA extends rB {
28327
28328
  !this.dragStarted && i && !i.width && !i.height && "ReactCrop--invisible-crop",
28328
28329
  n && "ReactCrop--no-animate"
28329
28330
  );
28330
- return /* @__PURE__ */ ee.createElement("div", { ref: this.componentRef, className: g, style: l }, /* @__PURE__ */ ee.createElement("div", { ref: this.mediaRef, className: "ReactCrop__child-wrapper", onPointerDown: this.onComponentPointerDown }, A), i ? /* @__PURE__ */ ee.createElement("svg", { className: "ReactCrop__crop-mask", width: "100%", height: "100%" }, /* @__PURE__ */ ee.createElement("defs", null, /* @__PURE__ */ ee.createElement("mask", { id: `hole-${this.instanceId}` }, /* @__PURE__ */ ee.createElement("rect", { width: "100%", height: "100%", fill: "white" }), n ? /* @__PURE__ */ ee.createElement(
28331
+ return /* @__PURE__ */ te.createElement("div", { ref: this.componentRef, className: g, style: l }, /* @__PURE__ */ te.createElement("div", { ref: this.mediaRef, className: "ReactCrop__child-wrapper", onPointerDown: this.onComponentPointerDown }, A), i ? /* @__PURE__ */ te.createElement("svg", { className: "ReactCrop__crop-mask", width: "100%", height: "100%" }, /* @__PURE__ */ te.createElement("defs", null, /* @__PURE__ */ te.createElement("mask", { id: `hole-${this.instanceId}` }, /* @__PURE__ */ te.createElement("rect", { width: "100%", height: "100%", fill: "white" }), n ? /* @__PURE__ */ te.createElement(
28331
28332
  "ellipse",
28332
28333
  {
28333
28334
  cx: `${i.x + i.width / 2}${i.unit}`,
@@ -28336,7 +28337,7 @@ const Gn = class NA extends rB {
28336
28337
  ry: `${i.height / 2}${i.unit}`,
28337
28338
  fill: "black"
28338
28339
  }
28339
- ) : /* @__PURE__ */ ee.createElement(
28340
+ ) : /* @__PURE__ */ te.createElement(
28340
28341
  "rect",
28341
28342
  {
28342
28343
  x: `${i.x}${i.unit}`,
@@ -28345,7 +28346,7 @@ const Gn = class NA extends rB {
28345
28346
  height: `${i.height}${i.unit}`,
28346
28347
  fill: "black"
28347
28348
  }
28348
- ))), /* @__PURE__ */ ee.createElement("rect", { fill: "black", fillOpacity: 0.5, width: "100%", height: "100%", mask: `url(#hole-${this.instanceId})` })) : void 0, f);
28349
+ ))), /* @__PURE__ */ te.createElement("rect", { fill: "black", fillOpacity: 0.5, width: "100%", height: "100%", mask: `url(#hole-${this.instanceId})` })) : void 0, f);
28349
28350
  }
28350
28351
  };
28351
28352
  lt(Gn, "xOrds", ["e", "w"]), lt(Gn, "yOrds", ["n", "s"]), lt(Gn, "xyOrds", ["nw", "ne", "se", "sw"]), lt(Gn, "nudgeStep", 1), lt(Gn, "nudgeStepMedium", 10), lt(Gn, "nudgeStepLarge", 100), lt(Gn, "defaultProps", {
@@ -28734,7 +28735,7 @@ const yX = ({
28734
28735
  label: l,
28735
28736
  ...c
28736
28737
  }, d) => {
28737
- const [u, f] = D(!1), g = ue(null), [h, m] = D(!1), [w, v] = D(!1), [x] = D(c.accept?.split(",").map(($) => $.replace(/\./g, "")) ?? ["jpg", "jpeg", "png"]), [b] = D(c.aspectRatio), [B, y] = D(0), [C, I] = D(!1), O = te(() => {
28738
+ const [u, f] = D(!1), g = ue(null), [h, m] = D(!1), [w, v] = D(!1), [x] = D(c.accept?.split(",").map(($) => $.replace(/\./g, "")) ?? ["jpg", "jpeg", "png"]), [b] = D(c.aspectRatio), [B, y] = D(0), [C, I] = D(!1), O = ee(() => {
28738
28739
  if (n)
28739
28740
  return `/imagecache/original/${n.type}/${n.id}.png?_=${// eslint-disable-next-line react-hooks/purity
28740
28741
  n.dateModified ? cc(n.dateModified) : Date.now()}-${B}`;
@@ -29336,7 +29337,7 @@ const EX = p.div`
29336
29337
  document.removeEventListener("keydown", x);
29337
29338
  };
29338
29339
  }, []);
29339
- const m = te(() => QA(), []), w = te(() => `trigger-${m}`, [m]), v = te(() => `dropdown-${m}`, [m]);
29340
+ const m = ee(() => QA(), []), w = ee(() => `trigger-${m}`, [m]), v = ee(() => `dropdown-${m}`, [m]);
29340
29341
  return /* @__PURE__ */ s.jsx(NX, { onClickAway: h, children: /* @__PURE__ */ s.jsxs(RX, { $display: d ?? "inline", children: [
29341
29342
  typeof e == "function" ? e({
29342
29343
  role: "button",
@@ -29534,7 +29535,7 @@ const EX = p.div`
29534
29535
  margin-right: 6px;
29535
29536
  margin-bottom: 6px;
29536
29537
  `, JE = ({ children: e, uri: t, fetchBusinessNetworking: A, handlers: n, onError: r }) => {
29537
- const i = K(), [o, a] = D(!1), [l, c] = D(), [d, u] = D(), [f, g] = D(), [h, m] = D([]), w = te(
29538
+ const i = K(), [o, a] = D(!1), [l, c] = D(), [d, u] = D(), [f, g] = D(), [h, m] = D([]), w = ee(
29538
29539
  () => A ?? (async (B) => (await mA.businessNetworking.getInfos(B)).result),
29539
29540
  [A]
29540
29541
  ), v = J(() => {
@@ -29907,7 +29908,7 @@ const EX = p.div`
29907
29908
  });
29908
29909
  }),
29909
29910
  [g, o, A, Ie]
29910
- ), Pt = te(() => {
29911
+ ), Pt = ee(() => {
29911
29912
  if (t._widgets)
29912
29913
  return h(t, t._widgets, "view", !0);
29913
29914
  }, [t, h]), xn = J(() => {
@@ -31839,7 +31840,7 @@ const UG = p.form`
31839
31840
  isDeleteLoading: d,
31840
31841
  onSaveAsDraft: u
31841
31842
  }) => {
31842
- const f = K(), [g, h] = D(!1), m = te(() => o ? tD(o, /* @__PURE__ */ new Date()) ? f.formatMessage(
31843
+ const f = K(), [g, h] = D(!1), m = ee(() => o ? tD(o, /* @__PURE__ */ new Date()) ? f.formatMessage(
31843
31844
  {
31844
31845
  id: "GLOBAL_Draft_Saved_Today"
31845
31846
  },
@@ -32060,7 +32061,7 @@ const UG = p.form`
32060
32061
  active: void 0
32061
32062
  };
32062
32063
  function fD(e) {
32063
- const t = oB.toArray(e.children), [A, n] = D(!1), [r, i] = D(eV), o = ue(null), a = ue(void 0), l = te(() => {
32064
+ const t = oB.toArray(e.children), [A, n] = D(!1), [r, i] = D(eV), o = ue(null), a = ue(void 0), l = ee(() => {
32064
32065
  const u = r;
32065
32066
  if (u.active === void 0 || u.steps[0] === void 0 || u.steps[1] === void 0)
32066
32067
  return a.current;
@@ -32342,7 +32343,7 @@ const tV = p.div`
32342
32343
  font-size: 12px;
32343
32344
  margin-bottom: 16px;
32344
32345
  `, dV = function({ variant: e = "default", ...t }, A) {
32345
- const n = K(), r = te(
32346
+ const n = K(), r = ee(
32346
32347
  () => ({
32347
32348
  onChange: t.onChange,
32348
32349
  onBlur: t.onBlur,
@@ -32374,7 +32375,7 @@ const tV = p.div`
32374
32375
  return u ? u(h) : c.find((m) => m.value === h)?.label;
32375
32376
  },
32376
32377
  [u, c]
32377
- ), g = te(
32378
+ ), g = ee(
32378
32379
  () => t.htmlFor ? `${t.htmlFor}-${t.name}` : t.name,
32379
32380
  [t.htmlFor, t.name]
32380
32381
  );
@@ -33236,7 +33237,7 @@ function AK({ option: e }) {
33236
33237
  );
33237
33238
  }
33238
33239
  const nK = ({ asyncPromise: e, defaultCustomOptions: t, ...A }, n) => {
33239
- const r = te(() => {
33240
+ const r = ee(() => {
33240
33241
  if (!e) return e;
33241
33242
  const i = t ? t.map((o) => ({ ...o, custom: !0 })) : [];
33242
33243
  return (o) => e(o).then((a) => [...a, ...i]);
@@ -33257,7 +33258,7 @@ const nK = ({ asyncPromise: e, defaultCustomOptions: t, ...A }, n) => {
33257
33258
  nK
33258
33259
  );
33259
33260
  function CD(e) {
33260
- const { name: t, control: A, rules: n, label: r, htmlFor: i, labelIsLegend: o, description: a, helper: l, margin: c } = e, [d, u] = D(!1), f = te(
33261
+ const { name: t, control: A, rules: n, label: r, htmlFor: i, labelIsLegend: o, description: a, helper: l, margin: c } = e, [d, u] = D(!1), f = ee(
33261
33262
  () => e.views !== void 0 && Array.isArray(e.views.activeViews) && e.views.activeViews.length > 0,
33262
33263
  [e.views]
33263
33264
  );
@@ -38430,7 +38431,7 @@ const Z_ = ({ initialColor: e, width: t = 400, height: A = 200, palettes: n, onC
38430
38431
  const i = K(), [o, a] = D(ja(e)), [l, c] = D(Ma(e, t, A)), [d, u] = D(e), [f, g] = wf("color_picker_last_color", []), [h, m] = wf(
38431
38432
  "color_picker_last_color_locked",
38432
38433
  !1
38433
- ), [w, v] = D(!1), [x, b] = D({ x: 0, y: 0 }), [B, y] = D("#000000"), [C, I] = D(null), O = ue(null), Q = ue(!1), L = ue(null), j = ue(null), k = ue(null), U = ue(null), W = te(() => ja(e), [e]), G = te(() => Ma(e, t, A), [e, t, A]), oe = async () => {
38434
+ ), [w, v] = D(!1), [x, b] = D({ x: 0, y: 0 }), [B, y] = D("#000000"), [C, I] = D(null), O = ue(null), Q = ue(!1), L = ue(null), j = ue(null), k = ue(null), U = ue(null), W = ee(() => ja(e), [e]), G = ee(() => Ma(e, t, A), [e, t, A]), oe = async () => {
38434
38435
  try {
38435
38436
  const X = (await new window.EyeDropper().open()).sRGBHex;
38436
38437
  u(X), a(ja(X));
@@ -39158,34 +39159,34 @@ class b$ {
39158
39159
  }
39159
39160
  }
39160
39161
  function B$(e) {
39161
- return ee.createElement("button", { ...e });
39162
+ return te.createElement("button", { ...e });
39162
39163
  }
39163
39164
  function y$(e) {
39164
- return ee.createElement("span", { ...e });
39165
+ return te.createElement("span", { ...e });
39165
39166
  }
39166
39167
  function C$(e) {
39167
39168
  const { size: t = 24, orientation: A = "left", className: n } = e;
39168
39169
  return (
39169
39170
  // biome-ignore lint/a11y/noSvgWithoutTitle: handled by the parent component
39170
- ee.createElement(
39171
+ te.createElement(
39171
39172
  "svg",
39172
39173
  { className: n, width: t, height: t, viewBox: "0 0 24 24" },
39173
- A === "up" && ee.createElement("polygon", { points: "6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28" }),
39174
- A === "down" && ee.createElement("polygon", { points: "6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72" }),
39175
- A === "left" && ee.createElement("polygon", { points: "16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20" }),
39176
- A === "right" && ee.createElement("polygon", { points: "8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20" })
39174
+ A === "up" && te.createElement("polygon", { points: "6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28" }),
39175
+ A === "down" && te.createElement("polygon", { points: "6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72" }),
39176
+ A === "left" && te.createElement("polygon", { points: "16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20" }),
39177
+ A === "right" && te.createElement("polygon", { points: "8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20" })
39177
39178
  )
39178
39179
  );
39179
39180
  }
39180
39181
  function E$(e) {
39181
39182
  const { day: t, modifiers: A, ...n } = e;
39182
- return ee.createElement("td", { ...n });
39183
+ return te.createElement("td", { ...n });
39183
39184
  }
39184
39185
  function D$(e) {
39185
- const { day: t, modifiers: A, ...n } = e, r = ee.useRef(null);
39186
- return ee.useEffect(() => {
39186
+ const { day: t, modifiers: A, ...n } = e, r = te.useRef(null);
39187
+ return te.useEffect(() => {
39187
39188
  A.focused && r.current?.focus();
39188
- }, [A.focused]), ee.createElement("button", { ref: r, ...n });
39189
+ }, [A.focused]), te.createElement("button", { ref: r, ...n });
39189
39190
  }
39190
39191
  var ve;
39191
39192
  (function(e) {
@@ -39205,37 +39206,37 @@ var hA;
39205
39206
  })(hA || (hA = {}));
39206
39207
  function I$(e) {
39207
39208
  const { options: t, className: A, components: n, classNames: r, ...i } = e, o = [r[ve.Dropdown], A].join(" "), a = t?.find(({ value: l }) => l === i.value);
39208
- return ee.createElement(
39209
+ return te.createElement(
39209
39210
  "span",
39210
39211
  { "data-disabled": i.disabled, className: r[ve.DropdownRoot] },
39211
- ee.createElement(n.Select, { className: o, ...i }, t?.map(({ value: l, label: c, disabled: d }) => ee.createElement(n.Option, { key: l, value: l, disabled: d }, c))),
39212
- ee.createElement(
39212
+ te.createElement(n.Select, { className: o, ...i }, t?.map(({ value: l, label: c, disabled: d }) => te.createElement(n.Option, { key: l, value: l, disabled: d }, c))),
39213
+ te.createElement(
39213
39214
  "span",
39214
39215
  { className: r[ve.CaptionLabel], "aria-hidden": !0 },
39215
39216
  a?.label,
39216
- ee.createElement(n.Chevron, { orientation: "down", size: 18, className: r[ve.Chevron] })
39217
+ te.createElement(n.Chevron, { orientation: "down", size: 18, className: r[ve.Chevron] })
39217
39218
  )
39218
39219
  );
39219
39220
  }
39220
39221
  function S$(e) {
39221
- return ee.createElement("div", { ...e });
39222
+ return te.createElement("div", { ...e });
39222
39223
  }
39223
39224
  function O$(e) {
39224
- return ee.createElement("div", { ...e });
39225
+ return te.createElement("div", { ...e });
39225
39226
  }
39226
39227
  function T$(e) {
39227
39228
  const { calendarMonth: t, displayIndex: A, ...n } = e;
39228
- return ee.createElement("div", { ...n }, e.children);
39229
+ return te.createElement("div", { ...n }, e.children);
39229
39230
  }
39230
39231
  function Q$(e) {
39231
39232
  const { calendarMonth: t, displayIndex: A, ...n } = e;
39232
- return ee.createElement("div", { ...n });
39233
+ return te.createElement("div", { ...n });
39233
39234
  }
39234
39235
  function H$(e) {
39235
- return ee.createElement("table", { ...e });
39236
+ return te.createElement("table", { ...e });
39236
39237
  }
39237
39238
  function F$(e) {
39238
- return ee.createElement("div", { ...e });
39239
+ return te.createElement("div", { ...e });
39239
39240
  }
39240
39241
  const P1 = sB(void 0);
39241
39242
  function Is() {
@@ -39246,7 +39247,7 @@ function Is() {
39246
39247
  }
39247
39248
  function P$(e) {
39248
39249
  const { components: t } = Is();
39249
- return ee.createElement(t.Dropdown, { ...e });
39250
+ return te.createElement(t.Dropdown, { ...e });
39250
39251
  }
39251
39252
  function L$(e) {
39252
39253
  const { onPreviousClick: t, onNextClick: A, previousMonth: n, nextMonth: r, ...i } = e, { components: o, classNames: a, labels: { labelPrevious: l, labelNext: c } } = Is(), d = J((f) => {
@@ -39254,66 +39255,66 @@ function L$(e) {
39254
39255
  }, [r, A]), u = J((f) => {
39255
39256
  n && t?.(f);
39256
39257
  }, [n, t]);
39257
- return ee.createElement(
39258
+ return te.createElement(
39258
39259
  "nav",
39259
39260
  { ...i },
39260
- ee.createElement(
39261
+ te.createElement(
39261
39262
  o.PreviousMonthButton,
39262
39263
  { type: "button", className: a[ve.PreviousMonthButton], tabIndex: n ? void 0 : -1, "aria-disabled": n ? void 0 : !0, "aria-label": l(n), onClick: u },
39263
- ee.createElement(o.Chevron, { disabled: n ? void 0 : !0, className: a[ve.Chevron], orientation: "left" })
39264
+ te.createElement(o.Chevron, { disabled: n ? void 0 : !0, className: a[ve.Chevron], orientation: "left" })
39264
39265
  ),
39265
- ee.createElement(
39266
+ te.createElement(
39266
39267
  o.NextMonthButton,
39267
39268
  { type: "button", className: a[ve.NextMonthButton], tabIndex: r ? void 0 : -1, "aria-disabled": r ? void 0 : !0, "aria-label": c(r), onClick: d },
39268
- ee.createElement(o.Chevron, { disabled: r ? void 0 : !0, orientation: "right", className: a[ve.Chevron] })
39269
+ te.createElement(o.Chevron, { disabled: r ? void 0 : !0, orientation: "right", className: a[ve.Chevron] })
39269
39270
  )
39270
39271
  );
39271
39272
  }
39272
39273
  function R$(e) {
39273
39274
  const { components: t } = Is();
39274
- return ee.createElement(t.Button, { ...e });
39275
+ return te.createElement(t.Button, { ...e });
39275
39276
  }
39276
39277
  function j$(e) {
39277
- return ee.createElement("option", { ...e });
39278
+ return te.createElement("option", { ...e });
39278
39279
  }
39279
39280
  function M$(e) {
39280
39281
  const { components: t } = Is();
39281
- return ee.createElement(t.Button, { ...e });
39282
+ return te.createElement(t.Button, { ...e });
39282
39283
  }
39283
39284
  function N$(e) {
39284
39285
  const { rootRef: t, ...A } = e;
39285
- return ee.createElement("div", { ...A, ref: t });
39286
+ return te.createElement("div", { ...A, ref: t });
39286
39287
  }
39287
39288
  function k$(e) {
39288
- return ee.createElement("select", { ...e });
39289
+ return te.createElement("select", { ...e });
39289
39290
  }
39290
39291
  function U$(e) {
39291
39292
  const { week: t, ...A } = e;
39292
- return ee.createElement("tr", { ...A });
39293
+ return te.createElement("tr", { ...A });
39293
39294
  }
39294
39295
  function z$(e) {
39295
- return ee.createElement("th", { ...e });
39296
+ return te.createElement("th", { ...e });
39296
39297
  }
39297
39298
  function X$(e) {
39298
- return ee.createElement(
39299
+ return te.createElement(
39299
39300
  "thead",
39300
39301
  { "aria-hidden": !0 },
39301
- ee.createElement("tr", { ...e })
39302
+ te.createElement("tr", { ...e })
39302
39303
  );
39303
39304
  }
39304
39305
  function W$(e) {
39305
39306
  const { week: t, ...A } = e;
39306
- return ee.createElement("th", { ...A });
39307
+ return te.createElement("th", { ...A });
39307
39308
  }
39308
39309
  function G$(e) {
39309
- return ee.createElement("th", { ...e });
39310
+ return te.createElement("th", { ...e });
39310
39311
  }
39311
39312
  function V$(e) {
39312
- return ee.createElement("tbody", { ...e });
39313
+ return te.createElement("tbody", { ...e });
39313
39314
  }
39314
39315
  function K$(e) {
39315
39316
  const { components: t } = Is();
39316
- return ee.createElement(t.Dropdown, { ...e });
39317
+ return te.createElement(t.Dropdown, { ...e });
39317
39318
  }
39318
39319
  const J$ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
39319
39320
  __proto__: null,
@@ -39941,7 +39942,7 @@ function Jee(e) {
39941
39942
  from: t.selected.from ? new zt(t.selected.from, t.timeZone) : void 0,
39942
39943
  to: t.selected.to ? new zt(t.selected.to, t.timeZone) : void 0
39943
39944
  }));
39944
- const { components: A, formatters: n, labels: r, dateLib: i, locale: o, classNames: a } = te(() => {
39945
+ const { components: A, formatters: n, labels: r, dateLib: i, locale: o, classNames: a } = ee(() => {
39945
39946
  const Qe = { ...Oc, ...t.locale };
39946
39947
  return {
39947
39948
  dateLib: new bA({
@@ -39973,7 +39974,7 @@ function Jee(e) {
39973
39974
  t.formatters,
39974
39975
  t.labels,
39975
39976
  t.classNames
39976
- ]), { captionLayout: l, mode: c, navLayout: d, numberOfMonths: u = 1, onDayBlur: f, onDayClick: g, onDayFocus: h, onDayKeyDown: m, onDayMouseEnter: w, onDayMouseLeave: v, onNextClick: x, onPrevClick: b, showWeekNumber: B, styles: y } = t, { formatCaption: C, formatDay: I, formatMonthDropdown: O, formatWeekNumber: Q, formatWeekNumberHeader: L, formatWeekdayName: j, formatYearDropdown: k } = n, U = jee(t, i), { days: W, months: G, navStart: oe, navEnd: V, previousMonth: Z, nextMonth: $, goToMonth: H } = U, E = q$(W, t, oe, V, i), { isSelected: z, select: q, selected: R } = Kee(t, i) ?? {}, { blur: F, focused: X, isFocusTarget: S, moveFocus: Y, setFocused: le } = kee(t, U, E, z ?? (() => !1), i), { labelDayButton: he, labelGridcell: Me, labelGrid: re, labelMonthDropdown: se, labelNav: Be, labelPrevious: Pe, labelNext: Ie, labelWeekday: ze, labelWeekNumber: mt, labelWeekNumberHeader: ae, labelYearDropdown: ke } = r, Se = te(() => dee(i, t.ISOWeek), [i, t.ISOWeek]), Pt = c !== void 0 || g !== void 0, xn = J(() => {
39977
+ ]), { captionLayout: l, mode: c, navLayout: d, numberOfMonths: u = 1, onDayBlur: f, onDayClick: g, onDayFocus: h, onDayKeyDown: m, onDayMouseEnter: w, onDayMouseLeave: v, onNextClick: x, onPrevClick: b, showWeekNumber: B, styles: y } = t, { formatCaption: C, formatDay: I, formatMonthDropdown: O, formatWeekNumber: Q, formatWeekNumberHeader: L, formatWeekdayName: j, formatYearDropdown: k } = n, U = jee(t, i), { days: W, months: G, navStart: oe, navEnd: V, previousMonth: Z, nextMonth: $, goToMonth: H } = U, E = q$(W, t, oe, V, i), { isSelected: z, select: q, selected: R } = Kee(t, i) ?? {}, { blur: F, focused: X, isFocusTarget: S, moveFocus: Y, setFocused: le } = kee(t, U, E, z ?? (() => !1), i), { labelDayButton: he, labelGridcell: Me, labelGrid: re, labelMonthDropdown: se, labelNav: Be, labelPrevious: Pe, labelNext: Ie, labelWeekday: ze, labelWeekNumber: mt, labelWeekNumberHeader: ae, labelYearDropdown: ke } = r, Se = ee(() => dee(i, t.ISOWeek), [i, t.ISOWeek]), Pt = c !== void 0 || g !== void 0, xn = J(() => {
39977
39978
  Z && (H(Z), b?.(Z));
39978
39979
  }, [Z, H, b]), bn = J(() => {
39979
39980
  $ && (H($), x?.($));
@@ -40016,7 +40017,7 @@ function Jee(e) {
40016
40017
  }, [i, H]), Fs = J((Qe) => (At) => {
40017
40018
  const Ee = Number(At.target.value), We = i.setYear(i.startOfMonth(Qe), Ee);
40018
40019
  H(We);
40019
- }, [i, H]), { className: _r, style: $r } = te(() => ({
40020
+ }, [i, H]), { className: _r, style: $r } = ee(() => ({
40020
40021
  className: [a[ve.Root], t.className].filter(Boolean).join(" "),
40021
40022
  style: { ...y?.[ve.Root], ...t.style }
40022
40023
  }), [a, t.className, t.style, y]), RA = _$(t), Bn = ue(null);
@@ -40042,17 +40043,17 @@ function Jee(e) {
40042
40043
  labels: r,
40043
40044
  formatters: n
40044
40045
  };
40045
- return ee.createElement(
40046
+ return te.createElement(
40046
40047
  P1.Provider,
40047
40048
  { value: eo },
40048
- ee.createElement(
40049
+ te.createElement(
40049
40050
  A.Root,
40050
40051
  { rootRef: t.animate ? Bn : void 0, className: _r, style: $r, dir: t.dir, id: t.id, lang: t.lang, nonce: t.nonce, title: t.title, role: t.role, "aria-label": t["aria-label"], "aria-labelledby": t["aria-labelledby"], ...RA },
40051
- ee.createElement(
40052
+ te.createElement(
40052
40053
  A.Months,
40053
40054
  { className: a[ve.Months], style: y?.[ve.Months] },
40054
- !t.hideNavigation && !d && ee.createElement(A.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: a[ve.Nav], style: y?.[ve.Nav], "aria-label": Be(), onPreviousClick: xn, onNextClick: bn, previousMonth: Z, nextMonth: $ }),
40055
- G.map((Qe, At) => ee.createElement(
40055
+ !t.hideNavigation && !d && te.createElement(A.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: a[ve.Nav], style: y?.[ve.Nav], "aria-label": Be(), onPreviousClick: xn, onNextClick: bn, previousMonth: Z, nextMonth: $ }),
40056
+ G.map((Qe, At) => te.createElement(
40056
40057
  A.Month,
40057
40058
  {
40058
40059
  "data-animated-month": t.animate ? "true" : void 0,
@@ -40063,19 +40064,19 @@ function Jee(e) {
40063
40064
  displayIndex: At,
40064
40065
  calendarMonth: Qe
40065
40066
  },
40066
- d === "around" && !t.hideNavigation && At === 0 && ee.createElement(
40067
+ d === "around" && !t.hideNavigation && At === 0 && te.createElement(
40067
40068
  A.PreviousMonthButton,
40068
40069
  { type: "button", className: a[ve.PreviousMonthButton], tabIndex: Z ? void 0 : -1, "aria-disabled": Z ? void 0 : !0, "aria-label": Pe(Z), onClick: xn, "data-animated-button": t.animate ? "true" : void 0 },
40069
- ee.createElement(A.Chevron, { disabled: Z ? void 0 : !0, className: a[ve.Chevron], orientation: t.dir === "rtl" ? "right" : "left" })
40070
+ te.createElement(A.Chevron, { disabled: Z ? void 0 : !0, className: a[ve.Chevron], orientation: t.dir === "rtl" ? "right" : "left" })
40070
40071
  ),
40071
- ee.createElement(A.MonthCaption, { "data-animated-caption": t.animate ? "true" : void 0, className: a[ve.MonthCaption], style: y?.[ve.MonthCaption], calendarMonth: Qe, displayIndex: At }, l?.startsWith("dropdown") ? ee.createElement(
40072
+ te.createElement(A.MonthCaption, { "data-animated-caption": t.animate ? "true" : void 0, className: a[ve.MonthCaption], style: y?.[ve.MonthCaption], calendarMonth: Qe, displayIndex: At }, l?.startsWith("dropdown") ? te.createElement(
40072
40073
  A.DropdownNav,
40073
40074
  { className: a[ve.Dropdowns], style: y?.[ve.Dropdowns] },
40074
40075
  (() => {
40075
- const Ee = l === "dropdown" || l === "dropdown-months" ? ee.createElement(A.MonthsDropdown, { key: "month", className: a[ve.MonthsDropdown], "aria-label": se(), classNames: a, components: A, disabled: !!t.disableNavigation, onChange: $i(Qe.date), options: lee(Qe.date, oe, V, n, i), style: y?.[ve.Dropdown], value: i.getMonth(Qe.date) }) : ee.createElement("span", { key: "month" }, O(Qe.date, i)), We = l === "dropdown" || l === "dropdown-years" ? ee.createElement(A.YearsDropdown, { key: "year", className: a[ve.YearsDropdown], "aria-label": ke(i.options), classNames: a, components: A, disabled: !!t.disableNavigation, onChange: Fs(Qe.date), options: uee(oe, V, n, i, !!t.reverseYears), style: y?.[ve.Dropdown], value: i.getYear(Qe.date) }) : ee.createElement("span", { key: "year" }, k(Qe.date, i));
40076
+ const Ee = l === "dropdown" || l === "dropdown-months" ? te.createElement(A.MonthsDropdown, { key: "month", className: a[ve.MonthsDropdown], "aria-label": se(), classNames: a, components: A, disabled: !!t.disableNavigation, onChange: $i(Qe.date), options: lee(Qe.date, oe, V, n, i), style: y?.[ve.Dropdown], value: i.getMonth(Qe.date) }) : te.createElement("span", { key: "month" }, O(Qe.date, i)), We = l === "dropdown" || l === "dropdown-years" ? te.createElement(A.YearsDropdown, { key: "year", className: a[ve.YearsDropdown], "aria-label": ke(i.options), classNames: a, components: A, disabled: !!t.disableNavigation, onChange: Fs(Qe.date), options: uee(oe, V, n, i, !!t.reverseYears), style: y?.[ve.Dropdown], value: i.getYear(Qe.date) }) : te.createElement("span", { key: "year" }, k(Qe.date, i));
40076
40077
  return i.getMonthYearOrder() === "year-first" ? [We, Ee] : [Ee, We];
40077
40078
  })(),
40078
- ee.createElement("span", { role: "status", "aria-live": "polite", style: {
40079
+ te.createElement("span", { role: "status", "aria-live": "polite", style: {
40079
40080
  border: 0,
40080
40081
  clip: "rect(0 0 0 0)",
40081
40082
  height: "1px",
@@ -40089,28 +40090,28 @@ function Jee(e) {
40089
40090
  } }, C(Qe.date, i.options, i))
40090
40091
  ) : (
40091
40092
  // biome-ignore lint/a11y/useSemanticElements: breaking change
40092
- ee.createElement(A.CaptionLabel, { className: a[ve.CaptionLabel], role: "status", "aria-live": "polite" }, C(Qe.date, i.options, i))
40093
+ te.createElement(A.CaptionLabel, { className: a[ve.CaptionLabel], role: "status", "aria-live": "polite" }, C(Qe.date, i.options, i))
40093
40094
  )),
40094
- d === "around" && !t.hideNavigation && At === u - 1 && ee.createElement(
40095
+ d === "around" && !t.hideNavigation && At === u - 1 && te.createElement(
40095
40096
  A.NextMonthButton,
40096
40097
  { type: "button", className: a[ve.NextMonthButton], tabIndex: $ ? void 0 : -1, "aria-disabled": $ ? void 0 : !0, "aria-label": Ie($), onClick: bn, "data-animated-button": t.animate ? "true" : void 0 },
40097
- ee.createElement(A.Chevron, { disabled: $ ? void 0 : !0, className: a[ve.Chevron], orientation: t.dir === "rtl" ? "left" : "right" })
40098
+ te.createElement(A.Chevron, { disabled: $ ? void 0 : !0, className: a[ve.Chevron], orientation: t.dir === "rtl" ? "left" : "right" })
40098
40099
  ),
40099
- At === u - 1 && d === "after" && !t.hideNavigation && ee.createElement(A.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: a[ve.Nav], style: y?.[ve.Nav], "aria-label": Be(), onPreviousClick: xn, onNextClick: bn, previousMonth: Z, nextMonth: $ }),
40100
- ee.createElement(
40100
+ At === u - 1 && d === "after" && !t.hideNavigation && te.createElement(A.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: a[ve.Nav], style: y?.[ve.Nav], "aria-label": Be(), onPreviousClick: xn, onNextClick: bn, previousMonth: Z, nextMonth: $ }),
40101
+ te.createElement(
40101
40102
  A.MonthGrid,
40102
40103
  { role: "grid", "aria-multiselectable": c === "multiple" || c === "range", "aria-label": re(Qe.date, i.options, i) || void 0, className: a[ve.MonthGrid], style: y?.[ve.MonthGrid] },
40103
- !t.hideWeekdays && ee.createElement(
40104
+ !t.hideWeekdays && te.createElement(
40104
40105
  A.Weekdays,
40105
40106
  { "data-animated-weekdays": t.animate ? "true" : void 0, className: a[ve.Weekdays], style: y?.[ve.Weekdays] },
40106
- B && ee.createElement(A.WeekNumberHeader, { "aria-label": ae(i.options), className: a[ve.WeekNumberHeader], style: y?.[ve.WeekNumberHeader], scope: "col" }, L()),
40107
- Se.map((Ee) => ee.createElement(A.Weekday, { "aria-label": ze(Ee, i.options, i), className: a[ve.Weekday], key: String(Ee), style: y?.[ve.Weekday], scope: "col" }, j(Ee, i.options, i)))
40107
+ B && te.createElement(A.WeekNumberHeader, { "aria-label": ae(i.options), className: a[ve.WeekNumberHeader], style: y?.[ve.WeekNumberHeader], scope: "col" }, L()),
40108
+ Se.map((Ee) => te.createElement(A.Weekday, { "aria-label": ze(Ee, i.options, i), className: a[ve.Weekday], key: String(Ee), style: y?.[ve.Weekday], scope: "col" }, j(Ee, i.options, i)))
40108
40109
  ),
40109
- ee.createElement(A.Weeks, { "data-animated-weeks": t.animate ? "true" : void 0, className: a[ve.Weeks], style: y?.[ve.Weeks] }, Qe.weeks.map((Ee) => ee.createElement(
40110
+ te.createElement(A.Weeks, { "data-animated-weeks": t.animate ? "true" : void 0, className: a[ve.Weeks], style: y?.[ve.Weeks] }, Qe.weeks.map((Ee) => te.createElement(
40110
40111
  A.Week,
40111
40112
  { className: a[ve.Week], key: Ee.weekNumber, style: y?.[ve.Week], week: Ee },
40112
40113
  B && // biome-ignore lint/a11y/useSemanticElements: react component
40113
- ee.createElement(A.WeekNumber, { week: Ee, style: y?.[ve.WeekNumber], "aria-label": mt(Ee.weekNumber, {
40114
+ te.createElement(A.WeekNumber, { week: Ee, style: y?.[ve.WeekNumber], "aria-label": mt(Ee.weekNumber, {
40114
40115
  locale: o
40115
40116
  }), className: a[ve.WeekNumber], scope: "row", role: "rowheader" }, Q(Ee.weekNumber, i)),
40116
40117
  Ee.days.map((We) => {
@@ -40122,7 +40123,7 @@ function Jee(e) {
40122
40123
  const zc = cee(Le, y, t.modifiersStyles), Xc = Y$(Le, a, t.modifiersClassNames), Bt = !Pt && !Le.hidden ? Me(qt, Le, i.options, i) : void 0;
40123
40124
  return (
40124
40125
  // biome-ignore lint/a11y/useSemanticElements: react component
40125
- ee.createElement(A.Day, { key: `${i.format(qt, "yyyy-MM-dd")}_${i.format(We.displayMonth, "yyyy-MM")}`, day: We, modifiers: Le, className: Xc.join(" "), style: zc, role: "gridcell", "aria-selected": Le.selected || void 0, "aria-label": Bt, "data-day": i.format(qt, "yyyy-MM-dd"), "data-month": We.outside ? i.format(qt, "yyyy-MM") : void 0, "data-selected": Le.selected || void 0, "data-disabled": Le.disabled || void 0, "data-hidden": Le.hidden || void 0, "data-outside": We.outside || void 0, "data-focused": Le.focused || void 0, "data-today": Le.today || void 0 }, !Le.hidden && Pt ? ee.createElement(A.DayButton, { className: a[ve.DayButton], style: y?.[ve.DayButton], type: "button", day: We, modifiers: Le, disabled: Le.disabled || void 0, tabIndex: S(We) ? 0 : -1, "aria-label": he(qt, Le, i.options, i), onClick: me(We, Le), onBlur: gt(We, Le), onFocus: Je(We, Le), onKeyDown: BA(We, Le), onMouseEnter: Qs(We, Le), onMouseLeave: Hs(We, Le) }, I(qt, i.options, i)) : !Le.hidden && I(We.date, i.options, i))
40126
+ te.createElement(A.Day, { key: `${i.format(qt, "yyyy-MM-dd")}_${i.format(We.displayMonth, "yyyy-MM")}`, day: We, modifiers: Le, className: Xc.join(" "), style: zc, role: "gridcell", "aria-selected": Le.selected || void 0, "aria-label": Bt, "data-day": i.format(qt, "yyyy-MM-dd"), "data-month": We.outside ? i.format(qt, "yyyy-MM") : void 0, "data-selected": Le.selected || void 0, "data-disabled": Le.disabled || void 0, "data-hidden": Le.hidden || void 0, "data-outside": We.outside || void 0, "data-focused": Le.focused || void 0, "data-today": Le.today || void 0 }, !Le.hidden && Pt ? te.createElement(A.DayButton, { className: a[ve.DayButton], style: y?.[ve.DayButton], type: "button", day: We, modifiers: Le, disabled: Le.disabled || void 0, tabIndex: S(We) ? 0 : -1, "aria-label": he(qt, Le, i.options, i), onClick: me(We, Le), onBlur: gt(We, Le), onFocus: Je(We, Le), onKeyDown: BA(We, Le), onMouseEnter: Qs(We, Le), onMouseLeave: Hs(We, Le) }, I(qt, i.options, i)) : !Le.hidden && I(We.date, i.options, i))
40126
40127
  );
40127
40128
  })
40128
40129
  )))
@@ -40130,7 +40131,7 @@ function Jee(e) {
40130
40131
  ))
40131
40132
  ),
40132
40133
  t.footer && // biome-ignore lint/a11y/useSemanticElements: react component
40133
- ee.createElement(A.Footer, { className: a[ve.Footer], style: y?.[ve.Footer], role: "status", "aria-live": "polite" }, t.footer)
40134
+ te.createElement(A.Footer, { className: a[ve.Footer], style: y?.[ve.Footer], role: "status", "aria-live": "polite" }, t.footer)
40134
40135
  )
40135
40136
  );
40136
40137
  }
@@ -41409,7 +41410,7 @@ const qee = {
41409
41410
  Number.isNaN(C.getTime()) ? (d(void 0), e === "datetime" && f("00:00"), l(/* @__PURE__ */ new Date())) : (d(C), l(C), e === "datetime" && f(
41410
41411
  `${C.getHours().toString().padStart(2, "0")}:${C.getMinutes().toString().padStart(2, "0")}`
41411
41412
  ));
41412
- }, b = te(() => Array.from({ length: 24 }, (C, I) => I.toString().padStart(2, "0")).map((C) => [
41413
+ }, b = ee(() => Array.from({ length: 24 }, (C, I) => I.toString().padStart(2, "0")).map((C) => [
41413
41414
  {
41414
41415
  value: `${C}:00`,
41415
41416
  label: `${C} : 00`
@@ -41426,7 +41427,7 @@ const qee = {
41426
41427
  value: `${C}:45`,
41427
41428
  label: `${C} : 45`
41428
41429
  }
41429
- ]).flat(), []), B = te(() => {
41430
+ ]).flat(), []), B = ee(() => {
41430
41431
  switch (n.locale) {
41431
41432
  case "fr":
41432
41433
  return tAe;
@@ -41619,7 +41620,7 @@ const ku = p.label`
41619
41620
  function o(l) {
41620
41621
  return A.options.find((c) => c.value === l)?.label;
41621
41622
  }
41622
- const a = te(
41623
+ const a = ee(
41623
41624
  () => r?.value?.map((l) => A.options.find((c) => Dt(c.value, l))).filter((l) => !!l),
41624
41625
  [r.value, A.options]
41625
41626
  );
@@ -41903,7 +41904,7 @@ const vAe = ({
41903
41904
  icon: "icon-search",
41904
41905
  label: d.formatMessage({ id: "GLOBAL_Search" }),
41905
41906
  onClick: () => v((b) => !b)
41906
- }, [w, v] = D(!1), x = te(
41907
+ }, [w, v] = D(!1), x = ee(
41907
41908
  () => e ? (b) => e(b).then((B) => B?.data ?? []) : void 0,
41908
41909
  [e]
41909
41910
  );
@@ -41970,7 +41971,7 @@ const vAe = ({
41970
41971
  perPage: 1,
41971
41972
  nbResults: 1
41972
41973
  }
41973
- }), k = te(
41974
+ }), k = ee(
41974
41975
  () => (G) => {
41975
41976
  if (e && (w && !G && O.length === 0 || w && C !== L.pagination?.page && Dt(B.toLowerCase(), G.toLowerCase()) || !w && G !== "" && !Dt(B.toLowerCase(), G.toLowerCase()) || w && !Dt(B.toLowerCase(), G.toLowerCase()))) {
41976
41977
  b(!0), Dt(B.toLowerCase(), G.toLowerCase()) || y(G);
@@ -42253,7 +42254,7 @@ const PAe = ({
42253
42254
  outline-offset: 2px;
42254
42255
  }
42255
42256
  `, jAe = ({ dataCy: e, size: t = "s", options: A, onChange: n, disabled: r, name: i, value: o, tooltip: a }, l) => {
42256
- const [c, d] = D(void 0), u = te(() => t === "l" ? "100%" : "100px", [t]);
42257
+ const [c, d] = D(void 0), u = ee(() => t === "l" ? "100%" : "100px", [t]);
42257
42258
  return /* @__PURE__ */ s.jsx(gs, { condition: !!a, tooltip: a, children: /* @__PURE__ */ s.jsx(LAe, { "data-cy": e, "data-value": o, $width: u, children: A.map((f, g) => /* @__PURE__ */ s.jsxs(
42258
42259
  RAe,
42259
42260
  {
@@ -42551,7 +42552,7 @@ const GAe = p.img`
42551
42552
  }, [i]), M(() => {
42552
42553
  e && a.reset();
42553
42554
  }, [a, e]);
42554
- const c = Yl({ control: a.control, name: "permalinkId" }), d = te(() => `${n}permalink/${c}`, [c, n]);
42555
+ const c = Yl({ control: a.control, name: "permalinkId" }), d = ee(() => `${n}permalink/${c}`, [c, n]);
42555
42556
  return /* @__PURE__ */ s.jsxs(
42556
42557
  Vh,
42557
42558
  {
@@ -42766,7 +42767,7 @@ const Cne = p.div`
42766
42767
  background-color: ${(e) => e.color};
42767
42768
  border-radius: ${(e) => e.theme.space.md}px;
42768
42769
  `, xp = ({ value: e, total: t, threshold: A = 0.8, colorProgressBar: n }) => {
42769
- const r = te(() => e === 0 ? 0 : e * 100 / t, [e, t]), i = te(() => n || (e === t ? "orange" : e === Math.floor(t * A) ? "yellow" : "green"), [t, e, A, n]);
42770
+ const r = ee(() => e === 0 ? 0 : e * 100 / t, [e, t]), i = ee(() => n || (e === t ? "orange" : e === Math.floor(t * A) ? "yellow" : "green"), [t, e, A, n]);
42770
42771
  return /* @__PURE__ */ s.jsx(Cne, { children: /* @__PURE__ */ s.jsx(Ene, { width: r, color: i }) });
42771
42772
  }, Dne = p.li`
42772
42773
  height: 48px;
@@ -42811,7 +42812,7 @@ const Cne = p.div`
42811
42812
  outline: none;
42812
42813
  }
42813
42814
  `, Tne = (e) => {
42814
- const t = K(), A = ol(e.color, -0.4) ?? "#FFF", n = ol(e.color, 0.8) ?? "#000", r = te(() => e.url ? "link" : "button", [e.url]);
42815
+ const t = K(), A = ol(e.color, -0.4) ?? "#FFF", n = ol(e.color, 0.8) ?? "#000", r = ee(() => e.url ? "link" : "button", [e.url]);
42815
42816
  return /* @__PURE__ */ s.jsxs(Dne, { children: [
42816
42817
  r === "button" && /* @__PURE__ */ s.jsxs(Sne, { onClick: e.onClick, "data-cy": e.dataCy, children: [
42817
42818
  /* @__PURE__ */ s.jsx(
@@ -42883,7 +42884,7 @@ const Cne = p.div`
42883
42884
  ariaLabel: c,
42884
42885
  onClickEntry: d
42885
42886
  }) => {
42886
- const u = K(), [f, g] = D(!1), h = ue(null), m = te(() => {
42887
+ const u = K(), [f, g] = D(!1), h = ue(null), m = ee(() => {
42887
42888
  if (!r)
42888
42889
  return n;
42889
42890
  const y = Rne(n, u);
@@ -43763,7 +43764,7 @@ const cA = ({
43763
43764
  const { control: a, watch: l, setValue: c } = Ft({
43764
43765
  defaultValues: { text: A ?? "" },
43765
43766
  criteriaMode: "all"
43766
- }), d = te(() => Gg(r?.maxLength), [r?.maxLength]);
43767
+ }), d = ee(() => Gg(r?.maxLength), [r?.maxLength]);
43767
43768
  return M(() => {
43768
43769
  let u = A ?? "";
43769
43770
  d !== void 0 && u.length > d && (u = u.slice(0, d)), c("text", u);
@@ -45332,7 +45333,7 @@ const Gie = p.button`
45332
45333
  }) => {
45333
45334
  const n = K(), [r, i] = D(!1), [o] = D(e), a = () => {
45334
45335
  t && (A(Wie(o, t)), i(!1));
45335
- }, l = te(() => {
45336
+ }, l = ee(() => {
45336
45337
  let c = !1;
45337
45338
  if (t)
45338
45339
  return t.forEach((d, u) => {
@@ -45462,7 +45463,7 @@ const Gie = p.button`
45462
45463
  M(() => {
45463
45464
  a(A);
45464
45465
  }, [A]);
45465
- const g = te(() => A.find((h) => h.name === d), [A, d]);
45466
+ const g = ee(() => A.find((h) => h.name === d), [A, d]);
45466
45467
  return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
45467
45468
  /* @__PURE__ */ s.jsxs(Te, { children: [
45468
45469
  /* @__PURE__ */ s.jsx(Ae, { size: "l", children: i.formatMessage({ id: "WIDGET_Datasource_Columns" }) }),
@@ -45906,7 +45907,7 @@ const Gie = p.button`
45906
45907
  label: A,
45907
45908
  maxValue: n = 999
45908
45909
  }) => {
45909
- const r = K(), i = te(() => e > n ? `${n}+` : `${e}`, [e, n]);
45910
+ const r = K(), i = ee(() => e > n ? `${n}+` : `${e}`, [e, n]);
45910
45911
  return /* @__PURE__ */ s.jsxs(xoe, { children: [
45911
45912
  /* @__PURE__ */ s.jsxs(boe, { children: [
45912
45913
  /* @__PURE__ */ s.jsx(yoe, { children: /* @__PURE__ */ s.jsx("img", { src: t }) }),
@@ -46334,7 +46335,7 @@ const Qoe = ({
46334
46335
  width: 80%;
46335
46336
  }
46336
46337
  `, Moe = ({ count: e, img: t, label: A, maxValue: n = 999 }) => {
46337
- const r = K(), i = te(() => e > n ? `${n}+` : `${e}`, [e, n]);
46338
+ const r = K(), i = ee(() => e > n ? `${n}+` : `${e}`, [e, n]);
46338
46339
  return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
46339
46340
  /* @__PURE__ */ s.jsxs(Loe, { children: [
46340
46341
  /* @__PURE__ */ s.jsx(joe, { children: /* @__PURE__ */ s.jsx("img", { src: t, alt: "" }) }),
@@ -46375,7 +46376,7 @@ const Qoe = ({
46375
46376
  display: flex;
46376
46377
  flex-direction: row;
46377
46378
  `, Uoe = ({ datetime: e }) => {
46378
- const t = lc(e), A = ah(e), n = te(() => t ? "WIDGET_Lucca_Absent_Until_Today" : A ? "WIDGET_Lucca_Absent_Until_Tomorrow" : "WIDGET_Lucca_Absent_Until", [t, A]), r = te(() => t || A ? "time" : "date-time", [t, A]);
46379
+ const t = lc(e), A = ah(e), n = ee(() => t ? "WIDGET_Lucca_Absent_Until_Today" : A ? "WIDGET_Lucca_Absent_Until_Tomorrow" : "WIDGET_Lucca_Absent_Until", [t, A]), r = ee(() => t || A ? "time" : "date-time", [t, A]);
46379
46380
  return /* @__PURE__ */ s.jsxs(koe, { children: [
46380
46381
  /* @__PURE__ */ s.jsx(Oe, { id: n }),
46381
46382
  " ",
@@ -46651,7 +46652,7 @@ const Qoe = ({
46651
46652
  setOpenUsersModal: i,
46652
46653
  handleResponseClick: o
46653
46654
  }) => {
46654
- const a = te(() => A.userList && A.counter && A.counter > A.userList.length ? A.counter - A.userList.length : 0, [A]);
46655
+ const a = ee(() => A.userList && A.counter && A.counter > A.userList.length ? A.counter - A.userList.length : 0, [A]);
46655
46656
  return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
46656
46657
  /* @__PURE__ */ s.jsxs(ese, { isClosed: !!r, children: [
46657
46658
  /* @__PURE__ */ s.jsx(tse, { onClick: o, children: /* @__PURE__ */ s.jsx(xp, { value: A.counter ?? 0, total: t, colorProgressBar: "orange" }) }),
@@ -46860,7 +46861,7 @@ const Qoe = ({
46860
46861
  token: t,
46861
46862
  handleChange: A
46862
46863
  }) => {
46863
- const n = K(), [r, i] = D(0), o = ue([]), a = te(() => Array.isArray(e.arr) ? e.arr.length : 0, [e.arr]), l = n.formatMessage({ id: "FIELDS_Add_Option" });
46864
+ const n = K(), [r, i] = D(0), o = ue([]), a = ee(() => Array.isArray(e.arr) ? e.arr.length : 0, [e.arr]), l = n.formatMessage({ id: "FIELDS_Add_Option" });
46864
46865
  M(() => {
46865
46866
  o.current[r]?.current && o.current[r].current?.focus();
46866
46867
  }, [r]);
@@ -47376,10 +47377,10 @@ const tae = (e) => {
47376
47377
  x.name === O ? b({ ...x, order: x.order === "ascending" ? "descending" : "ascending" }) : b({ name: O, order: "ascending" });
47377
47378
  },
47378
47379
  [x]
47379
- ), y = te(() => t.length, [t]), C = te(() => {
47380
+ ), y = ee(() => t.length, [t]), C = ee(() => {
47380
47381
  const O = A.find((Q) => Q.name === x.name);
47381
47382
  return O ? O.type : "text";
47382
- }, [A, x]), I = te(
47383
+ }, [A, x]), I = ee(
47383
47384
  () => Mse($se(t, x.order, x.name, C), w, Number(m)),
47384
47385
  [t, x.name, x.order, w, m, C]
47385
47386
  );
@@ -47561,7 +47562,7 @@ const tae = (e) => {
47561
47562
  displayMode: A = Mn.OnlyPicture,
47562
47563
  css: n
47563
47564
  }) => {
47564
- const r = K(), i = gn(), o = te(
47565
+ const r = K(), i = gn(), o = ee(
47565
47566
  () => ({
47566
47567
  background: n?.background ?? i.color.transparentHexa,
47567
47568
  fontSize: n?.fontSize ?? R0.Size20,
@@ -47569,7 +47570,7 @@ const tae = (e) => {
47569
47570
  textColor: n?.textcolor ?? i.color.navy
47570
47571
  }),
47571
47572
  [n, i.color.transparentHexa, i.color.navy]
47572
- ), a = te(() => N0(A, e), [A, e]);
47573
+ ), a = ee(() => N0(A, e), [A, e]);
47573
47574
  return /* @__PURE__ */ s.jsx(rae, { $background: o.background, children: /* @__PURE__ */ s.jsx(
47574
47575
  ht,
47575
47576
  {
@@ -47613,13 +47614,13 @@ const tae = (e) => {
47613
47614
  onChange: i,
47614
47615
  size: o = "l"
47615
47616
  }) => {
47616
- const a = K(), l = te(
47617
+ const a = K(), l = ee(
47617
47618
  () => r.map((f) => ({
47618
47619
  ...f,
47619
47620
  label: a.formatMessage({ id: f.label })
47620
47621
  })),
47621
47622
  [r, a]
47622
- ), c = te(
47623
+ ), c = ee(
47623
47624
  () => l.find((f) => f.value === A),
47624
47625
  [l, A]
47625
47626
  ), { control: d, watch: u } = Ft({
@@ -47684,7 +47685,7 @@ const tae = (e) => {
47684
47685
  flex-direction: column;
47685
47686
  gap: 0;
47686
47687
  `, cae = ({ uniqid: e, content: t, onChangeContent: A }) => {
47687
- const n = K(), r = gn(), i = t.pictureSize ?? eh.Small, o = t.buttonName ?? Mn.OnlyPicture, a = t.css?.fontSize ? Number(t.css.fontSize) : 20, l = t.css?.fontWeight ?? hs.Normal, c = t.css?.textcolor ? String(t.css.textcolor) : r.color.navy, d = t.css?.background ? String(t.css.background) : r.color.transparentHexa, u = te(
47688
+ const n = K(), r = gn(), i = t.pictureSize ?? eh.Small, o = t.buttonName ?? Mn.OnlyPicture, a = t.css?.fontSize ? Number(t.css.fontSize) : 20, l = t.css?.fontWeight ?? hs.Normal, c = t.css?.textcolor ? String(t.css.textcolor) : r.color.navy, d = t.css?.background ? String(t.css.background) : r.color.transparentHexa, u = ee(
47688
47689
  () => ({
47689
47690
  pictureSize: i,
47690
47691
  buttonName: o,
@@ -47840,9 +47841,9 @@ const tae = (e) => {
47840
47841
  position: r = sA.Center,
47841
47842
  displayMode: i = Mn.WithFirstName
47842
47843
  }) => {
47843
- const o = K(), a = te(() => NR(r), [r]), l = t ?? o.formatMessage({
47844
+ const o = K(), a = ee(() => NR(r), [r]), l = t ?? o.formatMessage({
47844
47845
  id: "WIDGET_Welcome_Default_Message"
47845
- }), c = gn(), d = te(
47846
+ }), c = gn(), d = ee(
47846
47847
  () => ({
47847
47848
  background: n?.background ?? c.color.transparentHexa,
47848
47849
  textColor: n?.textColor ?? c.color.grey6,
@@ -47851,7 +47852,7 @@ const tae = (e) => {
47851
47852
  textAlign: n?.textAlign ?? $g.Left
47852
47853
  }),
47853
47854
  [n, c.color.transparentHexa]
47854
- ), u = te(() => N0(i, e), [i, e]);
47855
+ ), u = ee(() => N0(i, e), [i, e]);
47855
47856
  return /* @__PURE__ */ s.jsx(dae, { $background: d.background, children: /* @__PURE__ */ s.jsx(uae, { $justifyContent: a.justifyContent, $alignItems: a.alignItems, children: /* @__PURE__ */ s.jsxs(
47856
47857
  fae,
47857
47858
  {
@@ -47935,7 +47936,7 @@ const hae = [
47935
47936
  color: A,
47936
47937
  size: n = "l"
47937
47938
  }) => {
47938
- const r = K(), i = tt(), [o, a] = D(e ?? Ii.TopLeft), l = te(
47939
+ const r = K(), i = tt(), [o, a] = D(e ?? Ii.TopLeft), l = ee(
47939
47940
  () => hae.map((d) => ({
47940
47941
  ...d,
47941
47942
  label: r.formatMessage({ id: d.label })