@tricoteuses/assemblee 3.0.12 → 3.0.13

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,5 +1,5 @@
1
1
  import f from "node:assert";
2
- import { u as m } from "./amendements-Bab1iUCY.js";
2
+ import { u as m } from "./amendements-CZHXlq07.js";
3
3
  const b = {
4
4
  false: !1,
5
5
  true: !0
@@ -437,7 +437,7 @@ let Ht = {};
437
437
  function W() {
438
438
  return Ht;
439
439
  }
440
- const Me = 6048e5, $t = 864e5, te = 6e4, ne = 36e5, Qt = 1e3, fe = /* @__PURE__ */ Symbol.for("constructDateFrom");
440
+ const Me = 6048e5, $t = 864e5, te = 6e4, ne = 36e5, Qt = 1e3, fe = Symbol.for("constructDateFrom");
441
441
  function T(t, i) {
442
442
  return typeof t == "function" ? t(i) : t && typeof t == "object" && fe in t ? t[fe](i) : t instanceof Date ? new t.constructor(i) : new Date(i);
443
443
  }
@@ -554,6 +554,7 @@ const A = {
554
554
  return e;
555
555
  case "aaaaa":
556
556
  return e[0];
557
+ case "aaaa":
557
558
  default:
558
559
  return e === "am" ? "a.m." : "p.m.";
559
560
  }
@@ -601,6 +602,8 @@ const A = {
601
602
  // A, B
602
603
  case "GGGGG":
603
604
  return e.era(n, { width: "narrow" });
605
+ // Anno Domini, Before Christ
606
+ case "GGGG":
604
607
  default:
605
608
  return e.era(n, { width: "wide" });
606
609
  }
@@ -665,6 +668,8 @@ const A = {
665
668
  width: "narrow",
666
669
  context: "formatting"
667
670
  });
671
+ // 1st quarter, 2nd quarter, ...
672
+ case "QQQQ":
668
673
  default:
669
674
  return e.quarter(n, {
670
675
  width: "wide",
@@ -697,6 +702,8 @@ const A = {
697
702
  width: "narrow",
698
703
  context: "standalone"
699
704
  });
705
+ // 1st quarter, 2nd quarter, ...
706
+ case "qqqq":
700
707
  default:
701
708
  return e.quarter(n, {
702
709
  width: "wide",
@@ -726,6 +733,8 @@ const A = {
726
733
  width: "narrow",
727
734
  context: "formatting"
728
735
  });
736
+ // January, February, ..., December
737
+ case "MMMM":
729
738
  default:
730
739
  return e.month(n, { width: "wide", context: "formatting" });
731
740
  }
@@ -755,6 +764,8 @@ const A = {
755
764
  width: "narrow",
756
765
  context: "standalone"
757
766
  });
767
+ // January, February, ..., December
768
+ case "LLLL":
758
769
  default:
759
770
  return e.month(n, { width: "wide", context: "standalone" });
760
771
  }
@@ -802,6 +813,8 @@ const A = {
802
813
  width: "short",
803
814
  context: "formatting"
804
815
  });
816
+ // Tuesday
817
+ case "EEEE":
805
818
  default:
