@datagouv/components-next 1.4.1-dev.1363.ga6a9113d → 1.4.1-dev.1366.ga52eaed5

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 (43) hide show
  1. package/dist/Datafair.client-Ci2WOgAS.js +28 -0
  2. package/dist/ImagePreview.client-B4RtxuiJ.js +36 -0
  3. package/dist/{JsonPreview.client-DcnN7kTh.js → JsonPreview.client-r7swv2fp.js} +13 -5
  4. package/dist/MapContainer.client-CxH1a8Tn.js +75 -0
  5. package/dist/{PdfPreview.client-D-jPm4dP.js → PdfPreview.client-BjeMcqcy.js} +783 -773
  6. package/dist/{PdfSkeleton-5HBfBlXx.js → PdfSkeleton-CVZxJaeL.js} +1 -1
  7. package/dist/{Pmtiles.client-DBaMKSO-.js → Pmtiles.client-D8idR2l7.js} +44 -44
  8. package/dist/{config-jrnuUDOH.js → PreviewError-Cx7CItT_.js} +11729 -9691
  9. package/dist/PreviewWrapper-Cd1RSmS-.js +62 -0
  10. package/dist/{XmlPreview.client-WnIR6jRO.js → XmlPreview.client-cSebx8br.js} +13 -5
  11. package/dist/components-next.css +1 -1
  12. package/dist/components-next.js +10841 -11704
  13. package/dist/components.css +1 -1
  14. package/dist/france-DPcdJc84.js +75 -0
  15. package/package.json +1 -1
  16. package/src/components/ResourceAccordion/Datafair.client.vue +8 -6
  17. package/src/components/ResourceAccordion/ImagePreview.client.vue +22 -10
  18. package/src/components/ResourceAccordion/JsonPreview.client.vue +2 -0
  19. package/src/components/ResourceAccordion/MapContainer.client.vue +13 -5
  20. package/src/components/ResourceAccordion/PdfPreview.client.vue +15 -0
  21. package/src/components/ResourceAccordion/Pmtiles.client.vue +6 -4
  22. package/src/components/ResourceAccordion/Preview.vue +13 -5
  23. package/src/components/ResourceAccordion/PreviewError.vue +148 -0
  24. package/src/components/ResourceAccordion/PreviewWrapper.vue +63 -20
  25. package/src/components/ResourceAccordion/ResourceAccordion.vue +54 -67
  26. package/src/components/ResourceAccordion/UrlPreview.vue +31 -0
  27. package/src/components/ResourceAccordion/XmlPreview.client.vue +2 -0
  28. package/src/components/ResourceExplorer/ResourceExplorer.vue +3 -1
  29. package/src/components/ResourceExplorer/ResourceExplorerViewer.vue +24 -22
  30. package/src/components/TabularExplorer/TabularExplorer.vue +6 -6
  31. package/src/composables/useResourceCapabilities.ts +27 -11
  32. package/src/config.ts +1 -0
  33. package/src/functions/previewErrors.ts +188 -0
  34. package/src/functions/resources.ts +22 -1
  35. package/src/main.ts +1 -0
  36. package/dist/Datafair.client-DV0kxqBW.js +0 -27
  37. package/dist/ImagePreview.client-0mW3sY5X.js +0 -30
  38. package/dist/MapContainer.client-ZoJqauC6.js +0 -74
  39. package/dist/PreviewUnavailable-BJkpCiyL.js +0 -82
  40. package/dist/PreviewWrapper-DEl1D2rR.js +0 -47
  41. package/dist/france-DxksUv5K.js +0 -694
  42. package/dist/resources-CmwQ4DAB.js +0 -316
  43. package/src/components/ResourceAccordion/PreviewUnavailable.vue +0 -22
