@datagouv/components-next 1.0.2-dev.223 → 1.0.2-dev.225

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, computed as a, openBlock as t, createElementBlock as o, createElementVNode as l, createBlock as f, withCtx as p, createTextVNode as m, toDisplayString as _, unref as x } from "vue";
2
- import { a as h, d as v } from "./main-BzR7HPLe.js";
2
+ import { a as h, d as v } from "./main-Cv5Nde60.js";
3
3
  const g = { class: "fr-text--xs" }, b = { key: 0 }, k = ["src"], B = /* @__PURE__ */ u({
4
4
  __name: "Datafair.client",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as _, ref as y, computed as o, openBlock as t, createElementBlock as u, createBlock as p, withCtx as f, createTextVNode as m, toDisplayString as d, unref as l } from "vue";
2
- import { a as z, u as T, b as k, d as h } from "./main-BzR7HPLe.js";
2
+ import { a as z, u as T, b as k, d as h } from "./main-Cv5Nde60.js";
3
3
  const w = { class: "text-xs" }, B = ["src"], E = /* @__PURE__ */ _({
4
4
  __name: "ImagePreview.client",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as c, defineAsyncComponent as u, openBlock as m, createBlock as p, unref as r, withCtx as f, createVNode as l } from "vue";
2
- import { u as d } from "./main-BzR7HPLe.js";
3
- import { _ as h } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-D07VQ55G.js";
2
+ import { u as d } from "./main-Cv5Nde60.js";
3
+ import { _ as h } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-S7RhJ98Q.js";
4
4
  const J = /* @__PURE__ */ c({
5
5
  __name: "JsonPreview.client",
6
6
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as E, useTemplateRef as G, ref as W, onMounted as z, openBlock as u, createBlock as B, withCtx as N, createTextVNode as V, toDisplayString as q, unref as A, createElementBlock as D } from "vue";
2
- import { a as F, d as O } from "./main-BzR7HPLe.js";
2
+ import { a as F, d as O } from "./main-Cv5Nde60.js";
3
3
  const Z = /* @__PURE__ */ E({
4
4
  __name: "MapContainer.client",
5
5
  props: {
@@ -24,7 +24,7 @@ const Z = /* @__PURE__ */ E({
24
24
  import("./Tile-DI5PtNs-.js").then((t) => t.d),
25
25
  import("./OSM-BUakwXg7.js"),
26
26
  // @ts-expect-error no types provided
27
- import("./index-AG-SbiCt.js")
27
+ import("./index-izN9k0Xe.js")
28
28
  ]), { CRS: _, GeoportalAttribution: S, GeoportalFullScreen: g, GeoportalZoom: b, LayerImport: v, LayerSwitcher: L } = C;
29
29
  await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), _.load(), e = new s({
30
30
  target: a.value,
@@ -12,8 +12,8 @@ var bZ = (R, l, U, Z) => ({
12
12
  }
13
13
  });
14
14
  import { defineComponent as Rd, ref as Nd, onBeforeUnmount as sd, openBlock as LU, createBlock as bd, unref as nd, withCtx as nZ, createElementVNode as kU, normalizeClass as ad, createElementBlock as aZ, Fragment as hd, renderList as md, createVNode as id } from "vue";
15
- import { _ as Md } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-D07VQ55G.js";
16
- import { u as Jd, _ as Gd } from "./main-BzR7HPLe.js";
15
+ import { _ as Md } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-S7RhJ98Q.js";
16
+ import { u as Jd, _ as Gd } from "./main-Cv5Nde60.js";
17
17
  var ZU = {};
18
18
  ZU.d = (R, l) => {
19
19
  for (var U in l)
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as I0, ref as E0, computed as Zc, useTemplateRef as M0, onMounted as A0, openBlock as vh, createElementBlock as ip, createBlock as C0, withCtx as Gm, createTextVNode as Zm, toDisplayString as qc, unref as _s, createElementVNode as Ua, createVNode as D0, createCommentVNode as z0 } from "vue";
2
- import { g as R0, a as k0, e as L0, u as F0, f as O0, d as B0, h as N0, i as j0, Q as V0, t as U0 } from "./main-BzR7HPLe.js";
2
+ import { g as R0, a as k0, e as L0, u as F0, f as O0, d as B0, h as N0, i as j0, Q as V0, t as U0 } from "./main-Cv5Nde60.js";
3
3
  var on = Uint8Array, Rl = Uint16Array, $0 = Int32Array, cg = new on([
4
4
  0,
5
5
  0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as C, ref as v, computed as y, onMounted as S, nextTick as w, openBlock as a, createElementBlock as b, normalizeClass as B, renderSlot as x, createElementVNode as _, toDisplayString as i, unref as t, createBlock as s, withCtx as n, createTextVNode as u, createCommentVNode as E } from "vue";
2
- import { a as L, b as N, c as R, d as c } from "./main-BzR7HPLe.js";
2
+ import { a as L, b as N, c as R, d as c } from "./main-Cv5Nde60.js";
3
3
  const V = { class: "text-gray-medium" }, F = /* @__PURE__ */ C({
4
4
  __name: "PreviewWrapper",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as i, defineAsyncComponent as m, openBlock as u, createBlock as f, unref as t, withCtx as l, createVNode as p } from "vue";
2
- import { u as x } from "./main-BzR7HPLe.js";
3
- import { _ as w } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-D07VQ55G.js";
2
+ import { u as x } from "./main-Cv5Nde60.js";
3
+ import { _ as w } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-S7RhJ98Q.js";
4
4
  const X = /* @__PURE__ */ i({
5
5
  __name: "XmlPreview.client",
6
6
  props: {
@@ -8,7 +8,7 @@ const X = /* @__PURE__ */ i({
8
8
  },
9
9
  setup(r) {
10
10
  const o = m(
11
- () => import("./vue3-xml-viewer.common-DCzadi-B.js").then((e) => e.v).then((e) => e.default || e.XmlViewer)
11
+ () => import("./vue3-xml-viewer.common-DhlRLVze.js").then((e) => e.v).then((e) => e.default || e.XmlViewer)
12
12
  ), n = r, s = x(), c = async () => {
13
13
  const e = await fetch(n.resource.url);
14
14
  if (!e.ok) throw new Error(`HTTP error! status: ${e.status}`);
@@ -1,4 +1,4 @@
1
- import { A as e, k as t, l as r, m as o, n as i, o as n, p as c, q as l, i as u, C as b, r as g, s as d, v as T, D as C, w as p, x as m, y as D, z as S, B as R, E as O, F as E, G as f, H as I, I as y, J as h, K as A, L as P, M as v, N as M, O as F, P as L, R as z, S as w, T as G, U as _, V as N, W as U, X as x, Y as k, Z as B, $ as H, a0 as V, a1 as Q, a2 as W, a3 as Y, a4 as j, a5 as X, a6 as q, a7 as Z, a8 as J, a9 as K, aa as $, ab as aa, ac as sa, ad as ea, ae as ta, af as ra, ag as oa, ah as ia, ai as na, aj as ca, ak as la, al as ua, am as ba, an as ga, ao as da, ap as Ta, aq as Ca, ar as pa, as as ma, at as Da, au as Sa, av as Ra, aw as Oa, ax as Ea, ay as fa, az as Ia, aA as ya, aB as ha, aC as Aa, aD as Pa, aE as va, aF as Ma, aG as Fa, aH as La, aI as za, aJ as wa, aK as Ga, aL as _a, aM as Na, aN as Ua, aO as xa, aP as ka, aQ as Ba, aR as Ha, aS as Va, aT as Qa, aU as Wa, aV as Ya, aW as ja, aX as Xa, aY as qa, aZ as Za, a_ as Ja, a$ as Ka, b0 as $a, b1 as as, b2 as ss, b3 as es, b4 as ts, b5 as rs, b6 as os, b7 as is, b8 as ns, b9 as cs, ba as ls, bb as us, bc as bs, bd as gs, be as ds, bf as Ts, bg as Cs, bh as ps, bi as ms, bj as Ds, bk as Ss, bl as Rs, bm as Os, bn as Es, bo as fs, bp as Is, bq as ys, br as hs, bs as As, bt as Ps, bu as vs, bv as Ms, bw as Fs, bx as Ls, by as zs, bz as ws, f as Gs, bA as _s, bB as Ns, bC as Us, bD as xs, bE as ks, bF as Bs, bG as Hs, bH as Vs, bI as Qs, c as Ws, bJ as Ys, b as js, bK as Xs, bL as qs, bM as Zs, bN as Js, bO as Ks, bP as $s, bQ as ae, bR as se, bS as ee, bT as te, bU as re, bV as oe, bW as ie, bX as ne, bY as ce, bZ as le, b_ as ue, b$ as be, c0 as ge, c1 as de, c2 as Te, c3 as Ce, c4 as pe, c5 as me, c6 as De, c7 as Se, c8 as Re, c9 as Oe, ca as Ee, ca as fe, cb as Ie, cc as ye, cd as he, ce as Ae, cf as Pe, cg as ve, t as Me, ch as Fe, ci as Le, cj as ze, ck as we, cl as Ge, cm as _e, u as Ne, cn as Ue, co as xe, cp as ke, e as Be, cq as He, cr as Ve, cs as Qe, ct as We, cu as Ye, cv as je, cw as Xe, cx as qe, cy as Ze, cz as Je, cA as Ke, cB as $e, a as at } from "./main-BzR7HPLe.js";
1
+ import { A as e, k as t, l as r, m as o, n as i, o as n, p as c, q as l, i as u, C as b, r as g, s as d, v as T, D as C, w as p, x as m, y as D, z as S, B as R, E as O, F as E, G as f, H as I, I as y, J as h, K as A, L as P, M as v, N as M, O as F, P as L, R as z, S as w, T as G, U as _, V as N, W as U, X as x, Y as k, Z as B, $ as H, a0 as V, a1 as Q, a2 as W, a3 as Y, a4 as j, a5 as X, a6 as q, a7 as Z, a8 as J, a9 as K, aa as $, ab as aa, ac as sa, ad as ea, ae as ta, af as ra, ag as oa, ah as ia, ai as na, aj as ca, ak as la, al as ua, am as ba, an as ga, ao as da, ap as Ta, aq as Ca, ar as pa, as as ma, at as Da, au as Sa, av as Ra, aw as Oa, ax as Ea, ay as fa, az as Ia, aA as ya, aB as ha, aC as Aa, aD as Pa, aE as va, aF as Ma, aG as Fa, aH as La, aI as za, aJ as wa, aK as Ga, aL as _a, aM as Na, aN as Ua, aO as xa, aP as ka, aQ as Ba, aR as Ha, aS as Va, aT as Qa, aU as Wa, aV as Ya, aW as ja, aX as Xa, aY as qa, aZ as Za, a_ as Ja, a$ as Ka, b0 as $a, b1 as as, b2 as ss, b3 as es, b4 as ts, b5 as rs, b6 as os, b7 as is, b8 as ns, b9 as cs, ba as ls, bb as us, bc as bs, bd as gs, be as ds, bf as Ts, bg as Cs, bh as ps, bi as ms, bj as Ds, bk as Ss, bl as Rs, bm as Os, bn as Es, bo as fs, bp as Is, bq as ys, br as hs, bs as As, bt as Ps, bu as vs, bv as Ms, bw as Fs, bx as Ls, by as zs, bz as ws, f as Gs, bA as _s, bB as Ns, bC as Us, bD as xs, bE as ks, bF as Bs, bG as Hs, bH as Vs, bI as Qs, c as Ws, bJ as Ys, b as js, bK as Xs, bL as qs, bM as Zs, bN as Js, bO as Ks, bP as $s, bQ as ae, bR as se, bS as ee, bT as te, bU as re, bV as oe, bW as ie, bX as ne, bY as ce, bZ as le, b_ as ue, b$ as be, c0 as ge, c1 as de, c2 as Te, c3 as Ce, c4 as pe, c5 as me, c6 as De, c7 as Se, c8 as Re, c9 as Oe, ca as Ee, ca as fe, cb as Ie, cc as ye, cd as he, ce as Ae, cf as Pe, cg as ve, t as Me, ch as Fe, ci as Le, cj as ze, ck as we, cl as Ge, cm as _e, u as Ne, cn as Ue, co as xe, cp as ke, e as Be, cq as He, cr as Ve, cs as Qe, ct as We, cu as Ye, cv as je, cw as Xe, cx as qe, cy as Ze, cz as Je, cA as Ke, cB as $e, a as at } from "./main-Cv5Nde60.js";
2
2
  export {
3
3
  e as AI_SUGGESTION_MIN_DESCRIPTION_LENGTH,
4
4
  t as ASSOCIATION,
@@ -6,7 +6,7 @@ import { a as TileGrid, U as UrlTile, e as extentFromProjection, c as createXYZ,
6
6
  import { D as DEFAULT_MAX_ZOOM, a as assert, f as forEach, i as intersectsLineString, b as intersectsLineStringArray, l as linearRingssContainsXY, c as intersectsLinearRingMultiArray, d as compose, e as create, g as apply, s as setFromArray, m as multiply, h as scale, I as IDENTITY_TRANSFORM, r as reset, t as translate } from "./common-C3bYhKiN.js";
7
7
  import { R as RBush$1, C as Collection, a as CollectionEventType, b as asColorLike, d as defaultFillStyle, c as defaultStrokeStyle, e as defaultLineCap, f as defaultLineDash, g as defaultLineDashOffset, h as defaultLineJoin, i as defaultLineWidth, j as defaultMiterLimit, k as defaultStrokeOffset, l as defaultPadding, m as defaultTextBaseline, n as defaultTextAlign, o as defaultFont, r as registerFont, p as getTextDimensions, q as drawImageOrLabel, s as measureAndCacheTextWidth, I as Icon, B as BaseVectorLayer, P as PointerInteraction, t as noModifierKeys, u as always, v as shiftKeyOnly, w as InteractionProperty, M as MapBrowserEventType, x as MapBrowserEvent, y as never, z as createEditingStyle, A as primaryAction, D as altKeyOnly, E as singleClick, F as Interaction, G as Fill, S as Stroke, T as Text, H as Style$1, J as CircleStyle, K as checkedFonts, L as Map$1, N as pointerMove, O as ImageStyle, Q as Attribution, Z as Zoom, U as MapProperty } from "./Map-B4L0JtRr.js";
8
8
  import { S as SimpleGeometry, m as maxSquaredDelta, a as assignClosestPoint, i as inflateCoordinates, d as douglasPeucker, b as deflateCoordinates, c as arrayMaxSquaredDelta, e as assignClosestArrayPoint, f as inflateCoordinatesArray, g as douglasPeuckerArray, h as deflateCoordinatesArray, P as Point$1, j as multiArrayMaxSquaredDelta, k as assignClosestMultiArrayPoint, l as linearRingss$1, o as orientLinearRingsArray, n as inflateMultiCoordinatesArray, p as getInteriorPointsOfMultiArray, q as linearRingssAreOriented, r as quantizeMultiArray, s as Polygon, t as deflateMultiCoordinatesArray, u as getInteriorPointOfArray, v as inflateEnds, w as transform2D, x as quantizeArray, y as deflateCoordinate, z as rotate, A as snap, B as transformGeom2D, V as ViewHint, G as Geometry, C as getStrideForLayout, D as linearRingsAreOriented, E as orientLinearRings, F as getLayoutForStride, H as circular, L as LinearRing, I as View, J as ViewProperty, K as fromExtent } from "./View-CwG9s9BF.js";
9
- import { j as commonjsGlobal, g as getDefaultExportFromCjs$1 } from "./main-BzR7HPLe.js";
9
+ import { j as commonjsGlobal, g as getDefaultExportFromCjs$1 } from "./main-Cv5Nde60.js";
10
10
  import { R as RenderEventType, a as asArray, B as BaseLayer } from "./Event-CfA33G1K.js";
11
11
  import { Z as ZIndexContext, C as CanvasLayerRenderer, c as canvasPool$1, T as TileLayer, a as CanvasTileLayerRenderer, b as TileProperty } from "./Tile-DI5PtNs-.js";
12
12
  function padNumber(i, e, t) {
@@ -1,4 +1,4 @@
1
- import { g as qo } from "./main-BzR7HPLe.js";
1
+ import { g as qo } from "./main-Cv5Nde60.js";
2
2
  function jo(Vt, qt) {
3
3
  for (var l = 0; l < qt.length; l++) {
4
4
  const it = qt[l];
@@ -1,5 +1,5 @@
1
1
  import * as ou from "vue";
2
- import { inject as x2, defineComponent as o, reactive as j5, computed as A, h as n2, unref as f, getCurrentInstance as t3, watchEffect as d2, getCurrentScope as fg, onScopeDispose as Y7, watch as k1, shallowRef as Ke, shallowReadonly as vi, onMounted as Q1, nextTick as k2, toValue as D1, isRef as ne, customRef as OH, ref as X, openBlock as v, createElementBlock as T, normalizeClass as o1, isVNode as M5, createVNode as R, createBlock as P, createElementVNode as b, renderSlot as w1, createCommentVNode as j, useTemplateRef as $2, withModifiers as nt, toDisplayString as k, Fragment as u1, renderList as R1, useSlots as Bl, resolveDynamicComponent as o2, withCtx as F, createTextVNode as J, withAsyncContext as St, mergeProps as j2, provide as U2, Comment as mg, Text as IH, useId as Ii, normalizeStyle as y2, useAttrs as PH, onBeforeUnmount as $H, normalizeProps as I4, triggerRef as cu, onUnmounted as ue, cloneVNode as Al, toRaw as Ve, Teleport as Ji, withDirectives as M0, vShow as kl, createSlots as wg, readonly as Lg, resolveComponent as yg, toRef as uu, defineAsyncComponent as ft, createStaticVNode as oa, useModel as Z2, toRefs as Dl, withKeys as Fl, guardReactiveProps as ls, toHandlers as UH, mergeModels as r0, vModelSelect as Ol, vModelDynamic as qH, vModelText as ca, Suspense as xg, shallowReactive as WH, Transition as jH } from "vue";
2
+ import { inject as x2, defineComponent as o, reactive as j5, computed as A, h as n2, unref as f, getCurrentInstance as t3, watchEffect as d2, getCurrentScope as fg, onScopeDispose as Y7, watch as A1, shallowRef as Ke, shallowReadonly as vi, onMounted as Q1, nextTick as k2, toValue as D1, isRef as ne, customRef as OH, ref as X, openBlock as v, createElementBlock as T, normalizeClass as o1, isVNode as M5, createVNode as R, createBlock as P, createElementVNode as b, renderSlot as w1, createCommentVNode as j, useTemplateRef as $2, withModifiers as nt, toDisplayString as k, Fragment as u1, renderList as R1, useSlots as Bl, resolveDynamicComponent as o2, withCtx as F, createTextVNode as J, withAsyncContext as St, mergeProps as j2, provide as U2, Comment as mg, Text as IH, useId as Ii, normalizeStyle as y2, useAttrs as PH, onBeforeUnmount as $H, normalizeProps as I4, triggerRef as cu, onUnmounted as ue, cloneVNode as Al, toRaw as Ve, Teleport as Ji, withDirectives as M0, vShow as kl, createSlots as wg, readonly as Lg, resolveComponent as yg, toRef as uu, defineAsyncComponent as ft, createStaticVNode as oa, useModel as Z2, toRefs as Dl, withKeys as Fl, guardReactiveProps as ls, toHandlers as UH, mergeModels as r0, vModelSelect as Ol, vModelDynamic as qH, vModelText as ca, Suspense as xg, shallowReactive as WH, Transition as jH } from "vue";
3
3
  const GH = [
4
4
  { value: "-created", label: "Date de création" },
5
5
  { value: "-last_update", label: "Dernière mise à jour" },
@@ -645,7 +645,7 @@ function ZV(e, t = 200, i = !1, s = !0, n = !1) {
645
645
  }
646
646
  function _V(e, t, i = {}) {
647
647
  const { eventFilter: s = MV, ...n } = i;
648
- return k1(e, Ul(s, t), n);
648
+ return A1(e, Ul(s, t), n);
649
649
  }
650
650
  function Sg(e, t = !0, i) {
651
651
  zV() ? Q1(e, i) : t ? e() : k2(e);
@@ -658,7 +658,7 @@ function Mg(e, t, i = {}) {
658
658
  });
659
659
  }
660
660
  function EV(e, t, i) {
661
- return k1(e, t, {
661
+ return A1(e, t, {
662
662
  ...i,
663
663
  immediate: !0
664
664
  });
@@ -695,7 +695,7 @@ function we(e, t, i = {}) {
695
695
  }));
696
696
  }
697
697
  }));
698
- return k1(() => n.query[e], (g) => {
698
+ return A1(() => n.query[e], (g) => {
699
699
  d !== c(g) && (d = g, p());
700
700
  }, { flush: "sync" }), C;
701
701
  }
@@ -12925,11 +12925,11 @@ function u4(e, t, i) {
12925
12925
  function N() {
12926
12926
  n.value || (y.value = !1);
12927
12927
  }
12928
- return k1([a, l, c, n], V, {
12928
+ return A1([a, l, c, n], V, {
12929
12929
  flush: "sync"
12930
- }), k1([h, d], M, {
12930
+ }), A1([h, d], M, {
12931
12931
  flush: "sync"
12932
- }), k1(n, N, {
12932
+ }), A1(n, N, {
12933
12933
  flush: "sync"
12934
12934
  }), fg() && Y7(z), {
12935
12935
  x: vi(p),
@@ -13330,7 +13330,7 @@ function xz() {
13330
13330
  return E ? "Symbol(src)_1." + E : "";
13331
13331
  })(), Ue = u2.toString, ht = _2.hasOwnProperty, B0 = _2.toString, l8 = RegExp(
13332
13332
  "^" + Ue.call(ht).replace($, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
13333
- ), Zs = H2 ? Z1.Buffer : void 0, A0 = Z1.Symbol, K = Z1.Uint8Array, f1 = ve(Object.getPrototypeOf, Object), E1 = Object.create, X1 = _2.propertyIsEnumerable, se = tt.splice, K2 = Object.getOwnPropertySymbols, P1 = Zs ? Zs.isBuffer : void 0, A1 = ve(Object.keys, Object), G1 = f5(Z1, "DataView"), Q2 = f5(Z1, "Map"), X2 = f5(Z1, "Promise"), k0 = f5(Z1, "Set"), ai = f5(Z1, "WeakMap"), D0 = f5(Object, "create"), o8 = ci(G1), _s = ci(Q2), c8 = ci(X2), u8 = ci(k0), h8 = ci(ai), li = A0 ? A0.prototype : void 0, u0 = li ? li.valueOf : void 0, k3 = li ? li.toString : void 0;
13333
+ ), Zs = H2 ? Z1.Buffer : void 0, A0 = Z1.Symbol, K = Z1.Uint8Array, f1 = ve(Object.getPrototypeOf, Object), E1 = Object.create, X1 = _2.propertyIsEnumerable, se = tt.splice, K2 = Object.getOwnPropertySymbols, P1 = Zs ? Zs.isBuffer : void 0, k1 = ve(Object.keys, Object), G1 = f5(Z1, "DataView"), Q2 = f5(Z1, "Map"), X2 = f5(Z1, "Promise"), k0 = f5(Z1, "Set"), ai = f5(Z1, "WeakMap"), D0 = f5(Object, "create"), o8 = ci(G1), _s = ci(Q2), c8 = ci(X2), u8 = ci(k0), h8 = ci(ai), li = A0 ? A0.prototype : void 0, u0 = li ? li.valueOf : void 0, k3 = li ? li.toString : void 0;
13334
13334
  function F0(E) {
13335
13335
  var U = -1, s1 = E ? E.length : 0;
13336
13336
  for (this.clear(); ++U < s1; ) {
@@ -13583,7 +13583,7 @@ function xz() {
13583
13583
  }
13584
13584
  function b2(E) {
13585
13585
  if (!tu(E))
13586
- return A1(E);
13586
+ return k1(E);
13587
13587
  var U = [];
13588
13588
  for (var s1 in Object(E))
13589
13589
  ht.call(E, s1) && s1 != "constructor" && U.push(s1);
@@ -27824,12 +27824,12 @@ function $Z() {
27824
27824
  const se = E1;
27825
27825
  let K2 = p(X1), P1 = "";
27826
27826
  for (; K2.length > 0; ) {
27827
- const A1 = z.exec(K2);
27828
- if (!A1) {
27827
+ const k1 = z.exec(K2);
27828
+ if (!k1) {
27829
27829
  P1 += K2;
27830
27830
  break;
27831
27831
  }
27832
- P1 += K2.substring(0, A1.index), K2 = K2.substring(A1.index + A1[0].length), A1[0][0] === "\\" && A1[1] ? P1 += "\\" + String(Number(A1[1]) + se) : (P1 += A1[0], A1[0] === "(" && E1++);
27832
+ P1 += K2.substring(0, k1.index), K2 = K2.substring(k1.index + k1[0].length), k1[0][0] === "\\" && k1[1] ? P1 += "\\" + String(Number(k1[1]) + se) : (P1 += k1[0], k1[0] === "(" && E1++);
27833
27833
  }
27834
27834
  return P1;
27835
27835
  }).map((X1) => `(${X1})`).join(f1);
@@ -28071,8 +28071,8 @@ function $Z() {
28071
28071
  );
28072
28072
  }), X1;
28073
28073
  function se(K2, P1) {
28074
- f1 && (P1 = P1.map((A1) => A1.toLowerCase())), P1.forEach(function(A1) {
28075
- const G1 = A1.split("|");
28074
+ f1 && (P1 = P1.map((k1) => k1.toLowerCase())), P1.forEach(function(k1) {
28075
+ const G1 = k1.split("|");
28076
28076
  X1[G1[0]] = [K2, Gt(G1[0], G1[1])];
28077
28077
  });
28078
28078
  }
@@ -28093,8 +28093,8 @@ function $Z() {
28093
28093
  function N1(K, f1, { key: E1 }) {
28094
28094
  let X1 = 0;
28095
28095
  const se = K[E1], K2 = {}, P1 = {};
28096
- for (let A1 = 1; A1 <= f1.length; A1++)
28097
- P1[A1 + X1] = se[A1], K2[A1 + X1] = !0, X1 += H(f1[A1 - 1]);
28096
+ for (let k1 = 1; k1 <= f1.length; k1++)
28097
+ P1[k1 + X1] = se[k1], K2[k1 + X1] = !0, X1 += H(f1[k1 - 1]);
28098
28098
  K[E1] = P1, K[E1]._emit = K2, K[E1]._multi = !0;
28099
28099
  }
28100
28100
  function _1(K) {
@@ -28122,10 +28122,10 @@ function $Z() {
28122
28122
  ve(K), typeof K.beginScope == "string" && (K.beginScope = { _wrap: K.beginScope }), typeof K.endScope == "string" && (K.endScope = { _wrap: K.endScope }), _1(K), p2(K);
28123
28123
  }
28124
28124
  function tt(K) {
28125
- function f1(P1, A1) {
28125
+ function f1(P1, k1) {
28126
28126
  return new RegExp(
28127
28127
  p(P1),
28128
- "m" + (K.case_insensitive ? "i" : "") + (K.unicodeRegex ? "u" : "") + (A1 ? "g" : "")
28128
+ "m" + (K.case_insensitive ? "i" : "") + (K.unicodeRegex ? "u" : "") + (k1 ? "g" : "")
28129
28129
  );
28130
28130
  }
28131
28131
  class E1 {
@@ -28133,18 +28133,18 @@ function $Z() {
28133
28133
  this.matchIndexes = {}, this.regexes = [], this.matchAt = 1, this.position = 0;
28134
28134
  }
28135
28135
  // @ts-ignore
28136
- addRule(A1, G1) {
28137
- G1.position = this.position++, this.matchIndexes[this.matchAt] = G1, this.regexes.push([G1, A1]), this.matchAt += H(A1) + 1;
28136
+ addRule(k1, G1) {
28137
+ G1.position = this.position++, this.matchIndexes[this.matchAt] = G1, this.regexes.push([G1, k1]), this.matchAt += H(k1) + 1;
28138
28138
  }
28139
28139
  compile() {
28140
28140
  this.regexes.length === 0 && (this.exec = () => null);
28141
- const A1 = this.regexes.map((G1) => G1[1]);
28142
- this.matcherRe = f1(M(A1, { joinWith: "|" }), !0), this.lastIndex = 0;
28141
+ const k1 = this.regexes.map((G1) => G1[1]);
28142
+ this.matcherRe = f1(M(k1, { joinWith: "|" }), !0), this.lastIndex = 0;
28143
28143
  }
28144
28144
  /** @param {string} s */
28145
- exec(A1) {
28145
+ exec(k1) {
28146
28146
  this.matcherRe.lastIndex = this.lastIndex;
28147
- const G1 = this.matcherRe.exec(A1);
28147
+ const G1 = this.matcherRe.exec(k1);
28148
28148
  if (!G1)
28149
28149
  return null;
28150
28150
  const Q2 = G1.findIndex((k0, ai) => ai > 0 && k0 !== void 0), X2 = this.matchIndexes[Q2];
@@ -28156,10 +28156,10 @@ function $Z() {
28156
28156
  this.rules = [], this.multiRegexes = [], this.count = 0, this.lastIndex = 0, this.regexIndex = 0;
28157
28157
  }
28158
28158
  // @ts-ignore
28159
- getMatcher(A1) {
28160
- if (this.multiRegexes[A1]) return this.multiRegexes[A1];
28159
+ getMatcher(k1) {
28160
+ if (this.multiRegexes[k1]) return this.multiRegexes[k1];
28161
28161
  const G1 = new E1();
28162
- return this.rules.slice(A1).forEach(([Q2, X2]) => G1.addRule(Q2, X2)), G1.compile(), this.multiRegexes[A1] = G1, G1;
28162
+ return this.rules.slice(k1).forEach(([Q2, X2]) => G1.addRule(Q2, X2)), G1.compile(), this.multiRegexes[k1] = G1, G1;
28163
28163
  }
28164
28164
  resumingScanAtSamePosition() {
28165
28165
  return this.regexIndex !== 0;
@@ -28168,26 +28168,26 @@ function $Z() {
28168
28168
  this.regexIndex = 0;
28169
28169
  }
28170
28170
  // @ts-ignore
28171
- addRule(A1, G1) {
28172
- this.rules.push([A1, G1]), G1.type === "begin" && this.count++;
28171
+ addRule(k1, G1) {
28172
+ this.rules.push([k1, G1]), G1.type === "begin" && this.count++;
28173
28173
  }
28174
28174
  /** @param {string} s */
28175
- exec(A1) {
28175
+ exec(k1) {
28176
28176
  const G1 = this.getMatcher(this.regexIndex);
28177
28177
  G1.lastIndex = this.lastIndex;
28178
- let Q2 = G1.exec(A1);
28178
+ let Q2 = G1.exec(k1);
28179
28179
  if (this.resumingScanAtSamePosition() && !(Q2 && Q2.index === this.lastIndex)) {
28180
28180
  const X2 = this.getMatcher(0);
28181
- X2.lastIndex = this.lastIndex + 1, Q2 = X2.exec(A1);
28181
+ X2.lastIndex = this.lastIndex + 1, Q2 = X2.exec(k1);
28182
28182
  }
28183
28183
  return Q2 && (this.regexIndex += Q2.position + 1, this.regexIndex === this.count && this.considerAll()), Q2;
28184
28184
  }
28185
28185
  }
28186
28186
  function se(P1) {
28187
- const A1 = new X1();
28188
- return P1.contains.forEach((G1) => A1.addRule(G1.begin, { rule: G1, type: "begin" })), P1.terminatorEnd && A1.addRule(P1.terminatorEnd, { type: "end" }), P1.illegal && A1.addRule(P1.illegal, { type: "illegal" }), A1;
28187
+ const k1 = new X1();
28188
+ return P1.contains.forEach((G1) => k1.addRule(G1.begin, { rule: G1, type: "begin" })), P1.terminatorEnd && k1.addRule(P1.terminatorEnd, { type: "end" }), P1.illegal && k1.addRule(P1.illegal, { type: "illegal" }), k1;
28189
28189
  }
28190
- function K2(P1, A1) {
28190
+ function K2(P1, k1) {
28191
28191
  const G1 = (
28192
28192
  /** @type CompiledMode */
28193
28193
  P1
@@ -28200,16 +28200,16 @@ function $Z() {
28200
28200
  H2,
28201
28201
  et,
28202
28202
  Y2
28203
- ].forEach((X2) => X2(P1, A1)), K.compilerExtensions.forEach((X2) => X2(P1, A1)), P1.__beforeBegin = null, [
28203
+ ].forEach((X2) => X2(P1, k1)), K.compilerExtensions.forEach((X2) => X2(P1, k1)), P1.__beforeBegin = null, [
28204
28204
  Y1,
28205
28205
  // do this later so compiler extensions that come earlier have access to the
28206
28206
  // raw array if they wanted to perhaps manipulate it, etc.
28207
28207
  I1,
28208
28208
  // default to 1 relevance if not specified
28209
28209
  F1
28210
- ].forEach((X2) => X2(P1, A1)), P1.isCompiled = !0;
28210
+ ].forEach((X2) => X2(P1, k1)), P1.isCompiled = !0;
28211
28211
  let Q2 = null;
28212
- return typeof P1.keywords == "object" && P1.keywords.$pattern && (P1.keywords = Object.assign({}, P1.keywords), Q2 = P1.keywords.$pattern, delete P1.keywords.$pattern), Q2 = Q2 || /\w+/, P1.keywords && (P1.keywords = kt(P1.keywords, K.case_insensitive)), G1.keywordPatternRe = f1(Q2, !0), A1 && (P1.begin || (P1.begin = /\B|\b/), G1.beginRe = f1(G1.begin), !P1.end && !P1.endsWithParent && (P1.end = /\B|\b/), P1.end && (G1.endRe = f1(G1.end)), G1.terminatorEnd = p(G1.end) || "", P1.endsWithParent && A1.terminatorEnd && (G1.terminatorEnd += (P1.end ? "|" : "") + A1.terminatorEnd)), P1.illegal && (G1.illegalRe = f1(
28212
+ return typeof P1.keywords == "object" && P1.keywords.$pattern && (P1.keywords = Object.assign({}, P1.keywords), Q2 = P1.keywords.$pattern, delete P1.keywords.$pattern), Q2 = Q2 || /\w+/, P1.keywords && (P1.keywords = kt(P1.keywords, K.case_insensitive)), G1.keywordPatternRe = f1(Q2, !0), k1 && (P1.begin || (P1.begin = /\B|\b/), G1.beginRe = f1(G1.begin), !P1.end && !P1.endsWithParent && (P1.end = /\B|\b/), P1.end && (G1.endRe = f1(G1.end)), G1.terminatorEnd = p(G1.end) || "", P1.endsWithParent && k1.terminatorEnd && (G1.terminatorEnd += (P1.end ? "|" : "") + k1.terminatorEnd)), P1.illegal && (G1.illegalRe = f1(
28213
28213
  /** @type {RegExp | string} */
28214
28214
  P1.illegal
28215
28215
  )), P1.contains || (P1.contains = []), P1.contains = [].concat(...P1.contains.map(function(X2) {
@@ -28220,7 +28220,7 @@ function $Z() {
28220
28220
  X2,
28221
28221
  G1
28222
28222
  );
28223
- }), P1.starts && K2(P1.starts, A1), G1.matcher = se(G1), G1;
28223
+ }), P1.starts && K2(P1.starts, k1), G1.matcher = se(G1), G1;
28224
28224
  }
28225
28225
  if (K.compilerExtensions || (K.compilerExtensions = []), K.contains && K.contains.includes("self"))
28226
28226
  throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
@@ -28247,7 +28247,7 @@ function $Z() {
28247
28247
  const f1 = /* @__PURE__ */ Object.create(null), E1 = /* @__PURE__ */ Object.create(null), X1 = [];
28248
28248
  let se = !0;
28249
28249
  const K2 = "Could not find the language '{}', did you forget to load/include a language module?", P1 = { disableAutodetect: !0, name: "Plain text", contains: [] };
28250
- let A1 = {
28250
+ let k1 = {
28251
28251
  ignoreUnescapedHTML: !1,
28252
28252
  throwUnescapedHTML: !1,
28253
28253
  noHighlightRe: /^(no-?highlight)$/i,
@@ -28260,12 +28260,12 @@ function $Z() {
28260
28260
  __emitter: d
28261
28261
  };
28262
28262
  function G1(z1) {
28263
- return A1.noHighlightRe.test(z1);
28263
+ return k1.noHighlightRe.test(z1);
28264
28264
  }
28265
28265
  function Q2(z1) {
28266
28266
  let U1 = z1.className + " ";
28267
28267
  U1 += z1.parentNode ? z1.parentNode.className : "";
28268
- const J1 = A1.languageDetectRe.exec(U1);
28268
+ const J1 = k1.languageDetectRe.exec(U1);
28269
28269
  if (J1) {
28270
28270
  const R2 = h0(J1[1]);
28271
28271
  return R2 || (T1(K2.replace("{}", J1[1])), T1("Falling back to no-highlight mode for this block.", z1)), R2 ? J1[1] : "no-highlight";
@@ -28426,7 +28426,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), de = z1, R2 = U1), J1
28426
28426
  throw Je(K2.replace("{}", z1)), new Error('Unknown language: "' + z1 + '"');
28427
28427
  const y8 = tt(it);
28428
28428
  let oi = "", e2 = R2 || y8;
28429
- const Rs = {}, He = new A1.__emitter(A1);
28429
+ const Rs = {}, He = new k1.__emitter(k1);
28430
28430
  L8();
28431
28431
  let T2 = "", g5 = 0, Qt = 0, Ts = 0, Bs = !1;
28432
28432
  try {
@@ -28485,12 +28485,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), de = z1, R2 = U1), J1
28485
28485
  illegal: !1,
28486
28486
  relevance: 0,
28487
28487
  _top: P1,
28488
- _emitter: new A1.__emitter(A1)
28488
+ _emitter: new k1.__emitter(k1)
28489
28489
  };
28490
28490
  return U1._emitter.addText(z1), U1;
28491
28491
  }
28492
28492
  function D0(z1, U1) {
28493
- U1 = U1 || A1.languages || Object.keys(f1);
28493
+ U1 = U1 || k1.languages || Object.keys(f1);
28494
28494
  const J1 = ai(z1), R2 = U1.filter(h0).filter(F3).map(
28495
28495
  (ze) => k0(ze, z1, !1)
28496
28496
  );
@@ -28522,7 +28522,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), de = z1, R2 = U1), J1
28522
28522
  console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", z1);
28523
28523
  return;
28524
28524
  }
28525
- if (z1.children.length > 0 && (A1.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(z1)), A1.throwUnescapedHTML))
28525
+ if (z1.children.length > 0 && (k1.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(z1)), k1.throwUnescapedHTML))
28526
28526
  throw new De(
28527
28527
  "One of your code blocks includes unescaped HTML.",
28528
28528
  z1.innerHTML
@@ -28540,7 +28540,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), de = z1, R2 = U1), J1
28540
28540
  }), d5("after:highlightElement", { el: z1, result: de, text: R2 });
28541
28541
  }
28542
28542
  function c8(z1) {
28543
- A1 = ht(A1, z1);
28543
+ k1 = ht(k1, z1);
28544
28544
  }
28545
28545
  const u8 = () => {
28546
28546
  u0(), t1("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
@@ -28557,7 +28557,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), de = z1, R2 = U1), J1
28557
28557
  li || window.addEventListener("DOMContentLoaded", z1, !1), li = !0;
28558
28558
  return;
28559
28559
  }
28560
- document.querySelectorAll(A1.cssSelector).forEach(_s);
28560
+ document.querySelectorAll(k1.cssSelector).forEach(_s);
28561
28561
  }
28562
28562
  function k3(z1, U1) {
28563
28563
  let J1 = null;
@@ -45482,7 +45482,7 @@ var XI = /* @__PURE__ */ o({
45482
45482
  i.expanded || i.interacting || C1.value ? b1() : K1(), r1(() => {
45483
45483
  clearTimeout(v1);
45484
45484
  });
45485
- }), k1(() => i.toast.delete, (r1) => {
45485
+ }), A1(() => i.toast.delete, (r1) => {
45486
45486
  r1 !== void 0 && r1 && (g1(), i.toast.onDismiss?.(i.toast));
45487
45487
  }, { deep: !0 });
45488
45488
  function m1() {
@@ -47101,7 +47101,7 @@ function XP(e, t, i, s, n) {
47101
47101
  }
47102
47102
  function JP(e) {
47103
47103
  const t = new KP(f(e)), i = Ke(t), s = t._didMount();
47104
- return k1(
47104
+ return A1(
47105
47105
  () => f(e).getScrollElement(),
47106
47106
  (n) => {
47107
47107
  n && t._willUpdate();
@@ -47109,7 +47109,7 @@ function JP(e) {
47109
47109
  {
47110
47110
  immediate: !0
47111
47111
  }
47112
- ), k1(
47112
+ ), A1(
47113
47113
  () => f(e),
47114
47114
  (n) => {
47115
47115
  t.setOptions({
@@ -47570,7 +47570,7 @@ let tL = /* @__PURE__ */ Symbol("VirtualContext"), v$ = o({ name: "VirtualProvid
47570
47570
  var c;
47571
47571
  return (c = i.virtual.value) == null ? void 0 : c.options;
47572
47572
  }), l = X(0);
47573
- return k1([a], () => {
47573
+ return A1([a], () => {
47574
47574
  l.value += 1;
47575
47575
  }), U2(tL, i.virtual.value ? n : null), () => [n2("div", { style: { position: "relative", width: "100%", height: `${n.value.getTotalSize()}px` }, ref: (c) => {
47576
47576
  if (c) {
@@ -47595,7 +47595,7 @@ let tL = /* @__PURE__ */ Symbol("VirtualContext"), v$ = o({ name: "VirtualProvid
47595
47595
  }
47596
47596
  let B = A(() => {
47597
47597
  });
47598
- k1([B], ([S], [D]) => {
47598
+ A1([B], ([S], [D]) => {
47599
47599
  if (_.virtual.value && S && D && p.value !== null) {
47600
47600
  let O = S.indexOf(D[p.value]);
47601
47601
  O !== -1 ? p.value = O : p.value = null;
@@ -47706,7 +47706,7 @@ let tL = /* @__PURE__ */ Symbol("VirtualContext"), v$ = o({ name: "VirtualProvid
47706
47706
  return (S = h1(l)) == null ? void 0 : S.closest("form");
47707
47707
  });
47708
47708
  return Q1(() => {
47709
- k1([Z], () => {
47709
+ A1([Z], () => {
47710
47710
  if (!Z.value || e.defaultValue === void 0) return;
47711
47711
  function S() {
47712
47712
  _.change(e.defaultValue);
@@ -47790,7 +47790,7 @@ let zd = o({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
47790
47790
  return h1(c.inputRef) ? typeof e.displayValue < "u" && N !== void 0 ? (M = e.displayValue(N)) != null ? M : "" : typeof N == "string" ? N : "" : "";
47791
47791
  });
47792
47792
  Q1(() => {
47793
- k1([p, c.comboboxState, u], ([M, N], [B, _]) => {
47793
+ A1([p, c.comboboxState, u], ([M, N], [B, _]) => {
47794
47794
  if (h.value) return;
47795
47795
  let Z = h1(c.inputRef);
47796
47796
  Z && ((_ === 0 && N === 1 || M !== B) && (Z.value = M), requestAnimationFrame(() => {
@@ -47799,7 +47799,7 @@ let zd = o({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
47799
47799
  let { selectionStart: D, selectionEnd: O } = Z;
47800
47800
  Math.abs((O ?? 0) - (D ?? 0)) === 0 && D === 0 && Z.setSelectionRange(Z.value.length, Z.value.length);
47801
47801
  }));
47802
- }, { immediate: !0 }), k1([c.comboboxState], ([M], [N]) => {
47802
+ }, { immediate: !0 }), A1([c.comboboxState], ([M], [N]) => {
47803
47803
  if (M === 0 && N === 1) {
47804
47804
  if (h.value) return;
47805
47805
  let B = h1(c.inputRef);
@@ -48012,7 +48012,7 @@ let Ps = Object.assign(o({ name: "FocusTrap", props: { as: { type: [Object, Stri
48012
48012
  } }), { features: sL });
48013
48013
  function b$(e) {
48014
48014
  let t = X(K0.slice());
48015
- return k1([e], ([i], [s]) => {
48015
+ return A1([e], ([i], [s]) => {
48016
48016
  s === !0 && i === !1 ? Vn(() => {
48017
48017
  t.value.splice(0);
48018
48018
  }) : s === !1 && i === !0 && (t.value = K0.slice());
@@ -48035,7 +48035,7 @@ function z$({ ownerDocument: e }, t) {
48035
48035
  function N$({ ownerDocument: e, container: t, initialFocus: i }, s) {
48036
48036
  let n = X(null), a = X(!1);
48037
48037
  return Q1(() => a.value = !0), ue(() => a.value = !1), Q1(() => {
48038
- k1([t, i, s], (l, c) => {
48038
+ A1([t, i, s], (l, c) => {
48039
48039
  if (l.every((h, d) => c?.[d] === h) || !s.value) return;
48040
48040
  let u = h1(t);
48041
48041
  u && Vn(() => {
@@ -48181,7 +48181,7 @@ function k$(e, t, i) {
48181
48181
  let a = e.value ? s.value.get(e.value) : void 0;
48182
48182
  return a ? a.count > 0 : !1;
48183
48183
  });
48184
- return k1([e, t], ([a, l], [c], u) => {
48184
+ return A1([e, t], ([a, l], [c], u) => {
48185
48185
  if (!a || !l) return;
48186
48186
  Zi.dispatch("PUSH", a, i);
48187
48187
  let h = !1;
@@ -48252,7 +48252,7 @@ function I$({ type: e, enabled: t, element: i, onUpdate: s }) {
48252
48252
  s?.(...l), n(...l);
48253
48253
  }
48254
48254
  Q1(() => {
48255
- k1(t, (l, c) => {
48255
+ A1(t, (l, c) => {
48256
48256
  l ? a(0, e, i) : c === !0 && a(1, e, i);
48257
48257
  }, { immediate: !0, flush: "sync" });
48258
48258
  }), ue(() => {
@@ -48313,7 +48313,7 @@ let cL = o({ name: "Portal", props: { as: { type: [Object, String], default: "di
48313
48313
  a || l != null && (c.value = l.resolveTarget());
48314
48314
  });
48315
48315
  let h = x2(Ia, null), d = !1, p = t3();
48316
- return k1(s, () => {
48316
+ return A1(s, () => {
48317
48317
  if (d || !h) return;
48318
48318
  let C = h1(s);
48319
48319
  C && (ue(h.register(C), p), d = !0);
@@ -48651,7 +48651,7 @@ let aU = o({ name: "Listbox", emits: { "update:modelValue": (e) => !0 }, props:
48651
48651
  return (V = h1(l)) == null ? void 0 : V.closest("form");
48652
48652
  });
48653
48653
  return Q1(() => {
48654
- k1([H], () => {
48654
+ A1([H], () => {
48655
48655
  if (!H.value || e.defaultValue === void 0) return;
48656
48656
  function V() {
48657
48657
  L.theirOnChange(e.defaultValue);
@@ -48778,7 +48778,7 @@ let lU = o({ name: "ListboxButton", props: { as: { type: [Object, String], defau
48778
48778
  return p();
48779
48779
  }, domRef: c }));
48780
48780
  Q1(() => l.registerOption(a, C)), ue(() => l.unregisterOption(a)), Q1(() => {
48781
- k1([l.listboxState, h], () => {
48781
+ A1([l.listboxState, h], () => {
48782
48782
  l.listboxState.value === 0 && h.value && L2(l.mode.value, { 1: () => {
48783
48783
  d.value && l.goToOption(z2.Specific, a);
48784
48784
  }, 0: () => {
@@ -49117,7 +49117,7 @@ let Ao = /* @__PURE__ */ Symbol("TabsSSRContext"), gU = o({ name: "TabGroup", em
49117
49117
  }), U2(Ao, A(() => g.value ? null : C.value));
49118
49118
  let m = A(() => e.selectedIndex);
49119
49119
  return Q1(() => {
49120
- k1([m], () => {
49120
+ A1([m], () => {
49121
49121
  var w;
49122
49122
  return d((w = e.selectedIndex) != null ? w : e.defaultIndex);
49123
49123
  }, { immediate: !0 });
@@ -49344,7 +49344,7 @@ let xL = ke.RenderStrategy, Ua = o({ props: { as: { type: [Object, String], defa
49344
49344
  })));
49345
49345
  }
49346
49346
  return Q1(() => {
49347
- k1([C], (G, e1, Q) => {
49347
+ A1([C], (G, e1, Q) => {
49348
49348
  O(Q), L.value = !1;
49349
49349
  }, { immediate: !0 });
49350
49350
  }), U2(Do, z), w3(A(() => L2(y.value, { visible: N2.Open, hidden: N2.Closed }) | a.value)), () => {
@@ -49387,7 +49387,7 @@ const Ls = /* @__PURE__ */ o({
49387
49387
  emits: ["changed"],
49388
49388
  setup(e, { emit: t }) {
49389
49389
  const i = e, s = t;
49390
- return k1(() => i.value, () => {
49390
+ return A1(() => i.value, () => {
49391
49391
  s("changed", i.value);
49392
49392
  }), (n, a) => w1(n.$slots, "default");
49393
49393
  }
@@ -51907,7 +51907,7 @@ const Mj = { class: "space-y-1 py-6" }, bj = { class: "flex items-center space-x
51907
51907
  const t = e, i = X(null);
51908
51908
  return Q1(async () => {
51909
51909
  await Promise.resolve({ });
51910
- const s = await import("./leaflet-src-xwWnVeIm.js").then((l) => l.l);
51910
+ const s = await import("./leaflet-src-Cjar1xgD.js").then((l) => l.l);
51911
51911
  if (!i.value) return;
51912
51912
  const n = s.map(i.value);
51913
51913
  s.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png", {
@@ -52132,7 +52132,7 @@ function Bj(e, t, i = {}) {
52132
52132
  let a;
52133
52133
  const l = /* @__PURE__ */ OL(() => s && "MutationObserver" in s), c = () => {
52134
52134
  a && (a.disconnect(), a = void 0);
52135
- }, u = k1(A(() => {
52135
+ }, u = A1(A(() => {
52136
52136
  const p = o9(D1(e)).map(yt).filter(HV);
52137
52137
  return new Set(p);
52138
52138
  }), (p) => {
@@ -52157,7 +52157,7 @@ function kj(e, t, i = {}) {
52157
52157
  let a;
52158
52158
  const l = /* @__PURE__ */ OL(() => s && "ResizeObserver" in s), c = () => {
52159
52159
  a && (a.disconnect(), a = void 0);
52160
- }, u = k1(A(() => {
52160
+ }, u = A1(A(() => {
52161
52161
  const d = D1(e);
52162
52162
  return Array.isArray(d) ? d.map((p) => yt(p)) : [yt(d)];
52163
52163
  }), (d) => {
@@ -52206,7 +52206,7 @@ function IL(e, t = {
52206
52206
  l.value = p.offsetWidth, c.value = p.offsetHeight;
52207
52207
  else p && (l.value = t.width, c.value = t.height);
52208
52208
  });
52209
- const h = k1(() => yt(e), (p) => {
52209
+ const h = A1(() => yt(e), (p) => {
52210
52210
  l.value = p ? t.width : 0, c.value = p ? t.height : 0;
52211
52211
  });
52212
52212
  function d() {
@@ -52326,9 +52326,9 @@ function Q5(e, t, i, s = {}) {
52326
52326
  if (c) {
52327
52327
  const H = X(y());
52328
52328
  let V = !1;
52329
- return k1(() => e[t], (z) => {
52329
+ return A1(() => e[t], (z) => {
52330
52330
  V || (V = !0, H.value = w(z), k2(() => V = !1));
52331
- }), k1(H, (z) => {
52331
+ }), A1(H, (z) => {
52332
52332
  !V && (z !== e[t] || h) && L(z);
52333
52333
  }, { deep: h }), H;
52334
52334
  } else return A({
@@ -53653,7 +53653,7 @@ const WY = { class: "relative" }, l61 = /* @__PURE__ */ o({
53653
53653
  }, p = (g) => {
53654
53654
  u.value = d(), n.value = g > u.value, n.value || (u.value = g);
53655
53655
  };
53656
- k1(() => t.wantedHeight, () => {
53656
+ A1(() => t.wantedHeight, () => {
53657
53657
  p(c.value);
53658
53658
  });
53659
53659
  const C = () => {
@@ -53674,7 +53674,7 @@ const WY = { class: "relative" }, l61 = /* @__PURE__ */ o({
53674
53674
  onComplete: () => g.set({ height: "auto" })
53675
53675
  }), s.value = !s.value;
53676
53676
  };
53677
- return k1(c, p), (g, m) => (v(), T("div", WY, [
53677
+ return A1(c, p), (g, m) => (v(), T("div", WY, [
53678
53678
  b("div", {
53679
53679
  ref_key: "readMoreRef",
53680
53680
  ref: l,
@@ -56216,7 +56216,7 @@ const pX = { class: "relative shrink-0" }, CX = ["value"], gX = ["value"], fX =
56216
56216
  const C = u.value || h.value[0];
56217
56217
  return C && t.endpoint.requestBody.content[C] || null;
56218
56218
  });
56219
- k1(h, (C) => {
56219
+ A1(h, (C) => {
56220
56220
  u.value = C[0] || "";
56221
56221
  }, { immediate: !0 });
56222
56222
  function p(C) {
@@ -56333,7 +56333,7 @@ const pX = { class: "relative shrink-0" }, CX = ["value"], gX = ["value"], fX =
56333
56333
  const c = A(
56334
56334
  () => Object.entries(t.responses).map(([m, w]) => ({ code: m, response: w }))
56335
56335
  );
56336
- k1(c, () => {
56336
+ A1(c, () => {
56337
56337
  k2(a);
56338
56338
  });
56339
56339
  const u = X(0), h = X(""), d = A(() => {
@@ -56345,7 +56345,7 @@ const pX = { class: "relative shrink-0" }, CX = ["value"], gX = ["value"], fX =
56345
56345
  const w = h.value || d.value[0];
56346
56346
  return w && m.response.content[w] || null;
56347
56347
  });
56348
- k1(d, (m) => {
56348
+ A1(d, (m) => {
56349
56349
  h.value = m[0] || "";
56350
56350
  }, { immediate: !0 });
56351
56351
  function C(m) {
@@ -61172,7 +61172,7 @@ const u11 = {
61172
61172
  resourceExternalUrl: {}
61173
61173
  },
61174
61174
  setup(e) {
61175
- const t = ["url", "doi", "www:link", " www:link-1.0-http--link", "www:link-1.0-http--partners", "www:link-1.0-http--related", "www:link-1.0-http--samples"], i = e, s = M2(), n = ft(() => import("./MapContainer.client-B5GhGdk1.js")), a = ft(() => import("./Pmtiles.client-B7ItZ-PQ.js")), l = ft(() => import("./JsonPreview.client-C50x2wrd.js")), c = ft(() => import("./PdfPreview.client-95sxmcl7.js")), u = ft(() => import("./XmlPreview.client-BWlVL8M8.js")), h = ft(() => import("./ImagePreview.client-C1nnlB26.js")), d = ft(() => import("./Datafair.client-Df0Q4FOf.js")), { t: p } = H1(), C = AL(), g = A(() => {
61175
+ const t = ["url", "doi", "www:link", " www:link-1.0-http--link", "www:link-1.0-http--partners", "www:link-1.0-http--related", "www:link-1.0-http--samples"], i = e, s = M2(), n = ft(() => import("./MapContainer.client-Nrff3qMB.js")), a = ft(() => import("./Pmtiles.client-BZQJsJvC.js")), l = ft(() => import("./JsonPreview.client-HLeSx8cB.js")), c = ft(() => import("./PdfPreview.client-aBObZjHC.js")), u = ft(() => import("./XmlPreview.client-DKlkBMFL.js")), h = ft(() => import("./ImagePreview.client-4V1oQ9HT.js")), d = ft(() => import("./Datafair.client-DCH6pKT-.js")), { t: p } = H1(), C = AL(), g = A(() => {
61176
61176
  const g1 = i.resource.format?.toLowerCase();
61177
61177
  return g1 === "json" || g1 === "pdf" || g1 === "xml" || qa(g1);
61178
61178
  }), m = A(() => C(i.resource)), w = A(() => i.resource.extras["analysis:parsing:pmtiles_url"] || i.resource.format === "pmtiles"), y = A(() => B9(i.dataset.organization) && i.resource.extras.datafairEmbed), L = A(() => B9(i.dataset.organization) && i.resource.extras.apidocUrl), H = A(() => Zn(i.resource.format) ? i.resource.format : p("Fichier")), V = A(() => RL(i.resource)), z = A(() => V.value === "wms"), M = X(i.expandedOnMount), N = () => {
@@ -61629,7 +61629,7 @@ const u11 = {
61629
61629
  function jx(e, t) {
61630
61630
  const i = X(e.value), s = Lg(i);
61631
61631
  let n = null;
61632
- k1(e, () => {
61632
+ A1(e, () => {
61633
61633
  n && clearTimeout(n), n = setTimeout(() => {
61634
61634
  i.value = e.value, n = null;
61635
61635
  }, t);
@@ -61645,7 +61645,7 @@ async function m21(e) {
61645
61645
  page_size: Ad,
61646
61646
  q: s.value || void 0
61647
61647
  })), u = A(() => D1(e).resources.total > 0), h = y5.map(() => X([])), d = y5.map(() => X(1));
61648
- k1(s, () => {
61648
+ A1(s, () => {
61649
61649
  for (let i1 = 0; i1 < y5.length; i1++)
61650
61650
  h[i1].value = [], d[i1].value = 1;
61651
61651
  });
@@ -61967,7 +61967,7 @@ const F21 = { class: "flex min-h-0 flex-1 flex-col" }, O21 = { class: "text-xs b
61967
61967
  }
61968
61968
  return Z1;
61969
61969
  }), { data: z, error: M, status: N } = ([t, i] = St(() => vt(l, { raw: !0, query: V })), t = await t, i(), t), B = A(() => !c.value && (h.value === "idle" || h.value === "pending")), _ = A(() => M.value || u.value), Z = A(() => !_.value && (!z.value || B.value)), S = A(() => N.value === "pending" && !Z.value), D = X([]), O = X(1), G = X(!1), e1 = X(!1), Q = X(0);
61970
- k1(() => z.value, (Z1) => {
61970
+ A1(() => z.value, (Z1) => {
61971
61971
  Q.value++, Z1 && (D.value = [...Z1.data], O.value = 1, G.value = Z1.data.length < Z1.meta.total);
61972
61972
  }, { immediate: !0 });
61973
61973
  async function i1() {
@@ -61983,7 +61983,7 @@ const F21 = { class: "flex min-h-0 flex-1 flex-col" }, O21 = { class: "text-xs b
61983
61983
  }
61984
61984
  }
61985
61985
  const p1 = A(() => c.value?.profile?.total_lines ?? z.value?.meta.total ?? 0), l1 = X(new Set(d.value));
61986
- k1(d, (Z1) => {
61986
+ A1(d, (Z1) => {
61987
61987
  Z1.length > 0 && l1.value.size === 0 && (l1.value = new Set(Z1));
61988
61988
  });
61989
61989
  const C1 = A(
@@ -62328,7 +62328,7 @@ const F21 = { class: "flex min-h-0 flex-1 flex-col" }, O21 = { class: "text-xs b
62328
62328
  { root: i.root ?? null, rootMargin: "200px" }
62329
62329
  ), l.observe(u));
62330
62330
  }
62331
- return Q1(c), k1([a, () => i.root], c), ue(() => l?.disconnect()), (u, h) => (v(), T("div", we1, [
62331
+ return Q1(c), A1([a, () => i.root], c), ue(() => l?.disconnect()), (u, h) => (v(), T("div", we1, [
62332
62332
  w1(u.$slots, "default", {}, () => [
62333
62333
  b("div", Le1, [
62334
62334
  b("span", ye1, [
@@ -62391,7 +62391,7 @@ const F21 = { class: "flex min-h-0 flex-1 flex-col" }, O21 = { class: "text-xs b
62391
62391
  emits: ["update:cell", "update:filters"],
62392
62392
  setup(e) {
62393
62393
  const t = Z2(e, "cell"), i = Z2(e, "filters"), { t: s } = H1(), n = $2("panel"), a = X(null);
62394
- k1(t, (w) => {
62394
+ A1(t, (w) => {
62395
62395
  a.value = w?.element ?? null;
62396
62396
  });
62397
62397
  const { floatingStyles: l } = u4(a, n, {
@@ -64178,7 +64178,7 @@ function rv(e) {
64178
64178
  }
64179
64179
  e.placeholder.value = z[0].value.set({ ...M });
64180
64180
  };
64181
- k1(e.placeholder, (L) => {
64181
+ A1(e.placeholder, (L) => {
64182
64182
  n.value.some((H) => ep(H, L)) || (s.value = mi({
64183
64183
  dateObj: L,
64184
64184
  weekStartsOn: e.weekStartsOn.value,
@@ -64186,7 +64186,7 @@ function rv(e) {
64186
64186
  fixedWeeks: e.fixedWeeks.value,
64187
64187
  numberOfMonths: e.numberOfMonths.value
64188
64188
  }));
64189
- }), k1([
64189
+ }), A1([
64190
64190
  e.locale,
64191
64191
  e.weekStartsOn,
64192
64192
  e.fixedWeeks,
@@ -64412,7 +64412,7 @@ var _t1 = /* @__PURE__ */ o({
64412
64412
  isDateDisabled: C1,
64413
64413
  isDateUnavailable: W
64414
64414
  });
64415
- k1(G, (F1) => {
64415
+ A1(G, (F1) => {
64416
64416
  if (Array.isArray(F1) && F1.length) {
64417
64417
  const Y2 = F1.at(-1);
64418
64418
  Y2 && !z4(Q.value, Y2) && i1(Y2);
@@ -64917,13 +64917,13 @@ var Gt1 = /* @__PURE__ */ o({
64917
64917
  segmentValues: S.value,
64918
64918
  locale: g
64919
64919
  })), O = A(() => D.value.arr), G = A(() => O.value.filter(({ part: d1 }) => d1 !== "literal"));
64920
- k1(g, (d1) => {
64920
+ A1(g, (d1) => {
64921
64921
  w.getLocale() !== d1 && (w.setLocale(d1), k2(() => {
64922
64922
  H.value.clear(), Ap(L.value).forEach((m1) => H.value.add(m1));
64923
64923
  }));
64924
- }), k1(V, (d1) => {
64924
+ }), A1(V, (d1) => {
64925
64925
  !F6(d1) && M.value.compare(d1) !== 0 && (M.value = d1.copy());
64926
- }), k1([V, g], ([d1]) => {
64926
+ }), A1([V, g], ([d1]) => {
64927
64927
  F6(d1) ? Object.values(S.value).every((m1) => m1 !== null) && F6(d1) && (S.value = { ...Z }) : S.value = { ...Bp({
64928
64928
  value: d1,
64929
64929
  formatter: w
@@ -65314,7 +65314,7 @@ var i01 = /* @__PURE__ */ o({
65314
65314
  start: void 0,
65315
65315
  end: void 0
65316
65316
  }, W = A(() => C1(l1.value)), g1 = X(C1(l1.value));
65317
- k1(g1, (u2) => {
65317
+ A1(g1, (u2) => {
65318
65318
  s("update:validModelValue", u2);
65319
65319
  });
65320
65320
  const V1 = Mc({
@@ -65355,12 +65355,12 @@ var i01 = /* @__PURE__ */ o({
65355
65355
  fixedDate: _,
65356
65356
  maximumDays: Z
65357
65357
  });
65358
- k1(l1, (u2) => {
65358
+ A1(l1, (u2) => {
65359
65359
  const _2 = C1(u2);
65360
65360
  !_2.start && !$.value || _2.start && $.value && z4(_2.start, $.value) || ($.value = _2.start?.copy?.()), !_2.end && !y1.value || _2.end && y1.value && z4(_2.end, y1.value) || (y1.value = _2.end?.copy?.());
65361
- }), k1($, (u2) => {
65361
+ }), A1($, (u2) => {
65362
65362
  u2 && !z4(u2, d1.value) && m1(u2), s("update:startValue", u2);
65363
- }), k1([$, y1], ([u2, _2]) => {
65363
+ }), A1([$, y1], ([u2, _2]) => {
65364
65364
  const F2 = l1.value;
65365
65365
  if (!(F2 && F2.start && F2.end && u2 && _2 && z4(F2.start, u2) && z4(F2.end, _2)))
65366
65366
  if (p1.value = !0, _2 && u2) {
@@ -65896,7 +65896,7 @@ const Fp = /* @__PURE__ */ o({
65896
65896
  function z(B) {
65897
65897
  C.value = C.value.add({ months: B });
65898
65898
  }
65899
- k1(() => i.value[t.column]?.date, (B) => {
65899
+ A1(() => i.value[t.column]?.date, (B) => {
65900
65900
  if (!B) {
65901
65901
  d.value = void 0, p.value = void 0;
65902
65902
  return;
@@ -66650,14 +66650,14 @@ const Fp = /* @__PURE__ */ o({
66650
66650
  Object.keys(S.value).length > 0 || p.value.length !== 0 && (O(), G());
66651
66651
  }
66652
66652
  const { width: Q } = IL(N);
66653
- k1(Q, (y1) => {
66653
+ A1(Q, (y1) => {
66654
66654
  y1 !== 0 && (Object.keys(S.value).length === 0 ? e1() : G());
66655
- }), k1(
66655
+ }), A1(
66656
66656
  () => [s.value !== null, p.value.length],
66657
66657
  async ([y1, d1]) => {
66658
66658
  !y1 || d1 === 0 || Object.keys(S.value).length > 0 || (await k2(), e1());
66659
66659
  }
66660
- ), k1(p, async () => {
66660
+ ), A1(p, async () => {
66661
66661
  Object.keys(S.value).length !== 0 && (await k2(), G());
66662
66662
  });
66663
66663
  function i1(y1, d1) {
@@ -67374,19 +67374,19 @@ const Fp = /* @__PURE__ */ o({
67374
67374
  async setup(e) {
67375
67375
  let t, i;
67376
67376
  const s = ft(
67377
- () => import("./JsonPreview.client-C50x2wrd.js")
67377
+ () => import("./JsonPreview.client-HLeSx8cB.js")
67378
67378
  ), n = ft(
67379
- () => import("./PdfPreview.client-95sxmcl7.js")
67379
+ () => import("./PdfPreview.client-aBObZjHC.js")
67380
67380
  ), a = ft(
67381
- () => import("./XmlPreview.client-BWlVL8M8.js")
67381
+ () => import("./XmlPreview.client-DKlkBMFL.js")
67382
67382
  ), l = ft(
67383
- () => import("./ImagePreview.client-C1nnlB26.js")
67383
+ () => import("./ImagePreview.client-4V1oQ9HT.js")
67384
67384
  ), c = ft(
67385
- () => import("./Datafair.client-Df0Q4FOf.js")
67385
+ () => import("./Datafair.client-DCH6pKT-.js")
67386
67386
  ), u = ft(
67387
- () => import("./MapContainer.client-B5GhGdk1.js")
67387
+ () => import("./MapContainer.client-Nrff3qMB.js")
67388
67388
  ), h = ft(
67389
- () => import("./Pmtiles.client-B7ItZ-PQ.js")
67389
+ () => import("./Pmtiles.client-BZQJsJvC.js")
67390
67390
  ), d = e, { t: p } = H1(), C = M2(), g = e5(), m = Pl(), {
67391
67391
  previewKind: w,
67392
67392
  hasTabularData: y,
@@ -67740,21 +67740,24 @@ const Fp = /* @__PURE__ */ o({
67740
67740
  exploreTo: {},
67741
67741
  resourceExternalUrl: {}
67742
67742
  },
67743
- async setup(e) {
67744
- let t, i;
67745
- const s = e, { t: n } = H1(), a = e5(), {
67746
- groups: l,
67747
- flatResources: c,
67748
- hasAnyResources: u,
67749
- selectedResource: h,
67750
- loadMore: d,
67751
- loadingType: p,
67752
- search: C,
67753
- updateSearch: g
67754
- } = ([t, i] = St(() => m21(() => s.dataset)), t = await t, i(), t), m = X(!1), w = (y) => ({
67755
- query: { ...a.query, resource_id: y.id }
67743
+ emits: ["select"],
67744
+ async setup(e, { emit: t }) {
67745
+ let i, s;
67746
+ const n = e, a = t, { t: l } = H1(), c = e5(), {
67747
+ groups: u,
67748
+ flatResources: h,
67749
+ hasAnyResources: d,
67750
+ selectedResource: p,
67751
+ loadMore: C,
67752
+ loadingType: g,
67753
+ search: m,
67754
+ updateSearch: w
67755
+ } = ([i, s] = St(() => m21(() => n.dataset)), i = await i, s(), i);
67756
+ A1(p, (H) => a("select", H), { immediate: !0 });
67757
+ const y = X(!1), L = (H) => ({
67758
+ query: { ...c.query, resource_id: H.id }
67756
67759
  });
67757
- return (y, L) => f(l).length || f(u) ? (v(), T("div", {
67760
+ return (H, V) => f(u).length || f(d) ? (v(), T("div", {
67758
67761
  key: 0,
67759
67762
  class: o1(e.fullscreen ? "flex min-h-0 flex-1 flex-col" : "")
67760
67763
  }, [
@@ -67762,7 +67765,7 @@ const Fp = /* @__PURE__ */ o({
67762
67765
  key: 0,
67763
67766
  class: "shrink-0",
67764
67767
  dataset: e.dataset,
67765
- resource: f(h),
67768
+ resource: f(p),
67766
67769
  "exit-to": e.exitTo
67767
67770
  }, null, 8, ["dataset", "resource", "exit-to"])) : j("", !0),
67768
67771
  b("div", {
@@ -67770,34 +67773,34 @@ const Fp = /* @__PURE__ */ o({
67770
67773
  }, [
67771
67774
  b("div", Hi1, [
67772
67775
  R(_21, {
67773
- groups: f(l),
67774
- "selected-resource-id": f(h)?.id ?? null,
67775
- collapsed: m.value,
67776
- search: f(C),
67777
- "loading-type": f(p),
67778
- "resource-to": w,
67776
+ groups: f(u),
67777
+ "selected-resource-id": f(p)?.id ?? null,
67778
+ collapsed: y.value,
67779
+ search: f(m),
67780
+ "loading-type": f(g),
67781
+ "resource-to": L,
67779
67782
  replace: "",
67780
- onLoadMore: f(d),
67781
- "onUpdate:collapsed": L[0] || (L[0] = (H) => m.value = H),
67782
- "onUpdate:search": L[1] || (L[1] = (H) => f(g)(H))
67783
+ onLoadMore: f(C),
67784
+ "onUpdate:collapsed": V[0] || (V[0] = (z) => y.value = z),
67785
+ "onUpdate:search": V[1] || (V[1] = (z) => f(w)(z))
67783
67786
  }, null, 8, ["groups", "selected-resource-id", "collapsed", "search", "loading-type", "onLoadMore"])
67784
67787
  ]),
67785
67788
  b("div", {
67786
67789
  id: "resource-explorer-viewer",
67787
67790
  class: o1(["flex-1 min-w-0", e.fullscreen ? "flex flex-col" : ""]),
67788
67791
  role: "region",
67789
- "aria-label": f(n)("Détail de la ressource")
67792
+ "aria-label": f(l)("Détail de la ressource")
67790
67793
  }, [
67791
- f(h) ? (v(), P(xg, {
67794
+ f(p) ? (v(), P(xg, {
67792
67795
  key: 0,
67793
67796
  timeout: 200
67794
67797
  }, {
67795
67798
  fallback: F(() => [
67796
67799
  R(vi1, {
67797
- resource: f(h),
67800
+ resource: f(p),
67798
67801
  dataset: e.dataset,
67799
- resources: f(c),
67800
- "resource-to": w,
67802
+ resources: f(h),
67803
+ "resource-to": L,
67801
67804
  "explore-to": e.exploreTo,
67802
67805
  "resource-external-url": e.resourceExternalUrl,
67803
67806
  replace: "",
@@ -67806,11 +67809,11 @@ const Fp = /* @__PURE__ */ o({
67806
67809
  ]),
67807
67810
  default: F(() => [
67808
67811
  (v(), P(ui1, {
67809
- key: f(h).id,
67812
+ key: f(p).id,
67810
67813
  dataset: e.dataset,
67811
- resource: f(h),
67812
- resources: f(c),
67813
- "resource-to": w,
67814
+ resource: f(p),
67815
+ resources: f(h),
67816
+ "resource-to": L,
67814
67817
  "explore-to": e.exploreTo,
67815
67818
  "resource-external-url": e.resourceExternalUrl,
67816
67819
  replace: "",
@@ -67822,7 +67825,7 @@ const Fp = /* @__PURE__ */ o({
67822
67825
  key: 1,
67823
67826
  class: o1(["animate-pulse-placeholder p-4", e.fullscreen ? "min-h-0 flex-1" : ""]),
67824
67827
  role: "status",
67825
- "aria-label": f(n)("Chargement des ressources…")
67828
+ "aria-label": f(l)("Chargement des ressources…")
67826
67829
  }, [
67827
67830
  b("div", {
67828
67831
  class: o1(["w-full rounded bg-gray-200", e.fullscreen ? "h-full" : "h-96"])
@@ -67831,14 +67834,14 @@ const Fp = /* @__PURE__ */ o({
67831
67834
  ], 10, Vi1)
67832
67835
  ], 2)
67833
67836
  ], 2)) : (v(), T("div", Mi1, [
67834
- w1(y.$slots, "empty-image", {}, () => [
67837
+ w1(H.$slots, "empty-image", {}, () => [
67835
67838
  b("img", {
67836
67839
  src: e.noResultsImage,
67837
67840
  class: "h-20",
67838
67841
  alt: ""
67839
67842
  }, null, 8, bi1)
67840
67843
  ]),
67841
- b("p", zi1, k(f(n)("Ce jeu de données ne contient aucune ressource.")), 1)
67844
+ b("p", zi1, k(f(l)("Ce jeu de données ne contient aucune ressource.")), 1)
67842
67845
  ]));
67843
67846
  }
67844
67847
  });
@@ -77781,7 +77784,7 @@ function tn1(e) {
77781
77784
  p[C] = g.ref.value;
77782
77785
  return p;
77783
77786
  });
77784
- return k1(
77787
+ return A1(
77785
77788
  [n, a, l, ...Object.values(i), d],
77786
77789
  () => {
77787
77790
  const p = h();
@@ -77918,9 +77921,9 @@ const in1 = { class: "fr-search-bar fr-search-bar--lg w-full" }, sn1 = ["for"],
77918
77921
  });
77919
77922
  function a8(e) {
77920
77923
  const { model: t, id: i, items: s, getId: n } = e;
77921
- k1(t, (a) => {
77924
+ A1(t, (a) => {
77922
77925
  i.value = a ? n(a) : void 0;
77923
- }), k1([i, s], ([a]) => {
77926
+ }), A1([i, s], ([a]) => {
77924
77927
  if (!a) {
77925
77928
  t.value = null;
77926
77929
  return;
@@ -77930,9 +77933,9 @@ function a8(e) {
77930
77933
  }
77931
77934
  function lH(e) {
77932
77935
  const { model: t, id: i } = e;
77933
- k1(t, (s) => {
77936
+ A1(t, (s) => {
77934
77937
  i.value = s ?? void 0;
77935
- }), k1(i, (s) => {
77938
+ }), A1(i, (s) => {
77936
77939
  if (!s) {
77937
77940
  t.value = null;
77938
77941
  return;
@@ -77942,9 +77945,9 @@ function lH(e) {
77942
77945
  }
77943
77946
  function oH(e) {
77944
77947
  const { model: t, id: i, getId: s, fetchById: n } = e, a = X(!1);
77945
- return k1(t, (l) => {
77948
+ return A1(t, (l) => {
77946
77949
  i.value = l ? s(l) : void 0;
77947
- }), k1(i, async (l) => {
77950
+ }), A1(i, async (l) => {
77948
77951
  if (!l) {
77949
77952
  t.value = null;
77950
77953
  return;
@@ -78770,7 +78773,7 @@ const hn1 = ["for", "title"], dn1 = {
78770
78773
  });
78771
78774
  U2(zg, {
78772
78775
  register(T1, t1) {
78773
- d.set(T1, t1), p.set(T1, k1(t1.ref, () => D.value = 1));
78776
+ d.set(T1, t1), p.set(T1, A1(t1.ref, () => D.value = 1));
78774
78777
  },
78775
78778
  unregister(T1) {
78776
78779
  p.get(T1)?.(), p.delete(T1), d.delete(T1);
@@ -78793,7 +78796,7 @@ const hn1 = ["for", "title"], dn1 = {
78793
78796
  producer_type: r1,
78794
78797
  type: v1
78795
78798
  };
78796
- k1(l, () => {
78799
+ A1(l, () => {
78797
78800
  D.value !== 1 && (D.value = 1);
78798
78801
  const T1 = L.value.map((t1) => t1.value);
78799
78802
  O.value && !T1.includes(O.value) && (O.value = void 0);
@@ -78876,7 +78879,7 @@ const hn1 = ["for", "title"], dn1 = {
78876
78879
  producer_type: r1.value,
78877
78880
  type: v1.value
78878
78881
  }));
78879
- k1(I1, () => D.value = 1), k1(O, () => D.value = 1);
78882
+ A1(I1, () => D.value = 1), A1(O, () => D.value = 1);
78880
78883
  const H2 = A(() => B.value || e1.value || Q.value || i1.value || p1.value || l1.value || C1.value || W.value || g1.value || V1.value || $.value || y1.value || d1.value || m1.value || r1.value || v1.value || Array.from(d.values()).some(ua)), F1 = A(() => (l.value === "datasets" || l.value === "dataservices") && !!u.forumUrl);
78881
78884
  function Y2() {
78882
78885
  e1.value = void 0, Q.value = void 0, i1.value = void 0, p1.value = void 0, l1.value = void 0, C1.value = void 0, W.value = void 0, g1.value = void 0, V1.value = void 0, $.value = void 0, y1.value = void 0, d1.value = void 0, m1.value = void 0, r1.value = void 0, v1.value = void 0;
@@ -78885,7 +78888,7 @@ const hn1 = ["for", "title"], dn1 = {
78885
78888
  B.value = "", Z();
78886
78889
  }
78887
78890
  const W2 = A(() => Y1[l.value]?.data.value), ae = A(() => Y1[l.value]?.status.value);
78888
- k1(W2, (T1) => {
78891
+ A1(W2, (T1) => {
78889
78892
  T1 && a("resultsCount", T1.total);
78890
78893
  }, { immediate: !0 });
78891
78894
  const kt = A(() => {
@@ -78905,7 +78908,7 @@ const hn1 = ["for", "title"], dn1 = {
78905
78908
  return Gt.value[T1];
78906
78909
  }
78907
78910
  const Yt = $2("results");
78908
- k1(() => h.query, () => $g(Yt.value));
78911
+ A1(() => h.query, () => $g(Yt.value));
78909
78912
  function Je(T1) {
78910
78913
  D.value = T1;
78911
78914
  }
@@ -1,4 +1,4 @@
1
- import { g as Ke } from "./main-BzR7HPLe.js";
1
+ import { g as Ke } from "./main-Cv5Nde60.js";
2
2
  import We from "vue";
3
3
  function Fe(I, K) {
4
4
  for (var V = 0; V < K.length; V++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datagouv/components-next",
3
- "version": "1.0.2-dev.223",
3
+ "version": "1.0.2-dev.225",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "engines": {
@@ -102,7 +102,7 @@
102
102
  </template>
103
103
 
104
104
  <script setup lang="ts">
105
- import { ref } from 'vue'
105
+ import { ref, watch } from 'vue'
106
106
  import { useRoute } from 'vue-router'
107
107
  import type { RouteLocationRaw } from 'vue-router'
108
108
  import { useTranslation } from '../../composables/useTranslation'
@@ -131,6 +131,12 @@ const props = withDefaults(defineProps<{
131
131
  fullscreen: false,
132
132
  })
133
133
 
134
+ // The dataset page's feedback link needs the resource currently shown; the URL
135
+ // query param is the source of truth inside, so we forward the resolved selection.
136
+ const emit = defineEmits<{
137
+ select: [resource: Resource | null]
138
+ }>()
139
+
134
140
  const { t } = useTranslation()
135
141
  const route = useRoute()
136
142
 
@@ -145,6 +151,8 @@ const {
145
151
  updateSearch,
146
152
  } = await useDatasetResources(() => props.dataset)
147
153
 
154
+ watch(selectedResource, resource => emit('select', resource), { immediate: true })
155
+
148
156
  const sidebarCollapsed = ref(false)
149
157
 
150
158
  const resourceTo = (resource: Resource): RouteLocationRaw => ({