@cozeloop/components 0.0.12-beta-1378.344125032425 → 0.0.12-beta-1578.3267920017242

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/es/index.mjs CHANGED
@@ -1,20 +1,18 @@
1
1
  import "./index.css";
2
2
  import "./static/svg/select.svg";
3
- import __rslib_svgr_url__1__ from "./static/svg/audio-icon.svg";
4
- import __rslib_svgr_url__2__ from "./static/svg/video-icon.svg";
5
3
  import { __webpack_require__ } from "./rslib-runtime.mjs";
6
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
5
  import { arrayMove, sortableContainer as external_react_sortable_hoc_sortableContainer, sortableElement, sortableHandle } from "react-sortable-hoc";
8
6
  import react, { Fragment as external_react_Fragment, forwardRef, isValidElement, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
9
7
  import { I18n as i18n_I18n } from "@cozeloop/i18n";
10
- import { IconCozArrowDown, IconCozArrowLeft, IconCozArrowRight, IconCozCheckMarkCircleFill, IconCozCheckMarkFill, IconCozContent, IconCozCopy, IconCozCross, IconCozCrossCircleFill, IconCozCrossCircleFillPalette, IconCozCrossFill, IconCozDownload, IconCozEye, IconCozFilter, IconCozHandle, IconCozImage, IconCozImageArrowUp, IconCozImageBroken, IconCozInfoCircle, IconCozLongArrowTopRight, IconCozLongArrowUp, IconCozMore, IconCozPencil, IconCozPlayCircle, IconCozPlus, IconCozPlusCircle, IconCozQuestionMarkCircle, IconCozRefresh, IconCozSetting, IconCozTableSetting, IconCozTrashCan, IconCozVideo, IconCozWarningCircle } from "@coze-arch/coze-design/icons";
11
- import { AudioPlayer, Banner, Button, ButtonGroup, Cascader, Checkbox, Col, Collapse, CozAvatar, CozInputNumber, CozPagination, DatePicker, Descriptions, Divider, Dropdown, Empty, EmptyState, Form, IconButton, Image, ImagePreview, Input, List, Loading, LoadingButton, Menu, Modal, Popover, Radio, RadioGroup, Row, Select, SideSheet, Skeleton, Slider, Space, Spin, Switch, Table, Tabs, Tag, TextArea, Toast, Tooltip, Typography, Upload, VideoPlayer, withField } from "@coze-arch/coze-design";
8
+ import { IconCozArrowDown, IconCozArrowLeft, IconCozArrowRight, IconCozCheckMarkCircleFill, IconCozCheckMarkFill, IconCozContent, IconCozCopy, IconCozCross, IconCozCrossCircleFill, IconCozCrossFill, IconCozEye, IconCozFilter, IconCozHandle, IconCozImage, IconCozImageArrowUp, IconCozImageBroken, IconCozInfoCircle, IconCozLongArrowTopRight, IconCozLongArrowUp, IconCozMore, IconCozPencil, IconCozPlayCircle, IconCozPlus, IconCozPlusCircle, IconCozQuestionMarkCircle, IconCozRefresh, IconCozSetting, IconCozTableSetting, IconCozTrashCan, IconCozVideo, IconCozWarningCircle } from "@coze-arch/coze-design/icons";
9
+ import { Banner, Button, ButtonGroup, Cascader, Checkbox, Col, Collapse, CozAvatar, CozInputNumber, CozPagination, DatePicker, Descriptions, Divider, Dropdown, Empty, EmptyState, Form, IconButton, Image, ImagePreview, Input, List, Loading, Menu, Modal, Popover, Radio, RadioGroup, Row, Select, SideSheet, Skeleton, Slider, Space, Spin, Switch, Table, Tabs, Tag, TextArea, Toast, Tooltip, Typography, Upload, withField } from "@coze-arch/coze-design";
12
10
  import classnames from "classnames";
13
11
  import { IconCozIllus404, IconCozIllus404Dark, IconCozIllusEmpty, IconCozIllusEmptyDark, IconCozIllusError, IconCozIllusErrorDark, IconCozIllusLock, IconCozIllusLockDark, IconCozIllusNone, IconCozIllusNoneDark } from "@coze-arch/coze-design/illustrations";
14
12
  import { useDebounceFn, useInfiniteScroll, useLatest, useMemoizedFn, useRequest, useSize } from "ahooks";
15
13
  import { cloneDeep, debounce, get, isEmpty as external_lodash_es_isEmpty, isFunction, isInteger, isNull, isNumber, isObject, isString, isUndefined, set } from "lodash-es";
16
14
  import copy_to_clipboard from "copy-to-clipboard";
17
- import { fileDownload, formatTimestampToString, safeJsonParse, sleep as toolkit_sleep } from "@cozeloop/toolkit";
15
+ import { formatTimestampToString, safeJsonParse, sleep as toolkit_sleep } from "@cozeloop/toolkit";
18
16
  import sortablejs from "sortablejs";
19
17
  import { nanoid } from "nanoid";
20
18
  import { ContentType } from "@cozeloop/api-schema/evaluation";
@@ -6116,255 +6114,7 @@ const CollapseItem = ({ children, open: defaultOpen, title, className })=>{
6116
6114
  ]
6117
6115
  });
