@datagouv/components-next 1.5.1-dev.1397.g7333a397 → 1.5.1-dev.1399.g35c3eb9f

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.
Files changed (59) hide show
  1. package/dist/{Control-DPuXeUqi.js → Control-BbyEe8x_.js} +7 -7
  2. package/dist/{Datafair.client-LlEgG7WU.js → Datafair.client-CQNxPvZt.js} +1 -1
  3. package/dist/{Image-DVWRoLLI.js → Image-umPJvSA8.js} +16 -13
  4. package/dist/{ImagePreview.client-Db5dmxMP.js → ImagePreview.client-DbkBb47d.js} +1 -1
  5. package/dist/{JsonPreview.client-DKy2AexC.js → JsonPreview.client-Ba-_lUCj.js} +2 -2
  6. package/dist/{Layer-D_5tYbVm.js → Layer-CagLskq_.js} +67 -61
  7. package/dist/{Map-CTBJEae_.js → Map-Cek3vwVi.js} +1094 -932
  8. package/dist/{MapContainer.client-DoN1jSzM.js → MapContainer.client-BsJGdnP2.js} +7 -7
  9. package/dist/{OSM-B5Zc3qAf.js → OSM-Bm69tJpi.js} +1 -1
  10. package/dist/{PdfPreview.client-D3wHTDb9.js → PdfPreview.client-CJbZbXds.js} +3 -3
  11. package/dist/{PdfSkeleton-nas5Pmia.js → PdfSkeleton-sY8nI3Lv.js} +1 -1
  12. package/dist/{Pmtiles.client-DncYrZSp.js → Pmtiles.client-Wea3YvTU.js} +9997 -9276
  13. package/dist/{PreviewError-EeaGx3SL.js → PreviewError-BzUvwX47.js} +329 -290
  14. package/dist/{PreviewWrapper-BhldDdXK.js → PreviewWrapper-CwOJqQSn.js} +1 -1
  15. package/dist/{ScaleLine-C_tuJ6VG.js → ScaleLine-C8xmHdEk.js} +15 -8
  16. package/dist/Tile-DfivRbb3.js +479 -0
  17. package/dist/{Tile-8nHSuqcv.js → Tile-DvVc2IeI.js} +220 -151
  18. package/dist/{TileImage-CgO5alXc.js → TileImage-CxC7EP7_.js} +53 -45
  19. package/dist/{View-Dad8DfSD.js → View-44C9US2-.js} +210 -208
  20. package/dist/{XmlPreview.client-CmGbc3c3.js → XmlPreview.client-xXdnrUCW.js} +2 -2
  21. package/dist/assets/maplibre-gl-worker-Dlv-oLtU.js +10 -0
  22. package/dist/components-next.css +1 -1
  23. package/dist/components-next.js +11889 -10504
  24. package/dist/components.css +2 -2
  25. package/dist/{france-BtSQqcqV.js → france-BYzDEL-I.js} +23 -23
  26. package/dist/{proj-COhZ08DR.js → proj-0ED4AWuV.js} +260 -246
  27. package/dist/purify.es-D-UgLNEK.js +848 -0
  28. package/dist/{src-DJJgtynU.js → src-DdUvT8zT.js} +1972 -1306
  29. package/dist/{transform-CNeEnSK9.js → transform-bRfffInI.js} +3 -3
  30. package/package.json +18 -18
  31. package/src/components/AccessTypeBadge.vue +46 -0
  32. package/src/components/Badge.vue +74 -0
  33. package/src/components/ChartBadge.vue +17 -0
  34. package/src/components/ChartCard.vue +4 -17
  35. package/src/components/DataserviceBadge.vue +17 -0
  36. package/src/components/DataserviceCard.vue +12 -31
  37. package/src/components/DatasetBadge.vue +17 -0
  38. package/src/components/DatasetCard.vue +11 -15
  39. package/src/components/DatasetInformation/DatasetInformationSection.vue +3 -7
  40. package/src/components/DatasetInformation/DatasetSchemaSection.vue +1 -4
  41. package/src/components/DatasetLabelTag.vue +4 -15
  42. package/src/components/Form/SelectGroup.vue +0 -2
  43. package/src/components/LicenseBadge.vue +7 -12
  44. package/src/components/ObjectStatusBadge.vue +47 -0
  45. package/src/components/OrganizationBadge.vue +24 -0
  46. package/src/components/OrganizationTypeBadge.vue +5 -4
  47. package/src/components/ResourceAccordion/SchemaBadge.vue +6 -2
  48. package/src/components/ReuseBadge.vue +17 -0
  49. package/src/components/ReuseCard.vue +5 -20
  50. package/src/components/SchemaCard.vue +1 -5
  51. package/src/components/StatBox.vue +5 -3
  52. package/src/components/Tag.vue +61 -15
  53. package/src/functions/objectStatus.ts +34 -0
  54. package/src/main.ts +25 -3
  55. package/src/types/ui.ts +2 -0
  56. package/dist/Tile-Bu5lF4M5.js +0 -463
  57. package/dist/assets/maplibre-gl-worker-CEzvAyZY.js +0 -10
  58. package/dist/purify.es-eElsWhh7.js +0 -876
  59. package/src/components/ObjectCardBadge.vue +0 -33
@@ -63,7 +63,7 @@ function ie(e) {
63
63
  }
64
64
  return n;
65
65
  }
66
- // ../node_modules/vue-router/dist/useApi-CUWMwLLw.js
66
+ // ../node_modules/vue-router/dist/useApi-SF8tY_yo.js
67
67
  var ae = () => {}, z = Array.isArray;
68
68
  Symbol(process.env.NODE_ENV === "production" ? "" : "navigation failure");
