@tricoteuses/assemblee 3.2.4 → 3.2.5

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.
@@ -1735,7 +1735,7 @@ function ct(e, t) {
1735
1735
  default: return P(RegExp("^-?\\d{1," + e + "}"), t);
1736
1736
  }
1737
1737
  }
1738
- function L(e) {
1738
+ function lt(e) {
1739
1739
  switch (e) {
1740
1740
  case "morning": return 4;
1741
1741
  case "evening": return 17;
@@ -1745,7 +1745,7 @@ function L(e) {
1745
1745
  default: return 0;
1746
1746
  }
1747
1747
  }
1748
- function lt(e, t) {
1748
+ function ut(e, t) {
1749
1749
  let n = t > 0, r = n ? t : 1 - t, i;
1750
1750
  if (r <= 50) i = e || 100;
1751
1751
  else {
@@ -1754,12 +1754,12 @@ function lt(e, t) {
1754
1754
  }
1755
1755
  return n ? i : 1 - i;
1756
1756
  }
1757
- function ut(e) {
1757
+ function dt(e) {
1758
1758
  return e % 400 == 0 || e % 4 == 0 && e % 100 != 0;
1759
1759
  }
1760
1760
  //#endregion
1761
1761
  //#region node_modules/date-fns/parse/_lib/parsers/YearParser.js
1762
- var dt = class extends A {
1762
+ var ft = class extends A {
1763
1763
  constructor(...e) {
1764
1764
  super(...e), k(this, "priority", 130), k(this, "incompatibleTokens", [
1765
1765
  "Y",
@@ -1791,13 +1791,13 @@ var dt = class extends A {
1791
1791
  set(e, t, n) {
1792
1792
  let r = e.getFullYear();
1793
1793
  if (n.isTwoDigitYear) {
1794
- let t = lt(n.year, r);
1794
+ let t = ut(n.year, r);
1795
1795
  return e.setFullYear(t, 0, 1), e.setHours(0, 0, 0, 0), e;
1796
1796
  }
1797
1797
  let i = !("era" in t) || t.era === 1 ? n.year : 1 - n.year;
1798
1798
  return e.setFullYear(i, 0, 1), e.setHours(0, 0, 0, 0), e;
1799
1799
  }
1800
- }, ft = class extends A {
1800
+ }, pt = class extends A {
1801
1801
  constructor(...e) {
1802
1802
  super(...e), k(this, "priority", 130), k(this, "incompatibleTokens", [
1803
1803
  "y",
@@ -1832,13 +1832,13 @@ var dt = class extends A {
1832
1832
  set(e, t, n, r) {
1833
1833
  let i = _e(e, r);
1834
1834
  if (n.isTwoDigitYear) {
1835
- let t = lt(n.year, i);
1835
+ let t = ut(n.year, i);
1836
1836
  return e.setFullYear(t, 0, r.firstWeekContainsDate), e.setHours(0, 0, 0, 0), v(e, r);
1837
1837
  }
1838
1838
  let a = !("era" in t) || t.era === 1 ? n.year : 1 - n.year;
1839
1839
  return e.setFullYear(a, 0, r.firstWeekContainsDate), e.setHours(0, 0, 0, 0), v(e, r);
1840
1840
  }
1841
- }, pt = class extends A {
1841
+ }, mt = class extends A {
1842
1842
  constructor(...e) {
1843
1843
  super(...e), k(this, "priority", 130), k(this, "incompatibleTokens", [
1844
1844
  "G",
@@ -1865,7 +1865,7 @@ var dt = class extends A {
1865
1865
  let r = h(e, 0);
1866
1866
  return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), y(r);
1867
1867
  }
1868
- }, mt = class extends A {
1868
+ }, ht = class extends A {
1869
1869
  constructor(...e) {
1870
1870
  super(...e), k(this, "priority", 130), k(this, "incompatibleTokens", [
1871
1871
  "G",
@@ -1887,7 +1887,7 @@ var dt = class extends A {
1887
1887
  set(e, t, n) {
1888
1888
  return e.setFullYear(n, 0, 1), e.setHours(0, 0, 0, 0), e;
1889
1889
  }
1890
- }, ht = class extends A {
1890
+ }, gt = class extends A {
1891
1891
  constructor(...e) {
1892
1892
  super(...e), k(this, "priority", 120), k(this, "incompatibleTokens", [
1893
1893
  "Y",
@@ -1940,7 +1940,7 @@ var dt = class extends A {
1940
1940
  set(e, t, n) {
1941
1941
  return e.setMonth((n - 1) * 3, 1), e.setHours(0, 0, 0, 0), e;
1942
1942
  }
1943
- }, gt = class extends A {
1943
+ }, _t = class extends A {
1944
1944
  constructor(...e) {
1945
1945
  super(...e), k(this, "priority", 120), k(this, "incompatibleTokens", [
1946
1946
  "Y",
@@ -1993,7 +1993,7 @@ var dt = class extends A {
1993
1993
  set(e, t, n) {
1994
1994
  return e.setMonth((n - 1) * 3, 1), e.setHours(0, 0, 0, 0), e;
1995
1995
  }
1996
- }, _t = class extends A {
1996
+ }, vt = class extends A {
1997
1997
  constructor(...e) {
1998
1998
  super(...e), k(this, "incompatibleTokens", [
1999
1999
  "Y",
@@ -2046,7 +2046,7 @@ var dt = class extends A {
2046
2046
  set(e, t, n) {
2047
2047
  return e.setMonth(n, 1), e.setHours(0, 0, 0, 0), e;
2048
2048
  }
2049
- }, vt = class extends A {
2049
+ }, yt = class extends A {
2050
2050
  constructor(...e) {
2051
2051
  super(...e), k(this, "priority", 110), k(this, "incompatibleTokens", [
2052
2052
  "Y",
@@ -2102,13 +2102,13 @@ var dt = class extends A {
2102
2102
  };
2103
2103
  //#endregion
2104
2104
  //#region node_modules/date-fns/setWeek.js
2105
- function yt(e, t, n) {
2105
+ function bt(e, t, n) {
2106
2106
  let r = g(e, n?.in), i = ye(r, n) - t;
2107
2107
  return r.setDate(r.getDate() - i * 7), g(r, n?.in);
2108
2108
  }
2109
2109
  //#endregion
2110
2110
  //#region node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js
2111
- var bt = class extends A {
2111
+ var xt = class extends A {
2112
2112
  constructor(...e) {
2113
2113
  super(...e), k(this, "priority", 100), k(this, "incompatibleTokens", [
2114
2114
  "y",
@@ -2137,18 +2137,18 @@ var bt = class extends A {
2137
2137
  return t >= 1 && t <= 53;
2138
2138
  }
2139
2139
  set(e, t, n, r) {
2140
- return v(yt(e, n, r), r);
2140
+ return v(bt(e, n, r), r);
2141
2141
  }
2142
2142
  };
2143
2143
  //#endregion
2144
2144
  //#region node_modules/date-fns/setISOWeek.js
2145
- function xt(e, t, n) {
2145
+ function St(e, t, n) {
2146
2146
  let r = g(e, n?.in), i = ge(r, n) - t;
2147
2147
  return r.setDate(r.getDate() - i * 7), r;
2148
2148
  }
2149
2149
  //#endregion
2150
2150
  //#region node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js
2151
- var St = class extends A {
2151
+ var Ct = class extends A {
2152
2152
  constructor(...e) {
2153
2153
  super(...e), k(this, "priority", 100), k(this, "incompatibleTokens", [
2154
2154
  "y",
@@ -2178,9 +2178,9 @@ var St = class extends A {
2178
2178
  return t >= 1 && t <= 53;
2179
2179
  }
2180
2180
  set(e, t, n) {
2181
- return y(xt(e, n));
2181
+ return y(St(e, n));
2182
2182
  }
2183
- }, Ct = [
2183
+ }, wt = [
2184
2184
  31,
2185
2185
  28,
2186
2186
  31,
@@ -2193,7 +2193,7 @@ var St = class extends A {
2193
2193
  31,
2194
2194
  30,
2195
2195
  31
2196
- ], wt = [
2196
+ ], Tt = [
2197
2197
  31,
2198
2198
  29,
2199
2199
  31,
@@ -2206,7 +2206,7 @@ var St = class extends A {
2206
2206
  31,
2207
2207
  30,
2208
2208
  31
2209
- ], Tt = class extends A {
2209
+ ], Et = class extends A {
2210
2210
  constructor(...e) {
2211
2211
  super(...e), k(this, "priority", 90), k(this, "subPriority", 1), k(this, "incompatibleTokens", [
2212
2212
  "Y",
@@ -2231,13 +2231,13 @@ var St = class extends A {
2231
2231
  }
2232
2232
  }
2233
2233
  validate(e, t) {
2234
- let n = ut(e.getFullYear()), r = e.getMonth();
2235
- return n ? t >= 1 && t <= wt[r] : t >= 1 && t <= Ct[r];
2234
+ let n = dt(e.getFullYear()), r = e.getMonth();
2235
+ return n ? t >= 1 && t <= Tt[r] : t >= 1 && t <= wt[r];
2236
2236
  }
2237
2237
  set(e, t, n) {
2238
2238
  return e.setDate(n), e.setHours(0, 0, 0, 0), e;
2239
2239
  }
2240
- }, Et = class extends A {
2240
+ }, Dt = class extends A {
2241
2241
  constructor(...e) {
2242
2242
  super(...e), k(this, "priority", 90), k(this, "subpriority", 1), k(this, "incompatibleTokens", [
2243
2243
  "Y",
@@ -2266,7 +2266,7 @@ var St = class extends A {
2266
2266
  }
2267
2267
  }
2268
2268
  validate(e, t) {
2269
- return ut(e.getFullYear()) ? t >= 1 && t <= 366 : t >= 1 && t <= 365;
2269
+ return dt(e.getFullYear()) ? t >= 1 && t <= 366 : t >= 1 && t <= 365;
2270
2270
  }
2271
2271
  set(e, t, n) {
2272
2272
  return e.setMonth(0, n), e.setHours(0, 0, 0, 0), e;
@@ -2274,19 +2274,19 @@ var St = class extends A {
2274
2274
  };
2275
2275
  //#endregion
2276
2276
  //#region node_modules/date-fns/addDays.js
2277
- function Dt(e, t, n) {
2277
+ function Ot(e, t, n) {
2278
2278
  let r = g(e, n?.in);
2279
2279
  return isNaN(t) ? h(n?.in || e, NaN) : (t && r.setDate(r.getDate() + t), r);
2280
2280
  }
2281
2281
  //#endregion
2282
2282
  //#region node_modules/date-fns/setDay.js
2283
- function R(e, t, n) {
2283
+ function L(e, t, n) {
2284
2284
  let r = f(), i = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, a = g(e, n?.in), o = a.getDay(), s = (t % 7 + 7) % 7, c = 7 - i;
2285
- return Dt(a, t < 0 || t > 6 ? t - (o + c) % 7 : (s + c) % 7 - (o + c) % 7, n);
2285
+ return Ot(a, t < 0 || t > 6 ? t - (o + c) % 7 : (s + c) % 7 - (o + c) % 7, n);
2286
2286
  }
2287
2287
  //#endregion
2288
2288
  //#region node_modules/date-fns/parse/_lib/parsers/DayParser.js
2289
- var Ot = class extends A {
2289
+ var kt = class extends A {
2290
2290
  constructor(...e) {
2291
2291
  super(...e), k(this, "priority", 90), k(this, "incompatibleTokens", [
2292
2292
  "D",
@@ -2341,9 +2341,9 @@ var Ot = class extends A {
2341
2341
  return t >= 0 && t <= 6;
2342
2342
  }
2343
2343
  set(e, t, n, r) {
2344
- return e = R(e, n, r), e.setHours(0, 0, 0, 0), e;
2344
+ return e = L(e, n, r), e.setHours(0, 0, 0, 0), e;
2345
2345
  }
2346
- }, kt = class extends A {
2346
+ }, At = class extends A {
2347
2347
  constructor(...e) {
2348
2348
  super(...e), k(this, "priority", 90), k(this, "incompatibleTokens", [
2349
2349
  "y",
@@ -2412,9 +2412,9 @@ var Ot = class extends A {
2412
2412
  return t >= 0 && t <= 6;
2413
2413
  }
2414
2414
  set(e, t, n, r) {
2415
- return e = R(e, n, r), e.setHours(0, 0, 0, 0), e;
2415
+ return e = L(e, n, r), e.setHours(0, 0, 0, 0), e;
2416
2416
  }
2417
- }, At = class extends A {
2417
+ }, jt = class extends A {
2418
2418
  constructor(...e) {
2419
2419
  super(...e), k(this, "priority", 90), k(this, "incompatibleTokens", [
2420
2420
  "y",
@@ -2483,24 +2483,24 @@ var Ot = class extends A {
2483
2483
  return t >= 0 && t <= 6;
2484
2484
  }
2485
2485
  set(e, t, n, r) {
2486
- return e = R(e, n, r), e.setHours(0, 0, 0, 0), e;
2486
+ return e = L(e, n, r), e.setHours(0, 0, 0, 0), e;
2487
2487
  }
2488
2488
  };
2489
2489
  //#endregion
2490
2490
  //#region node_modules/date-fns/getISODay.js
2491
- function jt(e, t) {
2491
+ function Mt(e, t) {
2492
2492
  let n = g(e, t?.in).getDay();
2493
2493
  return n === 0 ? 7 : n;
2494
2494
  }
2495
2495
  //#endregion
2496
2496
  //#region node_modules/date-fns/setISODay.js
2497
- function Mt(e, t, n) {
2497
+ function Nt(e, t, n) {
2498
2498
  let r = g(e, n?.in);
2499
- return Dt(r, t - jt(r, n), n);
2499
+ return Ot(r, t - Mt(r, n), n);
2500
2500
  }
2501
2501
  //#endregion
2502
2502
  //#region node_modules/date-fns/parse/_lib/parsers/ISODayParser.js
2503
- var Nt = class extends A {
2503
+ var Pt = class extends A {
2504
2504
  constructor(...e) {
2505
2505
  super(...e), k(this, "priority", 90), k(this, "incompatibleTokens", [
2506
2506
  "y",
@@ -2566,9 +2566,9 @@ var Nt = class extends A {
2566
2566
  return t >= 1 && t <= 7;
2567
2567
  }
2568
2568
  set(e, t, n) {
2569
- return e = Mt(e, n), e.setHours(0, 0, 0, 0), e;
2569
+ return e = Nt(e, n), e.setHours(0, 0, 0, 0), e;
2570
2570
  }
2571
- }, Pt = class extends A {
2571
+ }, Ft = class extends A {
2572
2572
  constructor(...e) {
2573
2573
  super(...e), k(this, "priority", 80), k(this, "incompatibleTokens", [
2574
2574
  "b",
@@ -2607,9 +2607,9 @@ var Nt = class extends A {
2607
2607
  }
2608
2608
  }
2609
2609
  set(e, t, n) {
2610
- return e.setHours(L(n), 0, 0, 0), e;
2610
+ return e.setHours(lt(n), 0, 0, 0), e;
2611
2611
  }
2612
- }, Ft = class extends A {
2612
+ }, It = class extends A {
2613
2613
  constructor(...e) {
2614
2614
  super(...e), k(this, "priority", 80), k(this, "incompatibleTokens", [
2615
2615
  "a",
@@ -2648,9 +2648,9 @@ var Nt = class extends A {
2648
2648
  }
2649
2649
  }
2650
2650
  set(e, t, n) {
2651
- return e.setHours(L(n), 0, 0, 0), e;
2651
+ return e.setHours(lt(n), 0, 0, 0), e;
2652
2652
  }
2653
- }, It = class extends A {
2653
+ }, Lt = class extends A {
2654
2654
  constructor(...e) {
2655
2655
  super(...e), k(this, "priority", 80), k(this, "incompatibleTokens", [
2656
2656
  "a",
@@ -2687,9 +2687,9 @@ var Nt = class extends A {
2687
2687
  }
2688
2688
  }
2689
2689
  set(e, t, n) {
2690
- return e.setHours(L(n), 0, 0, 0), e;
2690
+ return e.setHours(lt(n), 0, 0, 0), e;
2691
2691
  }
2692
- }, Lt = class extends A {
2692
+ }, Rt = class extends A {
2693
2693
  constructor(...e) {
2694
2694
  super(...e), k(this, "priority", 70), k(this, "incompatibleTokens", [
2695
2695
  "H",
@@ -2713,7 +2713,7 @@ var Nt = class extends A {
2713
2713
  let r = e.getHours() >= 12;
2714
2714
  return r && n < 12 ? e.setHours(n + 12, 0, 0, 0) : !r && n === 12 ? e.setHours(0, 0, 0, 0) : e.setHours(n, 0, 0, 0), e;
2715
2715
  }
2716
- }, Rt = class extends A {
2716
+ }, zt = class extends A {
2717
2717
  constructor(...e) {
2718
2718
  super(...e), k(this, "priority", 70), k(this, "incompatibleTokens", [
2719
2719
  "a",
@@ -2738,7 +2738,7 @@ var Nt = class extends A {
2738
2738
  set(e, t, n) {
2739
2739
  return e.setHours(n, 0, 0, 0), e;
2740
2740
  }
2741
- }, zt = class extends A {
2741
+ }, Bt = class extends A {
2742
2742
  constructor(...e) {
2743
2743
  super(...e), k(this, "priority", 70), k(this, "incompatibleTokens", [
2744
2744
  "h",
@@ -2761,7 +2761,7 @@ var Nt = class extends A {
2761
2761
  set(e, t, n) {
2762
2762
  return e.getHours() >= 12 && n < 12 ? e.setHours(n + 12, 0, 0, 0) : e.setHours(n, 0, 0, 0), e;
2763
2763
  }
2764
- }, Bt = class extends A {
2764
+ }, Vt = class extends A {
2765
2765
  constructor(...e) {
2766
2766
  super(...e), k(this, "priority", 70), k(this, "incompatibleTokens", [
2767
2767
  "a",
@@ -2787,7 +2787,7 @@ var Nt = class extends A {
2787
2787
  let r = n <= 24 ? n % 24 : n;
2788
2788
  return e.setHours(r, 0, 0, 0), e;
2789
2789
  }
2790
- }, Vt = class extends A {
2790
+ }, Ht = class extends A {
2791
2791
  constructor(...e) {
2792
2792
  super(...e), k(this, "priority", 60), k(this, "incompatibleTokens", ["t", "T"]);
2793
2793
  }
@@ -2804,7 +2804,7 @@ var Nt = class extends A {
2804
2804
  set(e, t, n) {
2805
2805
  return e.setMinutes(n, 0, 0), e;
2806
2806
  }
2807
- }, Ht = class extends A {
2807
+ }, Ut = class extends A {
2808
2808
  constructor(...e) {
2809
2809
  super(...e), k(this, "priority", 50), k(this, "incompatibleTokens", ["t", "T"]);
2810
2810
  }
@@ -2821,7 +2821,7 @@ var Nt = class extends A {
2821
2821
  set(e, t, n) {
2822
2822
  return e.setSeconds(n, 0), e;
2823
2823
  }
2824
- }, Ut = class extends A {
2824
+ }, Wt = class extends A {
2825
2825
  constructor(...e) {
2826
2826
  super(...e), k(this, "priority", 30), k(this, "incompatibleTokens", ["t", "T"]);
2827
2827
  }
@@ -2831,7 +2831,7 @@ var Nt = class extends A {
2831
2831
  set(e, t, n) {
2832
2832
  return e.setMilliseconds(n), e;
2833
2833
  }
2834
- }, Wt = class extends A {
2834
+ }, Gt = class extends A {
2835
2835
  constructor(...e) {
2836
2836
  super(...e), k(this, "priority", 10), k(this, "incompatibleTokens", [
2837
2837
  "t",
@@ -2851,7 +2851,7 @@ var Nt = class extends A {
2851
2851
  set(e, t, n) {
2852
2852
  return t.timestampIsSet ? e : h(e, e.getTime() - _(e) - n);
2853
2853
  }
2854
- }, Gt = class extends A {
2854
+ }, Kt = class extends A {
2855
2855
  constructor(...e) {
2856
2856
  super(...e), k(this, "priority", 10), k(this, "incompatibleTokens", [
2857
2857
  "t",
@@ -2871,7 +2871,7 @@ var Nt = class extends A {
2871
2871
  set(e, t, n) {
2872
2872
  return t.timestampIsSet ? e : h(e, e.getTime() - _(e) - n);
2873
2873
  }
2874
- }, Kt = class extends A {
2874
+ }, qt = class extends A {
2875
2875
  constructor(...e) {
2876
2876
  super(...e), k(this, "priority", 40), k(this, "incompatibleTokens", "*");
2877
2877
  }
@@ -2881,7 +2881,7 @@ var Nt = class extends A {
2881
2881
  set(e, t, n) {
2882
2882
  return [h(e, n * 1e3), { timestampIsSet: !0 }];
2883
2883
  }
2884
- }, qt = class extends A {
2884
+ }, Jt = class extends A {
2885
2885
  constructor(...e) {
2886
2886
  super(...e), k(this, "priority", 20), k(this, "incompatibleTokens", "*");
2887
2887
  }
@@ -2891,57 +2891,57 @@ var Nt = class extends A {
2891
2891
  set(e, t, n) {
2892
2892
  return [h(e, n), { timestampIsSet: !0 }];
2893
2893
  }
2894
- }, Jt = {
2894
+ }, Yt = {
2895
2895
  G: new ot(),
2896
- y: new dt(),
2897
- Y: new ft(),
2898
- R: new pt(),
2899
- u: new mt(),
2900
- Q: new ht(),
2901
- q: new gt(),
2902
- M: new _t(),
2903
- L: new vt(),
2904
- w: new bt(),
2905
- I: new St(),
2906
- d: new Tt(),
2907
- D: new Et(),
2908
- E: new Ot(),
2909
- e: new kt(),
2910
- c: new At(),
2911
- i: new Nt(),
2912
- a: new Pt(),
2913
- b: new Ft(),
2914
- B: new It(),
2915
- h: new Lt(),
2916
- H: new Rt(),
2917
- K: new zt(),
2918
- k: new Bt(),
2919
- m: new Vt(),
2920
- s: new Ht(),
2921
- S: new Ut(),
2922
- X: new Wt(),
2923
- x: new Gt(),
2924
- t: new Kt(),
2925
- T: new qt()
2926
- }, Yt = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Xt = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Zt = /^'([^]*?)'?$/, Qt = /''/g, $t = /\S/, en = /[a-zA-Z]/;
2927
- function tn(e, t, n, r) {
2896
+ y: new ft(),
2897
+ Y: new pt(),
2898
+ R: new mt(),
2899
+ u: new ht(),
2900
+ Q: new gt(),
2901
+ q: new _t(),
2902
+ M: new vt(),
2903
+ L: new yt(),
2904
+ w: new xt(),
2905
+ I: new Ct(),
2906
+ d: new Et(),
2907
+ D: new Dt(),
2908
+ E: new kt(),
2909
+ e: new At(),
2910
+ c: new jt(),
2911
+ i: new Pt(),
2912
+ a: new Ft(),
2913
+ b: new It(),
2914
+ B: new Lt(),
2915
+ h: new Rt(),
2916
+ H: new zt(),
2917
+ K: new Bt(),
2918
+ k: new Vt(),
2919
+ m: new Ht(),
2920
+ s: new Ut(),
2921
+ S: new Wt(),
2922
+ X: new Gt(),
2923
+ x: new Kt(),
2924
+ t: new qt(),
2925
+ T: new Jt()
2926
+ }, Xt = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Zt = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Qt = /^'([^]*?)'?$/, $t = /''/g, en = /\S/, tn = /[a-zA-Z]/;
2927
+ function nn(e, t, n, r) {
2928
2928
  let i = () => h(r?.in || n, NaN), a = Ze(), o = r?.locale ?? a.locale ?? te, s = r?.firstWeekContainsDate ?? r?.locale?.options?.firstWeekContainsDate ?? a.firstWeekContainsDate ?? a.locale?.options?.firstWeekContainsDate ?? 1, c = r?.weekStartsOn ?? r?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0;
2929
2929
  if (!t) return e ? i() : g(n, r?.in);
2930
2930
  let l = {
2931
2931
  firstWeekContainsDate: s,
2932
2932
  weekStartsOn: c,
2933
2933
  locale: o
2934
- }, u = [new at(r?.in, n)], ee = t.match(Xt).map((e) => {
2934
+ }, u = [new at(r?.in, n)], ee = t.match(Zt).map((e) => {
2935
2935
  let t = e[0];
2936
2936
  if (t in w) {
2937
2937
  let n = w[t];
2938
2938
  return n(e, o.formatLong);
2939
2939
  }
2940
2940
  return e;
2941
- }).join("").match(Yt), d = [];
2941
+ }).join("").match(Xt), d = [];
2942
2942
  for (let n of ee) {
2943
2943
  !r?.useAdditionalWeekYearTokens && ke(n) && T(n, t, e), !r?.useAdditionalDayOfYearTokens && Oe(n) && T(n, t, e);
2944
- let a = n[0], s = Jt[a];
2944
+ let a = n[0], s = Yt[a];
2945
2945
  if (s) {
2946
2946
  let { incompatibleTokens: t } = s;
2947
2947
  if (Array.isArray(t)) {
@@ -2956,12 +2956,12 @@ function tn(e, t, n, r) {
2956
2956
  if (!r) return i();
2957
2957
  u.push(r.setter), e = r.rest;
2958
2958
  } else {
2959
- if (a.match(en)) throw RangeError("Format string contains an unescaped latin alphabet character `" + a + "`");
2960
- if (n === "''" ? n = "'" : a === "'" && (n = nn(n)), e.indexOf(n) === 0) e = e.slice(n.length);
2959
+ if (a.match(tn)) throw RangeError("Format string contains an unescaped latin alphabet character `" + a + "`");
2960
+ if (n === "''" ? n = "'" : a === "'" && (n = rn(n)), e.indexOf(n) === 0) e = e.slice(n.length);
2961
2961
  else return i();
2962
2962
  }
2963
2963
  }
2964
- if (e.length > 0 && $t.test(e)) return i();
2964
+ if (e.length > 0 && en.test(e)) return i();
2965
2965
  let ne = u.map((e) => e.priority).sort((e, t) => t - e).filter((e, t, n) => n.indexOf(e) === t).map((e) => u.filter((t) => t.priority === e).sort((e, t) => t.subPriority - e.subPriority)).map((e) => e[0]), f = g(n, r?.in);
2966
2966
  if (isNaN(+f)) return i();
2967
2967
  let re = {};
@@ -2972,43 +2972,43 @@ function tn(e, t, n, r) {
2972
2972
  }
2973
2973
  return f;
2974
2974
  }
2975
- function nn(e) {
2976
- return e.match(Zt)[1].replace(Qt, "'");
2975
+ function rn(e) {
2976
+ return e.match(Qt)[1].replace($t, "'");
2977
2977
  }
2978
2978
  //#endregion
2979
2979
  //#region node_modules/date-fns/parseISO.js
2980
- function z(e, t) {
2981
- let n = () => h(t?.in, NaN), r = t?.additionalDigits ?? 2, i = sn(e), a;
2980
+ function R(e, t) {
2981
+ let n = () => h(t?.in, NaN), r = t?.additionalDigits ?? 2, i = cn(e), a;
2982
2982
  if (i.date) {
2983
- let e = cn(i.date, r);
2984
- a = ln(e.restDateString, e.year);
2983
+ let e = ln(i.date, r);
2984
+ a = un(e.restDateString, e.year);
2985
2985
  }
2986
2986
  if (!a || isNaN(+a)) return n();
2987
2987
  let o = +a, s = 0, c;
2988
- if (i.time && (s = un(i.time), isNaN(s))) return n();
2988
+ if (i.time && (s = dn(i.time), isNaN(s))) return n();
2989
2989
  if (i.timezone) {
2990
- if (c = dn(i.timezone), isNaN(c)) return n();
2990
+ if (c = fn(i.timezone), isNaN(c)) return n();
2991
2991
  } else {
2992
2992
  let e = new Date(o + s), n = g(0, t?.in);
2993
2993
  return n.setFullYear(e.getUTCFullYear(), e.getUTCMonth(), e.getUTCDate()), n.setHours(e.getUTCHours(), e.getUTCMinutes(), e.getUTCSeconds(), e.getUTCMilliseconds()), n;
2994
2994
  }
2995
2995
  return g(o + s + c, t?.in);
2996
2996
  }
2997
- var B = {
2997
+ var z = {
2998
2998
  dateTimeDelimiter: /[T ]/,
2999
2999
  timeZoneDelimiter: /[Z ]/i,
3000
3000
  timezone: /([Z+-].*)$/
3001
- }, rn = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, an = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, on = /^([+-])(\d{2})(?::?(\d{2}))?$/;
3002
- function sn(e) {
3003
- let t = {}, n = e.split(B.dateTimeDelimiter), r;
3001
+ }, an = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, on = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, sn = /^([+-])(\d{2})(?::?(\d{2}))?$/;
3002
+ function cn(e) {
3003
+ let t = {}, n = e.split(z.dateTimeDelimiter), r;
3004
3004
  if (n.length > 2) return t;
3005
- if (/:/.test(n[0]) ? r = n[0] : (t.date = n[0], r = n[1], B.timeZoneDelimiter.test(t.date) && (t.date = e.split(B.timeZoneDelimiter)[0], r = e.substr(t.date.length, e.length))), r) {
3006
- let e = B.timezone.exec(r);
3005
+ if (/:/.test(n[0]) ? r = n[0] : (t.date = n[0], r = n[1], z.timeZoneDelimiter.test(t.date) && (t.date = e.split(z.timeZoneDelimiter)[0], r = e.substr(t.date.length, e.length))), r) {
3006
+ let e = z.timezone.exec(r);
3007
3007
  e ? (t.time = r.replace(e[1], ""), t.timezone = e[1]) : t.time = r;
3008
3008
  }
3009
3009
  return t;
3010
3010
  }
3011
- function cn(e, t) {
3011
+ function ln(e, t) {
3012
3012
  let n = RegExp("^(?:(\\d{4}|[+-]\\d{" + (4 + t) + "})|(\\d{2}|[+-]\\d{" + (2 + t) + "})$)"), r = e.match(n);
3013
3013
  if (!r) return {
3014
3014
  year: NaN,
@@ -3020,43 +3020,43 @@ function cn(e, t) {
3020
3020
  restDateString: e.slice((r[1] || r[2]).length)
3021
3021
  };
3022
3022
  }
3023
- function ln(e, t) {
3023
+ function un(e, t) {
3024
3024
  if (t === null) return /* @__PURE__ */ new Date(NaN);
3025
- let n = e.match(rn);
3025
+ let n = e.match(an);
3026
3026
  if (!n) return /* @__PURE__ */ new Date(NaN);
3027
- let r = !!n[4], i = V(n[1]), a = V(n[2]) - 1, o = V(n[3]), s = V(n[4]), c = V(n[5]) - 1;
3028
- if (r) return _n(t, s, c) ? fn(t, s, c) : /* @__PURE__ */ new Date(NaN);
3027
+ let r = !!n[4], i = B(n[1]), a = B(n[2]) - 1, o = B(n[3]), s = B(n[4]), c = B(n[5]) - 1;
3028
+ if (r) return vn(t, s, c) ? pn(t, s, c) : /* @__PURE__ */ new Date(NaN);
3029
3029
  {
3030
3030
  let e = /* @__PURE__ */ new Date(0);
3031
- return !hn(t, a, o) || !gn(t, i) ? /* @__PURE__ */ new Date(NaN) : (e.setUTCFullYear(t, a, Math.max(i, o)), e);
3031
+ return !gn(t, a, o) || !_n(t, i) ? /* @__PURE__ */ new Date(NaN) : (e.setUTCFullYear(t, a, Math.max(i, o)), e);
3032
3032
  }
3033
3033
  }
3034
- function V(e) {
3034
+ function B(e) {
3035
3035
  return e ? parseInt(e) : 1;
3036
3036
  }
3037
- function un(e) {
3038
- let t = e.match(an);
3037
+ function dn(e) {
3038
+ let t = e.match(on);
3039
3039
  if (!t) return NaN;
3040
- let n = H(t[1]), r = H(t[2]), i = H(t[3]);
3041
- return vn(n, r, i) ? n * m + r * p + i * 1e3 : NaN;
3040
+ let n = V(t[1]), r = V(t[2]), i = V(t[3]);
3041
+ return yn(n, r, i) ? n * m + r * p + i * 1e3 : NaN;
3042
3042
  }
3043
- function H(e) {
3043
+ function V(e) {
3044
3044
  return e && parseFloat(e.replace(",", ".")) || 0;
3045
3045
  }
3046
- function dn(e) {
3046
+ function fn(e) {
3047
3047
  if (e === "Z") return 0;
3048
- let t = e.match(on);
3048
+ let t = e.match(sn);
3049
3049
  if (!t) return 0;
3050
3050
  let n = t[1] === "+" ? -1 : 1, r = parseInt(t[2]), i = t[3] && parseInt(t[3]) || 0;
3051
- return yn(r, i) ? n * (r * m + i * p) : NaN;
3051
+ return bn(r, i) ? n * (r * m + i * p) : NaN;
3052
3052
  }
3053
- function fn(e, t, n) {
3053
+ function pn(e, t, n) {
3054
3054
  let r = /* @__PURE__ */ new Date(0);
3055
3055
  r.setUTCFullYear(e, 0, 4);
3056
3056
  let i = r.getUTCDay() || 7, a = (t - 1) * 7 + n + 1 - i;
3057
3057
  return r.setUTCDate(r.getUTCDate() + a), r;
3058
3058
  }
3059
- var pn = [
3059
+ var mn = [
3060
3060
  31,
3061
3061
  null,
3062
3062
  31,
@@ -3070,27 +3070,27 @@ var pn = [
3070
3070
  30,
3071
3071
  31
3072
3072
  ];
3073
- function mn(e) {
3073
+ function hn(e) {
3074
3074
  return e % 400 == 0 || e % 4 == 0 && e % 100 != 0;
3075
3075
  }
3076
- function hn(e, t, n) {
3077
- return t >= 0 && t <= 11 && n >= 1 && n <= (pn[t] || (mn(e) ? 29 : 28));
3076
+ function gn(e, t, n) {
3077
+ return t >= 0 && t <= 11 && n >= 1 && n <= (mn[t] || (hn(e) ? 29 : 28));
3078
3078
  }
3079
- function gn(e, t) {
3080
- return t >= 1 && t <= (mn(e) ? 366 : 365);
3079
+ function _n(e, t) {
3080
+ return t >= 1 && t <= (hn(e) ? 366 : 365);
3081
3081
  }
3082
- function _n(e, t, n) {
3082
+ function vn(e, t, n) {
3083
3083
  return t >= 1 && t <= 53 && n >= 0 && n <= 6;
3084
3084
  }
3085
- function vn(e, t, n) {
3085
+ function yn(e, t, n) {
3086
3086
  return e === 24 ? t === 0 && n === 0 : n >= 0 && n < 60 && t >= 0 && t < 60 && e >= 0 && e < 25;
3087
3087
  }
3088
- function yn(e, t) {
3088
+ function bn(e, t) {
3089
3089
  return t >= 0 && t <= 59;
3090
3090
  }
3091
3091
  //#endregion
3092
3092
  //#region src/dates.ts
3093
- var bn = Date.prototype.toJSON, xn = function() {
3093
+ var xn = Date.prototype.toJSON, Sn = function() {
3094
3094
  try {
3095
3095
  let e = this.getHours(), t = this.getMinutes(), n = this.getSeconds(), r = this.getMilliseconds(), i = -(this.getTimezoneOffset() / 60);
3096
3096
  if (i === .15 && e === 0 && t === 9 && n === 21 || e - i === 0 && t === 0 && n === 0 && r === 0) return this.toISOString().split("T")[0];
@@ -3099,89 +3099,122 @@ var bn = Date.prototype.toJSON, xn = function() {
3099
3099
  let o = a.toISOString().replace(/(\.0+)?Z$/, ""), s = i >= 0 ? "+" : "-", c = Math.abs(i) < 10 ? "0" : "";
3100
3100
  return o + s + c + Math.abs(i).toString().split(".")[0] + ":00";
3101
3101
  } catch {
3102
- Date.prototype.toJSON = bn;
3102
+ Date.prototype.toJSON = xn;
3103
3103
  let e = this.toJSON();
3104
- return Date.prototype.toJSON = xn, e;
3104
+ return Date.prototype.toJSON = Sn, e;
3105
3105
  }
3106
- }, Sn = new Intl.DateTimeFormat("fr-FR", {
3106
+ }, Cn = new Intl.DateTimeFormat("fr-FR", {
3107
3107
  day: "numeric",
3108
3108
  month: "long",
3109
3109
  weekday: "long",
3110
3110
  year: "numeric"
3111
- }), Cn = new Intl.DateTimeFormat("fr-FR", {
3111
+ }), wn = new Intl.DateTimeFormat("fr-FR", {
3112
3112
  day: "numeric",
3113
3113
  month: "short"
3114
- }), wn = new Intl.DateTimeFormat("fr-FR", {
3114
+ }), Tn = new Intl.DateTimeFormat("fr-FR", {
3115
3115
  hour: "numeric",
3116
3116
  minute: "2-digit"
3117
3117
  });
3118
- function Tn(e, t) {
3119
- return e instanceof Date ? e : typeof e == "string" ? z(e) : t;
3120
- }
3121
- function En(e) {
3122
- return tn(e, "yyyy-MM-ddXXX", /* @__PURE__ */ new Date());
3118
+ function En(e, t) {
3119
+ return e instanceof Date ? e : typeof e == "string" ? R(e) : t;
3123
3120
  }
3124
3121
  function Dn(e) {
3125
- return e = E(z(e), "EEEE d LLLL yyyy H'h'mm", { locale: D }), e.endsWith(" 0h00") && (e = e.substring(0, e.length - 5)), e;
3122
+ return nn(e, "yyyy-MM-ddXXX", /* @__PURE__ */ new Date());
3126
3123
  }
3127
- function On(e, t) {
3128
- return e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate() ? wn.format(e) : Cn.format(e);
3124
+ function On(e) {
3125
+ return e = E(R(e), "EEEE d LLLL yyyy H'h'mm", { locale: D }), e.endsWith(" 0h00") && (e = e.substring(0, e.length - 5)), e;
3129
3126
  }
3130
- function kn(e) {
3131
- let t = E(e instanceof Date ? e : z(e), "d LLLL yyyy H'h'mm", { locale: D });
3132
- return t.endsWith(" 0h00") && (t = t.substring(0, t.length - 5)), t;
3127
+ function kn(e, t) {
3128
+ return e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate() ? Tn.format(e) : wn.format(e);
3133
3129
  }
3134
3130
  function An(e) {
3135
- return E(e instanceof Date ? e : z(e), "H'h'mm", { locale: D });
3131
+ let t = E(e instanceof Date ? e : R(e), "d LLLL yyyy H'h'mm", { locale: D });
3132
+ return t.endsWith(" 0h00") && (t = t.substring(0, t.length - 5)), t;
3136
3133
  }
3137
3134
  function jn(e) {
3135
+ return E(e instanceof Date ? e : R(e), "H'h'mm", { locale: D });
3136
+ }
3137
+ function Mn(e) {
3138
3138
  return (/* @__PURE__ */ new Date(e.getTime() - e.getTimezoneOffset() * 6e4)).toISOString().split("T")[0];
3139
3139
  }
3140
3140
  //#endregion
3141
+ //#region src/schemas/zod_errors.ts
3142
+ var H = 160;
3143
+ function Nn(e) {
3144
+ if (typeof e == "string") {
3145
+ let t = e.length > H ? `${e.slice(0, H - 3)}...` : e;
3146
+ return JSON.stringify(t);
3147
+ }
3148
+ if (typeof e == "bigint") return `${e}n`;
3149
+ if (typeof e == "symbol") return String(e);
3150
+ if (typeof e == "function") return `[Function ${e.name || "anonymous"}]`;
3151
+ try {
3152
+ let t = JSON.stringify(e);
3153
+ return t === void 0 ? String(e) : t.length > H ? `${t.slice(0, H - 3)}...` : t;
3154
+ } catch {
3155
+ return String(e);
3156
+ }
3157
+ }
3158
+ function Pn(e, t) {
3159
+ let n = e;
3160
+ for (let e of t) {
3161
+ if (n === null || typeof n != "object" && !Array.isArray(n)) return;
3162
+ n = n[e];
3163
+ }
3164
+ return n;
3165
+ }
3166
+ function Fn(e, t) {
3167
+ let n = e.path.length > 0 ? e.path.join(".") : "(root)", r = "input" in e && e.input !== void 0 ? e.input : t === void 0 ? void 0 : Pn(t, e.path), i = r === void 0 ? "" : ` (received: ${Nn(r)})`;
3168
+ return ` - ${n}: ${e.message}${i}`;
3169
+ }
3170
+ function In(e, t, n) {
3171
+ return `Invalid ${e}:\n${t.issues.map((e) => Fn(e, n)).join("\n")}`;
3172
+ }
3173
+ //#endregion
3141
3174
  //#region src/registries.ts
3142
- var Mn = e.registry(), Nn = e.registry(), Pn = e.registry();
3175
+ var Ln = e.registry(), Rn = e.registry(), zn = e.registry();
3143
3176
  e.registry(), e.registry();
3144
3177
  function U() {
3145
3178
  let t = e.string().trim().min(1, "UID cannot be empty");
3146
- return Mn.add(t, { targetType: "auto" }), t;
3179
+ return Ln.add(t, { targetType: "auto" }), t;
3147
3180
  }
3148
3181
  function W() {
3149
3182
  let t = e.string().trim().min(1);
3150
- return Nn.add(t, { refType: "acteur" }), t;
3183
+ return Rn.add(t, { refType: "acteur" }), t;
3151
3184
  }
3152
3185
  function G() {
3153
3186
  let t = e.string().trim().min(1);
3154
- return Pn.add(t, { refType: "organe" }), t;
3187
+ return zn.add(t, { refType: "organe" }), t;
3155
3188
  }
3156
- var Fn = e.preprocess((e) => {
3189
+ var Bn = e.preprocess((e) => {
3157
3190
  if (typeof e == "object" && e && e["@xsi:nil"] === "true" || typeof e != "string") return;
3158
3191
  let t = e.trim();
3159
3192
  if (t !== "") {
3160
3193
  if (t.includes("T")) try {
3161
- return z(t);
3194
+ return R(t);
3162
3195
  } catch {
3163
3196
  return e;
3164
3197
  }
3165
3198
  if (t.includes("+") || /\d{4}-\d{2}-\d{2}-\d{2}:\d{2}/.test(t)) try {
3166
- return En(t);
3199
+ return Dn(t);
3167
3200
  } catch {
3168
3201
  return e;
3169
3202
  }
3170
3203
  try {
3171
- return z(t);
3204
+ return R(t);
3172
3205
  } catch {
3173
3206
  return e;
3174
3207
  }
3175
3208
  }
3176
- }, e.date().optional()), K = () => Fn, q = () => Fn.refine((e) => e !== void 0, { message: "Required" }).transform((e) => e), In = e.preprocess((e) => {
3209
+ }, e.date().optional()), K = () => Bn, q = () => Bn.refine((e) => e !== void 0, { message: "Required" }).transform((e) => e), Vn = e.preprocess((e) => {
3177
3210
  if (typeof e != "string") return e;
3178
3211
  let t = e.trim();
3179
3212
  return t === "" ? void 0 : t;
3180
- }, e.string().optional()), Ln = (e) => {
3181
- let t = In;
3213
+ }, e.string().optional()), Hn = (e) => {
3214
+ let t = Vn;
3182
3215
  return e ? t.describe(e) : t;
3183
- }, Rn = (e) => {
3184
- let t = In.refine((e) => e !== void 0, { message: "Required" }).transform((e) => e);
3216
+ }, Un = (e) => {
3217
+ let t = Vn.refine((e) => e !== void 0, { message: "Required" }).transform((e) => e);
3185
3218
  return e ? t.describe(e) : t;
3186
3219
  };
3187
3220
  function J(t) {
@@ -3189,28 +3222,28 @@ function J(t) {
3189
3222
  }
3190
3223
  //#endregion
3191
3224
  //#region src/schemas/raw/amendements.ts
3192
- var zn = ["Accord", "Sans objet"], Y = e.enum(zn), Bn = [
3225
+ var Wn = ["Accord", "Sans objet"], Y = e.enum(Wn), Gn = [
3193
3226
  "création",
3194
3227
  "modification",
3195
3228
  "suppression"
3196
- ], X = e.enum(Bn), Vn = [
3229
+ ], X = e.enum(Gn), Kn = [
3197
3230
  "B",
3198
3231
  "C",
3199
3232
  "D"
3200
- ], Z = e.enum(Vn), Hn = [
3233
+ ], Z = e.enum(Kn), qn = [
3201
3234
  "ANNEXE",
3202
3235
  "ARTICLE",
3203
3236
  "CHAPITRE",
3204
3237
  "TITRE"
3205
- ], Q = e.enum(Hn), Un = [
3238
+ ], Jn = e.enum(qn), Yn = [
3206
3239
  "Député",
3207
3240
  "Gouvernement",
3208
3241
  "Rapporteur"
3209
- ], Wn = e.enum(Un), Gn = [
3242
+ ], Xn = e.enum(Yn), Zn = [
3210
3243
  "Dernier",
3211
3244
  "Milieu",
3212
3245
  "Premier"
3213
- ], Kn = e.enum(Gn), qn = e.enum([
3246
+ ], Qn = e.enum(Zn), $n = e.enum([
3214
3247
  "AC",
3215
3248
  "AT",
3216
3249
  "DI",
@@ -3236,7 +3269,7 @@ var zn = ["Accord", "Sans objet"], Y = e.enum(zn), Bn = [
3236
3269
  "R",
3237
3270
  "RT",
3238
3271
  "T"
3239
- ]), Jn = e.enum([
3272
+ ]), er = e.enum([
3240
3273
  "A discuter",
3241
3274
  "A déposer",
3242
3275
  "Discuté",
@@ -3246,38 +3279,38 @@ var zn = ["Accord", "Sans objet"], Y = e.enum(zn), Bn = [
3246
3279
  "Irrecevable",
3247
3280
  "Irrecevable 40",
3248
3281
  "Retiré"
3249
- ]), Yn = /* @__PURE__ */ "Adopté.Autre irrecevabilité.Autre irrecevabilité 40.Autres irr LOLF.Autres irr LOLFSS.Cavalier (45).Cavalier budgétaire.Cavalier social.Champ de l'habilitation (38).Charge.CMP (45).Crédits.Disposition réglementaire (37).Domaine de la loi (41).Domaine loi organique (127).Doublon.Entonnoir (45).Gage.Hors champ.Hors-délais.Injonction (20).Irr en première partie.Irr en seconde partie.LOLF.LOLFSS.Non soutenu.Ordre du jour (48).R.Ratification traité (53).Rejeté.Retiré.Retiré après publication.Retiré avant publication.Satisfait ou inopérant (42).Sous-amendement (98).Tombé".split("."), Xn = e.enum(Yn), Zn = e.enum([
3282
+ ]), tr = /* @__PURE__ */ "Adopté.Autre irrecevabilité.Autre irrecevabilité 40.Autres irr LOLF.Autres irr LOLFSS.Cavalier (45).Cavalier budgétaire.Cavalier social.Champ de l'habilitation (38).Charge.CMP (45).Crédits.Disposition réglementaire (37).Domaine de la loi (41).Domaine loi organique (127).Doublon.Entonnoir (45).Gage.Hors champ.Hors-délais.Injonction (20).Irr en première partie.Irr en seconde partie.LOLF.LOLFSS.Non soutenu.Ordre du jour (48).R.Ratification traité (53).Rejeté.Retiré.Retiré après publication.Retiré avant publication.Satisfait ou inopérant (42).Sous-amendement (98).Tombé".split("."), nr = e.enum(tr), rr = e.enum([
3250
3283
  "A",
3251
3284
  "Après",
3252
3285
  "Avant"
3253
- ]), Qn = e.enum(["PDF"]), $n = e.enum(["application"]), $ = e.object({
3286
+ ]), ir = e.enum(["PDF"]), ar = e.enum(["application"]), Q = e.object({
3254
3287
  "@xmlns:xsi": e.string(),
3255
3288
  "@xsi:nil": e.string()
3256
- }), er = e.object({
3289
+ }), or = e.object({
3257
3290
  id: e.string(),
3258
3291
  libelle: e.string(),
3259
3292
  autorisationEngagement: e.string(),
3260
3293
  creditPaiement: e.string(),
3261
3294
  action: X
3262
- }), tr = e.object({
3295
+ }), sr = e.object({
3263
3296
  "@xmlns:xsi": e.string().optional(),
3264
3297
  "@xsi:nil": e.string().optional(),
3265
- ligneCredit: e.union([J(er), er]).optional().transform((e) => {
3298
+ ligneCredit: e.union([J(or), or]).optional().transform((e) => {
3266
3299
  if (e !== void 0) return Array.isArray(e) ? e : [e];
3267
3300
  })
3268
- }), nr = e.object({
3301
+ }), cr = e.object({
3269
3302
  libelle: e.string(),
3270
3303
  programmeRef: e.string(),
3271
3304
  autorisationEngagement: e.string(),
3272
3305
  creditPaiement: e.string(),
3273
3306
  action: X,
3274
- lignesCredits: tr
3275
- }), rr = e.object({ programme: J(nr) }), ir = e.object({
3276
- listeProgrammes: rr.optional(),
3307
+ lignesCredits: sr
3308
+ }), lr = e.object({ programme: J(cr) }), ur = e.object({
3309
+ listeProgrammes: lr.optional(),
3277
3310
  soldeAE: e.string().optional(),
3278
3311
  soldeCP: e.string().optional(),
3279
3312
  cpEgalAe: e.string()
3280
- }), ar = e.lazy(() => e.object({
3313
+ }), dr = e.lazy(() => e.object({
3281
3314
  libelle: e.string(),
3282
3315
  programmeRef: e.string().optional(),
3283
3316
  autorisationEngagementSupplementaire: e.string(),
@@ -3285,207 +3318,207 @@ var zn = ["Accord", "Sans objet"], Y = e.enum(zn), Bn = [
3285
3318
  autorisationEngagementAnnule: e.string(),
3286
3319
  creditPaiementAnnule: e.string(),
3287
3320
  action: X,
3288
- lignesCredits: or.optional(),
3321
+ lignesCredits: fr.optional(),
3289
3322
  id: e.string().optional()
3290
- })), or = e.object({
3323
+ })), fr = e.object({
3291
3324
  "@xmlns:xsi": e.string().optional(),
3292
3325
  "@xsi:nil": e.string().optional(),
3293
- ligneCredit: e.union([J(ar), ar]).optional().transform((e) => {
3326
+ ligneCredit: e.union([J(dr), dr]).optional().transform((e) => {
3294
3327
  if (e !== void 0) return Array.isArray(e) ? e : [e];
3295
3328
  })
3296
- }), sr = e.object({
3329
+ }), pr = e.object({
3297
3330
  supplementaire: e.string(),
3298
3331
  annule: e.string(),
3299
3332
  solde: e.string()
3300
- }), cr = e.object({ programme: J(ar) }), lr = e.object({
3301
- listeProgrammes: cr.optional(),
3302
- totalAE: sr.optional(),
3303
- totalCP: sr.optional(),
3333
+ }), mr = e.object({ programme: J(dr) }), hr = e.object({
3334
+ listeProgrammes: mr.optional(),
3335
+ totalAE: pr.optional(),
3336
+ totalCP: pr.optional(),
3304
3337
  cpEgalAe: e.string()
3305
- }), ur = e.object({
3338
+ }), gr = e.object({
3306
3339
  "@xmlns:xsi": e.string().optional(),
3307
3340
  "@xsi:nil": e.string().optional(),
3308
3341
  dispositif: e.string().optional(),
3309
- dispositifAmdtCreditPLF: ir.optional(),
3310
- dispositifAmdtCreditPLFR: lr.optional()
3311
- }), dr = e.object({
3342
+ dispositifAmdtCreditPLF: ur.optional(),
3343
+ dispositifAmdtCreditPLFR: hr.optional()
3344
+ }), _r = e.object({
3312
3345
  dispositif: e.string().optional(),
3313
- avantAppel: ur.optional(),
3346
+ avantAppel: gr.optional(),
3314
3347
  exposeSommaire: e.string().optional(),
3315
- annexeExposeSommaire: $.optional(),
3348
+ annexeExposeSommaire: Q.optional(),
3316
3349
  "@xmlns:xsi": e.string().optional(),
3317
3350
  "@xsi:nil": e.string().optional(),
3318
- dispositifAmdtCreditPLF: ir.optional(),
3319
- dispositifAmdtCreditPLFR: lr.optional()
3320
- }), fr = e.object({
3321
- cartoucheInformatif: e.union([$, e.string()]).optional(),
3322
- contenuAuteur: dr.optional(),
3351
+ dispositifAmdtCreditPLF: ur.optional(),
3352
+ dispositifAmdtCreditPLFR: hr.optional()
3353
+ }), vr = e.object({
3354
+ cartoucheInformatif: e.union([Q, e.string()]).optional(),
3355
+ contenuAuteur: _r.optional(),
3323
3356
  "@xmlns:xsi": e.string().optional(),
3324
3357
  "@xsi:nil": e.string().optional()
3325
- }), pr = e.object({
3326
- code: qn,
3327
- libelle: Jn
3328
- }), mr = e.object({
3329
- code: qn.optional(),
3330
- libelle: Xn.optional(),
3358
+ }), yr = e.object({
3359
+ code: $n,
3360
+ libelle: er
3361
+ }), br = e.object({
3362
+ code: $n.optional(),
3363
+ libelle: nr.optional(),
3331
3364
  "@xmlns:xsi": e.string().optional(),
3332
3365
  "@xsi:nil": e.string().optional()
3333
- }), hr = e.object({
3334
- etat: pr,
3335
- sousEtat: mr
3336
- }), gr = e.object({
3337
- dateDepot: e.union([$, q()]).optional().transform((e) => {
3366
+ }), xr = e.object({
3367
+ etat: yr,
3368
+ sousEtat: br
3369
+ }), Sr = e.object({
3370
+ dateDepot: e.union([Q, q()]).optional().transform((e) => {
3338
3371
  if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
3339
3372
  }),
3340
- datePublication: e.union([$, q()]).optional().transform((e) => {
3373
+ datePublication: e.union([Q, q()]).optional().transform((e) => {
3341
3374
  if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
3342
3375
  }),
3343
3376
  soumisArticle40: e.string(),
3344
- etatDesTraitements: hr,
3345
- dateSort: e.union([$, q()]).optional().transform((e) => {
3377
+ etatDesTraitements: xr,
3378
+ dateSort: e.union([Q, q()]).optional().transform((e) => {
3346
3379
  if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
3347
3380
  }),
3348
- sort: e.union([$, Xn]).optional().transform((e) => {
3381
+ sort: e.union([Q, nr]).optional().transform((e) => {
3349
3382
  if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
3350
3383
  })
3351
- }), _r = e.object({
3384
+ }), Cr = e.object({
3352
3385
  "@xmlns:xsi": e.string().optional(),
3353
3386
  "@xsi:nil": e.string().optional(),
3354
3387
  idDiscussion: e.string().optional(),
3355
- typePosition: Kn.optional()
3356
- }), vr = e.object({
3388
+ typePosition: Qn.optional()
3389
+ }), wr = e.object({
3357
3390
  numeroLong: e.string(),
3358
3391
  numeroOrdreDepot: e.string(),
3359
3392
  prefixeOrganeExamen: e.string(),
3360
3393
  numeroRect: e.string()
3361
- }), yr = e.object({
3394
+ }), Tr = e.object({
3362
3395
  "@xmlns:xsi": e.string().optional(),
3363
3396
  "@xsi:nil": e.string().optional(),
3364
3397
  codeLoi: e.union([
3365
- $,
3398
+ Q,
3366
3399
  e.null(),
3367
3400
  e.string()
3368
3401
  ]).optional(),
3369
3402
  divisionCodeLoi: e.union([
3370
- $,
3403
+ Q,
3371
3404
  e.null(),
3372
3405
  e.string()
3373
3406
  ]).optional()
3374
- }), br = e.object({
3407
+ }), Er = e.object({
3375
3408
  "@xmlns:xsi": e.string().optional(),
3376
3409
  "@xsi:nil": e.string().optional(),
3377
3410
  avant_A_Apres: e.union([
3378
- $,
3411
+ Q,
3379
3412
  e.null(),
3380
3413
  e.string()
3381
3414
  ]).optional(),
3382
- numero: e.union([$, e.string()]).optional(),
3415
+ numero: e.union([Q, e.string()]).optional(),
3383
3416
  alineaDesignation: e.string().optional()
3384
- }), xr = e.object({ alinea: br }), Sr = e.object({
3417
+ }), Dr = e.object({ alinea: Er }), Or = e.object({
3385
3418
  titre: e.string().nullable(),
3386
3419
  articleDesignationCourte: e.string().nullable(),
3387
3420
  articleDesignation: e.string().nullable(),
3388
- type: Q,
3389
- avant_A_Apres: Zn,
3390
- divisionRattachee: e.union([$, e.string()]),
3421
+ type: Jn,
3422
+ avant_A_Apres: rr,
3423
+ divisionRattachee: e.union([Q, e.string()]),
3391
3424
  articleAdditionnel: e.string(),
3392
3425
  chapitreAdditionnel: e.string(),
3393
- urlDivisionTexteVise: e.union([$, e.string()])
3394
- }), Cr = e.object({
3426
+ urlDivisionTexteVise: e.union([Q, e.string()])
3427
+ }), kr = e.object({
3395
3428
  codeEtat: Z,
3396
3429
  codeMissionMinefi: e.string(),
3397
3430
  libelleMission: e.string(),
3398
3431
  missionRef: e.string()
3399
- }), wr = e.object({
3400
- partieAmendableRef: $,
3401
- division: Sr.optional(),
3402
- amendementStandard: xr.optional(),
3403
- missionVisee: Cr.optional()
3404
- }), Tr = e.object({ documentURI: e.string() }), Er = e.object({
3432
+ }), Ar = e.object({
3433
+ partieAmendableRef: Q,
3434
+ division: Or.optional(),
3435
+ amendementStandard: Dr.optional(),
3436
+ missionVisee: kr.optional()
3437
+ }), jr = e.object({ documentURI: e.string() }), Mr = e.object({
3405
3438
  verbatim: e.string(),
3406
3439
  canonique: e.string(),
3407
3440
  officielle: e.string(),
3408
3441
  transcription: e.string(),
3409
3442
  enregistrement: e.string()
3410
- }), Dr = e.object({
3411
- type: $n,
3412
- subType: Qn
3413
- }), Or = e.object({
3414
- nom: Qn,
3415
- typeMime: Dr,
3416
- statutRepresentation: Er,
3417
- repSource: $,
3418
- offset: $,
3419
- contenu: Tr,
3420
- dateDispoRepresentation: $
3421
- }), kr = e.object({ representation: Or }), Ar = e.object({
3422
- typeAuteur: Wn,
3423
- gouvernementRef: e.union([$, e.string()]).optional().transform((e) => {
3443
+ }), Nr = e.object({
3444
+ type: ar,
3445
+ subType: ir
3446
+ }), Pr = e.object({
3447
+ nom: ir,
3448
+ typeMime: Nr,
3449
+ statutRepresentation: Mr,
3450
+ repSource: Q,
3451
+ offset: Q,
3452
+ contenu: jr,
3453
+ dateDispoRepresentation: Q
3454
+ }), Fr = e.object({ representation: Pr }), Ir = e.object({
3455
+ typeAuteur: Xn,
3456
+ gouvernementRef: e.union([Q, e.string()]).optional().transform((e) => {
3424
3457
  if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
3425
3458
  }),
3426
- acteurRef: e.union([$, W()]).optional().transform((e) => {
3459
+ acteurRef: e.union([Q, W()]).optional().transform((e) => {
3427
3460
  if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
3428
3461
  }),
3429
- groupePolitiqueRef: e.union([$, G()]).optional().transform((e) => {
3462
+ groupePolitiqueRef: e.union([Q, G()]).optional().transform((e) => {
3430
3463
  if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
3431
3464
  }),
3432
- auteurRapporteurOrganeRef: e.union([$, G()]).optional().transform((e) => {
3465
+ auteurRapporteurOrganeRef: e.union([Q, G()]).optional().transform((e) => {
3433
3466
  if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
3434
3467
  })
3435
- }), jr = e.object({
3468
+ }), Lr = e.object({
3436
3469
  "@xmlns:xsi": e.string().optional(),
3437
3470
  "@xsi:nil": e.string().optional(),
3438
3471
  acteurRef: e.union([J(W()), W()]).optional().transform((e) => {
3439
3472
  if (e !== void 0) return Array.isArray(e) ? e : [e];
3440
3473
  })
3441
- }), Mr = e.object({
3442
- auteur: Ar,
3443
- cosignataires: jr,
3444
- suffixe: e.union([$, e.string()]).optional().transform((e) => {
3474
+ }), Rr = e.object({
3475
+ auteur: Ir,
3476
+ cosignataires: Lr,
3477
+ suffixe: e.union([Q, e.string()]).optional().transform((e) => {
3445
3478
  if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
3446
3479
  }),
3447
3480
  libelle: e.string().nullable()
3448
- }), Nr = e.object({
3481
+ }), zr = e.object({
3449
3482
  "@xmlns": e.string(),
3450
3483
  uid: U(),
3451
3484
  chronotag: e.string(),
3452
3485
  legislature: e.string(),
3453
- identification: vr,
3486
+ identification: wr,
3454
3487
  examenRef: e.string(),
3455
3488
  texteLegislatifRef: e.string(),
3456
- triAmendement: e.union([$, e.string()]).optional().transform((e) => {
3489
+ triAmendement: e.union([Q, e.string()]).optional().transform((e) => {
3457
3490
  if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
3458
3491
  }),
3459
- cardinaliteAmdtMultiples: e.union([$, e.string()]).optional().transform((e) => {
3492
+ cardinaliteAmdtMultiples: e.union([Q, e.string()]).optional().transform((e) => {
3460
3493
  if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
3461
3494
  }),
3462
- amendementParentRef: e.union([$, e.string()]).optional().transform((e) => {
3495
+ amendementParentRef: e.union([Q, e.string()]).optional().transform((e) => {
3463
3496
  if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
3464
3497
  }),
3465
- signataires: Mr,
3466
- pointeurFragmentTexte: wr,
3467
- corps: fr,
3468
- cycleDeVie: gr,
3469
- representations: kr.nullable(),
3470
- seanceDiscussionRef: e.union([$, e.string()]).optional().transform((e) => {
3498
+ signataires: Rr,
3499
+ pointeurFragmentTexte: Ar,
3500
+ corps: vr,
3501
+ cycleDeVie: Sr,
3502
+ representations: Fr.nullable(),
3503
+ seanceDiscussionRef: e.union([Q, e.string()]).optional().transform((e) => {
3471
3504
  if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
3472
3505
  }),
3473
3506
  article99: e.string(),
3474
- loiReference: yr,
3475
- discussionCommune: _r,
3476
- discussionIdentique: _r,
3507
+ loiReference: Tr,
3508
+ discussionCommune: Cr,
3509
+ discussionIdentique: Cr,
3477
3510
  accordGouvernementDepotHorsDelai: Y
3478
3511
  });
3479
- e.object({ amendement: Nr });
3480
- var Pr = e.object({ amendement: J(Nr) }), Fr = e.object({
3512
+ e.object({ amendement: zr });
3513
+ var Br = e.object({ amendement: J(zr) }), Vr = e.object({
3481
3514
  "@xmlns:xsi": e.string(),
3482
3515
  refTexteLegislatif: e.string(),
3483
- amendements: Pr
3516
+ amendements: Br
3484
3517
  });
3485
- e.object({ textesLegislatifs: J(Fr) });
3518
+ e.object({ textesLegislatifs: J(Vr) });
3486
3519
  //#endregion
3487
3520
  //#region src/schemas/clean/amendements.ts
3488
- var Ir = [
3521
+ var Hr = [
3489
3522
  "AC",
3490
3523
  "AT",
3491
3524
  "DI",
@@ -3511,7 +3544,7 @@ var Ir = [
3511
3544
  "R",
3512
3545
  "RT",
3513
3546
  "T"
3514
- ], Lr = e.enum(Ir), Rr = [
3547
+ ], Ur = e.enum(Hr), Wr = [
3515
3548
  "A discuter",
3516
3549
  "A déposer",
3517
3550
  "Discuté",
@@ -3521,29 +3554,29 @@ var Ir = [
3521
3554
  "Irrecevable",
3522
3555
  "Irrecevable 40",
3523
3556
  "Retiré"
3524
- ], zr = e.enum(Rr), Br = /* @__PURE__ */ "Adopté.Autre irrecevabilité.Autre irrecevabilité 40.Autres irr LOLF.Autres irr LOLFSS.Cavalier (45).Cavalier budgétaire.Cavalier social.Champ de l'habilitation (38).Charge.CMP (45).Crédits.Disposition réglementaire (37).Domaine de la loi (41).Domaine loi organique (127).Doublon.Entonnoir (45).Gage.Hors champ.Hors-délais.Injonction (20).Irr en première partie.Irr en seconde partie.LOLF.LOLFSS.Non soutenu.Ordre du jour (48).R.Ratification traité (53).Rejeté.Retiré.Retiré après publication.Retiré avant publication.Satisfait ou inopérant (42).Sous-amendement (98).Tombé".split("."), Vr = e.enum(Br), Hr = [
3557
+ ], Gr = e.enum(Wr), Kr = /* @__PURE__ */ "Adopté.Autre irrecevabilité.Autre irrecevabilité 40.Autres irr LOLF.Autres irr LOLFSS.Cavalier (45).Cavalier budgétaire.Cavalier social.Champ de l'habilitation (38).Charge.CMP (45).Crédits.Disposition réglementaire (37).Domaine de la loi (41).Domaine loi organique (127).Doublon.Entonnoir (45).Gage.Hors champ.Hors-délais.Injonction (20).Irr en première partie.Irr en seconde partie.LOLF.LOLFSS.Non soutenu.Ordre du jour (48).R.Ratification traité (53).Rejeté.Retiré.Retiré après publication.Retiré avant publication.Satisfait ou inopérant (42).Sous-amendement (98).Tombé".split("."), qr = e.enum(Kr), Jr = [
3525
3558
  "A",
3526
3559
  "Apres",
3527
3560
  "Avant"
3528
- ], Ur = e.enum(Hr), Wr = ["PDF"], Gr = e.enum(Wr), Kr = ["application"], qr = e.enum(Kr), Jr = e.object({
3561
+ ], Yr = e.enum(Jr), Xr = ["PDF"], Zr = e.enum(Xr), Qr = ["application"], $r = e.enum(Qr), ei = e.object({
3529
3562
  id: e.string().meta({ description: "La signification de ce champ n'est pas définie." }),
3530
3563
  libelle: e.string().meta({ description: "Libellé de la ligne de crédit dont le montant doit être modifié." }),
3531
3564
  autorisationEngagement: e.string().meta({ description: "Modification de {@link https://fr.wikipedia.org/wiki/Autorisation_d%27engagement | l'autorisation d'engagement} de la ligne de crédit." }),
3532
3565
  creditPaiement: e.string().meta({ description: "Modification du {@link https://fr.wikipedia.org/wiki/Cr%C3%A9dit_de_paiement | crédit de paiement} de la ligne de crédit." }),
3533
3566
  action: X
3534
- }), Yr = e.object({
3567
+ }), ti = e.object({
3535
3568
  libelle: e.string().meta({ description: "Libellé du programme qui doit être modifié par l'**action**." }),
3536
3569
  programmeRef: e.string().meta({ description: "La signification de ce champ n'est pas définie." }),
3537
3570
  autorisationEngagement: e.string().meta({ description: "Modification de {@link https://fr.wikipedia.org/wiki/Autorisation_d%27engagement | l'autorisation d'engagement}." }),
3538
3571
  creditPaiement: e.string().meta({ description: "Modification du {@link https://fr.wikipedia.org/wiki/Cr%C3%A9dit_de_paiement | crédit de paiement}." }),
3539
3572
  action: X.meta({ description: "'creation' s'il s'agit d'un nouveau programme, 'suppression' si le programme doit être supprimé, 'modification' si les montants du programme doivent être modifiés." }),
3540
- lignesCredits: e.array(Jr).optional().meta({ description: "Liste des lignes de crédit appartenant au programme, le cas échéant." })
3541
- }), Xr = e.object({
3542
- listeProgrammes: e.array(Yr).optional().meta({ description: "Liste des programmes composant la mission et des modifications à y apporter. Tous les programmes de la mission sont inclus, même s'ils ne sont pas modifiés (auquel cas les montants des champs **AE** et **CP** sont zero)." }),
3573
+ lignesCredits: e.array(ei).optional().meta({ description: "Liste des lignes de crédit appartenant au programme, le cas échéant." })
3574
+ }), ni = e.object({
3575
+ listeProgrammes: e.array(ti).optional().meta({ description: "Liste des programmes composant la mission et des modifications à y apporter. Tous les programmes de la mission sont inclus, même s'ils ne sont pas modifiés (auquel cas les montants des champs **AE** et **CP** sont zero)." }),
3543
3576
  soldeAE: e.string().optional(),
3544
3577
  soldeCP: e.string().optional(),
3545
3578
  cpEgalAe: e.string()
3546
- }), Zr = e.lazy(() => e.object({
3579
+ }), ri = e.lazy(() => e.object({
3547
3580
  libelle: e.string(),
3548
3581
  programmeRef: e.string().optional(),
3549
3582
  autorisationEngagementSupplementaire: e.string(),
@@ -3551,165 +3584,165 @@ var Ir = [
3551
3584
  autorisationEngagementAnnule: e.string(),
3552
3585
  creditPaiementAnnule: e.string(),
3553
3586
  action: X,
3554
- lignesCredits: e.array(Zr).optional(),
3587
+ lignesCredits: e.array(ri).optional(),
3555
3588
  id: e.string().optional()
3556
- })), Qr = e.object({
3589
+ })), ii = e.object({
3557
3590
  supplementaire: e.string().meta({ description: "Montant à ajouter. Nombre positif." }),
3558
3591
  annule: e.string().meta({ description: "Montant à soustraire. Nombre positif." }),
3559
3592
  solde: e.string().meta({ description: "Résultat de la soustraction **montantPositif** - **montantNegatif**." })
3560
- }), $r = e.object({
3561
- listeProgrammes: e.array(Zr).optional(),
3562
- totalAE: Qr.optional(),
3563
- totalCP: Qr.optional(),
3593
+ }), ai = e.object({
3594
+ listeProgrammes: e.array(ri).optional(),
3595
+ totalAE: ii.optional(),
3596
+ totalCP: ii.optional(),
3564
3597
  cpEgalAe: e.string()
3565
- }), ei = e.object({
3598
+ }), oi = e.object({
3566
3599
  dispositif: e.string().optional().meta({ description: "Contenu originel du champ **dispositif** dans le cas ou un amendement est modifiée avant qu'il soit {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/les-fonctions-de-l-assemblee-nationale/les-fonctions-legislatives/l-exercice-du-droit-d-amendement-et-annexe#eztoc43696_0_0_2 | appelé}." }),
3567
- dispositifAmdtCreditPLF: Xr.optional(),
3568
- dispositifAmdtCreditPLFR: $r.optional()
3569
- }), ti = e.object({
3600
+ dispositifAmdtCreditPLF: ni.optional(),
3601
+ dispositifAmdtCreditPLFR: ai.optional()
3602
+ }), si = e.object({
3570
3603
  dispositif: e.string().optional().meta({ description: "Description exhaustive des modifications apportées au texte original, au format HTML." }),
3571
- avantAppel: ei.optional(),
3604
+ avantAppel: oi.optional(),
3572
3605
  exposeSommaire: e.string().optional().meta({ description: "Exposé sommaire des motifs justifiant l'amendement, au format HTML." }),
3573
- dispositifAmdtCreditPLF: Xr.optional(),
3574
- dispositifAmdtCreditPLFR: $r.optional()
3575
- }), ni = e.object({
3606
+ dispositifAmdtCreditPLF: ni.optional(),
3607
+ dispositifAmdtCreditPLFR: ai.optional()
3608
+ }), ci = e.object({
3576
3609
  cartoucheInformatif: e.string().optional().meta({ description: "La signification de ce champ est indéfinie." }),
3577
- contenuAuteur: ti.optional()
3578
- }), ri = e.object({
3579
- code: Lr,
3580
- libelle: zr.meta({ description: "Étape du {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/les-fonctions-de-l-assemblee-nationale/les-fonctions-legislatives/l-exercice-du-droit-d-amendement-et-annexe | cycle de vie de l'amendement}." })
3581
- }), ii = e.object({
3582
- code: Lr,
3583
- libelle: Vr
3584
- }), ai = e.object({
3585
- etat: ri,
3586
- sousEtat: ii.optional()
3587
- }), oi = e.object({
3610
+ contenuAuteur: si.optional()
3611
+ }), li = e.object({
3612
+ code: Ur,
3613
+ libelle: Gr.meta({ description: "Étape du {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/les-fonctions-de-l-assemblee-nationale/les-fonctions-legislatives/l-exercice-du-droit-d-amendement-et-annexe | cycle de vie de l'amendement}." })
3614
+ }), ui = e.object({
3615
+ code: Ur,
3616
+ libelle: qr
3617
+ }), di = e.object({
3618
+ etat: li,
3619
+ sousEtat: ui.optional()
3620
+ }), fi = e.object({
3588
3621
  dateDepot: K().meta({ description: "Date de dépôt" }),
3589
3622
  datePublication: K().meta({ description: "Date de publication" }),
3590
3623
  soumisArticle40: e.string(),
3591
- etatDesTraitements: ai.meta({ description: "Étape du {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/les-fonctions-de-l-assemblee-nationale/les-fonctions-legislatives/l-exercice-du-droit-d-amendement-et-annexe | cycle de vie de l'amendement}." }),
3624
+ etatDesTraitements: di.meta({ description: "Étape du {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/les-fonctions-de-l-assemblee-nationale/les-fonctions-legislatives/l-exercice-du-droit-d-amendement-et-annexe | cycle de vie de l'amendement}." }),
3592
3625
  dateSort: K().meta({ description: "Date du sort" }),
3593
- sort: Vr.optional().meta({ description: "'Adopté' si l'amendement est adopté, 'Non soutenu' si l'amendement n'a pas été soutenu par son auteur lorsqu'il a été appelé, 'Rejeté' si le vote a rejeté l'amendement, 'Retiré' si l'amendement a été retiré après avoir été déposé et avant d'avoir été appelé, 'Tombé' lorsque l'amendement est {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/les-fonctions-de-l-assemblee-nationale/les-fonctions-legislatives/l-exercice-du-droit-d-amendement-et-annexe | rendu sans objet} en raison du vote d'un amendement appelé avant lui." })
3594
- }), si = e.object({
3626
+ sort: qr.optional().meta({ description: "'Adopté' si l'amendement est adopté, 'Non soutenu' si l'amendement n'a pas été soutenu par son auteur lorsqu'il a été appelé, 'Rejeté' si le vote a rejeté l'amendement, 'Retiré' si l'amendement a été retiré après avoir été déposé et avant d'avoir été appelé, 'Tombé' lorsque l'amendement est {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/les-fonctions-de-l-assemblee-nationale/les-fonctions-legislatives/l-exercice-du-droit-d-amendement-et-annexe | rendu sans objet} en raison du vote d'un amendement appelé avant lui." })
3627
+ }), $ = e.object({
3595
3628
  idDiscussion: e.string().optional(),
3596
- typePosition: Kn.optional()
3597
- }), ci = e.object({
3629
+ typePosition: Qn.optional()
3630
+ }), pi = e.object({
3598
3631
  numeroLong: e.string().meta({ description: "Libelle désignant l'amendement et incluant son numéro (correspondant au champ **numero**), une indication du nombre de rectifications qui lui ont été apportés (correspondant au champ **identifiant.numRect** et {@link https://forum.en-root.org/t/signification-du-champ-numerolong-dans-un-amendement/163 | d'autres informations} dérivées du champ **identifiant**." }),
3599
3632
  numeroOrdreDepot: e.string().meta({ description: "Numéro de dépôt attribué selon l'ordre d'arrivée des amendements. Il est unique pour un texte donné et il ne change pas lorsque l'amendement est {@link http://www.senat.fr/fileadmin/Fichiers/Images/seance/Guide_amendements_MAJ_Mars__2016.pdf | rectifié}." }),
3600
3633
  prefixeOrganeExamen: e.string().meta({ description: "L'identifiant unique de {@link Organe | l'organe} auprès duquel l'amendement est déposé (i.e. l'assemblée ou une commission)." }),
3601
3634
  numeroRect: e.string().meta({ description: "Reflète le nombre de {@link http://www.senat.fr/fileadmin/Fichiers/Images/seance/Guide_amendements_MAJ_Mars__2016.pdf | rectifications} apportées à l'amendement. 0: aucune rectification, 1: une rectification, 50: deux rectifications, 51: trois rectifications, 52: quatre rectifications." })
3602
- }), li = e.object({
3635
+ }), mi = e.object({
3603
3636
  codeLoi: e.string().optional(),
3604
3637
  divisionCodeLoi: e.string().optional()
3605
- }), ui = e.object({
3606
- avantAApres: Ur.optional().meta({ description: "Avant: un ajout avant l'alinéa **numero**, Après: un ajout avant après l'alinéa **numero**, A: une modification ou suppression de l'alinéa **numero** et suivants le cas échéant" }),
3638
+ }), hi = e.object({
3639
+ avantAApres: Yr.optional().meta({ description: "Avant: un ajout avant l'alinéa **numero**, Après: un ajout avant après l'alinéa **numero**, A: une modification ou suppression de l'alinéa **numero** et suivants le cas échéant" }),
3607
3640
  numero: e.string().optional().meta({ description: "Numéro de l'alinéa. Pour le calcul des alinéas au sein d'un amendement sous-amendé, le {@link https://fr.wikipedia.org/wiki/Chapeau_(presse) | chapeau} de l'amendement est décomptée comme un alinéa." }),
3608
3641
  alineaDesignation: e.string().optional().meta({ description: "Texte complémentaire qui est ajouté au {@link https://fr.wikipedia.org/wiki/Chapeau_(presse) | chapeau} de l'amendement (qui se trouve dans le champ divisionRattachee) et qui précise éventuellement l'emplacement de l'alinéa visé par l'amendement." })
3609
- }), di = e.object({
3642
+ }), gi = e.object({
3610
3643
  titre: e.string().optional().meta({ description: "Libellé de la division qui est visé par l'amendement (voir aussi le champ type)." }),
3611
3644
  articleDesignationCourte: e.string().optional().meta({ description: "Version courte du {@link https://fr.wikipedia.org/wiki/Chapeau_(presse) | chapeau} de l'amendement, c'est dire le contenu du champ divisionRattachee." }),
3612
3645
  articleDesignation: e.string().optional(),
3613
- type: Q.meta({ description: "Division du texte visée par l'amendement." }),
3614
- avantAApres: Ur.meta({ description: "Avant: un ajout avant la division visée par l'amendement, Après: un ajout avant après la division visée par l'amendement, A: une modification ou suppression la division visée par l'amendement." }),
3646
+ type: Jn.meta({ description: "Division du texte visée par l'amendement." }),
3647
+ avantAApres: Yr.meta({ description: "Avant: un ajout avant la division visée par l'amendement, Après: un ajout avant après la division visée par l'amendement, A: une modification ou suppression la division visée par l'amendement." }),
3615
3648
  divisionRattachee: e.string().optional().meta({ description: "{@link https://fr.wikipedia.org/wiki/Chapeau_(presse) | Chapeau} de l'amendement, décrivant précisément l'emplacement du texte modifié par l'amendement et l'action (modifier, supprimer, insérer)." }),
3616
3649
  articleAdditionnel: e.string().meta({ description: "Égal à 1 si l'amendement rajoute un article." }),
3617
3650
  chapitreAdditionnel: e.string().meta({ description: "Égal à 1 si l'amendement rajoute un chapitre." }),
3618
3651
  urlDivisionTexteVise: e.string().optional().meta({ description: "URL du texte sur http://www.assemblee-nationale.fr, y compris le fragment qui désigne la division visée par l'amendement, tel que décrite dans le champ divisionRattachee." })
3619
- }), fi = e.object({
3652
+ }), _i = e.object({
3620
3653
  codeEtat: Z.meta({ description: "Code de l'état du projet de loi de finance sur lequel l'amendement a un impact indirect. Par exemple {@link http://www.assemblee-nationale.fr/15/textes/1490.asp#D_Etat_B | l'état B du PLF 2019}. Correspond exactement au champ libelleMissionPLF." }),
3621
3654
  codeMissionMinefi: e.string().meta({ description: "La signification de ce champ n'est pas définie" }),
3622
3655
  libelleMission: e.string().meta({ description: "Libellé de la mission, à l'intérieur de l'état désigné par codeMissionPLF, sur laquelle l'amendement a un impact indirect." }),
3623
3656
  missionRef: e.string().meta({ description: "Libellé de l'état du projet de loi de finance sur lequel l'amendement a un impact indirect. Par exemple la {@link http://www.assemblee-nationale.fr/15/textes/1490.asp#D_Etat_B | RÉPARTITION, PAR MISSION ET PROGRAMME, DES CRÉDITS DU BUDGET GÉNÉRAL du PLF 2019}. Correspond exactement au champ codeMissionPLF." })
3624
- }), pi = e.object({
3625
- division: di.optional().meta({ description: "Partie du texte visé par l'amendement, éventuellement précisé par l'alinéa (voir le champ alinea)." }),
3626
- alinea: ui.optional().meta({ description: "L'alinéa sur lequel porte la modification, à l'intérieur d'une division du texte (voir le champ division)." }),
3627
- missionVisee: fi.optional().meta({ description: "{@link https://www.performance-publique.budget.gouv.fr/ressources-documentaires/documentation-budgetaire/chiffres-cles-budget-etat | Mission} du projet de loi de finance visé par l'amendement." })
3628
- }), mi = e.object({ documentURI: e.string().meta({ description: "Chemin de l'amendement qui permet de composer son URL sur ce modèle: http://www.assemblee-nationale.fr/__documentURI__." }) }), hi = e.object({
3657
+ }), vi = e.object({
3658
+ division: gi.optional().meta({ description: "Partie du texte visé par l'amendement, éventuellement précisé par l'alinéa (voir le champ alinea)." }),
3659
+ alinea: hi.optional().meta({ description: "L'alinéa sur lequel porte la modification, à l'intérieur d'une division du texte (voir le champ division)." }),
3660
+ missionVisee: _i.optional().meta({ description: "{@link https://www.performance-publique.budget.gouv.fr/ressources-documentaires/documentation-budgetaire/chiffres-cles-budget-etat | Mission} du projet de loi de finance visé par l'amendement." })
3661
+ }), yi = e.object({ documentURI: e.string().meta({ description: "Chemin de l'amendement qui permet de composer son URL sur ce modèle: http://www.assemblee-nationale.fr/__documentURI__." }) }), bi = e.object({
3629
3662
  verbatim: e.boolean().meta({ description: "La signification de ce champ est indéfinie." }),
3630
3663
  canonique: e.boolean().meta({ description: "La signification de ce champ est indéfinie." }),
3631
3664
  officielle: e.boolean().meta({ description: "La signification de ce champ est indéfinie." }),
3632
3665
  transcription: e.boolean().meta({ description: "La signification de ce champ est indéfinie." }),
3633
3666
  enregistrement: e.boolean().meta({ description: "La signification de ce champ est indéfinie." })
3634
- }), gi = e.object({
3635
- type: qr.meta({ description: "Type MIME principal, par exemple 'application'." }),
3636
- subType: Gr.meta({ description: "Sous-type MIME, par exemple 'pdf'." })
3637
- }), _i = e.object({
3638
- nom: Gr.meta({ description: "Format du document." }),
3639
- typeMime: gi.meta({ description: "Type MIME du document." }),
3640
- statutRepresentation: hi.meta({ description: "La signification de ces champs est indéfinie." }),
3641
- contenu: mi
3642
- }), vi = e.object({
3643
- typeAuteur: Wn.meta({ description: "'Depute' si l'auteur dépose l'amendement en sa qualité de député, 'Gouvernement' s'il le fait au nom du gouvernement, 'Rapporteur' s'il est le rapporteur de la commission désignée par **organeRef**." }),
3667
+ }), xi = e.object({
3668
+ type: $r.meta({ description: "Type MIME principal, par exemple 'application'." }),
3669
+ subType: Zr.meta({ description: "Sous-type MIME, par exemple 'pdf'." })
3670
+ }), Si = e.object({
3671
+ nom: Zr.meta({ description: "Format du document." }),
3672
+ typeMime: xi.meta({ description: "Type MIME du document." }),
3673
+ statutRepresentation: bi.meta({ description: "La signification de ces champs est indéfinie." }),
3674
+ contenu: yi
3675
+ }), Ci = e.object({
3676
+ typeAuteur: Xn.meta({ description: "'Depute' si l'auteur dépose l'amendement en sa qualité de député, 'Gouvernement' s'il le fait au nom du gouvernement, 'Rapporteur' s'il est le rapporteur de la commission désignée par **organeRef**." }),
3644
3677
  gouvernementRef: G().optional().meta({ description: "Référence au gouvernement" }),
3645
3678
  acteurRef: W().optional().meta({ description: "Référence à l'acteur" }),
3646
3679
  groupePolitiqueRef: G().optional().meta({ description: "Référence au groupe politique" }),
3647
3680
  auteurRapporteurOrganeRef: G().optional().meta({ description: "Référence à l'organe du rapporteur" })
3648
- }), yi = e.object({
3649
- auteur: vi.meta({ description: "Auteur de l'amendement ainsi que son mandat et son affiliation." }),
3681
+ }), wi = e.object({
3682
+ auteur: Ci.meta({ description: "Auteur de l'amendement ainsi que son mandat et son affiliation." }),
3650
3683
  cosignatairesRefs: e.array(W()).optional().meta({ description: "Référence au cosignataire" }),
3651
3684
  suffixe: e.string().optional(),
3652
3685
  libelle: e.string().optional().meta({ description: "Les noms de l'auteur et des co-signataires de l'amendement." })
3653
- }), bi = e.object({
3686
+ }), Ti = e.object({
3654
3687
  schemaVersion: e.string().optional(),
3655
3688
  uid: U().meta({ description: "Identifiant unique de l'amendement" }),
3656
3689
  chronotag: e.string(),
3657
3690
  legislature: e.string(),
3658
- identification: ci,
3691
+ identification: pi,
3659
3692
  examenRef: e.string(),
3660
3693
  texteLegislatifRef: e.string(),
3661
3694
  triAmendement: e.string().optional().meta({ description: "Lorsque tous les amendements visant un texte de loi sont triés sur cette clé, cela détermine leur ordre d'appel." }),
3662
3695
  cardinaliteAmdtMultiples: e.string().optional().meta({ description: "Le contenu de ce champ n'est pas défini." }),
3663
3696
  amendementParentRef: e.string().optional().meta({ description: "L'identifiant unique (uid) de l'amendement modifié par un {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/les-fonctions-de-l-assemblee-nationale/les-fonctions-legislatives/l-exercice-du-droit-d-amendement-et-annexe | sous amendement}. Les amendements peuvent faire l'objet de sous-amendements qui doivent respecter les mêmes règles formelles que les amendements." }),
3664
- signataires: yi,
3665
- pointeurFragmentTexte: pi,
3666
- corps: ni.optional(),
3667
- cycleDeVie: oi,
3668
- representation: _i.optional(),
3697
+ signataires: wi,
3698
+ pointeurFragmentTexte: vi,
3699
+ corps: ci.optional(),
3700
+ cycleDeVie: fi,
3701
+ representation: Si.optional(),
3669
3702
  seanceDiscussionRef: e.string().optional().meta({ description: "Identifiant unique (uid) de la {@link Reunion | séance durant laquelle l'amendement a été discuté}." }),
3670
3703
  article99: e.string().meta({ description: "Amendement déposé par le rapporteur d'une commission ou le gouvernement, après le délai imposé aux députés, en application de {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/textes-de-reference/reglement-de-l-assemblee-nationale/titre-ii/premiere-partie/chapitre-iv/article-99 | l'alinéa 2 de l'article 99 du règlement de l'assemblée nationale}" }),
3671
- loiReference: li.optional().meta({ description: "La signification de ce champ est indéfinie." }),
3672
- discussionCommune: si.optional(),
3673
- discussionIdentique: si.optional(),
3704
+ loiReference: mi.optional().meta({ description: "La signification de ce champ est indéfinie." }),
3705
+ discussionCommune: $.optional(),
3706
+ discussionIdentique: $.optional(),
3674
3707
  accordGouvernementDepotHorsDelai: Y
3675
- }), xi = e.object({
3708
+ }), Ei = e.object({
3676
3709
  refTexteLegislatif: e.string(),
3677
- amendements: e.array(bi)
3678
- }), Si = e.object({ textesLegislatifs: e.array(xi) });
3679
- function Ci(e) {
3680
- let t = bi.safeParse(JSON.parse(e));
3681
- if (!t.success) throw Error(ki("AmendementClean", t.error));
3682
- return t.data;
3683
- }
3684
- function wi(e) {
3685
- let t = xi.safeParse(JSON.parse(e));
3686
- if (!t.success) throw Error(ki("TexteLegislatifClean", t.error));
3687
- return t.data;
3688
- }
3689
- function Ti(e) {
3690
- let t = Si.safeParse(JSON.parse(e));
3691
- if (!t.success) throw Error(ki("AmendementsClean", t.error));
3692
- return t.data;
3693
- }
3694
- function Ei(e) {
3710
+ amendements: e.array(Ti)
3711
+ }), Di = e.object({ textesLegislatifs: e.array(Ei) });
3712
+ function Oi(e) {
3713
+ let t = JSON.parse(e), n = Ti.safeParse(t);
3714
+ if (!n.success) throw Error(Pi("AmendementClean", n.error, t));
3715
+ return n.data;
3716
+ }
3717
+ function ki(e) {
3718
+ let t = JSON.parse(e), n = Ei.safeParse(t);
3719
+ if (!n.success) throw Error(Pi("TexteLegislatifClean", n.error, t));
3720
+ return n.data;
3721
+ }
3722
+ function Ai(e) {
3723
+ let t = JSON.parse(e), n = Di.safeParse(t);
3724
+ if (!n.success) throw Error(Pi("AmendementsClean", n.error, t));
3725
+ return n.data;
3726
+ }
3727
+ function ji(e) {
3695
3728
  return JSON.stringify(e, null, 2);
3696
3729
  }
3697
- function Di(e) {
3730
+ function Mi(e) {
3698
3731
  return JSON.stringify(e, null, 2);
3699
3732
  }
3700
- function Oi(e) {
3733
+ function Ni(e) {
3701
3734
  return JSON.stringify(e, null, 2);
3702
3735
  }
3703
- function ki(e, t) {
3704
- return `Invalid ${e}:\n${t.issues.map((e) => ` - ${e.path.join(".")}: ${e.message}`).join("\n")}`;
3736
+ function Pi(e, t, n) {
3737
+ return In(e, t, n);
3705
3738
  }
3706
- var Ai = {
3707
- toAmendement: Ci,
3708
- amendementToJson: Ei,
3709
- toTexteLegislatif: wi,
3710
- texteLegislatifToJson: Di,
3711
- toAmendements: Ti,
3712
- amendementsToJson: Oi
3739
+ var Fi = {
3740
+ toAmendement: Oi,
3741
+ amendementToJson: ji,
3742
+ toTexteLegislatif: ki,
3743
+ texteLegislatifToJson: Mi,
3744
+ toAmendements: Ai,
3745
+ amendementsToJson: Ni
3713
3746
  };
3714
3747
  //#endregion
3715
- export { G as $, gi as A, Q as B, Yr as C, hi as D, ii as E, Wr as F, Vn as G, Kn as H, Kr as I, Gn as J, Hn as K, Y as L, Ir as M, Rr as N, xi as O, Br as P, J as Q, X as R, pi as S, yi as T, zn as U, Wn as V, Bn as W, K as X, W as Y, q as Z, ci as _, b as _t, vi as a, Dn as at, li as b, ti as c, Sn as ct, si as d, wn as dt, Ln as et, Xr as f, An as ft, ai as g, D as gt, ri as h, tn as ht, Si as i, En as it, Hr as j, Qr as k, ni as l, Cn as lt, di as m, xn as mt, bi as n, U as nt, ei as o, bn as ot, $r as p, jn as pt, Un as q, Ai as r, Tn as rt, mi as s, On as st, ui as t, Rn as tt, oi as u, kn as ut, Jr as v, g as vt, _i as w, fi as x, Zr as y, Z as z };
3748
+ export { G as $, xi as A, Jn as B, ti as C, bi as D, ui as E, Xr as F, Kn as G, Qn as H, Qr as I, Zn as J, qn as K, Y as L, Hr as M, Wr as N, Ei as O, Kr as P, J as Q, X as R, vi as S, wi as T, Wn as U, Xn as V, Gn as W, K as X, W as Y, q as Z, pi as _, D as _t, Ci as a, Dn as at, mi as b, si as c, kn as ct, $ as d, An as dt, Hn as et, ni as f, Tn as ft, di as g, nn as gt, li as h, Sn as ht, Di as i, En as it, Jr as j, ii as k, ci as l, Cn as lt, gi as m, Mn as mt, Ti as n, U as nt, oi as o, On as ot, ai as p, jn as pt, Yn as q, Fi as r, In as rt, yi as s, xn as st, hi as t, Un as tt, fi as u, wn as ut, ei as v, b as vt, Si as w, _i as x, ri as y, g as yt, Z as z };