6118
6116
  };
6119
- const audio_icon = __rslib_svgr_url__1__;
6120
- function AudioRender({ audioUrl, audioName, className, showDownload, deletion, upload, size = 'small' }) {
6121
- const [modalVisible, setModalVisible] = useState(false);
6122
- const iconSizeCls = 'small' === size ? 'text-[14px]' : 'text-[20px]';
6123
- return /*#__PURE__*/ jsxs("div", {
6124
- className: "flex flex-col",
6125
- onClick: (e)=>{
6126
- e.stopPropagation();
6127
- },
6128
- children: [
6129
- /*#__PURE__*/ jsxs("div", {
6130
- className: classnames('inline-block relative group', 'small' === size ? 'w-[36px] h-[36px]' : 'w-[80px] h-[80px]', className),
6131
- children: [
6132
- upload?.status === 'error' ? /*#__PURE__*/ jsx("div", {
6133
- className: classnames('w-full h-full flex items-center justify-center rounded-[6px] coz-mg-primary', 'border border-solid coz-stroke-hglt-red'),
6134
- children: /*#__PURE__*/ jsx(IconCozImageBroken, {
6135
- className: "text-[20px] coz-fg-dim"
6136
- })
6137
- }) : /*#__PURE__*/ jsx(Spin, {
6138
- spinning: upload?.status === 'loading',
6139
- wrapperClassName: "!w-full !h-full [&_.semi-spin-children]:w-full [&_.semi-spin-children]:h-full",
6140
- children: /*#__PURE__*/ jsx("img", {
6141
- src: audio_icon,
6142
- alt: audioName,
6143
- width: '100%',
6144
- height: '100%',
6145
- style: {
6146
- objectFit: 'cover',
6147
- objectPosition: 'center'
6148
- }
6149
- })
6150
- }),
6151
- /*#__PURE__*/ jsxs("div", {
6152
- className: classnames('absolute inset-0 rounded-[6px] flex gap-3 items-center justify-center', 'z-[1]', 'bg-[rgba(0,0,0,0.4)]', 'invisible group-hover:visible'),
6153
- children: [
6154
- upload?.status === 'error' ? /*#__PURE__*/ jsx(IconCozRefresh, {
6155
- className: classnames('text-white cursor-pointer', iconSizeCls),
6156
- onClick: upload?.onRetry
6157
- }) : null,
6158
- audioUrl && ![
6159
- 'error',
6160
- 'loading'
6161
- ].includes(upload?.status || 'success') ? /*#__PURE__*/ jsx(IconCozPlayCircle, {
6162
- className: classnames('text-white cursor-pointer', iconSizeCls),
6163
- onClick: ()=>setModalVisible(true)
6164
- }) : null,
6165
- showDownload ? /*#__PURE__*/ jsx(IconCozDownload, {
6166
- className: classnames('text-white cursor-pointer', iconSizeCls),
6167
- onClick: ()=>{
6168
- if (audioUrl) fileDownload(audioUrl, audioName || i18n_I18n.t('test'));
6169
- }
6170
- }) : null,
6171
- isFunction(deletion) ? /*#__PURE__*/ jsx("div", {
6172
- className: "absolute right-[-8px] top-[-8px] p-[2px] shrink-0 inline-flex justify-center items-center cursor-pointer",
6173
- onClick: ()=>deletion(),
6174
- children: /*#__PURE__*/ jsx(IconCozCrossCircleFillPalette, {})
6175
- }) : null
6176
- ]
6177
- })
6178
- ]
6179
- }),
6180
- /*#__PURE__*/ jsx(Modal, {
6181
- visible: modalVisible,
6182
- closable: false,
6183
- title: /*#__PURE__*/ jsxs("div", {
6184
- className: "w-full flex items-center justify-between",
6185
- children: [
6186
- /*#__PURE__*/ jsx(Typography.Title, {
6187
- heading: 5,
6188
- ellipsis: {
6189
- showTooltip: true
6190
- },
6191
- children: audioName || i18n_I18n.t('audio')
6192
- }),
6193
- /*#__PURE__*/ jsxs("div", {
6194
- className: "flex items-center gap-2",
6195
- children: [
6196
- /*#__PURE__*/ jsx(LoadingButton, {
6197
- color: "primary",
6198
- icon: /*#__PURE__*/ jsx(IconCozDownload, {}),
6199
- onClick: async ()=>{
6200
- if (audioUrl) await fileDownload(audioUrl, audioName || i18n_I18n.t('test'));
6201
- },
6202
- children: i18n_I18n.t('download')
6203
- }),
6204
- /*#__PURE__*/ jsx(IconButton, {
6205
- size: "large",
6206
- color: "secondary",
6207
- className: "!w-[40px] !h-[40px]",
6208
- icon: /*#__PURE__*/ jsx(IconCozCross, {}),
6209
- onClick: ()=>setModalVisible(false)
6210
- })
6211
- ]
6212
- })
6213
- ]
6214
- }),
6215
- width: 800,
6216
- onCancel: ()=>setModalVisible(false),
6217
- children: /*#__PURE__*/ jsx(AudioPlayer, {
6218
- autoPlay: false,
6219
- audioUrl: audioUrl,
6220
- theme: "light",
6221
- skipDuration: 180,
6222
- className: classnames('rounded-[8px]', '[&_.semi-audio-player-control>span:not(:first-child)]:hidden', '[&_.semi-audio-player-control_button]:!coz-stroke-primary', '[&_.semi-audio-player-slider-progress]:bg-[--coz-fg-hglt]')
6223
- })
6224
- })
6225
- ]
6226
- });
6227
- }
6228
- const video_icon = __rslib_svgr_url__2__;
6229
- function VideoRender({ videoName, videoUrl, showDownload, deletion, upload, size = 'small', className }) {
6230
- const [modalVisible, setModalVisible] = useState(false);
6231
- const [videoElementStatus, setVideoElementStatus] = useState('loading');
6232
- const iconSizeCls = 'small' === size ? 'text-[14px]' : 'text-[20px]';
6233
- return /*#__PURE__*/ jsxs("div", {
6234
- className: "flex flex-col",
6235
- onClick: (e)=>{
6236
- e.stopPropagation();
6237
- },
6238
- children: [
6239
- /*#__PURE__*/ jsxs("div", {
6240
- className: classnames('inline-block relative group', 'small' === size ? 'w-[36px] h-[36px]' : 'w-[80px] h-[80px]', className),
6241
- children: [
6242
- 'loading' === videoElementStatus || upload?.status === 'loading' ? /*#__PURE__*/ jsx(Spin, {
6243
- spinning: true,
6244
- wrapperClassName: "absolute inset-0",
6245
- children: /*#__PURE__*/ jsx("img", {
6246
- src: video_icon,
6247
- className: "w-full h-full object-cover"
6248
- })
6249
- }) : null,
6250
- 'error' === videoElementStatus || upload?.status === 'error' ? /*#__PURE__*/ jsx("div", {
6251
- className: classnames('absolute inset-0 rounded-[6px] flex items-center justify-center coz-mg-primary', {
6252
- 'border border-solid coz-stroke-hglt-red': upload?.status === 'error'
6253
- }),
6254
- children: /*#__PURE__*/ jsx(IconCozImageBroken, {
6255
- className: classnames('text-[30px] coz-fg-dim')
6256
- })
6257
- }) : null,
6258
- /*#__PURE__*/ jsx("video", {
6259
- src: videoUrl,
6260
- width: '100%',
6261
- height: '100%',
6262
- className: classnames('rounded-[6px] pointer-events-none', {
6263
- invisible: 'loaded' !== videoElementStatus || [
6264
- 'error',
6265
- 'loading'
6266
- ].includes(upload?.status || 'success')
6267
- }),
6268
- style: {
6269
- objectFit: 'cover',
6270
- objectPosition: 'center'
6271
- },
6272
- onLoadedData: ()=>setVideoElementStatus('loaded'),
6273
- onError: ()=>setVideoElementStatus('error')
6274
- }),
6275
- /*#__PURE__*/ jsx("div", {
6276
- className: classnames('absolute inset-0 flex items-center justify-center rounded-[6px]', 'bg-[rgba(0,0,0,0.2)]', 'group-hover:invisible', 'loaded' !== videoElementStatus || [
6277
- 'error',
6278
- 'loading'
6279
- ].includes(upload?.status || 'success') ? 'invisible' : 'visible'),
6280
- children: /*#__PURE__*/ jsx(IconCozPlayCircle, {
6281
- className: classnames('coz-fg-hglt-plus', iconSizeCls)
6282
- })
6283
- }),
6284
- /*#__PURE__*/ jsxs("div", {
6285
- className: classnames('absolute inset-0 flex gap-3 items-center rounded-[6px] justify-center', 'z-[1]', 'bg-[rgba(0,0,0,0.4)]', 'invisible group-hover:visible'),
6286
- children: [
6287
- upload?.status === 'error' ? /*#__PURE__*/ jsx(IconCozRefresh, {
6288
- className: classnames('text-white cursor-pointer', iconSizeCls),
6289
- onClick: upload?.onRetry
6290
- }) : null,
6291
- videoUrl && ![
6292
- 'error',
6293
- 'loading'
6294
- ].includes(upload?.status || 'success') ? /*#__PURE__*/ jsx(IconCozPlayCircle, {
6295
- className: classnames('text-white cursor-pointer', iconSizeCls),
6296
- onClick: ()=>setModalVisible(true)
6297
- }) : null,
6298
- showDownload ? /*#__PURE__*/ jsx(IconCozDownload, {
6299
- className: classnames('text-white cursor-pointer', iconSizeCls),
6300
- onClick: ()=>{
6301
- if (videoUrl) fileDownload(videoUrl, videoName || i18n_I18n.t('test'));
6302
- }
6303
- }) : null,
6304
- isFunction(deletion) ? /*#__PURE__*/ jsx("div", {
6305
- className: "absolute right-[-8px] top-[-8px] p-[2px] shrink-0 inline-flex justify-center items-center cursor-pointer",
6306
- onClick: ()=>deletion(),
6307
- children: /*#__PURE__*/ jsx(IconCozCrossCircleFillPalette, {})
6308
- }) : null
6309
- ]
6310
- })
6311
- ]
6312
- }),
6313
- /*#__PURE__*/ jsx(Modal, {
6314
- visible: modalVisible,
6315
- closable: false,
6316
- className: "[&_div:has(>.semi-videoPlayer)]:overflow-hidden",
6317
- title: /*#__PURE__*/ jsxs("div", {
6318
- className: "w-full flex items-center justify-between",
6319
- children: [
6320
- /*#__PURE__*/ jsx(Typography.Title, {
6321
- heading: 5,
6322
- ellipsis: {
6323
- showTooltip: true
6324
- },
6325
- children: videoName || i18n_I18n.t('video')
6326
- }),
6327
- /*#__PURE__*/ jsxs("div", {
6328
- className: "flex items-center gap-2",
6329
- children: [
6330
- /*#__PURE__*/ jsx(LoadingButton, {
6331
- color: "primary",
6332
- icon: /*#__PURE__*/ jsx(IconCozDownload, {}),
6333
- onClick: async ()=>{
6334
- if (videoUrl) await fileDownload(videoUrl, videoName || i18n_I18n.t('test'));
6335
- },
6336
- children: i18n_I18n.t('download')
6337
- }),
6338
- /*#__PURE__*/ jsx(IconButton, {
6339
- size: "large",
6340
- color: "secondary",
6341
- className: "!w-[40px] !h-[40px]",
6342
- icon: /*#__PURE__*/ jsx(IconCozCross, {}),
6343
- onClick: ()=>setModalVisible(false)
6344
- })
6345
- ]
6346
- })
6347
- ]
6348
- }),
6349
- width: 900,
6350
- height: 600,
6351
- onCancel: ()=>setModalVisible(false),
6352
- children: /*#__PURE__*/ jsx(VideoPlayer, {
6353
- className: "rounded-[8px] overflow-hidden",
6354
- src: videoUrl || '',
6355
- controlsList: [
6356
- 'play',
6357
- 'time',
6358
- 'volume',
6359
- 'playbackRate',
6360
- 'fullscreen'
6361
- ]
6362
- })
6363
- })
6364
- ]
6365
- });
6366
- }
6367
6117
  var src_DEFAULT_FILE_COUNT = 20;
