@homecode/ui 5.18.5 → 5.18.8

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 (100) hide show
  1. package/dist/esm/src/components/AssistiveText/AssistiveText.styl.js +16 -3
  2. package/dist/esm/src/components/Autocomplete/Autocomplete.styl.js +16 -3
  3. package/dist/esm/src/components/Button/Button.styl.js +16 -3
  4. package/dist/esm/src/components/ButtonGroup/ButtonGroup.styl.js +16 -3
  5. package/dist/esm/src/components/Calendar/Calendar.styl.js +16 -3
  6. package/dist/esm/src/components/Card/Card.styl.js +16 -3
  7. package/dist/esm/src/components/Chat/ChatMessage.styl.js +16 -3
  8. package/dist/esm/src/components/Chat/ChatPrompt.styl.js +16 -3
  9. package/dist/esm/src/components/Chat/ChatSelector.styl.js +16 -3
  10. package/dist/esm/src/components/Chat/ChatView.styl.js +16 -3
  11. package/dist/esm/src/components/Checkbox/Checkbox.styl.js +16 -3
  12. package/dist/esm/src/components/Chip/Chip.styl.js +16 -3
  13. package/dist/esm/src/components/Container/Container.styl.js +16 -3
  14. package/dist/esm/src/components/DatePicker/DatePicker.styl.js +16 -3
  15. package/dist/esm/src/components/DatePickerInput/DatePickerInput.styl.js +16 -3
  16. package/dist/esm/src/components/Dialogue/Dialogue.styl.js +16 -3
  17. package/dist/esm/src/components/Draggable/Draggable.styl.js +16 -3
  18. package/dist/esm/src/components/DropZone/DropZone.js +90 -71
  19. package/dist/esm/src/components/DropZone/DropZone.styl.js +17 -4
  20. package/dist/esm/src/components/DropZone/dropFiles.js +80 -0
  21. package/dist/esm/src/components/Expand/Expand.styl.js +16 -3
  22. package/dist/esm/src/components/Flex/Flex.styl.js +16 -3
  23. package/dist/esm/src/components/FoldedLine/FoldedLine.styl.js +17 -4
  24. package/dist/esm/src/components/Form/Form.styl.js +16 -3
  25. package/dist/esm/src/components/Form/SubmitButtons/SubmitButtons.styl.js +16 -3
  26. package/dist/esm/src/components/FormattedText/FormattedText.styl.js +16 -3
  27. package/dist/esm/src/components/Gallery/Dots/Dots.styl.js +16 -3
  28. package/dist/esm/src/components/Gallery/Gallery.styl.js +16 -3
  29. package/dist/esm/src/components/Gap/Gap.styl.js +16 -3
  30. package/dist/esm/src/components/GridLayout/GridLayout.styl.js +16 -3
  31. package/dist/esm/src/components/Heading/Heading.styl.js +16 -3
  32. package/dist/esm/src/components/Icon/Icon.styl.js +16 -3
  33. package/dist/esm/src/components/Input/Input.styl.js +16 -3
  34. package/dist/esm/src/components/InputFile/InputFile.styl.js +16 -3
  35. package/dist/esm/src/components/InputFile/Item/Item.styl.js +16 -3
  36. package/dist/esm/src/components/Label/Label.styl.js +16 -3
  37. package/dist/esm/src/components/LightBox/LightBox.styl.js +16 -3
  38. package/dist/esm/src/components/Menu/Menu.styl.js +16 -3
  39. package/dist/esm/src/components/NestedMenu/NestedMenu.styl.js +17 -4
  40. package/dist/esm/src/components/Notifications/Notifications.styl.js +16 -3
  41. package/dist/esm/src/components/Nudge/Nudge.styl.js +16 -3
  42. package/dist/esm/src/components/Paranja/Paranja.styl.js +16 -3
  43. package/dist/esm/src/components/Popup/Popup.styl.js +16 -3
  44. package/dist/esm/src/components/Progress/Progress.styl.js +16 -3
  45. package/dist/esm/src/components/ProgressCircular/ProgressCircular.styl.js +16 -3
  46. package/dist/esm/src/components/PromptComposer/PromptComposer.styl.js +16 -3
  47. package/dist/esm/src/components/RadioButton/RadioButton.styl.js +16 -3
  48. package/dist/esm/src/components/RadioGroup/RadioGroup.styl.js +16 -3
  49. package/dist/esm/src/components/RequiredStar/RequiredStar.styl.js +16 -3
  50. package/dist/esm/src/components/Resizer/Resizer.styl.js +16 -3
  51. package/dist/esm/src/components/Router/Link/Link.js +12 -3
  52. package/dist/esm/src/components/Router/Link/Link.styl.js +16 -3
  53. package/dist/esm/src/components/Router/Link/linkHref.js +19 -0
  54. package/dist/esm/src/components/Scroll/Scroll.styl.js +16 -3
  55. package/dist/esm/src/components/Select/Select.styl.js +16 -3
  56. package/dist/esm/src/components/Shimmer/Shimmer.styl.js +16 -3
  57. package/dist/esm/src/components/Slider/Slider.styl.js +16 -3
  58. package/dist/esm/src/components/Spinner/Spinner.styl.js +16 -3
  59. package/dist/esm/src/components/Table/Table.styl.js +16 -3
  60. package/dist/esm/src/components/Tabs/Tabs.styl.js +16 -3
  61. package/dist/esm/src/components/Text/Text.styl.js +16 -3
  62. package/dist/esm/src/components/TextShimmer/TextShimmer.styl.js +16 -3
  63. package/dist/esm/src/components/TextWithDeferTooltip/TextWithDeferTooltip.styl.js +16 -3
  64. package/dist/esm/src/components/ThinkingOutline/ThinkingOutline.styl.js +16 -3
  65. package/dist/esm/src/components/Toggle/Toggle.styl.js +16 -3
  66. package/dist/esm/src/components/Tooltip/Tooltip.styl.js +16 -3
  67. package/dist/esm/src/components/VideoPlayer/VideoPlayer.styl.js +16 -3
  68. package/dist/esm/src/components/Virtualized/List/List.styl.js +16 -3
  69. package/dist/esm/src/components/Virtualized/List/ListScroll.styl.js +16 -3
  70. package/dist/esm/src/components/Virtualized/Virtualized.styl.js +16 -3
  71. package/dist/esm/src/tiptap/slash-mention/SlashSuggestionList.styl.js +16 -3
  72. package/dist/esm/types/src/components/DropZone/DropZone.test.d.ts +1 -0
  73. package/dist/esm/types/src/components/DropZone/dropFiles.d.ts +31 -0
  74. package/dist/esm/types/src/components/DropZone/dropFiles.test.d.ts +1 -0
  75. package/dist/esm/types/src/components/Router/Link/linkHref.d.ts +8 -0
  76. package/dist/esm/types/src/components/Router/Link/linkHref.test.d.ts +1 -0
  77. package/graphify-out/.graphify_labels.json +1 -9
  78. package/graphify-out/2026-10-04/.graphify_labels.json +217 -0
  79. package/graphify-out/2026-10-04/GRAPH_REPORT.md +1009 -0
  80. package/graphify-out/2026-10-04/cost.json +12 -0
  81. package/graphify-out/2026-10-04/graph.json +72967 -0
  82. package/graphify-out/2026-10-04/manifest.json +2387 -0
  83. package/graphify-out/2026-10-09/.graphify_labels.json +223 -0
  84. package/graphify-out/2026-10-09/GRAPH_REPORT.md +1026 -0
  85. package/graphify-out/2026-10-09/cost.json +12 -0
  86. package/graphify-out/2026-10-09/graph.json +79406 -0
  87. package/graphify-out/2026-10-09/manifest.json +2597 -0
  88. package/graphify-out/GRAPH_REPORT.md +259 -308
  89. package/graphify-out/cache/ast/17cb889dd66288dcad124ac8a6e41962f84a3c0183cd749773bbbbe36ca5f5b8.json +1 -0
  90. package/graphify-out/cache/ast/61ba34a969e13b78a564441924546f051549d0b00762c3f5af4e79e8feb0256d.json +1 -0
  91. package/graphify-out/cache/ast/9668450bfee7f9760e83e44c2216bdf98562a1b527cfdb335697c778f0de967f.json +1 -0
  92. package/graphify-out/cache/ast/9aa4b14b42bf89b625c9774e2e01ad57875b845b261b897d6bf02748b9b2f760.json +1 -0
  93. package/graphify-out/cache/ast/a6c3aa051f83e4d4d719c19fa3ef34fb15be07d583b506619c3ddea8bcc274c7.json +1 -0
  94. package/graphify-out/cache/ast/ac7abcb877ee16482b7d9a71df0b9f2d84f2fb437d0efdf2d8c5acf214785462.json +1 -0
  95. package/graphify-out/cache/stat-index.json +1 -1
  96. package/graphify-out/graph.html +4 -4
  97. package/graphify-out/graph.json +29505 -22806
  98. package/graphify-out/manifest.json +358 -123
  99. package/package.json +1 -1
  100. package/dist/esm/node_modules/style-inject/dist/style-inject.es.js +0 -28