@@ -1,316 +0,0 @@
1
- import { a as e, ft as t, n } from "./config-jrnuUDOH.js";
2
- import { o as r } from "./PreviewUnavailable-BJkpCiyL.js";
3
- import { createElementBlock as i, createElementVNode as a, openBlock as o, readonly as s } from "vue";
4
- //#region \0plugin-vue:export-helper
5
- var c = (e, t) => {
6
- let n = e.__vccOpts || e;
7
- for (let [e, r] of t) n[e] = r;
8
- return n;
9
- }, l = {}, u = {
10
- width: "100%",
11
- height: "100%",
12
- viewBox: "0 0 14 13",
13
- version: "1.1",
14
- xmlns: "http://www.w3.org/2000/svg",
15
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
16
- "xml:space": "preserve",
17
- style: {
18
- "fill-rule": "evenodd",
19
- "clip-rule": "evenodd",
20
- "stroke-linejoin": "round",
21
- "stroke-miterlimit": "2"
22
- }
23
- };
24
- function d(e, t) {
25
- return o(), i("svg", u, [...t[0] ||= [a("rect", {
26
- x: "0",
27
- y: "0",
28
- width: "14",
29
- height: "12.25",
30
- style: { fill: "none" }
31
- }, null, -1), a("path", {
32
- d: "M12.688,0l-11.376,0c-0.738,0 -1.312,0.602 -1.312,1.313l-0,2.187c-0,0.246 0.191,0.438 0.437,0.438l0.438,-0.001l-0,7.438c-0,0.492 0.383,0.875 0.875,0.875l10.5,0c0.465,0 0.875,-0.383 0.875,-0.875l-0,-7.438l0.437,0c0.219,0 0.438,-0.191 0.438,-0.437l-0,-2.188c-0,-0.71 -0.602,-1.312 -1.313,-1.312Zm-0.875,10.938l-9.625,-0.001l0,-7l9.625,0l0,7Zm0.875,-8.312l-11.375,-0l0,-1.313l11.375,0l0,1.313Zm-7.109,3.937l2.844,0c0.164,0 0.328,-0.136 0.328,-0.328l0,-0.656c0,-0.164 -0.164,-0.328 -0.328,-0.328l-2.844,-0c-0.191,-0 -0.328,0.164 -0.328,0.328l-0,0.656c-0,0.192 0.137,0.328 0.328,0.328Z",
33
- style: { "fill-rule": "nonzero" }
34
- }, null, -1)]]);
35
- }
36
- var f = /*#__PURE__*/ c(l, [["render", d]]), p = {}, m = {
37
- width: "100%",
38
- height: "100%",
39
- viewBox: "0 0 11 14",
40
- version: "1.1",
41
- xmlns: "http://www.w3.org/2000/svg",
42
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
43
- "xml:space": "preserve",
44
- style: {
45
- "fill-rule": "evenodd",
46
- "clip-rule": "evenodd",
47
- "stroke-linejoin": "round",
48
- "stroke-miterlimit": "2"
49
- }
50
- };
51
- function h(e, t) {
52
- return o(), i("svg", m, [...t[0] ||= [a("rect", {
53
- x: "0",
54
- y: "0",
55
- width: "10.5",
56
- height: "14",
57
- style: { fill: "none" }
58
- }, null, -1), a("path", {
59
- d: "M4.074,9.57l0,-0.027l-0.902,-0.793l0.902,-0.766c0.11,-0.109 0.11,-0.246 0.028,-0.355l-0.493,-0.52c-0.082,-0.082 -0.246,-0.082 -0.328,0l-1.586,1.477c-0.082,0.109 -0.082,0.246 0,0.355l1.586,1.477c0.055,0.027 0.11,0.055 0.164,0.055c0.055,-0 0.137,-0.028 0.164,-0.055l0.493,-0.52c0.082,-0.109 0.082,-0.246 -0.028,-0.328Zm6.016,-6.89l-2.27,-2.297c-0.246,-0.246 -0.601,-0.383 -0.929,-0.383l-5.579,-0c-0.738,-0 -1.312,0.602 -1.312,1.312l-0,11.375c-0,0.739 0.574,1.313 1.312,1.313l7.876,-0c0.71,-0 1.312,-0.574 1.312,-1.313l0,-9.078c0,-0.328 -0.164,-0.683 -0.41,-0.929Zm-3.09,-1.258l2.078,2.078l-2.078,-0l0,-2.078Zm2.188,11.265l-7.876,0l0,-11.375l4.376,0l-0.001,2.844c0,0.383 0.274,0.656 0.657,0.656l2.843,0l0,7.875Zm-3.472,-6.835c-0.137,-0.028 -0.246,0.054 -0.301,0.164l-1.477,5.168c-0.054,0.109 0.028,0.246 0.165,0.273l0.656,0.219c0.136,0.027 0.273,-0.055 0.301,-0.164l1.503,-5.168c0.028,-0.11 -0.054,-0.246 -0.164,-0.301l-0.683,-0.191Zm0.683,2.105l0,0.027l0.903,0.766l-0.903,0.793c-0.109,0.109 -0.109,0.246 -0.027,0.355l0.492,0.52c0.082,0.082 0.246,0.082 0.328,-0l1.586,-1.477c0.082,-0.109 0.082,-0.273 0,-0.355l-1.586,-1.477c-0.082,-0.082 -0.246,-0.082 -0.328,0l-0.492,0.52c-0.082,0.082 -0.082,0.246 0.027,0.328Z",
60
- style: { "fill-rule": "nonzero" }
61
- }, null, -1)]]);
62
- }
63
- var g = /*#__PURE__*/ c(p, [["render", h]]), _ = {}, v = {
64
- width: "100%",
65
- height: "100%",
66
- viewBox: "0 0 13 14",
67
- version: "1.1",
68
- xmlns: "http://www.w3.org/2000/svg",
69
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
70
- "xml:space": "preserve",
71
- style: {
72
- "fill-rule": "evenodd",
73
- "clip-rule": "evenodd",
74
- "stroke-linejoin": "round",
75
- "stroke-miterlimit": "2"
76
- }
77
- };
78
- function y(e, t) {
79
- return o(), i("svg", v, [...t[0] ||= [a("rect", {
80
- x: "0",
81
- y: "0",
82
- width: "12.25",
83
- height: "14",
84
- style: { fill: "none" }
85
- }, null, -1), a("path", {
86
- d: "M3.5,4.156c0,0.137 0.082,0.219 0.219,0.219l5.687,0c0.11,0 0.219,-0.082 0.219,-0.219l0,-0.875c0,-0.109 -0.109,-0.218 -0.219,-0.218l-5.687,-0c-0.137,-0 -0.219,0.109 -0.219,0.218l-0,0.875Zm0.219,2.407l5.687,-0c0.11,-0 0.219,-0.083 0.219,-0.219l0,-0.875c0,-0.11 -0.109,-0.219 -0.219,-0.219l-5.687,0c-0.137,0 -0.219,0.109 -0.219,0.219l-0,0.875c-0,0.136 0.082,0.219 0.219,0.219Zm8.175,4.375c0.192,-0.028 0.356,-0.219 0.356,-0.438l-0,-10.062c-0,-0.219 -0.219,-0.438 -0.438,-0.438l-9.625,0c-1.23,0 -2.187,0.984 -2.187,2.188l-0,9.625c-0,1.23 0.957,2.187 2.187,2.187l9.625,0c0.219,0 0.438,-0.191 0.438,-0.437l-0,-0.438c-0,-0.191 -0.164,-0.383 -0.356,-0.41c-0.136,-0.356 -0.136,-1.422 0,-1.777Zm-1.121,-0c-0.082,0.492 -0.082,1.285 0,1.75l-8.586,-0c-0.492,-0 -0.875,-0.383 -0.875,-0.875c0,-0.465 0.383,-0.875 0.875,-0.875l8.586,-0Zm0.164,-9.625l0,8.312l-8.75,0c-0.328,0 -0.628,0.082 -0.875,0.191l0,-7.628c0,-0.465 0.383,-0.875 0.875,-0.875l8.75,-0Z",
87
- style: { "fill-rule": "nonzero" }
88
- }, null, -1)]]);
89
- }
90
- var b = /*#__PURE__*/ c(_, [["render", y]]), x = {}, S = {
91
- xmlns: "http://www.w3.org/2000/svg",
92
- viewBox: "0 0 24 24",
93
- fill: "currentColor"
94
- };
95
- function C(e, t) {
96
- return o(), i("svg", S, [...t[0] ||= [a("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)]]);
97
- }
98
- var w = /*#__PURE__*/ c(x, [["render", C]]), T = {}, E = {
99
- width: "100%",
100
- height: "100%",
101
- viewBox: "0 0 14 14",
102
- version: "1.1",
103
- xmlns: "http://www.w3.org/2000/svg",
104
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
105
- "xml:space": "preserve",
106
- style: {
107
- "fill-rule": "evenodd",
108
- "clip-rule": "evenodd",
109
- "stroke-linejoin": "round",
110
- "stroke-miterlimit": "2"
111
- }
112
- };
113
- function D(e, t) {
114
- return o(), i("svg", E, [...t[0] ||= [a("rect", {
115
- x: "0",
116
- y: "0",
117
- width: "13.986",
118
- height: "13.986",
119
- style: { fill: "none" }
120
- }, null, -1), a("path", {
121
- d: "M8.593,5.394c-0.301,-0.301 -0.629,-0.52 -0.985,-0.711c-0.136,-0.055 -0.273,-0.028 -0.382,0.082l-0.11,0.109c-0.246,0.219 -0.383,0.52 -0.41,0.82c-0.027,0.137 0.055,0.274 0.164,0.356c0.192,0.082 0.492,0.273 0.629,0.437c0.902,0.903 0.902,2.352 0,3.254l-2.051,2.051c-0.902,0.902 -2.351,0.902 -3.254,0c-0.902,-0.902 -0.902,-2.352 0,-3.254l1.258,-1.258c0.082,-0.082 0.11,-0.191 0.082,-0.3c-0.054,-0.274 -0.109,-0.739 -0.137,-1.04c0,-0.273 -0.355,-0.41 -0.546,-0.218c-0.329,0.328 -0.848,0.847 -1.723,1.722c-1.504,1.504 -1.504,3.938 -0,5.414c1.477,1.504 3.91,1.504 5.414,0c2.242,-2.242 2.133,-2.132 2.297,-2.351c1.23,-1.477 1.148,-3.719 -0.246,-5.113Zm4.265,-4.266c-1.476,-1.504 -3.91,-1.504 -5.414,-0c-2.242,2.242 -2.132,2.133 -2.297,2.352c-1.23,1.476 -1.148,3.718 0.247,5.113c0.3,0.301 0.628,0.519 0.984,0.711c0.137,0.054 0.273,0.027 0.383,-0.082l0.109,-0.11c0.246,-0.218 0.383,-0.519 0.41,-0.82c0.028,-0.137 -0.054,-0.273 -0.164,-0.355c-0.191,-0.082 -0.492,-0.274 -0.629,-0.438c-0.902,-0.902 -0.902,-2.351 0,-3.254l2.051,-2.051c0.902,-0.902 2.352,-0.902 3.254,0c0.902,0.903 0.902,2.352 0,3.254l-1.258,1.258c-0.082,0.082 -0.109,0.192 -0.082,0.301c0.055,0.273 0.11,0.738 0.137,1.039c-0,0.273 0.355,0.41 0.547,0.219c0.328,-0.328 0.847,-0.848 1.722,-1.723c1.504,-1.504 1.504,-3.937 0,-5.414Z",
122
- style: { "fill-rule": "nonzero" }
123
- }, null, -1)]]);
124
- }
125
- var O = /*#__PURE__*/ c(T, [["render", D]]), k = {}, A = {
126
- width: "100%",
127
- height: "100%",
128
- viewBox: "0 0 14 13",
129
- version: "1.1",
130
- xmlns: "http://www.w3.org/2000/svg",
131
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
132
- "xml:space": "preserve",
133
- style: {
134
- "fill-rule": "evenodd",
135
- "clip-rule": "evenodd",
136
- "stroke-linejoin": "round",
137
- "stroke-miterlimit": "2"
138
- }
139
- };
140
- function j(e, t) {
141
- return o(), i("svg", A, [...t[0] ||= [a("rect", {
142
- x: "0",
143
- y: "0",
144
- width: "14",
145
- height: "12.25",
146
- style: { fill: "none" }
147
- }, null, -1), a("path", {
148
- d: "M12.688,0l-11.376,0c-0.738,0 -1.312,0.602 -1.312,1.313l-0,9.625c-0,0.738 0.574,1.312 1.312,1.312l11.375,0c0.711,0 1.313,-0.574 1.313,-1.313l-0,-9.625c-0,-0.71 -0.602,-1.312 -1.313,-1.312Zm-6.343,10.938l-4.867,-0.001c-0.11,0 -0.165,-0.054 -0.165,-0.164l0,-3.554l5.032,-0l-0,3.718Zm-0,-5.031l-5.032,0l0,-3.719l5.032,0l-0,3.719Zm6.179,5.031l-4.867,0l0,-3.718l5.031,-0l0,3.554c0,0.11 -0.082,0.164 -0.164,0.164Zm0.164,-5.031l-5.031,0l0,-3.719l5.031,0l0,3.719Z",
149
- style: { "fill-rule": "nonzero" }
150
- }, null, -1)]]);
151
- }
152
- var M = /*#__PURE__*/ c(k, [["render", j]]);
153
- //#endregion
154
- //#region src/functions/resources.ts
155
- function N(n) {
156
- switch (n?.trim()?.toLowerCase()) {
157
- case "txt":
158
- case "pdf":
159
- case "rtf":
160
- case "odt":
161
- case "doc":
162
- case "docx":
163
- case "epub": return b;
164
- case "json":
165
- case "sql":
166
- case "xml":
167
- case "xsd":
168
- case "shp":
169
- case "kml":
170
- case "kmz":
171
- case "gpx":
172
- case "shx":
173
- case "ovr":
174
- case "gpkg":
175
- case "grib2":
176
- case "dbf":
177
- case "prj":
178
- case "sqlite":
179
- case "db":
180
- case "sbn":
181
- case "sbx":
182
- case "cpg":
183
- case "lyr":
184
- case "owl":
185
- case "dxf":
186
- case "ics":
187
- case "rdf":
188
- case "ttl":
189
- case "n3": return g;
190
- case "tar":
191
- case "gz":
192
- case "tgz":
193
- case "rar":
194
- case "zip":
195
- case "7z":
196
- case "xz":
197
- case "bz2": return f;
198
- case "url": return O;
199
- case "csv":
200
- case "ods":
201
- case "xls":
202
- case "xlsx":
203
- case "parquet":
204
- case "csv.gz": return M;
205
- case "geojson": return e;
206
- case "ogc:wfs":
207
- case "ogc:wms":
208
- case "wfs":
209
- case "wms": return t;
210
- case "png":
211
- case "jpg":
212
- case "jpeg":
213
- case "svg": return w;
214
- default: return null;
215
- }
216
- }
217
- function P(n) {
218
- switch (n ? N(n) : null) {
219
- case M: return "bg-[#c3fad5] text-[#18753c]";
220
- case e:
221
- case t: return "bg-[#e6eefe] text-[#0063cb]";
222
- case g: return "bg-[#fce164] text-[#716043]";
223
- case b: return "bg-[#fee7fc] text-[#6e445a]";
224
- default: return "bg-gray-100 text-gray-plain";
225
- }
226
- }
227
- function F(e) {
228
- return "resource-" + e.id + "-title";
229
- }
230
- var I = s([
231
- "main",
232
- "documentation",
233
- "update",
234
- "api",
235
- "code",
236
- "other"
237
- ]), L = 10, R = (e, t) => {
238
- let { t: n } = r();
239
- switch (e) {
240
- case "main": return typeof t == "number" ? n("Aucun fichier principal | 1 fichier principal | {n} fichiers principaux", t) : n("Fichiers principaux");
241
- case "documentation": return typeof t == "number" ? n("Aucun fichier de documentation | 1 fichier de documentation | {n} fichiers de documentation", t) : n("Documentation");
242
- case "update": return typeof t == "number" ? n("Aucune mise à jour | 1 mise à jour | {n} mises à jour", t) : n("Mise à jour");
243
- case "api": return typeof t == "number" ? n("Aucune API | 1 API | {n} API", t) : n("API");
244
- 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");
245
- case "other": return typeof t == "number" ? n("Aucun autre fichier | 1 autre fichier | {n} autres fichiers", t) : n("Autre");
246
- }
247
- }, z = ["wfs", "wms"], B = (e) => {
248
- if (e.format) {
249
- let t = e.format.replace(/^ogc:/, "");
250
- if (z.includes(t)) return t;
251
- }
252
- let t = e.url.toLowerCase();
253
- if (t.includes("request=getcapabilities")) {
254
- for (let e of z) if (t.includes(`service=${e}`)) return e;
255
- }
256
- return !1;
257
- };
258
- function V(e) {
259
- return "organization" in e || "owner" in e;
260
- }
261
- function H(e, t) {
262
- return `${e.page}${V(t) ? "/community-resources" : ""}?resource_id=${t.id}`;
263
- }
264
- function U(e) {
265
- let t = e.geopf?.push_status;
266
- return t === "pending" || t === "done" || typeof e.geopf?.offering_id == "string";
267
- }
268
- function W(e, t, n) {
269
- return n ? n(t) : H(e, t);
270
- }
271
- function G(e) {
272
- return e.filesize ? e.filesize : "analysis:content-length" in e.extras ? e.extras["analysis:content-length"] : null;
273
- }
274
- var K = [
275
- "png",
276
- "jpg",
277
- "jpeg",
278
- "jpe",
279
- "gif",
280
- "webp"
281
- ];
282
- function q(e) {
283
- return e ? K.includes(e.toLowerCase()) : !1;
284
- }
285
- function J(e) {
286
- let t = e.extras["analysis:parsing:error"];
287
- if (typeof t != "string" || !t) return null;
288
- let [n] = t.split(":", 1);
289
- return n ?? null;
290
- }
291
- function Y(e) {
292
- let t = e.extras["analysis:parsing:error"];
293
- if (typeof t != "string" || !t) return null;
294
- let n = t.indexOf(":");
295
- return n === -1 ? t : t.slice(n + 1);
296
- }
297
- var X = ["pmtiles_export", "geojson_export"];
298
- function Z(e) {
299
- let t = J(e);
300
- return t !== null && !X.includes(t);
301
- }
302
- var Q = (e) => {
303
- let t = e.extras;
304
- if (!t || !("check:cors:allow-origin" in t)) return "unknown";
305
- let r = t["check:cors:allow-origin"], i = t["check:cors:allow-methods"], a = n().trustedDomains ?? [], o = r === "*", s = r ? a.some((e) => {
306
- try {
307
- let t = new URL(r).hostname;
308
- return t === e || t.endsWith(`.${e}`);
309
- } catch {
310
- return !1;
311
- }
312
- }) : !1, c = o || s, l = i ? i.split(",").map((e) => e.trim().toUpperCase()) : [], u = l.length === 0 || l.includes("GET");
313
- return c && u ? "allowed" : "blocked";
314
- };
315
- //#endregion
316
- export { q as _, Y as a, H as c, P as d, R as f, U as g, V as h, B as i, G as l, Z as m, L as n, J as o, F as p, I as r, Q as s, z as t, N as u, W as v, c as y };
@@ -1,22 +0,0 @@
1
- <template>
2
- <div class="flex flex-col items-center py-12">
3
- <img
4
- :src="microscopeSrc"
5
- class="h-20 mb-3"
6
- alt=""
7
- >
8
- <p class="fr-text--bold mb-1">
9
- {{ t("Aucun aperçu disponible") }}
10
- </p>
11
- <p class="text-sm text-gray-medium mb-0 text-center max-w-lg">
12
- <slot />
13
- </p>
14
- </div>
15
- </template>
16
-
17
- <script setup lang="ts">
18
- import { useTranslation } from '../../composables/useTranslation'
19
- import microscopeSrc from '../../../assets/illustrations/microscope.svg?url'
20
-
21
- const { t } = useTranslation()
22
- </script>