806
819
  return e.day(n, {
807
820
  width: "wide",
@@ -839,6 +852,8 @@ const A = {
839
852
  width: "short",
840
853
  context: "formatting"
841
854
  });
855
+ // Tuesday
856
+ case "eeee":
842
857
  default:
843
858
  return e.day(r, {
844
859
  width: "wide",
@@ -876,6 +891,8 @@ const A = {
876
891
  width: "short",
877
892
  context: "standalone"
878
893
  });
894
+ // Tuesday
895
+ case "cccc":
879
896
  default:
880
897
  return e.day(r, {
881
898
  width: "wide",
@@ -914,6 +931,8 @@ const A = {
914
931
  width: "short",
915
932
  context: "formatting"
916
933
  });
934
+ // Tuesday
935
+ case "iiii":
917
936
  default:
918
937
  return e.day(n, {
919
938
  width: "wide",
@@ -941,6 +960,7 @@ const A = {
941
960
  width: "narrow",
942
961
  context: "formatting"
943
962
  });
963
+ case "aaaa":
944
964
  default:
945
965
  return e.dayPeriod(r, {
946
966
  width: "wide",
@@ -969,6 +989,7 @@ const A = {
969
989
  width: "narrow",
970
990
  context: "formatting"
971
991
  });
992
+ case "bbbb":
972
993
  default:
973
994
  return e.dayPeriod(r, {
974
995
  width: "wide",
@@ -993,6 +1014,7 @@ const A = {
993
1014
  width: "narrow",
994
1015
  context: "formatting"
995
1016
  });
1017
+ case "BBBB":
996
1018
  default:
997
1019
  return e.dayPeriod(r, {
998
1020
  width: "wide",
@@ -1049,6 +1071,11 @@ const A = {
1049
1071
  case "XXXX":
1050
1072
  case "XX":
1051
1073
  return j(n);
1074
+ // Hours, minutes and optional seconds with `:` delimiter
1075
+ // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1076
+ // so this token always has the same output as `XXX`
1077
+ case "XXXXX":
1078
+ case "XXX":
1052
1079
  // Hours and minutes with `:` delimiter
1053
1080
  default:
1054
1081
  return j(n, ":");
@@ -1067,6 +1094,11 @@ const A = {
1067
1094
  case "xxxx":
1068
1095
  case "xx":
1069
1096
  return j(n);
1097
+ // Hours, minutes and optional seconds with `:` delimiter
1098
+ // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1099
+ // so this token always has the same output as `xxx`
1100
+ case "xxxxx":
1101
+ case "xxx":
1070
1102
  // Hours and minutes with `:` delimiter
1071
1103
  default:
1072
1104
  return j(n, ":");
@@ -1081,6 +1113,8 @@ const A = {
1081
1113
  case "OO":
1082
1114
  case "OOO":
1083
1115
  return "GMT" + ge(n, ":");
1116
+ // Long
1117
+ case "OOOO":
1084
1118
  default:
1085
1119
  return "GMT" + j(n, ":");
1086
1120
  }
@@ -1094,6 +1128,8 @@ const A = {
1094
1128
  case "zz":
1095
1129
  case "zzz":
1096
1130
  return "GMT" + ge(n, ":");
1131
+ // Long
1132
+ case "zzzz":
1097
1133
  default:
1098
1134
  return "GMT" + j(n, ":");
1099
1135
  }
@@ -1127,6 +1163,7 @@ const be = (t, i) => {
1127
1163
  return i.date({ width: "medium" });
1128
1164
  case "PPP":
1129
1165
  return i.date({ width: "long" });
1166
+ case "PPPP":
1130
1167
  default:
1131
1168
  return i.date({ width: "full" });
1132
1169
  }
@@ -1138,6 +1175,7 @@ const be = (t, i) => {
1138
1175
  return i.time({ width: "medium" });
1139
1176
  case "ppp":
1140
1177
  return i.time({ width: "long" });
1178
+ case "pppp":
1141
1179
  default:
1142
1180
  return i.time({ width: "full" });
1143
1181
  }
@@ -1156,6 +1194,7 @@ const be = (t, i) => {
1156
1194
  case "PPP":
1157
1195
  o = i.dateTime({ width: "long" });
1158
1196
  break;
1197
+ case "PPPP":
1159
1198
  default:
1160
1199
  o = i.dateTime({ width: "full" });
1161
1200
  break;
@@ -1642,6 +1681,8 @@ class Gn extends f {
1642
1681
  // A, B
1643
1682
  case "GGGGG":
1644
1683
  return r.era(e, { width: "narrow" });
1684
+ // Anno Domini, Before Christ
1685
+ case "GGGG":
1645
1686
  default:
1646
1687
  return r.era(e, { width: "wide" }) || r.era(e, { width: "abbreviated" }) || r.era(e, { width: "narrow" });
1647
1688
  }
@@ -1764,6 +1805,9 @@ function oe(t) {
1764
1805
  case "noon":
1765
1806
  case "afternoon":
1766
1807
  return 12;
1808
+ case "am":
1809
+ case "midnight":
1810
+ case "night":
1767
1811
  default:
1768
1812
  return 0;
1769
1813
  }
@@ -1970,6 +2014,8 @@ class Un extends f {
1970
2014
  width: "narrow",
1971
2015
  context: "formatting"
1972
2016
  });
2017
+ // 1st quarter, 2nd quarter, ...
2018
+ case "QQQQ":
1973
2019
  default:
1974
2020
  return r.quarter(e, {
1975
2021
  width: "wide",
@@ -2035,6 +2081,8 @@ class Zn extends f {
2035
2081
  width: "narrow",
2036
2082
  context: "standalone"
2037
2083
  });
2084
+ // 1st quarter, 2nd quarter, ...
2085
+ case "qqqq":
2038
2086
  default:
2039
2087
  return r.quarter(e, {
2040
2088
  width: "wide",
@@ -2107,6 +2155,8 @@ class Kn extends f {
2107
2155
  width: "narrow",
2108
2156
  context: "formatting"
2109
2157
  });
2158
+ // January, February, ..., December
2159
+ case "MMMM":
2110
2160
  default:
2111
2161
  return r.month(e, { width: "wide", context: "formatting" }) || r.month(e, {
2112
2162
  width: "abbreviated",
@@ -2173,6 +2223,8 @@ class ei extends f {
2173
2223
  width: "narrow",
2174
2224
  context: "standalone"
2175
2225
  });
2226
+ // January, February, ..., December
2227
+ case "LLLL":
2176
2228
  default:
2177
2229
  return r.month(e, { width: "wide", context: "standalone" }) || r.month(e, {
2178
2230
  width: "abbreviated",
@@ -2397,6 +2449,8 @@ class ui extends f {
2397
2449
  // Tu
2398
2450
  case "EEEEEE":
2399
2451
  return r.day(e, { width: "short", context: "formatting" }) || r.day(e, { width: "narrow", context: "formatting" });
2452
+ // Tuesday
2453
+ case "EEEE":
2400
2454
  default:
2401
2455
  return r.day(e, { width: "wide", context: "formatting" }) || r.day(e, {
2402
2456
  width: "abbreviated",
@@ -2466,6 +2520,8 @@ class di extends f {
2466
2520
  // Tu
2467
2521
  case "eeeeee":
2468
2522
  return r.day(e, { width: "short", context: "formatting" }) || r.day(e, { width: "narrow", context: "formatting" });
2523
+ // Tuesday
2524
+ case "eeee":
2469
2525
  default:
2470
2526
  return r.day(e, { width: "wide", context: "formatting" }) || r.day(e, {
2471
2527
  width: "abbreviated",
@@ -2535,6 +2591,8 @@ class li extends f {
2535
2591
  // Tu
2536
2592
  case "cccccc":
2537
2593
  return r.day(e, { width: "short", context: "standalone" }) || r.day(e, { width: "narrow", context: "standalone" });
2594
+ // Tuesday
2595
+ case "cccc":
2538
2596
  default:
2539
2597
  return r.day(e, { width: "wide", context: "standalone" }) || r.day(e, {
2540
2598
  width: "abbreviated",
@@ -2625,6 +2683,8 @@ class pi extends f {
2625
2683
  }),
2626
2684
  o
2627
2685
  );
2686
+ // Tuesday
2687
+ case "iiii":
2628
2688
  default:
2629
2689
  return v(
2630
2690
  r.day(e, {
@@ -2674,6 +2734,7 @@ class hi extends f {
2674
2734
  width: "narrow",
2675
2735
  context: "formatting"
2676
2736
  });
2737
+ case "aaaa":
2677
2738
  default:
2678
2739
  return r.dayPeriod(e, {
2679
2740
  width: "wide",
@@ -2714,6 +2775,7 @@ class gi extends f {
2714
2775
  width: "narrow",
2715
2776
  context: "formatting"
2716
2777
  });
2778
+ case "bbbb":
2717
2779
  default:
2718
2780
  return r.dayPeriod(e, {
2719
2781
  width: "wide",
@@ -2754,6 +2816,7 @@ class wi extends f {
2754
2816
  width: "narrow",
2755
2817
  context: "formatting"
2756
2818
  });
2819
+ case "BBBB":
2757
2820
  default:
2758
2821
  return r.dayPeriod(e, {
2759
2822
  width: "wide",
@@ -2950,6 +3013,7 @@ class Ri extends f {
2950
3013
  k.extendedOptionalSeconds,
2951
3014
  e
2952
3015
  );
3016
+ case "XXX":
2953
3017
  default:
2954
3018
  return O(k.extended, e);
2955
3019
  }
@@ -2986,6 +3050,7 @@ class Mi extends f {
2986
3050
  k.extendedOptionalSeconds,
2987
3051
  e
2988
3052
  );
3053
+ case "xxx":
2989
3054
  default:
2990
3055
  return O(k.extended, e);
2991
3056
  }
package/lib/cleaners.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import t from "node:assert";
2
- import { c, a as b, b as _ } from "./amendements-BKGwufEi.js";
3
- import { d as ee } from "./amendements-BKGwufEi.js";
4
- import { a as H, C as Q } from "./questions-C3qN4PsC.js";
2
+ import { c, a as b, b as _ } from "./amendements-CXmsqoof.js";
3
+ import { d as ee } from "./amendements-CXmsqoof.js";
4
+ import { a as H, C as Q } from "./questions-DXAzvI1T.js";
5
5
  function W(e) {
6
6
  c(e), t.strictEqual(e.uid["@xsi:type"], "IdActeur_type"), e.uid = e.uid["#text"], t(e.uid);
7
7
  const s = e.etatCivil;
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { A as k, n as Q, B as J, C as z, D as H, T as W, s as Y, k as K, m as Z, u as ee, o as ie, d as te, a as oe, b as ne, q as re, v as se, w as ae, e as ce, f as ue, c as fe, g as pe, h as le, i as de, j as me, l as ye, p as ge, x as Re, t as Se, y as ve, z as Ae, r as he } from "./amendements-Bab1iUCY.js";
2
- import { W as Te, C as xe, S as _e, b as Pe, Y as Ce, e as Ee, _ as Ue, D as Be, E as De, F as be, q as Ie, L as Le, a0 as Ne, a2 as Me, a4 as je, M as $e, a6 as Ve, N as Xe, O as we, aj as qe, u as Fe, a8 as Ge, P as ke, w as Qe, y as Je, Q as ze, R as He, j as We, B as Ye, aa as Ke, T as Ze, I as ei, U as ii, ak as ti, V as oi, c as ni, K as ri, a as si, X as ai, d as ci, Z as ui, ab as fi, f as pi, ac as li, al as di, am as mi, ad as yi, ah as gi, k as Ri, g as Si, n as vi, l as Ai, h as hi, $ as Oi, a1 as Ti, a3 as xi, m as _i, a5 as Pi, s as Ci, o as Ei, ai as Ui, t as Bi, a7 as Di, p as bi, v as Ii, x as Li, z as Ni, ae as Mi, r as ji, i as $i, af as Vi, A as Xi, ag as wi, an as qi, a9 as Fi, G as Gi, H as ki, J as Qi } from "./questions-CDMdh7at.js";
3
- import { D as zi, Q as Hi, T as Wi, d as Yi, q as Ki, t as Zi } from "./questions-C3qN4PsC.js";
1
+ import { A as k, n as Q, B as J, C as z, D as H, T as W, s as Y, k as K, m as Z, u as ee, o as ie, d as te, a as oe, b as ne, q as re, v as se, w as ae, e as ce, f as ue, c as fe, g as pe, h as le, i as de, j as me, l as ye, p as ge, x as Re, t as Se, y as ve, z as Ae, r as he } from "./amendements-CZHXlq07.js";
2
+ import { W as Te, C as xe, S as _e, b as Pe, Y as Ce, e as Ee, _ as Ue, D as Be, E as De, F as be, q as Ie, L as Le, a0 as Ne, a2 as Me, a4 as je, M as $e, a6 as Ve, N as Xe, O as we, aj as qe, u as Fe, a8 as Ge, P as ke, w as Qe, y as Je, Q as ze, R as He, j as We, B as Ye, aa as Ke, T as Ze, I as ei, U as ii, ak as ti, V as oi, c as ni, K as ri, a as si, X as ai, d as ci, Z as ui, ab as fi, f as pi, ac as li, al as di, am as mi, ad as yi, ah as gi, k as Ri, g as Si, n as vi, l as Ai, h as hi, $ as Oi, a1 as Ti, a3 as xi, m as _i, a5 as Pi, s as Ci, o as Ei, ai as Ui, t as Bi, a7 as Di, p as bi, v as Ii, x as Li, z as Ni, ae as Mi, r as ji, i as $i, af as Vi, A as Xi, ag as wi, an as qi, a9 as Fi, G as Gi, H as ki, J as Qi } from "./questions-BdLSCUAh.js";
3
+ import { D as zi, Q as Hi, T as Wi, d as Yi, q as Ki, t as Zi } from "./questions-DXAzvI1T.js";
4
4
  var R = /* @__PURE__ */ ((e) => (e.Amendements = "amendements", e))(R || {});
5
5
  const I = Object.values(R);
6
6
  var S = /* @__PURE__ */ ((e) => (e.Acte_organe = "acte.organe", e.Acte_provenance = "acte.provenance", e.Acte_rapporteurs_acteur = "acte.rapporteurs.acteur", e.Acte_reunion = "acte.reunion", e.Acte_texteAdopte = "acte.texteAdopte", e.Acte_texteAssocie = "acte.texteAssocie", e.Acte_textesAssocies_texteAssocie = "acte.textesAssocies.texteAssocie", e.Acte_votes = "acte.votes", e.Acteur_mandats_organes = "acteur.mandats.organes", e.Amendement_signataires_auteur_acteur = "amendement.signataires.auteur.acteur", e.Amendement_signataires_auteur_auteurRapporteurOrgane = "amendement.signataires.auteur.auteurRapporteurOrgane", e.Amendement_signataires_auteur_gouvernement = "amendement.signataires.auteur.gouvernement", e.Amendement_signataires_auteur_groupePolitique = "amendement.signataires.auteur.groupePolitique", e.Amendement_signataires_cosignataires = "amendement.signataires.cosignataires", e.Amendement_texteLegislatif = "amendement.texteLegislatif", e.Document_auteurs_acteur_acteur = "document.auteurs.acteur.acteur", e.Document_auteurs_organe = "document.auteurs.organe", e.Document_dossier = "document.dossier", e.Dossier_initiateur_acteurs_acteur = "dossier.initiateur.acteurs.acteur", e.Dossier_initiateur_organe = "dossier.initiateur.organe", e.Organe_organeParent = "organe.organeParent", e.Organe_organePrecedent = "organe.organePrecedent", e.Reunion_demandeurs_acteurs_acteur = "reunion.demandeurs.acteurs.acteur", e.Reunion_demandeurs_organe_organe = "reunion.demandeurs.organe.organe", e.Reunion_organeReuni = "reunion.organeReuni", e.Reunion_participants_participantsInternes_acteur = "reunion.participants.participantsInternes.acteur", e.Scrutin_miseAuPoint = "scrutin.miseAuPoint", e.Scrutin_organe = "scrutin.organe", e.Scrutin_ventilationVotes_groupes_organe = "scrutin.ventilationVotes.groupes.organe", e))(S || {});
@@ -276,6 +276,7 @@ export declare function insertReunionReferences(reunion: Reunion, data: OutputDa
276
276
  captationVideo?: boolean | undefined;
277
277
  visioConference?: string | undefined;
278
278
  urlVideo?: string | undefined;
279
+ urlPageVideo?: string | undefined;
279
280
  timecodeDebutVideo?: number | undefined;
280
281
  organeReuni?: import('./index.js').Organe | undefined;
281
282
  demandeurs?: {
package/lib/loaders.js CHANGED
@@ -5,9 +5,9 @@ import "glob";
5
5
  import "node:fs/promises";
6
6
  import { getChangedFilesSinceCommit as ue } from "./git.js";
7
7
  import { z as e } from "zod";
8
- import { E as x, F as Y, G as K, H as T, I as z, J as V, B as ie } from "./amendements-Bab1iUCY.js";
9
- import { C as me, D as se, F as Ce, j as de, L as pe, e as ge, M as Ie, b as Fe, P as Ve, R as De, O as Pe, a0 as fe, Y as Xe, aa as Oe, a2 as we, _ as qe, W as Le, a8 as Re, a4 as xe, a6 as $e, ao as l, ap as oe, aq as W, ar as ae, ac as Me, af as Ne, ag as ze, ab as ke, ad as Te, ae as Ue } from "./questions-CDMdh7at.js";
10
- import { D as Je } from "./questions-C3qN4PsC.js";
8
+ import { E as x, F as Y, G as K, H as T, I as z, J as V, B as ie } from "./amendements-CZHXlq07.js";
9
+ import { C as me, D as se, F as Ce, j as de, L as pe, e as ge, M as Ie, b as Fe, P as Ve, R as De, O as Pe, a0 as fe, Y as Xe, aa as Oe, a2 as we, _ as qe, W as Le, a8 as Re, a4 as xe, a6 as $e, ao as l, ap as oe, aq as W, ar as ae, ac as Me, af as Ne, ag as ze, ab as ke, ad as Te, ae as Ue } from "./questions-BdLSCUAh.js";
10
+ import { D as Je } from "./questions-DXAzvI1T.js";
11
11
  var h = /* @__PURE__ */ ((t) => (t[t.SingleFile = 0] = "SingleFile", t[t.SegmentedFiles = 1] = "SegmentedFiles", t))(h || {}), F = /* @__PURE__ */ ((t) => (t[t.None = 0] = "None", t[t.ActeursEtOrganes = 1] = "ActeursEtOrganes", t[t.Agendas = 2] = "Agendas", t[t.Amendements = 4] = "Amendements", t[t.DossiersLegislatifs = 8] = "DossiersLegislatifs", t[t.Photos = 16] = "Photos", t[t.Scrutins = 32] = "Scrutins", t[t.Questions = 64] = "Questions", t[t.ComptesRendusSeances = 128] = "ComptesRendusSeances", t[t.ComptesRendusCommissions = 256] = "ComptesRendusCommissions", t[t.All = 511] = "All", t))(F || {});
12
12
  function* R(t, n = []) {
13
13
  const i = s.join(t, ...n);
@@ -4,3 +4,4 @@ export declare function getFirstInterventionStartTimecode(dataNvs: string, final
4
4
  */
5
5
  export declare function buildVodMasterM3u8FromNvs(xml: string, host?: string): string | null;
6
6
  export declare function extractMeetingIdsFromNvs(nvsText: string): string[];
7
+ export declare function extractInterfaceIdFromNvs(nvsText: string): string | null;