triiiceratops 0.18.0 → 0.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -8
- package/dist/{ArrowCounterClockwise-CVcjOdod.js → ArrowCounterClockwise-LhBxpAc9.js} +9 -9
- package/dist/{Check-BbknRvzG.js → Check-CHecEx_b.js} +56 -55
- package/dist/X-e7GCAN1o.js +1123 -0
- package/dist/annotationAdapter-B3K4C32n.js +543 -0
- package/dist/close-ChM0HJbL.js +127 -0
- package/dist/components/ThumbnailGallery.svelte +17 -12
- package/dist/components/TriiiceratopsViewer.svelte +11 -258
- package/dist/{image_filters_reset-CgZYWtp0.js → image_filters_reset-BKlJ1XJa.js} +5 -5
- package/dist/index-B8rPrWDX.js +293 -0
- package/dist/index-Dyz0gCaP.js +12038 -0
- package/dist/plugins/annotation-editor.js +157 -156
- package/dist/plugins/image-manipulation.js +12 -11
- package/dist/plugins/pdf-export/PdfExportController.svelte +201 -0
- package/dist/plugins/pdf-export/PdfExportController.svelte.d.ts +14 -0
- package/dist/plugins/pdf-export/PdfExportPanel.svelte +173 -0
- package/dist/plugins/pdf-export/PdfExportPanel.svelte.d.ts +25 -0
- package/dist/plugins/pdf-export/exportPdf.d.ts +70 -0
- package/dist/plugins/pdf-export/exportPdf.js +508 -0
- package/dist/plugins/pdf-export/exportPdf.test.d.ts +1 -0
- package/dist/plugins/pdf-export/exportPdf.test.js +193 -0
- package/dist/plugins/pdf-export/iife-entry.d.ts +1 -0
- package/dist/plugins/pdf-export/iife-entry.js +3 -0
- package/dist/plugins/pdf-export/index.d.ts +15 -0
- package/dist/plugins/pdf-export/index.js +15 -0
- package/dist/plugins/pdf-export.js +13 -0
- package/dist/state/manifests.svelte.d.ts +6 -2
- package/dist/state/manifests.svelte.js +63 -15
- package/dist/state/manifests.test.js +124 -37
- package/dist/state/viewer.search.test.js +289 -7
- package/dist/state/viewer.svelte.d.ts +24 -0
- package/dist/state/viewer.svelte.js +294 -164
- package/dist/test/fixtures/manifests.d.ts +81 -40
- package/dist/test/fixtures/manifests.js +332 -252
- package/dist/test/fixtures/searchResponses.d.ts +128 -26
- package/dist/test/fixtures/searchResponses.js +380 -134
- package/dist/test/utils/mockManifesto.js +4 -0
- package/dist/triiiceratops-bundle.js +3525 -3963
- package/dist/triiiceratops-element.iife.js +14 -14
- package/dist/triiiceratops.css +1 -1
- package/dist/utils/resolveCanvasImage.d.ts +34 -0
- package/dist/utils/resolveCanvasImage.js +255 -0
- package/dist/utils/resolveCanvasImage.test.d.ts +1 -0
- package/dist/utils/resolveCanvasImage.test.js +120 -0
- package/package.json +9 -2
- package/dist/X-o5IiQS6t.js +0 -1118
package/README.md
CHANGED
|
@@ -49,6 +49,8 @@ This project is actively developed. The following IIIF features are not yet supp
|
|
|
49
49
|
|
|
50
50
|
The `annotation-editor` plugin supports custom storage adapters plus extension hooks for host apps that need to inject create rules, draft enrichment, lazy body hydration, or selection-linked workflows without forking the plugin. See `docs/plugins.md`.
|
|
51
51
|
|
|
52
|
+
There is also an optional `pdf-export` plugin for downloading a selected flat range of canvases as a client-side PDF, with optional consumer-configured cover-sheet metadata and an optional OCR annotation-source selector for PDF text. When canvases include IIIF OCR annotations with `supplementing` text bodies and `xywh` targets, the plugin embeds that OCR as selectable PDF text. For private or non-CORS image services, consumers can supply their own image loader/proxy path. See `docs/plugins.md`.
|
|
53
|
+
|
|
52
54
|
### Other
|
|
53
55
|
|
|
54
56
|
- **`rendering` property**: No links to alternative formats (PDF, etc.)
|
|
@@ -95,7 +97,7 @@ To load a manifest directly from JSON, assign it as a property from JavaScript:
|
|
|
95
97
|
id: 'urn:example:manifest',
|
|
96
98
|
type: 'Manifest',
|
|
97
99
|
label: { none: ['Local manifest'] },
|
|
98
|
-
items: []
|
|
100
|
+
items: [],
|
|
99
101
|
};
|
|
100
102
|
</script>
|
|
101
103
|
```
|
|
@@ -120,16 +122,13 @@ pnpm add triiiceratops
|
|
|
120
122
|
id: 'urn:example:manifest',
|
|
121
123
|
type: 'Manifest',
|
|
122
124
|
label: { none: ['Local manifest'] },
|
|
123
|
-
items: []
|
|
125
|
+
items: [],
|
|
124
126
|
};
|
|
125
127
|
</script>
|
|
126
128
|
|
|
127
129
|
<!-- Container must have height -->
|
|
128
130
|
<div style="height: 600px;">
|
|
129
|
-
<TriiiceratopsViewer
|
|
130
|
-
manifestId="urn:example:manifest"
|
|
131
|
-
{manifestJson}
|
|
132
|
-
/>
|
|
131
|
+
<TriiiceratopsViewer manifestId="urn:example:manifest" {manifestJson} />
|
|
133
132
|
</div>
|
|
134
133
|
```
|
|
135
134
|
|
|
@@ -146,8 +145,8 @@ If your application stores transcript or annotation data locally, you can provid
|
|
|
146
145
|
{
|
|
147
146
|
canvasIndex: 0,
|
|
148
147
|
canvasLabel: 'Page 1',
|
|
149
|
-
hits: [{ type: 'hit', before: '', match: query, after: '' }]
|
|
150
|
-
}
|
|
148
|
+
hits: [{ type: 'hit', before: '', match: query, after: '' }],
|
|
149
|
+
},
|
|
151
150
|
];
|
|
152
151
|
};
|
|
153
152
|
</script>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "svelte/internal/disclose-version";
|
|
2
2
|
import * as a from "svelte/internal/client";
|
|
3
|
-
import {
|
|
3
|
+
import { g as N } from "./X-e7GCAN1o.js";
|
|
4
4
|
var O = a.from_svg('<path d="M228,128a100,100,0,0,1-98.66,100H128a99.39,99.39,0,0,1-68.62-27.29,12,12,0,0,1,16.48-17.45,76,76,0,1,0-1.57-109c-.13.13-.25.25-.39.37L54.89,92H72a12,12,0,0,1,0,24H24a12,12,0,0,1-12-12V56a12,12,0,0,1,24,0V76.72L57.48,57.06A100,100,0,0,1,228,128Z"></path>'), P = a.from_svg('<path d="M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z" opacity="0.2"></path><path d="M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z"></path>', 1), Q = a.from_svg('<path d="M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L60.63,81.29l17,17A8,8,0,0,1,72,112H24a8,8,0,0,1-8-8V56A8,8,0,0,1,29.66,50.3L49.31,70,60.25,60A96,96,0,0,1,224,128Z"></path>'), R = a.from_svg('<path d="M222,128a94,94,0,0,1-92.74,94H128a93.43,93.43,0,0,1-64.5-25.65,6,6,0,1,1,8.24-8.72A82,82,0,1,0,70,70l-.19.19L39.44,98H72a6,6,0,0,1,0,12H24a6,6,0,0,1-6-6V56a6,6,0,0,1,12,0V90.34L61.63,61.4A94,94,0,0,1,222,128Z"></path>'), S = a.from_svg('<path d="M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z"></path>'), T = a.from_svg('<path d="M220,128a92,92,0,0,1-90.77,92H128a91.47,91.47,0,0,1-63.13-25.1,4,4,0,1,1,5.5-5.82A84,84,0,1,0,68.6,68.57l-.13.12L34.3,100H72a4,4,0,0,1,0,8H24a4,4,0,0,1-4-4V56a4,4,0,0,1,8,0V94.89l35-32A92,92,0,0,1,220,128Z"></path>'), W = a.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
|
|
5
5
|
function $(L, r) {
|
|
6
6
|
a.push(r, !0);
|
|
@@ -45,16 +45,16 @@ function $(L, r) {
|
|
|
45
45
|
var t = a.comment(), s = a.first_child(t);
|
|
46
46
|
{
|
|
47
47
|
var w = (o) => {
|
|
48
|
-
var
|
|
49
|
-
a.next(), a.append(o,
|
|
48
|
+
var g = P();
|
|
49
|
+
a.next(), a.append(o, g);
|
|
50
50
|
}, V = (o) => {
|
|
51
|
-
var
|
|
51
|
+
var g = a.comment(), k = a.first_child(g);
|
|
52
52
|
{
|
|
53
53
|
var B = (l) => {
|
|
54
|
-
var
|
|
55
|
-
a.append(l,
|
|
54
|
+
var h = Q();
|
|
55
|
+
a.append(l, h);
|
|
56
56
|
}, I = (l) => {
|
|
57
|
-
var
|
|
57
|
+
var h = a.comment(), U = a.first_child(h);
|
|
58
58
|
{
|
|
59
59
|
var j = (n) => {
|
|
60
60
|
var m = R();
|
|
@@ -103,7 +103,7 @@ function $(L, r) {
|
|
|
103
103
|
!0
|
|
104
104
|
);
|
|
105
105
|
}
|
|
106
|
-
a.append(l,
|
|
106
|
+
a.append(l, h);
|
|
107
107
|
};
|
|
108
108
|
a.if(
|
|
109
109
|
k,
|
|
@@ -113,7 +113,7 @@ function $(L, r) {
|
|
|
113
113
|
!0
|
|
114
114
|
);
|
|
115
115
|
}
|
|
116
|
-
a.append(o,
|
|
116
|
+
a.append(o, g);
|
|
117
117
|
};
|
|
118
118
|
a.if(
|
|
119
119
|
s,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { g as a
|
|
1
|
+
import { g as a } from "./close-ChM0HJbL.js";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as t from "svelte/internal/client";
|
|
4
|
+
import { g as W } from "./X-e7GCAN1o.js";
|
|
4
5
|
const F = (
|
|
5
6
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
6
7
|
() => (
|
|
@@ -13,7 +14,7 @@ const F = (
|
|
|
13
14
|
/** @type {LocalizedString} */
|
|
14
15
|
"Anmerkungs-Editor"
|
|
15
16
|
)
|
|
16
|
-
),
|
|
17
|
+
), Ft = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? F() : G(), J = (
|
|
17
18
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
18
19
|
() => (
|
|
19
20
|
/** @type {LocalizedString} */
|
|
@@ -25,7 +26,7 @@ const F = (
|
|
|
25
26
|
/** @type {LocalizedString} */
|
|
26
27
|
"Bearbeiten"
|
|
27
28
|
)
|
|
28
|
-
),
|
|
29
|
+
), Gt = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? J() : N(), O = (
|
|
29
30
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
30
31
|
() => (
|
|
31
32
|
/** @type {LocalizedString} */
|
|
@@ -37,7 +38,7 @@ const F = (
|
|
|
37
38
|
/** @type {LocalizedString} */
|
|
38
39
|
"Erstellen"
|
|
39
40
|
)
|
|
40
|
-
),
|
|
41
|
+
), Jt = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? O() : Q(), X = (
|
|
41
42
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
42
43
|
() => (
|
|
43
44
|
/** @type {LocalizedString} */
|
|
@@ -49,7 +50,7 @@ const F = (
|
|
|
49
50
|
/** @type {LocalizedString} */
|
|
50
51
|
"Klicken zum Annotieren, erneut klicken zum Abschließen"
|
|
51
52
|
)
|
|
52
|
-
),
|
|
53
|
+
), Nt = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? X() : Y(), $ = (
|
|
53
54
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
54
55
|
() => (
|
|
55
56
|
/** @type {LocalizedString} */
|
|
@@ -61,7 +62,7 @@ const F = (
|
|
|
61
62
|
/** @type {LocalizedString} */
|
|
62
63
|
"Anmerkung klicken zum Bearbeiten"
|
|
63
64
|
)
|
|
64
|
-
),
|
|
65
|
+
), Ot = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? $() : tt(), nt = (
|
|
65
66
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
66
67
|
() => (
|
|
67
68
|
/** @type {LocalizedString} */
|
|
@@ -73,7 +74,7 @@ const F = (
|
|
|
73
74
|
/** @type {LocalizedString} */
|
|
74
75
|
"Zeichenwerkzeug"
|
|
75
76
|
)
|
|
76
|
-
),
|
|
77
|
+
), Qt = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? nt() : et(), ot = (
|
|
77
78
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
78
79
|
() => (
|
|
79
80
|
/** @type {LocalizedString} */
|
|
@@ -85,7 +86,7 @@ const F = (
|
|
|
85
86
|
/** @type {LocalizedString} */
|
|
86
87
|
"Rückgängig"
|
|
87
88
|
)
|
|
88
|
-
),
|
|
89
|
+
), Xt = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? ot() : at(), rt = (
|
|
89
90
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
90
91
|
() => (
|
|
91
92
|
/** @type {LocalizedString} */
|
|
@@ -97,7 +98,7 @@ const F = (
|
|
|
97
98
|
/** @type {LocalizedString} */
|
|
98
99
|
"Wiederholen"
|
|
99
100
|
)
|
|
100
|
-
),
|
|
101
|
+
), Yt = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? rt() : it(), lt = (
|
|
101
102
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
102
103
|
() => (
|
|
103
104
|
/** @type {LocalizedString} */
|
|
@@ -109,7 +110,7 @@ const F = (
|
|
|
109
110
|
/** @type {LocalizedString} */
|
|
110
111
|
"Anmerkung bearbeiten"
|
|
111
112
|
)
|
|
112
|
-
),
|
|
113
|
+
), $t = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? lt() : ct(), _t = (
|
|
113
114
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
114
115
|
() => (
|
|
115
116
|
/** @type {LocalizedString} */
|
|
@@ -121,7 +122,7 @@ const F = (
|
|
|
121
122
|
/** @type {LocalizedString} */
|
|
122
123
|
"Anmerkung löschen"
|
|
123
124
|
)
|
|
124
|
-
),
|
|
125
|
+
), tn = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? _t() : st(), dt = (
|
|
125
126
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
126
127
|
() => (
|
|
127
128
|
/** @type {LocalizedString} */
|
|
@@ -133,7 +134,7 @@ const F = (
|
|
|
133
134
|
/** @type {LocalizedString} */
|
|
134
135
|
"Tag eingeben..."
|
|
135
136
|
)
|
|
136
|
-
),
|
|
137
|
+
), nn = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? dt() : ut(), pt = (
|
|
137
138
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
138
139
|
() => (
|
|
139
140
|
/** @type {LocalizedString} */
|
|
@@ -145,19 +146,19 @@ const F = (
|
|
|
145
146
|
/** @type {LocalizedString} */
|
|
146
147
|
"https://..."
|
|
147
148
|
)
|
|
148
|
-
),
|
|
149
|
+
), en = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? pt() : gt(), ft = (
|
|
149
150
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
150
151
|
() => (
|
|
151
152
|
/** @type {LocalizedString} */
|
|
152
153
|
"Enter text..."
|
|
153
154
|
)
|
|
154
|
-
),
|
|
155
|
+
), ht = (
|
|
155
156
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
156
157
|
() => (
|
|
157
158
|
/** @type {LocalizedString} */
|
|
158
159
|
"Text eingeben..."
|
|
159
160
|
)
|
|
160
|
-
),
|
|
161
|
+
), on = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? ft() : ht(), vt = (
|
|
161
162
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
162
163
|
() => (
|
|
163
164
|
/** @type {LocalizedString} */
|
|
@@ -169,7 +170,7 @@ const F = (
|
|
|
169
170
|
/** @type {LocalizedString} */
|
|
170
171
|
"Inhalt hinzufügen"
|
|
171
172
|
)
|
|
172
|
-
),
|
|
173
|
+
), an = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? vt() : mt(), kt = (
|
|
173
174
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
174
175
|
() => (
|
|
175
176
|
/** @type {LocalizedString} */
|
|
@@ -181,7 +182,7 @@ const F = (
|
|
|
181
182
|
/** @type {LocalizedString} */
|
|
182
183
|
"Speichern"
|
|
183
184
|
)
|
|
184
|
-
),
|
|
185
|
+
), rn = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? kt() : At(), bt = (
|
|
185
186
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
186
187
|
() => (
|
|
187
188
|
/** @type {LocalizedString} */
|
|
@@ -193,7 +194,7 @@ const F = (
|
|
|
193
194
|
/** @type {LocalizedString} */
|
|
194
195
|
"Anmerkung löschen?"
|
|
195
196
|
)
|
|
196
|
-
),
|
|
197
|
+
), ln = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? bt() : wt(), xt = (
|
|
197
198
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
198
199
|
() => (
|
|
199
200
|
/** @type {LocalizedString} */
|
|
@@ -205,7 +206,7 @@ const F = (
|
|
|
205
206
|
/** @type {LocalizedString} */
|
|
206
207
|
"Anmerkung wirklich löschen? Dies kann nicht rückgängig gemacht werden."
|
|
207
208
|
)
|
|
208
|
-
),
|
|
209
|
+
), cn = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? xt() : Ct(), yt = (
|
|
209
210
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
210
211
|
() => (
|
|
211
212
|
/** @type {LocalizedString} */
|
|
@@ -217,7 +218,7 @@ const F = (
|
|
|
217
218
|
/** @type {LocalizedString} */
|
|
218
219
|
"Abbrechen"
|
|
219
220
|
)
|
|
220
|
-
),
|
|
221
|
+
), _n = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? yt() : zt(), Zt = (
|
|
221
222
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
222
223
|
() => (
|
|
223
224
|
/** @type {LocalizedString} */
|
|
@@ -229,7 +230,7 @@ const F = (
|
|
|
229
230
|
/** @type {LocalizedString} */
|
|
230
231
|
"Löschen"
|
|
231
232
|
)
|
|
232
|
-
),
|
|
233
|
+
), sn = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? Zt() : Lt(), Mt = (
|
|
233
234
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
234
235
|
() => (
|
|
235
236
|
/** @type {LocalizedString} */
|
|
@@ -241,7 +242,7 @@ const F = (
|
|
|
241
242
|
/** @type {LocalizedString} */
|
|
242
243
|
"Rechteck"
|
|
243
244
|
)
|
|
244
|
-
),
|
|
245
|
+
), dn = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? Mt() : Et(), Dt = (
|
|
245
246
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
246
247
|
() => (
|
|
247
248
|
/** @type {LocalizedString} */
|
|
@@ -253,7 +254,7 @@ const F = (
|
|
|
253
254
|
/** @type {LocalizedString} */
|
|
254
255
|
"Polygon"
|
|
255
256
|
)
|
|
256
|
-
),
|
|
257
|
+
), un = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? Dt() : Tt(), Vt = (
|
|
257
258
|
/** @type {(inputs: {}) => LocalizedString} */
|
|
258
259
|
() => (
|
|
259
260
|
/** @type {LocalizedString} */
|
|
@@ -265,9 +266,9 @@ const F = (
|
|
|
265
266
|
/** @type {LocalizedString} */
|
|
266
267
|
"Punkt"
|
|
267
268
|
)
|
|
268
|
-
),
|
|
269
|
+
), pn = /* @__NO_SIDE_EFFECTS__ */ (o = {}, n = {}) => (n.locale ?? a()) === "en" ? Vt() : Ht();
|
|
269
270
|
var Pt = t.from_svg('<path d="M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"></path>'), Rt = t.from_svg('<path d="M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z" opacity="0.2"></path><path d="M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"></path>', 1), Bt = t.from_svg('<path d="M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"></path>'), It = t.from_svg('<path d="M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"></path>'), St = t.from_svg('<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>'), Ut = t.from_svg('<path d="M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"></path>'), jt = t.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
|
|
270
|
-
function
|
|
271
|
+
function gn(o, n) {
|
|
271
272
|
t.push(n, !0);
|
|
272
273
|
const e = W();
|
|
273
274
|
let y = t.rest_props(n, ["$$slots", "$$events", "$$legacy", "children"]), c = t.derived(() => n.weight ?? e.weight ?? "regular"), z = t.derived(() => n.color ?? e.color ?? "currentColor"), A = t.derived(() => n.size ?? e.size ?? "1em"), Z = t.derived(() => n.mirrored ?? e.mirrored ?? !1);
|
|
@@ -310,16 +311,16 @@ function pn(o, n) {
|
|
|
310
311
|
var i = t.comment(), g = t.first_child(i);
|
|
311
312
|
{
|
|
312
313
|
var x = (l) => {
|
|
313
|
-
var
|
|
314
|
-
t.next(), t.append(l,
|
|
314
|
+
var f = Rt();
|
|
315
|
+
t.next(), t.append(l, f);
|
|
315
316
|
}, C = (l) => {
|
|
316
|
-
var
|
|
317
|
+
var f = t.comment(), T = t.first_child(f);
|
|
317
318
|
{
|
|
318
319
|
var V = (_) => {
|
|
319
|
-
var
|
|
320
|
-
t.append(_,
|
|
320
|
+
var h = Bt();
|
|
321
|
+
t.append(_, h);
|
|
321
322
|
}, H = (_) => {
|
|
322
|
-
var
|
|
323
|
+
var h = t.comment(), P = t.first_child(h);
|
|
323
324
|
{
|
|
324
325
|
var R = (s) => {
|
|
325
326
|
var v = It();
|
|
@@ -368,7 +369,7 @@ function pn(o, n) {
|
|
|
368
369
|
!0
|
|
369
370
|
);
|
|
370
371
|
}
|
|
371
|
-
t.append(_,
|
|
372
|
+
t.append(_, h);
|
|
372
373
|
};
|
|
373
374
|
t.if(
|
|
374
375
|
T,
|
|
@@ -378,7 +379,7 @@ function pn(o, n) {
|
|
|
378
379
|
!0
|
|
379
380
|
);
|
|
380
381
|
}
|
|
381
|
-
t.append(l,
|
|
382
|
+
t.append(l, f);
|
|
382
383
|
};
|
|
383
384
|
t.if(
|
|
384
385
|
g,
|
|
@@ -397,27 +398,27 @@ function pn(o, n) {
|
|
|
397
398
|
t.reset(p), t.append(o, p), t.pop();
|
|
398
399
|
}
|
|
399
400
|
export {
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
401
|
+
gn as C,
|
|
402
|
+
Ft as a,
|
|
403
|
+
Gt as b,
|
|
404
|
+
Jt as c,
|
|
405
|
+
Nt as d,
|
|
406
|
+
Ot as e,
|
|
407
|
+
pn as f,
|
|
408
|
+
un as g,
|
|
409
|
+
dn as h,
|
|
410
|
+
Qt as i,
|
|
411
|
+
Xt as j,
|
|
412
|
+
Yt as k,
|
|
413
|
+
$t as l,
|
|
414
|
+
tn as m,
|
|
414
415
|
an as n,
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
416
|
+
rn as o,
|
|
417
|
+
ln as p,
|
|
418
|
+
cn as q,
|
|
419
|
+
_n as r,
|
|
420
|
+
sn as s,
|
|
421
|
+
nn as t,
|
|
422
|
+
en as u,
|
|
423
|
+
on as v
|
|
423
424
|
};
|