@react-aria/dnd 3.0.2-nightly.3698 → 3.0.2-nightly.3705

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 (2) hide show
  1. package/dist/import.mjs +3882 -0
  2. package/package.json +17 -12
@@ -0,0 +1,3882 @@
1
+ import {useInteractionModality as $fP8tg$useInteractionModality, getInteractionModality as $fP8tg$getInteractionModality, setInteractionModality as $fP8tg$setInteractionModality, useFocus as $fP8tg$useFocus} from "@react-aria/interactions";
2
+ import $fP8tg$react, {useRef as $fP8tg$useRef, useState as $fP8tg$useState, useEffect as $fP8tg$useEffect, useCallback as $fP8tg$useCallback, useImperativeHandle as $fP8tg$useImperativeHandle} from "react";
3
+ import {useGlobalListeners as $fP8tg$useGlobalListeners, useLayoutEffect as $fP8tg$useLayoutEffect, useDescription as $fP8tg$useDescription, isVirtualPointerEvent as $fP8tg$isVirtualPointerEvent, isVirtualClick as $fP8tg$isVirtualClick, isMac as $fP8tg$isMac, isIPad as $fP8tg$isIPad, useId as $fP8tg$useId, mergeProps as $fP8tg$mergeProps, isScrollable as $fP8tg$isScrollable, getScrollParent as $fP8tg$getScrollParent, isWebKit as $fP8tg$isWebKit, isIOS as $fP8tg$isIOS, chain as $fP8tg$chain} from "@react-aria/utils";
4
+ import {useLocalizedStringFormatter as $fP8tg$useLocalizedStringFormatter} from "@react-aria/i18n";
5
+ import {announce as $fP8tg$announce} from "@react-aria/live-announcer";
6
+ import {ariaHideOutside as $fP8tg$ariaHideOutside} from "@react-aria/overlays";
7
+ import {flushSync as $fP8tg$flushSync} from "react-dom";
8
+
9
+ function $parcel$interopDefault(a) {
10
+ return a && a.__esModule ? a.default : a;
11
+ }
12
+ /*
13
+ * Copyright 2020 Adobe. All rights reserved.
14
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
15
+ * you may not use this file except in compliance with the License. You may obtain a copy
16
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
17
+ *
18
+ * Unless required by applicable law or agreed to in writing, software distributed under
19
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
20
+ * OF ANY KIND, either express or implied. See the License for the specific language
21
+ * governing permissions and limitations under the License.
22
+ */ /*
23
+ * Copyright 2020 Adobe. All rights reserved.
24
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
25
+ * you may not use this file except in compliance with the License. You may obtain a copy
26
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
27
+ *
28
+ * Unless required by applicable law or agreed to in writing, software distributed under
29
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
30
+ * OF ANY KIND, either express or implied. See the License for the specific language
31
+ * governing permissions and limitations under the License.
32
+ */ /*
33
+ * Copyright 2020 Adobe. All rights reserved.
34
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
35
+ * you may not use this file except in compliance with the License. You may obtain a copy
36
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
37
+ *
38
+ * Unless required by applicable law or agreed to in writing, software distributed under
39
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
40
+ * OF ANY KIND, either express or implied. See the License for the specific language
41
+ * governing permissions and limitations under the License.
42
+ */ let $103790afe9474d1c$export$60b7b4bcf3903d8e;
43
+ (function(DROP_OPERATION) {
44
+ DROP_OPERATION[DROP_OPERATION["none"] = 0] = "none";
45
+ DROP_OPERATION[DROP_OPERATION["cancel"] = 0] = "cancel";
46
+ DROP_OPERATION[DROP_OPERATION["move"] = 1] = "move";
47
+ DROP_OPERATION[DROP_OPERATION["copy"] = 2] = "copy";
48
+ DROP_OPERATION[DROP_OPERATION["link"] = 4] = "link";
49
+ DROP_OPERATION[DROP_OPERATION["all"] = 7] = "all";
50
+ })($103790afe9474d1c$export$60b7b4bcf3903d8e || ($103790afe9474d1c$export$60b7b4bcf3903d8e = {}));
51
+ const $103790afe9474d1c$export$9bbdfc78cf083e16 = {
52
+ ...$103790afe9474d1c$export$60b7b4bcf3903d8e,
53
+ copyMove: $103790afe9474d1c$export$60b7b4bcf3903d8e.copy | $103790afe9474d1c$export$60b7b4bcf3903d8e.move,
54
+ copyLink: $103790afe9474d1c$export$60b7b4bcf3903d8e.copy | $103790afe9474d1c$export$60b7b4bcf3903d8e.link,
55
+ linkMove: $103790afe9474d1c$export$60b7b4bcf3903d8e.link | $103790afe9474d1c$export$60b7b4bcf3903d8e.move,
56
+ all: $103790afe9474d1c$export$60b7b4bcf3903d8e.all,
57
+ uninitialized: $103790afe9474d1c$export$60b7b4bcf3903d8e.all
58
+ };
59
+ const $103790afe9474d1c$export$dd0165308d8bff45 = $103790afe9474d1c$var$invert($103790afe9474d1c$export$9bbdfc78cf083e16);
60
+ $103790afe9474d1c$export$dd0165308d8bff45[$103790afe9474d1c$export$60b7b4bcf3903d8e.all] = "all"; // ensure we don't map to 'uninitialized'.
61
+ const $103790afe9474d1c$export$d7ebf00f36b7a95e = $103790afe9474d1c$var$invert($103790afe9474d1c$export$60b7b4bcf3903d8e);
62
+ const $103790afe9474d1c$export$608ecc6f1b23c35d = {
63
+ none: "cancel",
64
+ link: "link",
65
+ copy: "copy",
66
+ move: "move"
67
+ };
68
+ const $103790afe9474d1c$export$5eacb0769d26d3b2 = $103790afe9474d1c$var$invert($103790afe9474d1c$export$608ecc6f1b23c35d);
69
+ function $103790afe9474d1c$var$invert(object) {
70
+ let res = {};
71
+ for(let key in object)res[object[key]] = key;
72
+ return res;
73
+ }
74
+ const $103790afe9474d1c$export$4a7729b856e9a690 = new Set([
75
+ "text/plain",
76
+ "text/uri-list",
77
+ "text/html"
78
+ ]);
79
+ const $103790afe9474d1c$export$fd9f9fc120c5402d = "application/vnd.react-aria.items+json";
80
+ const $103790afe9474d1c$export$f8fc6581787339b3 = "application/octet-stream";
81
+
82
+
83
+
84
+ const $7252cd45fc48c07c$export$dfdf5deeaf27473f = new WeakMap();
85
+ const $7252cd45fc48c07c$export$990fced5dfac2637 = Symbol();
86
+ function $7252cd45fc48c07c$export$3093291712f09a77(state) {
87
+ let { id: id } = $7252cd45fc48c07c$export$dfdf5deeaf27473f.get(state);
88
+ if (!id) throw new Error("Droppable item outside a droppable collection");
89
+ return id;
90
+ }
91
+ function $7252cd45fc48c07c$export$7e397efd01d3db27(state) {
92
+ let { ref: ref } = $7252cd45fc48c07c$export$dfdf5deeaf27473f.get(state);
93
+ if (!ref) throw new Error("Droppable item outside a droppable collection");
94
+ return ref;
95
+ }
96
+ function $7252cd45fc48c07c$export$e1d41611756c6326(items) {
97
+ let types = new Set();
98
+ for (let item of items)for (let type of Object.keys(item))types.add(type);
99
+ return types;
100
+ }
101
+ function $7252cd45fc48c07c$var$mapModality(modality) {
102
+ if (!modality) modality = "virtual";
103
+ if (modality === "pointer") modality = "virtual";
104
+ if (modality === "virtual" && typeof window !== "undefined" && "ontouchstart" in window) modality = "touch";
105
+ return modality;
106
+ }
107
+ function $7252cd45fc48c07c$export$49bac5d6d4b352ea() {
108
+ return $7252cd45fc48c07c$var$mapModality((0, $fP8tg$useInteractionModality)());
109
+ }
110
+ function $7252cd45fc48c07c$export$1fb2158d224b542c() {
111
+ return $7252cd45fc48c07c$var$mapModality((0, $fP8tg$getInteractionModality)());
112
+ }
113
+ function $7252cd45fc48c07c$export$f9c1490890ddd063(dataTransfer, items) {
114
+ // The data transfer API doesn't support more than one item of a given type at once.
115
+ // In addition, only a small set of types are supported natively for transfer between applications.
116
+ // We allow for both multiple items, as well as multiple representations of a single item.
117
+ // In order to make our API work with the native API, we serialize all items to JSON and
118
+ // store as a single native item. We only need to do this if there is more than one item
119
+ // of the same type, or if an item has more than one representation. Otherwise the native
120
+ // API is sufficient.
121
+ //
122
+ // The DataTransferItemList API also theoretically supports adding files, which would enable
123
+ // dragging binary data out of the browser onto the user's desktop for example. Unfortunately,
124
+ // this does not currently work in any browser, so it is not currently supported by our API.
125
+ // See e.g. https://bugs.chromium.org/p/chromium/issues/detail?id=438479.
126
+ let groupedByType = new Map();
127
+ let needsCustomData = false;
128
+ let customData = [];
129
+ for (let item of items){
130
+ let types = Object.keys(item);
131
+ if (types.length > 1) needsCustomData = true;
132
+ let dataByType = {};
133
+ for (let type of types){
134
+ let typeItems = groupedByType.get(type);
135
+ if (!typeItems) {
136
+ typeItems = [];
137
+ groupedByType.set(type, typeItems);
138
+ } else needsCustomData = true;
139
+ let data = item[type];
140
+ dataByType[type] = data;
141
+ typeItems.push(data);
142
+ }
143
+ customData.push(dataByType);
144
+ }
145
+ for (let [type1, items1] of groupedByType)if ((0, $103790afe9474d1c$export$4a7729b856e9a690).has(type1)) {
146
+ // Only one item of a given type can be set on a data transfer.
147
+ // Join all of the items together separated by newlines.
148
+ let data1 = items1.join("\n");
149
+ dataTransfer.items.add(data1, type1);
150
+ } else // Set data to the first item so we have access to the list of types.
151
+ dataTransfer.items.add(items1[0], type1);
152
+ if (needsCustomData) {
153
+ let data2 = JSON.stringify(customData);
154
+ dataTransfer.items.add(data2, (0, $103790afe9474d1c$export$fd9f9fc120c5402d));
155
+ }
156
+ }
157
+ class $7252cd45fc48c07c$export$7f04ce188c91447c {
158
+ has(type) {
159
+ if (this.includesUnknownTypes || type === $7252cd45fc48c07c$export$990fced5dfac2637 && this.types.has((0, $103790afe9474d1c$export$f8fc6581787339b3))) return true;
160
+ return typeof type === "string" && this.types.has(type);
161
+ }
162
+ constructor(dataTransfer){
163
+ this.types = new Set();
164
+ let hasFiles = false;
165
+ for (let item of dataTransfer.items)if (item.type !== (0, $103790afe9474d1c$export$fd9f9fc120c5402d)) {
166
+ if (item.kind === "file") hasFiles = true;
167
+ if (item.type) this.types.add(item.type);
168
+ else // Files with unknown types or extensions that don't map to a known mime type
169
+ // are sometimes exposed as an empty string by the browser. Map to a generic
170
+ // mime type instead. Note that this could also be a directory as there's no
171
+ // way to determine if something is a file or directory until drop.
172
+ this.types.add((0, $103790afe9474d1c$export$f8fc6581787339b3));
173
+ }
174
+ // In Safari, when dragging files, the dataTransfer.items list is empty, but dataTransfer.types contains "Files".
175
+ // Unfortunately, this doesn't tell us what types of files the user is dragging, so we need to assume that any
176
+ // type the user checks for is included. See https://bugs.webkit.org/show_bug.cgi?id=223517.
177
+ this.includesUnknownTypes = !hasFiles && dataTransfer.types.includes("Files");
178
+ }
179
+ }
180
+ function $7252cd45fc48c07c$export$d9e760437831f8b3(dataTransfer) {
181
+ let items = [];
182
+ // If our custom drag type is available, use that. This is a JSON serialized
183
+ // representation of all items in the drag, set when there are multiple items
184
+ // of the same type, or an individual item has multiple representations.
185
+ let hasCustomType = false;
186
+ if (dataTransfer.types.includes((0, $103790afe9474d1c$export$fd9f9fc120c5402d))) try {
187
+ let data = dataTransfer.getData((0, $103790afe9474d1c$export$fd9f9fc120c5402d));
188
+ let parsed = JSON.parse(data);
189
+ for (let item of parsed)items.push({
190
+ kind: "text",
191
+ types: new Set(Object.keys(item)),
192
+ getText: (type)=>Promise.resolve(item[type])
193
+ });
194
+ hasCustomType = true;
195
+ } catch (e) {
196
+ // ignore
197
+ }
198
+ // Otherwise, map native drag items to items of a single representation.
199
+ if (!hasCustomType) {
200
+ let stringItems = new Map();
201
+ for (let item1 of dataTransfer.items){
202
+ if (item1.kind === "string") // The data for all formats must be read here because the data transfer gets
203
+ // cleared out after the event handler finishes. If the item has an empty string
204
+ // as a type, the mime type is unknown. Map to a generic mime type instead.
205
+ stringItems.set(item1.type || (0, $103790afe9474d1c$export$f8fc6581787339b3), dataTransfer.getData(item1.type));
206
+ else if (item1.kind === "file") {
207
+ // Despite the name, webkitGetAsEntry is also implemented in Firefox and Edge.
208
+ // In the future, we may use getAsFileSystemHandle instead, but that's currently
209
+ // only implemented in Chrome.
210
+ if (typeof item1.webkitGetAsEntry === "function") {
211
+ let entry = item1.webkitGetAsEntry();
212
+ // eslint-disable-next-line max-depth
213
+ if (!entry) continue;
214
+ // eslint-disable-next-line max-depth
215
+ if (entry.isFile) items.push($7252cd45fc48c07c$var$createFileItem(item1.getAsFile()));
216
+ else if (entry.isDirectory) items.push($7252cd45fc48c07c$var$createDirectoryItem(entry));
217
+ } else // Assume it's a file.
218
+ items.push($7252cd45fc48c07c$var$createFileItem(item1.getAsFile()));
219
+ }
220
+ }
221
+ // All string items are different representations of the same item. There's no way to have
222
+ // multiple string items at once in the current DataTransfer API.
223
+ if (stringItems.size > 0) items.push({
224
+ kind: "text",
225
+ types: new Set(stringItems.keys()),
226
+ getText: (type)=>Promise.resolve(stringItems.get(type))
227
+ });
228
+ }
229
+ return items;
230
+ }
231
+ function $7252cd45fc48c07c$var$blobToString(blob) {
232
+ if (typeof blob.text === "function") return blob.text();
233
+ // Safari doesn't have the Blob#text() method yet...
234
+ return new Promise((resolve, reject)=>{
235
+ let reader = new FileReader;
236
+ reader.onload = ()=>{
237
+ resolve(reader.result);
238
+ };
239
+ reader.onerror = reject;
240
+ reader.readAsText(blob);
241
+ });
242
+ }
243
+ function $7252cd45fc48c07c$var$createFileItem(file) {
244
+ return {
245
+ kind: "file",
246
+ type: file.type || (0, $103790afe9474d1c$export$f8fc6581787339b3),
247
+ name: file.name,
248
+ getText: ()=>$7252cd45fc48c07c$var$blobToString(file),
249
+ getFile: ()=>Promise.resolve(file)
250
+ };
251
+ }
252
+ function $7252cd45fc48c07c$var$createDirectoryItem(entry) {
253
+ return {
254
+ kind: "directory",
255
+ name: entry.name,
256
+ getEntries: ()=>$7252cd45fc48c07c$var$getEntries(entry)
257
+ };
258
+ }
259
+ async function* $7252cd45fc48c07c$var$getEntries(item) {
260
+ let reader = item.createReader();
261
+ // We must call readEntries repeatedly because there may be a limit to the
262
+ // number of entries that are returned at once.
263
+ let entries;
264
+ do {
265
+ entries = await new Promise((resolve, reject)=>{
266
+ reader.readEntries(resolve, reject);
267
+ });
268
+ for (let entry of entries){
269
+ if (entry.isFile) {
270
+ let file = await $7252cd45fc48c07c$var$getEntryFile(entry);
271
+ yield $7252cd45fc48c07c$var$createFileItem(file);
272
+ } else if (entry.isDirectory) yield $7252cd45fc48c07c$var$createDirectoryItem(entry);
273
+ }
274
+ }while (entries.length > 0);
275
+ }
276
+ function $7252cd45fc48c07c$var$getEntryFile(entry) {
277
+ return new Promise((resolve, reject)=>entry.file(resolve, reject));
278
+ }
279
+ let $7252cd45fc48c07c$export$6ca6700462636d0b = {
280
+ draggingKeys: new Set()
281
+ };
282
+ function $7252cd45fc48c07c$export$f2be18a910c0caa6(ref) {
283
+ $7252cd45fc48c07c$export$6ca6700462636d0b.draggingCollectionRef = ref;
284
+ }
285
+ function $7252cd45fc48c07c$export$72cb63bdda528276(keys) {
286
+ $7252cd45fc48c07c$export$6ca6700462636d0b.draggingKeys = keys;
287
+ }
288
+ function $7252cd45fc48c07c$export$dac8db29d42db9a1(ref) {
289
+ $7252cd45fc48c07c$export$6ca6700462636d0b.dropCollectionRef = ref;
290
+ }
291
+ function $7252cd45fc48c07c$export$70936501603e6c57() {
292
+ $7252cd45fc48c07c$export$6ca6700462636d0b = {
293
+ draggingKeys: new Set()
294
+ };
295
+ }
296
+ function $7252cd45fc48c07c$export$6c10d32b362bfa5f(state) {
297
+ $7252cd45fc48c07c$export$6ca6700462636d0b = state;
298
+ }
299
+ function $7252cd45fc48c07c$export$78bf638634500fa5(ref) {
300
+ let { draggingCollectionRef: draggingCollectionRef , dropCollectionRef: dropCollectionRef } = $7252cd45fc48c07c$export$6ca6700462636d0b;
301
+ return (draggingCollectionRef === null || draggingCollectionRef === void 0 ? void 0 : draggingCollectionRef.current) != null && draggingCollectionRef.current === ((ref === null || ref === void 0 ? void 0 : ref.current) || (dropCollectionRef === null || dropCollectionRef === void 0 ? void 0 : dropCollectionRef.current));
302
+ }
303
+ let $7252cd45fc48c07c$export$8e6636520ac15722;
304
+ function $7252cd45fc48c07c$export$64f52ed7349ddb84(dropEffect) {
305
+ $7252cd45fc48c07c$export$8e6636520ac15722 = dropEffect;
306
+ }
307
+ let $7252cd45fc48c07c$export$f0130eb70b6347b8 = (0, $103790afe9474d1c$export$60b7b4bcf3903d8e).none;
308
+ function $7252cd45fc48c07c$export$6539bc8c3a0a2d67(o) {
309
+ $7252cd45fc48c07c$export$f0130eb70b6347b8 = o;
310
+ }
311
+
312
+
313
+ /*
314
+ * Copyright 2020 Adobe. All rights reserved.
315
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
316
+ * you may not use this file except in compliance with the License. You may obtain a copy
317
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
318
+ *
319
+ * Unless required by applicable law or agreed to in writing, software distributed under
320
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
321
+ * OF ANY KIND, either express or implied. See the License for the specific language
322
+ * governing permissions and limitations under the License.
323
+ */
324
+ /*
325
+ * Copyright 2020 Adobe. All rights reserved.
326
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
327
+ * you may not use this file except in compliance with the License. You may obtain a copy
328
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
329
+ *
330
+ * Unless required by applicable law or agreed to in writing, software distributed under
331
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
332
+ * OF ANY KIND, either express or implied. See the License for the specific language
333
+ * governing permissions and limitations under the License.
334
+ */
335
+
336
+
337
+
338
+
339
+
340
+ let $67560de7c78cb232$var$dropTargets = new Map();
341
+ let $67560de7c78cb232$var$dropItems = new Map();
342
+ let $67560de7c78cb232$var$dragSession = null;
343
+ let $67560de7c78cb232$var$subscriptions = new Set();
344
+ function $67560de7c78cb232$export$c28d9fb4a54e471a(target) {
345
+ $67560de7c78cb232$var$dropTargets.set(target.element, target);
346
+ $67560de7c78cb232$var$dragSession === null || $67560de7c78cb232$var$dragSession === void 0 ? void 0 : $67560de7c78cb232$var$dragSession.updateValidDropTargets();
347
+ return ()=>{
348
+ $67560de7c78cb232$var$dropTargets.delete(target.element);
349
+ $67560de7c78cb232$var$dragSession === null || $67560de7c78cb232$var$dragSession === void 0 ? void 0 : $67560de7c78cb232$var$dragSession.updateValidDropTargets();
350
+ };
351
+ }
352
+ function $67560de7c78cb232$export$aef80212ac99c003(item) {
353
+ $67560de7c78cb232$var$dropItems.set(item.element, item);
354
+ return ()=>{
355
+ $67560de7c78cb232$var$dropItems.delete(item.element);
356
+ };
357
+ }
358
+ function $67560de7c78cb232$export$549dbcf8649bf3b2(target, stringFormatter) {
359
+ if ($67560de7c78cb232$var$dragSession) throw new Error("Cannot begin dragging while already dragging");
360
+ $67560de7c78cb232$var$dragSession = new $67560de7c78cb232$var$DragSession(target, stringFormatter);
361
+ requestAnimationFrame(()=>{
362
+ $67560de7c78cb232$var$dragSession.setup();
363
+ if ((0, $7252cd45fc48c07c$export$1fb2158d224b542c)() === "keyboard") $67560de7c78cb232$var$dragSession.next();
364
+ });
365
+ for (let cb of $67560de7c78cb232$var$subscriptions)cb();
366
+ }
367
+ function $67560de7c78cb232$export$418e185dd3f1b968() {
368
+ let [session, setSession] = (0, $fP8tg$useState)($67560de7c78cb232$var$dragSession);
369
+ (0, $fP8tg$useEffect)(()=>{
370
+ let cb = ()=>setSession($67560de7c78cb232$var$dragSession);
371
+ $67560de7c78cb232$var$subscriptions.add(cb);
372
+ return ()=>{
373
+ $67560de7c78cb232$var$subscriptions.delete(cb);
374
+ };
375
+ }, []);
376
+ return session;
377
+ }
378
+ function $67560de7c78cb232$export$403bc76cbf68cf60() {
379
+ return !!$67560de7c78cb232$var$dragSession;
380
+ }
381
+ function $67560de7c78cb232$var$endDragging() {
382
+ $67560de7c78cb232$var$dragSession = null;
383
+ for (let cb of $67560de7c78cb232$var$subscriptions)cb();
384
+ }
385
+ function $67560de7c78cb232$export$7454aff2e161f241(element) {
386
+ for (let target of $67560de7c78cb232$var$dropTargets.keys()){
387
+ if (target.contains(element)) return true;
388
+ }
389
+ return false;
390
+ }
391
+ const $67560de7c78cb232$var$CANCELED_EVENTS = [
392
+ "pointerdown",
393
+ "pointermove",
394
+ "pointerenter",
395
+ "pointerleave",
396
+ "pointerover",
397
+ "pointerout",
398
+ "pointerup",
399
+ "mousedown",
400
+ "mousemove",
401
+ "mouseenter",
402
+ "mouseleave",
403
+ "mouseover",
404
+ "mouseout",
405
+ "mouseup",
406
+ "touchstart",
407
+ "touchmove",
408
+ "touchend",
409
+ "focusin",
410
+ "focusout"
411
+ ];
412
+ const $67560de7c78cb232$var$CLICK_EVENTS = [
413
+ "pointerup",
414
+ "mouseup",
415
+ "touchend"
416
+ ];
417
+ const $67560de7c78cb232$var$MESSAGES = {
418
+ keyboard: "dragStartedKeyboard",
419
+ touch: "dragStartedTouch",
420
+ virtual: "dragStartedVirtual"
421
+ };
422
+ class $67560de7c78cb232$var$DragSession {
423
+ setup() {
424
+ document.addEventListener("keydown", this.onKeyDown, true);
425
+ document.addEventListener("keyup", this.onKeyUp, true);
426
+ window.addEventListener("focus", this.onFocus, true);
427
+ window.addEventListener("blur", this.onBlur, true);
428
+ document.addEventListener("click", this.onClick, true);
429
+ document.addEventListener("pointerdown", this.onPointerDown, true);
430
+ for (let event of $67560de7c78cb232$var$CANCELED_EVENTS)document.addEventListener(event, this.cancelEvent, true);
431
+ this.mutationObserver = new MutationObserver(()=>this.updateValidDropTargets());
432
+ this.updateValidDropTargets();
433
+ (0, $fP8tg$announce)(this.stringFormatter.format($67560de7c78cb232$var$MESSAGES[(0, $7252cd45fc48c07c$export$1fb2158d224b542c)()]));
434
+ }
435
+ teardown() {
436
+ document.removeEventListener("keydown", this.onKeyDown, true);
437
+ document.removeEventListener("keyup", this.onKeyUp, true);
438
+ window.removeEventListener("focus", this.onFocus, true);
439
+ window.removeEventListener("blur", this.onBlur, true);
440
+ document.removeEventListener("click", this.onClick, true);
441
+ document.removeEventListener("pointerdown", this.onPointerDown, true);
442
+ for (let event of $67560de7c78cb232$var$CANCELED_EVENTS)document.removeEventListener(event, this.cancelEvent, true);
443
+ this.mutationObserver.disconnect();
444
+ this.restoreAriaHidden();
445
+ }
446
+ onKeyDown(e) {
447
+ var _this_currentDropTarget;
448
+ this.cancelEvent(e);
449
+ if (e.key === "Escape") {
450
+ this.cancel();
451
+ return;
452
+ }
453
+ if (e.key === "Tab" && !(e.metaKey || e.altKey || e.ctrlKey)) {
454
+ if (e.shiftKey) this.previous();
455
+ else this.next();
456
+ }
457
+ if (typeof ((_this_currentDropTarget = this.currentDropTarget) === null || _this_currentDropTarget === void 0 ? void 0 : _this_currentDropTarget.onKeyDown) === "function") this.currentDropTarget.onKeyDown(e, this.dragTarget);
458
+ }
459
+ onKeyUp(e) {
460
+ this.cancelEvent(e);
461
+ if (e.key === "Enter") {
462
+ if (e.altKey) this.activate();
463
+ else this.drop();
464
+ }
465
+ }
466
+ onFocus(e) {
467
+ // Prevent focus events, except to the original drag target.
468
+ if (e.target !== this.dragTarget.element) this.cancelEvent(e);
469
+ // Ignore focus events on the window/document (JSDOM). Will be handled in onBlur, below.
470
+ if (!(e.target instanceof HTMLElement) || e.target === this.dragTarget.element) return;
471
+ let dropTarget = this.validDropTargets.find((target)=>target.element.contains(e.target));
472
+ if (!dropTarget) {
473
+ if (this.currentDropTarget) this.currentDropTarget.element.focus();
474
+ else this.dragTarget.element.focus();
475
+ return;
476
+ }
477
+ let item = $67560de7c78cb232$var$dropItems.get(e.target);
478
+ this.setCurrentDropTarget(dropTarget, item);
479
+ }
480
+ onBlur(e) {
481
+ if (e.target !== this.dragTarget.element) this.cancelEvent(e);
482
+ // If nothing is gaining focus, or e.relatedTarget is the window/document (JSDOM),
483
+ // restore focus back to the current drop target if any, or the original drag target.
484
+ if (!e.relatedTarget || !(e.relatedTarget instanceof HTMLElement)) {
485
+ if (this.currentDropTarget) this.currentDropTarget.element.focus();
486
+ else this.dragTarget.element.focus();
487
+ }
488
+ }
489
+ onClick(e) {
490
+ this.cancelEvent(e);
491
+ if ((0, $fP8tg$isVirtualClick)(e) || this.isVirtualClick) {
492
+ if (e.target === this.dragTarget.element) {
493
+ this.cancel();
494
+ return;
495
+ }
496
+ let dropTarget = this.validDropTargets.find((target)=>target.element.contains(e.target));
497
+ if (dropTarget) {
498
+ let item = $67560de7c78cb232$var$dropItems.get(e.target);
499
+ this.setCurrentDropTarget(dropTarget, item);
500
+ this.drop(item);
501
+ }
502
+ }
503
+ }
504
+ onPointerDown(e) {
505
+ // Android Talkback double tap has e.detail = 1 for onClick. Detect the virtual click in onPointerDown before onClick fires
506
+ // so we can properly perform cancel and drop operations.
507
+ this.cancelEvent(e);
508
+ this.isVirtualClick = (0, $fP8tg$isVirtualPointerEvent)(e);
509
+ }
510
+ cancelEvent(e) {
511
+ var _this_dragTarget;
512
+ // Allow focusin and focusout on the drag target so focus ring works properly.
513
+ if ((e.type === "focusin" || e.type === "focusout") && e.target === ((_this_dragTarget = this.dragTarget) === null || _this_dragTarget === void 0 ? void 0 : _this_dragTarget.element)) return;
514
+ // Allow default for events that might cancel a click event
515
+ if (!$67560de7c78cb232$var$CLICK_EVENTS.includes(e.type)) e.preventDefault();
516
+ e.stopPropagation();
517
+ e.stopImmediatePropagation();
518
+ }
519
+ updateValidDropTargets() {
520
+ if (!this.mutationObserver) return;
521
+ this.mutationObserver.disconnect();
522
+ if (this.restoreAriaHidden) this.restoreAriaHidden();
523
+ this.validDropTargets = $67560de7c78cb232$var$findValidDropTargets(this.dragTarget);
524
+ // Shuffle drop target order based on starting drag target.
525
+ if (this.validDropTargets.length > 0) {
526
+ let nearestIndex = this.findNearestDropTarget();
527
+ this.validDropTargets = [
528
+ ...this.validDropTargets.slice(nearestIndex),
529
+ ...this.validDropTargets.slice(0, nearestIndex)
530
+ ];
531
+ }
532
+ if (this.currentDropTarget && !this.validDropTargets.includes(this.currentDropTarget)) this.setCurrentDropTarget(this.validDropTargets[0]);
533
+ // Find valid drop items within collections
534
+ let types = (0, $7252cd45fc48c07c$export$e1d41611756c6326)(this.dragTarget.items);
535
+ let validDropItems = [
536
+ ...$67560de7c78cb232$var$dropItems.values()
537
+ ].filter((item)=>{
538
+ if (typeof item.getDropOperation === "function") return item.getDropOperation(types, this.dragTarget.allowedDropOperations) !== "cancel";
539
+ return true;
540
+ });
541
+ // Filter out drop targets that contain valid items. We don't want to stop hiding elements
542
+ // other than the drop items that exist inside the collection.
543
+ let visibleDropTargets = this.validDropTargets.filter((target)=>!validDropItems.some((item)=>target.element.contains(item.element)));
544
+ this.restoreAriaHidden = (0, $fP8tg$ariaHideOutside)([
545
+ this.dragTarget.element,
546
+ ...validDropItems.map((item)=>item.element),
547
+ ...visibleDropTargets.map((target)=>target.element)
548
+ ]);
549
+ this.mutationObserver.observe(document.body, {
550
+ subtree: true,
551
+ attributes: true,
552
+ attributeFilter: [
553
+ "aria-hidden"
554
+ ]
555
+ });
556
+ }
557
+ next() {
558
+ if (!this.currentDropTarget) {
559
+ this.setCurrentDropTarget(this.validDropTargets[0]);
560
+ return;
561
+ }
562
+ let index = this.validDropTargets.indexOf(this.currentDropTarget);
563
+ if (index < 0) {
564
+ this.setCurrentDropTarget(this.validDropTargets[0]);
565
+ return;
566
+ }
567
+ // If we've reached the end of the valid drop targets, cycle back to the original drag target.
568
+ // This lets the user cancel the drag in case they don't have an Escape key (e.g. iPad keyboard case).
569
+ if (index === this.validDropTargets.length - 1) {
570
+ if (!this.dragTarget.element.closest('[aria-hidden="true"]')) {
571
+ this.setCurrentDropTarget(null);
572
+ this.dragTarget.element.focus();
573
+ } else this.setCurrentDropTarget(this.validDropTargets[0]);
574
+ } else this.setCurrentDropTarget(this.validDropTargets[index + 1]);
575
+ }
576
+ previous() {
577
+ if (!this.currentDropTarget) {
578
+ this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length - 1]);
579
+ return;
580
+ }
581
+ let index = this.validDropTargets.indexOf(this.currentDropTarget);
582
+ if (index < 0) {
583
+ this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length - 1]);
584
+ return;
585
+ }
586
+ // If we've reached the start of the valid drop targets, cycle back to the original drag target.
587
+ // This lets the user cancel the drag in case they don't have an Escape key (e.g. iPad keyboard case).
588
+ if (index === 0) {
589
+ if (!this.dragTarget.element.closest('[aria-hidden="true"]')) {
590
+ this.setCurrentDropTarget(null);
591
+ this.dragTarget.element.focus();
592
+ } else this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length - 1]);
593
+ } else this.setCurrentDropTarget(this.validDropTargets[index - 1]);
594
+ }
595
+ findNearestDropTarget() {
596
+ let dragTargetRect = this.dragTarget.element.getBoundingClientRect();
597
+ let minDistance = Infinity;
598
+ let nearest = -1;
599
+ for(let i = 0; i < this.validDropTargets.length; i++){
600
+ let dropTarget = this.validDropTargets[i];
601
+ let rect = dropTarget.element.getBoundingClientRect();
602
+ let dx = rect.left - dragTargetRect.left;
603
+ let dy = rect.top - dragTargetRect.top;
604
+ let dist = dx * dx + dy * dy;
605
+ if (dist < minDistance) {
606
+ minDistance = dist;
607
+ nearest = i;
608
+ }
609
+ }
610
+ return nearest;
611
+ }
612
+ setCurrentDropTarget(dropTarget, item) {
613
+ if (dropTarget !== this.currentDropTarget) {
614
+ if (this.currentDropTarget && typeof this.currentDropTarget.onDropExit === "function") {
615
+ let rect = this.currentDropTarget.element.getBoundingClientRect();
616
+ this.currentDropTarget.onDropExit({
617
+ type: "dropexit",
618
+ x: rect.left + rect.width / 2,
619
+ y: rect.top + rect.height / 2
620
+ });
621
+ }
622
+ this.currentDropTarget = dropTarget;
623
+ if (dropTarget) {
624
+ if (typeof dropTarget.onDropEnter === "function") {
625
+ let rect1 = dropTarget.element.getBoundingClientRect();
626
+ dropTarget.onDropEnter({
627
+ type: "dropenter",
628
+ x: rect1.left + rect1.width / 2,
629
+ y: rect1.top + rect1.height / 2
630
+ }, this.dragTarget);
631
+ }
632
+ if (!item) dropTarget === null || dropTarget === void 0 ? void 0 : dropTarget.element.focus();
633
+ }
634
+ }
635
+ if (item !== this.currentDropItem) {
636
+ if (item && typeof this.currentDropTarget.onDropTargetEnter === "function") this.currentDropTarget.onDropTargetEnter(item === null || item === void 0 ? void 0 : item.target);
637
+ item === null || item === void 0 ? void 0 : item.element.focus();
638
+ this.currentDropItem = item;
639
+ // Annouce first drop target after drag start announcement finishes.
640
+ // Otherwise, it will never get announced because drag start announcement is assertive.
641
+ if (!this.initialFocused) {
642
+ (0, $fP8tg$announce)(item === null || item === void 0 ? void 0 : item.element.getAttribute("aria-label"), "polite");
643
+ this.initialFocused = true;
644
+ }
645
+ }
646
+ }
647
+ end() {
648
+ this.teardown();
649
+ if (typeof this.dragTarget.onDragEnd === "function") {
650
+ let target = this.currentDropTarget && this.dropOperation !== "cancel" ? this.currentDropTarget : this.dragTarget;
651
+ let rect = target.element.getBoundingClientRect();
652
+ this.dragTarget.onDragEnd({
653
+ type: "dragend",
654
+ x: rect.x + rect.width / 2,
655
+ y: rect.y + rect.height / 2,
656
+ dropOperation: this.dropOperation || "cancel"
657
+ });
658
+ }
659
+ // Blur and re-focus the drop target so that the focus ring appears.
660
+ if (this.currentDropTarget) {
661
+ // Since we cancel all focus events in drag sessions, refire blur to make sure state gets updated so drag target doesn't think it's still focused
662
+ // i.e. When you from one list to another during a drag session, we need the blur to fire on the first list after the drag.
663
+ if (!this.dragTarget.element.contains(this.currentDropTarget.element)) {
664
+ this.dragTarget.element.dispatchEvent(new FocusEvent("blur"));
665
+ this.dragTarget.element.dispatchEvent(new FocusEvent("focusout", {
666
+ bubbles: true
667
+ }));
668
+ }
669
+ // Re-focus the focusedKey upon reorder. This requires a React rerender between blurring and focusing.
670
+ (0, $fP8tg$flushSync)(()=>{
671
+ this.currentDropTarget.element.blur();
672
+ });
673
+ this.currentDropTarget.element.focus();
674
+ }
675
+ this.setCurrentDropTarget(null);
676
+ $67560de7c78cb232$var$endDragging();
677
+ }
678
+ cancel() {
679
+ this.end();
680
+ if (!this.dragTarget.element.closest('[aria-hidden="true"]')) this.dragTarget.element.focus();
681
+ (0, $fP8tg$announce)(this.stringFormatter.format("dropCanceled"));
682
+ }
683
+ drop(item) {
684
+ if (!this.currentDropTarget) {
685
+ this.cancel();
686
+ return;
687
+ }
688
+ if (typeof (item === null || item === void 0 ? void 0 : item.getDropOperation) === "function") {
689
+ let types = (0, $7252cd45fc48c07c$export$e1d41611756c6326)(this.dragTarget.items);
690
+ this.dropOperation = item.getDropOperation(types, this.dragTarget.allowedDropOperations);
691
+ } else if (typeof this.currentDropTarget.getDropOperation === "function") {
692
+ let types1 = (0, $7252cd45fc48c07c$export$e1d41611756c6326)(this.dragTarget.items);
693
+ this.dropOperation = this.currentDropTarget.getDropOperation(types1, this.dragTarget.allowedDropOperations);
694
+ } else // TODO: show menu ??
695
+ this.dropOperation = this.dragTarget.allowedDropOperations[0];
696
+ if (typeof this.currentDropTarget.onDrop === "function") {
697
+ let items = this.dragTarget.items.map((item)=>({
698
+ kind: "text",
699
+ types: new Set(Object.keys(item)),
700
+ getText: (type)=>Promise.resolve(item[type])
701
+ }));
702
+ let rect = this.currentDropTarget.element.getBoundingClientRect();
703
+ this.currentDropTarget.onDrop({
704
+ type: "drop",
705
+ x: rect.left + rect.width / 2,
706
+ y: rect.top + rect.height / 2,
707
+ items: items,
708
+ dropOperation: this.dropOperation
709
+ }, item === null || item === void 0 ? void 0 : item.target);
710
+ }
711
+ this.end();
712
+ (0, $fP8tg$announce)(this.stringFormatter.format("dropComplete"));
713
+ }
714
+ activate() {
715
+ if (this.currentDropTarget && typeof this.currentDropTarget.onDropActivate === "function") {
716
+ let rect = this.currentDropTarget.element.getBoundingClientRect();
717
+ this.currentDropTarget.onDropActivate({
718
+ type: "dropactivate",
719
+ x: rect.left + rect.width / 2,
720
+ y: rect.top + rect.height / 2
721
+ });
722
+ }
723
+ }
724
+ constructor(target, stringFormatter){
725
+ this.dragTarget = target;
726
+ this.stringFormatter = stringFormatter;
727
+ this.onKeyDown = this.onKeyDown.bind(this);
728
+ this.onKeyUp = this.onKeyUp.bind(this);
729
+ this.onFocus = this.onFocus.bind(this);
730
+ this.onBlur = this.onBlur.bind(this);
731
+ this.onClick = this.onClick.bind(this);
732
+ this.onPointerDown = this.onPointerDown.bind(this);
733
+ this.cancelEvent = this.cancelEvent.bind(this);
734
+ this.initialFocused = false;
735
+ }
736
+ }
737
+ function $67560de7c78cb232$var$findValidDropTargets(options) {
738
+ let types = (0, $7252cd45fc48c07c$export$e1d41611756c6326)(options.items);
739
+ return [
740
+ ...$67560de7c78cb232$var$dropTargets.values()
741
+ ].filter((target)=>{
742
+ if (target.element.closest('[aria-hidden="true"]')) return false;
743
+ if (typeof target.getDropOperation === "function") return target.getDropOperation(types, options.allowedDropOperations) !== "cancel";
744
+ return true;
745
+ });
746
+ }
747
+
748
+
749
+
750
+
751
+ var $c530af5bd0e7e6c6$exports = {};
752
+ var $7dfcac1a0c98c789$exports = {};
753
+ $7dfcac1a0c98c789$exports = {
754
+ "dragDescriptionKeyboard": `اضغط Enter لبدء السحب.`,
755
+ "dragDescriptionKeyboardAlt": `اضغط على Alt + Enter لبدء السحب.`,
756
+ "dragDescriptionLongPress": `اضغط باستمرار لبدء السحب.`,
757
+ "dragDescriptionTouch": `اضغط مرتين لبدء السحب.`,
758
+ "dragDescriptionVirtual": `انقر لبدء السحب.`,
759
+ "dragItem": (args)=>`اسحب ${args.itemText}`,
760
+ "dragSelectedItems": (args, formatter)=>`اسحب ${formatter.plural(args.count, {
761
+ one: ()=>`${formatter.number(args.count)} عنصر محدد`,
762
+ other: ()=>`${formatter.number(args.count)} عناصر محددة`
763
+ })}`,
764
+ "dragSelectedKeyboard": (args, formatter)=>`اضغط على Enter للسحب ${formatter.plural(args.count, {
765
+ one: `عدد العناصر المختارة`,
766
+ other: `عدد العناصر المختارة`
767
+ })}.`,
768
+ "dragSelectedKeyboardAlt": (args, formatter)=>`اضغط على مفتاحي Alt + Enter للسحب ${formatter.plural(args.count, {
769
+ one: `عدد العناصر المختارة`,
770
+ other: `عدد العناصر المختارة`
771
+ })}.`,
772
+ "dragSelectedLongPress": (args, formatter)=>`اضغط باستمرار للسحب ${formatter.plural(args.count, {
773
+ one: `عدد العناصر المختارة`,
774
+ other: `عدد العناصر المختارة`
775
+ })}.`,
776
+ "dragStartedKeyboard": `بدأ السحب. اضغط Tab للانتقال إلى موضع الإفلات، ثم اضغط Enter للإفلات، أو اضغط Escape للإلغاء.`,
777
+ "dragStartedTouch": `بدأ السحب. انتقل إلى موضع الإفلات، ثم اضغط مرتين للإفلات.`,
778
+ "dragStartedVirtual": `بدأ السحب. انتقل إلى مكان الإفلات، ثم انقر أو اضغط Enter للإفلات.`,
779
+ "dropCanceled": `تم إلغاء الإفلات.`,
780
+ "dropComplete": `اكتمل الإفلات.`,
781
+ "dropDescriptionKeyboard": `اضغط Enter للإفلات. اضغط Escape لإلغاء السحب.`,
782
+ "dropDescriptionTouch": `اضغط مرتين للإفلات.`,
783
+ "dropDescriptionVirtual": `انقر للإفلات.`,
784
+ "dropIndicator": `مؤشر الإفلات`,
785
+ "dropOnItem": (args)=>`إفلات ${args.itemText}`,
786
+ "dropOnRoot": `الإفلات`,
787
+ "endDragKeyboard": `السحب. اضغط Enter لإلغاء السحب.`,
788
+ "endDragTouch": `السحب. اضغط مرتين لإلغاء السحب.`,
789
+ "endDragVirtual": `السحب. انقر لإلغاء السحب.`,
790
+ "insertAfter": (args)=>`أدخل بعد ${args.itemText}`,
791
+ "insertBefore": (args)=>`أدخل قبل ${args.itemText}`,
792
+ "insertBetween": (args)=>`أدخل بين ${args.beforeItemText} و ${args.afterItemText}`
793
+ };
794
+
795
+
796
+ var $f311c26671219eca$exports = {};
797
+ $f311c26671219eca$exports = {
798
+ "dragDescriptionKeyboard": `Натиснете „Enter“, за да започнете да плъзгате.`,
799
+ "dragDescriptionKeyboardAlt": `Натиснете Alt + Enter, за да започнете да плъзгате.`,
800
+ "dragDescriptionLongPress": `Натиснете продължително, за да започнете да плъзгате.`,
801
+ "dragDescriptionTouch": `Натиснете двукратно, за да започнете да плъзгате.`,
802
+ "dragDescriptionVirtual": `Щракнете, за да започнете да плъзгате.`,
803
+ "dragItem": (args)=>`Плъзни ${args.itemText}`,
804
+ "dragSelectedItems": (args, formatter)=>`Плъзни ${formatter.plural(args.count, {
805
+ one: ()=>`${formatter.number(args.count)} избран елемент`,
806
+ other: ()=>`${formatter.number(args.count)} избрани елемента`
807
+ })}`,
808
+ "dragSelectedKeyboard": (args, formatter)=>`Натиснете Enter, за да плъзнете ${formatter.plural(args.count, {
809
+ one: ()=>`${formatter.number(args.count)} избран елемент`,
810
+ other: ()=>`${formatter.number(args.count)} избрани елементи`
811
+ })}.`,
812
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Натиснете Alt и Enter, за да плъзнете ${formatter.plural(args.count, {
813
+ one: ()=>`${formatter.number(args.count)} избран елемент`,
814
+ other: ()=>`${formatter.number(args.count)} избрани елементи`
815
+ })}.`,
816
+ "dragSelectedLongPress": (args, formatter)=>`Натиснете продължително, за да плъзнете ${formatter.plural(args.count, {
817
+ one: ()=>`${formatter.number(args.count)} избран елемент`,
818
+ other: ()=>`${formatter.number(args.count)} избрани елементи`
819
+ })}.`,
820
+ "dragStartedKeyboard": `Започна плъзгане. Натиснете „Tab“, за да се придвижите до целта, след което натиснете „Enter“ за пускане или натиснете „Escape“ за отмяна.`,
821
+ "dragStartedTouch": `Започна плъзгане. Придвижете се до целта, след което натиснете двукратно, за да пуснете.`,
822
+ "dragStartedVirtual": `Започна плъзгане. Придвижете се до целта, след което щракнете или натиснете „Enter“ за пускане.`,
823
+ "dropCanceled": `Пускането е отменено.`,
824
+ "dropComplete": `Пускането е завършено.`,
825
+ "dropDescriptionKeyboard": `Натиснете „Enter“ за пускане. Натиснете „Escape“ за отмяна на плъзгането.`,
826
+ "dropDescriptionTouch": `Натиснете двукратно за пускане.`,
827
+ "dropDescriptionVirtual": `Щракнете за пускане.`,
828
+ "dropIndicator": `индикатор за пускане`,
829
+ "dropOnItem": (args)=>`Пусни върху ${args.itemText}`,
830
+ "dropOnRoot": `Пусни върху`,
831
+ "endDragKeyboard": `Плъзгане. Натиснете „Enter“ за отмяна на плъзгането.`,
832
+ "endDragTouch": `Плъзгане. Натиснете двукратно за отмяна на плъзгането.`,
833
+ "endDragVirtual": `Плъзгане. Щракнете за отмяна.`,
834
+ "insertAfter": (args)=>`Вмъкни след ${args.itemText}`,
835
+ "insertBefore": (args)=>`Вмъкни преди ${args.itemText}`,
836
+ "insertBetween": (args)=>`Вмъкни между ${args.beforeItemText} и ${args.afterItemText}`
837
+ };
838
+
839
+
840
+ var $1aa4ade186550f72$exports = {};
841
+ $1aa4ade186550f72$exports = {
842
+ "dragDescriptionKeyboard": `Stisknutím klávesy Enter začnete s přetahováním.`,
843
+ "dragDescriptionKeyboardAlt": `Stisknutím Alt + Enter zahájíte přetahování.`,
844
+ "dragDescriptionLongPress": `Dlouhým stisknutím zahájíte přetahování.`,
845
+ "dragDescriptionTouch": `Poklepáním začnete s přetahováním.`,
846
+ "dragDescriptionVirtual": `Kliknutím začnete s přetahováním.`,
847
+ "dragItem": (args)=>`Přetáhnout ${args.itemText}`,
848
+ "dragSelectedItems": (args, formatter)=>`Přetáhnout ${formatter.plural(args.count, {
849
+ one: ()=>`${formatter.number(args.count)} vybranou položku`,
850
+ few: ()=>`${formatter.number(args.count)} vybrané položky`,
851
+ other: ()=>`${formatter.number(args.count)} vybraných položek`
852
+ })}`,
853
+ "dragSelectedKeyboard": (args, formatter)=>`Stisknutím klávesy Enter přetáhněte ${formatter.plural(args.count, {
854
+ one: ()=>`${formatter.number(args.count)} vybranou položku`,
855
+ other: ()=>`${formatter.number(args.count)} vybrané položky`
856
+ })}.`,
857
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Stisknutím Alt + Enter přetáhněte ${formatter.plural(args.count, {
858
+ one: ()=>`${formatter.number(args.count)} vybranou položku`,
859
+ other: ()=>`${formatter.number(args.count)} vybrané položky`
860
+ })}.`,
861
+ "dragSelectedLongPress": (args, formatter)=>`Dlouhým stisknutím přetáhnete ${formatter.plural(args.count, {
862
+ one: ()=>`${formatter.number(args.count)} vybranou položku`,
863
+ other: ()=>`${formatter.number(args.count)} vybrané položky`
864
+ })}.`,
865
+ "dragStartedKeyboard": `Začněte s přetahováním. Po stisknutí klávesy Tab najděte požadovaný cíl a stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.`,
866
+ "dragStartedTouch": `Začněte s přetahováním. Najděte požadovaný cíl a poklepáním přetažení dokončete.`,
867
+ "dragStartedVirtual": `Začněte s přetahováním. Najděte požadovaný cíl a kliknutím nebo stisknutím klávesy Enter přetažení dokončete.`,
868
+ "dropCanceled": `Přetažení bylo zrušeno.`,
869
+ "dropComplete": `Přetažení bylo dokončeno.`,
870
+ "dropDescriptionKeyboard": `Stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.`,
871
+ "dropDescriptionTouch": `Poklepáním přetažení dokončete.`,
872
+ "dropDescriptionVirtual": `Kliknutím objekt přetáhněte.`,
873
+ "dropIndicator": `indikátor přetažení`,
874
+ "dropOnItem": (args)=>`Přetáhnout na ${args.itemText}`,
875
+ "dropOnRoot": `Přetáhnout na`,
876
+ "endDragKeyboard": `Probíhá přetahování. Stisknutím klávesy Enter přetažení zrušíte.`,
877
+ "endDragTouch": `Probíhá přetahování. Poklepáním přetažení zrušíte.`,
878
+ "endDragVirtual": `Probíhá přetahování. Kliknutím přetažení zrušíte.`,
879
+ "insertAfter": (args)=>`Vložit za ${args.itemText}`,
880
+ "insertBefore": (args)=>`Vložit před ${args.itemText}`,
881
+ "insertBetween": (args)=>`Vložit mezi ${args.beforeItemText} a ${args.afterItemText}`
882
+ };
883
+
884
+
885
+ var $b6b0ea1b94a7633c$exports = {};
886
+ $b6b0ea1b94a7633c$exports = {
887
+ "dragDescriptionKeyboard": `Tryk på Enter for at starte med at trække.`,
888
+ "dragDescriptionKeyboardAlt": `Tryk på Alt + Enter for at starte med at trække.`,
889
+ "dragDescriptionLongPress": `Tryk længe for at starte med at trække.`,
890
+ "dragDescriptionTouch": `Dobbelttryk for at starte med at trække.`,
891
+ "dragDescriptionVirtual": `Klik for at starte med at trække.`,
892
+ "dragItem": (args)=>`Træk ${args.itemText}`,
893
+ "dragSelectedItems": (args, formatter)=>`Træk ${formatter.plural(args.count, {
894
+ one: ()=>`${formatter.number(args.count)} valgt element`,
895
+ other: ()=>`${formatter.number(args.count)} valgte elementer`
896
+ })}`,
897
+ "dragSelectedKeyboard": (args, formatter)=>`Tryk på Enter for at trække ${formatter.plural(args.count, {
898
+ one: ()=>`${formatter.number(args.count)} valgte element`,
899
+ other: ()=>`${formatter.number(args.count)} valgte elementer`
900
+ })}.`,
901
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Tryk på Alt + Enter for at trække ${formatter.plural(args.count, {
902
+ one: ()=>`${formatter.number(args.count)} valgte element`,
903
+ other: ()=>`${formatter.number(args.count)} valgte elementer`
904
+ })}.`,
905
+ "dragSelectedLongPress": (args, formatter)=>`Tryk længe for at trække ${formatter.plural(args.count, {
906
+ one: ()=>`${formatter.number(args.count)} valgte element`,
907
+ other: ()=>`${formatter.number(args.count)} valgte elementer`
908
+ })}.`,
909
+ "dragStartedKeyboard": `Startet med at trække. Tryk på Tab for at gå til et slip-mål, tryk derefter på Enter for at slippe, eller tryk på Escape for at annullere.`,
910
+ "dragStartedTouch": `Startet med at trække. Gå til et slip-mål, og dobbelttryk derefter for at slippe.`,
911
+ "dragStartedVirtual": `Startet med at trække. Gå til et slip-mål, og klik eller tryk derefter på enter for at slippe.`,
912
+ "dropCanceled": `Slip annulleret.`,
913
+ "dropComplete": `Slip fuldført.`,
914
+ "dropDescriptionKeyboard": `Tryk på Enter for at slippe. Tryk på Escape for at annullere trækning.`,
915
+ "dropDescriptionTouch": `Dobbelttryk for at slippe.`,
916
+ "dropDescriptionVirtual": `Klik for at slippe.`,
917
+ "dropIndicator": `slip-indikator`,
918
+ "dropOnItem": (args)=>`Slip på ${args.itemText}`,
919
+ "dropOnRoot": `Slip på`,
920
+ "endDragKeyboard": `Trækning. Tryk på enter for at annullere træk.`,
921
+ "endDragTouch": `Trækning. Dobbelttryk for at annullere træk.`,
922
+ "endDragVirtual": `Trækning. Klik for at annullere trækning.`,
923
+ "insertAfter": (args)=>`Indsæt efter ${args.itemText}`,
924
+ "insertBefore": (args)=>`Indsæt før ${args.itemText}`,
925
+ "insertBetween": (args)=>`Indsæt mellem ${args.beforeItemText} og ${args.afterItemText}`
926
+ };
927
+
928
+
929
+ var $d10e4f47c744ad52$exports = {};
930
+ $d10e4f47c744ad52$exports = {
931
+ "dragDescriptionKeyboard": `Drücken Sie die Eingabetaste, um den Ziehvorgang zu starten.`,
932
+ "dragDescriptionKeyboardAlt": `Alt + Eingabe drücken, um den Ziehvorgang zu starten.`,
933
+ "dragDescriptionLongPress": `Lang drücken, um mit dem Ziehen zu beginnen.`,
934
+ "dragDescriptionTouch": `Tippen Sie doppelt, um den Ziehvorgang zu starten.`,
935
+ "dragDescriptionVirtual": `Zum Starten des Ziehvorgangs klicken.`,
936
+ "dragItem": (args)=>`${args.itemText} ziehen`,
937
+ "dragSelectedItems": (args, formatter)=>`${formatter.plural(args.count, {
938
+ one: ()=>`${formatter.number(args.count)} ausgewähltes Objekt`,
939
+ other: ()=>`${formatter.number(args.count)} ausgewählte Objekte`
940
+ })} ziehen`,
941
+ "dragSelectedKeyboard": (args, formatter)=>`Eingabetaste drücken, um ${formatter.plural(args.count, {
942
+ one: ()=>`${formatter.number(args.count)} ausgewähltes Element`,
943
+ other: ()=>`${formatter.number(args.count)} ausgewählte Elemente`
944
+ })} zu ziehen.`,
945
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Alt + Eingabetaste drücken, um ${formatter.plural(args.count, {
946
+ one: ()=>`${formatter.number(args.count)} ausgewähltes Element`,
947
+ other: ()=>`${formatter.number(args.count)} ausgewählte Elemente`
948
+ })} zu ziehen.`,
949
+ "dragSelectedLongPress": (args, formatter)=>`Lang drücken, um ${formatter.plural(args.count, {
950
+ one: ()=>`${formatter.number(args.count)} ausgewähltes Element`,
951
+ other: ()=>`${formatter.number(args.count)} ausgewählte Elemente`
952
+ })} zu ziehen.`,
953
+ "dragStartedKeyboard": `Ziehvorgang gestartet. Drücken Sie die Tabulatortaste, um zu einem Ablegeziel zu navigieren und drücken Sie dann die Eingabetaste, um das Objekt abzulegen, oder Escape, um den Vorgang abzubrechen.`,
954
+ "dragStartedTouch": `Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und tippen Sie doppelt, um das Objekt abzulegen.`,
955
+ "dragStartedVirtual": `Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und klicken Sie oder drücken Sie die Eingabetaste, um das Objekt abzulegen.`,
956
+ "dropCanceled": `Ablegen abgebrochen.`,
957
+ "dropComplete": `Ablegen abgeschlossen.`,
958
+ "dropDescriptionKeyboard": `Drücken Sie die Eingabetaste, um das Objekt abzulegen. Drücken Sie Escape, um den Vorgang abzubrechen.`,
959
+ "dropDescriptionTouch": `Tippen Sie doppelt, um das Objekt abzulegen.`,
960
+ "dropDescriptionVirtual": `Zum Ablegen klicken.`,
961
+ "dropIndicator": `Ablegeanzeiger`,
962
+ "dropOnItem": (args)=>`Auf ${args.itemText} ablegen`,
963
+ "dropOnRoot": `Ablegen auf`,
964
+ "endDragKeyboard": `Ziehvorgang läuft. Drücken Sie die Eingabetaste, um den Vorgang abzubrechen.`,
965
+ "endDragTouch": `Ziehvorgang läuft. Tippen Sie doppelt, um den Vorgang abzubrechen.`,
966
+ "endDragVirtual": `Ziehvorgang läuft. Klicken Sie, um den Vorgang abzubrechen.`,
967
+ "insertAfter": (args)=>`Nach ${args.itemText} einfügen`,
968
+ "insertBefore": (args)=>`Vor ${args.itemText} einfügen`,
969
+ "insertBetween": (args)=>`Zwischen ${args.beforeItemText} und ${args.afterItemText} einfügen`
970
+ };
971
+
972
+
973
+ var $b3d2bb9abce688ab$exports = {};
974
+ $b3d2bb9abce688ab$exports = {
975
+ "dragDescriptionKeyboard": `Πατήστε Enter για έναρξη της μεταφοράς.`,
976
+ "dragDescriptionKeyboardAlt": `Πατήστε Alt + Enter για έναρξη της μεταφοράς.`,
977
+ "dragDescriptionLongPress": `Πατήστε παρατεταμένα για να ξεκινήσετε τη μεταφορά.`,
978
+ "dragDescriptionTouch": `Πατήστε δύο φορές για έναρξη της μεταφοράς.`,
979
+ "dragDescriptionVirtual": `Κάντε κλικ για να ξεκινήσετε τη μεταφορά.`,
980
+ "dragItem": (args)=>`Μεταφορά ${args.itemText}`,
981
+ "dragSelectedItems": (args, formatter)=>`Μεταφορά σε ${formatter.plural(args.count, {
982
+ one: ()=>`${formatter.number(args.count)} επιλεγμένο στοιχείο`,
983
+ other: ()=>`${formatter.number(args.count)} επιλεγμένα στοιχεία`
984
+ })}`,
985
+ "dragSelectedKeyboard": (args, formatter)=>`Πατήστε Enter για να σύρετε ${formatter.plural(args.count, {
986
+ one: ()=>`${formatter.number(args.count)} επιλεγμένο στοιχείο`,
987
+ other: ()=>`${formatter.number(args.count)} επιλεγμένα στοιχεία`
988
+ })}.`,
989
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Πατήστε Alt + Enter για να σύρετε ${formatter.plural(args.count, {
990
+ one: ()=>`${formatter.number(args.count)} επιλεγμένο στοιχείο`,
991
+ other: ()=>`${formatter.number(args.count)} επιλεγμένα στοιχεία`
992
+ })}.`,
993
+ "dragSelectedLongPress": (args, formatter)=>`Πατήστε παρατεταμένα για να σύρετε ${formatter.plural(args.count, {
994
+ one: ()=>`${formatter.number(args.count)} επιλεγμένο στοιχείο`,
995
+ other: ()=>`${formatter.number(args.count)} επιλεγμένα στοιχεία`
996
+ })}.`,
997
+ "dragStartedKeyboard": `Η μεταφορά ξεκίνησε. Πατήστε το πλήκτρο Tab για να μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε Enter για απόθεση ή πατήστε Escape για ακύρωση.`,
998
+ "dragStartedTouch": `Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε δύο φορές για απόθεση.`,
999
+ "dragStartedVirtual": `Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, κάντε κλικ ή πατήστε Enter για απόθεση.`,
1000
+ "dropCanceled": `Η απόθεση ακυρώθηκε.`,
1001
+ "dropComplete": `Η απόθεση ολοκληρώθηκε.`,
1002
+ "dropDescriptionKeyboard": `Πατήστε Enter για απόθεση. Πατήστε Escape για ακύρωση της μεταφοράς.`,
1003
+ "dropDescriptionTouch": `Πατήστε δύο φορές για απόθεση.`,
1004
+ "dropDescriptionVirtual": `Κάντε κλικ για απόθεση.`,
1005
+ "dropIndicator": `δείκτης απόθεσης`,
1006
+ "dropOnItem": (args)=>`Απόθεση σε ${args.itemText}`,
1007
+ "dropOnRoot": `Απόθεση σε`,
1008
+ "endDragKeyboard": `Μεταφορά σε εξέλιξη. Πατήστε Enter για ακύρωση της μεταφοράς.`,
1009
+ "endDragTouch": `Μεταφορά σε εξέλιξη. Πατήστε δύο φορές για ακύρωση της μεταφοράς.`,
1010
+ "endDragVirtual": `Μεταφορά σε εξέλιξη. Κάντε κλικ για ακύρωση της μεταφοράς.`,
1011
+ "insertAfter": (args)=>`Εισαγωγή μετά από ${args.itemText}`,
1012
+ "insertBefore": (args)=>`Εισαγωγή πριν από ${args.itemText}`,
1013
+ "insertBetween": (args)=>`Εισαγωγή μεταξύ ${args.beforeItemText} και ${args.afterItemText}`
1014
+ };
1015
+
1016
+
1017
+ var $f9b46437e610cca1$exports = {};
1018
+ $f9b46437e610cca1$exports = {
1019
+ "dragItem": (args)=>`Drag ${args.itemText}`,
1020
+ "dragSelectedItems": (args, formatter)=>`Drag ${formatter.plural(args.count, {
1021
+ one: ()=>`${formatter.number(args.count)} selected item`,
1022
+ other: ()=>`${formatter.number(args.count)} selected items`
1023
+ })}`,
1024
+ "dragDescriptionKeyboard": `Press Enter to start dragging.`,
1025
+ "dragDescriptionKeyboardAlt": `Press Alt + Enter to start dragging.`,
1026
+ "dragDescriptionTouch": `Double tap to start dragging.`,
1027
+ "dragDescriptionVirtual": `Click to start dragging.`,
1028
+ "dragDescriptionLongPress": `Long press to start dragging.`,
1029
+ "dragSelectedKeyboard": (args, formatter)=>`Press Enter to drag ${formatter.plural(args.count, {
1030
+ one: ()=>`${formatter.number(args.count)} selected item`,
1031
+ other: ()=>`${formatter.number(args.count)} selected items`
1032
+ })}.`,
1033
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Press Alt + Enter to drag ${formatter.plural(args.count, {
1034
+ one: ()=>`${formatter.number(args.count)} selected item`,
1035
+ other: ()=>`${formatter.number(args.count)} selected items`
1036
+ })}.`,
1037
+ "dragSelectedLongPress": (args, formatter)=>`Long press to drag ${formatter.plural(args.count, {
1038
+ one: ()=>`${formatter.number(args.count)} selected item`,
1039
+ other: ()=>`${formatter.number(args.count)} selected items`
1040
+ })}.`,
1041
+ "dragStartedKeyboard": `Started dragging. Press Tab to navigate to a drop target, then press Enter to drop, or press Escape to cancel.`,
1042
+ "dragStartedTouch": `Started dragging. Navigate to a drop target, then double tap to drop.`,
1043
+ "dragStartedVirtual": `Started dragging. Navigate to a drop target, then click or press Enter to drop.`,
1044
+ "endDragKeyboard": `Dragging. Press Enter to cancel drag.`,
1045
+ "endDragTouch": `Dragging. Double tap to cancel drag.`,
1046
+ "endDragVirtual": `Dragging. Click to cancel drag.`,
1047
+ "dropDescriptionKeyboard": `Press Enter to drop. Press Escape to cancel drag.`,
1048
+ "dropDescriptionTouch": `Double tap to drop.`,
1049
+ "dropDescriptionVirtual": `Click to drop.`,
1050
+ "dropCanceled": `Drop canceled.`,
1051
+ "dropComplete": `Drop complete.`,
1052
+ "dropIndicator": `drop indicator`,
1053
+ "dropOnRoot": `Drop on`,
1054
+ "dropOnItem": (args)=>`Drop on ${args.itemText}`,
1055
+ "insertBefore": (args)=>`Insert before ${args.itemText}`,
1056
+ "insertBetween": (args)=>`Insert between ${args.beforeItemText} and ${args.afterItemText}`,
1057
+ "insertAfter": (args)=>`Insert after ${args.itemText}`
1058
+ };
1059
+
1060
+
1061
+ var $204b5c01bd3acf26$exports = {};
1062
+ $204b5c01bd3acf26$exports = {
1063
+ "dragDescriptionKeyboard": `Pulse Intro para empezar a arrastrar.`,
1064
+ "dragDescriptionKeyboardAlt": `Pulse Intro para empezar a arrastrar.`,
1065
+ "dragDescriptionLongPress": `Mantenga pulsado para comenzar a arrastrar.`,
1066
+ "dragDescriptionTouch": `Pulse dos veces para iniciar el arrastre.`,
1067
+ "dragDescriptionVirtual": `Haga clic para iniciar el arrastre.`,
1068
+ "dragItem": (args)=>`Arrastrar ${args.itemText}`,
1069
+ "dragSelectedItems": (args, formatter)=>`Arrastrar ${formatter.plural(args.count, {
1070
+ one: ()=>`${formatter.number(args.count)} elemento seleccionado`,
1071
+ other: ()=>`${formatter.number(args.count)} elementos seleccionados`
1072
+ })}`,
1073
+ "dragSelectedKeyboard": (args, formatter)=>`Pulse Intro para arrastrar ${formatter.plural(args.count, {
1074
+ one: ()=>`${formatter.number(args.count)} elemento seleccionado`,
1075
+ other: ()=>`${formatter.number(args.count)} elementos seleccionados`
1076
+ })}.`,
1077
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Pulse Alt + Intro para arrastrar ${formatter.plural(args.count, {
1078
+ one: ()=>`${formatter.number(args.count)} elemento seleccionado`,
1079
+ other: ()=>`${formatter.number(args.count)} elementos seleccionados`
1080
+ })}.`,
1081
+ "dragSelectedLongPress": (args, formatter)=>`Mantenga pulsado para arrastrar ${formatter.plural(args.count, {
1082
+ one: ()=>`${formatter.number(args.count)} elemento seleccionado`,
1083
+ other: ()=>`${formatter.number(args.count)} elementos seleccionados`
1084
+ })}.`,
1085
+ "dragStartedKeyboard": `Se ha empezado a arrastrar. Pulse el tabulador para ir al destino de colocación y, a continuación, pulse Intro para soltar, o pulse Escape para cancelar.`,
1086
+ "dragStartedTouch": `Se ha empezado a arrastrar. Vaya al destino de colocación y, a continuación, pulse dos veces para soltar.`,
1087
+ "dragStartedVirtual": `Se ha empezado a arrastrar. Vaya al destino de colocación y, a continuación, haga clic o pulse Intro para soltar.`,
1088
+ "dropCanceled": `Se ha cancelado la colocación.`,
1089
+ "dropComplete": `Colocación finalizada.`,
1090
+ "dropDescriptionKeyboard": `Pulse Intro para soltar. Pulse Escape para cancelar el arrastre.`,
1091
+ "dropDescriptionTouch": `Pulse dos veces para soltar.`,
1092
+ "dropDescriptionVirtual": `Haga clic para soltar.`,
1093
+ "dropIndicator": `indicador de colocación`,
1094
+ "dropOnItem": (args)=>`Soltar en ${args.itemText}`,
1095
+ "dropOnRoot": `Soltar en`,
1096
+ "endDragKeyboard": `Arrastrando. Pulse Intro para cancelar el arrastre.`,
1097
+ "endDragTouch": `Arrastrando. Pulse dos veces para cancelar el arrastre.`,
1098
+ "endDragVirtual": `Arrastrando. Haga clic para cancelar el arrastre.`,
1099
+ "insertAfter": (args)=>`Insertar después de ${args.itemText}`,
1100
+ "insertBefore": (args)=>`Insertar antes de ${args.itemText}`,
1101
+ "insertBetween": (args)=>`Insertar entre ${args.beforeItemText} y ${args.afterItemText}`
1102
+ };
1103
+
1104
+
1105
+ var $110bdd83348ecbc0$exports = {};
1106
+ $110bdd83348ecbc0$exports = {
1107
+ "dragDescriptionKeyboard": `Lohistamise alustamiseks vajutage klahvi Enter.`,
1108
+ "dragDescriptionKeyboardAlt": `Lohistamise alustamiseks vajutage klahvikombinatsiooni Alt + Enter.`,
1109
+ "dragDescriptionLongPress": `Vajutage pikalt lohistamise alustamiseks.`,
1110
+ "dragDescriptionTouch": `Topeltpuudutage lohistamise alustamiseks.`,
1111
+ "dragDescriptionVirtual": `Klõpsake lohistamise alustamiseks.`,
1112
+ "dragItem": (args)=>`Lohista ${args.itemText}`,
1113
+ "dragSelectedItems": (args, formatter)=>`Lohista ${formatter.plural(args.count, {
1114
+ one: ()=>`${formatter.number(args.count)} valitud üksust`,
1115
+ other: ()=>`${formatter.number(args.count)} valitud üksust`
1116
+ })}`,
1117
+ "dragSelectedKeyboard": (args, formatter)=>`${formatter.plural(args.count, {
1118
+ one: ()=>`${formatter.number(args.count)} valitud üksuse`,
1119
+ other: ()=>`${formatter.number(args.count)} valitud üksuse`
1120
+ })} lohistamiseks vajutage sisestusklahvi Enter.`,
1121
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Lohistamiseks vajutage klahvikombinatsiooni Alt + Enter ${formatter.plural(args.count, {
1122
+ one: ()=>`${formatter.number(args.count)} valitud üksuse`,
1123
+ other: ()=>`${formatter.number(args.count)} valitud üksuse`
1124
+ })} jaoks.`,
1125
+ "dragSelectedLongPress": (args, formatter)=>`Pikk vajutus ${formatter.plural(args.count, {
1126
+ one: ()=>`${formatter.number(args.count)} valitud üksuse`,
1127
+ other: ()=>`${formatter.number(args.count)} valitud üksuse`
1128
+ })} lohistamiseks.`,
1129
+ "dragStartedKeyboard": `Alustati lohistamist. Kukutamise sihtmärgi juurde navigeerimiseks vajutage klahvi Tab, seejärel vajutage kukutamiseks klahvi Enter või loobumiseks klahvi Escape.`,
1130
+ "dragStartedTouch": `Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja topeltpuudutage kukutamiseks.`,
1131
+ "dragStartedVirtual": `Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja kukutamiseks klõpsake või vajutage klahvi Enter.`,
1132
+ "dropCanceled": `Lohistamisest loobuti.`,
1133
+ "dropComplete": `Lohistamine on tehtud.`,
1134
+ "dropDescriptionKeyboard": `Kukutamiseks vajutage klahvi Enter. Lohistamisest loobumiseks vajutage klahvi Escape.`,
1135
+ "dropDescriptionTouch": `Kukutamiseks topeltpuudutage.`,
1136
+ "dropDescriptionVirtual": `Kukutamiseks klõpsake.`,
1137
+ "dropIndicator": `lohistamise indikaator`,
1138
+ "dropOnItem": (args)=>`Kukuta asukohta ${args.itemText}`,
1139
+ "dropOnRoot": `Kukuta asukohta`,
1140
+ "endDragKeyboard": `Lohistamine. Lohistamisest loobumiseks vajutage klahvi Enter.`,
1141
+ "endDragTouch": `Lohistamine. Lohistamisest loobumiseks topeltpuudutage.`,
1142
+ "endDragVirtual": `Lohistamine. Lohistamisest loobumiseks klõpsake.`,
1143
+ "insertAfter": (args)=>`Sisesta ${args.itemText} järele`,
1144
+ "insertBefore": (args)=>`Sisesta ${args.itemText} ette`,
1145
+ "insertBetween": (args)=>`Sisesta ${args.beforeItemText} ja ${args.afterItemText} vahele`
1146
+ };
1147
+
1148
+
1149
+ var $87d3ccd5e347c7cc$exports = {};
1150
+ $87d3ccd5e347c7cc$exports = {
1151
+ "dragDescriptionKeyboard": `Aloita vetäminen painamalla Enter-näppäintä.`,
1152
+ "dragDescriptionKeyboardAlt": `Aloita vetäminen painamalla Alt + Enter -näppäinyhdistelmää.`,
1153
+ "dragDescriptionLongPress": `Aloita vetäminen pitämällä painettuna.`,
1154
+ "dragDescriptionTouch": `Aloita vetäminen kaksoisnapauttamalla.`,
1155
+ "dragDescriptionVirtual": `Aloita vetäminen napsauttamalla.`,
1156
+ "dragItem": (args)=>`Vedä kohdetta ${args.itemText}`,
1157
+ "dragSelectedItems": (args, formatter)=>`Vedä ${formatter.plural(args.count, {
1158
+ one: ()=>`${formatter.number(args.count)} valittua kohdetta`,
1159
+ other: ()=>`${formatter.number(args.count)} valittua kohdetta`
1160
+ })}`,
1161
+ "dragSelectedKeyboard": (args, formatter)=>`Vedä painamalla Enter ${formatter.plural(args.count, {
1162
+ one: ()=>`${formatter.number(args.count)} valittu kohde`,
1163
+ other: ()=>`${formatter.number(args.count)} valittua kohdetta`
1164
+ })}.`,
1165
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Vedä painamalla Alt + Enter ${formatter.plural(args.count, {
1166
+ one: ()=>`${formatter.number(args.count)} valittu kohde`,
1167
+ other: ()=>`${formatter.number(args.count)} valittua kohdetta`
1168
+ })}.`,
1169
+ "dragSelectedLongPress": (args, formatter)=>`Vedä pitämällä painettuna ${formatter.plural(args.count, {
1170
+ one: ()=>`${formatter.number(args.count)} valittu kohde`,
1171
+ other: ()=>`${formatter.number(args.count)} valittua kohdetta`
1172
+ })}.`,
1173
+ "dragStartedKeyboard": `Vetäminen aloitettu. Siirry pudotuskohteeseen painamalla sarkainnäppäintä ja sitten pudota painamalla Enter-näppäintä tai peruuta painamalla Escape-näppäintä.`,
1174
+ "dragStartedTouch": `Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota kaksoisnapauttamalla.`,
1175
+ "dragStartedVirtual": `Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota napsauttamalla tai painamalla Enter-näppäintä.`,
1176
+ "dropCanceled": `Pudotus peruutettu.`,
1177
+ "dropComplete": `Pudotus suoritettu.`,
1178
+ "dropDescriptionKeyboard": `Pudota painamalla Enter-näppäintä. Peruuta vetäminen painamalla Escape-näppäintä.`,
1179
+ "dropDescriptionTouch": `Pudota kaksoisnapauttamalla.`,
1180
+ "dropDescriptionVirtual": `Pudota napsauttamalla.`,
1181
+ "dropIndicator": `pudotuksen ilmaisin`,
1182
+ "dropOnItem": (args)=>`Pudota kohteeseen ${args.itemText}`,
1183
+ "dropOnRoot": `Pudota kohteeseen`,
1184
+ "endDragKeyboard": `Vedetään. Peruuta vetäminen painamalla Enter-näppäintä.`,
1185
+ "endDragTouch": `Vedetään. Peruuta vetäminen kaksoisnapauttamalla.`,
1186
+ "endDragVirtual": `Vedetään. Peruuta vetäminen napsauttamalla.`,
1187
+ "insertAfter": (args)=>`Lisää kohteen ${args.itemText} jälkeen`,
1188
+ "insertBefore": (args)=>`Lisää ennen kohdetta ${args.itemText}`,
1189
+ "insertBetween": (args)=>`Lisää kohteiden ${args.beforeItemText} ja ${args.afterItemText} väliin`
1190
+ };
1191
+
1192
+
1193
+ var $a5de891427686596$exports = {};
1194
+ $a5de891427686596$exports = {
1195
+ "dragDescriptionKeyboard": `Appuyez sur Entrée pour commencer le déplacement.`,
1196
+ "dragDescriptionKeyboardAlt": `Appuyez sur Alt + Entrée pour commencer à faire glisser.`,
1197
+ "dragDescriptionLongPress": `Appuyez de manière prolongée pour commencer à faire glisser.`,
1198
+ "dragDescriptionTouch": `Touchez deux fois pour commencer le déplacement.`,
1199
+ "dragDescriptionVirtual": `Cliquez pour commencer le déplacement.`,
1200
+ "dragItem": (args)=>`Déplacer ${args.itemText}`,
1201
+ "dragSelectedItems": (args, formatter)=>`Déplacer ${formatter.plural(args.count, {
1202
+ one: ()=>`${formatter.number(args.count)} élément sélectionné`,
1203
+ other: ()=>`${formatter.number(args.count)} éléments sélectionnés`
1204
+ })}`,
1205
+ "dragSelectedKeyboard": (args, formatter)=>`Appuyez sur Entrée pour faire glisser ${formatter.plural(args.count, {
1206
+ one: ()=>`${formatter.number(args.count)} élément sélectionné`,
1207
+ other: ()=>`${formatter.number(args.count)} éléments sélectionnés`
1208
+ })}.`,
1209
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Appuyez sur Alt + Entrée pour faire glisser ${formatter.plural(args.count, {
1210
+ one: ()=>`${formatter.number(args.count)} élément sélectionné`,
1211
+ other: ()=>`${formatter.number(args.count)} éléments sélectionnés`
1212
+ })}.`,
1213
+ "dragSelectedLongPress": (args, formatter)=>`Appuyez de manière prolongée pour faire glisser ${formatter.plural(args.count, {
1214
+ one: ()=>`${formatter.number(args.count)} élément sélectionné`,
1215
+ other: ()=>`${formatter.number(args.count)} éléments sélectionnés`
1216
+ })}.`,
1217
+ "dragStartedKeyboard": `Déplacement commencé. Appuyez sur Tabulation pour accéder à une cible de dépôt, puis appuyez sur Entrée pour déposer, ou appuyez sur Échap pour annuler.`,
1218
+ "dragStartedTouch": `Déplacement commencé. Accédez à une cible de dépôt, puis touchez deux fois pour déposer.`,
1219
+ "dragStartedVirtual": `Déplacement commencé. Accédez à une cible de dépôt, puis cliquez ou appuyez sur Entrée pour déposer.`,
1220
+ "dropCanceled": `Dépôt annulé.`,
1221
+ "dropComplete": `Dépôt terminé.`,
1222
+ "dropDescriptionKeyboard": `Appuyez sur Entrée pour déposer. Appuyez sur Échap pour annuler le déplacement.`,
1223
+ "dropDescriptionTouch": `Touchez deux fois pour déposer.`,
1224
+ "dropDescriptionVirtual": `Cliquez pour déposer.`,
1225
+ "dropIndicator": `indicateur de dépôt`,
1226
+ "dropOnItem": (args)=>`Déposer sur ${args.itemText}`,
1227
+ "dropOnRoot": `Déposer sur`,
1228
+ "endDragKeyboard": `Déplacement. Appuyez sur Entrée pour annuler le déplacement.`,
1229
+ "endDragTouch": `Déplacement. Touchez deux fois pour annuler le déplacement.`,
1230
+ "endDragVirtual": `Déplacement. Cliquez pour annuler le déplacement.`,
1231
+ "insertAfter": (args)=>`Insérer après ${args.itemText}`,
1232
+ "insertBefore": (args)=>`Insérer avant ${args.itemText}`,
1233
+ "insertBetween": (args)=>`Insérer entre ${args.beforeItemText} et ${args.afterItemText}`
1234
+ };
1235
+
1236
+
1237
+ var $ad7f4c66d85b4494$exports = {};
1238
+ $ad7f4c66d85b4494$exports = {
1239
+ "dragDescriptionKeyboard": `הקש על Enter כדי להתחיל לגרור.`,
1240
+ "dragDescriptionKeyboardAlt": `הקש Alt + Enter כדי להתחיל לגרור.`,
1241
+ "dragDescriptionLongPress": `לחץ לחיצה ארוכה כדי להתחיל לגרור.`,
1242
+ "dragDescriptionTouch": `הקש פעמיים כדי להתחיל בגרירה.`,
1243
+ "dragDescriptionVirtual": `לחץ כדי להתחיל לגרור.`,
1244
+ "dragItem": (args)=>`גרור את ${args.itemText}`,
1245
+ "dragSelectedItems": (args, formatter)=>`גרור ${formatter.plural(args.count, {
1246
+ one: ()=>`פריט נבחר ${formatter.number(args.count)}`,
1247
+ other: ()=>`${formatter.number(args.count)} פריטים שנבחרו`
1248
+ })}`,
1249
+ "dragSelectedKeyboard": (args, formatter)=>`הקש על Enter כדי לגרור ${formatter.plural(args.count, {
1250
+ one: ()=>`${formatter.number(args.count)} פריט שנבחר`,
1251
+ other: ()=>`${formatter.number(args.count)} פריטים שנבחרו`
1252
+ })}.`,
1253
+ "dragSelectedKeyboardAlt": (args, formatter)=>`הקש Alt + Enter כדי לגרור ${formatter.plural(args.count, {
1254
+ one: ()=>`${formatter.number(args.count)} פריט שנבחר`,
1255
+ other: ()=>`${formatter.number(args.count)} פריטים שנבחרו`
1256
+ })}.`,
1257
+ "dragSelectedLongPress": (args, formatter)=>`לחץ לחיצה ארוכה כדי לגרור ${formatter.plural(args.count, {
1258
+ one: ()=>`${formatter.number(args.count)} פריט שנבחר`,
1259
+ other: ()=>`${formatter.number(args.count)} פריטים שנבחרו`
1260
+ })}.`,
1261
+ "dragStartedKeyboard": `התחלת לגרור. הקש על Tab כדי לנווט לנקודת הגרירה ולאחר מכן הקש על Enter כדי לשחרר או על Escape כדי לבטל.`,
1262
+ "dragStartedTouch": `התחלת לגרור. נווט לנקודת השחרור ולאחר מכן הקש פעמיים כדי לשחרר.`,
1263
+ "dragStartedVirtual": `התחלת לגרור. נווט לנקודת השחרור ולאחר מכן לחץ או הקש על Enter כדי לשחרר.`,
1264
+ "dropCanceled": `השחרור בוטל.`,
1265
+ "dropComplete": `השחרור הושלם.`,
1266
+ "dropDescriptionKeyboard": `הקש על Enter כדי לשחרר. הקש על Escape כדי לבטל את הגרירה.`,
1267
+ "dropDescriptionTouch": `הקש פעמיים כדי לשחרר.`,
1268
+ "dropDescriptionVirtual": `לחץ כדי לשחרר.`,
1269
+ "dropIndicator": `מחוון שחרור`,
1270
+ "dropOnItem": (args)=>`שחרר על ${args.itemText}`,
1271
+ "dropOnRoot": `שחרר על`,
1272
+ "endDragKeyboard": `גורר. הקש על Enter כדי לבטל את הגרירה.`,
1273
+ "endDragTouch": `גורר. הקש פעמיים כדי לבטל את הגרירה.`,
1274
+ "endDragVirtual": `גורר. לחץ כדי לבטל את הגרירה.`,
1275
+ "insertAfter": (args)=>`הוסף אחרי ${args.itemText}`,
1276
+ "insertBefore": (args)=>`הוסף לפני ${args.itemText}`,
1277
+ "insertBetween": (args)=>`הוסף בין ${args.beforeItemText} לבין ${args.afterItemText}`
1278
+ };
1279
+
1280
+
1281
+ var $4aa59f3c6a796cae$exports = {};
1282
+ $4aa59f3c6a796cae$exports = {
1283
+ "dragDescriptionKeyboard": `Pritisnite Enter da biste počeli povlačiti.`,
1284
+ "dragDescriptionKeyboardAlt": `Pritisnite Alt + Enter za početak povlačenja.`,
1285
+ "dragDescriptionLongPress": `Dugo pritisnite za početak povlačenja.`,
1286
+ "dragDescriptionTouch": `Dvaput dodirnite da biste počeli povlačiti.`,
1287
+ "dragDescriptionVirtual": `Kliknite da biste počeli povlačiti.`,
1288
+ "dragItem": (args)=>`Povucite stavku ${args.itemText}`,
1289
+ "dragSelectedItems": (args, formatter)=>`Povucite ${formatter.plural(args.count, {
1290
+ one: ()=>`${formatter.number(args.count)} odabranu stavku`,
1291
+ other: ()=>`ovoliko odabranih stavki: ${formatter.number(args.count)}`
1292
+ })}`,
1293
+ "dragSelectedKeyboard": (args, formatter)=>`Pritisnite Enter za povlačenje ${formatter.plural(args.count, {
1294
+ one: ()=>`${formatter.number(args.count)} odabrana stavka`,
1295
+ other: ()=>`${formatter.number(args.count)} odabrane stavke`
1296
+ })}.`,
1297
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Pritisnite Alt + Enter za povlačenje ${formatter.plural(args.count, {
1298
+ one: ()=>`${formatter.number(args.count)} odabrana stavka`,
1299
+ other: ()=>`${formatter.number(args.count)} odabrane stavke`
1300
+ })}.`,
1301
+ "dragSelectedLongPress": (args, formatter)=>`Dugo pritisnite za povlačenje ${formatter.plural(args.count, {
1302
+ one: ()=>`${formatter.number(args.count)} odabrana stavka`,
1303
+ other: ()=>`${formatter.number(args.count)} odabrane stavke`
1304
+ })}.`,
1305
+ "dragStartedKeyboard": `Počeli ste povlačiti. Pritisnite tipku tabulatora da biste došli do cilja ispuštanja, a zatim Enter da biste ispustili stavku ili Escape da biste prekinuli povlačenje.`,
1306
+ "dragStartedTouch": `Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim dvaput dodirnite da biste ispustili stavku.`,
1307
+ "dragStartedVirtual": `Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim kliknite ili pritisnite Enter da biste ispustili stavku.`,
1308
+ "dropCanceled": `Povlačenje je prekinuto.`,
1309
+ "dropComplete": `Ispuštanje je dovršeno.`,
1310
+ "dropDescriptionKeyboard": `Pritisnite Enter da biste ispustili stavku. Pritisnite Escape da biste prekinuli povlačenje.`,
1311
+ "dropDescriptionTouch": `Dvaput dodirnite da biste ispustili stavku.`,
1312
+ "dropDescriptionVirtual": `Kliknite da biste ispustili stavku.`,
1313
+ "dropIndicator": `pokazatelj ispuštanja`,
1314
+ "dropOnItem": (args)=>`Ispustite na stavku ${args.itemText}`,
1315
+ "dropOnRoot": `Ispustite na`,
1316
+ "endDragKeyboard": `Povlačenje. Pritisnite Enter da biste prekinuli povlačenje.`,
1317
+ "endDragTouch": `Povlačenje. Dvaput dodirnite da biste prekinuli povlačenje.`,
1318
+ "endDragVirtual": `Povlačenje. Kliknite da biste prekinuli povlačenje.`,
1319
+ "insertAfter": (args)=>`Umetnite iza stavke ${args.itemText}`,
1320
+ "insertBefore": (args)=>`Ispustite ispred stavke ${args.itemText}`,
1321
+ "insertBetween": (args)=>`Umetnite između stavki ${args.beforeItemText} i ${args.afterItemText}`
1322
+ };
1323
+
1324
+
1325
+ var $d8d3646556c40586$exports = {};
1326
+ $d8d3646556c40586$exports = {
1327
+ "dragDescriptionKeyboard": `Nyomja le az Enter billentyűt a húzás megkezdéséhez.`,
1328
+ "dragDescriptionKeyboardAlt": `Nyomja le az Alt + Enter billentyűket a húzás megkezdéséhez.`,
1329
+ "dragDescriptionLongPress": `Hosszan nyomja meg a húzás elindításához.`,
1330
+ "dragDescriptionTouch": `Koppintson duplán a húzás megkezdéséhez.`,
1331
+ "dragDescriptionVirtual": `Kattintson a húzás megkezdéséhez.`,
1332
+ "dragItem": (args)=>`${args.itemText} húzása`,
1333
+ "dragSelectedItems": (args, formatter)=>`${formatter.plural(args.count, {
1334
+ one: ()=>`${formatter.number(args.count)} kijelölt elem`,
1335
+ other: ()=>`${formatter.number(args.count)} kijelölt elem`
1336
+ })} húzása`,
1337
+ "dragSelectedKeyboard": (args, formatter)=>`Nyomja meg az Entert ${formatter.plural(args.count, {
1338
+ one: ()=>`${formatter.number(args.count)} kijelölt elem`,
1339
+ other: ()=>`${formatter.number(args.count)} kijelölt elem`
1340
+ })} húzásához.`,
1341
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Nyomja meg az Alt + Enter billentyűket ${formatter.plural(args.count, {
1342
+ one: ()=>`${formatter.number(args.count)} kijelölt elem`,
1343
+ other: ()=>`${formatter.number(args.count)} kijelölt elem`
1344
+ })} húzásához.`,
1345
+ "dragSelectedLongPress": (args, formatter)=>`Tartsa lenyomva hosszan ${formatter.plural(args.count, {
1346
+ one: ()=>`${formatter.number(args.count)} kijelölt elem`,
1347
+ other: ()=>`${formatter.number(args.count)} kijelölt elem`
1348
+ })} húzásához.`,
1349
+ "dragStartedKeyboard": `Húzás megkezdve. Nyomja le a Tab billentyűt az elengedési célhoz navigálásához, majd nyomja le az Enter billentyűt az elengedéshez, vagy nyomja le az Escape billentyűt a megszakításhoz.`,
1350
+ "dragStartedTouch": `Húzás megkezdve. Navigáljon egy elengedési célhoz, majd koppintson duplán az elengedéshez.`,
1351
+ "dragStartedVirtual": `Húzás megkezdve. Navigáljon egy elengedési célhoz, majd kattintson vagy nyomja le az Enter billentyűt az elengedéshez.`,
1352
+ "dropCanceled": `Elengedés megszakítva.`,
1353
+ "dropComplete": `Elengedés teljesítve.`,
1354
+ "dropDescriptionKeyboard": `Nyomja le az Enter billentyűt az elengedéshez. Nyomja le az Escape billentyűt a húzás megszakításához.`,
1355
+ "dropDescriptionTouch": `Koppintson duplán az elengedéshez.`,
1356
+ "dropDescriptionVirtual": `Kattintson az elengedéshez.`,
1357
+ "dropIndicator": `elengedésjelző`,
1358
+ "dropOnItem": (args)=>`Elengedés erre: ${args.itemText}`,
1359
+ "dropOnRoot": `Elengedés erre:`,
1360
+ "endDragKeyboard": `Húzás folyamatban. Nyomja le az Enter billentyűt a húzás megszakításához.`,
1361
+ "endDragTouch": `Húzás folyamatban. Koppintson duplán a húzás megszakításához.`,
1362
+ "endDragVirtual": `Húzás folyamatban. Kattintson a húzás megszakításához.`,
1363
+ "insertAfter": (args)=>`Beszúrás ${args.itemText} után`,
1364
+ "insertBefore": (args)=>`Beszúrás ${args.itemText} elé`,
1365
+ "insertBetween": (args)=>`Beszúrás ${args.beforeItemText} és ${args.afterItemText} közé`
1366
+ };
1367
+
1368
+
1369
+ var $982d558b45395246$exports = {};
1370
+ $982d558b45395246$exports = {
1371
+ "dragDescriptionKeyboard": `Premi Invio per iniziare a trascinare.`,
1372
+ "dragDescriptionKeyboardAlt": `Premi Alt + Invio per iniziare a trascinare.`,
1373
+ "dragDescriptionLongPress": `Premi a lungo per iniziare a trascinare.`,
1374
+ "dragDescriptionTouch": `Tocca due volte per iniziare a trascinare.`,
1375
+ "dragDescriptionVirtual": `Fai clic per iniziare a trascinare.`,
1376
+ "dragItem": (args)=>`Trascina ${args.itemText}`,
1377
+ "dragSelectedItems": (args, formatter)=>`Trascina ${formatter.plural(args.count, {
1378
+ one: ()=>`${formatter.number(args.count)} altro elemento selezionato`,
1379
+ other: ()=>`${formatter.number(args.count)} altri elementi selezionati`
1380
+ })}`,
1381
+ "dragSelectedKeyboard": (args, formatter)=>`Premi Invio per trascinare ${formatter.plural(args.count, {
1382
+ one: ()=>`${formatter.number(args.count)} elemento selezionato`,
1383
+ other: ()=>`${formatter.number(args.count)} elementi selezionati`
1384
+ })}.`,
1385
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Premi Alt + Invio per trascinare ${formatter.plural(args.count, {
1386
+ one: ()=>`${formatter.number(args.count)} elemento selezionato`,
1387
+ other: ()=>`${formatter.number(args.count)} elementi selezionati`
1388
+ })}.`,
1389
+ "dragSelectedLongPress": (args, formatter)=>`Premi a lungo per trascinare ${formatter.plural(args.count, {
1390
+ one: ()=>`${formatter.number(args.count)} elemento selezionato`,
1391
+ other: ()=>`${formatter.number(args.count)} elementi selezionati`
1392
+ })}.`,
1393
+ "dragStartedKeyboard": `Hai iniziato a trascinare. Premi Tab per arrivare sull’area di destinazione, quindi premi Invio per rilasciare o Esc per annullare.`,
1394
+ "dragStartedTouch": `Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi tocca due volte per rilasciare.`,
1395
+ "dragStartedVirtual": `Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi fai clic o premi Invio per rilasciare.`,
1396
+ "dropCanceled": `Rilascio annullato.`,
1397
+ "dropComplete": `Rilascio completato.`,
1398
+ "dropDescriptionKeyboard": `Premi Invio per rilasciare. Premi Esc per annullare.`,
1399
+ "dropDescriptionTouch": `Tocca due volte per rilasciare.`,
1400
+ "dropDescriptionVirtual": `Fai clic per rilasciare.`,
1401
+ "dropIndicator": `indicatore di rilascio`,
1402
+ "dropOnItem": (args)=>`Rilascia su ${args.itemText}`,
1403
+ "dropOnRoot": `Rilascia su`,
1404
+ "endDragKeyboard": `Trascinamento. Premi Invio per annullare.`,
1405
+ "endDragTouch": `Trascinamento. Tocca due volte per annullare.`,
1406
+ "endDragVirtual": `Trascinamento. Fai clic per annullare.`,
1407
+ "insertAfter": (args)=>`Inserisci dopo ${args.itemText}`,
1408
+ "insertBefore": (args)=>`Inserisci prima di ${args.itemText}`,
1409
+ "insertBetween": (args)=>`Inserisci tra ${args.beforeItemText} e ${args.afterItemText}`
1410
+ };
1411
+
1412
+
1413
+ var $6a0cf387b9de036c$exports = {};
1414
+ $6a0cf387b9de036c$exports = {
1415
+ "dragDescriptionKeyboard": `Enter キーを押してドラッグを開始してください。`,
1416
+ "dragDescriptionKeyboardAlt": `Alt+Enter キーを押してドラッグを開始します。`,
1417
+ "dragDescriptionLongPress": `長押ししてドラッグを開始します。`,
1418
+ "dragDescriptionTouch": `ダブルタップしてドラッグを開始します。`,
1419
+ "dragDescriptionVirtual": `クリックしてドラッグを開始します。`,
1420
+ "dragItem": (args)=>`${args.itemText} をドラッグ`,
1421
+ "dragSelectedItems": (args, formatter)=>`${formatter.plural(args.count, {
1422
+ one: ()=>`${formatter.number(args.count)} 個の選択項目`,
1423
+ other: ()=>`${formatter.number(args.count)} 個の選択項目`
1424
+ })} をドラッグ`,
1425
+ "dragSelectedKeyboard": (args, formatter)=>`Enter キーを押して、${formatter.plural(args.count, {
1426
+ one: ()=>`${formatter.number(args.count)} 選択した項目`,
1427
+ other: ()=>`${formatter.number(args.count)} 選択した項目`
1428
+ })}をドラッグします。`,
1429
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Alt+Enter キーを押して、${formatter.plural(args.count, {
1430
+ one: ()=>`${formatter.number(args.count)} 選択した項目`,
1431
+ other: ()=>`${formatter.number(args.count)} 選択した項目`
1432
+ })}をドラッグします。`,
1433
+ "dragSelectedLongPress": (args, formatter)=>`長押しして、${formatter.plural(args.count, {
1434
+ one: ()=>`${formatter.number(args.count)} 選択した項目`,
1435
+ other: ()=>`${formatter.number(args.count)} 選択した項目`
1436
+ })}をドラッグします。`,
1437
+ "dragStartedKeyboard": `ドラッグを開始します。Tab キーを押してドロップターゲットにいどうし、Enter キーを押してドロップするか、Esc キーを押してキャンセルします。`,
1438
+ "dragStartedTouch": `ドラッグを開始しました。ドロップのターゲットに移動し、ダブルタップしてドロップします。`,
1439
+ "dragStartedVirtual": `ドラッグを開始しました。ドロップのターゲットに移動し、クリックまたは Enter キーを押してドロップします。`,
1440
+ "dropCanceled": `ドロップがキャンセルされました。`,
1441
+ "dropComplete": `ドロップが完了しました。`,
1442
+ "dropDescriptionKeyboard": `Enter キーを押してドロップします。Esc キーを押してドラッグをキャンセルします。`,
1443
+ "dropDescriptionTouch": `ダブルタップしてドロップします。`,
1444
+ "dropDescriptionVirtual": `クリックしてドロップします。`,
1445
+ "dropIndicator": `ドロップインジケーター`,
1446
+ "dropOnItem": (args)=>`${args.itemText} にドロップ`,
1447
+ "dropOnRoot": `ドロップ場所`,
1448
+ "endDragKeyboard": `ドラッグしています。Enter キーを押してドラッグをキャンセルします。`,
1449
+ "endDragTouch": `ドラッグしています。ダブルタップしてドラッグをキャンセルします。`,
1450
+ "endDragVirtual": `ドラッグしています。クリックしてドラッグをキャンセルします。`,
1451
+ "insertAfter": (args)=>`${args.itemText} の後に挿入`,
1452
+ "insertBefore": (args)=>`${args.itemText} の前に挿入`,
1453
+ "insertBetween": (args)=>`${args.beforeItemText} と ${args.afterItemText} の間に挿入`
1454
+ };
1455
+
1456
+
1457
+ var $a97fefa2956f4bcb$exports = {};
1458
+ $a97fefa2956f4bcb$exports = {
1459
+ "dragDescriptionKeyboard": `드래그를 시작하려면 Enter를 누르세요.`,
1460
+ "dragDescriptionKeyboardAlt": `드래그를 시작하려면 Alt + Enter를 누르십시오.`,
1461
+ "dragDescriptionLongPress": `드래그를 시작하려면 길게 누르십시오.`,
1462
+ "dragDescriptionTouch": `드래그를 시작하려면 더블 탭하세요.`,
1463
+ "dragDescriptionVirtual": `드래그를 시작하려면 클릭하세요.`,
1464
+ "dragItem": (args)=>`${args.itemText} 드래그`,
1465
+ "dragSelectedItems": (args, formatter)=>`${formatter.plural(args.count, {
1466
+ one: ()=>`${formatter.number(args.count)}개 선택 항목`,
1467
+ other: ()=>`${formatter.number(args.count)}개 선택 항목`
1468
+ })} 드래그`,
1469
+ "dragSelectedKeyboard": (args, formatter)=>`${formatter.plural(args.count, {
1470
+ one: ()=>`${formatter.number(args.count)}개 선택 항목`,
1471
+ other: ()=>`${formatter.number(args.count)}개 선택 항목`
1472
+ })}을 드래그하려면 Enter를 누르십시오.`,
1473
+ "dragSelectedKeyboardAlt": (args, formatter)=>`${formatter.plural(args.count, {
1474
+ one: ()=>`${formatter.number(args.count)}개 선택 항목`,
1475
+ other: ()=>`${formatter.number(args.count)}개 선택 항목`
1476
+ })}을 드래그하려면 Alt + Enter를 누르십시오.`,
1477
+ "dragSelectedLongPress": (args, formatter)=>`${formatter.plural(args.count, {
1478
+ one: ()=>`${formatter.number(args.count)}개 선택 항목`,
1479
+ other: ()=>`${formatter.number(args.count)}개 선택 항목`
1480
+ })}을 드래그하려면 길게 누르십시오.`,
1481
+ "dragStartedKeyboard": `드래그가 시작되었습니다. Tab을 눌러 드롭 대상으로 이동한 다음 Enter를 눌러 드롭하거나 Esc를 눌러 취소하세요.`,
1482
+ "dragStartedTouch": `드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 더블 탭하여 드롭하세요.`,
1483
+ "dragStartedVirtual": `드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 클릭하거나 Enter를 눌러 드롭하세요.`,
1484
+ "dropCanceled": `드롭이 취소되었습니다.`,
1485
+ "dropComplete": `드롭이 완료되었습니다.`,
1486
+ "dropDescriptionKeyboard": `드롭하려면 Enter를 누르세요. 드래그를 취소하려면 Esc를 누르세요.`,
1487
+ "dropDescriptionTouch": `더블 탭하여 드롭하세요.`,
1488
+ "dropDescriptionVirtual": `드롭하려면 클릭하세요.`,
1489
+ "dropIndicator": `드롭 표시기`,
1490
+ "dropOnItem": (args)=>`${args.itemText}에 드롭`,
1491
+ "dropOnRoot": `드롭 대상`,
1492
+ "endDragKeyboard": `드래그 중입니다. 드래그를 취소하려면 Enter를 누르세요.`,
1493
+ "endDragTouch": `드래그 중입니다. 드래그를 취소하려면 더블 탭하세요.`,
1494
+ "endDragVirtual": `드래그 중입니다. 드래그를 취소하려면 클릭하세요.`,
1495
+ "insertAfter": (args)=>`${args.itemText} 이후에 삽입`,
1496
+ "insertBefore": (args)=>`${args.itemText} 이전에 삽입`,
1497
+ "insertBetween": (args)=>`${args.beforeItemText} 및 ${args.afterItemText} 사이에 삽입`
1498
+ };
1499
+
1500
+
1501
+ var $5fb5837f94e1c150$exports = {};
1502
+ $5fb5837f94e1c150$exports = {
1503
+ "dragDescriptionKeyboard": `Paspauskite „Enter“, kad pradėtumėte vilkti.`,
1504
+ "dragDescriptionKeyboardAlt": `Paspauskite „Alt + Enter“, kad pradėtumėte vilkti.`,
1505
+ "dragDescriptionLongPress": `Palaikykite nuspaudę, kad pradėtumėte vilkti.`,
1506
+ "dragDescriptionTouch": `Palieskite dukart, kad pradėtumėte vilkti.`,
1507
+ "dragDescriptionVirtual": `Spustelėkite, kad pradėtumėte vilkti.`,
1508
+ "dragItem": (args)=>`Vilkti ${args.itemText}`,
1509
+ "dragSelectedItems": (args, formatter)=>`Vilkti ${formatter.plural(args.count, {
1510
+ one: ()=>`${formatter.number(args.count)} pasirinktą elementą`,
1511
+ other: ()=>`${formatter.number(args.count)} pasirinktus elementus`
1512
+ })}`,
1513
+ "dragSelectedKeyboard": (args, formatter)=>`Paspauskite „Enter“, jei norite nuvilkti ${formatter.plural(args.count, {
1514
+ one: ()=>`${formatter.number(args.count)} pasirinktą elementą`,
1515
+ other: ()=>`${formatter.number(args.count)} pasirinktus elementus`
1516
+ })}.`,
1517
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Paspauskite „Alt + Enter“, kad nuvilktumėte ${formatter.plural(args.count, {
1518
+ one: ()=>`${formatter.number(args.count)} pasirinktą elementą`,
1519
+ other: ()=>`${formatter.number(args.count)} pasirinktus elementus`
1520
+ })}.`,
1521
+ "dragSelectedLongPress": (args, formatter)=>`Nuspaudę palaikykite, kad nuvilktumėte ${formatter.plural(args.count, {
1522
+ one: ()=>`${formatter.number(args.count)} pasirinktą elementą`,
1523
+ other: ()=>`${formatter.number(args.count)} pasirinktus elementus`
1524
+ })}.`,
1525
+ "dragStartedKeyboard": `Pradėta vilkti. Paspauskite „Tab“, kad pereitumėte į tiesioginę paskirties vietą, tada paspauskite „Enter“, kad numestumėte, arba „Escape“, kad atšauktumėte.`,
1526
+ "dragStartedTouch": `Pradėta vilkti. Eikite į tiesioginę paskirties vietą, tada palieskite dukart, kad numestumėte.`,
1527
+ "dragStartedVirtual": `Pradėta vilkti. Eikite į tiesioginę paskirties vietą ir spustelėkite arba paspauskite „Enter“, kad numestumėte.`,
1528
+ "dropCanceled": `Numetimas atšauktas.`,
1529
+ "dropComplete": `Numesta.`,
1530
+ "dropDescriptionKeyboard": `Paspauskite „Enter“, kad numestumėte. Paspauskite „Escape“, kad atšauktumėte vilkimą.`,
1531
+ "dropDescriptionTouch": `Palieskite dukart, kad numestumėte.`,
1532
+ "dropDescriptionVirtual": `Spustelėkite, kad numestumėte.`,
1533
+ "dropIndicator": `numetimo indikatorius`,
1534
+ "dropOnItem": (args)=>`Numesti ant ${args.itemText}`,
1535
+ "dropOnRoot": `Numesti ant`,
1536
+ "endDragKeyboard": `Velkama. Paspauskite „Enter“, kad atšauktumėte vilkimą.`,
1537
+ "endDragTouch": `Velkama. Spustelėkite dukart, kad atšauktumėte vilkimą.`,
1538
+ "endDragVirtual": `Velkama. Spustelėkite, kad atšauktumėte vilkimą.`,
1539
+ "insertAfter": (args)=>`Įterpti po ${args.itemText}`,
1540
+ "insertBefore": (args)=>`Įterpti prieš ${args.itemText}`,
1541
+ "insertBetween": (args)=>`Įterpti tarp ${args.beforeItemText} ir ${args.afterItemText}`
1542
+ };
1543
+
1544
+
1545
+ var $5b2e5709864cc922$exports = {};
1546
+ $5b2e5709864cc922$exports = {
1547
+ "dragDescriptionKeyboard": `Nospiediet Enter, lai sāktu vilkšanu.`,
1548
+ "dragDescriptionKeyboardAlt": `Nospiediet taustiņu kombināciju Alt+Enter, lai sāktu vilkšanu.`,
1549
+ "dragDescriptionLongPress": `Turiet nospiestu, lai sāktu vilkšanu.`,
1550
+ "dragDescriptionTouch": `Veiciet dubultskārienu, lai sāktu vilkšanu.`,
1551
+ "dragDescriptionVirtual": `Noklikšķiniet, lai sāktu vilkšanu.`,
1552
+ "dragItem": (args)=>`Velciet ${args.itemText}`,
1553
+ "dragSelectedItems": (args, formatter)=>`Velciet ${formatter.plural(args.count, {
1554
+ one: ()=>`${formatter.number(args.count)} atlasīto vienumu`,
1555
+ other: ()=>`${formatter.number(args.count)} atlasītos vienumus`
1556
+ })}`,
1557
+ "dragSelectedKeyboard": (args, formatter)=>`Nospiediet taustiņu Enter, lai vilktu ${formatter.plural(args.count, {
1558
+ one: ()=>`${formatter.number(args.count)} atlasīto vienumu`,
1559
+ other: ()=>`${formatter.number(args.count)} atlasītos vienumus`
1560
+ })}.`,
1561
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Nospiediet taustiņu kombināciju Alt+Enter, lai vilktu ${formatter.plural(args.count, {
1562
+ one: ()=>`${formatter.number(args.count)} atlasīto vienumu`,
1563
+ other: ()=>`${formatter.number(args.count)} atlasītos vienumus`
1564
+ })}.`,
1565
+ "dragSelectedLongPress": (args, formatter)=>`Turiet nospiestu, lai vilktu ${formatter.plural(args.count, {
1566
+ one: ()=>`${formatter.number(args.count)} atlasīto vienumu`,
1567
+ other: ()=>`${formatter.number(args.count)} atlasītos vienumus`
1568
+ })}.`,
1569
+ "dragStartedKeyboard": `Uzsākta vilkšana. Nospiediet taustiņu Tab, lai pārietu uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu, vai nospiediet Escape, lai atceltu.`,
1570
+ "dragStartedTouch": `Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam veiciet dubultskārienu, lai nomestu.`,
1571
+ "dragStartedVirtual": `Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu.`,
1572
+ "dropCanceled": `Nomešana atcelta.`,
1573
+ "dropComplete": `Nomešana pabeigta.`,
1574
+ "dropDescriptionKeyboard": `Nospiediet Enter, lai nomestu. Nospiediet Escape, lai atceltu vilkšanu.`,
1575
+ "dropDescriptionTouch": `Veiciet dubultskārienu, lai nomestu.`,
1576
+ "dropDescriptionVirtual": `Noklikšķiniet, lai nomestu.`,
1577
+ "dropIndicator": `nomešanas indikators`,
1578
+ "dropOnItem": (args)=>`Nometiet uz ${args.itemText}`,
1579
+ "dropOnRoot": `Nometiet uz`,
1580
+ "endDragKeyboard": `Notiek vilkšana. Nospiediet Enter, lai atceltu vilkšanu.`,
1581
+ "endDragTouch": `Notiek vilkšana. Veiciet dubultskārienu, lai atceltu vilkšanu.`,
1582
+ "endDragVirtual": `Notiek vilkšana. Noklikšķiniet, lai atceltu vilkšanu.`,
1583
+ "insertAfter": (args)=>`Ievietojiet pēc ${args.itemText}`,
1584
+ "insertBefore": (args)=>`Ievietojiet pirms ${args.itemText}`,
1585
+ "insertBetween": (args)=>`Ievietojiet starp ${args.beforeItemText} un ${args.afterItemText}`
1586
+ };
1587
+
1588
+
1589
+ var $ee15bb8efb18cc69$exports = {};
1590
+ $ee15bb8efb18cc69$exports = {
1591
+ "dragDescriptionKeyboard": `Trykk på Enter for å begynne å dra.`,
1592
+ "dragDescriptionKeyboardAlt": `Trykk på Alt + Enter for å begynne å dra.`,
1593
+ "dragDescriptionLongPress": `Trykk lenge for å begynne å dra.`,
1594
+ "dragDescriptionTouch": `Dobbelttrykk for å begynne å dra.`,
1595
+ "dragDescriptionVirtual": `Klikk for å begynne å dra.`,
1596
+ "dragItem": (args)=>`Dra ${args.itemText}`,
1597
+ "dragSelectedItems": (args, formatter)=>`Dra ${formatter.plural(args.count, {
1598
+ one: ()=>`${formatter.number(args.count)} merket element`,
1599
+ other: ()=>`${formatter.number(args.count)} merkede elementer`
1600
+ })}`,
1601
+ "dragSelectedKeyboard": (args, formatter)=>`Trykk Enter for å dra ${formatter.plural(args.count, {
1602
+ one: ()=>`${formatter.number(args.count)} valgt element`,
1603
+ other: ()=>`${formatter.number(args.count)} valgte elementer`
1604
+ })}.`,
1605
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Trykk på Alt + Enter for å dra ${formatter.plural(args.count, {
1606
+ one: ()=>`${formatter.number(args.count)} valgt element`,
1607
+ other: ()=>`${formatter.number(args.count)} valgte elementer`
1608
+ })}.`,
1609
+ "dragSelectedLongPress": (args, formatter)=>`Trykk lenge for å dra ${formatter.plural(args.count, {
1610
+ one: ()=>`${formatter.number(args.count)} valgt element`,
1611
+ other: ()=>`${formatter.number(args.count)} valgte elementer`
1612
+ })}.`,
1613
+ "dragStartedKeyboard": `Begynte å dra. Trykk på Tab for å navigere til et mål, og trykk deretter på Enter for å slippe eller på Esc for å avbryte.`,
1614
+ "dragStartedTouch": `Begynte å dra. Naviger til et mål, og dobbelttrykk for å slippe.`,
1615
+ "dragStartedVirtual": `Begynte å dra. Naviger til et mål, og klikk eller trykk på Enter for å slippe.`,
1616
+ "dropCanceled": `Avbrøt slipping.`,
1617
+ "dropComplete": `Slippingen er fullført.`,
1618
+ "dropDescriptionKeyboard": `Trykk på Enter for å slippe. Trykk på Esc hvis du vil avbryte draingen.`,
1619
+ "dropDescriptionTouch": `Dobbelttrykk for å slippe.`,
1620
+ "dropDescriptionVirtual": `Klikk for å slippe.`,
1621
+ "dropIndicator": `slippeindikator`,
1622
+ "dropOnItem": (args)=>`Slipp på ${args.itemText}`,
1623
+ "dropOnRoot": `Slipp på`,
1624
+ "endDragKeyboard": `Drar. Trykk på Enter hvis du vil avbryte.`,
1625
+ "endDragTouch": `Drar. Dobbelttrykk hvis du vil avbryte.`,
1626
+ "endDragVirtual": `Drar. Klikk hvis du vil avbryte.`,
1627
+ "insertAfter": (args)=>`Sett inn etter ${args.itemText}`,
1628
+ "insertBefore": (args)=>`Sett inn før ${args.itemText}`,
1629
+ "insertBetween": (args)=>`Sett inn mellom ${args.beforeItemText} og ${args.afterItemText}`
1630
+ };
1631
+
1632
+
1633
+ var $1daf2d4602e26ac4$exports = {};
1634
+ $1daf2d4602e26ac4$exports = {
1635
+ "dragDescriptionKeyboard": `Druk op Enter om te slepen.`,
1636
+ "dragDescriptionKeyboardAlt": `Druk op Alt + Enter om te slepen.`,
1637
+ "dragDescriptionLongPress": `Houd lang ingedrukt om te slepen.`,
1638
+ "dragDescriptionTouch": `Dubbeltik om te slepen.`,
1639
+ "dragDescriptionVirtual": `Klik om met slepen te starten.`,
1640
+ "dragItem": (args)=>`${args.itemText} slepen`,
1641
+ "dragSelectedItems": (args, formatter)=>`${formatter.plural(args.count, {
1642
+ one: ()=>`${formatter.number(args.count)} geselecteerd item`,
1643
+ other: ()=>`${formatter.number(args.count)} geselecteerde items`
1644
+ })} slepen`,
1645
+ "dragSelectedKeyboard": (args, formatter)=>`Druk op Enter om ${formatter.plural(args.count, {
1646
+ one: ()=>`${formatter.number(args.count)} geselecteerd item`,
1647
+ other: ()=>`${formatter.number(args.count)} geselecteerde items`
1648
+ })} te slepen.`,
1649
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Druk op Alt + Enter om ${formatter.plural(args.count, {
1650
+ one: ()=>`${formatter.number(args.count)} geselecteerd item`,
1651
+ other: ()=>`${formatter.number(args.count)} geselecteerde items`
1652
+ })} te slepen.`,
1653
+ "dragSelectedLongPress": (args, formatter)=>`Houd lang ingedrukt om ${formatter.plural(args.count, {
1654
+ one: ()=>`${formatter.number(args.count)} geselecteerd item`,
1655
+ other: ()=>`${formatter.number(args.count)} geselecteerde items`
1656
+ })} te slepen.`,
1657
+ "dragStartedKeyboard": `Begonnen met slepen. Druk op Tab om naar een locatie te gaan. Druk dan op Enter om neer te zetten, of op Esc om te annuleren.`,
1658
+ "dragStartedTouch": `Begonnen met slepen. Ga naar de gewenste locatie en dubbeltik om neer te zetten.`,
1659
+ "dragStartedVirtual": `Begonnen met slepen. Ga naar de gewenste locatie en klik of druk op Enter om neer te zetten.`,
1660
+ "dropCanceled": `Neerzetten geannuleerd.`,
1661
+ "dropComplete": `Neerzetten voltooid.`,
1662
+ "dropDescriptionKeyboard": `Druk op Enter om neer te zetten. Druk op Esc om het slepen te annuleren.`,
1663
+ "dropDescriptionTouch": `Dubbeltik om neer te zetten.`,
1664
+ "dropDescriptionVirtual": `Klik om neer te zetten.`,
1665
+ "dropIndicator": `aanwijzer voor neerzetten`,
1666
+ "dropOnItem": (args)=>`Neerzetten op ${args.itemText}`,
1667
+ "dropOnRoot": `Neerzetten op`,
1668
+ "endDragKeyboard": `Bezig met slepen. Druk op Enter om te annuleren.`,
1669
+ "endDragTouch": `Bezig met slepen. Dubbeltik om te annuleren.`,
1670
+ "endDragVirtual": `Bezig met slepen. Klik om te annuleren.`,
1671
+ "insertAfter": (args)=>`Plaatsen na ${args.itemText}`,
1672
+ "insertBefore": (args)=>`Plaatsen vóór ${args.itemText}`,
1673
+ "insertBetween": (args)=>`Plaatsen tussen ${args.beforeItemText} en ${args.afterItemText}`
1674
+ };
1675
+
1676
+
1677
+ var $7115429b0f60511f$exports = {};
1678
+ $7115429b0f60511f$exports = {
1679
+ "dragDescriptionKeyboard": `Naciśnij Enter, aby rozpocząć przeciąganie.`,
1680
+ "dragDescriptionKeyboardAlt": `Naciśnij Alt + Enter, aby rozpocząć przeciąganie.`,
1681
+ "dragDescriptionLongPress": `Naciśnij i przytrzymaj, aby rozpocząć przeciąganie.`,
1682
+ "dragDescriptionTouch": `Dotknij dwukrotnie, aby rozpocząć przeciąganie.`,
1683
+ "dragDescriptionVirtual": `Kliknij, aby rozpocząć przeciąganie.`,
1684
+ "dragItem": (args)=>`Przeciągnij ${args.itemText}`,
1685
+ "dragSelectedItems": (args, formatter)=>`Przeciągnij ${formatter.plural(args.count, {
1686
+ one: ()=>`${formatter.number(args.count)} wybrany element`,
1687
+ other: ()=>`${formatter.number(args.count)} wybranych elementów`
1688
+ })}`,
1689
+ "dragSelectedKeyboard": (args, formatter)=>`Naciśnij Enter, aby przeciągnąć ${formatter.plural(args.count, {
1690
+ one: ()=>`${formatter.number(args.count)} wybrany element`,
1691
+ other: ()=>`${formatter.number(args.count)} wybrane(-ych) elementy(-ów)`
1692
+ })}.`,
1693
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Naciśnij Alt + Enter, aby przeciągnąć ${formatter.plural(args.count, {
1694
+ one: ()=>`${formatter.number(args.count)} wybrany element`,
1695
+ other: ()=>`${formatter.number(args.count)} wybrane(-ych) elementy(-ów)`
1696
+ })}.`,
1697
+ "dragSelectedLongPress": (args, formatter)=>`Naciśnij i przytrzymaj, aby przeciągnąć ${formatter.plural(args.count, {
1698
+ one: ()=>`${formatter.number(args.count)} wybrany element`,
1699
+ other: ()=>`${formatter.number(args.count)} wybrane(-ych) elementy(-ów)`
1700
+ })}.`,
1701
+ "dragStartedKeyboard": `Rozpoczęto przeciąganie. Naciśnij Tab, aby wybrać miejsce docelowe, a następnie naciśnij Enter, aby upuścić, lub Escape, aby anulować.`,
1702
+ "dragStartedTouch": `Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie dotknij dwukrotnie, aby upuścić.F`,
1703
+ "dragStartedVirtual": `Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie kliknij lub naciśnij Enter, aby upuścić.`,
1704
+ "dropCanceled": `Anulowano upuszczenie.`,
1705
+ "dropComplete": `Zakończono upuszczanie.`,
1706
+ "dropDescriptionKeyboard": `Naciśnij Enter, aby upuścić. Naciśnij Escape, aby anulować przeciągnięcie.`,
1707
+ "dropDescriptionTouch": `Dotknij dwukrotnie, aby upuścić.`,
1708
+ "dropDescriptionVirtual": `Kliknij, aby upuścić.`,
1709
+ "dropIndicator": `wskaźnik upuszczenia`,
1710
+ "dropOnItem": (args)=>`Upuść na ${args.itemText}`,
1711
+ "dropOnRoot": `Upuść`,
1712
+ "endDragKeyboard": `Przeciąganie. Naciśnij Enter, aby anulować przeciągnięcie.`,
1713
+ "endDragTouch": `Przeciąganie. Kliknij dwukrotnie, aby anulować przeciągnięcie.`,
1714
+ "endDragVirtual": `Przeciąganie. Kliknij, aby anulować przeciąganie.`,
1715
+ "insertAfter": (args)=>`Umieść za ${args.itemText}`,
1716
+ "insertBefore": (args)=>`Umieść przed ${args.itemText}`,
1717
+ "insertBetween": (args)=>`Umieść między ${args.beforeItemText} i ${args.afterItemText}`
1718
+ };
1719
+
1720
+
1721
+ var $5edd453ae5d4a8bc$exports = {};
1722
+ $5edd453ae5d4a8bc$exports = {
1723
+ "dragDescriptionKeyboard": `Pressione Enter para começar a arrastar.`,
1724
+ "dragDescriptionKeyboardAlt": `Pressione Alt + Enter para começar a arrastar.`,
1725
+ "dragDescriptionLongPress": `Pressione e segure para começar a arrastar.`,
1726
+ "dragDescriptionTouch": `Toque duas vezes para começar a arrastar.`,
1727
+ "dragDescriptionVirtual": `Clique para começar a arrastar.`,
1728
+ "dragItem": (args)=>`Arrastar ${args.itemText}`,
1729
+ "dragSelectedItems": (args, formatter)=>`Arrastar ${formatter.plural(args.count, {
1730
+ one: ()=>`${formatter.number(args.count)} item selecionado`,
1731
+ other: ()=>`${formatter.number(args.count)} itens selecionados`
1732
+ })}`,
1733
+ "dragSelectedKeyboard": (args, formatter)=>`Pressione Enter para arrastar ${formatter.plural(args.count, {
1734
+ one: ()=>`${formatter.number(args.count)} o item selecionado`,
1735
+ other: ()=>`${formatter.number(args.count)} os itens selecionados`
1736
+ })}.`,
1737
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Pressione Alt + Enter para arrastar ${formatter.plural(args.count, {
1738
+ one: ()=>`${formatter.number(args.count)} o item selecionado`,
1739
+ other: ()=>`${formatter.number(args.count)} os itens selecionados`
1740
+ })}.`,
1741
+ "dragSelectedLongPress": (args, formatter)=>`Pressione e segure para arrastar ${formatter.plural(args.count, {
1742
+ one: ()=>`${formatter.number(args.count)} o item selecionado`,
1743
+ other: ()=>`${formatter.number(args.count)} os itens selecionados`
1744
+ })}.`,
1745
+ "dragStartedKeyboard": `Comece a arrastar. Pressione Tab para navegar até um alvo e, em seguida, pressione Enter para soltar ou pressione Escape para cancelar.`,
1746
+ "dragStartedTouch": `Comece a arrastar. Navegue até um alvo e toque duas vezes para soltar.`,
1747
+ "dragStartedVirtual": `Comece a arrastar. Navegue até um alvo e clique ou pressione Enter para soltar.`,
1748
+ "dropCanceled": `Liberação cancelada.`,
1749
+ "dropComplete": `Liberação concluída.`,
1750
+ "dropDescriptionKeyboard": `Pressione Enter para soltar. Pressione Escape para cancelar.`,
1751
+ "dropDescriptionTouch": `Toque duas vezes para soltar.`,
1752
+ "dropDescriptionVirtual": `Clique para soltar.`,
1753
+ "dropIndicator": `indicador de liberação`,
1754
+ "dropOnItem": (args)=>`Soltar em ${args.itemText}`,
1755
+ "dropOnRoot": `Soltar`,
1756
+ "endDragKeyboard": `Arrastando. Pressione Enter para cancelar.`,
1757
+ "endDragTouch": `Arrastando. Toque duas vezes para cancelar.`,
1758
+ "endDragVirtual": `Arrastando. Clique para cancelar.`,
1759
+ "insertAfter": (args)=>`Inserir após ${args.itemText}`,
1760
+ "insertBefore": (args)=>`Inserir antes de ${args.itemText}`,
1761
+ "insertBetween": (args)=>`Inserir entre ${args.beforeItemText} e ${args.afterItemText}`
1762
+ };
1763
+
1764
+
1765
+ var $5f431994f708535e$exports = {};
1766
+ $5f431994f708535e$exports = {
1767
+ "dragDescriptionKeyboard": `Prima Enter para iniciar o arrasto.`,
1768
+ "dragDescriptionKeyboardAlt": `Prima Alt + Enter para iniciar o arrasto.`,
1769
+ "dragDescriptionLongPress": `Prima longamente para começar a arrastar.`,
1770
+ "dragDescriptionTouch": `Faça duplo toque para começar a arrastar.`,
1771
+ "dragDescriptionVirtual": `Clique para iniciar o arrasto.`,
1772
+ "dragItem": (args)=>`Arrastar ${args.itemText}`,
1773
+ "dragSelectedItems": (args, formatter)=>`Arrastar ${formatter.plural(args.count, {
1774
+ one: ()=>`${formatter.number(args.count)} item selecionado`,
1775
+ other: ()=>`${formatter.number(args.count)} itens selecionados`
1776
+ })}`,
1777
+ "dragSelectedKeyboard": (args, formatter)=>`Prima Enter para arrastar ${formatter.plural(args.count, {
1778
+ one: ()=>`${formatter.number(args.count)} o item selecionado`,
1779
+ other: ()=>`${formatter.number(args.count)} os itens selecionados`
1780
+ })}.`,
1781
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Prima Alt + Enter para arrastar ${formatter.plural(args.count, {
1782
+ one: ()=>`${formatter.number(args.count)} o item selecionado`,
1783
+ other: ()=>`${formatter.number(args.count)} os itens selecionados`
1784
+ })}.`,
1785
+ "dragSelectedLongPress": (args, formatter)=>`Prima longamente para arrastar ${formatter.plural(args.count, {
1786
+ one: ()=>`${formatter.number(args.count)} o item selecionado`,
1787
+ other: ()=>`${formatter.number(args.count)} os itens selecionados`
1788
+ })}.`,
1789
+ "dragStartedKeyboard": `Arrasto iniciado. Prima a tecla de tabulação para navegar para um destino para largar, e em seguida prima Enter para largar ou prima Escape para cancelar.`,
1790
+ "dragStartedTouch": `Arrasto iniciado. Navegue para um destino para largar, e em seguida faça duplo toque para largar.`,
1791
+ "dragStartedVirtual": `Arrasto iniciado. Navegue para um destino para largar, e em seguida clique ou prima Enter para largar.`,
1792
+ "dropCanceled": `Largar cancelado.`,
1793
+ "dropComplete": `Largar completo.`,
1794
+ "dropDescriptionKeyboard": `Prima Enter para largar. Prima Escape para cancelar o arrasto.`,
1795
+ "dropDescriptionTouch": `Faça duplo toque para largar.`,
1796
+ "dropDescriptionVirtual": `Clique para largar.`,
1797
+ "dropIndicator": `Indicador de largar`,
1798
+ "dropOnItem": (args)=>`Largar em ${args.itemText}`,
1799
+ "dropOnRoot": `Largar em`,
1800
+ "endDragKeyboard": `A arrastar. Prima Enter para cancelar o arrasto.`,
1801
+ "endDragTouch": `A arrastar. Faça duplo toque para cancelar o arrasto.`,
1802
+ "endDragVirtual": `A arrastar. Clique para cancelar o arrasto.`,
1803
+ "insertAfter": (args)=>`Inserir depois de ${args.itemText}`,
1804
+ "insertBefore": (args)=>`Inserir antes de ${args.itemText}`,
1805
+ "insertBetween": (args)=>`Inserir entre ${args.beforeItemText} e ${args.afterItemText}`
1806
+ };
1807
+
1808
+
1809
+ var $107b5e2e45e971f1$exports = {};
1810
+ $107b5e2e45e971f1$exports = {
1811
+ "dragDescriptionKeyboard": `Apăsați pe Enter pentru a începe glisarea.`,
1812
+ "dragDescriptionKeyboardAlt": `Apăsați pe Alt + Enter pentru a începe glisarea.`,
1813
+ "dragDescriptionLongPress": `Apăsați lung pentru a începe glisarea.`,
1814
+ "dragDescriptionTouch": `Atingeți de două ori pentru a începe să glisați.`,
1815
+ "dragDescriptionVirtual": `Faceți clic pentru a începe glisarea.`,
1816
+ "dragItem": (args)=>`Glisați ${args.itemText}`,
1817
+ "dragSelectedItems": (args, formatter)=>`Glisați ${formatter.plural(args.count, {
1818
+ one: ()=>`${formatter.number(args.count)} element selectat`,
1819
+ other: ()=>`${formatter.number(args.count)} elemente selectate`
1820
+ })}`,
1821
+ "dragSelectedKeyboard": (args, formatter)=>`Apăsați pe Enter pentru a glisa ${formatter.plural(args.count, {
1822
+ one: ()=>`${formatter.number(args.count)} element selectat`,
1823
+ other: ()=>`${formatter.number(args.count)} elemente selectate`
1824
+ })}.`,
1825
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Apăsați pe Alt + Enter pentru a glisa ${formatter.plural(args.count, {
1826
+ one: ()=>`${formatter.number(args.count)} element selectat`,
1827
+ other: ()=>`${formatter.number(args.count)} elemente selectate`
1828
+ })}.`,
1829
+ "dragSelectedLongPress": (args, formatter)=>`Apăsați lung pentru a glisa ${formatter.plural(args.count, {
1830
+ one: ()=>`${formatter.number(args.count)} element selectat`,
1831
+ other: ()=>`${formatter.number(args.count)} elemente selectate`
1832
+ })}.`,
1833
+ "dragStartedKeyboard": `A început glisarea. Apăsați pe Tab pentru a naviga la o țintă de fixare, apoi apăsați pe Enter pentru a fixa sau apăsați pe Escape pentru a anula glisarea.`,
1834
+ "dragStartedTouch": `A început glisarea. Navigați la o țintă de fixare, apoi atingeți de două ori pentru a fixa.`,
1835
+ "dragStartedVirtual": `A început glisarea. Navigați la o țintă de fixare, apoi faceți clic sau apăsați pe Enter pentru a fixa.`,
1836
+ "dropCanceled": `Fixare anulată.`,
1837
+ "dropComplete": `Fixare finalizată.`,
1838
+ "dropDescriptionKeyboard": `Apăsați pe Enter pentru a fixa. Apăsați pe Escape pentru a anula glisarea.`,
1839
+ "dropDescriptionTouch": `Atingeți de două ori pentru a fixa.`,
1840
+ "dropDescriptionVirtual": `Faceți clic pentru a fixa.`,
1841
+ "dropIndicator": `indicator de fixare`,
1842
+ "dropOnItem": (args)=>`Fixați pe ${args.itemText}`,
1843
+ "dropOnRoot": `Fixare pe`,
1844
+ "endDragKeyboard": `Se glisează. Apăsați pe Enter pentru a anula glisarea.`,
1845
+ "endDragTouch": `Se glisează. Atingeți de două ori pentru a anula glisarea.`,
1846
+ "endDragVirtual": `Se glisează. Faceți clic pentru a anula glisarea.`,
1847
+ "insertAfter": (args)=>`Inserați după ${args.itemText}`,
1848
+ "insertBefore": (args)=>`Inserați înainte de ${args.itemText}`,
1849
+ "insertBetween": (args)=>`Inserați între ${args.beforeItemText} și ${args.afterItemText}`
1850
+ };
1851
+
1852
+
1853
+ var $d4b9c2f01c1892f7$exports = {};
1854
+ $d4b9c2f01c1892f7$exports = {
1855
+ "dragDescriptionKeyboard": `Нажмите клавишу Enter для начала перетаскивания.`,
1856
+ "dragDescriptionKeyboardAlt": `Нажмите Alt + Enter, чтобы начать перетаскивать.`,
1857
+ "dragDescriptionLongPress": `Нажмите и удерживайте, чтобы начать перетаскивать.`,
1858
+ "dragDescriptionTouch": `Дважды нажмите для начала перетаскивания.`,
1859
+ "dragDescriptionVirtual": `Щелкните для начала перетаскивания.`,
1860
+ "dragItem": (args)=>`Перетащить ${args.itemText}`,
1861
+ "dragSelectedItems": (args, formatter)=>`Перетащить ${formatter.plural(args.count, {
1862
+ one: ()=>`${formatter.number(args.count)} выбранный элемент`,
1863
+ other: ()=>`${formatter.number(args.count)} выбранных элем`
1864
+ })}`,
1865
+ "dragSelectedKeyboard": (args, formatter)=>`Нажмите Enter для перетаскивания ${formatter.plural(args.count, {
1866
+ one: ()=>`${formatter.number(args.count)} выбранного элемента`,
1867
+ other: ()=>`${formatter.number(args.count)} выбранных элементов`
1868
+ })}.`,
1869
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Нажмите Alt + Enter для перетаскивания ${formatter.plural(args.count, {
1870
+ one: ()=>`${formatter.number(args.count)} выбранного элемента`,
1871
+ other: ()=>`${formatter.number(args.count)} выбранных элементов`
1872
+ })}.`,
1873
+ "dragSelectedLongPress": (args, formatter)=>`Нажмите и удерживайте для перетаскивания ${formatter.plural(args.count, {
1874
+ one: ()=>`${formatter.number(args.count)} выбранного элемента`,
1875
+ other: ()=>`${formatter.number(args.count)} выбранных элементов`
1876
+ })}.`,
1877
+ "dragStartedKeyboard": `Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание, или клавишу Escape для отмены действия.`,
1878
+ "dragStartedTouch": `Начато перетаскивание. Выберите цель, затем дважды нажмите, чтобы применить перетаскивание.`,
1879
+ "dragStartedVirtual": `Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание.`,
1880
+ "dropCanceled": `Перетаскивание отменено.`,
1881
+ "dropComplete": `Перетаскивание завершено.`,
1882
+ "dropDescriptionKeyboard": `Нажмите клавишу Enter, чтобы применить перетаскивание. Нажмите клавишу Escape для отмены.`,
1883
+ "dropDescriptionTouch": `Дважды нажмите, чтобы применить перетаскивание.`,
1884
+ "dropDescriptionVirtual": `Щелкните, чтобы применить перетаскивание.`,
1885
+ "dropIndicator": `индикатор перетаскивания`,
1886
+ "dropOnItem": (args)=>`Перетащить на ${args.itemText}`,
1887
+ "dropOnRoot": `Перетащить на`,
1888
+ "endDragKeyboard": `Перетаскивание. Нажмите клавишу Enter для отмены.`,
1889
+ "endDragTouch": `Перетаскивание. Дважды нажмите для отмены.`,
1890
+ "endDragVirtual": `Перетаскивание. Щелкните для отмены.`,
1891
+ "insertAfter": (args)=>`Вставить после ${args.itemText}`,
1892
+ "insertBefore": (args)=>`Вставить перед ${args.itemText}`,
1893
+ "insertBetween": (args)=>`Вставить между ${args.beforeItemText} и ${args.afterItemText}`
1894
+ };
1895
+
1896
+
1897
+ var $dbdc1942894e83e4$exports = {};
1898
+ $dbdc1942894e83e4$exports = {
1899
+ "dragDescriptionKeyboard": `Stlačením klávesu Enter začnete presúvanie.`,
1900
+ "dragDescriptionKeyboardAlt": `Stlačením klávesov Alt + Enter začnete presúvanie.`,
1901
+ "dragDescriptionLongPress": `Dlhým stlačením začnete presúvanie.`,
1902
+ "dragDescriptionTouch": `Dvojitým kliknutím začnete presúvanie.`,
1903
+ "dragDescriptionVirtual": `Kliknutím začnete presúvanie.`,
1904
+ "dragItem": (args)=>`Presunúť položku ${args.itemText}`,
1905
+ "dragSelectedItems": (args, formatter)=>`Presunúť ${formatter.plural(args.count, {
1906
+ one: ()=>`${formatter.number(args.count)} vybratú položku`,
1907
+ other: ()=>`${formatter.number(args.count)} vybraté položky`
1908
+ })}`,
1909
+ "dragSelectedKeyboard": (args, formatter)=>`Stlačením klávesu Enter presuniete ${formatter.plural(args.count, {
1910
+ one: ()=>`${formatter.number(args.count)} vybratú položku`,
1911
+ other: ()=>`${formatter.number(args.count)} vybratých položiek`
1912
+ })}.`,
1913
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Stlačením klávesov Alt + Enter presuniete ${formatter.plural(args.count, {
1914
+ one: ()=>`${formatter.number(args.count)} vybratú položku`,
1915
+ other: ()=>`${formatter.number(args.count)} vybratých položiek`
1916
+ })}.`,
1917
+ "dragSelectedLongPress": (args, formatter)=>`Dlhým stlačením presuniete ${formatter.plural(args.count, {
1918
+ one: ()=>`${formatter.number(args.count)} vybratú položku`,
1919
+ other: ()=>`${formatter.number(args.count)} vybratých položiek`
1920
+ })}.`,
1921
+ "dragStartedKeyboard": `Presúvanie sa začalo. Do cieľového umiestnenia prejdete stlačením klávesu Tab. Ak chcete položku umiestniť, stlačte kláves Enter alebo stlačte kláves Esc, ak chcete presúvanie zrušiť.`,
1922
+ "dragStartedTouch": `Presúvanie sa začalo. Prejdite na cieľové umiestnenie a dvojitým kliknutím umiestnite položku.`,
1923
+ "dragStartedVirtual": `Presúvanie sa začalo. Prejdite na cieľové umiestnenie a kliknutím alebo stlačením klávesu Enter umiestnite položku.`,
1924
+ "dropCanceled": `Umiestnenie zrušené.`,
1925
+ "dropComplete": `Umiestnenie dokončené.`,
1926
+ "dropDescriptionKeyboard": `Stlačením klávesu Enter umiestnite položku. Stlačením klávesu Esc zrušíte presúvanie.`,
1927
+ "dropDescriptionTouch": `Dvojitým kliknutím umiestnite položku.`,
1928
+ "dropDescriptionVirtual": `Kliknutím umiestnite položku.`,
1929
+ "dropIndicator": `indikátor umiestnenia`,
1930
+ "dropOnItem": (args)=>`Umiestniť na položku ${args.itemText}`,
1931
+ "dropOnRoot": `Umiestniť na`,
1932
+ "endDragKeyboard": `Prebieha presúvanie. Ak ho chcete zrušiť, stlačte kláves Enter.`,
1933
+ "endDragTouch": `Prebieha presúvanie. Dvojitým kliknutím ho môžete zrušiť.`,
1934
+ "endDragVirtual": `Prebieha presúvanie.`,
1935
+ "insertAfter": (args)=>`Vložiť za položku ${args.itemText}`,
1936
+ "insertBefore": (args)=>`Vložiť pred položku ${args.itemText}`,
1937
+ "insertBetween": (args)=>`Vložiť medzi položky ${args.beforeItemText} a ${args.afterItemText}`
1938
+ };
1939
+
1940
+
1941
+ var $fbaaaaebd547d998$exports = {};
1942
+ $fbaaaaebd547d998$exports = {
1943
+ "dragDescriptionKeyboard": `Pritisnite tipko Enter za začetek vlečenja.`,
1944
+ "dragDescriptionKeyboardAlt": `Pritisnite tipki Alt + Enter za začetek vlečenja.`,
1945
+ "dragDescriptionLongPress": `Pritisnite in zadržite za začetek vlečenja.`,
1946
+ "dragDescriptionTouch": `Dvotapnite za začetek vlečenja.`,
1947
+ "dragDescriptionVirtual": `Kliknite za začetek vlečenja.`,
1948
+ "dragItem": (args)=>`Povleci ${args.itemText}`,
1949
+ "dragSelectedItems": (args, formatter)=>`Povlecite ${formatter.plural(args.count, {
1950
+ one: ()=>`${formatter.number(args.count)} izbran element`,
1951
+ other: ()=>`izbrane elemente (${formatter.number(args.count)})`
1952
+ })}`,
1953
+ "dragSelectedKeyboard": (args, formatter)=>`Pritisnite tipko Enter, da povlečete ${formatter.plural(args.count, {
1954
+ one: ()=>`${formatter.number(args.count)} izbrani element`,
1955
+ other: ()=>`${formatter.number(args.count)} izbranih elementov`
1956
+ })}.`,
1957
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Pritisnite tipki Alt + Enter, da povlečete ${formatter.plural(args.count, {
1958
+ one: ()=>`${formatter.number(args.count)} izbrani element`,
1959
+ other: ()=>`${formatter.number(args.count)} izbranih elementov`
1960
+ })}.`,
1961
+ "dragSelectedLongPress": (args, formatter)=>`Pritisnite in zadržite, da povlečete ${formatter.plural(args.count, {
1962
+ one: ()=>`${formatter.number(args.count)} izbrani element`,
1963
+ other: ()=>`${formatter.number(args.count)} izbranih elementov`
1964
+ })}.`,
1965
+ "dragStartedKeyboard": `Vlečenje se je začelo. Pritisnite tipko Tab za pomik na mesto, kamor želite spustiti elemente, in pritisnite tipko Enter, da jih spustite, ali tipko Escape, da prekličete postopek.`,
1966
+ "dragStartedTouch": `Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in dvotapnite, da jih spustite.`,
1967
+ "dragStartedVirtual": `Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in kliknite ali pritisnite tipko Enter, da jih spustite.`,
1968
+ "dropCanceled": `Spust je preklican.`,
1969
+ "dropComplete": `Spust je končan.`,
1970
+ "dropDescriptionKeyboard": `Pritisnite tipko Enter, da spustite. Pritisnite tipko Escape, da prekličete vlečenje.`,
1971
+ "dropDescriptionTouch": `Dvotapnite, da spustite.`,
1972
+ "dropDescriptionVirtual": `Kliknite, da spustite.`,
1973
+ "dropIndicator": `indikator spusta`,
1974
+ "dropOnItem": (args)=>`Spusti na mesto ${args.itemText}`,
1975
+ "dropOnRoot": `Spusti na mesto`,
1976
+ "endDragKeyboard": `Vlečenje. Pritisnite tipko Enter za preklic vlečenja.`,
1977
+ "endDragTouch": `Vlečenje. Dvotapnite za preklic vlečenja.`,
1978
+ "endDragVirtual": `Vlečenje. Kliknite, da prekličete vlečenje.`,
1979
+ "insertAfter": (args)=>`Vstavi za ${args.itemText}`,
1980
+ "insertBefore": (args)=>`Vstavi pred ${args.itemText}`,
1981
+ "insertBetween": (args)=>`Vstavi med ${args.beforeItemText} in ${args.afterItemText}`
1982
+ };
1983
+
1984
+
1985
+ var $a0caa33f1e264489$exports = {};
1986
+ $a0caa33f1e264489$exports = {
1987
+ "dragItem": (args)=>`Prevucite ${args.itemText}`,
1988
+ "dragSelectedItems": (args, formatter)=>`Prevucite ${formatter.plural(args.count, {
1989
+ one: ()=>`${formatter.number(args.count)} izabranu stavku`,
1990
+ other: ()=>`${formatter.number(args.count)} izabrane stavke`
1991
+ })}`,
1992
+ "dragDescriptionKeyboard": `Pritisnite Enter da biste započeli prevlačenje..`,
1993
+ "dragDescriptionKeyboardAlt": `Pritisnite Alt + Enter da biste započeli prevlačenje.`,
1994
+ "dragDescriptionLongPress": `Pritisnite dugo da biste započeli prevlačenje.`,
1995
+ "dragDescriptionTouch": `Dvaput dodirnite za otpuštanje.`,
1996
+ "dragDescriptionVirtual": `Kliknite da biste započeli prevlačenje.`,
1997
+ "dragStartedKeyboard": `Prevlačenje je započeto. Pritisnite Tab da biste otišli do cilja za otpuštanje, zatim pritisnite Enter za ispuštanje ili pritisnite Escape za otkazivanje.`,
1998
+ "dragStartedTouch": `Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim dvaput dodirnite za otpuštanje.`,
1999
+ "dragStartedVirtual": `Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim kliknite ili pritinite Enter za otpuštanje.`,
2000
+ "endDragKeyboard": `Prevlačenje u toku. Pritisnite Enter da biste otkazali prevlačenje.`,
2001
+ "endDragTouch": `Prevlačenje u toku. Dvaput dodirnite da biste otkazali prevlačenje.`,
2002
+ "endDragVirtual": `Prevlačenje u toku. Kliknite da biste otkazali prevlačenje.`,
2003
+ "dragSelectedKeyboard": (args, formatter)=>`Pritisnite Enter da biste prevukli ${formatter.plural(args.count, {
2004
+ one: ()=>`${formatter.number(args.count)} izabranu stavku`,
2005
+ other: ()=>`${formatter.number(args.count)} izabranih stavki`
2006
+ })}.`,
2007
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Pritisnite Alt + Enter da biste prevukli ${formatter.plural(args.count, {
2008
+ one: ()=>`${formatter.number(args.count)} izabranu stavku`,
2009
+ other: ()=>`${formatter.number(args.count)} izabranih stavki`
2010
+ })}.`,
2011
+ "dragSelectedLongPress": (args, formatter)=>`Pritisnite dugo da biste prevukli ${formatter.plural(args.count, {
2012
+ one: ()=>`${formatter.number(args.count)} izabranu stavku`,
2013
+ other: ()=>`${formatter.number(args.count)} izabranih stavki`
2014
+ })}.`,
2015
+ "dropDescriptionKeyboard": `Pritisnite Enter da biste otpustili. Pritisnite Escape da biste otkazali prevlačenje.`,
2016
+ "dropDescriptionTouch": `Dvaput dodirnite za otpuštanje.`,
2017
+ "dropDescriptionVirtual": `Kliknite za otpuštanje.`,
2018
+ "dropCanceled": `Otpuštanje je otkazano.`,
2019
+ "dropComplete": `Prevlačenje je završeno.`,
2020
+ "dropIndicator": `Indikator otpuštanja`,
2021
+ "dropOnRoot": `Otpusti na`,
2022
+ "dropOnItem": (args)=>`Otpusti na ${args.itemText}`,
2023
+ "insertBefore": (args)=>`Umetnite ispred ${args.itemText}`,
2024
+ "insertBetween": (args)=>`Umetnite između ${args.beforeItemText} i ${args.afterItemText}`,
2025
+ "insertAfter": (args)=>`Umetnite posle ${args.itemText}`
2026
+ };
2027
+
2028
+
2029
+ var $d576b66176f5c0ff$exports = {};
2030
+ $d576b66176f5c0ff$exports = {
2031
+ "dragDescriptionKeyboard": `Tryck på enter för att börja dra.`,
2032
+ "dragDescriptionKeyboardAlt": `Tryck på Alt + Retur för att börja dra.`,
2033
+ "dragDescriptionLongPress": `Tryck länge för att börja dra.`,
2034
+ "dragDescriptionTouch": `Dubbeltryck för att börja dra.`,
2035
+ "dragDescriptionVirtual": `Klicka för att börja dra.`,
2036
+ "dragItem": (args)=>`Dra ${args.itemText}`,
2037
+ "dragSelectedItems": (args, formatter)=>`Dra ${formatter.plural(args.count, {
2038
+ one: ()=>`${formatter.number(args.count)} valt objekt`,
2039
+ other: ()=>`${formatter.number(args.count)} valda objekt`
2040
+ })}`,
2041
+ "dragSelectedKeyboard": (args, formatter)=>`Tryck på Retur för att dra ${formatter.plural(args.count, {
2042
+ one: ()=>`${formatter.number(args.count)} markerat objekt`,
2043
+ other: ()=>`${formatter.number(args.count)} markerade objekt`
2044
+ })}.`,
2045
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Tryck på Alt + Retur för att dra ${formatter.plural(args.count, {
2046
+ one: ()=>`${formatter.number(args.count)} markerat objekt`,
2047
+ other: ()=>`${formatter.number(args.count)} markerade objekt`
2048
+ })}.`,
2049
+ "dragSelectedLongPress": (args, formatter)=>`Tryck länge för att dra ${formatter.plural(args.count, {
2050
+ one: ()=>`${formatter.number(args.count)} markerat objekt`,
2051
+ other: ()=>`${formatter.number(args.count)} markerade objekt`
2052
+ })}.`,
2053
+ "dragStartedKeyboard": `Börja dra. Tryck på tabb för att navigera till målet, tryck på enter för att släppa eller på escape för att avbryta.`,
2054
+ "dragStartedTouch": `Börja dra. Navigera till ett mål och dubbeltryck för att släppa.`,
2055
+ "dragStartedVirtual": `Börja dra. Navigera till ett mål och klicka eller tryck på enter för att släppa.`,
2056
+ "dropCanceled": `Släppåtgärd avbröts.`,
2057
+ "dropComplete": `Släppåtgärd klar.`,
2058
+ "dropDescriptionKeyboard": `Tryck på enter för att släppa. Tryck på escape för att avbryta dragåtgärd.`,
2059
+ "dropDescriptionTouch": `Dubbeltryck för att släppa.`,
2060
+ "dropDescriptionVirtual": `Klicka för att släppa.`,
2061
+ "dropIndicator": `släppindikator`,
2062
+ "dropOnItem": (args)=>`Släpp på ${args.itemText}`,
2063
+ "dropOnRoot": `Släpp på`,
2064
+ "endDragKeyboard": `Drar. Tryck på enter för att avbryta dragåtgärd.`,
2065
+ "endDragTouch": `Drar. Dubbeltryck för att avbryta dragåtgärd.`,
2066
+ "endDragVirtual": `Drar. Klicka för att avbryta dragåtgärd.`,
2067
+ "insertAfter": (args)=>`Infoga efter ${args.itemText}`,
2068
+ "insertBefore": (args)=>`Infoga före ${args.itemText}`,
2069
+ "insertBetween": (args)=>`Infoga mellan ${args.beforeItemText} och ${args.afterItemText}`
2070
+ };
2071
+
2072
+
2073
+ var $0681f168c13d8f2a$exports = {};
2074
+ $0681f168c13d8f2a$exports = {
2075
+ "dragDescriptionKeyboard": `Sürüklemeyi başlatmak için Enter'a basın.`,
2076
+ "dragDescriptionKeyboardAlt": `Sürüklemeyi başlatmak için Alt + Enter'a basın.`,
2077
+ "dragDescriptionLongPress": `Sürüklemeye başlamak için uzun basın.`,
2078
+ "dragDescriptionTouch": `Sürüklemeyi başlatmak için çift tıklayın.`,
2079
+ "dragDescriptionVirtual": `Sürüklemeyi başlatmak için tıklayın.`,
2080
+ "dragItem": (args)=>`${args.itemText}’i sürükle`,
2081
+ "dragSelectedItems": (args, formatter)=>`Sürükle ${formatter.plural(args.count, {
2082
+ one: ()=>`${formatter.number(args.count)} seçili öge`,
2083
+ other: ()=>`${formatter.number(args.count)} seçili öge`
2084
+ })}`,
2085
+ "dragSelectedKeyboard": (args, formatter)=>`${formatter.plural(args.count, {
2086
+ one: ()=>`${formatter.number(args.count)} seçilmiş öğe`,
2087
+ other: ()=>`${formatter.number(args.count)} seçilmiş öğe`
2088
+ })} öğesini sürüklemek için Enter'a basın.`,
2089
+ "dragSelectedKeyboardAlt": (args, formatter)=>`${formatter.plural(args.count, {
2090
+ one: ()=>`${formatter.number(args.count)} seçilmiş öğe`,
2091
+ other: ()=>`${formatter.number(args.count)} seçilmiş öğe`
2092
+ })} öğesini sürüklemek için Alt + Enter tuşuna basın.`,
2093
+ "dragSelectedLongPress": (args, formatter)=>`${formatter.plural(args.count, {
2094
+ one: ()=>`${formatter.number(args.count)} seçilmiş öğe`,
2095
+ other: ()=>`${formatter.number(args.count)} seçilmiş öğe`
2096
+ })} öğesini sürüklemek için uzun basın.`,
2097
+ "dragStartedKeyboard": `Sürükleme başlatıldı. Bir bırakma hedefine gitmek için Tab’a basın, ardından bırakmak için Enter’a basın veya iptal etmek için Escape’e basın.`,
2098
+ "dragStartedTouch": `Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için çift tıklayın.`,
2099
+ "dragStartedVirtual": `Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için Enter’a tıklayın veya basın.`,
2100
+ "dropCanceled": `Bırakma iptal edildi.`,
2101
+ "dropComplete": `Bırakma tamamlandı.`,
2102
+ "dropDescriptionKeyboard": `Bırakmak için Enter'a basın. Sürüklemeyi iptal etmek için Escape'e basın.`,
2103
+ "dropDescriptionTouch": `Bırakmak için çift tıklayın.`,
2104
+ "dropDescriptionVirtual": `Bırakmak için tıklayın.`,
2105
+ "dropIndicator": `bırakma göstergesi`,
2106
+ "dropOnItem": (args)=>`${args.itemText} üzerine bırak`,
2107
+ "dropOnRoot": `Bırakın`,
2108
+ "endDragKeyboard": `Sürükleme. Sürüklemeyi iptal etmek için Enter'a basın.`,
2109
+ "endDragTouch": `Sürükleme. Sürüklemeyi iptal etmek için çift tıklayın.`,
2110
+ "endDragVirtual": `Sürükleme. Sürüklemeyi iptal etmek için tıklayın.`,
2111
+ "insertAfter": (args)=>`${args.itemText}’den sonra gir`,
2112
+ "insertBefore": (args)=>`${args.itemText}’den önce gir`,
2113
+ "insertBetween": (args)=>`${args.beforeItemText} ve ${args.afterItemText} arasına gir`
2114
+ };
2115
+
2116
+
2117
+ var $2bfbc1f42c1cf5a7$exports = {};
2118
+ $2bfbc1f42c1cf5a7$exports = {
2119
+ "dragDescriptionKeyboard": `Натисніть Enter, щоб почати перетягування.`,
2120
+ "dragDescriptionKeyboardAlt": `Натисніть Alt + Enter, щоб почати перетягування.`,
2121
+ "dragDescriptionLongPress": `Натисніть і утримуйте, щоб почати перетягування.`,
2122
+ "dragDescriptionTouch": `Натисніть двічі, щоб почати перетягування.`,
2123
+ "dragDescriptionVirtual": `Натисніть, щоб почати перетягування.`,
2124
+ "dragItem": (args)=>`Перетягнути ${args.itemText}`,
2125
+ "dragSelectedItems": (args, formatter)=>`Перетягніть ${formatter.plural(args.count, {
2126
+ one: ()=>`${formatter.number(args.count)} вибраний елемент`,
2127
+ other: ()=>`${formatter.number(args.count)} вибраних елем`
2128
+ })}`,
2129
+ "dragSelectedKeyboard": (args, formatter)=>`Натисніть Enter, щоб перетягнути ${formatter.plural(args.count, {
2130
+ one: ()=>`${formatter.number(args.count)} вибраний елемент`,
2131
+ other: ()=>`${formatter.number(args.count)} вибраних елементи(-ів)`
2132
+ })}.`,
2133
+ "dragSelectedKeyboardAlt": (args, formatter)=>`Натисніть Alt + Enter, щоб перетягнути ${formatter.plural(args.count, {
2134
+ one: ()=>`${formatter.number(args.count)} вибраний елемент`,
2135
+ other: ()=>`${formatter.number(args.count)} вибраних елементи(-ів)`
2136
+ })}.`,
2137
+ "dragSelectedLongPress": (args, formatter)=>`Утримуйте, щоб перетягнути ${formatter.plural(args.count, {
2138
+ one: ()=>`${formatter.number(args.count)} вибраний елемент`,
2139
+ other: ()=>`${formatter.number(args.count)} вибраних елементи(-ів)`
2140
+ })}.`,
2141
+ "dragStartedKeyboard": `Перетягування почалося. Натисніть Tab, щоб перейти до цілі перетягування, потім натисніть Enter, щоб перетягнути, або Escape, щоб скасувати.`,
2142
+ "dragStartedTouch": `Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть двічі, щоб перетягнути.`,
2143
+ "dragStartedVirtual": `Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть Enter, щоб перетягнути.`,
2144
+ "dropCanceled": `Перетягування скасовано.`,
2145
+ "dropComplete": `Перетягування завершено.`,
2146
+ "dropDescriptionKeyboard": `Натисніть Enter, щоб перетягнути. Натисніть Escape, щоб скасувати перетягування.`,
2147
+ "dropDescriptionTouch": `Натисніть двічі, щоб перетягнути.`,
2148
+ "dropDescriptionVirtual": `Натисніть, щоб перетягнути.`,
2149
+ "dropIndicator": `індикатор перетягування`,
2150
+ "dropOnItem": (args)=>`Перетягнути на ${args.itemText}`,
2151
+ "dropOnRoot": `Перетягнути на`,
2152
+ "endDragKeyboard": `Триває перетягування. Натисніть Enter, щоб скасувати перетягування.`,
2153
+ "endDragTouch": `Триває перетягування. Натисніть двічі, щоб скасувати перетягування.`,
2154
+ "endDragVirtual": `Триває перетягування. Натисніть, щоб скасувати перетягування.`,
2155
+ "insertAfter": (args)=>`Вставити після ${args.itemText}`,
2156
+ "insertBefore": (args)=>`Вставити перед ${args.itemText}`,
2157
+ "insertBetween": (args)=>`Вставити між ${args.beforeItemText} і ${args.afterItemText}`
2158
+ };
2159
+
2160
+
2161
+ var $d0f488d433b55b8a$exports = {};
2162
+ $d0f488d433b55b8a$exports = {
2163
+ "dragDescriptionKeyboard": `按 Enter 开始拖动。`,
2164
+ "dragDescriptionKeyboardAlt": `按 Alt + Enter 开始拖动。`,
2165
+ "dragDescriptionLongPress": `长按以开始拖动。`,
2166
+ "dragDescriptionTouch": `双击开始拖动。`,
2167
+ "dragDescriptionVirtual": `单击开始拖动。`,
2168
+ "dragItem": (args)=>`拖动 ${args.itemText}`,
2169
+ "dragSelectedItems": (args, formatter)=>`拖动 ${formatter.plural(args.count, {
2170
+ one: ()=>`${formatter.number(args.count)} 选中项目`,
2171
+ other: ()=>`${formatter.number(args.count)} 选中项目`
2172
+ })}`,
2173
+ "dragSelectedKeyboard": (args, formatter)=>`按 Enter 以拖动 ${formatter.plural(args.count, {
2174
+ one: ()=>`${formatter.number(args.count)} 个选定项`,
2175
+ other: ()=>`${formatter.number(args.count)} 个选定项`
2176
+ })}。`,
2177
+ "dragSelectedKeyboardAlt": (args, formatter)=>`按 Alt + Enter 以拖动 ${formatter.plural(args.count, {
2178
+ one: ()=>`${formatter.number(args.count)} 个选定项`,
2179
+ other: ()=>`${formatter.number(args.count)} 个选定项`
2180
+ })}。`,
2181
+ "dragSelectedLongPress": (args, formatter)=>`长按以拖动 ${formatter.plural(args.count, {
2182
+ one: ()=>`${formatter.number(args.count)} 个选定项`,
2183
+ other: ()=>`${formatter.number(args.count)} 个选定项`
2184
+ })}。`,
2185
+ "dragStartedKeyboard": `已开始拖动。按 Tab 导航到放置目标,然后按 Enter 放置或按 Escape 取消。`,
2186
+ "dragStartedTouch": `已开始拖动。导航到放置目标,然后双击放置。`,
2187
+ "dragStartedVirtual": `已开始拖动。导航到放置目标,然后单击或按 Enter 放置。`,
2188
+ "dropCanceled": `放置已取消。`,
2189
+ "dropComplete": `放置已完成。`,
2190
+ "dropDescriptionKeyboard": `按 Enter 放置。按 Escape 取消拖动。`,
2191
+ "dropDescriptionTouch": `双击放置。`,
2192
+ "dropDescriptionVirtual": `单击放置。`,
2193
+ "dropIndicator": `放置标记`,
2194
+ "dropOnItem": (args)=>`放置于 ${args.itemText}`,
2195
+ "dropOnRoot": `放置于`,
2196
+ "endDragKeyboard": `正在拖动。按 Enter 取消拖动。`,
2197
+ "endDragTouch": `正在拖动。双击取消拖动。`,
2198
+ "endDragVirtual": `正在拖动。单击取消拖动。`,
2199
+ "insertAfter": (args)=>`插入到 ${args.itemText} 之后`,
2200
+ "insertBefore": (args)=>`插入到 ${args.itemText} 之前`,
2201
+ "insertBetween": (args)=>`插入到 ${args.beforeItemText} 和 ${args.afterItemText} 之间`
2202
+ };
2203
+
2204
+
2205
+ var $46168b0dce85301e$exports = {};
2206
+ $46168b0dce85301e$exports = {
2207
+ "dragDescriptionKeyboard": `按 Enter 鍵以開始拖曳。`,
2208
+ "dragDescriptionKeyboardAlt": `按 Alt+Enter 鍵以開始拖曳。`,
2209
+ "dragDescriptionLongPress": `長按以開始拖曳。`,
2210
+ "dragDescriptionTouch": `輕點兩下以開始拖曳。`,
2211
+ "dragDescriptionVirtual": `按一下滑鼠以開始拖曳。`,
2212
+ "dragItem": (args)=>`拖曳「${args.itemText}」`,
2213
+ "dragSelectedItems": (args, formatter)=>`拖曳 ${formatter.plural(args.count, {
2214
+ one: ()=>`${formatter.number(args.count)} 個選定項目`,
2215
+ other: ()=>`${formatter.number(args.count)} 個選定項目`
2216
+ })}`,
2217
+ "dragSelectedKeyboard": (args, formatter)=>`按 Enter 鍵以拖曳 ${formatter.plural(args.count, {
2218
+ one: ()=>`${formatter.number(args.count)} 個選定項目`,
2219
+ other: ()=>`${formatter.number(args.count)} 個選定項目`
2220
+ })}。`,
2221
+ "dragSelectedKeyboardAlt": (args, formatter)=>`按 Alt+Enter 鍵以拖曳 ${formatter.plural(args.count, {
2222
+ one: ()=>`${formatter.number(args.count)} 個選定項目`,
2223
+ other: ()=>`${formatter.number(args.count)} 個選定項目`
2224
+ })}。`,
2225
+ "dragSelectedLongPress": (args, formatter)=>`長按以拖曳 ${formatter.plural(args.count, {
2226
+ one: ()=>`${formatter.number(args.count)} 個選定項目`,
2227
+ other: ()=>`${formatter.number(args.count)} 個選定項目`
2228
+ })}。`,
2229
+ "dragStartedKeyboard": `已開始拖曳。按 Tab 鍵以瀏覽至放置目標,然後按 Enter 鍵以放置,或按 Escape 鍵以取消。`,
2230
+ "dragStartedTouch": `已開始拖曳。瀏覽至放置目標,然後輕點兩下以放置。`,
2231
+ "dragStartedVirtual": `已開始拖曳。瀏覽至放置目標,然後按一下滑鼠或按 Enter 鍵以放置。`,
2232
+ "dropCanceled": `放置已取消。`,
2233
+ "dropComplete": `放置已完成。`,
2234
+ "dropDescriptionKeyboard": `按 Enter 鍵以放置。按 Escape 鍵以取消拖曳。`,
2235
+ "dropDescriptionTouch": `輕點兩下以放置。`,
2236
+ "dropDescriptionVirtual": `按一下滑鼠以放置。`,
2237
+ "dropIndicator": `放置指示器`,
2238
+ "dropOnItem": (args)=>`放置在「${args.itemText}」上`,
2239
+ "dropOnRoot": `放置在`,
2240
+ "endDragKeyboard": `拖曳中。按 Enter 鍵以取消拖曳。`,
2241
+ "endDragTouch": `拖曳中。輕點兩下以取消拖曳。`,
2242
+ "endDragVirtual": `拖曳中。按一下滑鼠以取消拖曳。`,
2243
+ "insertAfter": (args)=>`插入至「${args.itemText}」之後`,
2244
+ "insertBefore": (args)=>`插入至「${args.itemText}」之前`,
2245
+ "insertBetween": (args)=>`插入至「${args.beforeItemText}」和「${args.afterItemText}」之間`
2246
+ };
2247
+
2248
+
2249
+ $c530af5bd0e7e6c6$exports = {
2250
+ "ar-AE": $7dfcac1a0c98c789$exports,
2251
+ "bg-BG": $f311c26671219eca$exports,
2252
+ "cs-CZ": $1aa4ade186550f72$exports,
2253
+ "da-DK": $b6b0ea1b94a7633c$exports,
2254
+ "de-DE": $d10e4f47c744ad52$exports,
2255
+ "el-GR": $b3d2bb9abce688ab$exports,
2256
+ "en-US": $f9b46437e610cca1$exports,
2257
+ "es-ES": $204b5c01bd3acf26$exports,
2258
+ "et-EE": $110bdd83348ecbc0$exports,
2259
+ "fi-FI": $87d3ccd5e347c7cc$exports,
2260
+ "fr-FR": $a5de891427686596$exports,
2261
+ "he-IL": $ad7f4c66d85b4494$exports,
2262
+ "hr-HR": $4aa59f3c6a796cae$exports,
2263
+ "hu-HU": $d8d3646556c40586$exports,
2264
+ "it-IT": $982d558b45395246$exports,
2265
+ "ja-JP": $6a0cf387b9de036c$exports,
2266
+ "ko-KR": $a97fefa2956f4bcb$exports,
2267
+ "lt-LT": $5fb5837f94e1c150$exports,
2268
+ "lv-LV": $5b2e5709864cc922$exports,
2269
+ "nb-NO": $ee15bb8efb18cc69$exports,
2270
+ "nl-NL": $1daf2d4602e26ac4$exports,
2271
+ "pl-PL": $7115429b0f60511f$exports,
2272
+ "pt-BR": $5edd453ae5d4a8bc$exports,
2273
+ "pt-PT": $5f431994f708535e$exports,
2274
+ "ro-RO": $107b5e2e45e971f1$exports,
2275
+ "ru-RU": $d4b9c2f01c1892f7$exports,
2276
+ "sk-SK": $dbdc1942894e83e4$exports,
2277
+ "sl-SI": $fbaaaaebd547d998$exports,
2278
+ "sr-SP": $a0caa33f1e264489$exports,
2279
+ "sv-SE": $d576b66176f5c0ff$exports,
2280
+ "tr-TR": $0681f168c13d8f2a$exports,
2281
+ "uk-UA": $2bfbc1f42c1cf5a7$exports,
2282
+ "zh-CN": $d0f488d433b55b8a$exports,
2283
+ "zh-TW": $46168b0dce85301e$exports
2284
+ };
2285
+
2286
+
2287
+
2288
+
2289
+ const $8253ed7ece74b463$var$MESSAGES = {
2290
+ keyboard: {
2291
+ start: "dragDescriptionKeyboard",
2292
+ end: "endDragKeyboard"
2293
+ },
2294
+ touch: {
2295
+ start: "dragDescriptionTouch",
2296
+ end: "endDragTouch"
2297
+ },
2298
+ virtual: {
2299
+ start: "dragDescriptionVirtual",
2300
+ end: "endDragVirtual"
2301
+ }
2302
+ };
2303
+ function $8253ed7ece74b463$export$7941f8aafa4b6021(options) {
2304
+ let { hasDragButton: hasDragButton } = options;
2305
+ let stringFormatter = (0, $fP8tg$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($c530af5bd0e7e6c6$exports))));
2306
+ let state = (0, $fP8tg$useRef)({
2307
+ options: options,
2308
+ x: 0,
2309
+ y: 0
2310
+ }).current;
2311
+ state.options = options;
2312
+ let isDraggingRef = (0, $fP8tg$useRef)(false);
2313
+ let [, setDraggingState] = (0, $fP8tg$useState)(false);
2314
+ let setDragging = (isDragging)=>{
2315
+ isDraggingRef.current = isDragging;
2316
+ setDraggingState(isDragging);
2317
+ };
2318
+ let { addGlobalListener: addGlobalListener , removeAllGlobalListeners: removeAllGlobalListeners } = (0, $fP8tg$useGlobalListeners)();
2319
+ let modalityOnPointerDown = (0, $fP8tg$useRef)(null);
2320
+ let onDragStart = (e)=>{
2321
+ var _options_preview;
2322
+ if (e.defaultPrevented) return;
2323
+ // If this drag was initiated by a mobile screen reader (e.g. VoiceOver or TalkBack), enter virtual dragging mode.
2324
+ if (modalityOnPointerDown.current === "virtual") {
2325
+ e.preventDefault();
2326
+ startDragging(e.target);
2327
+ modalityOnPointerDown.current = null;
2328
+ return;
2329
+ }
2330
+ if (typeof options.onDragStart === "function") options.onDragStart({
2331
+ type: "dragstart",
2332
+ x: e.clientX,
2333
+ y: e.clientY
2334
+ });
2335
+ let items = options.getItems();
2336
+ (0, $7252cd45fc48c07c$export$f9c1490890ddd063)(e.dataTransfer, items);
2337
+ let allowed = (0, $103790afe9474d1c$export$60b7b4bcf3903d8e).all;
2338
+ if (typeof options.getAllowedDropOperations === "function") {
2339
+ let allowedOperations = options.getAllowedDropOperations();
2340
+ allowed = (0, $103790afe9474d1c$export$60b7b4bcf3903d8e).none;
2341
+ for (let operation of allowedOperations)allowed |= (0, $103790afe9474d1c$export$60b7b4bcf3903d8e)[operation] || (0, $103790afe9474d1c$export$60b7b4bcf3903d8e).none;
2342
+ }
2343
+ (0, $7252cd45fc48c07c$export$6539bc8c3a0a2d67)(allowed);
2344
+ e.dataTransfer.effectAllowed = (0, $103790afe9474d1c$export$dd0165308d8bff45)[allowed] || "none";
2345
+ // If there is a preview option, use it to render a custom preview image that will
2346
+ // appear under the pointer while dragging. If not, the element itself is dragged by the browser.
2347
+ if (typeof ((_options_preview = options.preview) === null || _options_preview === void 0 ? void 0 : _options_preview.current) === "function") options.preview.current(items, (node)=>{
2348
+ // Compute the offset that the preview will appear under the mouse.
2349
+ // If possible, this is based on the point the user clicked on the target.
2350
+ // If the preview is much smaller, then just use the center point of the preview.
2351
+ let size = node.getBoundingClientRect();
2352
+ let rect = e.currentTarget.getBoundingClientRect();
2353
+ let x = e.clientX - rect.x;
2354
+ let y = e.clientY - rect.y;
2355
+ if (x > size.width || y > size.height) {
2356
+ x = size.width / 2;
2357
+ y = size.height / 2;
2358
+ }
2359
+ // Rounding height to an even number prevents blurry preview seen on some screens
2360
+ let height = 2 * Math.round(rect.height / 2);
2361
+ node.style.height = `${height}px`;
2362
+ e.dataTransfer.setDragImage(node, x, y);
2363
+ });
2364
+ // Enforce that drops are handled by useDrop.
2365
+ addGlobalListener(window, "drop", (e)=>{
2366
+ if (!$67560de7c78cb232$export$7454aff2e161f241(e.target)) {
2367
+ e.preventDefault();
2368
+ e.stopPropagation();
2369
+ throw new Error("Drags initiated from the React Aria useDrag hook may only be dropped on a target created with useDrop. This ensures that a keyboard and screen reader accessible alternative is available.");
2370
+ }
2371
+ }, {
2372
+ capture: true,
2373
+ once: true
2374
+ });
2375
+ state.x = e.clientX;
2376
+ state.y = e.clientY;
2377
+ // Wait a frame before we set dragging to true so that the browser has time to
2378
+ // render the preview image before we update the element that has been dragged.
2379
+ requestAnimationFrame(()=>{
2380
+ setDragging(true);
2381
+ });
2382
+ };
2383
+ let onDrag = (e)=>{
2384
+ if (e.clientX === state.x && e.clientY === state.y) return;
2385
+ if (typeof options.onDragMove === "function") options.onDragMove({
2386
+ type: "dragmove",
2387
+ x: e.clientX,
2388
+ y: e.clientY
2389
+ });
2390
+ state.x = e.clientX;
2391
+ state.y = e.clientY;
2392
+ };
2393
+ let onDragEnd = (e)=>{
2394
+ if (typeof options.onDragEnd === "function") {
2395
+ let event = {
2396
+ type: "dragend",
2397
+ x: e.clientX,
2398
+ y: e.clientY,
2399
+ dropOperation: (0, $103790afe9474d1c$export$608ecc6f1b23c35d)[e.dataTransfer.dropEffect]
2400
+ };
2401
+ // Chrome Android always returns none as its dropEffect so we use the drop effect set in useDrop via
2402
+ // onDragEnter/onDragOver instead. https://bugs.chromium.org/p/chromium/issues/detail?id=1353951
2403
+ if (0, $7252cd45fc48c07c$export$8e6636520ac15722) event.dropOperation = (0, $103790afe9474d1c$export$608ecc6f1b23c35d)[0, $7252cd45fc48c07c$export$8e6636520ac15722];
2404
+ options.onDragEnd(event);
2405
+ }
2406
+ setDragging(false);
2407
+ removeAllGlobalListeners();
2408
+ (0, $7252cd45fc48c07c$export$6539bc8c3a0a2d67)((0, $103790afe9474d1c$export$60b7b4bcf3903d8e).none);
2409
+ (0, $7252cd45fc48c07c$export$64f52ed7349ddb84)(undefined);
2410
+ };
2411
+ // If the dragged element is removed from the DOM via onDrop, onDragEnd won't fire: https://bugzilla.mozilla.org/show_bug.cgi?id=460801
2412
+ // In this case, we need to manually call onDragEnd on cleanup
2413
+ // eslint-disable-next-line arrow-body-style
2414
+ (0, $fP8tg$useLayoutEffect)(()=>{
2415
+ return ()=>{
2416
+ if (isDraggingRef.current) {
2417
+ if (typeof state.options.onDragEnd === "function") {
2418
+ let event = {
2419
+ type: "dragend",
2420
+ x: 0,
2421
+ y: 0,
2422
+ dropOperation: (0, $103790afe9474d1c$export$608ecc6f1b23c35d)[(0, $7252cd45fc48c07c$export$8e6636520ac15722) || "none"]
2423
+ };
2424
+ state.options.onDragEnd(event);
2425
+ }
2426
+ setDragging(false);
2427
+ (0, $7252cd45fc48c07c$export$6539bc8c3a0a2d67)((0, $103790afe9474d1c$export$60b7b4bcf3903d8e).none);
2428
+ (0, $7252cd45fc48c07c$export$64f52ed7349ddb84)(undefined);
2429
+ }
2430
+ };
2431
+ }, [
2432
+ state
2433
+ ]);
2434
+ let onPress = (e)=>{
2435
+ if (e.pointerType !== "keyboard" && e.pointerType !== "virtual") return;
2436
+ startDragging(e.target);
2437
+ };
2438
+ let startDragging = (target)=>{
2439
+ if (typeof state.options.onDragStart === "function") {
2440
+ let rect = target.getBoundingClientRect();
2441
+ state.options.onDragStart({
2442
+ type: "dragstart",
2443
+ x: rect.x + rect.width / 2,
2444
+ y: rect.y + rect.height / 2
2445
+ });
2446
+ }
2447
+ $67560de7c78cb232$export$549dbcf8649bf3b2({
2448
+ element: target,
2449
+ items: state.options.getItems(),
2450
+ allowedDropOperations: typeof state.options.getAllowedDropOperations === "function" ? state.options.getAllowedDropOperations() : [
2451
+ "move",
2452
+ "copy",
2453
+ "link"
2454
+ ],
2455
+ onDragEnd (e) {
2456
+ setDragging(false);
2457
+ if (typeof state.options.onDragEnd === "function") state.options.onDragEnd(e);
2458
+ }
2459
+ }, stringFormatter);
2460
+ setDragging(true);
2461
+ };
2462
+ let modality = (0, $7252cd45fc48c07c$export$49bac5d6d4b352ea)();
2463
+ let message = !isDraggingRef.current ? $8253ed7ece74b463$var$MESSAGES[modality].start : $8253ed7ece74b463$var$MESSAGES[modality].end;
2464
+ let descriptionProps = (0, $fP8tg$useDescription)(stringFormatter.format(message));
2465
+ let interactions;
2466
+ if (!hasDragButton) // If there's no separate button to trigger accessible drag and drop mode,
2467
+ // then add event handlers to the draggable element itself to start dragging.
2468
+ // For keyboard, we use the Enter key in a capturing listener to prevent other
2469
+ // events such as selection from also occurring. We attempt to infer whether a
2470
+ // pointer event (e.g. long press) came from a touch screen reader, and then initiate
2471
+ // dragging in the native onDragStart listener above.
2472
+ interactions = {
2473
+ ...descriptionProps,
2474
+ onPointerDown (e) {
2475
+ modalityOnPointerDown.current = (0, $fP8tg$isVirtualPointerEvent)(e.nativeEvent) ? "virtual" : e.pointerType;
2476
+ // Try to detect virtual drag passthrough gestures.
2477
+ if (e.width < 1 && e.height < 1) // iOS VoiceOver.
2478
+ modalityOnPointerDown.current = "virtual";
2479
+ else {
2480
+ let rect = e.currentTarget.getBoundingClientRect();
2481
+ let offsetX = e.clientX - rect.x;
2482
+ let offsetY = e.clientY - rect.y;
2483
+ let centerX = rect.width / 2;
2484
+ let centerY = rect.height / 2;
2485
+ if (Math.abs(offsetX - centerX) <= 0.5 && Math.abs(offsetY - centerY) <= 0.5) // Android TalkBack.
2486
+ modalityOnPointerDown.current = "virtual";
2487
+ else modalityOnPointerDown.current = e.pointerType;
2488
+ }
2489
+ },
2490
+ onKeyDownCapture (e) {
2491
+ if (e.target === e.currentTarget && e.key === "Enter") {
2492
+ e.preventDefault();
2493
+ e.stopPropagation();
2494
+ }
2495
+ },
2496
+ onKeyUpCapture (e) {
2497
+ if (e.target === e.currentTarget && e.key === "Enter") {
2498
+ e.preventDefault();
2499
+ e.stopPropagation();
2500
+ startDragging(e.target);
2501
+ }
2502
+ },
2503
+ onClick (e) {
2504
+ // Handle NVDA/JAWS in browse mode, and touch screen readers. In this case, no keyboard events are fired.
2505
+ if ((0, $fP8tg$isVirtualClick)(e.nativeEvent) || modalityOnPointerDown.current === "virtual") {
2506
+ e.preventDefault();
2507
+ e.stopPropagation();
2508
+ startDragging(e.target);
2509
+ }
2510
+ }
2511
+ };
2512
+ return {
2513
+ dragProps: {
2514
+ ...interactions,
2515
+ draggable: "true",
2516
+ onDragStart: onDragStart,
2517
+ onDrag: onDrag,
2518
+ onDragEnd: onDragEnd
2519
+ },
2520
+ dragButtonProps: {
2521
+ ...descriptionProps,
2522
+ onPress: onPress
2523
+ },
2524
+ isDragging: isDraggingRef.current
2525
+ };
2526
+ }
2527
+
2528
+
2529
+ /*
2530
+ * Copyright 2020 Adobe. All rights reserved.
2531
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
2532
+ * you may not use this file except in compliance with the License. You may obtain a copy
2533
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
2534
+ *
2535
+ * Unless required by applicable law or agreed to in writing, software distributed under
2536
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
2537
+ * OF ANY KIND, either express or implied. See the License for the specific language
2538
+ * governing permissions and limitations under the License.
2539
+ */
2540
+
2541
+
2542
+
2543
+
2544
+ /*
2545
+ * Copyright 2020 Adobe. All rights reserved.
2546
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
2547
+ * you may not use this file except in compliance with the License. You may obtain a copy
2548
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
2549
+ *
2550
+ * Unless required by applicable law or agreed to in writing, software distributed under
2551
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
2552
+ * OF ANY KIND, either express or implied. See the License for the specific language
2553
+ * governing permissions and limitations under the License.
2554
+ */
2555
+
2556
+
2557
+
2558
+
2559
+ const $224594fe3e57ff1e$var$MESSAGES = {
2560
+ keyboard: "dropDescriptionKeyboard",
2561
+ touch: "dropDescriptionTouch",
2562
+ virtual: "dropDescriptionVirtual"
2563
+ };
2564
+ function $224594fe3e57ff1e$export$62447ad3d2ec7da6() {
2565
+ let stringFormatter = (0, $fP8tg$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($c530af5bd0e7e6c6$exports))));
2566
+ let modality = (0, $7252cd45fc48c07c$export$49bac5d6d4b352ea)();
2567
+ let dragSession = $67560de7c78cb232$export$418e185dd3f1b968();
2568
+ let descriptionProps = (0, $fP8tg$useDescription)(dragSession ? stringFormatter.format($224594fe3e57ff1e$var$MESSAGES[modality]) : "");
2569
+ return {
2570
+ dropProps: {
2571
+ ...descriptionProps,
2572
+ // Mobile Safari does not properly bubble click events on elements except links or inputs
2573
+ // unless there is an onclick handler bound directly to the element itself. By adding this
2574
+ // handler, React will take care of adding that for us, and we are able to handle document
2575
+ // level click events in the DragManager.
2576
+ // See https://www.quirksmode.org/blog/archives/2010/09/click_event_del.html
2577
+ onClick: ()=>{}
2578
+ }
2579
+ };
2580
+ }
2581
+
2582
+
2583
+ const $5c06e4929e123553$var$DROP_ACTIVATE_TIMEOUT = 800;
2584
+ function $5c06e4929e123553$export$ccdee5eaf73cf661(options) {
2585
+ let [isDropTarget, setDropTarget] = (0, $fP8tg$useState)(false);
2586
+ let state = (0, $fP8tg$useRef)({
2587
+ x: 0,
2588
+ y: 0,
2589
+ dragOverElements: new Set(),
2590
+ dropEffect: "none",
2591
+ allowedOperations: (0, $103790afe9474d1c$export$60b7b4bcf3903d8e).all,
2592
+ dropActivateTimer: null
2593
+ }).current;
2594
+ let fireDropEnter = (e)=>{
2595
+ setDropTarget(true);
2596
+ if (typeof options.onDropEnter === "function") {
2597
+ let rect = e.currentTarget.getBoundingClientRect();
2598
+ options.onDropEnter({
2599
+ type: "dropenter",
2600
+ x: e.clientX - rect.x,
2601
+ y: e.clientY - rect.y
2602
+ });
2603
+ }
2604
+ };
2605
+ let fireDropExit = (e)=>{
2606
+ setDropTarget(false);
2607
+ if (typeof options.onDropExit === "function") {
2608
+ let rect = e.currentTarget.getBoundingClientRect();
2609
+ options.onDropExit({
2610
+ type: "dropexit",
2611
+ x: e.clientX - rect.x,
2612
+ y: e.clientY - rect.y
2613
+ });
2614
+ }
2615
+ };
2616
+ let onDragOver = (e)=>{
2617
+ e.preventDefault();
2618
+ e.stopPropagation();
2619
+ let allowedOperations = $5c06e4929e123553$var$getAllowedOperations(e);
2620
+ if (e.clientX === state.x && e.clientY === state.y && allowedOperations === state.allowedOperations) {
2621
+ e.dataTransfer.dropEffect = state.dropEffect;
2622
+ return;
2623
+ }
2624
+ state.x = e.clientX;
2625
+ state.y = e.clientY;
2626
+ let prevDropEffect = state.dropEffect;
2627
+ // Update drop effect if allowed drop operations changed (e.g. user pressed modifier key).
2628
+ if (allowedOperations !== state.allowedOperations) {
2629
+ let allowedOps = $5c06e4929e123553$var$allowedOperationsToArray(allowedOperations);
2630
+ let dropOperation = allowedOps[0];
2631
+ if (typeof options.getDropOperation === "function") {
2632
+ let types = new (0, $7252cd45fc48c07c$export$7f04ce188c91447c)(e.dataTransfer);
2633
+ dropOperation = $5c06e4929e123553$var$getDropOperation(allowedOperations, options.getDropOperation(types, allowedOps));
2634
+ }
2635
+ state.dropEffect = (0, $103790afe9474d1c$export$5eacb0769d26d3b2)[dropOperation] || "none";
2636
+ }
2637
+ if (typeof options.getDropOperationForPoint === "function") {
2638
+ let types1 = new (0, $7252cd45fc48c07c$export$7f04ce188c91447c)(e.dataTransfer);
2639
+ let rect = e.currentTarget.getBoundingClientRect();
2640
+ let dropOperation1 = $5c06e4929e123553$var$getDropOperation(allowedOperations, options.getDropOperationForPoint(types1, $5c06e4929e123553$var$allowedOperationsToArray(allowedOperations), state.x - rect.x, state.y - rect.y));
2641
+ state.dropEffect = (0, $103790afe9474d1c$export$5eacb0769d26d3b2)[dropOperation1] || "none";
2642
+ }
2643
+ state.allowedOperations = allowedOperations;
2644
+ e.dataTransfer.dropEffect = state.dropEffect;
2645
+ // If the drop operation changes, update state and fire events appropriately.
2646
+ if (state.dropEffect === "none" && prevDropEffect !== "none") fireDropExit(e);
2647
+ else if (state.dropEffect !== "none" && prevDropEffect === "none") fireDropEnter(e);
2648
+ if (typeof options.onDropMove === "function" && state.dropEffect !== "none") {
2649
+ let rect1 = e.currentTarget.getBoundingClientRect();
2650
+ options.onDropMove({
2651
+ type: "dropmove",
2652
+ x: state.x - rect1.x,
2653
+ y: state.y - rect1.y
2654
+ });
2655
+ }
2656
+ clearTimeout(state.dropActivateTimer);
2657
+ if (typeof options.onDropActivate === "function" && state.dropEffect !== "none") {
2658
+ let rect2 = e.currentTarget.getBoundingClientRect();
2659
+ state.dropActivateTimer = setTimeout(()=>{
2660
+ options.onDropActivate({
2661
+ type: "dropactivate",
2662
+ x: state.x - rect2.x,
2663
+ y: state.y - rect2.y
2664
+ });
2665
+ }, $5c06e4929e123553$var$DROP_ACTIVATE_TIMEOUT);
2666
+ }
2667
+ };
2668
+ let onDragEnter = (e)=>{
2669
+ e.preventDefault();
2670
+ e.stopPropagation();
2671
+ state.dragOverElements.add(e.target);
2672
+ if (state.dragOverElements.size > 1) return;
2673
+ let allowedOperationsBits = $5c06e4929e123553$var$getAllowedOperations(e);
2674
+ let allowedOperations = $5c06e4929e123553$var$allowedOperationsToArray(allowedOperationsBits);
2675
+ let dropOperation = allowedOperations[0];
2676
+ if (typeof options.getDropOperation === "function") {
2677
+ let types = new (0, $7252cd45fc48c07c$export$7f04ce188c91447c)(e.dataTransfer);
2678
+ dropOperation = $5c06e4929e123553$var$getDropOperation(allowedOperationsBits, options.getDropOperation(types, allowedOperations));
2679
+ }
2680
+ if (typeof options.getDropOperationForPoint === "function") {
2681
+ let types1 = new (0, $7252cd45fc48c07c$export$7f04ce188c91447c)(e.dataTransfer);
2682
+ let rect = e.currentTarget.getBoundingClientRect();
2683
+ dropOperation = $5c06e4929e123553$var$getDropOperation(allowedOperationsBits, options.getDropOperationForPoint(types1, allowedOperations, e.clientX - rect.x, e.clientY - rect.y));
2684
+ }
2685
+ state.x = e.clientX;
2686
+ state.y = e.clientY;
2687
+ state.allowedOperations = allowedOperationsBits;
2688
+ state.dropEffect = (0, $103790afe9474d1c$export$5eacb0769d26d3b2)[dropOperation] || "none";
2689
+ e.dataTransfer.dropEffect = state.dropEffect;
2690
+ if (dropOperation !== "cancel") fireDropEnter(e);
2691
+ };
2692
+ let onDragLeave = (e)=>{
2693
+ e.preventDefault();
2694
+ e.stopPropagation();
2695
+ // We would use e.relatedTarget to detect if the drag is still inside the drop target,
2696
+ // but it is always null in WebKit. https://bugs.webkit.org/show_bug.cgi?id=66547
2697
+ // Instead, we track all of the targets of dragenter events in a set, and remove them
2698
+ // in dragleave. When the set becomes empty, we've left the drop target completely.
2699
+ // We must also remove any elements that are no longer in the DOM, because dragleave
2700
+ // events will never be fired for these. This can happen, for example, with drop
2701
+ // indicators between items, which disappear when the drop target changes.
2702
+ state.dragOverElements.delete(e.target);
2703
+ for (let element of state.dragOverElements)if (!e.currentTarget.contains(element)) state.dragOverElements.delete(element);
2704
+ if (state.dragOverElements.size > 0) return;
2705
+ if (state.dropEffect !== "none") fireDropExit(e);
2706
+ clearTimeout(state.dropActivateTimer);
2707
+ };
2708
+ let onDrop = (e)=>{
2709
+ e.preventDefault();
2710
+ e.stopPropagation();
2711
+ // Track drop effect in global state for Chrome Android. https://bugs.chromium.org/p/chromium/issues/detail?id=1353951
2712
+ // Android onDragEnd always returns "none" as its drop effect.
2713
+ (0, $7252cd45fc48c07c$export$64f52ed7349ddb84)(state.dropEffect);
2714
+ if (typeof options.onDrop === "function") {
2715
+ let dropOperation = (0, $103790afe9474d1c$export$608ecc6f1b23c35d)[state.dropEffect];
2716
+ let items = (0, $7252cd45fc48c07c$export$d9e760437831f8b3)(e.dataTransfer);
2717
+ let rect = e.currentTarget.getBoundingClientRect();
2718
+ let event = {
2719
+ type: "drop",
2720
+ x: e.clientX - rect.x,
2721
+ y: e.clientY - rect.y,
2722
+ items: items,
2723
+ dropOperation: dropOperation
2724
+ };
2725
+ options.onDrop(event);
2726
+ }
2727
+ let dndStateSnapshot = {
2728
+ ...(0, $7252cd45fc48c07c$export$6ca6700462636d0b)
2729
+ };
2730
+ state.dragOverElements.clear();
2731
+ fireDropExit(e);
2732
+ clearTimeout(state.dropActivateTimer);
2733
+ // If there wasn't a collection being tracked as a dragged collection, then we are in a case where a non RSP drag is dropped on a
2734
+ // RSP collection and thus we don't need to preserve the global drop effect
2735
+ if (dndStateSnapshot.draggingCollectionRef == null) (0, $7252cd45fc48c07c$export$64f52ed7349ddb84)(undefined);
2736
+ else // Otherwise we need to preserve the global dnd state for onDragEnd's isInternal check.
2737
+ // At the moment fireDropExit may clear dropCollectionRef (i.e. useDroppableCollection's provided onDropExit, required to clear dropCollectionRef when exiting a valid drop target)
2738
+ (0, $7252cd45fc48c07c$export$6c10d32b362bfa5f)(dndStateSnapshot);
2739
+ };
2740
+ let optionsRef = (0, $fP8tg$useRef)(options);
2741
+ optionsRef.current = options;
2742
+ (0, $fP8tg$useLayoutEffect)(()=>$67560de7c78cb232$export$c28d9fb4a54e471a({
2743
+ element: optionsRef.current.ref.current,
2744
+ getDropOperation: optionsRef.current.getDropOperation,
2745
+ onDropEnter (e) {
2746
+ setDropTarget(true);
2747
+ if (typeof optionsRef.current.onDropEnter === "function") optionsRef.current.onDropEnter(e);
2748
+ },
2749
+ onDropExit (e) {
2750
+ setDropTarget(false);
2751
+ if (typeof optionsRef.current.onDropExit === "function") optionsRef.current.onDropExit(e);
2752
+ },
2753
+ onDrop (e) {
2754
+ if (typeof optionsRef.current.onDrop === "function") optionsRef.current.onDrop(e);
2755
+ },
2756
+ onDropActivate (e) {
2757
+ if (typeof optionsRef.current.onDropActivate === "function") optionsRef.current.onDropActivate(e);
2758
+ }
2759
+ }), [
2760
+ optionsRef
2761
+ ]);
2762
+ let { dropProps: dropProps } = (0, $224594fe3e57ff1e$export$62447ad3d2ec7da6)();
2763
+ return {
2764
+ dropProps: {
2765
+ ...dropProps,
2766
+ onDragEnter: onDragEnter,
2767
+ onDragOver: onDragOver,
2768
+ onDragLeave: onDragLeave,
2769
+ onDrop: onDrop
2770
+ },
2771
+ isDropTarget: isDropTarget
2772
+ };
2773
+ }
2774
+ function $5c06e4929e123553$var$getAllowedOperations(e) {
2775
+ let allowedOperations = (0, $103790afe9474d1c$export$9bbdfc78cf083e16)[e.dataTransfer.effectAllowed];
2776
+ // WebKit always sets effectAllowed to "copyMove" on macOS, and "all" on iOS, regardless of what was
2777
+ // set during the dragstart event: https://bugs.webkit.org/show_bug.cgi?id=178058
2778
+ //
2779
+ // Android Chrome also sets effectAllowed to "copyMove" in all cases: https://bugs.chromium.org/p/chromium/issues/detail?id=1359182
2780
+ //
2781
+ // If the drag started within the page, we can use a global variable to get the real allowed operations.
2782
+ // This needs to be intersected with the actual effectAllowed, which may have been filtered based on modifier keys.
2783
+ // Unfortunately, this means that link operations do not work at all in Safari.
2784
+ if (0, $7252cd45fc48c07c$export$f0130eb70b6347b8) allowedOperations &= (0, $7252cd45fc48c07c$export$f0130eb70b6347b8);
2785
+ // Chrome and Safari on macOS will automatically filter effectAllowed when pressing modifier keys,
2786
+ // allowing the user to switch between move, link, and copy operations. Firefox on macOS and all
2787
+ // Windows browsers do not do this, so do it ourselves instead. The exact keys are platform dependent.
2788
+ // https://ux.stackexchange.com/questions/83748/what-are-the-most-common-modifier-keys-for-dragging-objects-with-a-mouse
2789
+ //
2790
+ // Note that none of these modifiers are ever set in WebKit due to a bug: https://bugs.webkit.org/show_bug.cgi?id=77465
2791
+ // However, Safari does update effectAllowed correctly, so we can just rely on that.
2792
+ let allowedModifiers = (0, $103790afe9474d1c$export$60b7b4bcf3903d8e).none;
2793
+ if ((0, $fP8tg$isMac)()) {
2794
+ if (e.altKey) allowedModifiers |= (0, $103790afe9474d1c$export$60b7b4bcf3903d8e).copy;
2795
+ // Chrome and Safari both use the Control key for link, even though Finder uses Command + Option.
2796
+ // iPadOS doesn't support link operations and will not fire the drop event at all if dropEffect is set to link.
2797
+ // https://bugs.webkit.org/show_bug.cgi?id=244701
2798
+ if (e.ctrlKey && !(0, $fP8tg$isIPad)()) allowedModifiers |= (0, $103790afe9474d1c$export$60b7b4bcf3903d8e).link;
2799
+ if (e.metaKey) allowedModifiers |= (0, $103790afe9474d1c$export$60b7b4bcf3903d8e).move;
2800
+ } else {
2801
+ if (e.altKey) allowedModifiers |= (0, $103790afe9474d1c$export$60b7b4bcf3903d8e).link;
2802
+ if (e.shiftKey) allowedModifiers |= (0, $103790afe9474d1c$export$60b7b4bcf3903d8e).move;
2803
+ if (e.ctrlKey) allowedModifiers |= (0, $103790afe9474d1c$export$60b7b4bcf3903d8e).copy;
2804
+ }
2805
+ if (allowedModifiers) return allowedOperations & allowedModifiers;
2806
+ return allowedOperations;
2807
+ }
2808
+ function $5c06e4929e123553$var$allowedOperationsToArray(allowedOperationsBits) {
2809
+ let allowedOperations = [];
2810
+ if (allowedOperationsBits & (0, $103790afe9474d1c$export$60b7b4bcf3903d8e).move) allowedOperations.push("move");
2811
+ if (allowedOperationsBits & (0, $103790afe9474d1c$export$60b7b4bcf3903d8e).copy) allowedOperations.push("copy");
2812
+ if (allowedOperationsBits & (0, $103790afe9474d1c$export$60b7b4bcf3903d8e).link) allowedOperations.push("link");
2813
+ return allowedOperations;
2814
+ }
2815
+ function $5c06e4929e123553$var$getDropOperation(allowedOperations, operation) {
2816
+ let op = (0, $103790afe9474d1c$export$60b7b4bcf3903d8e)[operation];
2817
+ return allowedOperations & op ? operation : "cancel";
2818
+ }
2819
+
2820
+
2821
+ /*
2822
+ * Copyright 2020 Adobe. All rights reserved.
2823
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
2824
+ * you may not use this file except in compliance with the License. You may obtain a copy
2825
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
2826
+ *
2827
+ * Unless required by applicable law or agreed to in writing, software distributed under
2828
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
2829
+ * OF ANY KIND, either express or implied. See the License for the specific language
2830
+ * governing permissions and limitations under the License.
2831
+ */
2832
+
2833
+
2834
+
2835
+
2836
+ /*
2837
+ * Copyright 2020 Adobe. All rights reserved.
2838
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
2839
+ * you may not use this file except in compliance with the License. You may obtain a copy
2840
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
2841
+ *
2842
+ * Unless required by applicable law or agreed to in writing, software distributed under
2843
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
2844
+ * OF ANY KIND, either express or implied. See the License for the specific language
2845
+ * governing permissions and limitations under the License.
2846
+ */
2847
+
2848
+ const $80d9daea3067eff3$var$AUTOSCROLL_AREA_SIZE = 20;
2849
+ function $80d9daea3067eff3$export$6323452ca4533ed8(ref) {
2850
+ let scrollableRef = (0, $fP8tg$useRef)(null);
2851
+ (0, $fP8tg$useEffect)(()=>{
2852
+ if (ref.current) scrollableRef.current = (0, $fP8tg$isScrollable)(ref.current) ? ref.current : (0, $fP8tg$getScrollParent)(ref.current);
2853
+ }, [
2854
+ ref
2855
+ ]);
2856
+ let state = (0, $fP8tg$useRef)({
2857
+ timer: null,
2858
+ dx: 0,
2859
+ dy: 0
2860
+ }).current;
2861
+ let scroll = (0, $fP8tg$useCallback)(()=>{
2862
+ scrollableRef.current.scrollLeft += state.dx;
2863
+ scrollableRef.current.scrollTop += state.dy;
2864
+ if (state.timer) state.timer = requestAnimationFrame(scroll);
2865
+ }, [
2866
+ scrollableRef,
2867
+ state
2868
+ ]);
2869
+ return {
2870
+ move (x, y) {
2871
+ // Most browsers auto scroll natively, but WebKit on macOS does not (iOS does 🤷‍♂️).
2872
+ // https://bugs.webkit.org/show_bug.cgi?id=222636
2873
+ if (!(0, $fP8tg$isWebKit)() || (0, $fP8tg$isIOS)() || !scrollableRef.current) return;
2874
+ let box = scrollableRef.current.getBoundingClientRect();
2875
+ let left = $80d9daea3067eff3$var$AUTOSCROLL_AREA_SIZE;
2876
+ let top = $80d9daea3067eff3$var$AUTOSCROLL_AREA_SIZE;
2877
+ let bottom = box.height - $80d9daea3067eff3$var$AUTOSCROLL_AREA_SIZE;
2878
+ let right = box.width - $80d9daea3067eff3$var$AUTOSCROLL_AREA_SIZE;
2879
+ if (x < left || x > right || y < top || y > bottom) {
2880
+ if (x < left) state.dx = x - left;
2881
+ else if (x > right) state.dx = x - right;
2882
+ if (y < top) state.dy = y - top;
2883
+ else if (y > bottom) state.dy = y - bottom;
2884
+ if (!state.timer) state.timer = requestAnimationFrame(scroll);
2885
+ } else this.stop();
2886
+ },
2887
+ stop () {
2888
+ if (state.timer) {
2889
+ cancelAnimationFrame(state.timer);
2890
+ state.timer = null;
2891
+ }
2892
+ }
2893
+ };
2894
+ }
2895
+
2896
+
2897
+
2898
+ const $4b52e4eff84e5217$var$DROP_POSITIONS = [
2899
+ "before",
2900
+ "on",
2901
+ "after"
2902
+ ];
2903
+ function $4b52e4eff84e5217$export$f4e2f423c21f7b04(props, state, ref) {
2904
+ let localState = (0, $fP8tg$useRef)({
2905
+ props: props,
2906
+ state: state,
2907
+ nextTarget: null,
2908
+ dropOperation: null
2909
+ }).current;
2910
+ localState.props = props;
2911
+ localState.state = state;
2912
+ let defaultOnDrop = (0, $fP8tg$useCallback)(async (e)=>{
2913
+ let { onInsert: onInsert , onRootDrop: onRootDrop , onItemDrop: onItemDrop , onReorder: onReorder , acceptedDragTypes: acceptedDragTypes = "all" , shouldAcceptItemDrop: shouldAcceptItemDrop } = localState.props;
2914
+ let { draggingKeys: draggingKeys } = (0, $7252cd45fc48c07c$export$6ca6700462636d0b);
2915
+ let isInternal = (0, $7252cd45fc48c07c$export$78bf638634500fa5)(ref);
2916
+ let { target: target , dropOperation: dropOperation , items: items } = e;
2917
+ let filteredItems = items;
2918
+ if (acceptedDragTypes !== "all" || shouldAcceptItemDrop) filteredItems = items.filter((item)=>{
2919
+ let itemTypes;
2920
+ if (item.kind === "directory") itemTypes = new Set([
2921
+ (0, $7252cd45fc48c07c$export$990fced5dfac2637)
2922
+ ]);
2923
+ else itemTypes = item.kind === "file" ? new Set([
2924
+ item.type
2925
+ ]) : item.types;
2926
+ if (acceptedDragTypes === "all" || acceptedDragTypes.some((type)=>itemTypes.has(type))) {
2927
+ // If we are performing a on item drop, check if the item in question accepts the dropped item since the item may have heavier restrictions
2928
+ // than the droppable collection itself
2929
+ if (target.type === "item" && target.dropPosition === "on" && shouldAcceptItemDrop) return shouldAcceptItemDrop(target, itemTypes);
2930
+ return true;
2931
+ }
2932
+ return false;
2933
+ });
2934
+ if (filteredItems.length > 0) {
2935
+ if (target.type === "root" && onRootDrop) await onRootDrop({
2936
+ items: filteredItems,
2937
+ dropOperation: dropOperation
2938
+ });
2939
+ if (target.type === "item") {
2940
+ if (target.dropPosition === "on" && onItemDrop) await onItemDrop({
2941
+ items: filteredItems,
2942
+ dropOperation: dropOperation,
2943
+ isInternal: isInternal,
2944
+ target: target
2945
+ });
2946
+ if (target.dropPosition !== "on") {
2947
+ if (!isInternal && onInsert) await onInsert({
2948
+ items: filteredItems,
2949
+ dropOperation: dropOperation,
2950
+ target: target
2951
+ });
2952
+ if (isInternal && onReorder) await onReorder({
2953
+ keys: draggingKeys,
2954
+ dropOperation: dropOperation,
2955
+ target: target
2956
+ });
2957
+ }
2958
+ }
2959
+ }
2960
+ }, [
2961
+ localState,
2962
+ ref
2963
+ ]);
2964
+ let autoScroll = (0, $80d9daea3067eff3$export$6323452ca4533ed8)(ref);
2965
+ let { dropProps: dropProps } = (0, $5c06e4929e123553$export$ccdee5eaf73cf661)({
2966
+ ref: ref,
2967
+ onDropEnter () {
2968
+ state.setTarget(localState.nextTarget);
2969
+ },
2970
+ onDropMove (e) {
2971
+ state.setTarget(localState.nextTarget);
2972
+ autoScroll.move(e.x, e.y);
2973
+ },
2974
+ getDropOperationForPoint (types, allowedOperations, x, y) {
2975
+ let { draggingKeys: draggingKeys , dropCollectionRef: dropCollectionRef } = (0, $7252cd45fc48c07c$export$6ca6700462636d0b);
2976
+ let isInternal = (0, $7252cd45fc48c07c$export$78bf638634500fa5)(ref);
2977
+ let isValidDropTarget = (target)=>state.getDropOperation({
2978
+ target: target,
2979
+ types: types,
2980
+ allowedOperations: allowedOperations,
2981
+ isInternal: isInternal,
2982
+ draggingKeys: draggingKeys
2983
+ }) !== "cancel";
2984
+ let target = props.dropTargetDelegate.getDropTargetFromPoint(x, y, isValidDropTarget);
2985
+ if (!target) {
2986
+ localState.dropOperation = "cancel";
2987
+ localState.nextTarget = null;
2988
+ return "cancel";
2989
+ }
2990
+ localState.dropOperation = state.getDropOperation({
2991
+ target: target,
2992
+ types: types,
2993
+ allowedOperations: allowedOperations,
2994
+ isInternal: isInternal,
2995
+ draggingKeys: draggingKeys
2996
+ });
2997
+ // If the target doesn't accept the drop, see if the root accepts it instead.
2998
+ if (localState.dropOperation === "cancel") {
2999
+ let rootTarget = {
3000
+ type: "root"
3001
+ };
3002
+ let dropOperation = state.getDropOperation({
3003
+ target: rootTarget,
3004
+ types: types,
3005
+ allowedOperations: allowedOperations,
3006
+ isInternal: isInternal,
3007
+ draggingKeys: draggingKeys
3008
+ });
3009
+ if (dropOperation !== "cancel") {
3010
+ target = rootTarget;
3011
+ localState.dropOperation = dropOperation;
3012
+ }
3013
+ }
3014
+ // Only set dropCollectionRef if there is a valid drop target since we cleanup dropCollectionRef in onDropExit
3015
+ // which only runs when leaving a valid drop target or if the dropEffect become none (mouse dnd only).
3016
+ if (target && localState.dropOperation !== "cancel" && (ref === null || ref === void 0 ? void 0 : ref.current) !== (dropCollectionRef === null || dropCollectionRef === void 0 ? void 0 : dropCollectionRef.current)) (0, $7252cd45fc48c07c$export$dac8db29d42db9a1)(ref);
3017
+ localState.nextTarget = localState.dropOperation === "cancel" ? null : target;
3018
+ return localState.dropOperation;
3019
+ },
3020
+ onDropExit () {
3021
+ (0, $7252cd45fc48c07c$export$dac8db29d42db9a1)(undefined);
3022
+ state.setTarget(null);
3023
+ autoScroll.stop();
3024
+ },
3025
+ onDropActivate (e) {
3026
+ var _state_target, _state_target1;
3027
+ if (((_state_target = state.target) === null || _state_target === void 0 ? void 0 : _state_target.type) === "item" && ((_state_target1 = state.target) === null || _state_target1 === void 0 ? void 0 : _state_target1.dropPosition) === "on" && typeof props.onDropActivate === "function") props.onDropActivate({
3028
+ type: "dropactivate",
3029
+ x: e.x,
3030
+ y: e.y,
3031
+ target: state.target
3032
+ });
3033
+ },
3034
+ onDrop (e) {
3035
+ (0, $7252cd45fc48c07c$export$dac8db29d42db9a1)(ref);
3036
+ if (state.target) onDrop(e, state.target);
3037
+ // If there wasn't a collection being tracked as a dragged collection, then we are in a case where a non RSP drag is dropped on a
3038
+ // RSP collection and thus we don't need to preserve the global DnD state for onDragEnd
3039
+ let { draggingCollectionRef: draggingCollectionRef } = (0, $7252cd45fc48c07c$export$6ca6700462636d0b);
3040
+ if (draggingCollectionRef == null) (0, $7252cd45fc48c07c$export$70936501603e6c57)();
3041
+ }
3042
+ });
3043
+ let droppingState = (0, $fP8tg$useRef)(null);
3044
+ let onDrop = (0, $fP8tg$useCallback)((e, target)=>{
3045
+ let { state: state } = localState;
3046
+ // Focus the collection.
3047
+ state.selectionManager.setFocused(true);
3048
+ // Save some state of the collection/selection before the drop occurs so we can compare later.
3049
+ let focusedKey = state.selectionManager.focusedKey;
3050
+ droppingState.current = {
3051
+ timeout: null,
3052
+ focusedKey: focusedKey,
3053
+ collection: state.collection,
3054
+ selectedKeys: state.selectionManager.selectedKeys
3055
+ };
3056
+ let onDropFn = localState.props.onDrop || defaultOnDrop;
3057
+ onDropFn({
3058
+ type: "drop",
3059
+ x: e.x,
3060
+ y: e.y,
3061
+ target: target,
3062
+ items: e.items,
3063
+ dropOperation: e.dropOperation
3064
+ });
3065
+ // Wait for a short time period after the onDrop is called to allow the data to be read asynchronously
3066
+ // and for React to re-render. If an insert occurs during this time, it will be selected/focused below.
3067
+ // If items are not "immediately" inserted by the onDrop handler, the application will need to handle
3068
+ // selecting and focusing those items themselves.
3069
+ droppingState.current.timeout = setTimeout(()=>{
3070
+ // If focus didn't move already (e.g. due to an insert), and the user dropped on an item,
3071
+ // focus that item and show the focus ring to give the user feedback that the drop occurred.
3072
+ // Also show the focus ring if the focused key is not selected, e.g. in case of a reorder.
3073
+ let { state: state } = localState;
3074
+ if (target.type === "item" && target.dropPosition === "on" && state.collection.getItem(target.key) != null) {
3075
+ state.selectionManager.setFocusedKey(target.key);
3076
+ state.selectionManager.setFocused(true);
3077
+ (0, $fP8tg$setInteractionModality)("keyboard");
3078
+ } else if (!state.selectionManager.isSelected(focusedKey)) (0, $fP8tg$setInteractionModality)("keyboard");
3079
+ droppingState.current = null;
3080
+ }, 50);
3081
+ }, [
3082
+ localState,
3083
+ defaultOnDrop
3084
+ ]);
3085
+ // eslint-disable-next-line arrow-body-style
3086
+ (0, $fP8tg$useEffect)(()=>{
3087
+ return ()=>{
3088
+ if (droppingState.current) clearTimeout(droppingState.current.timeout);
3089
+ };
3090
+ }, []);
3091
+ (0, $fP8tg$useLayoutEffect)(()=>{
3092
+ // If an insert occurs during a drop, we want to immediately select these items to give
3093
+ // feedback to the user that a drop occurred. Only do this if the selection didn't change
3094
+ // since the drop started so we don't override if the user or application did something.
3095
+ if (droppingState.current && state.selectionManager.isFocused && state.collection.size > droppingState.current.collection.size && state.selectionManager.isSelectionEqual(droppingState.current.selectedKeys)) {
3096
+ let newKeys = new Set();
3097
+ for (let key of state.collection.getKeys())if (!droppingState.current.collection.getItem(key)) newKeys.add(key);
3098
+ state.selectionManager.setSelectedKeys(newKeys);
3099
+ // If the focused item didn't change since the drop occurred, also focus the first
3100
+ // inserted item. If selection is disabled, then also show the focus ring so there
3101
+ // is some indication that items were added.
3102
+ if (state.selectionManager.focusedKey === droppingState.current.focusedKey) {
3103
+ let first = newKeys.keys().next().value;
3104
+ state.selectionManager.setFocusedKey(first);
3105
+ if (state.selectionManager.selectionMode === "none") (0, $fP8tg$setInteractionModality)("keyboard");
3106
+ }
3107
+ droppingState.current = null;
3108
+ }
3109
+ });
3110
+ (0, $fP8tg$useEffect)(()=>{
3111
+ let getNextTarget = (target, wrap = true)=>{
3112
+ if (!target) return {
3113
+ type: "root"
3114
+ };
3115
+ let { keyboardDelegate: keyboardDelegate } = localState.props;
3116
+ let nextKey = target.type === "item" ? keyboardDelegate.getKeyBelow(target.key) : keyboardDelegate.getFirstKey();
3117
+ let dropPosition = "before";
3118
+ if (target.type === "item") {
3119
+ let positionIndex = $4b52e4eff84e5217$var$DROP_POSITIONS.indexOf(target.dropPosition);
3120
+ let nextDropPosition = $4b52e4eff84e5217$var$DROP_POSITIONS[positionIndex + 1];
3121
+ if (positionIndex < $4b52e4eff84e5217$var$DROP_POSITIONS.length - 1 && !(nextDropPosition === "after" && nextKey != null)) return {
3122
+ type: "item",
3123
+ key: target.key,
3124
+ dropPosition: nextDropPosition
3125
+ };
3126
+ // If the last drop position was 'after', then 'before' on the next key is equivalent.
3127
+ // Switch to 'on' instead.
3128
+ if (target.dropPosition === "after") dropPosition = "on";
3129
+ }
3130
+ if (nextKey == null) {
3131
+ if (wrap) return {
3132
+ type: "root"
3133
+ };
3134
+ return null;
3135
+ }
3136
+ return {
3137
+ type: "item",
3138
+ key: nextKey,
3139
+ dropPosition: dropPosition
3140
+ };
3141
+ };
3142
+ let getPreviousTarget = (target, wrap = true)=>{
3143
+ let { keyboardDelegate: keyboardDelegate } = localState.props;
3144
+ let nextKey = (target === null || target === void 0 ? void 0 : target.type) === "item" ? keyboardDelegate.getKeyAbove(target.key) : keyboardDelegate.getLastKey();
3145
+ let dropPosition = !target || target.type === "root" ? "after" : "on";
3146
+ if ((target === null || target === void 0 ? void 0 : target.type) === "item") {
3147
+ let positionIndex = $4b52e4eff84e5217$var$DROP_POSITIONS.indexOf(target.dropPosition);
3148
+ let nextDropPosition = $4b52e4eff84e5217$var$DROP_POSITIONS[positionIndex - 1];
3149
+ if (positionIndex > 0 && nextDropPosition !== "after") return {
3150
+ type: "item",
3151
+ key: target.key,
3152
+ dropPosition: nextDropPosition
3153
+ };
3154
+ // If the last drop position was 'before', then 'after' on the previous key is equivalent.
3155
+ // Switch to 'on' instead.
3156
+ if (target.dropPosition === "before") dropPosition = "on";
3157
+ }
3158
+ if (nextKey == null) {
3159
+ if (wrap) return {
3160
+ type: "root"
3161
+ };
3162
+ return null;
3163
+ }
3164
+ return {
3165
+ type: "item",
3166
+ key: nextKey,
3167
+ dropPosition: dropPosition
3168
+ };
3169
+ };
3170
+ let nextValidTarget = (target, types, allowedDropOperations, getNextTarget, wrap = true)=>{
3171
+ let seenRoot = 0;
3172
+ let operation;
3173
+ let { draggingKeys: draggingKeys } = (0, $7252cd45fc48c07c$export$6ca6700462636d0b);
3174
+ let isInternal = (0, $7252cd45fc48c07c$export$78bf638634500fa5)(ref);
3175
+ do {
3176
+ let nextTarget = getNextTarget(target, wrap);
3177
+ if (!nextTarget) return null;
3178
+ target = nextTarget;
3179
+ operation = localState.state.getDropOperation({
3180
+ target: nextTarget,
3181
+ types: types,
3182
+ allowedOperations: allowedDropOperations,
3183
+ isInternal: isInternal,
3184
+ draggingKeys: draggingKeys
3185
+ });
3186
+ if (target.type === "root") seenRoot++;
3187
+ }while (operation === "cancel" && !localState.state.isDropTarget(target) && seenRoot < 2);
3188
+ if (operation === "cancel") return null;
3189
+ return target;
3190
+ };
3191
+ return $67560de7c78cb232$export$c28d9fb4a54e471a({
3192
+ element: ref.current,
3193
+ getDropOperation (types, allowedOperations) {
3194
+ if (localState.state.target) {
3195
+ let { draggingKeys: draggingKeys } = (0, $7252cd45fc48c07c$export$6ca6700462636d0b);
3196
+ let isInternal = (0, $7252cd45fc48c07c$export$78bf638634500fa5)(ref);
3197
+ return localState.state.getDropOperation({
3198
+ target: localState.state.target,
3199
+ types: types,
3200
+ allowedOperations: allowedOperations,
3201
+ isInternal: isInternal,
3202
+ draggingKeys: draggingKeys
3203
+ });
3204
+ }
3205
+ // Check if any of the targets accept the drop.
3206
+ // TODO: should we have a faster way of doing this or e.g. for pagination?
3207
+ let target = nextValidTarget(null, types, allowedOperations, getNextTarget);
3208
+ return target ? "move" : "cancel";
3209
+ },
3210
+ onDropEnter (e, drag) {
3211
+ let types = (0, $7252cd45fc48c07c$export$e1d41611756c6326)(drag.items);
3212
+ let selectionManager = localState.state.selectionManager;
3213
+ let target;
3214
+ // Update the drop collection ref tracker for useDroppableItem's getDropOperation isInternal check
3215
+ (0, $7252cd45fc48c07c$export$dac8db29d42db9a1)(ref);
3216
+ // When entering the droppable collection for the first time, the default drop target
3217
+ // is after the focused key.
3218
+ let key = selectionManager.focusedKey;
3219
+ let dropPosition = "after";
3220
+ // If the focused key is a cell, get the parent item instead.
3221
+ // For now, we assume that individual cells cannot be dropped on.
3222
+ let item = localState.state.collection.getItem(key);
3223
+ if ((item === null || item === void 0 ? void 0 : item.type) === "cell") key = item.parentKey;
3224
+ // If the focused item is also selected, the default drop target is after the last selected item.
3225
+ // But if the focused key is the first selected item, then default to before the first selected item.
3226
+ // This is to make reordering lists slightly easier. If you select top down, we assume you want to
3227
+ // move the items down. If you select bottom up, we assume you want to move the items up.
3228
+ if (selectionManager.isSelected(key)) {
3229
+ if (selectionManager.selectedKeys.size > 1 && selectionManager.firstSelectedKey === key) dropPosition = "before";
3230
+ else key = selectionManager.lastSelectedKey;
3231
+ }
3232
+ if (key != null) {
3233
+ target = {
3234
+ type: "item",
3235
+ key: key,
3236
+ dropPosition: dropPosition
3237
+ };
3238
+ let { draggingKeys: draggingKeys } = (0, $7252cd45fc48c07c$export$6ca6700462636d0b);
3239
+ let isInternal = (0, $7252cd45fc48c07c$export$78bf638634500fa5)(ref);
3240
+ var _nextValidTarget;
3241
+ // If the default target is not valid, find the next one that is.
3242
+ if (localState.state.getDropOperation({
3243
+ target: target,
3244
+ types: types,
3245
+ allowedOperations: drag.allowedDropOperations,
3246
+ isInternal: isInternal,
3247
+ draggingKeys: draggingKeys
3248
+ }) === "cancel") target = (_nextValidTarget = nextValidTarget(target, types, drag.allowedDropOperations, getNextTarget, false)) !== null && _nextValidTarget !== void 0 ? _nextValidTarget : nextValidTarget(target, types, drag.allowedDropOperations, getPreviousTarget, false);
3249
+ }
3250
+ // If no focused key, then start from the root.
3251
+ if (!target) target = nextValidTarget(null, types, drag.allowedDropOperations, getNextTarget);
3252
+ localState.state.setTarget(target);
3253
+ },
3254
+ onDropExit () {
3255
+ (0, $7252cd45fc48c07c$export$dac8db29d42db9a1)(undefined);
3256
+ localState.state.setTarget(null);
3257
+ },
3258
+ onDropTargetEnter (target) {
3259
+ localState.state.setTarget(target);
3260
+ },
3261
+ onDropActivate (e) {
3262
+ var _localState_state_target, _localState_state_target1;
3263
+ if (((_localState_state_target = localState.state.target) === null || _localState_state_target === void 0 ? void 0 : _localState_state_target.type) === "item" && ((_localState_state_target1 = localState.state.target) === null || _localState_state_target1 === void 0 ? void 0 : _localState_state_target1.dropPosition) === "on" && typeof localState.props.onDropActivate === "function") localState.props.onDropActivate({
3264
+ type: "dropactivate",
3265
+ x: e.x,
3266
+ y: e.y,
3267
+ target: localState.state.target
3268
+ });
3269
+ },
3270
+ onDrop (e, target) {
3271
+ (0, $7252cd45fc48c07c$export$dac8db29d42db9a1)(ref);
3272
+ if (localState.state.target) onDrop(e, target || localState.state.target);
3273
+ },
3274
+ onKeyDown (e, drag) {
3275
+ let { keyboardDelegate: keyboardDelegate } = localState.props;
3276
+ let types = (0, $7252cd45fc48c07c$export$e1d41611756c6326)(drag.items);
3277
+ switch(e.key){
3278
+ case "ArrowDown":
3279
+ if (keyboardDelegate.getKeyBelow) {
3280
+ let target = nextValidTarget(localState.state.target, types, drag.allowedDropOperations, getNextTarget);
3281
+ localState.state.setTarget(target);
3282
+ }
3283
+ break;
3284
+ case "ArrowUp":
3285
+ if (keyboardDelegate.getKeyAbove) {
3286
+ let target1 = nextValidTarget(localState.state.target, types, drag.allowedDropOperations, getPreviousTarget);
3287
+ localState.state.setTarget(target1);
3288
+ }
3289
+ break;
3290
+ case "Home":
3291
+ if (keyboardDelegate.getFirstKey) {
3292
+ let target2 = nextValidTarget(null, types, drag.allowedDropOperations, getNextTarget);
3293
+ localState.state.setTarget(target2);
3294
+ }
3295
+ break;
3296
+ case "End":
3297
+ if (keyboardDelegate.getLastKey) {
3298
+ let target3 = nextValidTarget(null, types, drag.allowedDropOperations, getPreviousTarget);
3299
+ localState.state.setTarget(target3);
3300
+ }
3301
+ break;
3302
+ case "PageDown":
3303
+ if (keyboardDelegate.getKeyPageBelow) {
3304
+ let target4 = localState.state.target;
3305
+ if (!target4) target4 = nextValidTarget(null, types, drag.allowedDropOperations, getNextTarget);
3306
+ else {
3307
+ // If on the root, go to the item a page below the top. Otherwise a page below the current item.
3308
+ let nextKey = keyboardDelegate.getKeyPageBelow(target4.type === "item" ? target4.key : keyboardDelegate.getFirstKey());
3309
+ let dropPosition = target4.type === "item" ? target4.dropPosition : "after";
3310
+ // If there is no next key, or we are starting on the last key, jump to the last possible position.
3311
+ if (nextKey == null || target4.type === "item" && target4.key === keyboardDelegate.getLastKey()) {
3312
+ nextKey = keyboardDelegate.getLastKey();
3313
+ dropPosition = "after";
3314
+ }
3315
+ target4 = {
3316
+ type: "item",
3317
+ key: nextKey,
3318
+ dropPosition: dropPosition
3319
+ };
3320
+ // If the target does not accept the drop, find the next valid target.
3321
+ // If no next valid target, find the previous valid target.
3322
+ let { draggingCollectionRef: draggingCollectionRef , draggingKeys: draggingKeys } = (0, $7252cd45fc48c07c$export$6ca6700462636d0b);
3323
+ let isInternal = (draggingCollectionRef === null || draggingCollectionRef === void 0 ? void 0 : draggingCollectionRef.current) === (ref === null || ref === void 0 ? void 0 : ref.current);
3324
+ let operation = localState.state.getDropOperation({
3325
+ target: target4,
3326
+ types: types,
3327
+ allowedOperations: drag.allowedDropOperations,
3328
+ isInternal: isInternal,
3329
+ draggingKeys: draggingKeys
3330
+ });
3331
+ var _nextValidTarget;
3332
+ if (operation === "cancel") target4 = (_nextValidTarget = nextValidTarget(target4, types, drag.allowedDropOperations, getNextTarget, false)) !== null && _nextValidTarget !== void 0 ? _nextValidTarget : nextValidTarget(target4, types, drag.allowedDropOperations, getPreviousTarget, false);
3333
+ }
3334
+ localState.state.setTarget(target4 !== null && target4 !== void 0 ? target4 : localState.state.target);
3335
+ }
3336
+ break;
3337
+ case "PageUp":
3338
+ {
3339
+ if (!keyboardDelegate.getKeyPageAbove) break;
3340
+ let target5 = localState.state.target;
3341
+ if (!target5) target5 = nextValidTarget(null, types, drag.allowedDropOperations, getPreviousTarget);
3342
+ else if (target5.type === "item") {
3343
+ // If at the top already, switch to the root. Otherwise navigate a page up.
3344
+ if (target5.key === keyboardDelegate.getFirstKey()) target5 = {
3345
+ type: "root"
3346
+ };
3347
+ else {
3348
+ let nextKey1 = keyboardDelegate.getKeyPageAbove(target5.key);
3349
+ let dropPosition1 = target5.dropPosition;
3350
+ if (nextKey1 == null) {
3351
+ nextKey1 = keyboardDelegate.getFirstKey();
3352
+ dropPosition1 = "before";
3353
+ }
3354
+ target5 = {
3355
+ type: "item",
3356
+ key: nextKey1,
3357
+ dropPosition: dropPosition1
3358
+ };
3359
+ }
3360
+ // If the target does not accept the drop, find the previous valid target.
3361
+ // If no next valid target, find the next valid target.
3362
+ let { draggingKeys: draggingKeys1 } = (0, $7252cd45fc48c07c$export$6ca6700462636d0b);
3363
+ let isInternal1 = (0, $7252cd45fc48c07c$export$78bf638634500fa5)(ref);
3364
+ let operation1 = localState.state.getDropOperation({
3365
+ target: target5,
3366
+ types: types,
3367
+ allowedOperations: drag.allowedDropOperations,
3368
+ isInternal: isInternal1,
3369
+ draggingKeys: draggingKeys1
3370
+ });
3371
+ var _nextValidTarget1;
3372
+ if (operation1 === "cancel") target5 = (_nextValidTarget1 = nextValidTarget(target5, types, drag.allowedDropOperations, getPreviousTarget, false)) !== null && _nextValidTarget1 !== void 0 ? _nextValidTarget1 : nextValidTarget(target5, types, drag.allowedDropOperations, getNextTarget, false);
3373
+ }
3374
+ localState.state.setTarget(target5 !== null && target5 !== void 0 ? target5 : localState.state.target);
3375
+ break;
3376
+ }
3377
+ }
3378
+ }
3379
+ });
3380
+ }, [
3381
+ localState,
3382
+ ref,
3383
+ onDrop
3384
+ ]);
3385
+ let id = (0, $fP8tg$useId)();
3386
+ (0, $7252cd45fc48c07c$export$dfdf5deeaf27473f).set(state, {
3387
+ id: id,
3388
+ ref: ref
3389
+ });
3390
+ return {
3391
+ collectionProps: (0, $fP8tg$mergeProps)(dropProps, {
3392
+ id: id,
3393
+ // Remove description from collection element. If dropping on the entire collection,
3394
+ // there should be a drop indicator that has this description, so no need to double announce.
3395
+ "aria-describedby": null
3396
+ })
3397
+ };
3398
+ }
3399
+
3400
+
3401
+ /*
3402
+ * Copyright 2020 Adobe. All rights reserved.
3403
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
3404
+ * you may not use this file except in compliance with the License. You may obtain a copy
3405
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
3406
+ *
3407
+ * Unless required by applicable law or agreed to in writing, software distributed under
3408
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
3409
+ * OF ANY KIND, either express or implied. See the License for the specific language
3410
+ * governing permissions and limitations under the License.
3411
+ */
3412
+
3413
+
3414
+
3415
+ function $bfaab576ce1c580e$export$f7b0c5d28b66b6a5(options, state, ref) {
3416
+ let { dropProps: dropProps } = (0, $224594fe3e57ff1e$export$62447ad3d2ec7da6)();
3417
+ let droppableCollectionRef = (0, $7252cd45fc48c07c$export$7e397efd01d3db27)(state);
3418
+ (0, $fP8tg$useEffect)(()=>{
3419
+ if (ref.current) return $67560de7c78cb232$export$aef80212ac99c003({
3420
+ element: ref.current,
3421
+ target: options.target,
3422
+ getDropOperation (types, allowedOperations) {
3423
+ let { draggingKeys: draggingKeys } = (0, $7252cd45fc48c07c$export$6ca6700462636d0b);
3424
+ let isInternal = (0, $7252cd45fc48c07c$export$78bf638634500fa5)(droppableCollectionRef);
3425
+ return state.getDropOperation({
3426
+ target: options.target,
3427
+ types: types,
3428
+ allowedOperations: allowedOperations,
3429
+ isInternal: isInternal,
3430
+ draggingKeys: draggingKeys
3431
+ });
3432
+ }
3433
+ });
3434
+ }, [
3435
+ ref,
3436
+ options.target,
3437
+ state,
3438
+ droppableCollectionRef
3439
+ ]);
3440
+ let dragSession = $67560de7c78cb232$export$418e185dd3f1b968();
3441
+ let { draggingKeys: draggingKeys } = (0, $7252cd45fc48c07c$export$6ca6700462636d0b);
3442
+ let isInternal = (0, $7252cd45fc48c07c$export$78bf638634500fa5)(droppableCollectionRef);
3443
+ let isValidDropTarget = dragSession && state.getDropOperation({
3444
+ target: options.target,
3445
+ types: (0, $7252cd45fc48c07c$export$e1d41611756c6326)(dragSession.dragTarget.items),
3446
+ allowedOperations: dragSession.dragTarget.allowedDropOperations,
3447
+ isInternal: isInternal,
3448
+ draggingKeys: draggingKeys
3449
+ }) !== "cancel";
3450
+ let isDropTarget = state.isDropTarget(options.target);
3451
+ (0, $fP8tg$useEffect)(()=>{
3452
+ if (dragSession && isDropTarget && ref.current) ref.current.focus();
3453
+ }, [
3454
+ isDropTarget,
3455
+ dragSession,
3456
+ ref
3457
+ ]);
3458
+ return {
3459
+ dropProps: {
3460
+ ...dropProps,
3461
+ "aria-hidden": !dragSession || isValidDropTarget ? undefined : "true"
3462
+ },
3463
+ isDropTarget: isDropTarget
3464
+ };
3465
+ }
3466
+
3467
+
3468
+ /*
3469
+ * Copyright 2020 Adobe. All rights reserved.
3470
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
3471
+ * you may not use this file except in compliance with the License. You may obtain a copy
3472
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
3473
+ *
3474
+ * Unless required by applicable law or agreed to in writing, software distributed under
3475
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
3476
+ * OF ANY KIND, either express or implied. See the License for the specific language
3477
+ * governing permissions and limitations under the License.
3478
+ */
3479
+
3480
+
3481
+
3482
+
3483
+
3484
+ function $ddf25448c71fc93a$export$8d0e41d2815afac5(props, state, ref) {
3485
+ let { target: target } = props;
3486
+ let { collection: collection } = state;
3487
+ let stringFormatter = (0, $fP8tg$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($c530af5bd0e7e6c6$exports))));
3488
+ let dragSession = $67560de7c78cb232$export$418e185dd3f1b968();
3489
+ let { dropProps: dropProps } = (0, $bfaab576ce1c580e$export$f7b0c5d28b66b6a5)(props, state, ref);
3490
+ let id = (0, $fP8tg$useId)();
3491
+ let getText = (key)=>{
3492
+ var _collection_getItem;
3493
+ return (_collection_getItem = collection.getItem(key)) === null || _collection_getItem === void 0 ? void 0 : _collection_getItem.textValue;
3494
+ };
3495
+ let label = "";
3496
+ let labelledBy;
3497
+ if (target.type === "root") {
3498
+ label = stringFormatter.format("dropOnRoot");
3499
+ labelledBy = `${id} ${(0, $7252cd45fc48c07c$export$3093291712f09a77)(state)}`;
3500
+ } else if (target.dropPosition === "on") label = stringFormatter.format("dropOnItem", {
3501
+ itemText: getText(target.key)
3502
+ });
3503
+ else {
3504
+ let before = target.dropPosition === "before" ? collection.getKeyBefore(target.key) : target.key;
3505
+ let after = target.dropPosition === "after" ? collection.getKeyAfter(target.key) : target.key;
3506
+ if (before && after) label = stringFormatter.format("insertBetween", {
3507
+ beforeItemText: getText(before),
3508
+ afterItemText: getText(after)
3509
+ });
3510
+ else if (before) label = stringFormatter.format("insertAfter", {
3511
+ itemText: getText(before)
3512
+ });
3513
+ else if (after) label = stringFormatter.format("insertBefore", {
3514
+ itemText: getText(after)
3515
+ });
3516
+ }
3517
+ let isDropTarget = state.isDropTarget(target);
3518
+ let ariaHidden = !dragSession ? "true" : dropProps["aria-hidden"];
3519
+ return {
3520
+ dropIndicatorProps: {
3521
+ ...dropProps,
3522
+ id: id,
3523
+ "aria-roledescription": stringFormatter.format("dropIndicator"),
3524
+ "aria-label": label,
3525
+ "aria-labelledby": labelledBy,
3526
+ "aria-hidden": ariaHidden,
3527
+ tabIndex: -1
3528
+ },
3529
+ isDropTarget: isDropTarget,
3530
+ // If aria-hidden, we are either not in a drag session or the drop target is invalid.
3531
+ // In that case, there's no need to render anything at all unless we need to show the indicator visually.
3532
+ // This can happen when dragging using the native DnD API as opposed to keyboard dragging.
3533
+ isHidden: !isDropTarget && !!ariaHidden
3534
+ };
3535
+ }
3536
+
3537
+
3538
+ /*
3539
+ * Copyright 2020 Adobe. All rights reserved.
3540
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
3541
+ * you may not use this file except in compliance with the License. You may obtain a copy
3542
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
3543
+ *
3544
+ * Unless required by applicable law or agreed to in writing, software distributed under
3545
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
3546
+ * OF ANY KIND, either express or implied. See the License for the specific language
3547
+ * governing permissions and limitations under the License.
3548
+ */
3549
+
3550
+
3551
+
3552
+
3553
+
3554
+ const $fd98cf7cbf233429$var$MESSAGES = {
3555
+ keyboard: {
3556
+ selected: "dragSelectedKeyboard",
3557
+ notSelected: "dragDescriptionKeyboard"
3558
+ },
3559
+ touch: {
3560
+ selected: "dragSelectedLongPress",
3561
+ notSelected: "dragDescriptionLongPress"
3562
+ },
3563
+ virtual: {
3564
+ selected: "dragDescriptionVirtual",
3565
+ notSelected: "dragDescriptionVirtual"
3566
+ }
3567
+ };
3568
+ function $fd98cf7cbf233429$export$b35afafff42da2d9(props, state) {
3569
+ let stringFormatter = (0, $fP8tg$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($c530af5bd0e7e6c6$exports))));
3570
+ let isDisabled = state.selectionManager.isDisabled(props.key);
3571
+ let { dragProps: dragProps , dragButtonProps: dragButtonProps } = (0, $8253ed7ece74b463$export$7941f8aafa4b6021)({
3572
+ getItems () {
3573
+ return state.getItems(props.key);
3574
+ },
3575
+ preview: state.preview,
3576
+ getAllowedDropOperations: state.getAllowedDropOperations,
3577
+ hasDragButton: props.hasDragButton,
3578
+ onDragStart (e) {
3579
+ state.startDrag(props.key, e);
3580
+ // Track draggingKeys for useDroppableCollection's default onDrop handler and useDroppableCollectionState's default getDropOperation
3581
+ (0, $7252cd45fc48c07c$export$72cb63bdda528276)(state.draggingKeys);
3582
+ },
3583
+ onDragMove (e) {
3584
+ state.moveDrag(e);
3585
+ },
3586
+ onDragEnd (e) {
3587
+ let { dropOperation: dropOperation } = e;
3588
+ let isInternal = dropOperation === "cancel" ? false : (0, $7252cd45fc48c07c$export$78bf638634500fa5)();
3589
+ state.endDrag({
3590
+ ...e,
3591
+ keys: state.draggingKeys,
3592
+ isInternal: isInternal
3593
+ });
3594
+ (0, $7252cd45fc48c07c$export$70936501603e6c57)();
3595
+ }
3596
+ });
3597
+ let item = state.collection.getItem(props.key);
3598
+ let numKeysForDrag = state.getKeysForDrag(props.key).size;
3599
+ let isSelected = numKeysForDrag > 1 && state.selectionManager.isSelected(props.key);
3600
+ let dragButtonLabel;
3601
+ let description;
3602
+ // Override description to include selected item count.
3603
+ let modality = (0, $7252cd45fc48c07c$export$49bac5d6d4b352ea)();
3604
+ var _item_textValue;
3605
+ if (!props.hasDragButton && state.selectionManager.selectionMode !== "none") {
3606
+ let msg = $fd98cf7cbf233429$var$MESSAGES[modality][isSelected ? "selected" : "notSelected"];
3607
+ if (props.hasAction && modality === "keyboard") msg += "Alt";
3608
+ if (isSelected) description = stringFormatter.format(msg, {
3609
+ count: numKeysForDrag
3610
+ });
3611
+ else description = stringFormatter.format(msg);
3612
+ // Remove the onClick handler from useDrag. Long pressing will be required on touch devices,
3613
+ // and NVDA/JAWS are always in forms mode within collection components.
3614
+ delete dragProps.onClick;
3615
+ } else if (isSelected) dragButtonLabel = stringFormatter.format("dragSelectedItems", {
3616
+ count: numKeysForDrag
3617
+ });
3618
+ else dragButtonLabel = stringFormatter.format("dragItem", {
3619
+ itemText: (_item_textValue = item === null || item === void 0 ? void 0 : item.textValue) !== null && _item_textValue !== void 0 ? _item_textValue : ""
3620
+ });
3621
+ let descriptionProps = (0, $fP8tg$useDescription)(description);
3622
+ if (description) Object.assign(dragProps, descriptionProps);
3623
+ if (!props.hasDragButton && props.hasAction) {
3624
+ let { onKeyDownCapture: onKeyDownCapture , onKeyUpCapture: onKeyUpCapture } = dragProps;
3625
+ if (modality === "touch") // Remove long press description if an action is present, because in that case long pressing selects the item.
3626
+ delete dragProps["aria-describedby"];
3627
+ // Require Alt key if there is a conflicting action.
3628
+ dragProps.onKeyDownCapture = (e)=>{
3629
+ if (e.altKey) onKeyDownCapture(e);
3630
+ };
3631
+ dragProps.onKeyUpCapture = (e)=>{
3632
+ if (e.altKey) onKeyUpCapture(e);
3633
+ };
3634
+ }
3635
+ return {
3636
+ dragProps: isDisabled ? {} : dragProps,
3637
+ dragButtonProps: {
3638
+ ...dragButtonProps,
3639
+ isDisabled: isDisabled,
3640
+ "aria-label": dragButtonLabel
3641
+ }
3642
+ };
3643
+ }
3644
+
3645
+
3646
+ /*
3647
+ * Copyright 2022 Adobe. All rights reserved.
3648
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
3649
+ * you may not use this file except in compliance with the License. You may obtain a copy
3650
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
3651
+ *
3652
+ * Unless required by applicable law or agreed to in writing, software distributed under
3653
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
3654
+ * OF ANY KIND, either express or implied. See the License for the specific language
3655
+ * governing permissions and limitations under the License.
3656
+ */
3657
+ function $4ac1fdc3a0fcd564$export$2962a7984b2f0a80(props, state, ref) {
3658
+ // Update global DnD state if this keys within this collection are dragged
3659
+ let { draggingCollectionRef: draggingCollectionRef } = (0, $7252cd45fc48c07c$export$6ca6700462636d0b);
3660
+ if (state.draggingKeys.size > 0 && (draggingCollectionRef === null || draggingCollectionRef === void 0 ? void 0 : draggingCollectionRef.current) !== ref.current) (0, $7252cd45fc48c07c$export$f2be18a910c0caa6)(ref);
3661
+ }
3662
+
3663
+
3664
+ /*
3665
+ * Copyright 2020 Adobe. All rights reserved.
3666
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
3667
+ * you may not use this file except in compliance with the License. You may obtain a copy
3668
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
3669
+ *
3670
+ * Unless required by applicable law or agreed to in writing, software distributed under
3671
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
3672
+ * OF ANY KIND, either express or implied. See the License for the specific language
3673
+ * governing permissions and limitations under the License.
3674
+ */
3675
+
3676
+
3677
+
3678
+ const $9fcc7f0d70d084ee$var$globalEvents = new Map();
3679
+ function $9fcc7f0d70d084ee$var$addGlobalEventListener(event, fn) {
3680
+ let eventData = $9fcc7f0d70d084ee$var$globalEvents.get(event);
3681
+ if (!eventData) {
3682
+ let handlers = new Set();
3683
+ let listener = (e)=>{
3684
+ for (let handler of handlers)handler(e);
3685
+ };
3686
+ eventData = {
3687
+ listener: listener,
3688
+ handlers: handlers
3689
+ };
3690
+ $9fcc7f0d70d084ee$var$globalEvents.set(event, eventData);
3691
+ document.addEventListener(event, listener);
3692
+ }
3693
+ eventData.handlers.add(fn);
3694
+ return ()=>{
3695
+ eventData.handlers.delete(fn);
3696
+ if (eventData.handlers.size === 0) {
3697
+ document.removeEventListener(event, eventData.listener);
3698
+ $9fcc7f0d70d084ee$var$globalEvents.delete(event);
3699
+ }
3700
+ };
3701
+ }
3702
+ function $9fcc7f0d70d084ee$export$2314ca2a3e892862(options) {
3703
+ let ref = (0, $fP8tg$useRef)(options);
3704
+ ref.current = options;
3705
+ let isFocusedRef = (0, $fP8tg$useRef)(false);
3706
+ let { focusProps: focusProps } = (0, $fP8tg$useFocus)({
3707
+ onFocusChange: (isFocused)=>{
3708
+ isFocusedRef.current = isFocused;
3709
+ }
3710
+ });
3711
+ (0, $fP8tg$useEffect)(()=>{
3712
+ let onBeforeCopy = (e)=>{
3713
+ // Enable the "Copy" menu item in Safari if this element is focused and copying is supported.
3714
+ let options = ref.current;
3715
+ if (isFocusedRef.current && options.getItems) e.preventDefault();
3716
+ };
3717
+ let onCopy = (e)=>{
3718
+ var _options_onCopy;
3719
+ let options = ref.current;
3720
+ if (!isFocusedRef.current || !options.getItems) return;
3721
+ e.preventDefault();
3722
+ (0, $7252cd45fc48c07c$export$f9c1490890ddd063)(e.clipboardData, options.getItems());
3723
+ (_options_onCopy = options.onCopy) === null || _options_onCopy === void 0 ? void 0 : _options_onCopy.call(options);
3724
+ };
3725
+ let onBeforeCut = (e)=>{
3726
+ let options = ref.current;
3727
+ if (isFocusedRef.current && options.onCut && options.getItems) e.preventDefault();
3728
+ };
3729
+ let onCut = (e)=>{
3730
+ let options = ref.current;
3731
+ if (!isFocusedRef.current || !options.onCut || !options.getItems) return;
3732
+ e.preventDefault();
3733
+ (0, $7252cd45fc48c07c$export$f9c1490890ddd063)(e.clipboardData, options.getItems());
3734
+ options.onCut();
3735
+ };
3736
+ let onBeforePaste = (e)=>{
3737
+ let options = ref.current;
3738
+ // Unfortunately, e.clipboardData.types is not available in this event so we always
3739
+ // have to enable the Paste menu item even if the type of data is unsupported.
3740
+ if (isFocusedRef.current && options.onPaste) e.preventDefault();
3741
+ };
3742
+ let onPaste = (e)=>{
3743
+ let options = ref.current;
3744
+ if (!isFocusedRef.current || !options.onPaste) return;
3745
+ e.preventDefault();
3746
+ let items = (0, $7252cd45fc48c07c$export$d9e760437831f8b3)(e.clipboardData);
3747
+ options.onPaste(items);
3748
+ };
3749
+ return (0, $fP8tg$chain)($9fcc7f0d70d084ee$var$addGlobalEventListener("beforecopy", onBeforeCopy), $9fcc7f0d70d084ee$var$addGlobalEventListener("copy", onCopy), $9fcc7f0d70d084ee$var$addGlobalEventListener("beforecut", onBeforeCut), $9fcc7f0d70d084ee$var$addGlobalEventListener("cut", onCut), $9fcc7f0d70d084ee$var$addGlobalEventListener("beforepaste", onBeforePaste), $9fcc7f0d70d084ee$var$addGlobalEventListener("paste", onPaste));
3750
+ }, []);
3751
+ return {
3752
+ clipboardProps: focusProps
3753
+ };
3754
+ }
3755
+
3756
+
3757
+ /*
3758
+ * Copyright 2020 Adobe. All rights reserved.
3759
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
3760
+ * you may not use this file except in compliance with the License. You may obtain a copy
3761
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
3762
+ *
3763
+ * Unless required by applicable law or agreed to in writing, software distributed under
3764
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
3765
+ * OF ANY KIND, either express or implied. See the License for the specific language
3766
+ * governing permissions and limitations under the License.
3767
+ */
3768
+
3769
+ function $ad0e3f3d9c50e4ba$var$DragPreview(props, ref) {
3770
+ let render = props.children;
3771
+ let [children, setChildren] = (0, $fP8tg$useState)(null);
3772
+ let domRef = (0, $fP8tg$useRef)(null);
3773
+ (0, $fP8tg$useImperativeHandle)(ref, ()=>(items, callback)=>{
3774
+ // This will be called during the onDragStart event by useDrag. We need to render the
3775
+ // preview synchronously before this event returns so we can call event.dataTransfer.setDragImage.
3776
+ (0, $fP8tg$flushSync)(()=>{
3777
+ setChildren(render(items));
3778
+ });
3779
+ // Yield back to useDrag to set the drag image.
3780
+ callback(domRef.current);
3781
+ // Remove the preview from the DOM after a frame so the browser has time to paint.
3782
+ requestAnimationFrame(()=>{
3783
+ setChildren(null);
3784
+ });
3785
+ }, [
3786
+ render
3787
+ ]);
3788
+ if (!children) return null;
3789
+ return /*#__PURE__*/ (0, $fP8tg$react).createElement("div", {
3790
+ style: {
3791
+ zIndex: -100,
3792
+ position: "absolute",
3793
+ top: 0,
3794
+ left: -100000
3795
+ },
3796
+ ref: domRef
3797
+ }, children);
3798
+ }
3799
+ let $ad0e3f3d9c50e4ba$export$905ab40ac2179daa = /*#__PURE__*/ (0, $fP8tg$react).forwardRef($ad0e3f3d9c50e4ba$var$DragPreview);
3800
+
3801
+
3802
+ class $3ca85212bf8898e4$export$fbd65d14c79e28cc {
3803
+ getDropTargetFromPoint(x, y, isValidDropTarget) {
3804
+ if (this.collection.size === 0) return {
3805
+ type: "root"
3806
+ };
3807
+ let rect = this.ref.current.getBoundingClientRect();
3808
+ x += rect.x;
3809
+ y += rect.y;
3810
+ let elements = this.ref.current.querySelectorAll("[data-key]");
3811
+ let elementMap = new Map();
3812
+ for (let item of elements)if (item instanceof HTMLElement) elementMap.set(item.dataset.key, item);
3813
+ let items = [
3814
+ ...this.collection
3815
+ ];
3816
+ let low = 0;
3817
+ let high = items.length;
3818
+ while(low < high){
3819
+ let mid = Math.floor((low + high) / 2);
3820
+ let item1 = items[mid];
3821
+ let element = elementMap.get(String(item1.key));
3822
+ let rect1 = element.getBoundingClientRect();
3823
+ if (y < rect1.top) high = mid;
3824
+ else if (y > rect1.bottom) low = mid + 1;
3825
+ else {
3826
+ let target = {
3827
+ type: "item",
3828
+ key: item1.key,
3829
+ dropPosition: "on"
3830
+ };
3831
+ if (isValidDropTarget(target)) {
3832
+ // Otherwise, if dropping on the item is accepted, try the before/after positions if within 5px
3833
+ // of the top or bottom of the item.
3834
+ if (y <= rect1.top + 5 && isValidDropTarget({
3835
+ ...target,
3836
+ dropPosition: "before"
3837
+ })) target.dropPosition = "before";
3838
+ else if (y >= rect1.bottom - 5 && isValidDropTarget({
3839
+ ...target,
3840
+ dropPosition: "after"
3841
+ })) target.dropPosition = "after";
3842
+ } else {
3843
+ // If dropping on the item isn't accepted, try the target before or after depending on the y position.
3844
+ let midY = rect1.top + rect1.height / 2;
3845
+ if (y <= midY && isValidDropTarget({
3846
+ ...target,
3847
+ dropPosition: "before"
3848
+ })) target.dropPosition = "before";
3849
+ else if (y >= midY && isValidDropTarget({
3850
+ ...target,
3851
+ dropPosition: "after"
3852
+ })) target.dropPosition = "after";
3853
+ }
3854
+ return target;
3855
+ }
3856
+ }
3857
+ let item2 = items[Math.min(low, items.length - 1)];
3858
+ let element1 = elementMap.get(String(item2.key));
3859
+ rect = element1.getBoundingClientRect();
3860
+ if (Math.abs(y - rect.top) < Math.abs(y - rect.bottom)) return {
3861
+ type: "item",
3862
+ key: item2.key,
3863
+ dropPosition: "before"
3864
+ };
3865
+ return {
3866
+ type: "item",
3867
+ key: item2.key,
3868
+ dropPosition: "after"
3869
+ };
3870
+ }
3871
+ constructor(collection, ref){
3872
+ this.collection = collection;
3873
+ this.ref = ref;
3874
+ }
3875
+ }
3876
+
3877
+
3878
+
3879
+
3880
+
3881
+ export {$7252cd45fc48c07c$export$990fced5dfac2637 as DIRECTORY_DRAG_TYPE, $8253ed7ece74b463$export$7941f8aafa4b6021 as useDrag, $5c06e4929e123553$export$ccdee5eaf73cf661 as useDrop, $4b52e4eff84e5217$export$f4e2f423c21f7b04 as useDroppableCollection, $bfaab576ce1c580e$export$f7b0c5d28b66b6a5 as useDroppableItem, $ddf25448c71fc93a$export$8d0e41d2815afac5 as useDropIndicator, $fd98cf7cbf233429$export$b35afafff42da2d9 as useDraggableItem, $4ac1fdc3a0fcd564$export$2962a7984b2f0a80 as useDraggableCollection, $9fcc7f0d70d084ee$export$2314ca2a3e892862 as useClipboard, $ad0e3f3d9c50e4ba$export$905ab40ac2179daa as DragPreview, $3ca85212bf8898e4$export$fbd65d14c79e28cc as ListDropTargetDelegate, $67560de7c78cb232$export$403bc76cbf68cf60 as isVirtualDragging};
3882
+ //# sourceMappingURL=module.js.map