69
69
  var B = [
@@ -71,24 +71,48 @@ var B = [
71
71
  "query",
72
72
  "hash"
73
73
  ];
74
- function oe(e) {
74
+ function V(e) {
75
75
  if (!e || typeof e == "string") return e;
76
76
  if (e.path != null) return e.path;
77
77
  let t = {};
78
78
  for (let n of B) n in e && (t[n] = e[n]);
79
79
  return JSON.stringify(t, null, 2);
80
80
  }
81
- var se = /*#__PURE__*/ ie({
81
+ var oe = /*#__PURE__*/ ie({
82
82
  reporters: [/*#__PURE__*/ ne()],
83
83
  codes: {
84
84
  VUE_ROUTER_R0122: {
85
85
  why: (e) => `The optional path param "${e.param}" is being removed with ${e.value}.`,
86
86
  fix: "Use null to remove an optional path param."
87
87
  },
88
+ VUE_ROUTER_R0124: {
89
+ why: (e) => `The repeatable param "${e.param}" cannot be empty.`,
90
+ fix: "Pass at least one value, or make the param optional."
91
+ },
92
+ VUE_ROUTER_R0123: {
93
+ why: (e) => `The query value of "${e.key}" is ignored because a param already sets this key.`,
94
+ fix: (e) => `Pass the value in \`params\` instead of \`query\`, or omit "${e.key}" from \`query\`.`
95
+ },
96
+ VUE_ROUTER_R0126: {
97
+ why: (e) => `An error was thrown while matching "${e.path}" against the route "${e.name}". The route is skipped.`,
98
+ fix: "Return null from match() to skip a route, or call miss() in a param parser. Fix the thrown error if it is a bug."
99
+ },
100
+ VUE_ROUTER_R0129: {
101
+ why: (e) => `Cannot resolve a relative location without a "name": there is no current location, or the current location has no route. This crashes in production.\nLocation: ${V(e.location)}`,
102
+ fix: "Pass the location it is relative to as the second argument of resolve(), or use a location with a \"name\" or an absolute \"path\"."
103
+ },
104
+ VUE_ROUTER_R0125: {
105
+ why: (e) => `The params, query, or hash do not match the route "${e.name}".`,
106
+ fix: "Pass params, query, and hash values that the route matchers accept."
107
+ },
88
108
  VUE_ROUTER_D0001: {
89
109
  why: (e) => `Route "${e.name}" uses beforeEnter, which is deprecated in the experimental router.`,
90
110
  fix: "Move the condition to the route meta field and check to.meta in router.beforeEach()."
91
111
  },
112
+ VUE_ROUTER_R0130: {
113
+ why: (e) => `Cannot resolve a relative location before the initial navigation: there is no current route yet. This crashes in production.\nLocation: ${V(e.location)}`,
114
+ fix: "Use a location with a \"name\" or an absolute \"path\", await router.isReady() before mounting the app, or render the <RouterLink> inside a page component so it only renders after the initial navigation."
115
+ },
92
116
  VUE_ROUTER_D0002: {
93
117
  why: (e) => `The query value of "${e.key}" is not an array (${e.value}). Non array query values are deprecated in the experimental router.`,
94
118
  fix: (e) => `Wrap the value in an array: \`{ ${JSON.stringify(e.key)}: [${e.value}] }\`. Use undefined to remove the key.`
@@ -104,16 +128,16 @@ var se = /*#__PURE__*/ ie({
104
128
  docs: "https://router.vuejs.org/guide/advanced/dynamic-routing.html#Removing-routes"
105
129
  },
106
130
  VUE_ROUTER_R0003: {
107
- why: (e) => `Location "${oe(e.location)}" resolved to "${e.href}". A resolved location cannot start with multiple slashes.`,
131
+ why: (e) => `Location "${V(e.location)}" resolved to "${e.href}". A resolved location cannot start with multiple slashes.`,
108
132
  fix: "Remove the leading slashes from the location or fix the route configuration."
109
133
  },
110
134
  VUE_ROUTER_R0004: {
111
- why: (e) => `No match found for location with path "${oe(e.path)}"`,
135
+ why: (e) => `No match found for location with path "${V(e.path)}"`,
112
136
  fix: "Add a route matching this path or check for typos in the location.",
113
137
  docs: "https://router.vuejs.org/guide/essentials/dynamic-matching.html#Catch-all-404-Not-found-Route"
114
138
  },
115
139
  VUE_ROUTER_R0005: {
116
- why: (e) => `router.resolve() was passed an invalid location. This will fail in production.\nLocation: ${oe(e.rawLocation)}`,
140
+ why: (e) => `router.resolve() was passed an invalid location. This will fail in production.\nLocation: ${V(e.rawLocation)}`,
117
141
  fix: "Pass a valid route location: a string path or an object with `path` or `name`."
118
142
  },
119
143
  VUE_ROUTER_R0006: {
@@ -276,6 +300,10 @@ var se = /*#__PURE__*/ ie({
276
300
  why: (e) => `Finding ancestor route "${e.ancestor}" failed for "${e.record}"`,
277
301
  fix: "Report a reproduction at https://github.com/vuejs/router/issues/new/choose."
278
302
  },
303
+ VUE_ROUTER_R0106: {
304
+ why: (e) => `Repeatable param "${e.name}" was provided without an array.`,
305
+ fix: (e) => `Pass it as an array, even when it has one item: { ${JSON.stringify(e.name)}: [value] }. If the param is optional (e.g. ":${e.name}*"), pass an empty array or null to remove it.`
306
+ },
279
307
  VUE_ROUTER_R0110: {
280
308
  why: "A hash base must end with a \"#\"",
281
309
  fix: (e) => `Append "#" to the "base" argument passed to "createWebHashHistory()": "${e.base}" should be "${e.suggestion}".`
@@ -289,6 +317,16 @@ var se = /*#__PURE__*/ ie({
289
317
  fix: "Merge the router's state into your own when calling it manually: `history.replaceState({ ...history.state, ...yourState }, '', url)`.",
290
318
  docs: "https://router.vuejs.org/guide/migration.html#Usage-of-history-state"
291
319
  },
320
+ VUE_ROUTER_R0127: {
321
+ why: "The page is loaded from a file:// URL. createWebHistory() cannot reliably change the path of file:// URLs.",
322
+ fix: "Use createWebHashHistory() instead.",
323
+ docs: "https://router.vuejs.org/guide/essentials/history-mode.html#hash-mode"
324
+ },
325
+ VUE_ROUTER_R0128: {
326
+ why: "The page is loaded in an about: URL (e.g. an iframe with srcdoc). Browsers do not let the web and hash histories change this URL.",
327
+ fix: "Use createMemoryHistory() instead.",
328
+ docs: "https://router.vuejs.org/guide/essentials/history-mode.html#memory-mode"
329
+ },
292
330
  VUE_ROUTER_R1001: {
293
331
  why: (e) => `Data loader "${String(e.key)}" has a different parent than the current context. This shouldn't be happening.`,
294
332
  fix: "Report a bug with a minimal reproduction at https://github.com/vuejs/router/."
@@ -334,46 +372,45 @@ var se = /*#__PURE__*/ ie({
334
372
  }
335
373
  });
336
374
  Symbol(process.env.NODE_ENV === "production" ? "" : "router view location matched"), Symbol(process.env.NODE_ENV === "production" ? "" : "router view depth");
337
- var V = Symbol(process.env.NODE_ENV === "production" ? "" : "router"), ce = Symbol(process.env.NODE_ENV === "production" ? "" : "route location");
375
+ var H = Symbol(process.env.NODE_ENV === "production" ? "" : "router"), se = Symbol(process.env.NODE_ENV === "production" ? "" : "route location");
338
376
  Symbol(process.env.NODE_ENV === "production" ? "" : "router view location"), Symbol(process.env.NODE_ENV === "production" ? "" : "router view on route rendered");
339
- function H() {
340
- return p(V);
377
+ function U() {
378
+ return p(H);
341
379
  }
342
- function le(e) {
343
- return p(ce);
380
+ function ce(e) {
381
+ return p(se);
344
382
  }
345
- // ../node_modules/vue-router/dist/devtools-CxgSYwGp.js
346
- var ue = typeof document < "u";
347
- function de(e, t) {
383
+ // ../node_modules/vue-router/dist/devtools-RytpElE1.js
384
+ var le = typeof document < "u";
385
+ function ue(e, t) {
348
386
  return (e.aliasOf || e) === (t.aliasOf || t);
349
387
  }
350
- function fe(e, t) {
388
+ function de(e, t) {
351
389
  if (Object.keys(e).length !== Object.keys(t).length) return !1;
352
- for (var n in e) if (!pe(e[n], t[n])) return !1;
390
+ for (var n in e) if (!fe(e[n], t[n])) return !1;
353
391
  return !0;
354
392
  }
355
- function pe(e, t) {
356
- return z(e) ? U(e, t) : z(t) ? U(t, e) : (e && e.valueOf()) === (t && t.valueOf());
393
+ function fe(e, t) {
394
+ return z(e) ? pe(e, t) : z(t) ? pe(t, e) : (e && e.valueOf()) === (t && t.valueOf());
357
395
  }
358
- function U(e, t) {
396
+ function pe(e, t) {
359
397
  return z(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e.length === 1 && e[0] === t;
360
398
  }
361
399
  function W(e) {
362
400
  return typeof e == "string" || e && typeof e == "object";
363
401
  }
364
- // ../node_modules/vue-router/dist/vue-router.js
365
402
  function G(e) {
366
- let t = p(V), n = p(ce), i = !1, a = null, o = r(() => {
403
+ let t = p(H), n = p(se), i = !1, a = null, o = r(() => {
367
404
  let n = j(e.to);
368
- return process.env.NODE_ENV === "production" || i && n === a || (W(n) || se.VUE_ROUTER_R0050({ to: n }), a = n, i = !0), t.resolve(n);
405
+ return process.env.NODE_ENV === "production" || i && n === a || (W(n) || oe.VUE_ROUTER_R0050({ to: n }), a = n, i = !0), t.resolve(n);
369
406
  }), s = r(() => {
370
407
  let { matched: e } = o.value, { length: t } = e, r = e[t - 1], i = n.matched;
371
408
  if (!r || !i.length) return -1;
372
- let a = i.findIndex(de.bind(null, r));
409
+ let a = i.findIndex(ue.bind(null, r));
373
410
  if (a > -1) return a;
374
411
  let s = ve(e[t - 2]);
375
- return t > 1 && ve(r) === s && i[i.length - 1].path !== s ? i.findIndex(de.bind(null, e[t - 2])) : a;
376
- }), c = r(() => s.value > -1 && _e(n.params, o.value.params)), l = r(() => s.value > -1 && s.value === n.matched.length - 1 && fe(n.params, o.value.params));
412
+ return t > 1 && ve(r) === s && i[i.length - 1].path !== s ? i.findIndex(ue.bind(null, e[t - 2])) : a;
413
+ }), c = r(() => s.value > -1 && _e(n.params, o.value.params)), l = r(() => s.value > -1 && s.value === n.matched.length - 1 && de(n.params, o.value.params));
377
414
  function u(n = {}) {
378
415
  if (ge(n)) {
379
416
  let n = t[j(e.replace) ? "replace" : "push"](j(e.to)).catch(ae);
@@ -381,7 +418,7 @@ function G(e) {
381
418
  }
382
419
  return Promise.resolve();
383
420
  }
384
- if (process.env.NODE_ENV !== "production" && ue) {
421
+ if (process.env.NODE_ENV !== "production" && le) {
385
422
  let t = d();
386
423
  if (t) {
387
424
  let n = {
@@ -426,7 +463,7 @@ var he = /* @__PURE__ */ u({
426
463
  },
427
464
  useLink: G,
428
465
  setup(e, { slots: t }) {
429
- let n = w(G(e)), { options: i } = p(V), a = r(() => ({
466
+ let n = w(G(e)), { options: i } = p(H), a = r(() => ({
430
467
  [ye(e.activeClass, i.linkActiveClass, "router-link-active")]: n.isActive,
431
468
  [ye(e.exactActiveClass, i.linkExactActiveClass, "router-link-exact-active")]: n.isExactActive
432
469
  }));
@@ -16202,7 +16239,8 @@ u({
16202
16239
  class: ["remixicon", this.className]
16203
16240
  }, K("path", { d: "M20 2C20.5523 2 21 2.44772 21 3V6.757L12.0012 15.7562L11.995 19.995L16.2414 20.0012L21 15.242V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20ZM21.7782 8.80761L23.1924 10.2218L15.4142 18L13.9979 17.9979L14 16.5858L21.7782 8.80761ZM12 12H7V14H12V12ZM15 8H7V10H15V8Z" }));
16204
16241
  }
16205
- }), u({
16242
+ });
16243
+ var Xe = u({
16206
16244
  name: "RiDraftLine",
16207
16245
  props: {
16208
16246
  size: {
@@ -16228,7 +16266,8 @@ u({
16228
16266
  class: ["remixicon", this.className]
16229
16267
  }, K("path", { d: "M20 2C20.5523 2 21 2.44772 21 3V6.757L19 8.757V4H5V20H19V17.242L21 15.242V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20ZM21.7782 8.80761L23.1924 10.2218L15.4142 18L13.9979 17.9979L14 16.5858L21.7782 8.80761ZM13 12V14H8V12H13ZM16 8V10H8V8H16Z" }));
16230
16268
  }
16231
- }), u({
16269
+ });
16270
+ u({
16232
16271
  name: "RiDragDropFill",
16233
16272
  props: {
16234
16273
  size: {
@@ -16983,7 +17022,7 @@ u({
16983
17022
  }, K("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM16.0043 12.8777C15.6589 12.3533 15.4097 11.9746 14.4622 12.1248C12.6717 12.409 12.4732 12.7224 12.3877 13.2375L12.3636 13.3943L12.3393 13.5597C12.2416 14.2428 12.2453 14.5012 12.5589 14.8308C13.8241 16.1582 14.582 17.115 14.8116 17.6746C14.9237 17.9484 15.2119 18.7751 15.0136 19.5927C16.2372 19.1066 17.3156 18.3332 18.1653 17.3559C18.2755 16.9821 18.3551 16.5166 18.3551 15.9518V15.8472C18.3551 14.9247 18.3551 14.504 17.7031 14.1314C17.428 13.9751 17.2227 13.881 17.0582 13.8064C16.691 13.6394 16.4479 13.5297 16.1198 13.0499C16.0807 12.9928 16.0425 12.9358 16.0043 12.8777ZM12 3.83333C9.68259 3.83333 7.59062 4.79858 6.1042 6.34896C6.28116 6.47186 6.43537 6.64453 6.54129 6.88256C6.74529 7.34029 6.74529 7.8112 6.74529 8.22764C6.74488 8.55621 6.74442 8.8672 6.84992 9.09302C6.99443 9.40134 7.6164 9.53227 8.16548 9.64736C8.36166 9.68867 8.56395 9.73083 8.74797 9.78176C9.25405 9.92233 9.64554 10.3765 9.95938 10.7412C10.0896 10.8931 10.2819 11.1163 10.3783 11.1717C10.4286 11.1356 10.59 10.9608 10.6699 10.6735C10.7307 10.4547 10.7134 10.2597 10.6239 10.1543C10.0648 9.49445 10.0952 8.2232 10.268 7.75495C10.5402 7.01606 11.3905 7.07058 12.012 7.11097C12.2438 7.12589 12.4626 7.14023 12.6257 7.11976C13.2482 7.04166 13.4396 6.09538 13.575 5.91C13.8671 5.50981 14.7607 4.9071 15.3158 4.53454C14.3025 4.08382 13.1805 3.83333 12 3.83333Z" }));
16984
17023
  }
16985
17024
  });
16986
- var Xe = u({
17025
+ var Ze = u({
16987
17026
  name: "RiEarthLine",
16988
17027
  props: {
16989
17028
  size: {
@@ -17999,7 +18038,7 @@ u({
17999
18038
  }, K("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 15V17H13V15H11ZM11 7V13H13V7H11Z" }));
18000
18039
  }
18001
18040
  });
18002
- var Ze = u({
18041
+ var Qe = u({
18003
18042
  name: "RiErrorWarningLine",
18004
18043
  props: {
18005
18044
  size: {
@@ -18339,7 +18378,7 @@ u({
18339
18378
  }, K("path", { d: "M12.0049 22.0027C6.48204 22.0027 2.00488 17.5256 2.00488 12.0027C2.00488 6.4799 6.48204 2.00275 12.0049 2.00275C17.5277 2.00275 22.0049 6.4799 22.0049 12.0027C22.0049 17.5256 17.5277 22.0027 12.0049 22.0027ZM12.0049 20.0027C16.4232 20.0027 20.0049 16.421 20.0049 12.0027C20.0049 7.58447 16.4232 4.00275 12.0049 4.00275C7.5866 4.00275 4.00488 7.58447 4.00488 12.0027C4.00488 16.421 7.5866 20.0027 12.0049 20.0027ZM7.00488 13.0027H16.0049V15.0027H12.0049V18.0027L7.00488 13.0027ZM12.0049 9.00275V6.00275L17.0049 11.0027H8.00488V9.00275H12.0049Z" }));
18340
18379
  }
18341
18380
  });
18342
- var Qe = u({
18381
+ var $e = u({
18343
18382
  name: "RiExternalLinkFill",
18344
18383
  props: {
18345
18384
  size: {
@@ -18365,7 +18404,7 @@ var Qe = u({
18365
18404
  class: ["remixicon", this.className]
18366
18405
  }, K("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V12L17.206 8.207L11.2071 14.2071L9.79289 12.7929L15.792 6.793L12 3H21Z" }));
18367
18406
  }
18368
- }), $e = u({
18407
+ }), et = u({
18369
18408
  name: "RiExternalLinkLine",
18370
18409
  props: {
18371
18410
  size: {
@@ -18523,7 +18562,7 @@ u({
18523
18562
  }, K("path", { d: "M1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12ZM12.0003 17C14.7617 17 17.0003 14.7614 17.0003 12C17.0003 9.23858 14.7617 7 12.0003 7C9.23884 7 7.00026 9.23858 7.00026 12C7.00026 14.7614 9.23884 17 12.0003 17ZM12.0003 15C10.3434 15 9.00026 13.6569 9.00026 12C9.00026 10.3431 10.3434 9 12.0003 9C13.6571 9 15.0003 10.3431 15.0003 12C15.0003 13.6569 13.6571 15 12.0003 15Z" }));
18524
18563
  }
18525
18564
  });
18526
- var et = u({
18565
+ var tt = u({
18527
18566
  name: "RiEyeLine",
18528
18567
  props: {
18529
18568
  size: {
@@ -19357,7 +19396,7 @@ u({
19357
19396
  }, K("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" }));
19358
19397
  }
19359
19398
  });
19360
- var tt = u({
19399
+ var nt = u({
19361
19400
  name: "RiFileCopyLine",
19362
19401
  props: {
19363
19402
  size: {
@@ -21127,7 +21166,7 @@ u({
21127
21166
  }, K("path", { d: "M16 2L21 7V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918C3 2.44405 3.44495 2 3.9934 2H16ZM11 15V17H13V15H11ZM11 7V13H13V7H11Z" }));
21128
21167
  }
21129
21168
  });
21130
- var nt = u({
21169
+ var rt = u({
21131
21170
  name: "RiFileWarningLine",
21132
21171
  props: {
21133
21172
  size: {
@@ -21493,7 +21532,7 @@ u({
21493
21532
  }, K("path", { d: "M21 4V6H20L14 15V22H10V15L4 6H3V4H21Z" }));
21494
21533
  }
21495
21534
  });
21496
- var rt = u({
21535
+ var it = u({
21497
21536
  name: "RiFilterLine",
21498
21537
  props: {
21499
21538
  size: {
@@ -21755,7 +21794,7 @@ u({
21755
21794
  }, K("path", { d: "M17.0003 13V14C17.0003 16.7696 16.3364 19.445 15.0853 21.8455L14.8585 22.2663L13.1116 21.2924C14.2716 19.2115 14.9211 16.8817 14.9935 14.4559L15.0003 14V13H17.0003ZM11.0003 10H13.0003V14L12.9948 14.3787C12.9153 17.1495 11.9645 19.7731 10.3038 21.928L10.073 22.2189L8.52406 20.9536C10.0408 19.0969 10.9145 16.8017 10.9943 14.3663L11.0003 14V10ZM12.0003 6C14.7617 6 17.0003 8.23858 17.0003 11H15.0003C15.0003 9.34315 13.6571 8 12.0003 8C10.3434 8 9.00025 9.34315 9.00025 11V14C9.00025 16.2354 8.1806 18.3444 6.72928 19.9768L6.51767 20.2067L5.06955 18.8273C6.23328 17.6056 6.92099 16.0118 6.99381 14.3027L7.00025 14V11C7.00025 8.23858 9.23883 6 12.0003 6ZM12.0003 2C16.9708 2 21.0003 6.02944 21.0003 11V14C21.0003 15.6979 20.7985 17.3699 20.4035 18.9903L20.2647 19.5285L18.3349 19.0032C18.726 17.5662 18.9475 16.0808 18.9919 14.5684L19.0003 14V11C19.0003 7.13401 15.8662 4 12.0003 4C10.4279 4 8.97663 4.51841 7.80805 5.39364L6.38308 3.96769C7.92267 2.73631 9.87547 2 12.0003 2ZM4.96794 5.38282L6.39389 6.8078C5.5635 7.91652 5.0543 9.27971 5.00431 10.7593L4.99961 10.999L5.00378 13C5.00378 14.1195 4.73991 15.2026 4.24263 16.1772L4.08648 16.4663L2.34961 15.4747C2.72889 14.8103 2.95077 14.0681 2.99539 13.2924L3.00378 13L3.00361 11C3.00025 8.87522 3.73656 6.92242 4.96794 5.38282Z" }));
21756
21795
  }
21757
21796
  });
21758
- var it = u({
21797
+ var at = u({
21759
21798
  name: "RiFingerprintLine",
21760
21799
  props: {
21761
21800
  size: {
@@ -22459,7 +22498,7 @@ u({
22459
22498
  }, K("path", { d: "M13 1L13.001 4.06201C16.6192 4.51365 19.4869 7.38163 19.9381 11L23 11V13L19.938 13.001C19.4864 16.6189 16.6189 19.4864 13.001 19.938L13 23H11L11 19.9381C7.38163 19.4869 4.51365 16.6192 4.06201 13.001L1 13V11L4.06189 11C4.51312 7.38129 7.38129 4.51312 11 4.06189L11 1H13ZM12 10C10.8954 10 10 10.8954 10 12C10 13.1046 10.8954 14 12 14C13.1046 14 14 13.1046 14 12C14 10.8954 13.1046 10 12 10Z" }));
22460
22499
  }
22461
22500
  });
22462
- var at = u({
22501
+ var ot = u({
22463
22502
  name: "RiFocus3Line",
22464
22503
  props: {
22465
22504
  size: {
@@ -24489,7 +24528,7 @@ u({
24489
24528
  }, K("path", { d: "M18 7H22V9H16V3H18V7ZM8 9H2V7H6V3H8V9ZM18 17V21H16V15H22V17H18ZM8 15V21H6V17H2V15H8Z" }));
24490
24529
  }
24491
24530
  });
24492
- var ot = u({
24531
+ var st = u({
24493
24532
  name: "RiFullscreenExitLine",
24494
24533
  props: {
24495
24534
  size: {
@@ -24543,7 +24582,7 @@ u({
24543
24582
  }, K("path", { d: "M16 3H22V9H20V5H16V3ZM2 3H8V5H4V9H2V3ZM20 19V15H22V21H16V19H20ZM4 19H8V21H2V15H4V19Z" }));
24544
24583
  }
24545
24584
  });
24546
- var st = u({
24585
+ var ct = u({
24547
24586
  name: "RiFullscreenLine",
24548
24587
  props: {
24549
24588
  size: {
@@ -25871,7 +25910,7 @@ u({
25871
25910
  }, K("path", { d: "M2.04932 12.9999H7.52725C7.70624 16.2688 8.7574 19.3053 10.452 21.8809C5.98761 21.1871 2.5001 17.5402 2.04932 12.9999ZM2.04932 10.9999C2.5001 6.45968 5.98761 2.81276 10.452 2.11902C8.7574 4.69456 7.70624 7.73111 7.52725 10.9999H2.04932ZM21.9506 10.9999H16.4726C16.2936 7.73111 15.2425 4.69456 13.5479 2.11902C18.0123 2.81276 21.4998 6.45968 21.9506 10.9999ZM21.9506 12.9999C21.4998 17.5402 18.0123 21.1871 13.5479 21.8809C15.2425 19.3053 16.2936 16.2688 16.4726 12.9999H21.9506ZM9.53068 12.9999H14.4692C14.2976 15.7828 13.4146 18.3732 11.9999 20.5915C10.5852 18.3732 9.70229 15.7828 9.53068 12.9999ZM9.53068 10.9999C9.70229 8.21709 10.5852 5.62672 11.9999 3.40841C13.4146 5.62672 14.2976 8.21709 14.4692 10.9999H9.53068Z" }));
25872
25911
  }
25873
25912
  });
25874
- var ct = u({
25913
+ var lt = u({
25875
25914
  name: "RiGlobalLine",
25876
25915
  props: {
25877
25916
  size: {
@@ -26133,7 +26172,7 @@ u({
26133
26172
  }, K("path", { d: "M2 19V8H1V6H4V4C4 3.44772 4.44772 3 5 3H19C19.5523 3 20 3.44772 20 4V6H23V8H22V19H23V21H1V19H2ZM13 19V12H11V19H13ZM8 19V12H6V19H8ZM18 19V12H16V19H18ZM6 5V6H18V5H6Z" }));
26134
26173
  }
26135
26174
  });
26136
- var lt = u({
26175
+ var ut = u({
26137
26176
  name: "RiGovernmentLine",
26138
26177
  props: {
26139
26178
  size: {
@@ -27045,7 +27084,7 @@ u({
27045
27084
  }, K("path", { d: "M5 10.9381C8.61872 10.4869 11.4869 7.61872 11.9381 4H5V10.9381ZM5 12.9506V20H19V4H13.9506C13.4816 8.72442 9.72442 12.4816 5 12.9506ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 16H17V18H15V16Z" }));
27046
27085
  }
27047
27086
  });
27048
- var ut = u({
27087
+ var dt = u({
27049
27088
  name: "RiHashtag",
27050
27089
  props: {
27051
27090
  size: {
@@ -29465,7 +29504,7 @@ u({
29465
29504
  }, K("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" }));
29466
29505
  }
29467
29506
  });
29468
- var dt = u({
29507
+ var ft = u({
29469
29508
  name: "RiInformationLine",
29470
29509
  props: {
29471
29510
  size: {
@@ -30819,7 +30858,7 @@ u({
30819
30858
  }, K("path", { d: "M12 5V19H19V5H12ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3Z" }));
30820
30859
  }
30821
30860
  });
30822
- var ft = u({
30861
+ var pt = u({
30823
30862
  name: "RiLayoutColumnLine",
30824
30863
  props: {
30825
30864
  size: {
@@ -31237,7 +31276,7 @@ u({
31237
31276
  }, K("path", { d: "M19 12H5V19H19V12ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3Z" }));
31238
31277
  }
31239
31278
  });
31240
- var pt = u({
31279
+ var mt = u({
31241
31280
  name: "RiLayoutRowLine",
31242
31281
  props: {
31243
31282
  size: {
@@ -31551,7 +31590,7 @@ u({
31551
31590
  }, K("path", { d: "M9.97308 18H14.0269C14.1589 16.7984 14.7721 15.8065 15.7676 14.7226C15.8797 14.6006 16.5988 13.8564 16.6841 13.7501C17.5318 12.6931 18 11.385 18 10C18 6.68629 15.3137 4 12 4C8.68629 4 6 6.68629 6 10C6 11.3843 6.46774 12.6917 7.31462 13.7484C7.40004 13.855 8.12081 14.6012 8.23154 14.7218C9.22766 15.8064 9.84103 16.7984 9.97308 18ZM14 20H10V21H14V20ZM5.75395 14.9992C4.65645 13.6297 4 11.8915 4 10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10C20 11.8925 19.3428 13.6315 18.2443 15.0014C17.624 15.7748 16 17 16 18.5V21C16 22.1046 15.1046 23 14 23H10C8.89543 23 8 22.1046 8 21V18.5C8 17 6.37458 15.7736 5.75395 14.9992ZM13 10.0048H15.5L11 16.0048V12.0048H8.5L13 6V10.0048Z" }));
31552
31591
  }
31553
31592
  });
31554
- var mt = u({
31593
+ var ht = u({
31555
31594
  name: "RiLightbulbLine",
31556
31595
  props: {
31557
31596
  size: {
@@ -31605,7 +31644,7 @@ u({
31605
31644
  }, K("path", { d: "M5 3V19H21V21H3V3H5ZM19.9393 5.93934L22.0607 8.06066L16 14.1213L13 11.121L9.06066 15.0607L6.93934 12.9393L13 6.87868L16 9.879L19.9393 5.93934Z" }));
31606
31645
  }
31607
31646
  });
31608
- var ht = u({
31647
+ var gt = u({
31609
31648
  name: "RiLineChartLine",
31610
31649
  props: {
31611
31650
  size: {
@@ -31945,7 +31984,7 @@ u({
31945
31984
  }, K("path", { d: "M13.0607 8.11097L14.4749 9.52518C17.2086 12.2589 17.2086 16.691 14.4749 19.4247L14.1214 19.7782C11.3877 22.5119 6.95555 22.5119 4.22188 19.7782C1.48821 17.0446 1.48821 12.6124 4.22188 9.87874L5.6361 11.293C3.68348 13.2456 3.68348 16.4114 5.6361 18.364C7.58872 20.3166 10.7545 20.3166 12.7072 18.364L13.0607 18.0105C15.0133 16.0578 15.0133 12.892 13.0607 10.9394L11.6465 9.52518L13.0607 8.11097ZM19.7782 14.1214L18.364 12.7072C20.3166 10.7545 20.3166 7.58872 18.364 5.6361C16.4114 3.68348 13.2456 3.68348 11.293 5.6361L10.9394 5.98965C8.98678 7.94227 8.98678 11.1081 10.9394 13.0607L12.3536 14.4749L10.9394 15.8891L9.52518 14.4749C6.79151 11.7413 6.79151 7.30911 9.52518 4.57544L9.87874 4.22188C12.6124 1.48821 17.0446 1.48821 19.7782 4.22188C22.5119 6.95555 22.5119 11.3877 19.7782 14.1214Z" }));
31946
31985
  }
31947
31986
  });
31948
- var gt = u({
31987
+ var _t = u({
31949
31988
  name: "RiLinksLine",
31950
31989
  props: {
31951
31990
  size: {
@@ -32311,7 +32350,7 @@ u({
32311
32350
  }, K("path", { d: "M18.364 5.63604L16.9497 7.05025C15.683 5.7835 13.933 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12H21C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C14.4853 3 16.7353 4.00736 18.364 5.63604Z" }));
32312
32351
  }
32313
32352
  });
32314
- var _t = u({
32353
+ var vt = u({
32315
32354
  name: "RiLoader4Line",
32316
32355
  props: {
32317
32356
  size: {
@@ -32365,7 +32404,7 @@ u({
32365
32404
  }, K("path", { d: "M12 3C16.9706 3 21 7.02944 21 12H19C19 8.13401 15.866 5 12 5V3Z" }));
32366
32405
  }
32367
32406
  });
32368
- var vt = u({
32407
+ var yt = u({
32369
32408
  name: "RiLoader5Line",
32370
32409
  props: {
32371
32410
  size: {
@@ -32523,7 +32562,7 @@ u({
32523
32562
  }, K("path", { d: "M19 10H20C20.5523 10 21 10.4477 21 11V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V11C3 10.4477 3.44772 10 4 10H5V9C5 5.13401 8.13401 2 12 2C15.866 2 19 5.13401 19 9V10ZM17 10V9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9V10H17ZM11 14V18H13V14H11Z" }));
32524
32563
  }
32525
32564
  });
32526
- var yt = u({
32565
+ var bt = u({
32527
32566
  name: "RiLockLine",
32528
32567
  props: {
32529
32568
  size: {
@@ -33565,7 +33604,7 @@ u({
33565
33604
  }, K("path", { d: "M20 7.23792L12.0718 14.338L4 7.21594V19H11.0709C11.1719 19.7061 11.3783 20.3783 11.6736 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21C21.5523 3 22 3.44772 22 4V12.2547C21.396 11.8334 20.7224 11.5049 20 11.2899V7.23792ZM19.501 5H4.51146L12.0619 11.662L19.501 5ZM16.7066 20.7076C17.0982 20.895 17.5369 21 18 21C19.6569 21 21 19.6569 21 18C21 17.5369 20.895 17.0982 20.7076 16.7066L16.7066 20.7076ZM15.2924 19.2934L19.2934 15.2924C18.9018 15.105 18.4631 15 18 15C16.3431 15 15 16.3431 15 18C15 18.4631 15.105 18.9018 15.2924 19.2934ZM18 23C15.2386 23 13 20.7614 13 18C13 15.2386 15.2386 13 18 13C20.7614 13 23 15.2386 23 18C23 20.7614 20.7614 23 18 23Z" }));
33566
33605
  }
33567
33606
  });
33568
- var bt = u({
33607
+ var xt = u({
33569
33608
  name: "RiMailLine",
33570
33609
  props: {
33571
33610
  size: {
@@ -33983,7 +34022,7 @@ u({
33983
34022
  }, K("path", { d: "M2 5L9 2L15 5L21.303 2.2987C21.5569 2.18992 21.8508 2.30749 21.9596 2.56131C21.9862 2.62355 22 2.69056 22 2.75827V19L15 22L9 19L2.69696 21.7013C2.44314 21.8101 2.14921 21.6925 2.04043 21.4387C2.01375 21.3765 2 21.3094 2 21.2417V5ZM15 19.7639V7.17594L14.9352 7.20369L9 4.23607V16.8241L9.06476 16.7963L15 19.7639Z" }));
33984
34023
  }
33985
34024
  });
33986
- var xt = u({
34025
+ var St = u({
33987
34026
  name: "RiMap2Line",
33988
34027
  props: {
33989
34028
  size: {
@@ -34089,7 +34128,7 @@ u({
34089
34128
  }, K("path", { d: "M18.364 17.364L12 23.7279L5.63604 17.364C2.12132 13.8492 2.12132 8.15076 5.63604 4.63604C9.15076 1.12132 14.8492 1.12132 18.364 4.63604C21.8787 8.15076 21.8787 13.8492 18.364 17.364ZM12 13C13.1046 13 14 12.1046 14 11C14 9.89543 13.1046 9 12 9C10.8954 9 10 9.89543 10 11C10 12.1046 10.8954 13 12 13Z" }));
34090
34129
  }
34091
34130
  });
34092
- var St = u({
34131
+ var Ct = u({
34093
34132
  name: "RiMapPin2Line",
34094
34133
  props: {
34095
34134
  size: {
@@ -36561,7 +36600,7 @@ u({
36561
36600
  }, K("path", { d: "M12.0049 22.0027C6.48204 22.0027 2.00488 17.5256 2.00488 12.0027C2.00488 6.4799 6.48204 2.00275 12.0049 2.00275C17.5277 2.00275 22.0049 6.4799 22.0049 12.0027C22.0049 17.5256 17.5277 22.0027 12.0049 22.0027ZM10.0549 11.0027C10.2865 9.86163 11.2954 9.00275 12.5049 9.00275C13.1201 9.00275 13.6834 9.22496 14.1189 9.59351L15.8198 8.45951C14.9973 7.56402 13.8166 7.00275 12.5049 7.00275C10.1886 7.00275 8.28107 8.75277 8.03235 11.0027H7.00488V13.0027H8.03235C8.28107 15.2527 10.1886 17.0027 12.5049 17.0027C13.8166 17.0027 14.9973 16.4415 15.8198 15.546L14.1188 14.412C13.6833 14.7806 13.1201 15.0027 12.5049 15.0027C11.2954 15.0027 10.2865 14.1439 10.0549 13.0027H15.0049V11.0027H10.0549Z" }));
36562
36601
  }
36563
36602
  });
36564
- var Ct = u({
36603
+ var wt = u({
36565
36604
  name: "RiMoneyEuroCircleLine",
36566
36605
  props: {
36567
36606
  size: {
@@ -37577,7 +37616,7 @@ u({
37577
37616
  }, K("path", { d: "M16 20V4H4V19C4 19.5523 4.44772 20 5 20H16ZM19 22H5C3.34315 22 2 20.6569 2 19V3C2 2.44772 2.44772 2 3 2H17C17.5523 2 18 2.44772 18 3V10H22V19C22 20.6569 20.6569 22 19 22ZM18 12V19C18 19.5523 18.4477 20 19 20C19.5523 20 20 19.5523 20 19V12H18ZM6 6H12V12H6V6ZM8 8V10H10V8H8ZM6 13H14V15H6V13ZM6 16H14V18H6V16Z" }));
37578
37617
  }
37579
37618
  });
37580
- var wt = u({
37619
+ var Tt = u({
37581
37620
  name: "RiNodeTree",
37582
37621
  props: {
37583
37622
  size: {
@@ -39659,7 +39698,7 @@ u({
39659
39698
  }, K("path", { d: "M12.8995 6.85453L17.1421 11.0972L7.24264 20.9967H3V16.754L12.8995 6.85453ZM14.3137 5.44032L16.435 3.319C16.8256 2.92848 17.4587 2.92848 17.8492 3.319L20.6777 6.14743C21.0682 6.53795 21.0682 7.17112 20.6777 7.56164L18.5563 9.68296L14.3137 5.44032Z" }));
39660
39699
  }
39661
39700
  });
39662
- var Tt = u({
39701
+ var Et = u({
39663
39702
  name: "RiPencilLine",
39664
39703
  props: {
39665
39704
  size: {
@@ -39817,7 +39856,7 @@ u({
39817
39856
  }, K("path", { d: "M17.5049 21.0027C15.5719 21.0027 14.0049 19.4357 14.0049 17.5027C14.0049 15.5697 15.5719 14.0027 17.5049 14.0027C19.4379 14.0027 21.0049 15.5697 21.0049 17.5027C21.0049 19.4357 19.4379 21.0027 17.5049 21.0027ZM6.50488 10.0027C4.57189 10.0027 3.00488 8.43574 3.00488 6.50275C3.00488 4.56975 4.57189 3.00275 6.50488 3.00275C8.43788 3.00275 10.0049 4.56975 10.0049 6.50275C10.0049 8.43574 8.43788 10.0027 6.50488 10.0027ZM19.076 3.51747L20.4902 4.93168L4.93382 20.488L3.5196 19.0738L19.076 3.51747Z" }));
39818
39857
  }
39819
39858
  });
39820
- var Et = u({
39859
+ var Dt = u({
39821
39860
  name: "RiPercentLine",
39822
39861
  props: {
39823
39862
  size: {
@@ -39975,7 +40014,7 @@ u({
39975
40014
  }, K("path", { d: "M18 2C18.5523 2 19 2.44772 19 3V11H17V4H7V20H11V22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2H18ZM15 12C17.2091 12 19 13.7909 19 16C19 16.7419 18.798 17.4366 18.446 18.0322L20.6569 20.2426L19.2426 21.6569L17.0313 19.4466C16.4359 19.7982 15.7415 20 15 20C12.7909 20 11 18.2091 11 16C11 13.7909 12.7909 12 15 12ZM15 14C13.8954 14 13 14.8954 13 16C13 17.1046 13.8954 18 15 18C16.1046 18 17 17.1046 17 16C17 14.8954 16.1046 14 15 14Z" }));
39976
40015
  }
39977
40016
  });
39978
- var Dt = u({
40017
+ var Ot = u({
39979
40018
  name: "RiPhoneLine",
39980
40019
  props: {
39981
40020
  size: {
@@ -41407,7 +41446,7 @@ u({
41407
41446
  }, K("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM13.7327 10.5855C14.5137 11.3666 15.78 11.3666 16.5611 10.5855C17.3421 9.80448 17.3421 8.53815 16.5611 7.7571C15.78 6.97606 14.5137 6.97606 13.7327 7.7571C12.9516 8.53815 12.9516 9.80448 13.7327 10.5855Z" }));
41408
41447
  }
41409
41448
  });
41410
- var Ot = u({
41449
+ var kt = u({
41411
41450
  name: "RiPriceTag3Line",
41412
41451
  props: {
41413
41452
  size: {
@@ -44633,7 +44672,7 @@ u({
44633
44672
  }, K("path", { d: "M3 3C12.9411 3 21 11.0589 21 21H18C18 12.7157 11.2843 6 3 6V3ZM3 10C9.07513 10 14 14.9249 14 21H11C11 16.5817 7.41828 13 3 13V10ZM3 17C5.20914 17 7 18.7909 7 21H3V17Z" }));
44634
44673
  }
44635
44674
  });
44636
- var kt = u({
44675
+ var At = u({
44637
44676
  name: "RiRssLine",
44638
44677
  props: {
44639
44678
  size: {
@@ -45935,7 +45974,7 @@ u({
45935
45974
  }, K("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168Z" }));
45936
45975
  }
45937
45976
  });
45938
- var At = u({
45977
+ var jt = u({
45939
45978
  name: "RiSearchLine",
45940
45979
  props: {
45941
45980
  size: {
@@ -50773,7 +50812,7 @@ u({
50773
50812
  }, K("path", { d: "M11.9998 14.6564L14.8165 16.3769L14.0507 13.1664L16.5574 11.0192L13.2673 10.7554L11.9998 7.70792V14.6564ZM11.9998 17L6.12197 20.5902L7.72007 13.8906L2.48926 9.40983L9.35479 8.85942L11.9998 2.5L14.6449 8.85942L21.5104 9.40983L16.2796 13.8906L17.8777 20.5902L11.9998 17Z" }));
50774
50813
  }
50775
50814
  });
50776
- var jt = u({
50815
+ var Mt = u({
50777
50816
  name: "RiStarLine",
50778
50817
  props: {
50779
50818
  size: {
@@ -51711,7 +51750,7 @@ u({
51711
51750
  }, K("path", { d: "M19 11H5V13H19V11Z" }));
51712
51751
  }
51713
51752
  });
51714
- var Mt = u({
51753
+ var Nt = u({
51715
51754
  name: "RiSubtractLine",
51716
51755
  props: {
51717
51756
  size: {
@@ -53611,7 +53650,7 @@ u({
53611
53650
  }, K("path", { d: "M10.9999 12L3.92886 19.0711L2.51465 17.6569L8.1715 12L2.51465 6.34317L3.92886 4.92896L10.9999 12ZM10.9999 19H20.9999V21H10.9999V19Z" }));
53612
53651
  }
53613
53652
  });
53614
- var Nt = u({
53653
+ var Pt = u({
53615
53654
  name: "RiTerminalLine",
53616
53655
  props: {
53617
53656
  size: {
@@ -53847,7 +53886,7 @@ u({
53847
53886
  }, K("path", { d: "M15 18H16.5C17.8807 18 19 16.8807 19 15.5C19 14.1193 17.8807 13 16.5 13H3V11H16.5C18.9853 11 21 13.0147 21 15.5C21 17.9853 18.9853 20 16.5 20H15V22L11 19L15 16V18ZM3 4H21V6H3V4ZM9 18V20H3V18H9Z" }));
53848
53887
  }
53849
53888
  });
53850
- var Pt = u({
53889
+ var Ft = u({
53851
53890
  name: "RiText",
53852
53891
  props: {
53853
53892
  size: {
@@ -54213,7 +54252,7 @@ u({
54213
54252
  }, K("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM13 12V7H11V14H17V12H13Z" }));
54214
54253
  }
54215
54254
  });
54216
- var Ft = u({
54255
+ var It = u({
54217
54256
  name: "RiTimeLine",
54218
54257
  props: {
54219
54258
  size: {
@@ -56425,7 +56464,7 @@ u({
56425
56464
  }, K("path", { d: "M17.841 15.659L18.017 15.836L18.1945 15.659C19.0732 14.7803 20.4978 14.7803 21.3765 15.659C22.2552 16.5377 22.2552 17.9623 21.3765 18.841L18.0178 22.1997L14.659 18.841C13.7803 17.9623 13.7803 16.5377 14.659 15.659C15.5377 14.7803 16.9623 14.7803 17.841 15.659ZM12 14V16C8.68629 16 6 18.6863 6 22H4C4 17.6651 7.44784 14.1355 11.7508 14.0038L12 14ZM12 1C15.315 1 18 3.685 18 7C18 10.2397 15.4357 12.8776 12.225 12.9959L12 13C8.685 13 6 10.315 6 7C6 3.76034 8.56434 1.12237 11.775 1.00414L12 1ZM12 3C9.78957 3 8 4.78957 8 7C8 9.21043 9.78957 11 12 11C14.2104 11 16 9.21043 16 7C16 4.78957 14.2104 3 12 3Z" }));
56426
56465
  }
56427
56466
  });
56428
- var It = u({
56467
+ var Lt = u({
56429
56468
  name: "RiUserLine",
56430
56469
  props: {
56431
56470
  size: {
@@ -63317,7 +63356,7 @@ u({
63317
63356
  }, K("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" }));
63318
63357
  }
63319
63358
  });
63320
- var Lt = u({
63359
+ var Rt = u({
63321
63360
  name: "RiSparklingLine",
63322
63361
  props: {
63323
63362
  size: {
@@ -64099,7 +64138,7 @@ u({
64099
64138
  }, K("path", { d: "M2 4C1.44772 4 1 4.44772 1 5V19C1 19.5523 1.44772 20 2 20H22C22.5523 20 23 19.5523 23 19V5C23 4.44772 22.5523 4 22 4H2ZM9.00008 10C9.00008 9.44772 8.55236 9 8.00008 9C7.44779 9 7.00008 9.44772 7.00008 10C7.00008 10.5523 7.44779 11 8.00008 11C8.55236 11 9.00008 10.5523 9.00008 10ZM11.0001 10C11.0001 11.6569 9.65693 13 8.00008 13C6.34322 13 5.00008 11.6569 5.00008 10C5.00008 8.34315 6.34322 7 8.00008 7C9.65693 7 11.0001 8.34315 11.0001 10ZM5.52725 17.0251L4.11304 15.6109C5.10725 14.6167 6.48362 14 8.00212 14C9.52063 14 10.897 14.6167 11.8912 15.6109L10.477 17.0251C9.84253 16.3907 8.9689 16 8.00212 16C7.03535 16 6.16172 16.3907 5.52725 17.0251ZM20.2071 10.7071L16.2071 14.7071L15.5 15.4142L14.7929 14.7071L12.2929 12.2071L13.7071 10.7929L15.5 12.5858L18.7929 9.29289L20.2071 10.7071Z" }));
64100
64139
  }
64101
64140
  });
64102
- var Rt = u({
64141
+ var zt = u({
64103
64142
  name: "RiPassValidLine",
64104
64143
  props: {
64105
64144
  size: {
@@ -66103,7 +66142,7 @@ u({
66103
66142
  }, K("path", { d: "M13.5 2C13.5 2.44425 13.3069 2.84339 13 3.11805V5H18C19.6569 5 21 6.34315 21 8V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V8C3 6.34315 4.34315 5 6 5H11V3.11805C10.6931 2.84339 10.5 2.44425 10.5 2C10.5 1.17157 11.1716 0.5 12 0.5C12.8284 0.5 13.5 1.17157 13.5 2ZM0 10H2V16H0V10ZM24 10H22V16H24V10ZM9 14.5C9.82843 14.5 10.5 13.8284 10.5 13C10.5 12.1716 9.82843 11.5 9 11.5C8.17157 11.5 7.5 12.1716 7.5 13C7.5 13.8284 8.17157 14.5 9 14.5ZM16.5 13C16.5 12.1716 15.8284 11.5 15 11.5C14.1716 11.5 13.5 12.1716 13.5 13C13.5 13.8284 14.1716 14.5 15 14.5C15.8284 14.5 16.5 13.8284 16.5 13Z" }));
66104
66143
  }
66105
66144
  });
66106
- var zt = u({
66145
+ var Bt = u({
66107
66146
  name: "RiRobot2Line",
66108
66147
  props: {
66109
66148
  size: {
@@ -69511,7 +69550,7 @@ u({
69511
69550
  }, K("path", { d: "M13 3H4C3.44772 3 3 3.44772 3 4V20C3 20.5523 3.44772 21 4 21H13V3ZM15 21V3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H15ZM11 8.5V15.5L7 12L11 8.5Z" }));
69512
69551
  }
69513
69552
  });
69514
- var Bt = u({
69553
+ var Vt = u({
69515
69554
  name: "RiSidebarFoldLine",
69516
69555
  props: {
69517
69556
  size: {
@@ -69565,7 +69604,7 @@ u({
69565
69604
  }, K("path", { d: "M13 3H4C3.44772 3 3 3.44772 3 4V20C3 20.5523 3.44772 21 4 21H13V3ZM15 21V3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H15ZM7 8.5L11 12L7 15.5V8.5Z" }));
69566
69605
  }
69567
69606
  });
69568
- var Vt = u({
69607
+ var Ht = u({
69569
69608
  name: "RiSidebarUnfoldLine",
69570
69609
  props: {
69571
69610
  size: {
@@ -74715,7 +74754,7 @@ u({
74715
74754
  }, K("path", { d: "M4 3C3.44772 3 3 3.44772 3 4V20C3 20.5523 3.44772 21 4 21H14C14.5523 21 15 20.5523 15 20V10.6973L17.0215 20.2076C17.1363 20.7479 17.6673 21.0927 18.2075 20.9779L21.142 20.3541C21.6822 20.2393 22.027 19.7083 21.9122 19.1681L19.0015 5.47402C18.8866 4.9338 18.3556 4.58896 17.8154 4.70378L15 5.30221V5C15 4.44772 14.5523 4 14 4H9C9 3.44772 8.55228 3 8 3H4ZM9 6H13V14H9V6ZM13 16V19H9V16H13ZM7 17V19H5V17H7ZM18.7699 18.8137L18.3541 16.8577L19.3323 16.6498L19.748 18.6058L18.7699 18.8137Z" }));
74716
74755
  }
74717
74756
  });
74718
- var Ht = u({
74757
+ var Ut = u({
74719
74758
  name: "RiBookShelfLine",
74720
74759
  props: {
74721
74760
  size: {
@@ -84520,25 +84559,25 @@ u({
84520
84559
  }
84521
84560
  });
84522
84561
  // src/composables/useTranslation.ts
84523
- var q = /\{(\w+)\}/g, Ut = /* #__PURE__ */ Object.assign({ "../../../locales/en.json": () => import("./en-OIaJCts4.js").then((e) => e.default) }), Wt = /^[a-z]{2,3}$/;
84524
- function Gt(e) {
84562
+ var q = /\{(\w+)\}/g, Wt = /* #__PURE__ */ Object.assign({ "../../../locales/en.json": () => import("./en-OIaJCts4.js").then((e) => e.default) }), Gt = /^[a-z]{2,3}$/;
84563
+ function Kt(e) {
84525
84564
  if (!e) return null;
84526
84565
  let t = e.split(";")[0].split(",")[0].split("-")[0].toLowerCase();
84527
- return Wt.test(t) ? t : null;
84566
+ return Gt.test(t) ? t : null;
84528
84567
  }
84529
- function Kt() {
84568
+ function qt() {
84530
84569
  try {
84531
- let e = Gt(useRequestHeader?.("accept-language"));
84570
+ let e = Kt(useRequestHeader?.("accept-language"));
84532
84571
  if (e) return e;
84533
84572
  } catch {}
84534
84573
  if (typeof window < "u") {
84535
- let e = Gt(navigator.language);
84574
+ let e = Kt(navigator.language);
84536
84575
  if (e) return e;
84537
84576
  }
84538
84577
  return "fr";
84539
84578
  }
84540
- async function qt(e) {
84541
- let t = Ut[`../../../locales/${e}.json`];
84579
+ async function Jt(e) {
84580
+ let t = Wt[`../../../locales/${e}.json`];
84542
84581
  if (!t) return {};
84543
84582
  try {
84544
84583
  return await t();
@@ -84546,29 +84585,29 @@ async function qt(e) {
84546
84585
  return {};
84547
84586
  }
84548
84587
  }
84549
- function Jt(e, t) {
84588
+ function Yt(e, t) {
84550
84589
  return e.replace(q, (e, n) => n in t ? String(t[n]) : e);
84551
84590
  }
84552
- function Yt(e) {
84591
+ function Xt(e) {
84553
84592
  let t = [], n = new RegExp(q.source, q.flags), r;
84554
84593
  for (; (r = n.exec(e)) !== null;) t.push(r[1]);
84555
84594
  return t;
84556
84595
  }
84557
- function Xt(e) {
84596
+ function Zt(e) {
84558
84597
  let t = [], n = new RegExp(q.source, q.flags), r = 0, i;
84559
84598
  for (; (i = n.exec(e)) !== null;) i.index > r && t.push({ text: e.slice(r, i.index) }), t.push({ placeholder: i[1] }), r = n.lastIndex;
84560
84599
  return r < e.length && t.push({ text: e.slice(r) }), t;
84561
84600
  }
84562
- function Zt(e, t) {
84601
+ function Qt(e, t) {
84563
84602
  let n = e.split("|").map((e) => e.trim());
84564
84603
  return n.length === 1 ? n[0] : n.length === 2 ? t <= 1 ? n[0] : n[1] : n.length >= 3 ? t === 0 ? n[0] : t === 1 ? n[1] : n[2] : n[0];
84565
84604
  }
84566
- var J = E({}), Qt = async () => {
84567
- let e = Kt();
84568
- e in J.value || (J.value[e] = await qt(e));
84605
+ var J = E({}), $t = async () => {
84606
+ let e = qt();
84607
+ e in J.value || (J.value[e] = await Jt(e));
84569
84608
  }, Y = () => {
84570
- let e = Kt();
84571
- return Qt(), {
84609
+ let e = qt();
84610
+ return $t(), {
84572
84611
  t: (t, n) => {
84573
84612
  let r = t;
84574
84613
  typeof n == "number" && (n = {
@@ -84576,28 +84615,28 @@ var J = E({}), Qt = async () => {
84576
84615
  n
84577
84616
  }), J.value && J.value[e] && J.value[e][t] && (r = J.value[e][t]);
84578
84617
  let i = n?.n ?? n?.count;
84579
- return i !== void 0 && (r = Zt(r, Number(i))), n && Object.keys(n).length > 0 && (r = Jt(r, n)), r;
84618
+ return i !== void 0 && (r = Qt(r, Number(i))), n && Object.keys(n).length > 0 && (r = Yt(r, n)), r;
84580
84619
  },
84581
84620
  locale: e
84582
84621
  };
84583
- }, $t = async (e, t) => {
84622
+ }, en = async (e, t) => {
84584
84623
  let { t: n } = Y();
84585
84624
  return n(e, t);
84586
- }, en = Symbol();
84587
- function tn() {
84588
- let e = p(en);
84625
+ }, tn = Symbol();
84626
+ function nn() {
84627
+ let e = p(tn);
84589
84628
  if (!e) throw Error("Calling `useComponentsConfig` outside @datagouv/components");
84590
84629
  return e;
84591
84630
  }
84592
84631
  // src/components/AppLink.vue?vue&type=script&setup=true&lang.ts
84593
- var nn = { key: 1 }, rn = ["href"], an = /* @__PURE__ */ u({
84632
+ var rn = { key: 1 }, an = ["href"], on = /* @__PURE__ */ u({
84594
84633
  __name: "AppLink",
84595
84634
  props: {
84596
84635
  to: {},
84597
84636
  replace: { type: Boolean }
84598
84637
  },
84599
84638
  setup(e) {
84600
- let t = tn(), { locale: n } = Y(), a = e, s = r(() => typeof a.to == "string" && a.to && a.to.startsWith("http")), c = r(() => t.appLink || s.value ? a.to : typeof a.to == "string" ? `/${n}${a.to}` : a.to);
84639
+ let t = nn(), { locale: n } = Y(), a = e, s = r(() => typeof a.to == "string" && a.to && a.to.startsWith("http")), c = r(() => t.appLink || s.value ? a.to : typeof a.to == "string" ? `/${n}${a.to}` : a.to);
84601
84640
  return (n, r) => j(t).appLink ? (S(), i(k(j(t)?.appLink), {
84602
84641
  key: 0,
84603
84642
  to: c.value,
@@ -84608,44 +84647,44 @@ var nn = { key: 1 }, rn = ["href"], an = /* @__PURE__ */ u({
84608
84647
  }, 8, ["to", "replace"])) : c.value ? s.value ? (S(), o("a", {
84609
84648
  key: 2,
84610
84649
  href: c.value
84611
- }, [O(n.$slots, "default")], 8, rn)) : (S(), i(j(he), {
84650
+ }, [O(n.$slots, "default")], 8, an)) : (S(), i(j(he), {
84612
84651
  key: 3,
84613
84652
  to: c.value,
84614
84653
  replace: e.replace
84615
84654
  }, {
84616
84655
  default: P(() => [O(n.$slots, "default")]),
84617
84656
  _: 3
84618
- }, 8, ["to", "replace"])) : (S(), o("span", nn, [O(n.$slots, "default")]));
84657
+ }, 8, ["to", "replace"])) : (S(), o("span", rn, [O(n.$slots, "default")]));
84619
84658
  }
84620
- }), on = /* @__PURE__ */ u({
84659
+ }), sn = /* @__PURE__ */ u({
84621
84660
  __name: "AnimatedLoader",
84622
84661
  props: { color: { default: "primary" } },
84623
84662
  setup(e) {
84624
- return (t, n) => (S(), i(j(vt), { class: _(["text-7xl animate-spin", {
84663
+ return (t, n) => (S(), i(j(yt), { class: _(["text-7xl animate-spin", {
84625
84664
  "text-new-primary": e.color === "primary",
84626
84665
  "text-white": e.color === "white"
84627
84666
  }]) }, null, 8, ["class"]));
84628
84667
  }
84629
- }), sn = ["data-banner-action-type"], cn = { class: "text-gray-900" }, ln = {
84668
+ }), cn = ["data-banner-action-type"], ln = { class: "text-gray-900" }, un = {
84630
84669
  key: 0,
84631
84670
  class: "text-xs mt-1"
84632
- }, un = { key: 0 }, dn = Symbol(), fn = /*@__PURE__*/ u({
84671
+ }, dn = { key: 0 }, fn = Symbol(), pn = /*@__PURE__*/ u({
84633
84672
  __name: "BannerAction",
84634
84673
  props: {
84635
84674
  type: {},
84636
84675
  title: {}
84637
84676
  },
84638
84677
  setup(e) {
84639
- return C(dn, e.type), (t, n) => (S(), o("div", {
84678
+ return C(fn, e.type), (t, n) => (S(), o("div", {
84640
84679
  class: _(["group flex items-center justify-between gap-2 rounded border p-2.5", {
84641
84680
  "!border-new-info bg-new-info-light text-new-info": e.type === "primary",
84642
84681
  "!border-new-error bg-new-error-light text-new-error": e.type === "danger",
84643
84682
  "!border-new-warning bg-new-warning-light text-new-warning": e.type === "warning"
84644
84683
  }]),
84645
84684
  "data-banner-action-type": e.type
84646
- }, [s("div", null, [s("div", cn, [O(t.$slots, "title", {}, () => [c(A(e.title), 1)])]), t.$slots.default ? (S(), o("div", ln, [O(t.$slots, "default")])) : a("", !0)]), t.$slots.button ? (S(), o("div", un, [O(t.$slots, "button")])) : a("", !0)], 10, sn));
84685
+ }, [s("div", null, [s("div", ln, [O(t.$slots, "title", {}, () => [c(A(e.title), 1)])]), t.$slots.default ? (S(), o("div", un, [O(t.$slots, "default")])) : a("", !0)]), t.$slots.button ? (S(), o("div", dn, [O(t.$slots, "button")])) : a("", !0)], 10, cn));
84647
84686
  }
84648
- }), pn = /* @__PURE__ */ u({
84687
+ }), mn = /* @__PURE__ */ u({
84649
84688
  __name: "BrandedButton",
84650
84689
  props: {
84651
84690
  size: {},
@@ -84682,7 +84721,7 @@ var nn = { key: 1 }, rn = ["href"], an = /* @__PURE__ */ u({
84682
84721
  primary: "secondary",
84683
84722
  warning: "warning",
84684
84723
  danger: "danger"
84685
- }[m] : "primary"), f = r(() => w(c.default) && !s.iconOnly), m = p(dn, null), g = r(() => s.disabled || s.loading), v = r(() => ({
84724
+ }[m] : "primary"), f = r(() => w(c.default) && !s.iconOnly), m = p(fn, null), g = r(() => s.disabled || s.loading), v = r(() => ({
84686
84725
  primary: g.value ? "text-new-disabled-text bg-new-disabled-background !border-new-disabled-background" : "text-white bg-new-primary !border-new-primary hover:!bg-new-primary-hover hover:!border-new-primary-hover",
84687
84726
  secondary: g.value ? "text-new-disabled-text bg-white !border-new-disabled-background" : "text-new-gray-dark bg-white !border-new-gray-dark [&&]:hover:!bg-gray-some",
84688
84727
  tertiary: `text-gray-plain !border-transparent ${g.value ? "" : "[&&]:hover:!bg-gray-some"}`,
@@ -84714,7 +84753,7 @@ var nn = { key: 1 }, rn = ["href"], an = /* @__PURE__ */ u({
84714
84753
  function w(t, r = {}) {
84715
84754
  return t ? t(r).some((t) => t.type === e || Array.isArray(t.children) && !t.children.length ? !1 : t.type !== n || typeof t.children == "string" && t.children.trim() !== "") : !1;
84716
84755
  }
84717
- return (e, n) => (S(), i(k(t.href ? an : "button"), {
84756
+ return (e, n) => (S(), i(k(t.href ? on : "button"), {
84718
84757
  class: _(["inline-flex items-center justify-center font-marianne font-medium border !bg-none !no-underline after:content-none outline-none focus-visible:ring-2 focus-visible:ring-new-focus focus-visible:ring-offset-2", [
84719
84758
  v.value,
84720
84759
  y.value,
@@ -84730,7 +84769,7 @@ var nn = { key: 1 }, rn = ["href"], an = /* @__PURE__ */ u({
84730
84769
  type: l.value
84731
84770
  }, {
84732
84771
  default: P(() => [
84733
- t.loading ? (S(), i(on, {
84772
+ t.loading ? (S(), i(sn, {
84734
84773
  key: 0,
84735
84774
  size: "16",
84736
84775
  color: d.value === "primary" ? "white" : "primary"
@@ -84745,7 +84784,7 @@ var nn = { key: 1 }, rn = ["href"], an = /* @__PURE__ */ u({
84745
84784
  "sr-only sm:not-sr-only": t.iconOnlyOnMobile
84746
84785
  }])
84747
84786
  }, [O(e.$slots, "default")], 2)) : a("", !0),
84748
- t.newTab ? (S(), i(j($e), {
84787
+ t.newTab ? (S(), i(j(et), {
84749
84788
  key: 3,
84750
84789
  "aria-hidden": "true",
84751
84790
  class: _(C.value)
@@ -84766,7 +84805,7 @@ var nn = { key: 1 }, rn = ["href"], an = /* @__PURE__ */ u({
84766
84805
  let n = e.__vccOpts || e;
84767
84806
  for (let [e, r] of t) n[e] = r;
84768
84807
  return n;
84769
- }, mn = 1, Z = new class {
84808
+ }, hn = 1, Z = new class {
84770
84809
  subscribers;
84771
84810
  toasts;
84772
84811
  dismissedToasts;
@@ -84784,7 +84823,7 @@ var nn = { key: 1 }, rn = ["href"], an = /* @__PURE__ */ u({
84784
84823
  this.publish(e), this.toasts = [...this.toasts, e];
84785
84824
  };
84786
84825
  create = (e) => {
84787
- let { message: t, ...n } = e, r = typeof e.id == "number" || e.id && e.id?.length > 0 ? e.id : mn++, i = this.toasts.find((e) => e.id === r), a = e.dismissible === void 0 || e.dismissible;
84826
+ let { message: t, ...n } = e, r = typeof e.id == "number" || e.id && e.id?.length > 0 ? e.id : hn++, i = this.toasts.find((e) => e.id === r), a = e.dismissible === void 0 || e.dismissible;
84788
84827
  return this.dismissedToasts.has(r) && this.dismissedToasts.delete(r), i ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({
84789
84828
  ...n,
84790
84829
  ...e,
@@ -84858,7 +84897,7 @@ var nn = { key: 1 }, rn = ["href"], an = /* @__PURE__ */ u({
84858
84897
  type: "default",
84859
84898
  message: e
84860
84899
  });
84861
- else if (gn(e) && !e.ok) {
84900
+ else if (_n(e) && !e.ok) {
84862
84901
  i = !1;
84863
84902
  let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !m(r) ? r : {
84864
84903
  message: r || "",
@@ -84915,7 +84954,7 @@ var nn = { key: 1 }, rn = ["href"], an = /* @__PURE__ */ u({
84915
84954
  return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });
84916
84955
  };
84917
84956
  custom = (e, t) => {
84918
- let n = t?.id || mn++, r = this.toasts.find((e) => e.id === n), i = t?.dismissible === void 0 || t.dismissible;
84957
+ let n = t?.id || hn++, r = this.toasts.find((e) => e.id === n), i = t?.dismissible === void 0 || t.dismissible;
84919
84958
  return this.dismissedToasts.has(n) && this.dismissedToasts.delete(n), r ? this.toasts = this.toasts.map((r) => r.id === n ? (this.publish({
84920
84959
  ...r,
84921
84960
  component: e,
@@ -84937,8 +84976,8 @@ var nn = { key: 1 }, rn = ["href"], an = /* @__PURE__ */ u({
84937
84976
  };
84938
84977
  getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id));
84939
84978
  }();
84940
- function hn(e, t) {
84941
- let n = t?.id || mn++;
84979
+ function gn(e, t) {
84980
+ let n = t?.id || hn++;
84942
84981
  return Z.create({
84943
84982
  message: e,
84944
84983
  id: n,
@@ -84946,7 +84985,7 @@ function hn(e, t) {
84946
84985
  ...t
84947
84986
  }), n;
84948
84987
  }
84949
- var gn = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", _n = Object.assign(hn, {
84988
+ var _n = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", vn = Object.assign(gn, {
84950
84989
  success: Z.success,
84951
84990
  info: Z.info,
84952
84991
  warning: Z.warning,
@@ -84960,11 +84999,11 @@ var gn = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolea
84960
84999
  getHistory: () => Z.toasts,
84961
85000
  getToasts: () => Z.getActiveToasts()
84962
85001
  });
84963
- function vn(e) {
85002
+ function yn(e) {
84964
85003
  return e.label !== void 0;
84965
85004
  }
84966
- var yn = 3, bn = "24px", xn = "16px", Sn = 4e3, Cn = 356, wn = 14, Tn = 45, En = 200;
84967
- function Dn() {
85005
+ var bn = 3, xn = "24px", Sn = "16px", Cn = 4e3, wn = 356, Tn = 14, En = 45, Dn = 200;
85006
+ function On() {
84968
85007
  let e = E(!1);
84969
85008
  return N(() => {
84970
85009
  let t = () => {
@@ -84976,14 +85015,14 @@ function Dn() {
84976
85015
  function Q(...e) {
84977
85016
  return e.filter(Boolean).join(" ");
84978
85017
  }
84979
- function On(e) {
85018
+ function kn(e) {
84980
85019
  let [t, n] = e.split("-"), r = [];
84981
85020
  return t && r.push(t), n && r.push(n), r;
84982
85021
  }
84983
- function kn(e, t) {
85022
+ function An(e, t) {
84984
85023
  let n = {};
84985
85024
  return [e, t].forEach((e, t) => {
84986
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? xn : bn;
85025
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Sn : xn;
84987
85026
  function o(e) {
84988
85027
  [
84989
85028
  "top",
@@ -85004,7 +85043,7 @@ function kn(e, t) {
85004
85043
  }) : o(a);
85005
85044
  }), n;
85006
85045
  }
85007
- var An = [
85046
+ var jn = [
85008
85047
  "data-rich-colors",
85009
85048
  "data-styled",
85010
85049
  "data-mounted",
@@ -85024,11 +85063,11 @@ var An = [
85024
85063
  "data-swipe-direction",
85025
85064
  "data-expanded",
85026
85065
  "data-testid"
85027
- ], jn = [
85066
+ ], Mn = [
85028
85067
  "aria-label",
85029
85068
  "data-disabled",
85030
85069
  "data-close-button-position"
85031
- ], Mn = /* @__PURE__ */ u({
85070
+ ], Nn = /* @__PURE__ */ u({
85032
85071
  __name: "Toast",
85033
85072
  props: {
85034
85073
  toast: {},
@@ -85064,15 +85103,15 @@ var An = [
85064
85103
  "removeToast"
85065
85104
  ],
85066
85105
  setup(e, { emit: n }) {
85067
- let l = e, u = n, d = E(null), f = E(null), p = E(!1), m = E(!1), C = E(!1), w = E(!1), T = E(!1), D = E(0), ee = E(0), M = E(l.toast.duration || l.duration || Sn), P = E(null), F = E(null), I = r(() => l.index === 0), ne = r(() => l.index + 1 <= l.visibleToasts), L = r(() => l.toast.type), R = r(() => l.toast.dismissible !== !1), re = r(() => l.toast.class || ""), ie = r(() => l.descriptionClass || ""), ae = r(() => {
85106
+ let l = e, u = n, d = E(null), f = E(null), p = E(!1), m = E(!1), C = E(!1), w = E(!1), T = E(!1), D = E(0), ee = E(0), M = E(l.toast.duration || l.duration || Cn), P = E(null), F = E(null), I = r(() => l.index === 0), ne = r(() => l.index + 1 <= l.visibleToasts), L = r(() => l.toast.type), R = r(() => l.toast.dismissible !== !1), re = r(() => l.toast.class || ""), ie = r(() => l.descriptionClass || ""), ae = r(() => {
85068
85107
  let e = l.toast.position || l.position, t = l.heights.filter((t) => t.position === e).findIndex((e) => e.toastId === l.toast.id);
85069
85108
  return t >= 0 ? t : 0;
85070
85109
  }), z = r(() => {
85071
85110
  let e = l.toast.position || l.position;
85072
85111
  return l.heights.filter((t) => t.position === e).reduce((e, t, n) => n >= ae.value ? e : e + t.height, 0);
85073
- }), B = r(() => ae.value * l.gap + z.value || 0), oe = r(() => l.toast.closeButton ?? l.closeButton), se = r(() => l.toast.duration || l.duration || Sn), V = E(0), ce = E(0), H = E(null), le = r(() => l.position.split("-")), ue = r(() => le.value[0]), de = r(() => le.value[1]), fe = r(() => typeof l.toast.title != "string"), pe = r(() => typeof l.toast.description != "string"), { isDocumentHidden: U } = Dn(), W = r(() => L.value && L.value === "loading");
85112
+ }), B = r(() => ae.value * l.gap + z.value || 0), V = r(() => l.toast.closeButton ?? l.closeButton), oe = r(() => l.toast.duration || l.duration || Cn), H = E(0), se = E(0), U = E(null), ce = r(() => l.position.split("-")), le = r(() => ce.value[0]), ue = r(() => ce.value[1]), de = r(() => typeof l.toast.title != "string"), fe = r(() => typeof l.toast.description != "string"), { isDocumentHidden: pe } = On(), W = r(() => L.value && L.value === "loading");
85074
85113
  x(() => {
85075
- p.value = !0, M.value = se.value;
85114
+ p.value = !0, M.value = oe.value;
85076
85115
  }), N(async () => {
85077
85116
  if (!p.value || !F.value) return;
85078
85117
  await g();
@@ -85088,27 +85127,27 @@ var An = [
85088
85127
  function G() {
85089
85128
  m.value = !0, D.value = B.value, setTimeout(() => {
85090
85129
  u("removeToast", l.toast);
85091
- }, En);
85130
+ }, Dn);
85092
85131
  }
85093
85132
  function me() {
85094
85133
  if (W.value || !R.value) return {};
85095
85134
  G(), l.toast.onDismiss?.(l.toast);
85096
85135
  }
85097
85136
  function he(e) {
85098
- e.button !== 2 && !W.value && R.value && (P.value = /* @__PURE__ */ new Date(), D.value = B.value, e.target.setPointerCapture(e.pointerId), e.target.tagName !== "BUTTON" && (C.value = !0, H.value = {
85137
+ e.button !== 2 && !W.value && R.value && (P.value = /* @__PURE__ */ new Date(), D.value = B.value, e.target.setPointerCapture(e.pointerId), e.target.tagName !== "BUTTON" && (C.value = !0, U.value = {
85099
85138
  x: e.clientX,
85100
85139
  y: e.clientY
85101
85140
  }));
85102
85141
  }
85103
85142
  function ge() {
85104
85143
  if (w.value || !R.value) return;
85105
- H.value = null;
85144
+ U.value = null;
85106
85145
  let e = Number(F.value?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(F.value?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), n = (/* @__PURE__ */ new Date()).getTime() - (P.value?.getTime() || 0), r = d.value === "x" ? e : t, i = Math.abs(r) / n;
85107
- Math.abs(r) >= Tn || i > .11 ? (D.value = B.value, l.toast.onDismiss?.(l.toast), d.value === "x" ? f.value = e > 0 ? "right" : "left" : f.value = t > 0 ? "down" : "up", G(), w.value = !0) : (F.value?.style.setProperty("--swipe-amount-x", "0px"), F.value?.style.setProperty("--swipe-amount-y", "0px"), T.value = !1, C.value = !1, d.value = null);
85146
+ Math.abs(r) >= En || i > .11 ? (D.value = B.value, l.toast.onDismiss?.(l.toast), d.value === "x" ? f.value = e > 0 ? "right" : "left" : f.value = t > 0 ? "down" : "up", G(), w.value = !0) : (F.value?.style.setProperty("--swipe-amount-x", "0px"), F.value?.style.setProperty("--swipe-amount-y", "0px"), T.value = !1, C.value = !1, d.value = null);
85108
85147
  }
85109
85148
  function _e(e) {
85110
- if (!H.value || !R.value || (window?.getSelection()?.toString()?.length ?? !1)) return;
85111
- let t = e.clientY - H.value.y, n = e.clientX - H.value.x, r = l.swipeDirections ?? On(l.position);
85149
+ if (!U.value || !R.value || (window?.getSelection()?.toString()?.length ?? !1)) return;
85150
+ let t = e.clientY - U.value.y, n = e.clientX - U.value.x, r = l.swipeDirections ?? kn(l.position);
85112
85151
  !d.value && (Math.abs(n) > 1 || Math.abs(t) > 1) && (d.value = Math.abs(n) > Math.abs(t) ? "x" : "y");
85113
85152
  let i = {
85114
85153
  x: 0,
@@ -85146,13 +85185,13 @@ var An = [
85146
85185
  }), N((e) => {
85147
85186
  if (l.toast.promise && L.value === "loading" || l.toast.duration === Infinity || l.toast.type === "loading") return;
85148
85187
  let t;
85149
- l.expanded || l.interacting || U.value ? (() => {
85150
- if (ce.value < V.value) {
85151
- let e = (/* @__PURE__ */ new Date()).getTime() - V.value;
85188
+ l.expanded || l.interacting || pe.value ? (() => {
85189
+ if (se.value < H.value) {
85190
+ let e = (/* @__PURE__ */ new Date()).getTime() - H.value;
85152
85191
  M.value -= e;
85153
85192
  }
85154
- ce.value = (/* @__PURE__ */ new Date()).getTime();
85155
- })() : M.value !== Infinity && (V.value = (/* @__PURE__ */ new Date()).getTime(), t = setTimeout(() => {
85193
+ se.value = (/* @__PURE__ */ new Date()).getTime();
85194
+ })() : M.value !== Infinity && (H.value = (/* @__PURE__ */ new Date()).getTime(), t = setTimeout(() => {
85156
85195
  l.toast.onAutoClose?.(l.toast), G();
85157
85196
  }, M.value)), e(() => {
85158
85197
  clearTimeout(t);
@@ -85161,7 +85200,7 @@ var An = [
85161
85200
  e !== void 0 && e && (G(), l.toast.onDismiss?.(l.toast));
85162
85201
  }, { deep: !0 });
85163
85202
  function ve() {
85164
- C.value = !1, d.value = null, H.value = null;
85203
+ C.value = !1, d.value = null, U.value = null;
85165
85204
  }
85166
85205
  return (e, n) => (S(), o("li", {
85167
85206
  tabindex: "0",
@@ -85176,8 +85215,8 @@ var An = [
85176
85215
  "data-swiped": T.value,
85177
85216
  "data-removed": m.value,
85178
85217
  "data-visible": ne.value,
85179
- "data-y-position": ue.value,
85180
- "data-x-position": de.value,
85218
+ "data-y-position": le.value,
85219
+ "data-x-position": ue.value,
85181
85220
  "data-index": e.index,
85182
85221
  "data-front": I.value,
85183
85222
  "data-swiping": C.value,
@@ -85201,7 +85240,7 @@ var An = [
85201
85240
  onPointerdown: he,
85202
85241
  onPointerup: ge,
85203
85242
  onPointermove: _e
85204
- }, [oe.value && !e.toast.component && L.value !== "loading" ? (S(), o("button", {
85243
+ }, [V.value && !e.toast.component && L.value !== "loading" ? (S(), o("button", {
85205
85244
  key: 0,
85206
85245
  "aria-label": e.closeButtonAriaLabel || "Close toast",
85207
85246
  "data-disabled": W.value,
@@ -85209,9 +85248,9 @@ var An = [
85209
85248
  "data-close-button-position": e.closeButtonPosition,
85210
85249
  class: _(j(Q)(e.classes?.closeButton, e.toast?.classes?.closeButton)),
85211
85250
  onClick: me
85212
- }, [e.icons?.close ? (S(), i(k(e.icons?.close), { key: 0 })) : O(e.$slots, "close-icon", { key: 1 })], 10, jn)) : a("v-if", !0), e.toast.component ? (S(), i(k(e.toast.component), h({ key: 1 }, e.toast.componentProps, {
85251
+ }, [e.icons?.close ? (S(), i(k(e.icons?.close), { key: 0 })) : O(e.$slots, "close-icon", { key: 1 })], 10, Mn)) : a("v-if", !0), e.toast.component ? (S(), i(k(e.toast.component), h({ key: 1 }, e.toast.componentProps, {
85213
85252
  onCloseToast: me,
85214
- isPaused: e.$props.expanded || e.$props.interacting || j(U)
85253
+ isPaused: e.$props.expanded || e.$props.interacting || j(pe)
85215
85254
  }), null, 16, ["isPaused"])) : (S(), o(t, { key: 2 }, [
85216
85255
  L.value !== "default" || e.toast.icon || e.toast.promise ? (S(), o("div", {
85217
85256
  key: 0,
@@ -85224,11 +85263,11 @@ var An = [
85224
85263
  }, [s("div", {
85225
85264
  "data-title": "",
85226
85265
  class: _(j(Q)(e.classes?.title, e.toast.classes?.title))
85227
- }, [fe.value ? (S(), i(k(e.toast.title), v(h({ key: 0 }, e.toast.componentProps)), null, 16)) : (S(), o(t, { key: 1 }, [c(A(e.toast.title), 1)], 64))], 2), e.toast.description ? (S(), o("div", {
85266
+ }, [de.value ? (S(), i(k(e.toast.title), v(h({ key: 0 }, e.toast.componentProps)), null, 16)) : (S(), o(t, { key: 1 }, [c(A(e.toast.title), 1)], 64))], 2), e.toast.description ? (S(), o("div", {
85228
85267
  key: 0,
85229
85268
  "data-description": "",
85230
85269
  class: _(j(Q)(e.descriptionClass, ie.value, e.classes?.description, e.toast.classes?.description))
85231
- }, [pe.value ? (S(), i(k(e.toast.description), v(h({ key: 0 }, e.toast.componentProps)), null, 16)) : (S(), o(t, { key: 1 }, [c(A(e.toast.description), 1)], 64))], 2)) : a("v-if", !0)], 2),
85270
+ }, [fe.value ? (S(), i(k(e.toast.description), v(h({ key: 0 }, e.toast.componentProps)), null, 16)) : (S(), o(t, { key: 1 }, [c(A(e.toast.description), 1)], 64))], 2)) : a("v-if", !0)], 2),
85232
85271
  e.toast.cancel ? (S(), o("button", {
85233
85272
  key: 1,
85234
85273
  style: y(e.toast.cancelButtonStyle || e.cancelButtonStyle),
@@ -85236,9 +85275,9 @@ var An = [
85236
85275
  "data-button": "",
85237
85276
  "data-cancel": "",
85238
85277
  onClick: n[0] ||= (t) => {
85239
- j(vn)(e.toast.cancel) && R.value && (e.toast.cancel.onClick?.(t), G());
85278
+ j(yn)(e.toast.cancel) && R.value && (e.toast.cancel.onClick?.(t), G());
85240
85279
  }
85241
- }, A(j(vn)(e.toast.cancel) ? e.toast.cancel?.label : e.toast.cancel), 7)) : a("v-if", !0),
85280
+ }, A(j(yn)(e.toast.cancel) ? e.toast.cancel?.label : e.toast.cancel), 7)) : a("v-if", !0),
85242
85281
  e.toast.action ? (S(), o("button", {
85243
85282
  key: 2,
85244
85283
  style: y(e.toast.actionButtonStyle || e.actionButtonStyle),
@@ -85246,16 +85285,16 @@ var An = [
85246
85285
  "data-button": "",
85247
85286
  "data-action": "",
85248
85287
  onClick: n[1] ||= (t) => {
85249
- j(vn)(e.toast.action) && (e.toast.action.onClick?.(t), t.defaultPrevented || G());
85288
+ j(yn)(e.toast.action) && (e.toast.action.onClick?.(t), t.defaultPrevented || G());
85250
85289
  }
85251
- }, A(j(vn)(e.toast.action) ? e.toast.action?.label : e.toast.action), 7)) : a("v-if", !0)
85252
- ], 64))], 46, An));
85290
+ }, A(j(yn)(e.toast.action) ? e.toast.action?.label : e.toast.action), 7)) : a("v-if", !0)
85291
+ ], 64))], 46, jn));
85253
85292
  }
85254
85293
  }), $ = (e, t) => {
85255
85294
  let n = e.__vccOpts || e;
85256
85295
  for (let [e, r] of t) n[e] = r;
85257
85296
  return n;
85258
- }, Nn = {}, Pn = {
85297
+ }, Pn = {}, Fn = {
85259
85298
  xmlns: "http://www.w3.org/2000/svg",
85260
85299
  width: "12",
85261
85300
  height: "12",
@@ -85266,8 +85305,8 @@ var An = [
85266
85305
  "stroke-linecap": "round",
85267
85306
  "stroke-linejoin": "round"
85268
85307
  };
85269
- function Fn(e, t) {
85270
- return S(), o("svg", Pn, t[0] ||= [s("line", {
85308
+ function In(e, t) {
85309
+ return S(), o("svg", Fn, t[0] ||= [s("line", {
85271
85310
  x1: "18",
85272
85311
  y1: "6",
85273
85312
  x2: "6",
@@ -85279,7 +85318,7 @@ function Fn(e, t) {
85279
85318
  y2: "18"
85280
85319
  }, null, -1)]);
85281
85320
  }
85282
- var In = /* @__PURE__ */ $(Nn, [["render", Fn]]), Ln = ["data-visible"], Rn = { class: "sonner-spinner" }, zn = /* @__PURE__ */ u({
85321
+ var Ln = /* @__PURE__ */ $(Pn, [["render", In]]), Rn = ["data-visible"], zn = { class: "sonner-spinner" }, Bn = /* @__PURE__ */ u({
85283
85322
  __name: "Loader",
85284
85323
  props: { visible: { type: Boolean } },
85285
85324
  setup(e) {
@@ -85287,81 +85326,81 @@ var In = /* @__PURE__ */ $(Nn, [["render", Fn]]), Ln = ["data-visible"], Rn = {
85287
85326
  return (e, r) => (S(), o("div", {
85288
85327
  class: "sonner-loading-wrapper",
85289
85328
  "data-visible": e.visible
85290
- }, [s("div", Rn, [(S(!0), o(t, null, D(j(n), (e) => (S(), o("div", {
85329
+ }, [s("div", zn, [(S(!0), o(t, null, D(j(n), (e) => (S(), o("div", {
85291
85330
  key: `spinner-bar-${e}`,
85292
85331
  class: "sonner-loading-bar"
85293
- }))), 128))])], 8, Ln));
85332
+ }))), 128))])], 8, Rn));
85294
85333
  }
85295
- }), Bn = {}, Vn = {
85334
+ }), Vn = {}, Hn = {
85296
85335
  xmlns: "http://www.w3.org/2000/svg",
85297
85336
  viewBox: "0 0 20 20",
85298
85337
  fill: "currentColor",
85299
85338
  height: "20",
85300
85339
  width: "20"
85301
85340
  };
85302
- function Hn(e, t) {
85303
- return S(), o("svg", Vn, t[0] ||= [s("path", {
85341
+ function Un(e, t) {
85342
+ return S(), o("svg", Hn, t[0] ||= [s("path", {
85304
85343
  "fill-rule": "evenodd",
85305
85344
  d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
85306
85345
  "clip-rule": "evenodd"
85307
85346
  }, null, -1)]);
85308
85347
  }
85309
- var Un = /* @__PURE__ */ $(Bn, [["render", Hn]]), Wn = {}, Gn = {
85348
+ var Wn = /* @__PURE__ */ $(Vn, [["render", Un]]), Gn = {}, Kn = {
85310
85349
  xmlns: "http://www.w3.org/2000/svg",
85311
85350
  viewBox: "0 0 20 20",
85312
85351
  fill: "currentColor",
85313
85352
  height: "20",
85314
85353
  width: "20"
85315
85354
  };
85316
- function Kn(e, t) {
85317
- return S(), o("svg", Gn, t[0] ||= [s("path", {
85355
+ function qn(e, t) {
85356
+ return S(), o("svg", Kn, t[0] ||= [s("path", {
85318
85357
  "fill-rule": "evenodd",
85319
85358
  d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
85320
85359
  "clip-rule": "evenodd"
85321
85360
  }, null, -1)]);
85322
85361
  }
85323
- var qn = /* @__PURE__ */ $(Wn, [["render", Kn]]), Jn = {}, Yn = {
85362
+ var Jn = /* @__PURE__ */ $(Gn, [["render", qn]]), Yn = {}, Xn = {
85324
85363
  xmlns: "http://www.w3.org/2000/svg",
85325
85364
  viewBox: "0 0 24 24",
85326
85365
  fill: "currentColor",
85327
85366
  height: "20",
85328
85367
  width: "20"
85329
85368
  };
85330
- function Xn(e, t) {
85331
- return S(), o("svg", Yn, t[0] ||= [s("path", {
85369
+ function Zn(e, t) {
85370
+ return S(), o("svg", Xn, t[0] ||= [s("path", {
85332
85371
  "fill-rule": "evenodd",
85333
85372
  d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
85334
85373
  "clip-rule": "evenodd"
85335
85374
  }, null, -1)]);
85336
85375
  }
85337
- var Zn = /* @__PURE__ */ $(Jn, [["render", Xn]]), Qn = {}, $n = {
85376
+ var Qn = /* @__PURE__ */ $(Yn, [["render", Zn]]), $n = {}, er = {
85338
85377
  xmlns: "http://www.w3.org/2000/svg",
85339
85378
  viewBox: "0 0 20 20",
85340
85379
  fill: "currentColor",
85341
85380
  height: "20",
85342
85381
  width: "20"
85343
85382
  };
85344
- function er(e, t) {
85345
- return S(), o("svg", $n, t[0] ||= [s("path", {
85383
+ function tr(e, t) {
85384
+ return S(), o("svg", er, t[0] ||= [s("path", {
85346
85385
  "fill-rule": "evenodd",
85347
85386
  d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
85348
85387
  "clip-rule": "evenodd"
85349
85388
  }, null, -1)]);
85350
85389
  }
85351
- var tr = /* @__PURE__ */ $(Qn, [["render", er]]), nr = ["aria-label"], rr = [
85390
+ var nr = /* @__PURE__ */ $($n, [["render", tr]]), rr = ["aria-label"], ir = [
85352
85391
  "data-sonner-theme",
85353
85392
  "dir",
85354
85393
  "data-theme",
85355
85394
  "data-rich-colors",
85356
85395
  "data-y-position",
85357
85396
  "data-x-position"
85358
- ], ir = typeof window < "u" && typeof document < "u";
85359
- function ar() {
85397
+ ], ar = typeof window < "u" && typeof document < "u";
85398
+ function or() {
85360
85399
  if (typeof window > "u" || typeof document > "u") return "ltr";
85361
85400
  let e = document.documentElement.getAttribute("dir");
85362
85401
  return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
85363
85402
  }
85364
- var or = /* @__PURE__ */ u({
85403
+ var sr = /* @__PURE__ */ u({
85365
85404
  name: "Toaster",
85366
85405
  inheritAttrs: !1,
85367
85406
  __name: "Toaster",
@@ -85384,8 +85423,8 @@ var or = /* @__PURE__ */ u({
85384
85423
  default: !1
85385
85424
  },
85386
85425
  duration: {},
85387
- gap: { default: wn },
85388
- visibleToasts: { default: yn },
85426
+ gap: { default: Tn },
85427
+ visibleToasts: { default: bn },
85389
85428
  closeButton: {
85390
85429
  type: Boolean,
85391
85430
  default: !1
@@ -85393,8 +85432,8 @@ var or = /* @__PURE__ */ u({
85393
85432
  toastOptions: { default: () => ({}) },
85394
85433
  class: { default: "" },
85395
85434
  style: {},
85396
- offset: { default: bn },
85397
- mobileOffset: { default: xn },
85435
+ offset: { default: xn },
85436
+ mobileOffset: { default: Sn },
85398
85437
  dir: { default: "auto" },
85399
85438
  swipeDirections: {},
85400
85439
  icons: {},
@@ -85495,7 +85534,7 @@ var or = /* @__PURE__ */ u({
85495
85534
  b.value[e] = !1;
85496
85535
  });
85497
85536
  }
85498
- ir && (document.addEventListener("keydown", t), e(() => {
85537
+ ar && (document.addEventListener("keydown", t), e(() => {
85499
85538
  document.removeEventListener("keydown", t);
85500
85539
  }));
85501
85540
  });
@@ -85542,7 +85581,7 @@ var or = /* @__PURE__ */ u({
85542
85581
  "data-sonner-toaster": "",
85543
85582
  "data-sonner-theme": C.value,
85544
85583
  class: n.class,
85545
- dir: e.dir === "auto" ? ar() : e.dir,
85584
+ dir: e.dir === "auto" ? or() : e.dir,
85546
85585
  tabIndex: -1,
85547
85586
  "data-theme": e.theme,
85548
85587
  "data-rich-colors": e.richColors,
@@ -85550,11 +85589,11 @@ var or = /* @__PURE__ */ u({
85550
85589
  "data-x-position": r.split("-")[1],
85551
85590
  style: {
85552
85591
  "--front-toast-height": `${v.value[0]?.height || 0}px`,
85553
- "--width": `${j(Cn)}px`,
85592
+ "--width": `${j(wn)}px`,
85554
85593
  "--gap": `${e.gap}px`,
85555
85594
  ...e.style,
85556
85595
  ...j(c).style,
85557
- ...j(kn)(e.offset, e.mobileOffset)
85596
+ ...j(An)(e.offset, e.mobileOffset)
85558
85597
  }
85559
85598
  }, { ref_for: !0 }, e.$attrs, {
85560
85599
  onBlur: te,
@@ -85565,7 +85604,7 @@ var or = /* @__PURE__ */ u({
85565
85604
  onDragend: R,
85566
85605
  onPointerdown: I,
85567
85606
  onPointerup: re
85568
- }), [(S(!0), o(t, null, D(f(r, a), (t, a) => (S(), i(Mn, {
85607
+ }), [(S(!0), o(t, null, D(f(r, a), (t, a) => (S(), i(Nn, {
85569
85608
  key: t.id,
85570
85609
  heights: v.value,
85571
85610
  icons: e.icons,
@@ -85596,12 +85635,12 @@ var or = /* @__PURE__ */ u({
85596
85635
  "onUpdate:height": ae,
85597
85636
  onRemoveToast: M
85598
85637
  }, {
85599
- "close-icon": P(() => [O(e.$slots, "close-icon", {}, () => [l(In)])]),
85600
- "loading-icon": P(() => [O(e.$slots, "loading-icon", {}, () => [l(zn, { visible: t.type === "loading" }, null, 8, ["visible"])])]),
85601
- "success-icon": P(() => [O(e.$slots, "success-icon", {}, () => [l(Un)])]),
85602
- "error-icon": P(() => [O(e.$slots, "error-icon", {}, () => [l(tr)])]),
85603
- "warning-icon": P(() => [O(e.$slots, "warning-icon", {}, () => [l(Zn)])]),
85604
- "info-icon": P(() => [O(e.$slots, "info-icon", {}, () => [l(qn)])]),
85638
+ "close-icon": P(() => [O(e.$slots, "close-icon", {}, () => [l(Ln)])]),
85639
+ "loading-icon": P(() => [O(e.$slots, "loading-icon", {}, () => [l(Bn, { visible: t.type === "loading" }, null, 8, ["visible"])])]),
85640
+ "success-icon": P(() => [O(e.$slots, "success-icon", {}, () => [l(Wn)])]),
85641
+ "error-icon": P(() => [O(e.$slots, "error-icon", {}, () => [l(nr)])]),
85642
+ "warning-icon": P(() => [O(e.$slots, "warning-icon", {}, () => [l(Qn)])]),
85643
+ "info-icon": P(() => [O(e.$slots, "info-icon", {}, () => [l(Jn)])]),
85605
85644
  _: 2
85606
85645
  }, 1032, [
85607
85646
  "heights",
@@ -85629,9 +85668,9 @@ var or = /* @__PURE__ */ u({
85629
85668
  "gap",
85630
85669
  "expanded",
85631
85670
  "swipeDirections"
85632
- ]))), 128))], 16, rr))), 128))], 8, nr)], 2112));
85671
+ ]))), 128))], 16, ir))), 128))], 8, rr)], 2112));
85633
85672
  }
85634
- }), sr = {}, cr = {
85673
+ }), cr = {}, lr = {
85635
85674
  width: "100%",
85636
85675
  height: "100%",
85637
85676
  viewBox: "0 0 14 13",
@@ -85646,8 +85685,8 @@ var or = /* @__PURE__ */ u({
85646
85685
  "stroke-miterlimit": "2"
85647
85686
  }
85648
85687
  };
85649
- function lr(e, t) {
85650
- return S(), o("svg", cr, [...t[0] ||= [s("rect", {
85688
+ function ur(e, t) {
85689
+ return S(), o("svg", lr, [...t[0] ||= [s("rect", {
85651
85690
  x: "0",
85652
85691
  y: "0",
85653
85692
  width: "14",
@@ -85658,7 +85697,7 @@ function lr(e, t) {
85658
85697
  style: { "fill-rule": "nonzero" }
85659
85698
  }, null, -1)]]);
85660
85699
  }
85661
- var ur = /*#__PURE__*/ X(sr, [["render", lr]]), dr = {}, fr = {
85700
+ var dr = /*#__PURE__*/ X(cr, [["render", ur]]), fr = {}, pr = {
85662
85701
  width: "100%",
85663
85702
  height: "100%",
85664
85703
  viewBox: "0 0 11 14",
@@ -85673,8 +85712,8 @@ var ur = /*#__PURE__*/ X(sr, [["render", lr]]), dr = {}, fr = {
85673
85712
  "stroke-miterlimit": "2"
85674
85713
  }
85675
85714
  };
85676
- function pr(e, t) {
85677
- return S(), o("svg", fr, [...t[0] ||= [s("rect", {
85715
+ function mr(e, t) {
85716
+ return S(), o("svg", pr, [...t[0] ||= [s("rect", {
85678
85717
  x: "0",
85679
85718
  y: "0",
85680
85719
  width: "10.5",
@@ -85685,7 +85724,7 @@ function pr(e, t) {
85685
85724
  style: { "fill-rule": "nonzero" }
85686
85725
  }, null, -1)]]);
85687
85726
  }
85688
- var mr = /*#__PURE__*/ X(dr, [["render", pr]]), hr = {}, gr = {
85727
+ var hr = /*#__PURE__*/ X(fr, [["render", mr]]), gr = {}, _r = {
85689
85728
  width: "100%",
85690
85729
  height: "100%",
85691
85730
  viewBox: "0 0 13 14",
@@ -85700,8 +85739,8 @@ var mr = /*#__PURE__*/ X(dr, [["render", pr]]), hr = {}, gr = {
85700
85739
  "stroke-miterlimit": "2"
85701
85740
  }
85702
85741
  };
85703
- function _r(e, t) {
85704
- return S(), o("svg", gr, [...t[0] ||= [s("rect", {
85742
+ function vr(e, t) {
85743
+ return S(), o("svg", _r, [...t[0] ||= [s("rect", {
85705
85744
  x: "0",
85706
85745
  y: "0",
85707
85746
  width: "12.25",
@@ -85712,15 +85751,15 @@ function _r(e, t) {
85712
85751
  style: { "fill-rule": "nonzero" }
85713
85752
  }, null, -1)]]);
85714
85753
  }
85715
- var vr = /*#__PURE__*/ X(hr, [["render", _r]]), yr = {}, br = {
85754
+ var yr = /*#__PURE__*/ X(gr, [["render", vr]]), br = {}, xr = {
85716
85755
  xmlns: "http://www.w3.org/2000/svg",
85717
85756
  viewBox: "0 0 24 24",
85718
85757
  fill: "currentColor"
85719
85758
  };
85720
- function xr(e, t) {
85721
- return S(), o("svg", br, [...t[0] ||= [s("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" }, null, -1)]]);
85759
+ function Sr(e, t) {
85760
+ return S(), o("svg", xr, [...t[0] ||= [s("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" }, null, -1)]]);
85722
85761
  }
85723
- var Sr = /*#__PURE__*/ X(yr, [["render", xr]]), Cr = {}, wr = {
85762
+ var Cr = /*#__PURE__*/ X(br, [["render", Sr]]), wr = {}, Tr = {
85724
85763
  width: "100%",
85725
85764
  height: "100%",
85726
85765
  viewBox: "0 0 14 14",
@@ -85735,8 +85774,8 @@ var Sr = /*#__PURE__*/ X(yr, [["render", xr]]), Cr = {}, wr = {
85735
85774
  "stroke-miterlimit": "2"
85736
85775
  }
85737
85776
  };
85738
- function Tr(e, t) {
85739
- return S(), o("svg", wr, [...t[0] ||= [s("rect", {
85777
+ function Er(e, t) {
85778
+ return S(), o("svg", Tr, [...t[0] ||= [s("rect", {
85740
85779
  x: "0",
85741
85780
  y: "0",
85742
85781
  width: "13.986",
@@ -85747,7 +85786,7 @@ function Tr(e, t) {
85747
85786
  style: { "fill-rule": "nonzero" }
85748
85787
  }, null, -1)]]);
85749
85788
  }
85750
- var Er = /*#__PURE__*/ X(Cr, [["render", Tr]]), Dr = {}, Or = {
85789
+ var Dr = /*#__PURE__*/ X(wr, [["render", Er]]), Or = {}, kr = {
85751
85790
  width: "100%",
85752
85791
  height: "100%",
85753
85792
  viewBox: "0 0 14 13",
@@ -85762,8 +85801,8 @@ var Er = /*#__PURE__*/ X(Cr, [["render", Tr]]), Dr = {}, Or = {
85762
85801
  "stroke-miterlimit": "2"
85763
85802
  }
85764
85803
  };
85765
- function kr(e, t) {
85766
- return S(), o("svg", Or, [...t[0] ||= [s("rect", {
85804
+ function Ar(e, t) {
85805
+ return S(), o("svg", kr, [...t[0] ||= [s("rect", {
85767
85806
  x: "0",
85768
85807
  y: "0",
85769
85808
  width: "14",
@@ -85774,9 +85813,9 @@ function kr(e, t) {
85774
85813
  style: { "fill-rule": "nonzero" }
85775
85814
  }, null, -1)]]);
85776
85815
  }
85777
- var Ar = /*#__PURE__*/ X(Dr, [["render", kr]]);
85816
+ var jr = /*#__PURE__*/ X(Or, [["render", Ar]]);
85778
85817
  // src/functions/resources.ts
85779
- function jr(e) {
85818
+ function Mr(e) {
85780
85819
  switch (e?.trim()?.toLowerCase()) {
85781
85820
  case "txt":
85782
85821
  case "pdf":
@@ -85784,7 +85823,7 @@ function jr(e) {
85784
85823
  case "odt":
85785
85824
  case "doc":
85786
85825
  case "docx":
85787
- case "epub": return vr;
85826
+ case "epub": return yr;
85788
85827
  case "json":
85789
85828
  case "sql":
85790
85829
  case "xml":
@@ -85810,7 +85849,7 @@ function jr(e) {
85810
85849
  case "ics":
85811
85850
  case "rdf":
85812
85851
  case "ttl":
85813
- case "n3": return mr;
85852
+ case "n3": return hr;
85814
85853
  case "tar":
85815
85854
  case "gz":
85816
85855
  case "tgz":
@@ -85818,47 +85857,47 @@ function jr(e) {
85818
85857
  case "zip":
85819
85858
  case "7z":
85820
85859
  case "xz":
85821
- case "bz2": return ur;
85822
- case "url": return Er;
85860
+ case "bz2": return dr;
85861
+ case "url": return Dr;
85823
85862
  case "csv":
85824
85863
  case "ods":
85825
85864
  case "xls":
85826
85865
  case "xlsx":
85827
85866
  case "parquet":
85828
- case "csv.gz": return Ar;
85829
- case "geojson": return xt;
85867
+ case "csv.gz": return jr;
85868
+ case "geojson": return St;
85830
85869
  case "ogc:wfs":
85831
85870
  case "ogc:wms":
85832
85871
  case "wfs":
85833
- case "wms": return Xe;
85872
+ case "wms": return Ze;
85834
85873
  case "png":
85835
85874
  case "jpg":
85836
85875
  case "jpeg":
85837
- case "svg": return Sr;
85876
+ case "svg": return Cr;
85838
85877
  default: return null;
85839
85878
  }
85840
85879
  }
85841
- function Mr(e) {
85842
- switch (e ? jr(e) : null) {
85843
- case Ar: return "bg-[#c3fad5] text-[#18753c]";
85844
- case xt:
85845
- case Xe: return "bg-[#e6eefe] text-[#0063cb]";
85846
- case mr: return "bg-[#fce164] text-[#716043]";
85847
- case vr: return "bg-[#fee7fc] text-[#6e445a]";
85880
+ function Nr(e) {
85881
+ switch (e ? Mr(e) : null) {
85882
+ case jr: return "bg-[#c3fad5] text-[#18753c]";
85883
+ case St:
85884
+ case Ze: return "bg-[#e6eefe] text-[#0063cb]";
85885
+ case hr: return "bg-[#fce164] text-[#716043]";
85886
+ case yr: return "bg-[#fee7fc] text-[#6e445a]";
85848
85887
  default: return "bg-gray-100 text-gray-plain";
85849
85888
  }
85850
85889
  }
85851
- function Nr(e) {
85890
+ function Pr(e) {
85852
85891
  return "resource-" + e.id + "-title";
85853
85892
  }
85854
- var Pr = T([
85893
+ var Fr = T([
85855
85894
  "main",
85856
85895
  "documentation",
85857
85896
  "update",
85858
85897
  "api",
85859
85898
  "code",
85860
85899
  "other"
85861
- ]), Fr = 10, Ir = (e, t) => {
85900
+ ]), Ir = 10, Lr = (e, t) => {
85862
85901
  let { t: n } = Y();
85863
85902
  switch (e) {
85864
85903
  case "main": return typeof t == "number" ? n("Aucun fichier principal | 1 fichier principal | {n} fichiers principaux", t) : n("Fichiers principaux");
@@ -85868,34 +85907,34 @@ var Pr = T([
85868
85907
  case "code": return typeof t == "number" ? n("Aucun fichier de code source | 1 fichier de code source | {n} fichiers de code source", t) : n("Code source");
85869
85908
  case "other": return typeof t == "number" ? n("Aucun autre fichier | 1 autre fichier | {n} autres fichiers", t) : n("Autre");
85870
85909
  }
85871
- }, Lr = ["wfs", "wms"], Rr = (e) => {
85910
+ }, Rr = ["wfs", "wms"], zr = (e) => {
85872
85911
  if (e.format) {
85873
85912
  let t = e.format.replace(/^ogc:/, "");
85874
- if (Lr.includes(t)) return t;
85913
+ if (Rr.includes(t)) return t;
85875
85914
  }
85876
85915
  let t = e.url.toLowerCase();
85877
85916
  if (t.includes("request=getcapabilities")) {
85878
- for (let e of Lr) if (t.includes(`service=${e}`)) return e;
85917
+ for (let e of Rr) if (t.includes(`service=${e}`)) return e;
85879
85918
  }
85880
85919
  return !1;
85881
85920
  };
85882
- function zr(e) {
85921
+ function Br(e) {
85883
85922
  return "organization" in e || "owner" in e;
85884
85923
  }
85885
- function Br(e, t) {
85886
- return `${e.page}${zr(t) ? "/community-resources" : ""}?resource_id=${t.id}`;
85924
+ function Vr(e, t) {
85925
+ return `${e.page}${Br(t) ? "/community-resources" : ""}?resource_id=${t.id}`;
85887
85926
  }
85888
- function Vr(e) {
85927
+ function Hr(e) {
85889
85928
  let t = e.geopf?.push_status;
85890
85929
  return t === "pending" || t === "done" || typeof e.geopf?.offering_id == "string";
85891
85930
  }
85892
- function Hr(e, t, n) {
85893
- return n ? n(t) : Br(e, t);
85931
+ function Ur(e, t, n) {
85932
+ return n ? n(t) : Vr(e, t);
85894
85933
  }
85895
- function Ur(e) {
85934
+ function Wr(e) {
85896
85935
  return e.filesize ? e.filesize : "analysis:content-length" in e.extras ? e.extras["analysis:content-length"] : null;
85897
85936
  }
85898
- var Wr = [
85937
+ var Gr = [
85899
85938
  "png",
85900
85939
  "jpg",
85901
85940
  "jpeg",
@@ -85903,45 +85942,45 @@ var Wr = [
85903
85942
  "gif",
85904
85943
  "webp"
85905
85944
  ];
85906
- function Gr(e) {
85907
- return e ? Wr.includes(e.toLowerCase()) : !1;
85945
+ function Kr(e) {
85946
+ return e ? Gr.includes(e.toLowerCase()) : !1;
85908
85947
  }
85909
- var Kr = [
85948
+ var qr = [
85910
85949
  "csv",
85911
85950
  "csv.gz",
85912
85951
  "xls",
85913
85952
  "xlsx",
85914
85953
  "parquet"
85915
85954
  ];
85916
- function qr(e) {
85955
+ function Jr(e) {
85917
85956
  if (!e) return !1;
85918
85957
  let t = e.toLowerCase();
85919
- return Kr.includes(t) || t.endsWith(".gz") && Kr.includes(t.slice(0, -3));
85958
+ return qr.includes(t) || t.endsWith(".gz") && qr.includes(t.slice(0, -3));
85920
85959
  }
85921
- function Jr(e) {
85960
+ function Yr(e) {
85922
85961
  return e ? e.toLowerCase().replace(/\.(zip|gz)$/, "") === "geojson" : !1;
85923
85962
  }
85924
- function Yr(e) {
85963
+ function Xr(e) {
85925
85964
  let t = e.extras["analysis:parsing:error"];
85926
85965
  if (typeof t != "string" || !t) return null;
85927
85966
  let [n] = t.split(":", 1);
85928
85967
  return n ?? null;
85929
85968
  }
85930
- function Xr(e) {
85969
+ function Zr(e) {
85931
85970
  let t = e.extras["analysis:parsing:error"];
85932
85971
  if (typeof t != "string" || !t) return null;
85933
85972
  let n = t.indexOf(":");
85934
85973
  return n === -1 ? t : t.slice(n + 1);
85935
85974
  }
85936
- var Zr = ["pmtiles_export", "geojson_export"];
85937
- function Qr(e) {
85938
- let t = Yr(e);
85939
- return t !== null && !Zr.includes(t);
85975
+ var Qr = ["pmtiles_export", "geojson_export"];
85976
+ function $r(e) {
85977
+ let t = Xr(e);
85978
+ return t !== null && !Qr.includes(t);
85940
85979
  }
85941
- var $r = (e) => {
85980
+ var ei = (e) => {
85942
85981
  let t = e.extras;
85943
85982
  if (!t || !("check:cors:allow-origin" in t)) return "unknown";
85944
- let n = t["check:cors:allow-origin"], r = t["check:cors:allow-methods"], i = tn().trustedDomains ?? [], a = n === "*", o = n ? i.some((e) => {
85983
+ let n = t["check:cors:allow-origin"], r = t["check:cors:allow-methods"], i = nn().trustedDomains ?? [], a = n === "*", o = n ? i.some((e) => {
85945
85984
  try {
85946
85985
  let t = new URL(n).hostname;
85947
85986
  return t === e || t.endsWith(`.${e}`);
@@ -85952,19 +85991,19 @@ var $r = (e) => {
85952
85991
  return s && l ? "allowed" : "blocked";
85953
85992
  };
85954
85993
  // src/functions/matomo.ts
85955
- function ei() {
85994
+ function ti() {
85956
85995
  return window?.Matomo?.getTracker();
85957
85996
  }
85958
- function ti(e, t, n) {
85959
- let r = ei();
85997
+ function ni(e, t, n) {
85998
+ let r = ti();
85960
85999
  r && r.trackEvent(e, t, n);
85961
86000
  }
85962
86001
  // src/functions/previewErrors.ts
85963
- function ni(e) {
86002
+ function ri(e) {
85964
86003
  let t = e.extras;
85965
- return t["check:available"] === !1 ? "unavailable" : t["analysis:error"] === "File too large to download" && qr(e.format) ? "too_large" : Qr(e) ? "malformed" : t["analysis:error"] ? "unknown" : "none";
86004
+ return t["check:available"] === !1 ? "unavailable" : t["analysis:error"] === "File too large to download" && Jr(e.format) ? "too_large" : $r(e) ? "malformed" : t["analysis:error"] ? "unknown" : "none";
85966
86005
  }
85967
- function ri(e, t, n) {
86006
+ function ii(e, t, n) {
85968
86007
  let { t: r } = Y();
85969
86008
  switch (e) {
85970
86009
  case "cors": return {
@@ -85989,8 +86028,8 @@ function ri(e, t, n) {
85989
86028
  case "too_large_unsized": return {
85990
86029
  type: e,
85991
86030
  message: e === "too_large_unsized" ? r("La taille du fichier est inconnue. Il est possible que le fichier soit trop volumineux pour être prévisualisé.") : n ? r("Ce fichier {fileType} est trop volumineux pour être prévisualisé.", { fileType: n }) : r("Ce fichier est trop volumineux pour être prévisualisé."),
85992
- userCta: t && qr(t.format) ? r("Cette prévisualisation vous serait utile ?") : "",
85993
- producerCta: t && qr(t.format) ? r("Cette prévisualisation vous serait utile ?") : ""
86031
+ userCta: t && Jr(t.format) ? r("Cette prévisualisation vous serait utile ?") : "",
86032
+ producerCta: t && Jr(t.format) ? r("Cette prévisualisation vous serait utile ?") : ""
85994
86033
  };
85995
86034
  case "malformed": return {
85996
86035
  type: "malformed",
@@ -86030,29 +86069,29 @@ function ri(e, t, n) {
86030
86069
  };
86031
86070
  }
86032
86071
  }
86033
- function ii(e, t) {
86034
- return ri(ni(e), e, t);
86035
- }
86036
- function ai(e) {
86037
- return ni(e) === "none" ? "load_failed" : void 0;
86072
+ function ai(e, t) {
86073
+ return ii(ri(e), e, t);
86038
86074
  }
86039
86075
  function oi(e) {
86040
- return ni(e) !== "none";
86076
+ return ri(e) === "none" ? "load_failed" : void 0;
86077
+ }
86078
+ function si(e) {
86079
+ return ri(e) !== "none";
86041
86080
  }
86042
86081
  // assets/illustrations/microscope.svg?url
86043
- var si = "data:image/svg+xml,%3csvg%20width='208'%20height='282'%20viewBox='0%200%20208%20282'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M151.061%20143.285C146.388%20142.719%20144.831%20139.887%20144.265%20135.781C143.132%20127.71%20141.716%20119.64%20140.3%20111.428H138.743C134.354%20112.419%20129.681%20111.994%20125.575%20110.012C125.009%20109.729%20124.301%20109.587%20123.593%20109.587C122.885%20109.587%20122.177%20109.871%20121.752%20110.437C112.408%20117.516%20106.744%20126.436%20108.302%20138.471C109.01%20142.294%20110.284%20145.833%20112.266%20149.232C119.062%20161.974%20127.133%20173.868%20136.477%20184.911C137.327%20186.044%20138.318%20186.893%20139.451%20187.46C140.583%20188.026%20141.999%20188.309%20143.273%20188.309C162.529%20188.593%20181.785%20189.159%20201.041%20189.584C202.032%20189.584%20203.023%20189.584%20204.014%20190.008C205.147%20190.292%20206.138%20191%20206.846%20191.849C207.554%20192.84%20207.979%20193.831%20207.979%20195.105C207.979%20196.38%20207.412%20197.512%20206.563%20198.362C205.713%20199.212%20204.58%20199.919%20203.448%20200.061C202.032%20200.203%20200.616%20200.203%20199.2%20200.061L143.273%20198.928H140.159C139.734%20200.061%20139.309%20200.911%20138.884%20201.902C139.309%20202.185%20139.592%20202.468%20139.875%20202.468C146.105%20202.751%20152.193%20203.034%20158.282%20203.176C169.042%20203.459%20179.803%20203.884%20190.705%20204.167C192.262%20204.167%20193.82%20204.45%20195.236%20204.733C196.368%20205.017%20197.501%20205.583%20198.351%20206.574C199.059%20207.565%20199.483%20208.698%20199.483%20209.972C199.483%20211.105%20198.917%20212.237%20198.067%20213.087C197.218%20213.937%20196.227%20214.503%20195.094%20214.786C194.245%20214.928%20193.254%20215.069%20192.404%20214.928L138.884%20213.087C137.752%20213.087%20136.619%20212.945%20135.061%20212.804L128.69%20230.644C129.398%20231.068%20130.248%20231.493%20130.955%20231.776L184.192%20251.032C185.466%20251.457%20186.599%20251.881%20187.732%20252.448C189.147%20253.014%20190.422%20254.005%20191.13%20255.421C191.838%20256.837%20192.121%20258.395%20191.696%20259.952C190.705%20265.332%20189.714%20270.571%20188.581%20275.81C187.307%20281.473%20184.475%20283.03%20179.095%20281.331C163.662%20276.376%20148.371%20271.279%20132.938%20266.182L53.9324%20240.271C46.4283%20237.723%2045.4372%20236.165%2047.561%20228.378C47.9857%20226.254%2048.5521%20224.131%2049.26%20222.148C52.3749%20215.069%2050.8175%20207.848%2049.8264%20200.627C47.561%20183.071%2046.1451%20165.372%2047.7026%20147.674C49.6848%20125.02%2057.7552%20104.774%2072.905%2087.6416C78.1437%2081.5534%2084.9398%2077.0228%2092.4439%2074.3326C101.081%2071.2178%20110.001%2068.6692%20118.779%2065.979C120.053%2065.5543%20121.894%2065.1294%20122.885%2065.6958C126.283%2067.5364%20129.256%2066.2622%20132.371%2065.2711C132.371%2064.9879%20132.654%2064.8464%20132.654%2064.5632C132.654%2058.6166%20133.787%2056.9175%20139.592%2056.2096C149.079%2054.9353%20158.423%2053.6611%20167.768%2052.3868C173.148%2051.6789%20175.272%2053.2362%20176.405%2058.6165C179.52%2073.3414%20182.493%2088.0665%20185.466%20102.65C187.024%20110.012%20188.44%20117.233%20189.855%20124.596C190.563%20127.994%20191.13%20131.392%20187.59%20134.082C187.024%20134.507%20186.882%20135.923%20186.882%20136.914C186.882%20139.321%20187.024%20141.727%20186.882%20144.276C186.882%20148.099%20185.325%20150.081%20181.643%20150.789C174.422%20152.205%20167.343%20153.621%20160.122%20154.895C156.441%20155.461%20153.892%20153.904%20152.618%20150.364C151.91%20148.382%20151.344%20146.258%20150.494%20143.71L151.061%20143.285ZM114.39%2078.0138C113.682%2078.0138%20112.974%2078.1553%20112.266%2078.4385C106.319%2080.5623%20100.373%2082.5446%2094.5677%2084.9516C88.7627%2087.5001%2083.6656%2091.323%2079.7011%2096.2785C74.3209%20102.65%2069.7901%20109.729%2066.392%20117.375C60.8701%20129.976%2058.0384%20143.71%2058.0384%20157.444C58.0384%20167.779%2058.7463%20178.257%2059.4542%20188.593C59.879%20194.681%2060.8701%20200.769%2061.7196%20206.999L118.354%20227.387C118.637%20226.962%20118.921%20226.396%20119.062%20225.83C122.602%20215.919%20126%20206.008%20129.54%20196.097C129.823%20195.389%20129.823%20194.681%20129.54%20194.114C129.398%20193.406%20128.973%20192.84%20128.407%20192.415C118.496%20180.664%20109.717%20167.921%20102.213%20154.47C94.143%20140.17%2095.2756%20123.888%20105.611%20111.287C108.443%20107.747%20111.841%20104.49%20114.673%20101.517C113.965%2097.6943%20112.691%2094.013%20112.549%2090.1902C112.549%2086.509%20113.54%2082.403%20114.107%2078.1554L114.39%2078.0138ZM58.4632%20230.219L178.953%20269.863L180.652%20260.943C160.689%20253.722%20141.008%20246.501%20121.186%20239.422C101.364%20232.343%2081.8249%20224.98%2061.7196%20218.184C60.5869%20222.29%2059.5959%20225.971%2058.4632%20230.077V230.219ZM144.265%2065.8375C160.122%2074.3326%20162.388%2093.3052%20150.211%20105.482C151.627%20114.26%20153.043%20122.755%20154.459%20131.392L179.661%20125.02C175.414%20104.066%20171.166%2083.5356%20166.918%2062.864L144.265%2065.979V65.8375ZM123.31%2090.615C123.31%2097.5528%20130.389%20103.074%20138.176%20100.384C141.291%2099.1101%20143.981%2096.8448%20145.539%2093.7299C147.096%2090.7566%20147.663%2087.2169%20146.813%2083.8188C146.388%2081.8366%20145.397%2080.1376%20144.123%2078.7218C142.707%2077.3059%20141.008%2076.1731%20139.167%2075.6068C137.327%2075.0404%20135.203%2075.0405%20133.362%2075.4652C131.38%2075.89%20129.681%2076.8811%20128.265%2078.297C125.009%2081.1287%20123.168%2084.8099%20123.31%2090.4733V90.615ZM161.821%20140.453C161.821%20143.143%20163.096%20143.285%20164.653%20143.002C168.476%20142.294%20172.44%20141.444%20176.263%20140.595C176.405%20140.595%20176.688%20140.312%20176.971%20139.887L176.546%20136.631L161.68%20140.312L161.821%20140.453Z'%20fill='%23102185'/%3e%3cpath%20d='M29.8625%2091.1813C26.8892%2091.1813%2024.907%2089.1991%2024.199%2086.0842C23.3495%2081.5535%2022.2168%2077.0227%2020.9426%2072.6335C18.6772%2065.5542%2014.8543%2058.8997%209.7572%2053.5194C7.77499%2051.6788%205.79279%2049.9798%203.5274%2048.2808C-1.00337%2044.7412%20-1.14495%2041.343%202.96106%2037.3786C5.65121%2034.6884%208.48293%2031.9984%2011.3147%2029.3082C16.2702%2024.3527%2019.6683%2018.123%2021.0841%2011.3269C21.6505%209.06151%2022.0752%206.79603%2022.7832%204.67224C23.7743%201.55734%2025.7565%200%2028.1634%200C30.5704%200%2032.6942%201.84058%2033.6854%205.09706C33.9685%206.37134%2034.2517%207.64554%2034.3933%208.91982C34.9596%2012.7426%2036.3755%2016.4238%2038.4993%2019.6803C40.6231%2022.9368%2043.4548%2025.6271%2046.7113%2027.6093C49.6846%2029.4499%2052.6579%2031.1489%2055.7728%2032.7063C60.5868%2035.2549%2061.4363%2038.7944%2058.0382%2043.042C55.9144%2045.7322%2053.7906%2048.4224%2051.3837%2051.1125C44.0212%2059.4661%2038.6409%2068.8108%2036.9418%2079.9961C36.5171%2083.111%2035.526%2085.9427%2033.9685%2088.6328C33.5437%2089.3408%2032.8358%2089.907%2032.1279%2090.3318C31.42%2090.7566%2030.5704%2091.0397%2029.7209%2091.1813H29.8625ZM29.7209%2065.6958C33.6853%2055.5016%2040.0567%2047.856%2046.8529%2039.9272C38.924%2036.5291%2032.411%2030.5825%2028.1634%2023.0784C24.7654%2031.0072%2019.3851%2036.8123%2013.2969%2042.1925C20.8009%2048.4223%2025.6149%2056.3511%2029.7209%2065.6958Z'%20fill='%23102185'/%3e%3c/svg%3e", ci = { class: "flex flex-col items-center py-12" }, li = ["src"], ui = { class: "fr-text--bold mb-1" }, di = { class: "text-sm text-gray-medium mb-4 text-center max-w-lg" }, fi = {
86082
+ var ci = "data:image/svg+xml,%3csvg%20width='208'%20height='282'%20viewBox='0%200%20208%20282'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M151.061%20143.285C146.388%20142.719%20144.831%20139.887%20144.265%20135.781C143.132%20127.71%20141.716%20119.64%20140.3%20111.428H138.743C134.354%20112.419%20129.681%20111.994%20125.575%20110.012C125.009%20109.729%20124.301%20109.587%20123.593%20109.587C122.885%20109.587%20122.177%20109.871%20121.752%20110.437C112.408%20117.516%20106.744%20126.436%20108.302%20138.471C109.01%20142.294%20110.284%20145.833%20112.266%20149.232C119.062%20161.974%20127.133%20173.868%20136.477%20184.911C137.327%20186.044%20138.318%20186.893%20139.451%20187.46C140.583%20188.026%20141.999%20188.309%20143.273%20188.309C162.529%20188.593%20181.785%20189.159%20201.041%20189.584C202.032%20189.584%20203.023%20189.584%20204.014%20190.008C205.147%20190.292%20206.138%20191%20206.846%20191.849C207.554%20192.84%20207.979%20193.831%20207.979%20195.105C207.979%20196.38%20207.412%20197.512%20206.563%20198.362C205.713%20199.212%20204.58%20199.919%20203.448%20200.061C202.032%20200.203%20200.616%20200.203%20199.2%20200.061L143.273%20198.928H140.159C139.734%20200.061%20139.309%20200.911%20138.884%20201.902C139.309%20202.185%20139.592%20202.468%20139.875%20202.468C146.105%20202.751%20152.193%20203.034%20158.282%20203.176C169.042%20203.459%20179.803%20203.884%20190.705%20204.167C192.262%20204.167%20193.82%20204.45%20195.236%20204.733C196.368%20205.017%20197.501%20205.583%20198.351%20206.574C199.059%20207.565%20199.483%20208.698%20199.483%20209.972C199.483%20211.105%20198.917%20212.237%20198.067%20213.087C197.218%20213.937%20196.227%20214.503%20195.094%20214.786C194.245%20214.928%20193.254%20215.069%20192.404%20214.928L138.884%20213.087C137.752%20213.087%20136.619%20212.945%20135.061%20212.804L128.69%20230.644C129.398%20231.068%20130.248%20231.493%20130.955%20231.776L184.192%20251.032C185.466%20251.457%20186.599%20251.881%20187.732%20252.448C189.147%20253.014%20190.422%20254.005%20191.13%20255.421C191.838%20256.837%20192.121%20258.395%20191.696%20259.952C190.705%20265.332%20189.714%20270.571%20188.581%20275.81C187.307%20281.473%20184.475%20283.03%20179.095%20281.331C163.662%20276.376%20148.371%20271.279%20132.938%20266.182L53.9324%20240.271C46.4283%20237.723%2045.4372%20236.165%2047.561%20228.378C47.9857%20226.254%2048.5521%20224.131%2049.26%20222.148C52.3749%20215.069%2050.8175%20207.848%2049.8264%20200.627C47.561%20183.071%2046.1451%20165.372%2047.7026%20147.674C49.6848%20125.02%2057.7552%20104.774%2072.905%2087.6416C78.1437%2081.5534%2084.9398%2077.0228%2092.4439%2074.3326C101.081%2071.2178%20110.001%2068.6692%20118.779%2065.979C120.053%2065.5543%20121.894%2065.1294%20122.885%2065.6958C126.283%2067.5364%20129.256%2066.2622%20132.371%2065.2711C132.371%2064.9879%20132.654%2064.8464%20132.654%2064.5632C132.654%2058.6166%20133.787%2056.9175%20139.592%2056.2096C149.079%2054.9353%20158.423%2053.6611%20167.768%2052.3868C173.148%2051.6789%20175.272%2053.2362%20176.405%2058.6165C179.52%2073.3414%20182.493%2088.0665%20185.466%20102.65C187.024%20110.012%20188.44%20117.233%20189.855%20124.596C190.563%20127.994%20191.13%20131.392%20187.59%20134.082C187.024%20134.507%20186.882%20135.923%20186.882%20136.914C186.882%20139.321%20187.024%20141.727%20186.882%20144.276C186.882%20148.099%20185.325%20150.081%20181.643%20150.789C174.422%20152.205%20167.343%20153.621%20160.122%20154.895C156.441%20155.461%20153.892%20153.904%20152.618%20150.364C151.91%20148.382%20151.344%20146.258%20150.494%20143.71L151.061%20143.285ZM114.39%2078.0138C113.682%2078.0138%20112.974%2078.1553%20112.266%2078.4385C106.319%2080.5623%20100.373%2082.5446%2094.5677%2084.9516C88.7627%2087.5001%2083.6656%2091.323%2079.7011%2096.2785C74.3209%20102.65%2069.7901%20109.729%2066.392%20117.375C60.8701%20129.976%2058.0384%20143.71%2058.0384%20157.444C58.0384%20167.779%2058.7463%20178.257%2059.4542%20188.593C59.879%20194.681%2060.8701%20200.769%2061.7196%20206.999L118.354%20227.387C118.637%20226.962%20118.921%20226.396%20119.062%20225.83C122.602%20215.919%20126%20206.008%20129.54%20196.097C129.823%20195.389%20129.823%20194.681%20129.54%20194.114C129.398%20193.406%20128.973%20192.84%20128.407%20192.415C118.496%20180.664%20109.717%20167.921%20102.213%20154.47C94.143%20140.17%2095.2756%20123.888%20105.611%20111.287C108.443%20107.747%20111.841%20104.49%20114.673%20101.517C113.965%2097.6943%20112.691%2094.013%20112.549%2090.1902C112.549%2086.509%20113.54%2082.403%20114.107%2078.1554L114.39%2078.0138ZM58.4632%20230.219L178.953%20269.863L180.652%20260.943C160.689%20253.722%20141.008%20246.501%20121.186%20239.422C101.364%20232.343%2081.8249%20224.98%2061.7196%20218.184C60.5869%20222.29%2059.5959%20225.971%2058.4632%20230.077V230.219ZM144.265%2065.8375C160.122%2074.3326%20162.388%2093.3052%20150.211%20105.482C151.627%20114.26%20153.043%20122.755%20154.459%20131.392L179.661%20125.02C175.414%20104.066%20171.166%2083.5356%20166.918%2062.864L144.265%2065.979V65.8375ZM123.31%2090.615C123.31%2097.5528%20130.389%20103.074%20138.176%20100.384C141.291%2099.1101%20143.981%2096.8448%20145.539%2093.7299C147.096%2090.7566%20147.663%2087.2169%20146.813%2083.8188C146.388%2081.8366%20145.397%2080.1376%20144.123%2078.7218C142.707%2077.3059%20141.008%2076.1731%20139.167%2075.6068C137.327%2075.0404%20135.203%2075.0405%20133.362%2075.4652C131.38%2075.89%20129.681%2076.8811%20128.265%2078.297C125.009%2081.1287%20123.168%2084.8099%20123.31%2090.4733V90.615ZM161.821%20140.453C161.821%20143.143%20163.096%20143.285%20164.653%20143.002C168.476%20142.294%20172.44%20141.444%20176.263%20140.595C176.405%20140.595%20176.688%20140.312%20176.971%20139.887L176.546%20136.631L161.68%20140.312L161.821%20140.453Z'%20fill='%23102185'/%3e%3cpath%20d='M29.8625%2091.1813C26.8892%2091.1813%2024.907%2089.1991%2024.199%2086.0842C23.3495%2081.5535%2022.2168%2077.0227%2020.9426%2072.6335C18.6772%2065.5542%2014.8543%2058.8997%209.7572%2053.5194C7.77499%2051.6788%205.79279%2049.9798%203.5274%2048.2808C-1.00337%2044.7412%20-1.14495%2041.343%202.96106%2037.3786C5.65121%2034.6884%208.48293%2031.9984%2011.3147%2029.3082C16.2702%2024.3527%2019.6683%2018.123%2021.0841%2011.3269C21.6505%209.06151%2022.0752%206.79603%2022.7832%204.67224C23.7743%201.55734%2025.7565%200%2028.1634%200C30.5704%200%2032.6942%201.84058%2033.6854%205.09706C33.9685%206.37134%2034.2517%207.64554%2034.3933%208.91982C34.9596%2012.7426%2036.3755%2016.4238%2038.4993%2019.6803C40.6231%2022.9368%2043.4548%2025.6271%2046.7113%2027.6093C49.6846%2029.4499%2052.6579%2031.1489%2055.7728%2032.7063C60.5868%2035.2549%2061.4363%2038.7944%2058.0382%2043.042C55.9144%2045.7322%2053.7906%2048.4224%2051.3837%2051.1125C44.0212%2059.4661%2038.6409%2068.8108%2036.9418%2079.9961C36.5171%2083.111%2035.526%2085.9427%2033.9685%2088.6328C33.5437%2089.3408%2032.8358%2089.907%2032.1279%2090.3318C31.42%2090.7566%2030.5704%2091.0397%2029.7209%2091.1813H29.8625ZM29.7209%2065.6958C33.6853%2055.5016%2040.0567%2047.856%2046.8529%2039.9272C38.924%2036.5291%2032.411%2030.5825%2028.1634%2023.0784C24.7654%2031.0072%2019.3851%2036.8123%2013.2969%2042.1925C20.8009%2048.4223%2025.6149%2056.3511%2029.7209%2065.6958Z'%20fill='%23102185'/%3e%3c/svg%3e", li = { class: "flex flex-col items-center py-12" }, ui = ["src"], di = { class: "fr-text--bold mb-1" }, fi = { class: "text-sm text-gray-medium mb-4 text-center max-w-lg" }, pi = {
86044
86083
  key: 0,
86045
86084
  class: "text-xs text-gray-medium mb-4 text-center max-w-lg"
86046
- }, pi = {
86085
+ }, mi = {
86047
86086
  key: 1,
86048
86087
  class: "mb-4"
86049
- }, mi = {
86088
+ }, hi = {
86050
86089
  key: 2,
86051
86090
  class: "mb-4"
86052
- }, hi = {
86091
+ }, gi = {
86053
86092
  key: 3,
86054
86093
  class: "mb-4"
86055
- }, gi = /* @__PURE__ */ u({
86094
+ }, _i = /* @__PURE__ */ u({
86056
86095
  __name: "PreviewError",
86057
86096
  props: {
86058
86097
  resource: {},
@@ -86062,21 +86101,21 @@ var si = "data:image/svg+xml,%3csvg%20width='208'%20height='282'%20viewBox='0%20
86062
86101
  detail: {}
86063
86102
  },
86064
86103
  setup(e) {
86065
- let t = e, { t: n } = Y(), u = tn(), d = r(() => u.supportUrl ?? ""), f = r(() => t.resource ? Rr(t.resource) : null), p = r(() => t.errorType ? ri(t.errorType, t.resource, t.fileType) : t.resource ? ii(t.resource) : ri("none")), m = r(() => p.value.type === "too_large" || p.value.type === "too_large_unsized"), h = r(() => t.detail ? t.detail : t.errorType ? null : p.value.type === "malformed" && t.resource ? `${n("Erreur :")} ${Xr(t.resource)}` : null), g = E(!1), _ = () => {
86066
- t.resource && !g.value && (g.value = !0, ti("Aperçu", `Demande de prévisualisation (${p.value.type})`, t.resource.id), _n.success(n("Merci, votre demande a bien été notée.")));
86104
+ let t = e, { t: n } = Y(), u = nn(), d = r(() => u.supportUrl ?? ""), f = r(() => t.resource ? zr(t.resource) : null), p = r(() => t.errorType ? ii(t.errorType, t.resource, t.fileType) : t.resource ? ai(t.resource) : ii("none")), m = r(() => p.value.type === "too_large" || p.value.type === "too_large_unsized"), h = r(() => t.detail ? t.detail : t.errorType ? null : p.value.type === "malformed" && t.resource ? `${n("Erreur :")} ${Zr(t.resource)}` : null), g = E(!1), _ = () => {
86105
+ t.resource && !g.value && (g.value = !0, ni("Aperçu", `Demande de prévisualisation (${p.value.type})`, t.resource.id), vn.success(n("Merci, votre demande a bien été notée.")));
86067
86106
  }, v = () => {
86068
- t.resource && ti("Aperçu", `Demande de prévisualisation producteur (${p.value.type})`, t.resource.id);
86107
+ t.resource && ni("Aperçu", `Demande de prévisualisation producteur (${p.value.type})`, t.resource.id);
86069
86108
  };
86070
- return (t, r) => (S(), o("div", ci, [
86109
+ return (t, r) => (S(), o("div", li, [
86071
86110
  s("img", {
86072
- src: j(si),
86111
+ src: j(ci),
86073
86112
  class: "h-20 mb-3",
86074
86113
  alt: ""
86075
- }, null, 8, li),
86076
- s("p", ui, A(j(n)("Aperçu indisponible.")), 1),
86077
- s("p", di, A(p.value.message), 1),
86078
- h.value ? (S(), o("p", fi, A(h.value), 1)) : a("", !0),
86079
- !e.showProducerCta && p.value.userCta ? (S(), o("div", pi, [l(pn, {
86114
+ }, null, 8, ui),
86115
+ s("p", di, A(j(n)("Aperçu indisponible.")), 1),
86116
+ s("p", fi, A(p.value.message), 1),
86117
+ h.value ? (S(), o("p", pi, A(h.value), 1)) : a("", !0),
86118
+ !e.showProducerCta && p.value.userCta ? (S(), o("div", mi, [l(mn, {
86080
86119
  color: "secondary",
86081
86120
  disabled: g.value,
86082
86121
  onClick: _
@@ -86084,7 +86123,7 @@ var si = "data:image/svg+xml,%3csvg%20width='208'%20height='282'%20viewBox='0%20
86084
86123
  default: P(() => [c(A(p.value.userCta), 1)]),
86085
86124
  _: 1
86086
86125
  }, 8, ["disabled"])])) : a("", !0),
86087
- m.value && t.$slots["too-large-action"] ? (S(), o("div", mi, [O(t.$slots, "too-large-action")])) : p.value.producerCta && e.showProducerCta ? (S(), o("div", hi, [l(pn, {
86126
+ m.value && t.$slots["too-large-action"] ? (S(), o("div", hi, [O(t.$slots, "too-large-action")])) : p.value.producerCta && e.showProducerCta ? (S(), o("div", gi, [l(mn, {
86088
86127
  href: d.value,
86089
86128
  color: "secondary",
86090
86129
  "new-tab": "",
@@ -86093,7 +86132,7 @@ var si = "data:image/svg+xml,%3csvg%20width='208'%20height='282'%20viewBox='0%20
86093
86132
  default: P(() => [c(A(p.value.producerCta), 1)]),
86094
86133
  _: 1
86095
86134
  }, 8, ["href"])])) : a("", !0),
86096
- e.resource && !f.value ? (S(), i(pn, {
86135
+ e.resource && !f.value ? (S(), i(mn, {
86097
86136
  key: 4,
86098
86137
  href: e.resource.latest,
86099
86138
  icon: j(Ye),
@@ -86101,7 +86140,7 @@ var si = "data:image/svg+xml,%3csvg%20width='208'%20height='282'%20viewBox='0%20
86101
86140
  download: "",
86102
86141
  external: "",
86103
86142
  class: "matomo_download shrink-0",
86104
- onClick: r[0] ||= (e) => j(ti)("Jeux de données", "Télécharger un fichier", "Bouton : télécharger un fichier")
86143
+ onClick: r[0] ||= (e) => j(ni)("Jeux de données", "Télécharger un fichier", "Bouton : télécharger un fichier")
86105
86144
  }, {
86106
86145
  default: P(() => [c(A(j(n)("Télécharger")), 1)]),
86107
86146
  _: 1
@@ -86109,4 +86148,4 @@ var si = "data:image/svg+xml,%3csvg%20width='208'%20height='282'%20viewBox='0%20
86109
86148
  ]));
86110
86149
  }
86111
86150
  });
86112
- export { at as $, St as $t, _n as A, bt as At, Xt as B, st as Bt, zr as C, yt as Ct, qr as D, Nt as Dt, Jr as E, et as Et, an as F, it as Ft, Mt as G, Ve as Gt, Y as H, Ne as Ht, en as I, qe as It, Ue as J, ct as Jt, we as K, Et as Kt, tn as L, Tt as Lt, pn as M, Be as Mt, fn as N, mt as Nt, Hr as O, It as Ot, on as P, Ot as Pt, Ze as Q, ut as Qt, Yt as R, Je as Rt, Qr as S, jt as St, Gr as T, Ae as Tt, Ee as U, Fe as Ut, $t as V, Dt as Vt, Ht as W, pt as Wt, ft as X, Lt as Xt, xe as Y, je as Yt, Le as Z, rt as Zt, Ur as _, We as _t, ai as a, Bt as an, Ie as at, Ir as b, Te as bt, ti as c, le as cn, tt as ct, Pr as d, vt as dt, Ge as en, ke as et, Rr as f, Qe as ft, Br as g, Pe as gt, $r as h, wt as ht, ni as i, At as in, Rt as it, X as j, ot as jt, or as k, ze as kt, Lr as l, H as ln, Ct as lt, Yr as m, gt as mt, ii as n, Ke as nn, zt as nt, oi as o, Ye as on, He as ot, Xr as p, Ce as pt, De as q, Pt as qt, ri as r, Vt as rn, ht as rt, ei as s, lt as sn, kt as st, gi as t, Oe as tn, dt as tt, Fr as u, nt as ut, jr as v, Re as vt, Vr as w, Se as wt, Nr as x, Me as xt, Mr as y, _t as yt, Qt as z, Ft as zt };
86151
+ export { ot as $, Ct as $t, vn as A, xt as At, Zt as B, ct as Bt, Br as C, bt as Ct, Jr as D, Pt as Dt, Yr as E, tt as Et, on as F, at as Ft, Nt as G, Ve as Gt, Y as H, Ne as Ht, tn as I, qe as It, Ue as J, lt as Jt, we as K, Dt as Kt, nn as L, Et as Lt, mn as M, Be as Mt, pn as N, ht as Nt, Ur as O, Lt as Ot, sn as P, kt as Pt, Qe as Q, dt as Qt, Xt as R, Je as Rt, $r as S, Mt as St, Kr as T, Ae as Tt, Ee as U, Fe as Ut, en as V, Ot as Vt, Ut as W, mt as Wt, pt as X, Rt as Xt, xe as Y, je as Yt, Le as Z, it as Zt, Wr as _, We as _t, oi as a, jt as an, Ie as at, Lr as b, Te as bt, ni as c, ut as cn, nt as ct, Fr as d, yt as dt, Ge as en, ke as et, zr as f, $e as ft, Vr as g, Pe as gt, ei as h, Tt as ht, ri as i, Xe as in, zt as it, X as j, st as jt, sr as k, ze as kt, Rr as l, ce as ln, wt as lt, Xr as m, _t as mt, ai as n, Ke as nn, Bt as nt, si as o, Vt as on, He as ot, Zr as p, Ce as pt, De as q, Ft as qt, ii as r, Ht as rn, gt as rt, ti as s, Ye as sn, At as st, _i as t, Oe as tn, ft as tt, Ir as u, U as un, rt as ut, Mr as v, Re as vt, Hr as w, Se as wt, Pr as x, Me as xt, Nr as y, vt as yt, $t as z, It as zt };