@@ -3,108 +3,127 @@ import { useState, useRef, useCallback, useEffect } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { generateUID } from '../../tools/uid.js';
5
5
  import S from './DropZone.styl.js';
6
+ import { matchesAccept, dragCarriesFiles, filesForDrop, DROP_HIDE_GRACE_MS } from './dropFiles.js';
6
7
 
7
- function matchesAcceptPart(file, part) {
8
- const p = part.trim().toLowerCase();
9
- if (!p)
10
- return false;
11
- if (p.startsWith('.')) {
12
- return file.name.toLowerCase().endsWith(p);
13
- }
14
- if (p.includes('/')) {
15
- const t = file.type.toLowerCase();
16
- if (p.endsWith('/*')) {
17
- const prefix = p.slice(0, -1);
18
- return t.startsWith(prefix);
19
- }
20
- return t === p;
21
- }
22
- return false;
23
- }
24
- function matchesAccept(file, accept) {
25
- const trimmed = accept.trim();
26
- if (!trimmed)
27
- return true;
28
- const parts = trimmed
29
- .split(',')
30
- .map(s => s.trim())
31
- .filter(Boolean);
32
- if (parts.length === 0)
33
- return true;
34
- return parts.some(part => matchesAcceptPart(file, part));
35
- }
36
8
  function DropZone(props) {
37
9
  const { accept, label, error, disabled = false, ghost = false, id, className, } = props;
38
10
  const [isDragging, setIsDragging] = useState(false);
39
- const dropAreaRef = useRef(null);
11
+ const rootRef = useRef(null);
40
12
  const fallbackInputIdRef = useRef(generateUID());
41
13
  const inputId = id ?? fallbackInputIdRef.current;
42
- const handleDrop = useCallback((e) => {
43
- e.preventDefault();
44
- setIsDragging(false);
14
+ const propsRef = useRef(props);
15
+ propsRef.current = props;
16
+ const disabledRef = useRef(disabled);
17
+ disabledRef.current = disabled;
18
+ const handleFileInput = useCallback((event) => {
45
19
  if (disabled)
46
20
  return;
47
- const list = Array.from(e.dataTransfer.files).filter(f => matchesAccept(f, accept));
48
- if (props.multiple === true) {
49
- if (list.length > 0) {
50
- props.onFiles(list);
51
- }
52
- }
53
- else {
54
- const file = list[0];
55
- if (file) {
56
- props.onFile(file);
57
- }
58
- }
59
- }, [accept, disabled, props]);
60
- const handleFileInput = useCallback((e) => {
61
- if (disabled)
62
- return;
63
- const raw = e.target.files;
21
+ const raw = event.target.files;
64
22
  if (!raw?.length)
65
23
  return;
66
- const list = Array.from(raw).filter(f => matchesAccept(f, accept));
24
+ const list = Array.from(raw).filter(file => matchesAccept(file, accept));
67
25
  if (props.multiple === true) {
68
- if (list.length > 0) {
26
+ if (list.length > 0)
69
27
  props.onFiles(list);
70
- }
71
28
  }
72
29
  else {
73
30
  const file = list[0];
74
- if (file) {
31
+ if (file)
75
32
  props.onFile(file);
76
- }
77
33
  }
78
- e.target.value = '';
34
+ event.target.value = '';
79
35
  }, [accept, disabled, props]);
80
36
  useEffect(() => {
81
- const dialog = dropAreaRef.current?.closest('[role="dialog"]');
82
- const targetElement = dialog || document.body;
83
- const handleGlobalDragOver = (e) => {
84
- e.preventDefault();
37
+ const dialog = rootRef.current?.closest('[role="dialog"]');
38
+ const target = dialog ?? window;
39
+ let hideTimer = 0;
40
+ let snapshotted = null;
41
+ const allowFileDrag = (event) => {
42
+ const transfer = event.dataTransfer;
43
+ if (!transfer || !dragCarriesFiles(transfer.types))
44
+ return;
45
+ event.preventDefault();
46
+ transfer.dropEffect = disabledRef.current ? 'none' : 'copy';
47
+ if (disabledRef.current)
48
+ return;
49
+ window.clearTimeout(hideTimer);
85
50
  setIsDragging(true);
86
51
  };
87
- const handleGlobalDragLeave = (e) => {
88
- if (!e.relatedTarget ||
89
- !targetElement.contains(e.relatedTarget)) {
52
+ const scheduleHide = () => {
53
+ window.clearTimeout(hideTimer);
54
+ hideTimer = window.setTimeout(() => {
90
55
  setIsDragging(false);
56
+ }, DROP_HIDE_GRACE_MS);
57
+ };
58
+ const onDragLeave = (event) => {
59
+ const related = event.relatedTarget;
60
+ if (related instanceof Node) {
61
+ const host = dialog ?? document;
62
+ if (host.contains(related))
63
+ return;
91
64
  }
65
+ scheduleHide();
66
+ };
67
+ const onDropCapture = (event) => {
68
+ // Snapshot before later capture listeners read `items`. WebKit then
69
+ // clears `files`, so the bubble handler would see an empty drop.
70
+ snapshotted = event.dataTransfer
71
+ ? Array.from(event.dataTransfer.files)
72
+ : [];
92
73
  };
93
- const handleGlobalDrop = () => {
74
+ const deliver = (event) => {
75
+ window.clearTimeout(hideTimer);
94
76
  setIsDragging(false);
77
+ const saved = snapshotted;
78
+ snapshotted = null;
79
+ const transfer = event.dataTransfer;
80
+ const claimed = event.defaultPrevented;
81
+ if (transfer && dragCarriesFiles(transfer.types) && !claimed) {
82
+ event.preventDefault();
83
+ }
84
+ if (claimed || disabledRef.current)
85
+ return;
86
+ const current = propsRef.current;
87
+ const dataTransfer = saved && saved.length > 0
88
+ ? { types: transfer?.types, files: saved, items: null }
89
+ : transfer;
90
+ const files = filesForDrop({
91
+ defaultPrevented: false,
92
+ disabled: false,
93
+ accept: current.accept,
94
+ multiple: current.multiple === true,
95
+ dataTransfer,
96
+ });
97
+ if (files.length === 0)
98
+ return;
99
+ if (current.multiple === true)
100
+ current.onFiles(files);
101
+ else
102
+ current.onFile(files[0]);
95
103
  };
96
- targetElement.addEventListener('dragover', handleGlobalDragOver);
97
- targetElement.addEventListener('dragleave', handleGlobalDragLeave);
98
- targetElement.addEventListener('drop', handleGlobalDrop);
104
+ target.addEventListener('dragenter', allowFileDrag, true);
105
+ target.addEventListener('dragover', allowFileDrag, true);
106
+ target.addEventListener('dragleave', onDragLeave, true);
107
+ target.addEventListener('drop', onDropCapture, true);
108
+ target.addEventListener('drop', deliver);
99
109
  return () => {
100
- targetElement.removeEventListener('dragover', handleGlobalDragOver);
101
- targetElement.removeEventListener('dragleave', handleGlobalDragLeave);
102
- targetElement.removeEventListener('drop', handleGlobalDrop);
110
+ window.clearTimeout(hideTimer);
111
+ target.removeEventListener('dragenter', allowFileDrag, true);
112
+ target.removeEventListener('dragover', allowFileDrag, true);
113
+ target.removeEventListener('dragleave', onDragLeave, true);
114
+ target.removeEventListener('drop', onDropCapture, true);
115
+ target.removeEventListener('drop', deliver);
103
116
  };
104
117
  }, []);
118
+ const keepFileDrag = (event) => {
119
+ if (!dragCarriesFiles(event.dataTransfer.types))
120
+ return;
121
+ event.preventDefault();
122
+ event.dataTransfer.dropEffect = disabled ? 'none' : 'copy';
123
+ };
105
124
  const shouldShowDropArea = !ghost || isDragging;
106
125
  const multiple = props.multiple === true;
107
- return (jsxs("div", { className: cn(S.root, className), children: [shouldShowDropArea && (jsxs("div", { ref: dropAreaRef, className: cn(S.dropArea, isDragging && S.isDragging, disabled && S.disabled), onDrop: handleDrop, children: [jsx("input", { type: "file", accept: accept, multiple: multiple, onChange: handleFileInput, className: S.fileInput, id: inputId, disabled: disabled }), jsx("label", { htmlFor: inputId, className: S.label, style: {
126
+ return (jsxs("div", { ref: rootRef, className: cn(S.root, className), children: [shouldShowDropArea && (jsxs("div", { className: cn(S.dropArea, isDragging && S.isDragging, disabled && S.disabled), onDragEnter: keepFileDrag, onDragOver: keepFileDrag, children: [jsx("input", { type: "file", accept: accept, multiple: multiple, onChange: handleFileInput, className: S.fileInput, id: inputId, disabled: disabled }), jsx("label", { htmlFor: inputId, className: S.label, style: {
108
127
  cursor: disabled ? 'not-allowed' : 'pointer',
109
128
  }, children: label })] })), error && jsx("div", { className: S.error, children: error })] }));
110
129
  }
@@ -1,7 +1,20 @@
1
- import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.js';
2
-
3
- var css_248z = ".DropZone_root__gk-Ef{display:flex;flex-direction:column;gap:var(--p-2)}.DropZone_dropArea__u-8Ye{background-color:var(--accent-color-alpha-100);border:2px dashed var(--decent-color-alpha-200);border-radius:var(--p-4);cursor:pointer;padding:var(--p-4);position:relative;text-align:center;transition:all .2s ease}.DropZone_dropArea__u-8Ye label:before{border-radius:var(--p-4);content:\"\";height:100%;left:0;position:absolute;top:0;width:100%}.DropZone_dropArea__u-8Ye.DropZone_isDragging__S-aQp,.DropZone_dropArea__u-8Ye:hover:not(.DropZone_disabled__qsAf6){border:2px dashed var(--active-color-alpha-500)}.DropZone_dropArea__u-8Ye:hover:not(.DropZone_disabled__qsAf6){background-color:var(--accent-color-alpha-50)}.DropZone_dropArea__u-8Ye.DropZone_isDragging__S-aQp{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background-color:var(--decent-color-alpha-900)!important;display:flex;height:calc(100% - var(--p-2));justify-content:center;left:var(--p-1);position:fixed;top:var(--p-1);width:calc(100% - var(--p-2));z-index:9999}.DropZone_dropArea__u-8Ye.DropZone_disabled__qsAf6{cursor:not-allowed;opacity:.6}.DropZone_fileInput__E8DeE{display:none}.DropZone_label__u7-Pb{cursor:pointer}.DropZone_error__vSiwM{color:var(--danger-color);font-size:.875rem;padding:var(--p-1) var(--p-2)}";
1
+ var css_248z = ".DropZone_root__gk-Ef{display:flex;flex-direction:column;gap:var(--p-2)}.DropZone_dropArea__u-8Ye{background-color:var(--accent-color-alpha-100);border:2px dashed var(--decent-color-alpha-200);border-radius:var(--p-4);cursor:pointer;padding:var(--p-4);position:relative;text-align:center;transition:all .2s ease}.DropZone_dropArea__u-8Ye label:before{border-radius:var(--p-4);content:\"\";height:100%;left:0;position:absolute;top:0;width:100%}.DropZone_dropArea__u-8Ye.DropZone_isDragging__S-aQp,.DropZone_dropArea__u-8Ye:hover:not(.DropZone_disabled__qsAf6){border:2px dashed var(--active-color-alpha-500)}.DropZone_dropArea__u-8Ye:hover:not(.DropZone_disabled__qsAf6){background-color:var(--accent-color-alpha-50)}.DropZone_dropArea__u-8Ye.DropZone_isDragging__S-aQp{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background-color:var(--decent-color-alpha-900)!important;display:flex;height:calc(100% - var(--p-2));justify-content:center;left:var(--p-1);position:fixed;top:var(--p-1);width:calc(100% - var(--p-2));z-index:9999}.DropZone_dropArea__u-8Ye.DropZone_isDragging__S-aQp label{pointer-events:none}.DropZone_dropArea__u-8Ye.DropZone_disabled__qsAf6{cursor:not-allowed;opacity:.6}.DropZone_fileInput__E8DeE{display:none}.DropZone_label__u7-Pb{cursor:pointer}.DropZone_error__vSiwM{color:var(--danger-color);font-size:.875rem;padding:var(--p-1) var(--p-2)}";
4
2
  var S = {"root":"DropZone_root__gk-Ef","dropArea":"DropZone_dropArea__u-8Ye","disabled":"DropZone_disabled__qsAf6","isDragging":"DropZone_isDragging__S-aQp","fileInput":"DropZone_fileInput__E8DeE","label":"DropZone_label__u7-Pb","error":"DropZone_error__vSiwM"};
5
- styleInject(css_248z);
3
+ if (typeof document !== 'undefined') {
4
+ var __uilibHead = document.head || document.getElementsByTagName('head')[0];
5
+ if (__uilibHead) {
6
+ var __uilibStyle = document.createElement('style');
7
+ __uilibStyle.setAttribute('data-uilib-css', '');
8
+ __uilibStyle.appendChild(document.createTextNode(css_248z));
9
+ var __uilibLink = __uilibHead.querySelector('link[rel="stylesheet"]');
10
+ var __uilibInline = __uilibHead.querySelector('style:not([data-uilib-css])');
11
+ var __uilibAnchor = __uilibLink || __uilibInline;
12
+ if (__uilibLink && __uilibInline && (__uilibLink.compareDocumentPosition(__uilibInline) & 4) === 0) {
13
+ __uilibAnchor = __uilibInline;
14
+ }
15
+ if (__uilibAnchor) __uilibHead.insertBefore(__uilibStyle, __uilibAnchor);
16
+ else __uilibHead.appendChild(__uilibStyle);
17
+ }
18
+ }
6
19
 
7
20
  export { S as default };
@@ -0,0 +1,80 @@
1
+ /** Finder / WKWebView file drags. Structural drag types, not language checks. */
2
+ const FILE_DRAG_TYPES = new Set([
3
+ 'Files',
4
+ 'files',
5
+ 'public.file-url',
6
+ 'application/x-moz-file',
7
+ ]);
8
+ /**
9
+ * macOS fires `dragleave` with a null `relatedTarget` while the pointer is
10
+ * still inside the window. `dragover` can be a few hundred milliseconds
11
+ * apart, so hide the overlay only after it has stopped.
12
+ */
13
+ const DROP_HIDE_GRACE_MS = 400;
14
+ function dragCarriesFiles(types) {
15
+ if (!types)
16
+ return false;
17
+ const list = Array.from(types);
18
+ // Some WebKit builds hide types until drop. Don't reject those drags.
19
+ if (list.length === 0)
20
+ return true;
21
+ return list.some(type => FILE_DRAG_TYPES.has(type));
22
+ }
23
+ function matchesAcceptPart(file, part) {
24
+ const token = part.trim().toLowerCase();
25
+ if (!token)
26
+ return false;
27
+ if (token.startsWith('.')) {
28
+ return file.name.toLowerCase().endsWith(token);
29
+ }
30
+ if (token.includes('/')) {
31
+ const mime = file.type.toLowerCase();
32
+ if (token.endsWith('/*'))
33
+ return mime.startsWith(token.slice(0, -1));
34
+ return mime === token;
35
+ }
36
+ return false;
37
+ }
38
+ function matchesAccept(file, accept) {
39
+ const trimmed = accept.trim();
40
+ if (!trimmed)
41
+ return true;
42
+ const parts = trimmed
43
+ .split(',')
44
+ .map(part => part.trim())
45
+ .filter(Boolean);
46
+ if (parts.length === 0)
47
+ return true;
48
+ return parts.some(part => matchesAcceptPart(file, part));
49
+ }
50
+ function filesFromItems(items) {
51
+ if (!items)
52
+ return [];
53
+ const files = [];
54
+ for (let i = 0; i < items.length; i += 1) {
55
+ const item = items[i];
56
+ if (item?.kind !== 'file')
57
+ continue;
58
+ const file = item.getAsFile?.() ?? null;
59
+ if (file)
60
+ files.push(file);
61
+ }
62
+ return files;
63
+ }
64
+ function filesForDrop(args) {
65
+ if (args.disabled || args.defaultPrevented || !args.dataTransfer)
66
+ return [];
67
+ const listed = args.dataTransfer.files
68
+ ? Array.from(args.dataTransfer.files)
69
+ : [];
70
+ if (!dragCarriesFiles(args.dataTransfer.types) && listed.length === 0) {
71
+ return [];
72
+ }
73
+ const files = listed.length > 0 ? listed : filesFromItems(args.dataTransfer.items);
74
+ const matched = files.filter(file => matchesAccept(file, args.accept));
75
+ if (args.multiple)
76
+ return matched;
77
+ return matched[0] ? [matched[0]] : [];
78
+ }
79
+
80
+ export { DROP_HIDE_GRACE_MS, dragCarriesFiles, filesForDrop, matchesAccept };
@@ -1,7 +1,20 @@
1
- import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.js';
2
-
3
1
  var css_248z = ".Expand_root__zxSvx{display:flex;flex-direction:column}.Expand_root__zxSvx+.Expand_root__zxSvx{margin-top:var(--p-3)}.Expand_header__LxAel{justify-content:space-between}.Expand_headerIcon__CXlwY{opacity:.4;transform:scale(.7);transition:transform .2s ease-out,opacity .2s ease-out}.Expand_header__LxAel:hover .Expand_headerIcon__CXlwY{opacity:1}.Expand_isOpen__k6lyZ .Expand_header__LxAel{background-color:var(--active-color-alpha-500)}.Expand_isOpen__k6lyZ .Expand_headerIcon__CXlwY{transform:scale(.7) rotate(90deg)}";
4
2
  var S = {"root":"Expand_root__zxSvx","header":"Expand_header__LxAel","headerIcon":"Expand_headerIcon__CXlwY","isOpen":"Expand_isOpen__k6lyZ"};
5
- styleInject(css_248z);
3
+ if (typeof document !== 'undefined') {
4
+ var __uilibHead = document.head || document.getElementsByTagName('head')[0];
5
+ if (__uilibHead) {
6
+ var __uilibStyle = document.createElement('style');
7
+ __uilibStyle.setAttribute('data-uilib-css', '');
8
+ __uilibStyle.appendChild(document.createTextNode(css_248z));
9
+ var __uilibLink = __uilibHead.querySelector('link[rel="stylesheet"]');
10
+ var __uilibInline = __uilibHead.querySelector('style:not([data-uilib-css])');
11
+ var __uilibAnchor = __uilibLink || __uilibInline;
12
+ if (__uilibLink && __uilibInline && (__uilibLink.compareDocumentPosition(__uilibInline) & 4) === 0) {
13
+ __uilibAnchor = __uilibInline;
14
+ }
15
+ if (__uilibAnchor) __uilibHead.insertBefore(__uilibStyle, __uilibAnchor);
16
+ else __uilibHead.appendChild(__uilibStyle);
17
+ }
18
+ }
6
19
 
7
20
  export { S as default };
@@ -1,7 +1,20 @@
1
- import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.js';
2
-
3
1
  var css_248z = ".Flex_root__1yZ2z{display:flex}";
4
2
  var S = {"root":"Flex_root__1yZ2z"};
5
- styleInject(css_248z);
3
+ if (typeof document !== 'undefined') {
4
+ var __uilibHead = document.head || document.getElementsByTagName('head')[0];
5
+ if (__uilibHead) {
6
+ var __uilibStyle = document.createElement('style');
7
+ __uilibStyle.setAttribute('data-uilib-css', '');
8
+ __uilibStyle.appendChild(document.createTextNode(css_248z));
9
+ var __uilibLink = __uilibHead.querySelector('link[rel="stylesheet"]');
10
+ var __uilibInline = __uilibHead.querySelector('style:not([data-uilib-css])');
11
+ var __uilibAnchor = __uilibLink || __uilibInline;
12
+ if (__uilibLink && __uilibInline && (__uilibLink.compareDocumentPosition(__uilibInline) & 4) === 0) {
13
+ __uilibAnchor = __uilibInline;
14
+ }
15
+ if (__uilibAnchor) __uilibHead.insertBefore(__uilibStyle, __uilibAnchor);
16
+ else __uilibHead.appendChild(__uilibStyle);
17
+ }
18
+ }
6
19
 
7
20
  export { S as default };
@@ -1,7 +1,20 @@
1
- import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.js';
2
-
3
- var css_248z = ".FoldedLine_root__lhi-1{border-radius:12px;display:flex;flex-direction:column;min-height:1rem;padding-left:calc(4px + var(--p-2));position:relative;transition:.1s ease-out;transition-property:border-radius,margin,background-color}.FoldedLine_root__lhi-1:before{background:var(--accent-color);border-radius:2px;bottom:2px;content:\"\";height:calc(100% - 4px);left:6px;opacity:.1;pointer-events:none;position:absolute;top:2px;width:4px}.FoldedLine_root__lhi-1:hover:before,.FoldedLine_root__lhi-1:not(.FoldedLine_folded__6zX8d):before{opacity:.7}.FoldedLine_root__lhi-1.FoldedLine_folded__6zX8d{border-radius:0;margin:0}.FoldedLine_root__lhi-1.FoldedLine_folded__6zX8d .FoldedLine_scroll__X7T5v{height:1em}.FoldedLine_root__lhi-1.FoldedLine_hasChildren__8hCZA.FoldedLine_folded__6zX8d{cursor:pointer}.FoldedLine_root__lhi-1.FoldedLine_hasChildren__8hCZA:not(.FoldedLine_folded__6zX8d) .FoldedLine_triggerInteractive__sCLnl{border-top-left-radius:inherit;border-top-right-radius:inherit}.FoldedLine_root__lhi-1.FoldedLine_clear__t47RA{border-radius:inherit;min-height:0;padding:0}.FoldedLine_root__lhi-1.FoldedLine_clear__t47RA:before{content:none}.FoldedLine_root__lhi-1.FoldedLine_clear__t47RA.FoldedLine_hasChildren__8hCZA{cursor:pointer}.FoldedLine_root__lhi-1.FoldedLine_clear__t47RA.FoldedLine_folded__6zX8d{-webkit-line-clamp:unset;-webkit-box-orient:unset;line-clamp:none;display:flex;overflow:visible;text-overflow:clip}.FoldedLine_root__lhi-1.FoldedLine_clear__t47RA .FoldedLine_triggerInteractive__sCLnl{opacity:1}.FoldedLine_chevron__zxu20{opacity:.3;position:absolute;right:var(--p-2);transition:transform .1s ease-out,opacity .1s ease-out}.FoldedLine_root__lhi-1:hover .FoldedLine_chevron__zxu20{opacity:1}.FoldedLine_folded__6zX8d .FoldedLine_chevron__zxu20{transform:rotate(-90deg)}.FoldedLine_lineCompleted__sEfzm:before{background:var(--active-color)}.FoldedLine_lineInProgress__VcwjJ:before{animation:FoldedLine_foldedLinePulse__y-Dle 1.4s ease-in-out infinite}.FoldedLine_triggerInteractive__sCLnl{align-items:center;cursor:pointer;display:flex;gap:var(--p-1);opacity:.8;padding-right:var(--p-6);transition:background-color .1s ease-out}.FoldedLine_triggerInteractive__sCLnl:hover{opacity:1}.FoldedLine_triggerInteractive__sCLnl:hover:before{background-color:var(--accent-color-alpha-900)}.FoldedLine_header__gyQpI{cursor:pointer;height:100%;position:absolute;transition:opacity .1s ease-out;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;z-index:1}.FoldedLine_folded__6zX8d{-webkit-line-clamp:1;-webkit-box-orient:vertical;line-clamp:1;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;transition:opacity .1s ease-out}.FoldedLine_folded__6zX8d:before{opacity:.4}.FoldedLine_folded__6zX8d .FoldedLine_scroll__X7T5v{max-height:1.5em}.FoldedLine_content__POIox{position:relative}.FoldedLine_scroll__X7T5v{max-height:50vh}.FoldedLine_scrollInner__1BGOP>div{-webkit-user-select:text;-moz-user-select:text;user-select:text}.FoldedLine_actions__SmF3b{align-items:center;bottom:0;display:flex;flex-shrink:0;flex-wrap:wrap;gap:var(--p-1);justify-content:flex-end;padding:0 var(--p-5) var(--p-3) var(--p-2);position:absolute;right:0}.FoldedLine_actions__SmF3b>button{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}@keyframes FoldedLine_foldedLinePulse__y-Dle{0%,to{background-color:var(--accent-color-alpha-400)}50%{background-color:var(--active-color)}}";
1
+ var css_248z = ".FoldedLine_root__lhi-1{border-radius:12px;display:flex;flex-direction:column;min-height:1rem;padding-left:calc(4px + var(--p-2));position:relative;transition:.1s ease-out;transition-property:border-radius,margin,background-color}.FoldedLine_root__lhi-1:before{background:var(--accent-color);border-radius:2px;bottom:2px;content:\"\";height:calc(100% - 4px);left:6px;opacity:.1;pointer-events:none;position:absolute;top:2px;width:4px}.FoldedLine_root__lhi-1:hover:before,.FoldedLine_root__lhi-1:not(.FoldedLine_folded__6zX8d):before{opacity:.7}.FoldedLine_root__lhi-1.FoldedLine_folded__6zX8d{border-radius:0;margin:0}.FoldedLine_root__lhi-1.FoldedLine_folded__6zX8d .FoldedLine_scroll__X7T5v{height:1em}.FoldedLine_root__lhi-1.FoldedLine_hasChildren__8hCZA.FoldedLine_folded__6zX8d{cursor:pointer}.FoldedLine_root__lhi-1.FoldedLine_hasChildren__8hCZA:not(.FoldedLine_folded__6zX8d) .FoldedLine_triggerInteractive__sCLnl{border-top-left-radius:inherit;border-top-right-radius:inherit}.FoldedLine_root__lhi-1.FoldedLine_clear__t47RA{border-radius:inherit;min-height:0;padding:0}.FoldedLine_root__lhi-1.FoldedLine_clear__t47RA:before{content:none}.FoldedLine_root__lhi-1.FoldedLine_clear__t47RA.FoldedLine_hasChildren__8hCZA{cursor:pointer}.FoldedLine_root__lhi-1.FoldedLine_clear__t47RA.FoldedLine_folded__6zX8d{-webkit-line-clamp:unset;-webkit-box-orient:unset;line-clamp:none;display:flex;overflow:visible;text-overflow:clip}.FoldedLine_root__lhi-1.FoldedLine_clear__t47RA .FoldedLine_triggerInteractive__sCLnl{opacity:1}.FoldedLine_chevron__zxu20{opacity:.3;position:absolute;right:var(--p-2);transition:transform .1s ease-out,opacity .1s ease-out}.FoldedLine_root__lhi-1:hover .FoldedLine_chevron__zxu20{opacity:1}.FoldedLine_folded__6zX8d .FoldedLine_chevron__zxu20{transform:rotate(-90deg)}.FoldedLine_lineCompleted__sEfzm:before{background:var(--active-color)}.FoldedLine_lineInProgress__VcwjJ:before{animation:FoldedLine_foldedLinePulse__y-Dle 1.4s ease-in-out infinite}.FoldedLine_triggerInteractive__sCLnl{align-items:center;cursor:pointer;display:flex;gap:var(--p-1);opacity:.8;padding-right:var(--p-6);transition:background-color .1s ease-out}.FoldedLine_triggerInteractive__sCLnl:hover{opacity:1}.FoldedLine_triggerInteractive__sCLnl:hover:before{background-color:var(--accent-color-alpha-900)}.FoldedLine_header__gyQpI{cursor:pointer;height:100%;position:absolute;transition:opacity .1s ease-out;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;z-index:1}.FoldedLine_folded__6zX8d{-webkit-line-clamp:1;-webkit-box-orient:vertical;line-clamp:1;display:-webkit-box;min-width:0;overflow:hidden;text-overflow:ellipsis;transition:opacity .1s ease-out;width:100%}.FoldedLine_folded__6zX8d:before{opacity:.4}.FoldedLine_folded__6zX8d .FoldedLine_scroll__X7T5v{max-height:1.5em}.FoldedLine_content__POIox{position:relative}.FoldedLine_scroll__X7T5v{max-height:50vh}.FoldedLine_scrollInner__1BGOP>div{-webkit-user-select:text;-moz-user-select:text;user-select:text}.FoldedLine_actions__SmF3b{align-items:center;bottom:0;display:flex;flex-shrink:0;flex-wrap:wrap;gap:var(--p-1);justify-content:flex-end;padding:0 var(--p-5) var(--p-3) var(--p-2);position:absolute;right:0}.FoldedLine_actions__SmF3b>button{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}@keyframes FoldedLine_foldedLinePulse__y-Dle{0%,to{background-color:var(--accent-color-alpha-400)}50%{background-color:var(--active-color)}}";
4
2
  var S = {"root":"FoldedLine_root__lhi-1","folded":"FoldedLine_folded__6zX8d","scroll":"FoldedLine_scroll__X7T5v","hasChildren":"FoldedLine_hasChildren__8hCZA","triggerInteractive":"FoldedLine_triggerInteractive__sCLnl","clear":"FoldedLine_clear__t47RA","chevron":"FoldedLine_chevron__zxu20","lineCompleted":"FoldedLine_lineCompleted__sEfzm","lineInProgress":"FoldedLine_lineInProgress__VcwjJ","foldedLinePulse":"FoldedLine_foldedLinePulse__y-Dle","header":"FoldedLine_header__gyQpI","content":"FoldedLine_content__POIox","scrollInner":"FoldedLine_scrollInner__1BGOP","actions":"FoldedLine_actions__SmF3b"};
5
- styleInject(css_248z);
3
+ if (typeof document !== 'undefined') {
4
+ var __uilibHead = document.head || document.getElementsByTagName('head')[0];
5
+ if (__uilibHead) {
6
+ var __uilibStyle = document.createElement('style');
7
+ __uilibStyle.setAttribute('data-uilib-css', '');
8
+ __uilibStyle.appendChild(document.createTextNode(css_248z));
9
+ var __uilibLink = __uilibHead.querySelector('link[rel="stylesheet"]');
10
+ var __uilibInline = __uilibHead.querySelector('style:not([data-uilib-css])');
11
+ var __uilibAnchor = __uilibLink || __uilibInline;
12
+ if (__uilibLink && __uilibInline && (__uilibLink.compareDocumentPosition(__uilibInline) & 4) === 0) {
13
+ __uilibAnchor = __uilibInline;
14
+ }
15
+ if (__uilibAnchor) __uilibHead.insertBefore(__uilibStyle, __uilibAnchor);
16
+ else __uilibHead.appendChild(__uilibStyle);
17
+ }
18
+ }
6
19
 
7
20
  export { S as default };
@@ -1,7 +1,20 @@
1
- import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.js';
2
-
3
1
  var css_248z = ".Form_root__EzxOr{margin:0 auto;max-width:100%;width:100%}.Form_isLoading__D1sPp{opacity:.8;pointer-events:none;transition:opacity .2s ease-out}.Form_field__S50yT{position:relative}.Form_field__S50yT+.Form_field__S50yT{margin-top:10px}.Form_field__S50yT+.Form_field__S50yT.Form_clearMargins__-KvTS{margin-top:0}.Form_field__S50yT.Form_changed__j-elu:after{background-color:$primaryColor;border-radius:50%;box-shadow:0 0 0 1px hsla(0,0%,100%,.8);content:\"\";height:6px;pointer-events:none;position:absolute;right:-2px;top:-2px;width:6px;z-index:1}.Form_hidden__MId3H{display:none}.Form_error__J7BaB{color:#e91b20;font-size:80%;margin:5px}";
4
2
  var S = {"root":"Form_root__EzxOr","isLoading":"Form_isLoading__D1sPp","field":"Form_field__S50yT","clearMargins":"Form_clearMargins__-KvTS","changed":"Form_changed__j-elu","hidden":"Form_hidden__MId3H","error":"Form_error__J7BaB"};
5
- styleInject(css_248z);
3
+ if (typeof document !== 'undefined') {
4
+ var __uilibHead = document.head || document.getElementsByTagName('head')[0];
5
+ if (__uilibHead) {
6
+ var __uilibStyle = document.createElement('style');
7
+ __uilibStyle.setAttribute('data-uilib-css', '');
8
+ __uilibStyle.appendChild(document.createTextNode(css_248z));
9
+ var __uilibLink = __uilibHead.querySelector('link[rel="stylesheet"]');
10
+ var __uilibInline = __uilibHead.querySelector('style:not([data-uilib-css])');
11
+ var __uilibAnchor = __uilibLink || __uilibInline;
12
+ if (__uilibLink && __uilibInline && (__uilibLink.compareDocumentPosition(__uilibInline) & 4) === 0) {
13
+ __uilibAnchor = __uilibInline;
14
+ }
15
+ if (__uilibAnchor) __uilibHead.insertBefore(__uilibStyle, __uilibAnchor);
16
+ else __uilibHead.appendChild(__uilibStyle);
17
+ }
18
+ }
6
19
 
7
20
  export { S as default };
@@ -1,7 +1,20 @@
1
- import styleInject from '../../../../node_modules/style-inject/dist/style-inject.es.js';
2
-
3
1
  var css_248z = ".SubmitButtons_root__sXP-n{display:flex;justify-content:flex-end;margin-top:15px}.SubmitButtons_item__f0l6w+.SubmitButtons_item__f0l6w{margin-left:10px}";
4
2
  var S = {"root":"SubmitButtons_root__sXP-n","item":"SubmitButtons_item__f0l6w"};
5
- styleInject(css_248z);
3
+ if (typeof document !== 'undefined') {
4
+ var __uilibHead = document.head || document.getElementsByTagName('head')[0];
5
+ if (__uilibHead) {
6
+ var __uilibStyle = document.createElement('style');
7
+ __uilibStyle.setAttribute('data-uilib-css', '');
8
+ __uilibStyle.appendChild(document.createTextNode(css_248z));
9
+ var __uilibLink = __uilibHead.querySelector('link[rel="stylesheet"]');
10
+ var __uilibInline = __uilibHead.querySelector('style:not([data-uilib-css])');
11
+ var __uilibAnchor = __uilibLink || __uilibInline;
12
+ if (__uilibLink && __uilibInline && (__uilibLink.compareDocumentPosition(__uilibInline) & 4) === 0) {
13
+ __uilibAnchor = __uilibInline;
14
+ }
15
+ if (__uilibAnchor) __uilibHead.insertBefore(__uilibStyle, __uilibAnchor);
16
+ else __uilibHead.appendChild(__uilibStyle);
17
+ }
18
+ }
6
19
 
7
20
  export { S as default };
@@ -1,7 +1,20 @@
1
- import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.js';
2
-
3
1
  var css_248z = ".FormattedText_bullet__vbqlq{display:inline-block;margin-bottom:2px;margin-left:var(--p-2);margin-right:2px}.FormattedText_bullet__vbqlq:before{background-color:var(--accent-color);border-radius:50%;content:\"\";display:block;height:6px;margin:0 4px;width:6px}.FormattedText_numberedIndex__rZ6Kt{font-feature-settings:\"tnum\";color:var(--accent-color);display:inline-block;font-variant-numeric:tabular-nums;margin-left:var(--p-2);margin-right:6px;min-width:1.25em}.FormattedText_line__c2bmE{background-color:var(--accent-color-alpha-200);border-radius:2px;height:2px;margin:var(--p-2) 0;width:100%}.FormattedText_codeBlock__Xrbvn,.FormattedText_codeInline__jCbNL{background-color:var(--decent-color-alpha-400);border-radius:var(--p-2);box-shadow:0 1px 1px var(--accent-color-alpha-50),inset 0 1px 1px var(--decent-color-alpha-500);font-family:monospace;-webkit-user-select:text;-moz-user-select:text;user-select:text}.FormattedText_codeInline__jCbNL{border-radius:3px;display:inline;font-size:90%;padding:0 4px}.FormattedText_codeBlock__Xrbvn,.FormattedText_jsonPre__qOGmo{display:block;font-size:90%;margin:var(--p-2) 0;overflow-x:auto;padding:var(--p-2);white-space:pre-wrap}.FormattedText_jsonPre__qOGmo{background-color:var(--decent-color-alpha-300);border-radius:var(--p-2);box-shadow:0 1px 1px var(--accent-color-alpha-50),inset 0 1px 1px var(--accent-color-alpha-50);font-family:monospace;max-width:100%;-webkit-user-select:text;-moz-user-select:text;user-select:text}.FormattedText_table__ipMMS{margin-bottom:10px}";
4
2
  var S = {"bullet":"FormattedText_bullet__vbqlq","numberedIndex":"FormattedText_numberedIndex__rZ6Kt","line":"FormattedText_line__c2bmE","codeInline":"FormattedText_codeInline__jCbNL","codeBlock":"FormattedText_codeBlock__Xrbvn","jsonPre":"FormattedText_jsonPre__qOGmo","table":"FormattedText_table__ipMMS"};
5
- styleInject(css_248z);
3
+ if (typeof document !== 'undefined') {
4
+ var __uilibHead = document.head || document.getElementsByTagName('head')[0];
5
+ if (__uilibHead) {
6
+ var __uilibStyle = document.createElement('style');
7
+ __uilibStyle.setAttribute('data-uilib-css', '');
8
+ __uilibStyle.appendChild(document.createTextNode(css_248z));
9
+ var __uilibLink = __uilibHead.querySelector('link[rel="stylesheet"]');
10
+ var __uilibInline = __uilibHead.querySelector('style:not([data-uilib-css])');
11
+ var __uilibAnchor = __uilibLink || __uilibInline;
12
+ if (__uilibLink && __uilibInline && (__uilibLink.compareDocumentPosition(__uilibInline) & 4) === 0) {
13
+ __uilibAnchor = __uilibInline;
14
+ }
15
+ if (__uilibAnchor) __uilibHead.insertBefore(__uilibStyle, __uilibAnchor);
16
+ else __uilibHead.appendChild(__uilibStyle);
17
+ }
18
+ }
6
19
 
7
20
  export { S as default };
@@ -1,7 +1,20 @@
1
- import styleInject from '../../../../node_modules/style-inject/dist/style-inject.es.js';
2
-
3
1
  var css_248z = ".Dots_root__dTavT{bottom:1%;display:flex;justify-content:center;-webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);overflow:hidden;padding:0 10%;pointer-events:none;position:absolute;width:100%}.Dots_inner__0Nqa9{align-items:center;display:flex}.Dots_item__gEVuS{background-color:var(--accent-color-alpha-200);border-radius:50%;box-shadow:0 0 0 1px var(--decent-color-alpha-500);flex-shrink:0;height:8px;margin:3px;transition:.1s ease-out;transition-property:background-color,transform;width:8px}.Dots_item__gEVuS.Dots_active__gAUAj{background-color:var(--accent-color-alpha-500);transform:scale(1.2)}";
4
2
  var S = {"root":"Dots_root__dTavT","inner":"Dots_inner__0Nqa9","item":"Dots_item__gEVuS","active":"Dots_active__gAUAj"};
5
- styleInject(css_248z);
3
+ if (typeof document !== 'undefined') {
4
+ var __uilibHead = document.head || document.getElementsByTagName('head')[0];
5
+ if (__uilibHead) {
6
+ var __uilibStyle = document.createElement('style');
7
+ __uilibStyle.setAttribute('data-uilib-css', '');
8
+ __uilibStyle.appendChild(document.createTextNode(css_248z));
9
+ var __uilibLink = __uilibHead.querySelector('link[rel="stylesheet"]');
10
+ var __uilibInline = __uilibHead.querySelector('style:not([data-uilib-css])');
11
+ var __uilibAnchor = __uilibLink || __uilibInline;
12
+ if (__uilibLink && __uilibInline && (__uilibLink.compareDocumentPosition(__uilibInline) & 4) === 0) {
13
+ __uilibAnchor = __uilibInline;
14
+ }
15
+ if (__uilibAnchor) __uilibHead.insertBefore(__uilibStyle, __uilibAnchor);
16
+ else __uilibHead.appendChild(__uilibStyle);
17
+ }
18
+ }
6
19
 
7
20
  export { S as default };
@@ -1,7 +1,20 @@
1
- import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.js';
2
-
3
1
  var css_248z = ".Gallery_item__P4qTJ,.Gallery_root__-Crit{height:100%;width:100%}.Gallery_root__-Crit{overflow:hidden;position:relative}.Gallery_inner__4FAPt{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:flex;height:100%;position:absolute;touch-action:none;transform:translate3d(-33.33333%,0,0);width:calc(300% + 1px)}.Gallery_single__Wfd9h .Gallery_inner__4FAPt{transform:none;width:100%}.Gallery_single__Wfd9h .Gallery_item__P4qTJ{width:100%}.Gallery_inner__4FAPt.Gallery_left__zrrmv,.Gallery_inner__4FAPt.Gallery_right__dpZ-m{transition:transform 0s ease-out;transition-duration:.2s}.Gallery_inner__4FAPt.Gallery_left__zrrmv{transform:translateZ(0)!important}.Gallery_inner__4FAPt.Gallery_right__dpZ-m{transform:translate3d(-66.66667%,0,0)!important}.Gallery_inner__4FAPt.Gallery_initialBounce__nZnKd{animation:Gallery_bounce__buqva 1s ease-out}.Gallery_item__P4qTJ{align-items:center;display:flex;justify-content:center;position:relative;width:33.33333%}.Gallery_image__FkvmG{height:auto;max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain;opacity:0;transition:opacity .15s ease-out;width:auto}.Gallery_image__FkvmG.Gallery_imageLoaded__1rGwn{opacity:1}.Gallery_cover__ZGx5X .Gallery_image__FkvmG{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.Gallery_brokenImage__Bj3O-{height:50%;opacity:.2;width:50%}.Gallery_videoItem__06r39 .Gallery_video__vKK23{max-height:100%;max-width:100%}.Gallery_arr__knicI{background:transparent!important;height:100%;min-height:100%;opacity:0;padding:10%;position:absolute;top:0;transition:opacity .1s ease-out;z-index:1}.Gallery_arr__knicI.Gallery_left__zrrmv{justify-content:flex-start;left:0}.Gallery_arr__knicI.Gallery_right__dpZ-m{justify-content:flex-end;right:0;width:77%}.Gallery_arr__knicI:hover{opacity:1}@keyframes Gallery_bounce__buqva{0%{left:0}50%{left:-20%}80%{left:10%}to{left:0}}";
4
2
  var S = {"root":"Gallery_root__-Crit","item":"Gallery_item__P4qTJ","inner":"Gallery_inner__4FAPt","single":"Gallery_single__Wfd9h","left":"Gallery_left__zrrmv","right":"Gallery_right__dpZ-m","initialBounce":"Gallery_initialBounce__nZnKd","bounce":"Gallery_bounce__buqva","image":"Gallery_image__FkvmG","imageLoaded":"Gallery_imageLoaded__1rGwn","cover":"Gallery_cover__ZGx5X","brokenImage":"Gallery_brokenImage__Bj3O-","videoItem":"Gallery_videoItem__06r39","video":"Gallery_video__vKK23","arr":"Gallery_arr__knicI"};
5
- styleInject(css_248z);
3
+ if (typeof document !== 'undefined') {
4
+ var __uilibHead = document.head || document.getElementsByTagName('head')[0];
5
+ if (__uilibHead) {
6
+ var __uilibStyle = document.createElement('style');
7
+ __uilibStyle.setAttribute('data-uilib-css', '');
8
+ __uilibStyle.appendChild(document.createTextNode(css_248z));
9
+ var __uilibLink = __uilibHead.querySelector('link[rel="stylesheet"]');
10
+ var __uilibInline = __uilibHead.querySelector('style:not([data-uilib-css])');
11
+ var __uilibAnchor = __uilibLink || __uilibInline;
12
+ if (__uilibLink && __uilibInline && (__uilibLink.compareDocumentPosition(__uilibInline) & 4) === 0) {
13
+ __uilibAnchor = __uilibInline;
14
+ }
15
+ if (__uilibAnchor) __uilibHead.insertBefore(__uilibStyle, __uilibAnchor);
16
+ else __uilibHead.appendChild(__uilibStyle);
17
+ }
18
+ }
6
19
 
7
20
  export { S as default };
@@ -1,7 +1,20 @@
1
- import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.js';
2
-
3
1
  var css_248z = ".Gap_root__1wfNL{flex-grow:1}";
4
2
  var S = {"root":"Gap_root__1wfNL"};
5
- styleInject(css_248z);
3
+ if (typeof document !== 'undefined') {
4
+ var __uilibHead = document.head || document.getElementsByTagName('head')[0];
5
+ if (__uilibHead) {
6
+ var __uilibStyle = document.createElement('style');
7
+ __uilibStyle.setAttribute('data-uilib-css', '');
8
+ __uilibStyle.appendChild(document.createTextNode(css_248z));
9
+ var __uilibLink = __uilibHead.querySelector('link[rel="stylesheet"]');
10
+ var __uilibInline = __uilibHead.querySelector('style:not([data-uilib-css])');
11
+ var __uilibAnchor = __uilibLink || __uilibInline;
12
+ if (__uilibLink && __uilibInline && (__uilibLink.compareDocumentPosition(__uilibInline) & 4) === 0) {
13
+ __uilibAnchor = __uilibInline;
14
+ }
15
+ if (__uilibAnchor) __uilibHead.insertBefore(__uilibStyle, __uilibAnchor);
16
+ else __uilibHead.appendChild(__uilibStyle);
17
+ }
18
+ }
6
19
 
7
20
  export { S as default };
@@ -1,7 +1,20 @@
1
- import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.js';
2
-
3
1
  var css_248z = ".GridLayout_root__tpdT0{display:grid;min-width:0;width:100%}";
4
2
  var S = {"root":"GridLayout_root__tpdT0"};
5
- styleInject(css_248z);
3
+ if (typeof document !== 'undefined') {
4
+ var __uilibHead = document.head || document.getElementsByTagName('head')[0];
5
+ if (__uilibHead) {
6
+ var __uilibStyle = document.createElement('style');
7
+ __uilibStyle.setAttribute('data-uilib-css', '');
8
+ __uilibStyle.appendChild(document.createTextNode(css_248z));
9
+ var __uilibLink = __uilibHead.querySelector('link[rel="stylesheet"]');
10
+ var __uilibInline = __uilibHead.querySelector('style:not([data-uilib-css])');
11
+ var __uilibAnchor = __uilibLink || __uilibInline;
12
+ if (__uilibLink && __uilibInline && (__uilibLink.compareDocumentPosition(__uilibInline) & 4) === 0) {
13
+ __uilibAnchor = __uilibInline;
14
+ }
15
+ if (__uilibAnchor) __uilibHead.insertBefore(__uilibStyle, __uilibAnchor);
16
+ else __uilibHead.appendChild(__uilibStyle);
17
+ }
18
+ }
6
19
 
7
20
  export { S as default };
@@ -1,7 +1,20 @@
1
- import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.js';
2
-
3
1
  var css_248z = ".Heading_root__Y4E8o{margin:1em 0;position:relative}.Heading_root__Y4E8o,.Heading_root__Y4E8o>a{color:var(--accent-color)!important}.Heading_root__Y4E8o .Heading_link__JTd0P{bottom:0;display:block;left:-1.7em;min-height:100%;opacity:0;padding:.8em 1em 0!important;pointer-events:all!important;position:absolute;right:1.7em;text-decoration:none;transition:all .2s ease-out}.Heading_root__Y4E8o:hover .Heading_link__JTd0P{opacity:1;transform:translateX(-5px)}";
4
2
  var S = {"root":"Heading_root__Y4E8o","link":"Heading_link__JTd0P"};
5
- styleInject(css_248z);
3
+ if (typeof document !== 'undefined') {
4
+ var __uilibHead = document.head || document.getElementsByTagName('head')[0];
5
+ if (__uilibHead) {
6
+ var __uilibStyle = document.createElement('style');
7
+ __uilibStyle.setAttribute('data-uilib-css', '');
8
+ __uilibStyle.appendChild(document.createTextNode(css_248z));
9
+ var __uilibLink = __uilibHead.querySelector('link[rel="stylesheet"]');
10
+ var __uilibInline = __uilibHead.querySelector('style:not([data-uilib-css])');
11
+ var __uilibAnchor = __uilibLink || __uilibInline;
12
+ if (__uilibLink && __uilibInline && (__uilibLink.compareDocumentPosition(__uilibInline) & 4) === 0) {
13
+ __uilibAnchor = __uilibInline;
14
+ }
15
+ if (__uilibAnchor) __uilibHead.insertBefore(__uilibStyle, __uilibAnchor);
16
+ else __uilibHead.appendChild(__uilibStyle);
17
+ }
18
+ }
6
19
 
7
20
  export { S as default };
@@ -1,7 +1,20 @@
1
- import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.js';
2
-
3
1
  var css_248z = ".Icon_root__Uzney{color:inherit;display:inline-block;pointer-events:none}.Icon_size-xs__T-Npk{height:12px;width:12px}.Icon_size-s__qftZG{height:18px;width:18px}.Icon_size-m__7xCDX{height:22px;width:22px}.Icon_size-l__Eq1Fb{height:28px;width:28px}.Icon_size-xl__ChZL5{height:34px;width:34px}";
4
2
  var S = {"root":"Icon_root__Uzney","size-xs":"Icon_size-xs__T-Npk","size-s":"Icon_size-s__qftZG","size-m":"Icon_size-m__7xCDX","size-l":"Icon_size-l__Eq1Fb","size-xl":"Icon_size-xl__ChZL5"};
5
- styleInject(css_248z);
3
+ if (typeof document !== 'undefined') {
4
+ var __uilibHead = document.head || document.getElementsByTagName('head')[0];
5
+ if (__uilibHead) {
6
+ var __uilibStyle = document.createElement('style');
7
+ __uilibStyle.setAttribute('data-uilib-css', '');
8
+ __uilibStyle.appendChild(document.createTextNode(css_248z));
9
+ var __uilibLink = __uilibHead.querySelector('link[rel="stylesheet"]');
10
+ var __uilibInline = __uilibHead.querySelector('style:not([data-uilib-css])');
11
+ var __uilibAnchor = __uilibLink || __uilibInline;
12
+ if (__uilibLink && __uilibInline && (__uilibLink.compareDocumentPosition(__uilibInline) & 4) === 0) {
13
+ __uilibAnchor = __uilibInline;
14
+ }
15
+ if (__uilibAnchor) __uilibHead.insertBefore(__uilibStyle, __uilibAnchor);
16
+ else __uilibHead.appendChild(__uilibStyle);
17
+ }
18
+ }
6
19
 
7
20
  export { S as default };