@tricoteuses/assemblee 2.5.30 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +16 -6
- package/README.md +2 -19
- package/lib/amendements-CXmsqoof.js +170 -0
- package/lib/amendements-CZHXlq07.js +4198 -0
- package/lib/cleaners/acteurs.d.ts +2 -1
- package/lib/cleaners/amendements.d.ts +2 -1
- package/lib/cleaners/debats.d.ts +2 -1
- package/lib/cleaners/documents.d.ts +2 -1
- package/lib/cleaners/dossiers_legislatifs.d.ts +2 -1
- package/lib/cleaners/organes.d.ts +2 -1
- package/lib/cleaners/questions.d.ts +2 -1
- package/lib/cleaners/reunions.d.ts +2 -1
- package/lib/cleaners/scrutins.d.ts +2 -1
- package/lib/cleaners/xml.d.ts +5 -5
- package/lib/cleaners.js +186 -179
- package/lib/datasets.d.ts +5 -7
- package/lib/dossiers_legislatifs.d.ts +5 -2
- package/lib/file_systems.d.ts +10 -3
- package/lib/index.d.ts +24 -19
- package/lib/index.js +390 -1234
- package/lib/inserters.d.ts +466 -9
- package/lib/loaders.d.ts +13 -12
- package/lib/loaders.js +1901 -538
- package/lib/organes.d.ts +1 -1
- package/lib/parsers/compte_rendu.d.ts +2 -1
- package/lib/parsers/compte_rendu_commission.d.ts +1 -1
- package/lib/parsers/recherche_amendements.d.ts +2 -2
- package/lib/parsers/textes_lois.d.ts +1 -1
- package/lib/parsers.js +2109 -2075
- package/lib/questions-DTO3nK5V.js +2777 -0
- package/lib/questions-DXAzvI1T.js +230 -0
- package/lib/registries.d.ts +112 -0
- package/lib/schemas/clean/acteurs_et_organes.d.ts +2377 -0
- package/lib/schemas/clean/agendas.d.ts +830 -0
- package/lib/schemas/clean/amendements.d.ts +2305 -0
- package/lib/schemas/clean/debats.d.ts +300 -0
- package/lib/schemas/clean/dossiers_legislatifs.d.ts +1365 -0
- package/lib/schemas/clean/questions.d.ts +625 -0
- package/lib/schemas/clean/scrutins.d.ts +1137 -0
- package/lib/schemas/enriched/acteurs_et_organes.d.ts +112 -0
- package/lib/schemas/enriched/agendas.d.ts +501 -0
- package/lib/schemas/enriched/amendements.d.ts +1230 -0
- package/lib/schemas/enriched/debats.d.ts +308 -0
- package/lib/schemas/enriched/dossiers_legislatifs.d.ts +1131 -0
- package/lib/schemas/enriched/questions.d.ts +589 -0
- package/lib/schemas/enriched/scrutins.d.ts +1094 -0
- package/lib/schemas/raw/acteurs_et_organes.d.ts +5870 -0
- package/lib/schemas/raw/agendas.d.ts +1734 -0
- package/lib/schemas/raw/amendements.d.ts +4758 -0
- package/lib/schemas/raw/debats.d.ts +410 -0
- package/lib/schemas/raw/dossiers_legislatifs.d.ts +3252 -0
- package/lib/schemas/raw/questions.d.ts +983 -0
- package/lib/schemas/raw/scrutins.d.ts +2763 -0
- package/lib/scripts/retrieve_deputes_photos.d.ts +58 -4
- package/lib/scripts/retrieve_documents.d.ts +86 -12
- package/lib/scripts/retrieve_open_data.d.ts +39 -4
- package/lib/scripts/retrieve_videos.d.ts +1 -1
- package/lib/scripts/shared/cli_helpers.d.ts +41 -77
- package/lib/scripts/shared/photos.d.ts +106 -0
- package/lib/scripts/shared/utils.d.ts +4 -0
- package/lib/urls.d.ts +2 -2
- package/package.json +16 -12
- package/lib/amendements-40Z7OJLT.js +0 -682
- package/lib/amendements-J6Sx61n8.js +0 -154
- package/lib/datasets-Cb3wpfRH.js +0 -3580
- package/lib/parse-Ccs6wcUg.js +0 -2512
- package/lib/raw_types/acteurs_et_organes.d.ts +0 -464
- package/lib/raw_types/agendas.d.ts +0 -265
- package/lib/raw_types/amendements.d.ts +0 -365
- package/lib/raw_types/debats.d.ts +0 -140
- package/lib/raw_types/dossiers_legislatifs.d.ts +0 -567
- package/lib/raw_types/questions.d.ts +0 -115
- package/lib/raw_types/scrutins.d.ts +0 -187
- package/lib/schemas/acteurs_et_organes.json +0 -1167
- package/lib/schemas/agendas.json +0 -1757
- package/lib/schemas/amendements.json +0 -2087
- package/lib/schemas/compte_rendu_commission/CompteRenduCommission.json +0 -63
- package/lib/schemas/debats.json +0 -847
- package/lib/schemas/dossiers_legislatifs.json +0 -3884
- package/lib/schemas/legislatures.json +0 -17
- package/lib/schemas/questions.json +0 -711
- package/lib/schemas/scrutins.json +0 -701
- package/lib/scripts/copy-schemas.d.ts +0 -1
- package/lib/scripts/generate-json-schemas.d.ts +0 -1
- package/lib/shared_types/acteurs_et_organes.d.ts +0 -149
- package/lib/shared_types/dossiers_legislatifs.d.ts +0 -222
- package/lib/types/acteurs_et_organes.d.ts +0 -598
- package/lib/types/agendas.d.ts +0 -442
- package/lib/types/amendements.d.ts +0 -615
- package/lib/types/debats.d.ts +0 -186
- package/lib/types/dossiers_legislatifs.d.ts +0 -826
- package/lib/types/questions.d.ts +0 -203
- package/lib/types/scrutins.d.ts +0 -254
- /package/lib/{types/legislatures.d.ts → legislatures.d.ts} +0 -0
package/lib/index.js
CHANGED
|
@@ -1,904 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C as O } from "./
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
function oe(e, ...t) {
|
|
10
|
-
const r = B.bind(
|
|
11
|
-
null,
|
|
12
|
-
t.find((n) => typeof n == "object")
|
|
13
|
-
);
|
|
14
|
-
return t.map(r);
|
|
15
|
-
}
|
|
16
|
-
function P(e, t) {
|
|
17
|
-
const r = x(e, t?.in);
|
|
18
|
-
return r.setHours(0, 0, 0, 0), r;
|
|
19
|
-
}
|
|
20
|
-
function ae(e, t, r) {
|
|
21
|
-
const [n, i] = oe(
|
|
22
|
-
r?.in,
|
|
23
|
-
e,
|
|
24
|
-
t
|
|
25
|
-
), o = P(n), a = P(i), c = +o - _(o), u = +a - _(a);
|
|
26
|
-
return Math.round((c - u) / Q);
|
|
27
|
-
}
|
|
28
|
-
function se(e, t) {
|
|
29
|
-
const r = x(e, t?.in);
|
|
30
|
-
return r.setFullYear(r.getFullYear(), 0, 1), r.setHours(0, 0, 0, 0), r;
|
|
31
|
-
}
|
|
32
|
-
function ue(e, t) {
|
|
33
|
-
const r = x(e, t?.in);
|
|
34
|
-
return ae(r, se(r)) + 1;
|
|
35
|
-
}
|
|
36
|
-
const y = {
|
|
37
|
-
// Year
|
|
38
|
-
y(e, t) {
|
|
39
|
-
const r = e.getFullYear(), n = r > 0 ? r : 1 - r;
|
|
40
|
-
return s(t === "yy" ? n % 100 : n, t.length);
|
|
41
|
-
},
|
|
42
|
-
// Month
|
|
43
|
-
M(e, t) {
|
|
44
|
-
const r = e.getMonth();
|
|
45
|
-
return t === "M" ? String(r + 1) : s(r + 1, 2);
|
|
46
|
-
},
|
|
47
|
-
// Day of the month
|
|
48
|
-
d(e, t) {
|
|
49
|
-
return s(e.getDate(), t.length);
|
|
50
|
-
},
|
|
51
|
-
// AM or PM
|
|
52
|
-
a(e, t) {
|
|
53
|
-
const r = e.getHours() / 12 >= 1 ? "pm" : "am";
|
|
54
|
-
switch (t) {
|
|
55
|
-
case "a":
|
|
56
|
-
case "aa":
|
|
57
|
-
return r.toUpperCase();
|
|
58
|
-
case "aaa":
|
|
59
|
-
return r;
|
|
60
|
-
case "aaaaa":
|
|
61
|
-
return r[0];
|
|
62
|
-
case "aaaa":
|
|
63
|
-
default:
|
|
64
|
-
return r === "am" ? "a.m." : "p.m.";
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
// Hour [1-12]
|
|
68
|
-
h(e, t) {
|
|
69
|
-
return s(e.getHours() % 12 || 12, t.length);
|
|
70
|
-
},
|
|
71
|
-
// Hour [0-23]
|
|
72
|
-
H(e, t) {
|
|
73
|
-
return s(e.getHours(), t.length);
|
|
74
|
-
},
|
|
75
|
-
// Minute
|
|
76
|
-
m(e, t) {
|
|
77
|
-
return s(e.getMinutes(), t.length);
|
|
78
|
-
},
|
|
79
|
-
// Second
|
|
80
|
-
s(e, t) {
|
|
81
|
-
return s(e.getSeconds(), t.length);
|
|
82
|
-
},
|
|
83
|
-
// Fraction of second
|
|
84
|
-
S(e, t) {
|
|
85
|
-
const r = t.length, n = e.getMilliseconds(), i = Math.trunc(
|
|
86
|
-
n * Math.pow(10, r - 3)
|
|
87
|
-
);
|
|
88
|
-
return s(i, t.length);
|
|
89
|
-
}
|
|
90
|
-
}, T = {
|
|
91
|
-
midnight: "midnight",
|
|
92
|
-
noon: "noon",
|
|
93
|
-
morning: "morning",
|
|
94
|
-
afternoon: "afternoon",
|
|
95
|
-
evening: "evening",
|
|
96
|
-
night: "night"
|
|
97
|
-
}, L = {
|
|
98
|
-
// Era
|
|
99
|
-
G: function(e, t, r) {
|
|
100
|
-
const n = e.getFullYear() > 0 ? 1 : 0;
|
|
101
|
-
switch (t) {
|
|
102
|
-
// AD, BC
|
|
103
|
-
case "G":
|
|
104
|
-
case "GG":
|
|
105
|
-
case "GGG":
|
|
106
|
-
return r.era(n, { width: "abbreviated" });
|
|
107
|
-
// A, B
|
|
108
|
-
case "GGGGG":
|
|
109
|
-
return r.era(n, { width: "narrow" });
|
|
110
|
-
// Anno Domini, Before Christ
|
|
111
|
-
case "GGGG":
|
|
112
|
-
default:
|
|
113
|
-
return r.era(n, { width: "wide" });
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
// Year
|
|
117
|
-
y: function(e, t, r) {
|
|
118
|
-
if (t === "yo") {
|
|
119
|
-
const n = e.getFullYear(), i = n > 0 ? n : 1 - n;
|
|
120
|
-
return r.ordinalNumber(i, { unit: "year" });
|
|
121
|
-
}
|
|
122
|
-
return y.y(e, t);
|
|
123
|
-
},
|
|
124
|
-
// Local week-numbering year
|
|
125
|
-
Y: function(e, t, r, n) {
|
|
126
|
-
const i = J(e, n), o = i > 0 ? i : 1 - i;
|
|
127
|
-
if (t === "YY") {
|
|
128
|
-
const a = o % 100;
|
|
129
|
-
return s(a, 2);
|
|
130
|
-
}
|
|
131
|
-
return t === "Yo" ? r.ordinalNumber(o, { unit: "year" }) : s(o, t.length);
|
|
132
|
-
},
|
|
133
|
-
// ISO week-numbering year
|
|
134
|
-
R: function(e, t) {
|
|
135
|
-
const r = z(e);
|
|
136
|
-
return s(r, t.length);
|
|
137
|
-
},
|
|
138
|
-
// Extended year. This is a single number designating the year of this calendar system.
|
|
139
|
-
// The main difference between `y` and `u` localizers are B.C. years:
|
|
140
|
-
// | Year | `y` | `u` |
|
|
141
|
-
// |------|-----|-----|
|
|
142
|
-
// | AC 1 | 1 | 1 |
|
|
143
|
-
// | BC 1 | 1 | 0 |
|
|
144
|
-
// | BC 2 | 2 | -1 |
|
|
145
|
-
// Also `yy` always returns the last two digits of a year,
|
|
146
|
-
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
147
|
-
u: function(e, t) {
|
|
148
|
-
const r = e.getFullYear();
|
|
149
|
-
return s(r, t.length);
|
|
150
|
-
},
|
|
151
|
-
// Quarter
|
|
152
|
-
Q: function(e, t, r) {
|
|
153
|
-
const n = Math.ceil((e.getMonth() + 1) / 3);
|
|
154
|
-
switch (t) {
|
|
155
|
-
// 1, 2, 3, 4
|
|
156
|
-
case "Q":
|
|
157
|
-
return String(n);
|
|
158
|
-
// 01, 02, 03, 04
|
|
159
|
-
case "QQ":
|
|
160
|
-
return s(n, 2);
|
|
161
|
-
// 1st, 2nd, 3rd, 4th
|
|
162
|
-
case "Qo":
|
|
163
|
-
return r.ordinalNumber(n, { unit: "quarter" });
|
|
164
|
-
// Q1, Q2, Q3, Q4
|
|
165
|
-
case "QQQ":
|
|
166
|
-
return r.quarter(n, {
|
|
167
|
-
width: "abbreviated",
|
|
168
|
-
context: "formatting"
|
|
169
|
-
});
|
|
170
|
-
// 1, 2, 3, 4 (narrow quarter; could be not numerical)
|
|
171
|
-
case "QQQQQ":
|
|
172
|
-
return r.quarter(n, {
|
|
173
|
-
width: "narrow",
|
|
174
|
-
context: "formatting"
|
|
175
|
-
});
|
|
176
|
-
// 1st quarter, 2nd quarter, ...
|
|
177
|
-
case "QQQQ":
|
|
178
|
-
default:
|
|
179
|
-
return r.quarter(n, {
|
|
180
|
-
width: "wide",
|
|
181
|
-
context: "formatting"
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
// Stand-alone quarter
|
|
186
|
-
q: function(e, t, r) {
|
|
187
|
-
const n = Math.ceil((e.getMonth() + 1) / 3);
|
|
188
|
-
switch (t) {
|
|
189
|
-
// 1, 2, 3, 4
|
|
190
|
-
case "q":
|
|
191
|
-
return String(n);
|
|
192
|
-
// 01, 02, 03, 04
|
|
193
|
-
case "qq":
|
|
194
|
-
return s(n, 2);
|
|
195
|
-
// 1st, 2nd, 3rd, 4th
|
|
196
|
-
case "qo":
|
|
197
|
-
return r.ordinalNumber(n, { unit: "quarter" });
|
|
198
|
-
// Q1, Q2, Q3, Q4
|
|
199
|
-
case "qqq":
|
|
200
|
-
return r.quarter(n, {
|
|
201
|
-
width: "abbreviated",
|
|
202
|
-
context: "standalone"
|
|
203
|
-
});
|
|
204
|
-
// 1, 2, 3, 4 (narrow quarter; could be not numerical)
|
|
205
|
-
case "qqqqq":
|
|
206
|
-
return r.quarter(n, {
|
|
207
|
-
width: "narrow",
|
|
208
|
-
context: "standalone"
|
|
209
|
-
});
|
|
210
|
-
// 1st quarter, 2nd quarter, ...
|
|
211
|
-
case "qqqq":
|
|
212
|
-
default:
|
|
213
|
-
return r.quarter(n, {
|
|
214
|
-
width: "wide",
|
|
215
|
-
context: "standalone"
|
|
216
|
-
});
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
// Month
|
|
220
|
-
M: function(e, t, r) {
|
|
221
|
-
const n = e.getMonth();
|
|
222
|
-
switch (t) {
|
|
223
|
-
case "M":
|
|
224
|
-
case "MM":
|
|
225
|
-
return y.M(e, t);
|
|
226
|
-
// 1st, 2nd, ..., 12th
|
|
227
|
-
case "Mo":
|
|
228
|
-
return r.ordinalNumber(n + 1, { unit: "month" });
|
|
229
|
-
// Jan, Feb, ..., Dec
|
|
230
|
-
case "MMM":
|
|
231
|
-
return r.month(n, {
|
|
232
|
-
width: "abbreviated",
|
|
233
|
-
context: "formatting"
|
|
234
|
-
});
|
|
235
|
-
// J, F, ..., D
|
|
236
|
-
case "MMMMM":
|
|
237
|
-
return r.month(n, {
|
|
238
|
-
width: "narrow",
|
|
239
|
-
context: "formatting"
|
|
240
|
-
});
|
|
241
|
-
// January, February, ..., December
|
|
242
|
-
case "MMMM":
|
|
243
|
-
default:
|
|
244
|
-
return r.month(n, { width: "wide", context: "formatting" });
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
// Stand-alone month
|
|
248
|
-
L: function(e, t, r) {
|
|
249
|
-
const n = e.getMonth();
|
|
250
|
-
switch (t) {
|
|
251
|
-
// 1, 2, ..., 12
|
|
252
|
-
case "L":
|
|
253
|
-
return String(n + 1);
|
|
254
|
-
// 01, 02, ..., 12
|
|
255
|
-
case "LL":
|
|
256
|
-
return s(n + 1, 2);
|
|
257
|
-
// 1st, 2nd, ..., 12th
|
|
258
|
-
case "Lo":
|
|
259
|
-
return r.ordinalNumber(n + 1, { unit: "month" });
|
|
260
|
-
// Jan, Feb, ..., Dec
|
|
261
|
-
case "LLL":
|
|
262
|
-
return r.month(n, {
|
|
263
|
-
width: "abbreviated",
|
|
264
|
-
context: "standalone"
|
|
265
|
-
});
|
|
266
|
-
// J, F, ..., D
|
|
267
|
-
case "LLLLL":
|
|
268
|
-
return r.month(n, {
|
|
269
|
-
width: "narrow",
|
|
270
|
-
context: "standalone"
|
|
271
|
-
});
|
|
272
|
-
// January, February, ..., December
|
|
273
|
-
case "LLLL":
|
|
274
|
-
default:
|
|
275
|
-
return r.month(n, { width: "wide", context: "standalone" });
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
// Local week of year
|
|
279
|
-
w: function(e, t, r, n) {
|
|
280
|
-
const i = V(e, n);
|
|
281
|
-
return t === "wo" ? r.ordinalNumber(i, { unit: "week" }) : s(i, t.length);
|
|
282
|
-
},
|
|
283
|
-
// ISO week of year
|
|
284
|
-
I: function(e, t, r) {
|
|
285
|
-
const n = X(e);
|
|
286
|
-
return t === "Io" ? r.ordinalNumber(n, { unit: "week" }) : s(n, t.length);
|
|
287
|
-
},
|
|
288
|
-
// Day of the month
|
|
289
|
-
d: function(e, t, r) {
|
|
290
|
-
return t === "do" ? r.ordinalNumber(e.getDate(), { unit: "date" }) : y.d(e, t);
|
|
291
|
-
},
|
|
292
|
-
// Day of year
|
|
293
|
-
D: function(e, t, r) {
|
|
294
|
-
const n = ue(e);
|
|
295
|
-
return t === "Do" ? r.ordinalNumber(n, { unit: "dayOfYear" }) : s(n, t.length);
|
|
296
|
-
},
|
|
297
|
-
// Day of week
|
|
298
|
-
E: function(e, t, r) {
|
|
299
|
-
const n = e.getDay();
|
|
300
|
-
switch (t) {
|
|
301
|
-
// Tue
|
|
302
|
-
case "E":
|
|
303
|
-
case "EE":
|
|
304
|
-
case "EEE":
|
|
305
|
-
return r.day(n, {
|
|
306
|
-
width: "abbreviated",
|
|
307
|
-
context: "formatting"
|
|
308
|
-
});
|
|
309
|
-
// T
|
|
310
|
-
case "EEEEE":
|
|
311
|
-
return r.day(n, {
|
|
312
|
-
width: "narrow",
|
|
313
|
-
context: "formatting"
|
|
314
|
-
});
|
|
315
|
-
// Tu
|
|
316
|
-
case "EEEEEE":
|
|
317
|
-
return r.day(n, {
|
|
318
|
-
width: "short",
|
|
319
|
-
context: "formatting"
|
|
320
|
-
});
|
|
321
|
-
// Tuesday
|
|
322
|
-
case "EEEE":
|
|
323
|
-
default:
|
|
324
|
-
return r.day(n, {
|
|
325
|
-
width: "wide",
|
|
326
|
-
context: "formatting"
|
|
327
|
-
});
|
|
328
|
-
}
|
|
329
|
-
},
|
|
330
|
-
// Local day of week
|
|
331
|
-
e: function(e, t, r, n) {
|
|
332
|
-
const i = e.getDay(), o = (i - n.weekStartsOn + 8) % 7 || 7;
|
|
333
|
-
switch (t) {
|
|
334
|
-
// Numerical value (Nth day of week with current locale or weekStartsOn)
|
|
335
|
-
case "e":
|
|
336
|
-
return String(o);
|
|
337
|
-
// Padded numerical value
|
|
338
|
-
case "ee":
|
|
339
|
-
return s(o, 2);
|
|
340
|
-
// 1st, 2nd, ..., 7th
|
|
341
|
-
case "eo":
|
|
342
|
-
return r.ordinalNumber(o, { unit: "day" });
|
|
343
|
-
case "eee":
|
|
344
|
-
return r.day(i, {
|
|
345
|
-
width: "abbreviated",
|
|
346
|
-
context: "formatting"
|
|
347
|
-
});
|
|
348
|
-
// T
|
|
349
|
-
case "eeeee":
|
|
350
|
-
return r.day(i, {
|
|
351
|
-
width: "narrow",
|
|
352
|
-
context: "formatting"
|
|
353
|
-
});
|
|
354
|
-
// Tu
|
|
355
|
-
case "eeeeee":
|
|
356
|
-
return r.day(i, {
|
|
357
|
-
width: "short",
|
|
358
|
-
context: "formatting"
|
|
359
|
-
});
|
|
360
|
-
// Tuesday
|
|
361
|
-
case "eeee":
|
|
362
|
-
default:
|
|
363
|
-
return r.day(i, {
|
|
364
|
-
width: "wide",
|
|
365
|
-
context: "formatting"
|
|
366
|
-
});
|
|
367
|
-
}
|
|
368
|
-
},
|
|
369
|
-
// Stand-alone local day of week
|
|
370
|
-
c: function(e, t, r, n) {
|
|
371
|
-
const i = e.getDay(), o = (i - n.weekStartsOn + 8) % 7 || 7;
|
|
372
|
-
switch (t) {
|
|
373
|
-
// Numerical value (same as in `e`)
|
|
374
|
-
case "c":
|
|
375
|
-
return String(o);
|
|
376
|
-
// Padded numerical value
|
|
377
|
-
case "cc":
|
|
378
|
-
return s(o, t.length);
|
|
379
|
-
// 1st, 2nd, ..., 7th
|
|
380
|
-
case "co":
|
|
381
|
-
return r.ordinalNumber(o, { unit: "day" });
|
|
382
|
-
case "ccc":
|
|
383
|
-
return r.day(i, {
|
|
384
|
-
width: "abbreviated",
|
|
385
|
-
context: "standalone"
|
|
386
|
-
});
|
|
387
|
-
// T
|
|
388
|
-
case "ccccc":
|
|
389
|
-
return r.day(i, {
|
|
390
|
-
width: "narrow",
|
|
391
|
-
context: "standalone"
|
|
392
|
-
});
|
|
393
|
-
// Tu
|
|
394
|
-
case "cccccc":
|
|
395
|
-
return r.day(i, {
|
|
396
|
-
width: "short",
|
|
397
|
-
context: "standalone"
|
|
398
|
-
});
|
|
399
|
-
// Tuesday
|
|
400
|
-
case "cccc":
|
|
401
|
-
default:
|
|
402
|
-
return r.day(i, {
|
|
403
|
-
width: "wide",
|
|
404
|
-
context: "standalone"
|
|
405
|
-
});
|
|
406
|
-
}
|
|
407
|
-
},
|
|
408
|
-
// ISO day of week
|
|
409
|
-
i: function(e, t, r) {
|
|
410
|
-
const n = e.getDay(), i = n === 0 ? 7 : n;
|
|
411
|
-
switch (t) {
|
|
412
|
-
// 2
|
|
413
|
-
case "i":
|
|
414
|
-
return String(i);
|
|
415
|
-
// 02
|
|
416
|
-
case "ii":
|
|
417
|
-
return s(i, t.length);
|
|
418
|
-
// 2nd
|
|
419
|
-
case "io":
|
|
420
|
-
return r.ordinalNumber(i, { unit: "day" });
|
|
421
|
-
// Tue
|
|
422
|
-
case "iii":
|
|
423
|
-
return r.day(n, {
|
|
424
|
-
width: "abbreviated",
|
|
425
|
-
context: "formatting"
|
|
426
|
-
});
|
|
427
|
-
// T
|
|
428
|
-
case "iiiii":
|
|
429
|
-
return r.day(n, {
|
|
430
|
-
width: "narrow",
|
|
431
|
-
context: "formatting"
|
|
432
|
-
});
|
|
433
|
-
// Tu
|
|
434
|
-
case "iiiiii":
|
|
435
|
-
return r.day(n, {
|
|
436
|
-
width: "short",
|
|
437
|
-
context: "formatting"
|
|
438
|
-
});
|
|
439
|
-
// Tuesday
|
|
440
|
-
case "iiii":
|
|
441
|
-
default:
|
|
442
|
-
return r.day(n, {
|
|
443
|
-
width: "wide",
|
|
444
|
-
context: "formatting"
|
|
445
|
-
});
|
|
446
|
-
}
|
|
447
|
-
},
|
|
448
|
-
// AM or PM
|
|
449
|
-
a: function(e, t, r) {
|
|
450
|
-
const i = e.getHours() / 12 >= 1 ? "pm" : "am";
|
|
451
|
-
switch (t) {
|
|
452
|
-
case "a":
|
|
453
|
-
case "aa":
|
|
454
|
-
return r.dayPeriod(i, {
|
|
455
|
-
width: "abbreviated",
|
|
456
|
-
context: "formatting"
|
|
457
|
-
});
|
|
458
|
-
case "aaa":
|
|
459
|
-
return r.dayPeriod(i, {
|
|
460
|
-
width: "abbreviated",
|
|
461
|
-
context: "formatting"
|
|
462
|
-
}).toLowerCase();
|
|
463
|
-
case "aaaaa":
|
|
464
|
-
return r.dayPeriod(i, {
|
|
465
|
-
width: "narrow",
|
|
466
|
-
context: "formatting"
|
|
467
|
-
});
|
|
468
|
-
case "aaaa":
|
|
469
|
-
default:
|
|
470
|
-
return r.dayPeriod(i, {
|
|
471
|
-
width: "wide",
|
|
472
|
-
context: "formatting"
|
|
473
|
-
});
|
|
474
|
-
}
|
|
475
|
-
},
|
|
476
|
-
// AM, PM, midnight, noon
|
|
477
|
-
b: function(e, t, r) {
|
|
478
|
-
const n = e.getHours();
|
|
479
|
-
let i;
|
|
480
|
-
switch (n === 12 ? i = T.noon : n === 0 ? i = T.midnight : i = n / 12 >= 1 ? "pm" : "am", t) {
|
|
481
|
-
case "b":
|
|
482
|
-
case "bb":
|
|
483
|
-
return r.dayPeriod(i, {
|
|
484
|
-
width: "abbreviated",
|
|
485
|
-
context: "formatting"
|
|
486
|
-
});
|
|
487
|
-
case "bbb":
|
|
488
|
-
return r.dayPeriod(i, {
|
|
489
|
-
width: "abbreviated",
|
|
490
|
-
context: "formatting"
|
|
491
|
-
}).toLowerCase();
|
|
492
|
-
case "bbbbb":
|
|
493
|
-
return r.dayPeriod(i, {
|
|
494
|
-
width: "narrow",
|
|
495
|
-
context: "formatting"
|
|
496
|
-
});
|
|
497
|
-
case "bbbb":
|
|
498
|
-
default:
|
|
499
|
-
return r.dayPeriod(i, {
|
|
500
|
-
width: "wide",
|
|
501
|
-
context: "formatting"
|
|
502
|
-
});
|
|
503
|
-
}
|
|
504
|
-
},
|
|
505
|
-
// in the morning, in the afternoon, in the evening, at night
|
|
506
|
-
B: function(e, t, r) {
|
|
507
|
-
const n = e.getHours();
|
|
508
|
-
let i;
|
|
509
|
-
switch (n >= 17 ? i = T.evening : n >= 12 ? i = T.afternoon : n >= 4 ? i = T.morning : i = T.night, t) {
|
|
510
|
-
case "B":
|
|
511
|
-
case "BB":
|
|
512
|
-
case "BBB":
|
|
513
|
-
return r.dayPeriod(i, {
|
|
514
|
-
width: "abbreviated",
|
|
515
|
-
context: "formatting"
|
|
516
|
-
});
|
|
517
|
-
case "BBBBB":
|
|
518
|
-
return r.dayPeriod(i, {
|
|
519
|
-
width: "narrow",
|
|
520
|
-
context: "formatting"
|
|
521
|
-
});
|
|
522
|
-
case "BBBB":
|
|
523
|
-
default:
|
|
524
|
-
return r.dayPeriod(i, {
|
|
525
|
-
width: "wide",
|
|
526
|
-
context: "formatting"
|
|
527
|
-
});
|
|
528
|
-
}
|
|
529
|
-
},
|
|
530
|
-
// Hour [1-12]
|
|
531
|
-
h: function(e, t, r) {
|
|
532
|
-
if (t === "ho") {
|
|
533
|
-
let n = e.getHours() % 12;
|
|
534
|
-
return n === 0 && (n = 12), r.ordinalNumber(n, { unit: "hour" });
|
|
535
|
-
}
|
|
536
|
-
return y.h(e, t);
|
|
537
|
-
},
|
|
538
|
-
// Hour [0-23]
|
|
539
|
-
H: function(e, t, r) {
|
|
540
|
-
return t === "Ho" ? r.ordinalNumber(e.getHours(), { unit: "hour" }) : y.H(e, t);
|
|
541
|
-
},
|
|
542
|
-
// Hour [0-11]
|
|
543
|
-
K: function(e, t, r) {
|
|
544
|
-
const n = e.getHours() % 12;
|
|
545
|
-
return t === "Ko" ? r.ordinalNumber(n, { unit: "hour" }) : s(n, t.length);
|
|
546
|
-
},
|
|
547
|
-
// Hour [1-24]
|
|
548
|
-
k: function(e, t, r) {
|
|
549
|
-
let n = e.getHours();
|
|
550
|
-
return n === 0 && (n = 24), t === "ko" ? r.ordinalNumber(n, { unit: "hour" }) : s(n, t.length);
|
|
551
|
-
},
|
|
552
|
-
// Minute
|
|
553
|
-
m: function(e, t, r) {
|
|
554
|
-
return t === "mo" ? r.ordinalNumber(e.getMinutes(), { unit: "minute" }) : y.m(e, t);
|
|
555
|
-
},
|
|
556
|
-
// Second
|
|
557
|
-
s: function(e, t, r) {
|
|
558
|
-
return t === "so" ? r.ordinalNumber(e.getSeconds(), { unit: "second" }) : y.s(e, t);
|
|
559
|
-
},
|
|
560
|
-
// Fraction of second
|
|
561
|
-
S: function(e, t) {
|
|
562
|
-
return y.S(e, t);
|
|
563
|
-
},
|
|
564
|
-
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
565
|
-
X: function(e, t, r) {
|
|
566
|
-
const n = e.getTimezoneOffset();
|
|
567
|
-
if (n === 0)
|
|
568
|
-
return "Z";
|
|
569
|
-
switch (t) {
|
|
570
|
-
// Hours and optional minutes
|
|
571
|
-
case "X":
|
|
572
|
-
return I(n);
|
|
573
|
-
// Hours, minutes and optional seconds without `:` delimiter
|
|
574
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
575
|
-
// so this token always has the same output as `XX`
|
|
576
|
-
case "XXXX":
|
|
577
|
-
case "XX":
|
|
578
|
-
return R(n);
|
|
579
|
-
// Hours, minutes and optional seconds with `:` delimiter
|
|
580
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
581
|
-
// so this token always has the same output as `XXX`
|
|
582
|
-
case "XXXXX":
|
|
583
|
-
case "XXX":
|
|
584
|
-
// Hours and minutes with `:` delimiter
|
|
585
|
-
default:
|
|
586
|
-
return R(n, ":");
|
|
587
|
-
}
|
|
588
|
-
},
|
|
589
|
-
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
590
|
-
x: function(e, t, r) {
|
|
591
|
-
const n = e.getTimezoneOffset();
|
|
592
|
-
switch (t) {
|
|
593
|
-
// Hours and optional minutes
|
|
594
|
-
case "x":
|
|
595
|
-
return I(n);
|
|
596
|
-
// Hours, minutes and optional seconds without `:` delimiter
|
|
597
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
598
|
-
// so this token always has the same output as `xx`
|
|
599
|
-
case "xxxx":
|
|
600
|
-
case "xx":
|
|
601
|
-
return R(n);
|
|
602
|
-
// Hours, minutes and optional seconds with `:` delimiter
|
|
603
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
604
|
-
// so this token always has the same output as `xxx`
|
|
605
|
-
case "xxxxx":
|
|
606
|
-
case "xxx":
|
|
607
|
-
// Hours and minutes with `:` delimiter
|
|
608
|
-
default:
|
|
609
|
-
return R(n, ":");
|
|
610
|
-
}
|
|
611
|
-
},
|
|
612
|
-
// Timezone (GMT)
|
|
613
|
-
O: function(e, t, r) {
|
|
614
|
-
const n = e.getTimezoneOffset();
|
|
615
|
-
switch (t) {
|
|
616
|
-
// Short
|
|
617
|
-
case "O":
|
|
618
|
-
case "OO":
|
|
619
|
-
case "OOO":
|
|
620
|
-
return "GMT" + N(n, ":");
|
|
621
|
-
// Long
|
|
622
|
-
case "OOOO":
|
|
623
|
-
default:
|
|
624
|
-
return "GMT" + R(n, ":");
|
|
625
|
-
}
|
|
626
|
-
},
|
|
627
|
-
// Timezone (specific non-location)
|
|
628
|
-
z: function(e, t, r) {
|
|
629
|
-
const n = e.getTimezoneOffset();
|
|
630
|
-
switch (t) {
|
|
631
|
-
// Short
|
|
632
|
-
case "z":
|
|
633
|
-
case "zz":
|
|
634
|
-
case "zzz":
|
|
635
|
-
return "GMT" + N(n, ":");
|
|
636
|
-
// Long
|
|
637
|
-
case "zzzz":
|
|
638
|
-
default:
|
|
639
|
-
return "GMT" + R(n, ":");
|
|
640
|
-
}
|
|
641
|
-
},
|
|
642
|
-
// Seconds timestamp
|
|
643
|
-
t: function(e, t, r) {
|
|
644
|
-
const n = Math.trunc(+e / 1e3);
|
|
645
|
-
return s(n, t.length);
|
|
646
|
-
},
|
|
647
|
-
// Milliseconds timestamp
|
|
648
|
-
T: function(e, t, r) {
|
|
649
|
-
return s(+e, t.length);
|
|
650
|
-
}
|
|
651
|
-
};
|
|
652
|
-
function N(e, t = "") {
|
|
653
|
-
const r = e > 0 ? "-" : "+", n = Math.abs(e), i = Math.trunc(n / 60), o = n % 60;
|
|
654
|
-
return o === 0 ? r + String(i) : r + String(i) + t + s(o, 2);
|
|
655
|
-
}
|
|
656
|
-
function I(e, t) {
|
|
657
|
-
return e % 60 === 0 ? (e > 0 ? "-" : "+") + s(Math.abs(e) / 60, 2) : R(e, t);
|
|
658
|
-
}
|
|
659
|
-
function R(e, t = "") {
|
|
660
|
-
const r = e > 0 ? "-" : "+", n = Math.abs(e), i = s(Math.trunc(n / 60), 2), o = s(n % 60, 2);
|
|
661
|
-
return r + i + t + o;
|
|
662
|
-
}
|
|
663
|
-
function ce(e) {
|
|
664
|
-
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
665
|
-
}
|
|
666
|
-
function fe(e) {
|
|
667
|
-
return !(!ce(e) && typeof e != "number" || isNaN(+x(e)));
|
|
668
|
-
}
|
|
669
|
-
const de = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, le = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, me = /^'([^]*?)'?$/, ge = /''/g, pe = /[a-zA-Z]/;
|
|
670
|
-
function M(e, t, r) {
|
|
671
|
-
const n = Z(), i = r?.locale ?? n.locale ?? K, o = r?.firstWeekContainsDate ?? r?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, a = r?.weekStartsOn ?? r?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, c = x(e, r?.in);
|
|
672
|
-
if (!fe(c))
|
|
673
|
-
throw new RangeError("Invalid time value");
|
|
674
|
-
let u = t.match(le).map((d) => {
|
|
675
|
-
const l = d[0];
|
|
676
|
-
if (l === "p" || l === "P") {
|
|
677
|
-
const A = ee[l];
|
|
678
|
-
return A(d, i.formatLong);
|
|
679
|
-
}
|
|
680
|
-
return d;
|
|
681
|
-
}).join("").match(de).map((d) => {
|
|
682
|
-
if (d === "''")
|
|
683
|
-
return { isToken: !1, value: "'" };
|
|
684
|
-
const l = d[0];
|
|
685
|
-
if (l === "'")
|
|
686
|
-
return { isToken: !1, value: ye(d) };
|
|
687
|
-
if (L[l])
|
|
688
|
-
return { isToken: !0, value: d };
|
|
689
|
-
if (l.match(pe))
|
|
690
|
-
throw new RangeError(
|
|
691
|
-
"Format string contains an unescaped latin alphabet character `" + l + "`"
|
|
692
|
-
);
|
|
693
|
-
return { isToken: !1, value: d };
|
|
694
|
-
});
|
|
695
|
-
i.localize.preprocessor && (u = i.localize.preprocessor(c, u));
|
|
696
|
-
const f = {
|
|
697
|
-
firstWeekContainsDate: o,
|
|
698
|
-
weekStartsOn: a,
|
|
699
|
-
locale: i
|
|
700
|
-
};
|
|
701
|
-
return u.map((d) => {
|
|
702
|
-
if (!d.isToken) return d.value;
|
|
703
|
-
const l = d.value;
|
|
704
|
-
(!r?.useAdditionalWeekYearTokens && te(l) || !r?.useAdditionalDayOfYearTokens && ne(l)) && re(l, t, String(e));
|
|
705
|
-
const A = L[l[0]];
|
|
706
|
-
return A(c, l, i.localize, f);
|
|
707
|
-
}).join("");
|
|
708
|
-
}
|
|
709
|
-
function ye(e) {
|
|
710
|
-
const t = e.match(me);
|
|
711
|
-
return t ? t[1].replace(ge, "'") : e;
|
|
712
|
-
}
|
|
713
|
-
function b(e, t) {
|
|
714
|
-
const r = () => B(t?.in, NaN), i = Te(e);
|
|
715
|
-
let o;
|
|
716
|
-
if (i.date) {
|
|
717
|
-
const f = De(i.date, 2);
|
|
718
|
-
o = we(f.restDateString, f.year);
|
|
719
|
-
}
|
|
720
|
-
if (!o || isNaN(+o)) return r();
|
|
721
|
-
const a = +o;
|
|
722
|
-
let c = 0, u;
|
|
723
|
-
if (i.time && (c = Se(i.time), isNaN(c)))
|
|
724
|
-
return r();
|
|
725
|
-
if (i.timezone) {
|
|
726
|
-
if (u = ve(i.timezone), isNaN(u)) return r();
|
|
727
|
-
} else {
|
|
728
|
-
const f = new Date(a + c), d = x(0, t?.in);
|
|
729
|
-
return d.setFullYear(
|
|
730
|
-
f.getUTCFullYear(),
|
|
731
|
-
f.getUTCMonth(),
|
|
732
|
-
f.getUTCDate()
|
|
733
|
-
), d.setHours(
|
|
734
|
-
f.getUTCHours(),
|
|
735
|
-
f.getUTCMinutes(),
|
|
736
|
-
f.getUTCSeconds(),
|
|
737
|
-
f.getUTCMilliseconds()
|
|
738
|
-
), d;
|
|
739
|
-
}
|
|
740
|
-
return x(a + c + u, t?.in);
|
|
741
|
-
}
|
|
742
|
-
const w = {
|
|
743
|
-
dateTimeDelimiter: /[T ]/,
|
|
744
|
-
timeZoneDelimiter: /[Z ]/i,
|
|
745
|
-
timezone: /([Z+-].*)$/
|
|
746
|
-
}, he = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, Re = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, xe = /^([+-])(\d{2})(?::?(\d{2}))?$/;
|
|
747
|
-
function Te(e) {
|
|
748
|
-
const t = {}, r = e.split(w.dateTimeDelimiter);
|
|
749
|
-
let n;
|
|
750
|
-
if (r.length > 2)
|
|
751
|
-
return t;
|
|
752
|
-
if (/:/.test(r[0]) ? n = r[0] : (t.date = r[0], n = r[1], w.timeZoneDelimiter.test(t.date) && (t.date = e.split(w.timeZoneDelimiter)[0], n = e.substr(
|
|
753
|
-
t.date.length,
|
|
754
|
-
e.length
|
|
755
|
-
))), n) {
|
|
756
|
-
const i = w.timezone.exec(n);
|
|
757
|
-
i ? (t.time = n.replace(i[1], ""), t.timezone = i[1]) : t.time = n;
|
|
758
|
-
}
|
|
759
|
-
return t;
|
|
760
|
-
}
|
|
761
|
-
function De(e, t) {
|
|
762
|
-
const r = new RegExp(
|
|
763
|
-
"^(?:(\\d{4}|[+-]\\d{" + (4 + t) + "})|(\\d{2}|[+-]\\d{" + (2 + t) + "})$)"
|
|
764
|
-
), n = e.match(r);
|
|
765
|
-
if (!n) return { year: NaN, restDateString: "" };
|
|
766
|
-
const i = n[1] ? parseInt(n[1]) : null, o = n[2] ? parseInt(n[2]) : null;
|
|
767
|
-
return {
|
|
768
|
-
year: o === null ? i : o * 100,
|
|
769
|
-
restDateString: e.slice((n[1] || n[2]).length)
|
|
770
|
-
};
|
|
771
|
-
}
|
|
772
|
-
function we(e, t) {
|
|
773
|
-
if (t === null) return /* @__PURE__ */ new Date(NaN);
|
|
774
|
-
const r = e.match(he);
|
|
775
|
-
if (!r) return /* @__PURE__ */ new Date(NaN);
|
|
776
|
-
const n = !!r[4], i = D(r[1]), o = D(r[2]) - 1, a = D(r[3]), c = D(r[4]), u = D(r[5]) - 1;
|
|
777
|
-
if (n)
|
|
778
|
-
return Ce(t, c, u) ? be(t, c, u) : /* @__PURE__ */ new Date(NaN);
|
|
779
|
-
{
|
|
780
|
-
const f = /* @__PURE__ */ new Date(0);
|
|
781
|
-
return !Ee(t, o, a) || !Oe(t, i) ? /* @__PURE__ */ new Date(NaN) : (f.setUTCFullYear(t, o, Math.max(i, a)), f);
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
function D(e) {
|
|
785
|
-
return e ? parseInt(e) : 1;
|
|
786
|
-
}
|
|
787
|
-
function Se(e) {
|
|
788
|
-
const t = e.match(Re);
|
|
789
|
-
if (!t) return NaN;
|
|
790
|
-
const r = E(t[1]), n = E(t[2]), i = E(t[3]);
|
|
791
|
-
return Me(r, n, i) ? r * U + n * k + i * 1e3 : NaN;
|
|
792
|
-
}
|
|
793
|
-
function E(e) {
|
|
794
|
-
return e && parseFloat(e.replace(",", ".")) || 0;
|
|
795
|
-
}
|
|
796
|
-
function ve(e) {
|
|
797
|
-
if (e === "Z") return 0;
|
|
798
|
-
const t = e.match(xe);
|
|
799
|
-
if (!t) return 0;
|
|
800
|
-
const r = t[1] === "+" ? -1 : 1, n = parseInt(t[2]), i = t[3] && parseInt(t[3]) || 0;
|
|
801
|
-
return _e(n, i) ? r * (n * U + i * k) : NaN;
|
|
802
|
-
}
|
|
803
|
-
function be(e, t, r) {
|
|
804
|
-
const n = /* @__PURE__ */ new Date(0);
|
|
805
|
-
n.setUTCFullYear(e, 0, 4);
|
|
806
|
-
const i = n.getUTCDay() || 7, o = (t - 1) * 7 + r + 1 - i;
|
|
807
|
-
return n.setUTCDate(n.getUTCDate() + o), n;
|
|
808
|
-
}
|
|
809
|
-
const Ae = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
810
|
-
function F(e) {
|
|
811
|
-
return e % 400 === 0 || e % 4 === 0 && e % 100 !== 0;
|
|
812
|
-
}
|
|
813
|
-
function Ee(e, t, r) {
|
|
814
|
-
return t >= 0 && t <= 11 && r >= 1 && r <= (Ae[t] || (F(e) ? 29 : 28));
|
|
815
|
-
}
|
|
816
|
-
function Oe(e, t) {
|
|
817
|
-
return t >= 1 && t <= (F(e) ? 366 : 365);
|
|
818
|
-
}
|
|
819
|
-
function Ce(e, t, r) {
|
|
820
|
-
return t >= 1 && t <= 53 && r >= 0 && r <= 6;
|
|
821
|
-
}
|
|
822
|
-
function Me(e, t, r) {
|
|
823
|
-
return e === 24 ? t === 0 && r === 0 : r >= 0 && r < 60 && t >= 0 && t < 60 && e >= 0 && e < 25;
|
|
824
|
-
}
|
|
825
|
-
function _e(e, t) {
|
|
826
|
-
return t >= 0 && t <= 59;
|
|
827
|
-
}
|
|
828
|
-
const Pe = Date.prototype.toJSON, Le = function() {
|
|
829
|
-
try {
|
|
830
|
-
const e = this.getHours(), t = this.getMinutes(), r = this.getSeconds(), n = this.getMilliseconds(), i = -(this.getTimezoneOffset() / 60);
|
|
831
|
-
if (i === 0.15 && e === 0 && t === 9 && r === 21 || e - i === 0 && t === 0 && r === 0 && n === 0)
|
|
832
|
-
return this.toISOString().split("T")[0];
|
|
833
|
-
const o = new Date(
|
|
834
|
-
this.getFullYear(),
|
|
835
|
-
this.getMonth(),
|
|
836
|
-
this.getDate(),
|
|
837
|
-
e,
|
|
838
|
-
t,
|
|
839
|
-
r,
|
|
840
|
-
n
|
|
841
|
-
);
|
|
842
|
-
o.setHours(this.getHours() + i);
|
|
843
|
-
const a = o.toISOString().replace(/(\.0+)?Z$/, ""), c = i >= 0 ? "+" : "-", u = Math.abs(i) < 10 ? "0" : "";
|
|
844
|
-
return a + c + u + Math.abs(i).toString().split(".")[0] + ":00";
|
|
845
|
-
} catch {
|
|
846
|
-
Date.prototype.toJSON = Pe;
|
|
847
|
-
const t = this.toJSON();
|
|
848
|
-
return Date.prototype.toJSON = Le, t;
|
|
849
|
-
}
|
|
850
|
-
}, Ve = new Intl.DateTimeFormat("fr-FR", {
|
|
851
|
-
day: "numeric",
|
|
852
|
-
month: "long",
|
|
853
|
-
weekday: "long",
|
|
854
|
-
year: "numeric"
|
|
855
|
-
}), Ne = new Intl.DateTimeFormat("fr-FR", {
|
|
856
|
-
day: "numeric",
|
|
857
|
-
month: "short"
|
|
858
|
-
}), Ie = new Intl.DateTimeFormat("fr-FR", {
|
|
859
|
-
hour: "numeric",
|
|
860
|
-
minute: "2-digit"
|
|
861
|
-
});
|
|
862
|
-
function ze(e, t) {
|
|
863
|
-
return e instanceof Date ? e : typeof e == "string" ? b(e) : t;
|
|
864
|
-
}
|
|
865
|
-
function Je(e) {
|
|
866
|
-
return ie(e, "yyyy-MM-ddXXX", /* @__PURE__ */ new Date());
|
|
867
|
-
}
|
|
868
|
-
function Ze(e) {
|
|
869
|
-
const t = b(e);
|
|
870
|
-
return e = M(t, "EEEE d LLLL yyyy H'h'mm", { locale: C }), e.endsWith(" 0h00") && (e = e.substring(0, e.length - 5)), e;
|
|
871
|
-
}
|
|
872
|
-
function Ke(e, t) {
|
|
873
|
-
return e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate() ? Ie.format(e) : Ne.format(e);
|
|
874
|
-
}
|
|
875
|
-
function et(e) {
|
|
876
|
-
const t = e instanceof Date ? e : b(e);
|
|
877
|
-
let r = M(t, "d LLLL yyyy H'h'mm", { locale: C });
|
|
878
|
-
return r.endsWith(" 0h00") && (r = r.substring(0, r.length - 5)), r;
|
|
879
|
-
}
|
|
880
|
-
function tt(e) {
|
|
881
|
-
const t = e instanceof Date ? e : b(e);
|
|
882
|
-
return M(t, "H'h'mm", { locale: C });
|
|
883
|
-
}
|
|
884
|
-
function nt(e) {
|
|
885
|
-
return new Date(e.getTime() - e.getTimezoneOffset() * 6e4).toISOString().split("T")[0];
|
|
886
|
-
}
|
|
887
|
-
function rt(e) {
|
|
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, h as Ne, a0 as Me, a2 as je, a4 as $e, M as Ve, a6 as Xe, N as we, O as qe, aj as Fe, u as Ge, a8 as ke, P as Qe, w as Je, y as ze, Q as He, R as We, j as Ye, B as Ke, aa as Ze, T as ei, I as ii, U as ti, ak as oi, V as ni, c as ri, K as si, a as ai, X as ci, d as ui, Z as fi, ab as pi, f as li, ac as di, al as mi, am as yi, ad as gi, ah as Ri, k as Si, g as vi, n as Ai, l 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-DTO3nK5V.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
|
+
var R = /* @__PURE__ */ ((e) => (e.Amendements = "amendements", e))(R || {});
|
|
5
|
+
const I = Object.values(R);
|
|
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 || {});
|
|
7
|
+
const L = Object.values(S);
|
|
8
|
+
function N(e) {
|
|
888
9
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
889
10
|
}
|
|
890
|
-
function
|
|
11
|
+
function c(e) {
|
|
891
12
|
return e.charAt(0).toLowerCase() + e.slice(1);
|
|
892
13
|
}
|
|
893
|
-
var
|
|
894
|
-
function
|
|
14
|
+
var x = /* @__PURE__ */ ((e) => (e.Failure = "FAILURE", e.Success = "SUCCESS", e))(x || {}), _ = /* @__PURE__ */ ((e) => (e.Failure = "FAILURE", e.InProgress = "IN_PROGRESS", e.Success = "SUCCESS", e))(_ || {});
|
|
15
|
+
function M(e) {
|
|
895
16
|
if (e.actesLegislatifs !== void 0) {
|
|
896
|
-
for (const t of
|
|
17
|
+
for (const t of A(e.actesLegislatifs))
|
|
897
18
|
if (t.codeActe.match(/^AN.*-COM-FOND-SAISIE$/) !== null && t.organeRef !== void 0 && t.organeRef !== "PO211494")
|
|
898
19
|
return t.organeRef;
|
|
899
20
|
}
|
|
900
21
|
}
|
|
901
|
-
function
|
|
22
|
+
function u(e) {
|
|
902
23
|
switch (e) {
|
|
903
24
|
case "Accord":
|
|
904
25
|
case "adopté":
|
|
@@ -926,69 +47,70 @@ function p(e) {
|
|
|
926
47
|
return "IN_PROGRESS";
|
|
927
48
|
case "Soixante députés au moins":
|
|
928
49
|
case "Soixante sénateurs au moins":
|
|
929
|
-
return
|
|
50
|
+
return "CONSTITU";
|
|
930
51
|
default:
|
|
931
52
|
return "IN_PROGRESS";
|
|
932
53
|
}
|
|
933
54
|
}
|
|
934
|
-
function
|
|
935
|
-
const
|
|
936
|
-
let
|
|
937
|
-
switch (
|
|
55
|
+
function P(e, t) {
|
|
56
|
+
const o = t[t.length - 1];
|
|
57
|
+
let i = null;
|
|
58
|
+
switch (o.xsiType) {
|
|
938
59
|
case "Adoption_Europe_Type":
|
|
939
|
-
return
|
|
940
|
-
currentStatus:
|
|
941
|
-
label:
|
|
60
|
+
return i = o.statutAdoption.libelle, i === void 0 ? null : {
|
|
61
|
+
currentStatus: u(i),
|
|
62
|
+
label: c(i)
|
|
942
63
|
};
|
|
943
64
|
case "ConclusionEtapeCC_Type":
|
|
944
|
-
return
|
|
945
|
-
currentStatus:
|
|
946
|
-
label:
|
|
65
|
+
return i = o.statutConclusion.libelle, i === void 0 ? null : {
|
|
66
|
+
currentStatus: u(i),
|
|
67
|
+
label: c(i)
|
|
947
68
|
};
|
|
948
69
|
case "Decision_Type": {
|
|
949
|
-
|
|
950
|
-
|
|
70
|
+
if (i = o.statutConclusion.libelle, i === void 0)
|
|
71
|
+
return null;
|
|
72
|
+
let n = u(i), r;
|
|
951
73
|
switch (e.procedureParlementaire.code) {
|
|
952
74
|
case "PROCEDURE_PARLEMENTAIRE_2":
|
|
953
|
-
["rejeté", "rejetée"].includes(
|
|
75
|
+
["rejeté", "rejetée"].includes(i) && e.actesLegislatifs !== void 0 && e.actesLegislatifs.length === 1 && (r = "FAILURE");
|
|
954
76
|
break;
|
|
955
77
|
case "PROCEDURE_PARLEMENTAIRE_8":
|
|
956
78
|
// Résolution
|
|
957
79
|
case "PROCEDURE_PARLEMENTAIRE_22":
|
|
958
|
-
|
|
80
|
+
n === "SUCCESS" ? r = "SUCCESS" : n === "FAILURE" && (r = "FAILURE");
|
|
959
81
|
break;
|
|
960
82
|
}
|
|
961
83
|
return {
|
|
962
|
-
currentStatus:
|
|
963
|
-
finalStatus:
|
|
964
|
-
label:
|
|
84
|
+
currentStatus: n,
|
|
85
|
+
finalStatus: r,
|
|
86
|
+
label: c(i)
|
|
965
87
|
};
|
|
966
88
|
}
|
|
967
89
|
case "DecisionMotionCensure_Type":
|
|
968
|
-
return
|
|
969
|
-
currentStatus:
|
|
90
|
+
return i = o.decision.libelle, i === void 0 ? null : {
|
|
91
|
+
currentStatus: u(i),
|
|
970
92
|
finalStatus: (
|
|
971
93
|
// Not sure for other cases => To improve.
|
|
972
94
|
// Engagement de la responsabilité gouvernementale
|
|
973
|
-
e.procedureParlementaire.code === "PROCEDURE_PARLEMENTAIRE_13" &&
|
|
95
|
+
e.procedureParlementaire.code === "PROCEDURE_PARLEMENTAIRE_13" && i === "Motion rejeté(e)" ? "FAILURE" : "SUCCESS"
|
|
974
96
|
),
|
|
975
97
|
// TODO: Not sure of this `true` value
|
|
976
|
-
label:
|
|
98
|
+
label: c(i)
|
|
977
99
|
};
|
|
978
100
|
case "DecisionRecevabiliteBureau_Type":
|
|
979
|
-
return
|
|
980
|
-
currentStatus:
|
|
981
|
-
label:
|
|
101
|
+
return i = o.decision.libelle, i === void 0 ? null : {
|
|
102
|
+
currentStatus: u(i),
|
|
103
|
+
label: c(i)
|
|
982
104
|
};
|
|
983
105
|
case "DeclarationGouvernement_Type":
|
|
984
|
-
return
|
|
985
|
-
currentStatus:
|
|
986
|
-
label:
|
|
106
|
+
return i = o.typeDeclaration.libelle, i === void 0 ? null : {
|
|
107
|
+
currentStatus: u(i),
|
|
108
|
+
label: c(i)
|
|
987
109
|
};
|
|
988
110
|
case "DepotMotionCensure_Type":
|
|
989
|
-
return
|
|
990
|
-
currentStatus:
|
|
991
|
-
label:
|
|
111
|
+
return i = o.typeMotionCensure.libelle, i === void 0 ? null : {
|
|
112
|
+
currentStatus: u(i),
|
|
113
|
+
label: c(i)
|
|
992
114
|
};
|
|
993
115
|
case "DepotRapport_Type":
|
|
994
116
|
return [
|
|
@@ -1001,9 +123,9 @@ function ke(e, t) {
|
|
|
1001
123
|
label: "rapport déposé"
|
|
1002
124
|
} : null;
|
|
1003
125
|
case "MotionProcedure_Type":
|
|
1004
|
-
return
|
|
1005
|
-
currentStatus:
|
|
1006
|
-
label:
|
|
126
|
+
return i = o.typeMotion.libelle, i === void 0 ? null : {
|
|
127
|
+
currentStatus: u(i),
|
|
128
|
+
label: c(i)
|
|
1007
129
|
};
|
|
1008
130
|
case "Promulgation_Type":
|
|
1009
131
|
return {
|
|
@@ -1018,272 +140,272 @@ function ke(e, t) {
|
|
|
1018
140
|
label: "retiré"
|
|
1019
141
|
};
|
|
1020
142
|
case "SaisineConseilConstit_Type":
|
|
1021
|
-
return
|
|
1022
|
-
currentStatus:
|
|
1023
|
-
label:
|
|
143
|
+
return i = o.casSaisine.libelle, i === void 0 ? null : {
|
|
144
|
+
currentStatus: u(i),
|
|
145
|
+
label: c(i)
|
|
1024
146
|
};
|
|
1025
147
|
default:
|
|
1026
148
|
return null;
|
|
1027
149
|
}
|
|
1028
150
|
}
|
|
1029
|
-
function
|
|
1030
|
-
if (
|
|
1031
|
-
for (const
|
|
1032
|
-
const
|
|
1033
|
-
if (
|
|
1034
|
-
return
|
|
151
|
+
function v(e, t, o) {
|
|
152
|
+
if (o !== void 0)
|
|
153
|
+
for (const i of [...o].reverse()) {
|
|
154
|
+
const n = i.actesLegislatifs ? v(e, [...t, i], i.actesLegislatifs) : P(e, [...t, i]);
|
|
155
|
+
if (n !== null)
|
|
156
|
+
return n;
|
|
1035
157
|
}
|
|
1036
158
|
return null;
|
|
1037
159
|
}
|
|
1038
|
-
function
|
|
1039
|
-
const t =
|
|
160
|
+
function j(e) {
|
|
161
|
+
const t = v(e, [], e.actesLegislatifs);
|
|
1040
162
|
return t !== null ? t : {
|
|
1041
163
|
currentStatus: "IN_PROGRESS",
|
|
1042
164
|
label: "en cours"
|
|
1043
165
|
};
|
|
1044
166
|
}
|
|
1045
|
-
function*
|
|
167
|
+
function* A(e) {
|
|
1046
168
|
for (const t of e)
|
|
1047
|
-
yield t, t.actesLegislatifs !== void 0 && (yield*
|
|
169
|
+
yield t, t.actesLegislatifs !== void 0 && (yield* A(t.actesLegislatifs));
|
|
1048
170
|
}
|
|
1049
|
-
function*
|
|
171
|
+
function* C(e) {
|
|
1050
172
|
yield e;
|
|
1051
173
|
for (const t of e.divisions ?? [])
|
|
1052
|
-
yield*
|
|
174
|
+
yield* C(t);
|
|
1053
175
|
}
|
|
1054
|
-
function
|
|
1055
|
-
if (!
|
|
1056
|
-
if (
|
|
1057
|
-
const
|
|
1058
|
-
|
|
176
|
+
function h(e, t, o) {
|
|
177
|
+
if (!o.has(e.uid)) {
|
|
178
|
+
if (o.add(e.uid), t.documentByUid !== void 0 && e.depotInitialLectureDefinitiveRef !== void 0) {
|
|
179
|
+
const i = t.documentByUid[e.depotInitialLectureDefinitiveRef];
|
|
180
|
+
i !== void 0 && (e.depotInitialLectureDefinitive = i, m(i, t, o));
|
|
1059
181
|
}
|
|
1060
182
|
if (t.organeByUid !== void 0 && e.organeRef !== void 0) {
|
|
1061
|
-
const
|
|
1062
|
-
|
|
183
|
+
const i = t.organeByUid[e.organeRef];
|
|
184
|
+
i !== void 0 && (e.organe = i, a(i, t, o));
|
|
1063
185
|
}
|
|
1064
186
|
if (t.organeByUid !== void 0 && e.provenanceRef !== void 0) {
|
|
1065
|
-
const
|
|
1066
|
-
|
|
187
|
+
const i = t.organeByUid[e.provenanceRef];
|
|
188
|
+
i !== void 0 && (e.provenance = i, a(i, t, o));
|
|
1067
189
|
}
|
|
1068
190
|
if (t.acteurByUid !== void 0 && e.rapporteurs !== void 0)
|
|
1069
|
-
for (const
|
|
1070
|
-
const
|
|
1071
|
-
|
|
191
|
+
for (const i of e.rapporteurs) {
|
|
192
|
+
const n = t.acteurByUid[i.acteurRef];
|
|
193
|
+
n !== void 0 && (i.acteur = n, p(n, t, o));
|
|
1072
194
|
}
|
|
1073
195
|
if (t.reunionByUid !== void 0 && e.reunionRef !== void 0) {
|
|
1074
|
-
const
|
|
1075
|
-
if (
|
|
1076
|
-
const
|
|
1077
|
-
if (
|
|
1078
|
-
for (const
|
|
1079
|
-
if (
|
|
1080
|
-
e.odj =
|
|
196
|
+
const i = t.reunionByUid[e.reunionRef];
|
|
197
|
+
if (i !== void 0 && (e.reunion = i, E(i, t, o), e.odjRef !== void 0)) {
|
|
198
|
+
const n = i.odj;
|
|
199
|
+
if (n !== void 0 && n.pointsOdj !== void 0) {
|
|
200
|
+
for (const r of n.pointsOdj)
|
|
201
|
+
if (r.uid === e.odjRef) {
|
|
202
|
+
e.odj = r;
|
|
1081
203
|
break;
|
|
1082
204
|
}
|
|
1083
205
|
}
|
|
1084
206
|
}
|
|
1085
207
|
}
|
|
1086
208
|
if (t.documentByUid !== void 0 && e.texteAdopteRef !== void 0) {
|
|
1087
|
-
const
|
|
1088
|
-
|
|
209
|
+
const i = t.documentByUid[e.texteAdopteRef];
|
|
210
|
+
i !== void 0 && (e.texteAdopte = i, m(i, t, o));
|
|
1089
211
|
}
|
|
1090
212
|
if (t.documentByUid !== void 0 && e.texteAssocieRef !== void 0) {
|
|
1091
|
-
const
|
|
1092
|
-
|
|
213
|
+
const i = t.documentByUid[e.texteAssocieRef];
|
|
214
|
+
i !== void 0 && (e.texteAssocie = i, m(i, t, o));
|
|
1093
215
|
}
|
|
1094
216
|
if (t.documentByUid !== void 0 && e.textesAssocies !== void 0)
|
|
1095
|
-
for (const
|
|
1096
|
-
const
|
|
1097
|
-
|
|
217
|
+
for (const i of e.textesAssocies) {
|
|
218
|
+
const n = t.documentByUid[i.texteAssocieRef];
|
|
219
|
+
n !== void 0 && (i.texteAssocie = n, m(n, t, o));
|
|
1098
220
|
}
|
|
1099
221
|
if (t.scrutinByUid !== void 0 && e.voteRefs !== void 0) {
|
|
1100
|
-
const
|
|
1101
|
-
for (const
|
|
1102
|
-
const
|
|
1103
|
-
|
|
222
|
+
const i = [];
|
|
223
|
+
for (const n of e.voteRefs) {
|
|
224
|
+
const r = t.scrutinByUid[n];
|
|
225
|
+
r !== void 0 && (i.push(r), U(r, t, o));
|
|
1104
226
|
}
|
|
1105
|
-
e.votes =
|
|
227
|
+
e.votes = i;
|
|
1106
228
|
}
|
|
1107
|
-
for (const
|
|
1108
|
-
|
|
229
|
+
for (const i of e.actesLegislatifs || [])
|
|
230
|
+
h(i, t, o);
|
|
1109
231
|
}
|
|
1110
232
|
return e;
|
|
1111
233
|
}
|
|
1112
|
-
function
|
|
1113
|
-
if (!
|
|
1114
|
-
for (const
|
|
1115
|
-
const
|
|
1116
|
-
for (const
|
|
1117
|
-
const
|
|
1118
|
-
|
|
234
|
+
function p(e, t, o) {
|
|
235
|
+
if (!o.has(e.uid) && (o.add(e.uid), t.organeByUid !== void 0))
|
|
236
|
+
for (const i of e.mandats || []) {
|
|
237
|
+
const n = [];
|
|
238
|
+
for (const r of i.organesRefs) {
|
|
239
|
+
const s = t.organeByUid[r];
|
|
240
|
+
s !== void 0 && (n.push(s), a(s, t, o));
|
|
1119
241
|
}
|
|
1120
|
-
|
|
242
|
+
i.organes = n;
|
|
1121
243
|
}
|
|
1122
244
|
return e;
|
|
1123
245
|
}
|
|
1124
|
-
function
|
|
1125
|
-
if (!
|
|
1126
|
-
|
|
1127
|
-
const
|
|
1128
|
-
if (t.acteurByUid !== void 0 &&
|
|
1129
|
-
const
|
|
1130
|
-
|
|
1131
|
-
}
|
|
1132
|
-
if (t.organeByUid !== void 0 &&
|
|
1133
|
-
const
|
|
1134
|
-
|
|
1135
|
-
}
|
|
1136
|
-
if (t.organeByUid !== void 0 &&
|
|
1137
|
-
const
|
|
1138
|
-
|
|
1139
|
-
}
|
|
1140
|
-
if (t.organeByUid !== void 0 &&
|
|
1141
|
-
const
|
|
1142
|
-
|
|
1143
|
-
}
|
|
1144
|
-
if (t.acteurByUid !== void 0 &&
|
|
1145
|
-
const
|
|
1146
|
-
for (const
|
|
1147
|
-
const
|
|
1148
|
-
|
|
246
|
+
function $(e, t, o) {
|
|
247
|
+
if (!o.has(e.uid)) {
|
|
248
|
+
o.add(e.uid);
|
|
249
|
+
const i = e.signataires, n = i.auteur;
|
|
250
|
+
if (t.acteurByUid !== void 0 && n.acteurRef !== void 0) {
|
|
251
|
+
const r = t.acteurByUid[n.acteurRef];
|
|
252
|
+
r !== void 0 && (n.acteur = r, p(r, t, o));
|
|
253
|
+
}
|
|
254
|
+
if (t.organeByUid !== void 0 && n.auteurRapporteurOrganeRef !== void 0) {
|
|
255
|
+
const r = t.organeByUid[n.auteurRapporteurOrganeRef];
|
|
256
|
+
r !== void 0 && (n.auteurRapporteurOrgane = r, a(r, t, o));
|
|
257
|
+
}
|
|
258
|
+
if (t.organeByUid !== void 0 && n.gouvernementRef !== void 0) {
|
|
259
|
+
const r = t.organeByUid[n.gouvernementRef];
|
|
260
|
+
r !== void 0 && (n.gouvernement = r, a(r, t, o));
|
|
261
|
+
}
|
|
262
|
+
if (t.organeByUid !== void 0 && n.groupePolitiqueRef !== void 0) {
|
|
263
|
+
const r = t.organeByUid[n.groupePolitiqueRef];
|
|
264
|
+
r !== void 0 && (n.groupePolitique = r, a(r, t, o));
|
|
265
|
+
}
|
|
266
|
+
if (t.acteurByUid !== void 0 && i.cosignatairesRefs !== void 0) {
|
|
267
|
+
const s = [];
|
|
268
|
+
for (const l of i.cosignatairesRefs || []) {
|
|
269
|
+
const f = t.acteurByUid[l];
|
|
270
|
+
f !== void 0 && (s.push(f), p(f, t, o));
|
|
1149
271
|
}
|
|
1150
|
-
|
|
272
|
+
i.cosignataires = s;
|
|
1151
273
|
}
|
|
1152
274
|
}
|
|
1153
275
|
return e;
|
|
1154
276
|
}
|
|
1155
|
-
function
|
|
1156
|
-
for (const
|
|
1157
|
-
const
|
|
1158
|
-
if (t.acteurByUid !== void 0 &&
|
|
1159
|
-
const
|
|
1160
|
-
|
|
277
|
+
function O(e, t, o) {
|
|
278
|
+
for (const i of e.auteurs) {
|
|
279
|
+
const n = i.acteur;
|
|
280
|
+
if (t.acteurByUid !== void 0 && n !== void 0) {
|
|
281
|
+
const r = t.acteurByUid[n.acteurRef];
|
|
282
|
+
r !== void 0 && (n.acteur = r, p(r, t, o));
|
|
1161
283
|
}
|
|
1162
|
-
if (t.organeByUid !== void 0 &&
|
|
1163
|
-
const
|
|
1164
|
-
|
|
284
|
+
if (t.organeByUid !== void 0 && i.organeRef !== void 0) {
|
|
285
|
+
const r = t.organeByUid[i.organeRef];
|
|
286
|
+
r !== void 0 && (i.organe = r, a(r, t, o));
|
|
1165
287
|
}
|
|
1166
288
|
}
|
|
1167
289
|
if (t.dossierByUid !== void 0) {
|
|
1168
|
-
const
|
|
1169
|
-
|
|
290
|
+
const i = t.dossierByUid[e.dossierRef];
|
|
291
|
+
i !== void 0 && (e.dossier = i, T(i, t, o));
|
|
1170
292
|
}
|
|
1171
|
-
for (const
|
|
1172
|
-
|
|
293
|
+
for (const i of e.divisions || [])
|
|
294
|
+
O(i, t, o);
|
|
1173
295
|
return e;
|
|
1174
296
|
}
|
|
1175
|
-
function
|
|
1176
|
-
if (!
|
|
1177
|
-
|
|
1178
|
-
for (const
|
|
1179
|
-
const
|
|
1180
|
-
if (t.acteurByUid !== void 0 &&
|
|
1181
|
-
const
|
|
1182
|
-
|
|
297
|
+
function m(e, t, o) {
|
|
298
|
+
if (!o.has(e.uid)) {
|
|
299
|
+
o.add(e.uid);
|
|
300
|
+
for (const i of e.auteurs) {
|
|
301
|
+
const n = i.acteur;
|
|
302
|
+
if (t.acteurByUid !== void 0 && n !== void 0) {
|
|
303
|
+
const r = t.acteurByUid[n.acteurRef];
|
|
304
|
+
r !== void 0 && (n.acteur = r, p(r, t, o));
|
|
1183
305
|
}
|
|
1184
|
-
if (t.organeByUid !== void 0 &&
|
|
1185
|
-
const
|
|
1186
|
-
|
|
306
|
+
if (t.organeByUid !== void 0 && i.organeRef !== void 0) {
|
|
307
|
+
const r = t.organeByUid[i.organeRef];
|
|
308
|
+
r !== void 0 && (i.organe = r, a(r, t, o));
|
|
1187
309
|
}
|
|
1188
310
|
}
|
|
1189
311
|
if (t.dossierByUid !== void 0) {
|
|
1190
|
-
const
|
|
1191
|
-
|
|
312
|
+
const i = t.dossierByUid[e.dossierRef];
|
|
313
|
+
i !== void 0 && (e.dossier = i, T(i, t, o));
|
|
1192
314
|
}
|
|
1193
|
-
for (const
|
|
1194
|
-
|
|
315
|
+
for (const i of e.divisions || [])
|
|
316
|
+
O(i, t, o);
|
|
1195
317
|
}
|
|
1196
318
|
return e;
|
|
1197
319
|
}
|
|
1198
|
-
function
|
|
1199
|
-
if (!
|
|
1200
|
-
|
|
1201
|
-
for (const
|
|
1202
|
-
|
|
1203
|
-
const
|
|
1204
|
-
if (
|
|
320
|
+
function T(e, t, o) {
|
|
321
|
+
if (!o.has(e.uid)) {
|
|
322
|
+
o.add(e.uid);
|
|
323
|
+
for (const n of e.actesLegislatifs ?? [])
|
|
324
|
+
h(n, t, o);
|
|
325
|
+
const i = e.initiateur;
|
|
326
|
+
if (i !== void 0) {
|
|
1205
327
|
if (t.acteurByUid !== void 0)
|
|
1206
|
-
for (const
|
|
1207
|
-
const
|
|
1208
|
-
if (
|
|
1209
|
-
for (const
|
|
1210
|
-
if (
|
|
1211
|
-
|
|
328
|
+
for (const n of i.acteurs || []) {
|
|
329
|
+
const r = t.acteurByUid[n.acteurRef];
|
|
330
|
+
if (r !== void 0 && (n.acteur = r, p(r, t, o)), r !== void 0 && n.mandatRef !== void 0) {
|
|
331
|
+
for (const s of r.mandats || [])
|
|
332
|
+
if (s.uid === n.mandatRef) {
|
|
333
|
+
n.mandat = s;
|
|
1212
334
|
break;
|
|
1213
335
|
}
|
|
1214
336
|
}
|
|
1215
337
|
}
|
|
1216
|
-
if (t.organeByUid !== void 0 &&
|
|
1217
|
-
const
|
|
1218
|
-
|
|
338
|
+
if (t.organeByUid !== void 0 && i.organeRef !== void 0) {
|
|
339
|
+
const n = t.organeByUid[i.organeRef];
|
|
340
|
+
n !== void 0 && (i.organe = n, a(n, t, o));
|
|
1219
341
|
}
|
|
1220
342
|
}
|
|
1221
343
|
}
|
|
1222
344
|
return e;
|
|
1223
345
|
}
|
|
1224
|
-
function
|
|
1225
|
-
if (!
|
|
1226
|
-
if (
|
|
1227
|
-
const
|
|
1228
|
-
|
|
346
|
+
function a(e, t, o) {
|
|
347
|
+
if (!o.has(e.uid)) {
|
|
348
|
+
if (o.add(e.uid), t.organeByUid !== void 0 && e.organeParentRef !== void 0) {
|
|
349
|
+
const i = t.organeByUid[e.organeParentRef];
|
|
350
|
+
i !== void 0 && (e.organeParent = i, a(i, t, o));
|
|
1229
351
|
}
|
|
1230
352
|
if (t.organeByUid !== void 0 && e.organePrecedentRef !== void 0) {
|
|
1231
|
-
const
|
|
1232
|
-
|
|
353
|
+
const i = t.organeByUid[e.organePrecedentRef];
|
|
354
|
+
i !== void 0 && (e.organePrecedent = i, a(i, t, o));
|
|
1233
355
|
}
|
|
1234
356
|
}
|
|
1235
357
|
return e;
|
|
1236
358
|
}
|
|
1237
|
-
function
|
|
1238
|
-
if (!
|
|
1239
|
-
|
|
1240
|
-
const
|
|
1241
|
-
if (
|
|
359
|
+
function E(e, t, o) {
|
|
360
|
+
if (!o.has(e.uid)) {
|
|
361
|
+
o.add(e.uid);
|
|
362
|
+
const i = e.demandeurs;
|
|
363
|
+
if (i !== void 0) {
|
|
1242
364
|
if (t.acteurByUid !== void 0)
|
|
1243
|
-
for (const
|
|
1244
|
-
const
|
|
1245
|
-
|
|
365
|
+
for (const n of i.acteurs || []) {
|
|
366
|
+
const r = t.acteurByUid[n.acteurRef];
|
|
367
|
+
r !== void 0 && (n.acteur = r, p(r, t, o));
|
|
1246
368
|
}
|
|
1247
369
|
if (t.organeByUid !== void 0) {
|
|
1248
|
-
const
|
|
1249
|
-
if (
|
|
1250
|
-
const
|
|
1251
|
-
|
|
370
|
+
const n = i.organe;
|
|
371
|
+
if (n !== void 0) {
|
|
372
|
+
const r = t.organeByUid[n.organeRef];
|
|
373
|
+
r !== void 0 && (n.organe = r, a(r, t, o));
|
|
1252
374
|
}
|
|
1253
375
|
}
|
|
1254
376
|
}
|
|
1255
377
|
if (t.organeByUid !== void 0 && e.organeReuniRef !== void 0) {
|
|
1256
|
-
const
|
|
1257
|
-
|
|
378
|
+
const n = t.organeByUid[e.organeReuniRef];
|
|
379
|
+
n !== void 0 && (e.organeReuni = n, a(n, t, o));
|
|
1258
380
|
}
|
|
1259
381
|
if (t.acteurByUid !== void 0) {
|
|
1260
|
-
const
|
|
1261
|
-
if (
|
|
1262
|
-
for (const
|
|
1263
|
-
const
|
|
1264
|
-
|
|
382
|
+
const n = e.participants;
|
|
383
|
+
if (n !== void 0)
|
|
384
|
+
for (const r of n.participantsInternes || []) {
|
|
385
|
+
const s = t.acteurByUid[r.acteurRef];
|
|
386
|
+
s !== void 0 && (r.acteur = s, p(s, t, o));
|
|
1265
387
|
}
|
|
1266
388
|
}
|
|
1267
389
|
}
|
|
1268
390
|
return e;
|
|
1269
391
|
}
|
|
1270
|
-
function
|
|
1271
|
-
return
|
|
392
|
+
function U(e, t, o) {
|
|
393
|
+
return o.has(e.uid) || o.add(e.uid), e;
|
|
1272
394
|
}
|
|
1273
|
-
function
|
|
395
|
+
function V(e) {
|
|
1274
396
|
if (e == null)
|
|
1275
397
|
return "Organe inconnu";
|
|
1276
398
|
switch (e.codeType) {
|
|
1277
|
-
case
|
|
399
|
+
case "CMP":
|
|
1278
400
|
return "Commission mixte paritaire";
|
|
1279
|
-
case
|
|
401
|
+
case "GOUVERNEMENT":
|
|
1280
402
|
return e.libelle;
|
|
1281
403
|
default:
|
|
1282
404
|
return e.libelleAbrege;
|
|
1283
405
|
}
|
|
1284
406
|
}
|
|
1285
|
-
var
|
|
1286
|
-
const
|
|
407
|
+
var B = /* @__PURE__ */ ((e) => (e.Html = "html", e.Pdf = "pdf", e.RawHtml = "raw-html", e))(B || {});
|
|
408
|
+
const D = {
|
|
1287
409
|
ACIN: {
|
|
1288
410
|
directory: "projets",
|
|
1289
411
|
prefix: "pl",
|
|
@@ -1395,7 +517,7 @@ const $e = {
|
|
|
1395
517
|
suffix: "-a0"
|
|
1396
518
|
}
|
|
1397
519
|
};
|
|
1398
|
-
function
|
|
520
|
+
function b(e) {
|
|
1399
521
|
switch (e) {
|
|
1400
522
|
case "html":
|
|
1401
523
|
return ".asp";
|
|
@@ -1405,7 +527,7 @@ function We(e) {
|
|
|
1405
527
|
return ".asp";
|
|
1406
528
|
}
|
|
1407
529
|
}
|
|
1408
|
-
function*
|
|
530
|
+
function* X(e, t = void 0, o = !1) {
|
|
1409
531
|
if (t === void 0 || t === "raw-html") {
|
|
1410
532
|
yield {
|
|
1411
533
|
format: "raw-html",
|
|
@@ -1416,27 +538,27 @@ function* ut(e, t = void 0, r = !1) {
|
|
|
1416
538
|
type: "dyn-docs",
|
|
1417
539
|
url: `https://www.assemblee-nationale.fr/dyn/docs/${e.uid}.raw`
|
|
1418
540
|
};
|
|
1419
|
-
const
|
|
541
|
+
const i = y(
|
|
1420
542
|
e,
|
|
1421
543
|
"raw-html",
|
|
1422
|
-
|
|
544
|
+
o
|
|
1423
545
|
);
|
|
1424
|
-
|
|
546
|
+
i !== null && (yield {
|
|
1425
547
|
format: "raw-html",
|
|
1426
|
-
type:
|
|
1427
|
-
url:
|
|
548
|
+
type: i.directory.replaceAll("/", "-"),
|
|
549
|
+
url: i.url
|
|
1428
550
|
});
|
|
1429
551
|
}
|
|
1430
552
|
if (t === void 0 || t === "html") {
|
|
1431
|
-
const
|
|
553
|
+
const i = y(
|
|
1432
554
|
e,
|
|
1433
555
|
"html",
|
|
1434
|
-
|
|
556
|
+
o
|
|
1435
557
|
);
|
|
1436
|
-
|
|
558
|
+
i !== null && (yield {
|
|
1437
559
|
format: "html",
|
|
1438
|
-
type:
|
|
1439
|
-
url:
|
|
560
|
+
type: i.directory.replaceAll("/", "-"),
|
|
561
|
+
url: i.url
|
|
1440
562
|
});
|
|
1441
563
|
}
|
|
1442
564
|
if (t === void 0 || t === "pdf") {
|
|
@@ -1449,174 +571,208 @@ function* ut(e, t = void 0, r = !1) {
|
|
|
1449
571
|
type: "dyn-docs",
|
|
1450
572
|
url: `https://www.assemblee-nationale.fr/dyn/docs/${e.uid}.pdf`
|
|
1451
573
|
};
|
|
1452
|
-
const
|
|
574
|
+
const i = y(
|
|
1453
575
|
e,
|
|
1454
576
|
"pdf"
|
|
1455
577
|
/* Pdf */
|
|
1456
578
|
);
|
|
1457
|
-
|
|
579
|
+
i !== null && (yield {
|
|
1458
580
|
format: "pdf",
|
|
1459
|
-
type:
|
|
1460
|
-
url:
|
|
581
|
+
type: i.directory.replaceAll("/", "-"),
|
|
582
|
+
url: i.url
|
|
1461
583
|
});
|
|
1462
584
|
}
|
|
1463
585
|
}
|
|
1464
|
-
function
|
|
1465
|
-
const
|
|
1466
|
-
return
|
|
586
|
+
function w(e, t) {
|
|
587
|
+
const o = y(e, t);
|
|
588
|
+
return o === null ? null : o.url;
|
|
1467
589
|
}
|
|
1468
|
-
function
|
|
590
|
+
function q(e) {
|
|
1469
591
|
const t = /^VTANR([0-9]+)L([0-9]+)V([0-9]+)$/.exec(e.uid);
|
|
1470
592
|
if (t === null)
|
|
1471
593
|
return console.log(
|
|
1472
594
|
`Unable to generate URL from scrutin with unexpected UID: "${e.uid}"`
|
|
1473
595
|
), null;
|
|
1474
|
-
const
|
|
1475
|
-
return `http://www2.assemblee-nationale.fr/scrutins/detail/(legislature)/${
|
|
596
|
+
const o = t[2], i = t[3];
|
|
597
|
+
return `http://www2.assemblee-nationale.fr/scrutins/detail/(legislature)/${o}/(num)/${i}`;
|
|
1476
598
|
}
|
|
1477
|
-
function
|
|
1478
|
-
const
|
|
599
|
+
function y(e, t, o = !1) {
|
|
600
|
+
const i = b(t), n = /^(.{4})([ANS]*)(R[0-9])([LS]*)([0-9]*)([BTACP]*)(.*)$/.exec(
|
|
1479
601
|
e.uid
|
|
1480
602
|
);
|
|
1481
|
-
if (
|
|
1482
|
-
return
|
|
603
|
+
if (n === null)
|
|
604
|
+
return o && console.log(
|
|
1483
605
|
`Unable to generate URL from document or division with unexpected UID: "${e.uid}"`
|
|
1484
606
|
), null;
|
|
1485
|
-
if (
|
|
1486
|
-
return
|
|
607
|
+
if (n[2] === "SN")
|
|
608
|
+
return o && console.log(
|
|
1487
609
|
`Unable to generate URL for document or division in Sénat. UID: "${e.uid}"`
|
|
1488
610
|
), null;
|
|
1489
|
-
const
|
|
1490
|
-
let
|
|
611
|
+
const s = n[5];
|
|
612
|
+
let l = n[7];
|
|
1491
613
|
if (t === "raw-html")
|
|
1492
614
|
return {
|
|
1493
615
|
directory: "textes",
|
|
1494
|
-
url: `https://www.assemblee-nationale.fr/${
|
|
616
|
+
url: `https://www.assemblee-nationale.fr/${s}/textes/${l}${i}`
|
|
1495
617
|
};
|
|
1496
|
-
let
|
|
618
|
+
let f = {
|
|
1497
619
|
BTC: "TCOM",
|
|
1498
620
|
BTA: "TADO",
|
|
1499
621
|
TAP: "TADO"
|
|
1500
|
-
}[
|
|
1501
|
-
e.classification !== void 0 && e.classification.sousType !== void 0 && e.classification.sousType.code === "COMPA" && (
|
|
1502
|
-
const
|
|
1503
|
-
if (
|
|
1504
|
-
return
|
|
1505
|
-
`Unable to generate URL from document or division of UID "${e.uid}" and type "${
|
|
622
|
+
}[n[6]] || n[1];
|
|
623
|
+
e.classification !== void 0 && e.classification.sousType !== void 0 && e.classification.sousType.code === "COMPA" && (l = l.replace(/-COMPA/, "-aCOMPA")), f == "AVCE" && (f = `AVCE${e.classification.famille?.classe.code}`);
|
|
624
|
+
const d = D[f];
|
|
625
|
+
if (d === void 0)
|
|
626
|
+
return o && console.log(
|
|
627
|
+
`Unable to generate URL from document or division of UID "${e.uid}" and type "${f}"`
|
|
1506
628
|
), null;
|
|
1507
|
-
const
|
|
629
|
+
const g = t === "pdf" ? `pdf/${d.directory}` : d.directory;
|
|
1508
630
|
return {
|
|
1509
|
-
directory:
|
|
1510
|
-
url: `https://www.assemblee-nationale.fr/${
|
|
631
|
+
directory: g,
|
|
632
|
+
url: `https://www.assemblee-nationale.fr/${s}/${g}/${d.prefix}${l}${d.suffix}${i}`
|
|
1511
633
|
};
|
|
1512
634
|
}
|
|
1513
635
|
export {
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
636
|
+
k as AccordGouvernementDepotHorsDelaiSchema,
|
|
637
|
+
Q as ActionSchema,
|
|
638
|
+
J as AmendementsConvert,
|
|
639
|
+
Te as CausePositionVoteSchema,
|
|
640
|
+
xe as CivSchema,
|
|
641
|
+
_e as CodeActeSchema,
|
|
642
|
+
z as CodeEtatSchema,
|
|
643
|
+
Pe as CodeNatureDepSchema,
|
|
644
|
+
Ce as CodeSortScrutinSchema,
|
|
645
|
+
Ee as CodeTypeOrganeSchema,
|
|
646
|
+
Ue as CodeTypeVoteSchema,
|
|
647
|
+
zi as DecisionSchema,
|
|
648
|
+
Be as DepNaisSchema,
|
|
649
|
+
H as DivisionTypeSchema,
|
|
650
|
+
B as DocumentUrlFormat,
|
|
651
|
+
De as EtatSchema,
|
|
652
|
+
R as Facet,
|
|
653
|
+
be as FamSocProEnumSchema,
|
|
654
|
+
x as FinalStatus,
|
|
655
|
+
S as Follow,
|
|
656
|
+
Ie as FormatReunionSchema,
|
|
657
|
+
Le as Legislature,
|
|
658
|
+
Ne as LibelleSchema,
|
|
659
|
+
Me as LibelleSortScrutinSchema,
|
|
660
|
+
je as LibelleTypeVoteSchema,
|
|
661
|
+
$e as LieuVoteSchema,
|
|
662
|
+
Ve as MandatXsiTypeSchema,
|
|
663
|
+
Xe as ModePublicationDesVotesSchema,
|
|
664
|
+
we as NatureTravauxOdjSchema,
|
|
665
|
+
qe as OrganeXsiTypeSchema,
|
|
666
|
+
Fe as PersonneAuditionneeXsiTypeSchema,
|
|
667
|
+
Ge as PointOdjXsiTypeSchema,
|
|
668
|
+
ke as PositionMajoritaireSchema,
|
|
669
|
+
Qe as PositionPolitiqueSchema,
|
|
670
|
+
Je as PresenceSchema,
|
|
671
|
+
ze as ProcedureSchema,
|
|
672
|
+
He as QuantiemeSchema,
|
|
673
|
+
Hi as QuestionXsiTypeSchema,
|
|
674
|
+
We as RegimeSchema,
|
|
675
|
+
Ye as RegionTypeSchema,
|
|
676
|
+
Ke as ReunionXsiTypeSchema,
|
|
677
|
+
_ as StatusOnly,
|
|
678
|
+
W as TypeAuteurSchema,
|
|
679
|
+
Ze as TypeMajoriteSchema,
|
|
680
|
+
ei as TypePointOdjSchema,
|
|
681
|
+
Y as TypePositionSchema,
|
|
682
|
+
Wi as TypeQuestionSchema,
|
|
683
|
+
ii as TypeReunionSchema,
|
|
684
|
+
ti as UidXsiTypeSchema,
|
|
685
|
+
K as accordGouvernementDepotHorsDelaiOptions,
|
|
686
|
+
oi as acteLegislatifXsiTypeOptions,
|
|
687
|
+
Z as actionOptions,
|
|
688
|
+
I as allFacets,
|
|
689
|
+
L as allFollows,
|
|
690
|
+
ee as avantAApresOptions,
|
|
691
|
+
N as capitalizeFirstLetter,
|
|
692
|
+
ni as causePositionVoteOptions,
|
|
693
|
+
ri as civOptions,
|
|
694
|
+
si as codeActeOptions,
|
|
695
|
+
ie as codeEtatOptions,
|
|
696
|
+
ai as codeNatureDepOptions,
|
|
697
|
+
ci as codeSortScrutinOptions,
|
|
698
|
+
ui as codeTypeOrganeOptions,
|
|
699
|
+
fi as codeTypeVoteOptions,
|
|
700
|
+
M as commissionFondUidFromDossier,
|
|
701
|
+
pi as compteRenduUidRegex,
|
|
702
|
+
te as dateFromNullableDateOrIsoString,
|
|
703
|
+
oe as dateFromYearMonthDayTimezoneString,
|
|
704
|
+
Yi as decisionOptions,
|
|
705
|
+
li as depNaisOptions,
|
|
706
|
+
ne as displayDateFromLocalIsoString,
|
|
707
|
+
re as divisionTypeOptions,
|
|
708
|
+
di as documentUidRegex,
|
|
709
|
+
mi as documentXsiTypeOptions,
|
|
710
|
+
yi as dossierParlementaireXsiTypeOptions,
|
|
711
|
+
gi as dossierUidRegex,
|
|
712
|
+
se as etatAmendementCodeOptions,
|
|
713
|
+
ae as etatAmendementLibelleOptions,
|
|
714
|
+
Ri as etatCycleDeVieOptions,
|
|
715
|
+
Si as etatOptions,
|
|
716
|
+
ce as existingDateToJson,
|
|
717
|
+
vi as famSocProEnumOptions,
|
|
718
|
+
ue as formatRelativeFrenchTime,
|
|
719
|
+
Ai as formatReunionOptions,
|
|
720
|
+
fe as frenchDateFormat,
|
|
721
|
+
pe as frenchDateSameYearShortFormat,
|
|
722
|
+
le as frenchDateWithoutDayOfWeekFromDateOrString,
|
|
723
|
+
de as frenchTimeFormat,
|
|
724
|
+
me as frenchTimeFromDateOrString,
|
|
725
|
+
p as insertActeurReferences,
|
|
726
|
+
$ as insertAmendementReferences,
|
|
727
|
+
m as insertDocumentReferences,
|
|
728
|
+
T as insertDossierReferences,
|
|
729
|
+
a as insertOrganeReferences,
|
|
730
|
+
E as insertReunionReferences,
|
|
731
|
+
U as insertScrutinReferences,
|
|
732
|
+
X as iterDocumentOrDivisionUrls,
|
|
733
|
+
hi as libelleOptions,
|
|
734
|
+
Oi as libelleSortScrutinOptions,
|
|
735
|
+
Ti as libelleTypeVoteOptions,
|
|
736
|
+
xi as lieuVoteOptions,
|
|
737
|
+
ye as localIso8601StringFromDate,
|
|
738
|
+
_i as mandatXsiTypeOptions,
|
|
739
|
+
Pi as modePublicationDesVotesOptions,
|
|
740
|
+
Ci as natureTravauxOdjOptions,
|
|
741
|
+
Ei as organeXsiTypeOptions,
|
|
742
|
+
ge as patchedDateToJson,
|
|
743
|
+
Ui as personneAuditionneeXsiTypeOptions,
|
|
744
|
+
Bi as pointOdjXsiTypeOptions,
|
|
745
|
+
Di as positionMajoritaireOptions,
|
|
746
|
+
bi as positionPolitiqueOptions,
|
|
747
|
+
Ii as presenceOptions,
|
|
748
|
+
Li as procedureOptions,
|
|
749
|
+
Ni as quantiemeOptions,
|
|
750
|
+
Mi as questionUidRegex,
|
|
751
|
+
Ki as questionXsiTypeOptions,
|
|
752
|
+
ji as regimeOptions,
|
|
753
|
+
$i as regionTypeOptions,
|
|
754
|
+
Vi as reunionUidRegex,
|
|
755
|
+
Xi as reunionXsiTypeOptions,
|
|
756
|
+
wi as scrutinUidRegex,
|
|
757
|
+
V as shortNameFromOrgane,
|
|
758
|
+
Re as sortAmendementOptions,
|
|
759
|
+
P as stateFromActePath,
|
|
760
|
+
v as stateFromActes,
|
|
761
|
+
j as stateFromDossier,
|
|
762
|
+
u as statusFromCodierLibelle,
|
|
763
|
+
Se as typeAuteurOptions,
|
|
764
|
+
qi as typeJoQuestionOptions,
|
|
765
|
+
Fi as typeMajoriteOptions,
|
|
766
|
+
ve as typeMimeNomOptions,
|
|
767
|
+
Ae as typeMimeTypeOptions,
|
|
768
|
+
Gi as typePointOdjOptions,
|
|
769
|
+
he as typePositionOptions,
|
|
770
|
+
Zi as typeQuestionOptions,
|
|
771
|
+
ki as typeReunionOptions,
|
|
772
|
+
Qi as uidXsiTypeOptions,
|
|
773
|
+
c as uncapitalizeFirstLetter,
|
|
774
|
+
w as urlFromDocument,
|
|
775
|
+
q as urlFromScrutin,
|
|
776
|
+
A as walkActes,
|
|
777
|
+
C as walkDocumentAndDivisions
|
|
1622
778
|
};
|