6368
6118
  var src_DEFAULT_PART_COUNT = 50;
6369
6119
  export { default as schemaValidators } from "@rjsf/validator-ajv8";
6370
- export { AudioRender, BasicCard, CardPane, ChipSelect, CodeMirrorCodeEditor, CodeMirrorJsonEditor, CodeMirrorRawCodeEditor, CodeMirrorRawTextEditor, CodeMirrorTextEditor, CollapseCard, CollapseItem, ColumnSelector, Copyable, DEFAULT_FILE_SIZE, DEFAULT_PAGE_SIZE, DEFAULT_SUPPORTED_FORMATS, DEFAULT_VIDEO_SUPPORTED_FORMATS, EditIconButton, EditorProvider, FooterActions, FoxIcon, FullPage, IDRender, IconButtonContainer, ImageItemRenderer, IndexControllerView, InfiniteScrollTable, InfoTooltip, InputSlider, InputWithCount, JumpIconButton, LargeTxtRender, Layout, LazyLoadComponent, LinkButton, LogicEditor, LogicExpr, LoopRadioGroup, LoopTable, LoopTabs, MultiPartRender, MultipartEditor, OpenDetailButton, PAGE_SIZE_OPTIONS, PageError, PageLoading, PageNoAuth, PageNoContent, PageNotFound, PrimaryPage, PrimaryTitle, RadioButton, ResizableSideSheet, ResizeSidesheet, SchemaEditor, SemiSchemaForm, SentinelForm, StepNav, TableBatchOperate, TableColActions, TableColsConfig, TableEmpty, TableHeader, TableWithPagination, TableWithoutPagination, TextAreaPro, TextWithCopy, TitleWithSub, TooltipWhenDisabled, TooltipWithDisabled, UploadButton, UserProfile, VersionItem, VersionList, VersionSwitchPanel, VideoItemRenderer, VideoRender, base_search_form_select as BaseSearchFormSelect, base_search_select as BaseSearchSelect, dealColumnsWithStorage, formateDecimalPlacesString, getColumnManageStorage, getStoragePageSize, handleCopy, setColumnsManageStorage, sleep, src_DEFAULT_FILE_COUNT as DEFAULT_FILE_COUNT, src_DEFAULT_PART_COUNT as DEFAULT_PART_COUNT, type_ImageStatus as MultipartRenderStatus, upload_uploadFile as uploadFile, useBatchOperate, useItemIndexController, useUnsaveLeaveWarning };
6120
+ export { BasicCard, CardPane, ChipSelect, CodeMirrorCodeEditor, CodeMirrorJsonEditor, CodeMirrorRawCodeEditor, CodeMirrorRawTextEditor, CodeMirrorTextEditor, CollapseCard, CollapseItem, ColumnSelector, Copyable, DEFAULT_FILE_SIZE, DEFAULT_PAGE_SIZE, DEFAULT_SUPPORTED_FORMATS, DEFAULT_VIDEO_SUPPORTED_FORMATS, EditIconButton, EditorProvider, FooterActions, FoxIcon, FullPage, IDRender, IconButtonContainer, ImageItemRenderer, IndexControllerView, InfiniteScrollTable, InfoTooltip, InputSlider, InputWithCount, JumpIconButton, LargeTxtRender, Layout, LazyLoadComponent, LinkButton, LogicEditor, LogicExpr, LoopRadioGroup, LoopTable, LoopTabs, MultiPartRender, MultipartEditor, OpenDetailButton, PAGE_SIZE_OPTIONS, PageError, PageLoading, PageNoAuth, PageNoContent, PageNotFound, PrimaryPage, PrimaryTitle, RadioButton, ResizableSideSheet, ResizeSidesheet, SchemaEditor, SemiSchemaForm, SentinelForm, StepNav, TableBatchOperate, TableColActions, TableColsConfig, TableEmpty, TableHeader, TableWithPagination, TableWithoutPagination, TextAreaPro, TextWithCopy, TitleWithSub, TooltipWhenDisabled, TooltipWithDisabled, UploadButton, UserProfile, VersionItem, VersionList, VersionSwitchPanel, VideoItemRenderer, base_search_form_select as BaseSearchFormSelect, base_search_select as BaseSearchSelect, dealColumnsWithStorage, formateDecimalPlacesString, getColumnManageStorage, getStoragePageSize, handleCopy, setColumnsManageStorage, sleep, src_DEFAULT_FILE_COUNT as DEFAULT_FILE_COUNT, src_DEFAULT_PART_COUNT as DEFAULT_PART_COUNT, type_ImageStatus as MultipartRenderStatus, upload_uploadFile as uploadFile, useBatchOperate, useItemIndexController, useUnsaveLeaveWarning };
@@ -68,4 +68,3 @@ export { SentinelForm, type SentinelFormRef, type SentinelFormApi, } from './sen
68
68
  export { CodeMirrorCodeEditor, CodeMirrorTextEditor, CodeMirrorJsonEditor, CodeMirrorRawTextEditor, CodeMirrorRawCodeEditor, EditorProvider, } from './codemirror-editor';
69
69
  export { SchemaEditor } from './schema-editor';
70
70
  export { CollapseItem } from './collapse-item';
71
- export { AudioRender, type AudioRenderProps, VideoRender, type VideoRenderProps, } from './multi-modal-dataset-item-render';
package/dist/lib/index.js CHANGED
@@ -73,5 +73,4 @@ export { SentinelForm, } from './sentinel-form';
73
73
  export { CodeMirrorCodeEditor, CodeMirrorTextEditor, CodeMirrorJsonEditor, CodeMirrorRawTextEditor, CodeMirrorRawCodeEditor, EditorProvider, } from './codemirror-editor';
74
74
  export { SchemaEditor } from './schema-editor';
75
75
  export { CollapseItem } from './collapse-item';
76
- export { AudioRender, VideoRender, } from './multi-modal-dataset-item-render';
77
76
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAmB,MAAM,kBAAkB,CAAC;AACnE,OAAO,EACL,mBAAmB,GAEpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,GAEnB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,SAAS,EACT,WAAW,EACX,UAAU,EACV,aAAa,EACb,YAAY,EACZ,QAAQ,GACT,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,eAAe,EAAuB,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,WAAW,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAEzE,OA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