@zjlab-fe/data-hub-ui 0.5.16 → 0.6.0
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/types/components/floating-label-input/demo/index.d.ts +1 -0
- package/dist/types/components/floating-label-input/index.d.ts +10 -0
- package/dist/types/components/popover-select/demo/index.d.ts +1 -0
- package/dist/types/components/popover-select/index.d.ts +16 -0
- package/dist/types/index.d.ts +2 -0
- package/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +2 -1
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={868:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".zjlab-fe-data-hub-ui-default-drag-area {margin-bottom: 1.25rem;display: flex;flex-direction: column;align-items: center;justify-content: center;gap: 1rem;border-radius: 10px;border-width: 1px;border-style: dashed;border-color: rgb(23 117 254 / 0.4);padding-top: 1rem;padding-bottom: 1rem\n}.zjlab-fe-data-hub-ui-default-drag-area:hover {--tw-border-opacity: 1;border-color: rgb(23 117 254 / var(--tw-border-opacity))\n}",""]);const s=i},884:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,'@layer tailwind-base, antd;.zjlab-fe-data-hub-ui-file-uploader .prose{\ncolor: var(--tw-prose-body);\nmax-width: 65ch;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 1.25em;\nmargin-bottom: 1.25em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-lead);\nfont-size: 1.25em;\nline-height: 1.6;\nmargin-top: 1.2em;\nmargin-bottom: 1.2em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-links);\ntext-decoration: underline;\nfont-weight: 500;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-bold);\nfont-weight: 600;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: decimal;\nmargin-top: 1.25em;\nmargin-bottom: 1.25em;\npadding-inline-start: 1.625em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: upper-alpha;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: lower-alpha;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: upper-alpha;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: lower-alpha;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: upper-roman;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: lower-roman;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: upper-roman;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: lower-roman;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: decimal;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: disc;\nmargin-top: 1.25em;\nmargin-bottom: 1.25em;\npadding-inline-start: 1.625em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker{\nfont-weight: 400;\ncolor: var(--tw-prose-counters);}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker{\ncolor: var(--tw-prose-bullets);}.zjlab-fe-data-hub-ui-file-uploader .prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 600;\nmargin-top: 1.25em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-color: var(--tw-prose-hr);\nborder-top-width: 1px;\nmargin-top: 3em;\nmargin-bottom: 3em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 500;\nfont-style: italic;\ncolor: var(--tw-prose-quotes);\nborder-inline-start-width: 0.25rem;\nborder-inline-start-color: var(--tw-prose-quote-borders);\nquotes: "\\201C""\\201D""\\2018""\\2019";\nmargin-top: 1.6em;\nmargin-bottom: 1.6em;\npadding-inline-start: 1em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\ncontent: open-quote;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\ncontent: close-quote;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 800;\nfont-size: 2.25em;\nmargin-top: 0;\nmargin-bottom: 0.8888889em;\nline-height: 1.1111111;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 900;\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 700;\nfont-size: 1.5em;\nmargin-top: 2em;\nmargin-bottom: 1em;\nline-height: 1.3333333;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 800;\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 600;\nfont-size: 1.25em;\nmargin-top: 1.6em;\nmargin-bottom: 0.6em;\nline-height: 1.6;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 700;\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 600;\nmargin-top: 1.5em;\nmargin-bottom: 0.5em;\nline-height: 1.5;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 700;\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 2em;\nmargin-bottom: 2em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ndisplay: block;\nmargin-top: 2em;\nmargin-bottom: 2em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 2em;\nmargin-bottom: 2em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 500;\nfont-family: inherit;\ncolor: var(--tw-prose-kbd);\nbox-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);\nfont-size: 0.875em;\nborder-radius: 0.3125rem;\npadding-top: 0.1875em;\npadding-inline-end: 0.375em;\npadding-bottom: 0.1875em;\npadding-inline-start: 0.375em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-code);\nfont-weight: 600;\nfont-size: 0.875em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\ncontent: "`";}.zjlab-fe-data-hub-ui-file-uploader .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\ncontent: "`";}.zjlab-fe-data-hub-ui-file-uploader .prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;\nfont-size: 0.875em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;\nfont-size: 0.9em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-pre-code);\nbackground-color: var(--tw-prose-pre-bg);\noverflow-x: auto;\nfont-weight: 400;\nfont-size: 0.875em;\nline-height: 1.7142857;\nmargin-top: 1.7142857em;\nmargin-bottom: 1.7142857em;\nborder-radius: 0.375rem;\npadding-top: 0.8571429em;\npadding-inline-end: 1.1428571em;\npadding-bottom: 0.8571429em;\npadding-inline-start: 1.1428571em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nbackground-color: transparent;\nborder-width: 0;\nborder-radius: 0;\npadding: 0;\nfont-weight: inherit;\ncolor: inherit;\nfont-size: inherit;\nfont-family: inherit;\nline-height: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\ncontent: none;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\ncontent: none;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nwidth: 100%;\ntable-layout: auto;\nmargin-top: 2em;\nmargin-bottom: 2em;\nfont-size: 0.875em;\nline-height: 1.7142857;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-bottom-width: 1px;\nborder-bottom-color: var(--tw-prose-th-borders);}.zjlab-fe-data-hub-ui-file-uploader .prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 600;\nvertical-align: bottom;\npadding-inline-end: 0.5714286em;\npadding-bottom: 0.5714286em;\npadding-inline-start: 0.5714286em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-bottom-width: 1px;\nborder-bottom-color: var(--tw-prose-td-borders);}.zjlab-fe-data-hub-ui-file-uploader .prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-bottom-width: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nvertical-align: baseline;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-top-width: 1px;\nborder-top-color: var(--tw-prose-th-borders);}.zjlab-fe-data-hub-ui-file-uploader .prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nvertical-align: top;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ntext-align: start;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;\nmargin-bottom: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-captions);\nfont-size: 0.875em;\nline-height: 1.4285714;\nmargin-top: 0.8571429em;}.zjlab-fe-data-hub-ui-file-uploader .prose{\n--tw-prose-body: #374151;\n--tw-prose-headings: #111827;\n--tw-prose-lead: #4b5563;\n--tw-prose-links: #111827;\n--tw-prose-bold: #111827;\n--tw-prose-counters: #6b7280;\n--tw-prose-bullets: #d1d5db;\n--tw-prose-hr: #e5e7eb;\n--tw-prose-quotes: #111827;\n--tw-prose-quote-borders: #e5e7eb;\n--tw-prose-captions: #6b7280;\n--tw-prose-kbd: #111827;\n--tw-prose-kbd-shadows: 17 24 39;\n--tw-prose-code: #111827;\n--tw-prose-pre-code: #e5e7eb;\n--tw-prose-pre-bg: #1f2937;\n--tw-prose-th-borders: #d1d5db;\n--tw-prose-td-borders: #e5e7eb;\n--tw-prose-invert-body: #d1d5db;\n--tw-prose-invert-headings: #fff;\n--tw-prose-invert-lead: #9ca3af;\n--tw-prose-invert-links: #fff;\n--tw-prose-invert-bold: #fff;\n--tw-prose-invert-counters: #9ca3af;\n--tw-prose-invert-bullets: #4b5563;\n--tw-prose-invert-hr: #374151;\n--tw-prose-invert-quotes: #f3f4f6;\n--tw-prose-invert-quote-borders: #374151;\n--tw-prose-invert-captions: #9ca3af;\n--tw-prose-invert-kbd: #fff;\n--tw-prose-invert-kbd-shadows: 255 255 255;\n--tw-prose-invert-code: #fff;\n--tw-prose-invert-pre-code: #d1d5db;\n--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);\n--tw-prose-invert-th-borders: #4b5563;\n--tw-prose-invert-td-borders: #374151;\nfont-size: 1rem;\nline-height: 1.75;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;\nmargin-bottom: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0.5em;\nmargin-bottom: 0.5em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-start: 0.375em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-start: 0.375em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0.75em;\nmargin-bottom: 0.75em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 1.25em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-bottom: 1.25em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 1.25em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-bottom: 1.25em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0.75em;\nmargin-bottom: 0.75em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 1.25em;\nmargin-bottom: 1.25em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0.5em;\npadding-inline-start: 1.625em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-start: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-end: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-top: 0.5714286em;\npadding-inline-end: 0.5714286em;\npadding-bottom: 0.5714286em;\npadding-inline-start: 0.5714286em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-start: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-end: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 2em;\nmargin-bottom: 2em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-bottom: 0;}.zjlab-fe-data-hub-ui-file-uploader .absolute{\nposition: absolute;}.zjlab-fe-data-hub-ui-file-uploader .relative{\nposition: relative;}.zjlab-fe-data-hub-ui-file-uploader .sticky{\nposition: sticky;}.zjlab-fe-data-hub-ui-file-uploader .right-0{\nright: 0px;}.zjlab-fe-data-hub-ui-file-uploader .z-10{\nz-index: 10;}.zjlab-fe-data-hub-ui-file-uploader .m-0{\nmargin: 0px;}.zjlab-fe-data-hub-ui-file-uploader .m-1{\nmargin: 0.25rem;}.zjlab-fe-data-hub-ui-file-uploader .my-2{\nmargin-top: 0.5rem;\nmargin-bottom: 0.5rem;}.zjlab-fe-data-hub-ui-file-uploader .my-2\\.5{\nmargin-top: 0.625rem;\nmargin-bottom: 0.625rem;}.zjlab-fe-data-hub-ui-file-uploader .my-4{\nmargin-top: 1rem;\nmargin-bottom: 1rem;}.zjlab-fe-data-hub-ui-file-uploader .mb-0{\nmargin-bottom: 0px;}.zjlab-fe-data-hub-ui-file-uploader .mb-2{\nmargin-bottom: 0.5rem;}.zjlab-fe-data-hub-ui-file-uploader .mb-4{\nmargin-bottom: 1rem;}.zjlab-fe-data-hub-ui-file-uploader .mb-5{\nmargin-bottom: 1.25rem;}.zjlab-fe-data-hub-ui-file-uploader .mr-1{\nmargin-right: 0.25rem;}.zjlab-fe-data-hub-ui-file-uploader .mt-20{\nmargin-top: 5rem;}.zjlab-fe-data-hub-ui-file-uploader .mt-4{\nmargin-top: 1rem;}.zjlab-fe-data-hub-ui-file-uploader .block{\ndisplay: block;}.zjlab-fe-data-hub-ui-file-uploader .\\!inline{\ndisplay: inline !important;}.zjlab-fe-data-hub-ui-file-uploader .inline{\ndisplay: inline;}.zjlab-fe-data-hub-ui-file-uploader .flex{\ndisplay: flex;}.zjlab-fe-data-hub-ui-file-uploader .table{\ndisplay: table;}.zjlab-fe-data-hub-ui-file-uploader .flow-root{\ndisplay: flow-root;}.zjlab-fe-data-hub-ui-file-uploader .hidden{\ndisplay: none;}.zjlab-fe-data-hub-ui-file-uploader .h-4{\nheight: 1rem;}.zjlab-fe-data-hub-ui-file-uploader .h-5{\nheight: 1.25rem;}.zjlab-fe-data-hub-ui-file-uploader .h-6{\nheight: 1.5rem;}.zjlab-fe-data-hub-ui-file-uploader .h-8{\nheight: 2rem;}.zjlab-fe-data-hub-ui-file-uploader .h-auto{\nheight: auto;}.zjlab-fe-data-hub-ui-file-uploader .max-h-72{\nmax-height: 18rem;}.zjlab-fe-data-hub-ui-file-uploader .min-h-\\[20rem\\]{\nmin-height: 20rem;}.zjlab-fe-data-hub-ui-file-uploader .w-4{\nwidth: 1rem;}.zjlab-fe-data-hub-ui-file-uploader .w-40{\nwidth: 10rem;}.zjlab-fe-data-hub-ui-file-uploader .w-5{\nwidth: 1.25rem;}.zjlab-fe-data-hub-ui-file-uploader .w-6{\nwidth: 1.5rem;}.zjlab-fe-data-hub-ui-file-uploader .max-w-96{\nmax-width: 24rem;}.zjlab-fe-data-hub-ui-file-uploader .max-w-none{\nmax-width: none;}.zjlab-fe-data-hub-ui-file-uploader .flex-shrink-0{\nflex-shrink: 0;}.zjlab-fe-data-hub-ui-file-uploader .cursor-pointer{\ncursor: pointer;}.zjlab-fe-data-hub-ui-file-uploader .items-center{\nalign-items: center;}.zjlab-fe-data-hub-ui-file-uploader .justify-center{\njustify-content: center;}.zjlab-fe-data-hub-ui-file-uploader .justify-between{\njustify-content: space-between;}.zjlab-fe-data-hub-ui-file-uploader .gap-1{\ngap: 0.25rem;}.zjlab-fe-data-hub-ui-file-uploader .gap-4{\ngap: 1rem;}.zjlab-fe-data-hub-ui-file-uploader .overflow-y-auto{\noverflow-y: auto;}.zjlab-fe-data-hub-ui-file-uploader .truncate{\noverflow: hidden;\ntext-overflow: ellipsis;\nwhite-space: nowrap;}.zjlab-fe-data-hub-ui-file-uploader .rounded{\nborder-radius: 0.25rem;}.zjlab-fe-data-hub-ui-file-uploader .rounded-md{\nborder-radius: 0.375rem;}.zjlab-fe-data-hub-ui-file-uploader .border{\nborder-width: 1px;}.zjlab-fe-data-hub-ui-file-uploader .border-solid{\nborder-style: solid;}.zjlab-fe-data-hub-ui-file-uploader .border-dashed{\nborder-style: dashed;}.zjlab-fe-data-hub-ui-file-uploader .border-\\[\\#1775FE\\]{\n--tw-border-opacity: 1;\nborder-color: rgb(23 117 254 / var(--tw-border-opacity));}.zjlab-fe-data-hub-ui-file-uploader .border-gray-200{\n--tw-border-opacity: 1;\nborder-color: rgb(229 231 235 / var(--tw-border-opacity));}.zjlab-fe-data-hub-ui-file-uploader .border-gray-3{\n--tw-border-opacity: 1;\nborder-color: rgb(217 224 237 / var(--tw-border-opacity));}.zjlab-fe-data-hub-ui-file-uploader .border-gray-300{\n--tw-border-opacity: 1;\nborder-color: rgb(209 213 219 / var(--tw-border-opacity));}.zjlab-fe-data-hub-ui-file-uploader .border-green-600{\n--tw-border-opacity: 1;\nborder-color: rgb(22 163 74 / var(--tw-border-opacity));}.zjlab-fe-data-hub-ui-file-uploader .bg-\\[\\#F5F7FA\\]{\n--tw-bg-opacity: 1;\nbackground-color: rgb(245 247 250 / var(--tw-bg-opacity));}.zjlab-fe-data-hub-ui-file-uploader .bg-blue-5{\n--tw-bg-opacity: 1;\nbackground-color: rgb(23 117 254 / var(--tw-bg-opacity));}.zjlab-fe-data-hub-ui-file-uploader .bg-gray-50{\n--tw-bg-opacity: 1;\nbackground-color: rgb(249 250 251 / var(--tw-bg-opacity));}.zjlab-fe-data-hub-ui-file-uploader .bg-white{\n--tw-bg-opacity: 1;\nbackground-color: rgb(255 255 255 / var(--tw-bg-opacity));}.zjlab-fe-data-hub-ui-file-uploader .p-1{\npadding: 0.25rem;}.zjlab-fe-data-hub-ui-file-uploader .p-2{\npadding: 0.5rem;}.zjlab-fe-data-hub-ui-file-uploader .p-4{\npadding: 1rem;}.zjlab-fe-data-hub-ui-file-uploader .px-3{\npadding-left: 0.75rem;\npadding-right: 0.75rem;}.zjlab-fe-data-hub-ui-file-uploader .px-4{\npadding-left: 1rem;\npadding-right: 1rem;}.zjlab-fe-data-hub-ui-file-uploader .pr-2{\npadding-right: 0.5rem;}.zjlab-fe-data-hub-ui-file-uploader .text-center{\ntext-align: center;}.zjlab-fe-data-hub-ui-file-uploader .text-2xl{\nfont-size: 1.5rem;\nline-height: 2rem;}.zjlab-fe-data-hub-ui-file-uploader .text-5xl{\nfont-size: 3rem;\nline-height: 1;}.zjlab-fe-data-hub-ui-file-uploader .text-base{\nfont-size: 1rem;\nline-height: 1.5rem;}.zjlab-fe-data-hub-ui-file-uploader .text-sm{\nfont-size: 0.875rem;\nline-height: 1.25rem;}.zjlab-fe-data-hub-ui-file-uploader .text-xl{\nfont-size: 1.25rem;\nline-height: 1.75rem;}.zjlab-fe-data-hub-ui-file-uploader .italic{\nfont-style: italic;}.zjlab-fe-data-hub-ui-file-uploader .text-gray-5{\n--tw-text-opacity: 1;\ncolor: rgb(135 144 158 / var(--tw-text-opacity));}.zjlab-fe-data-hub-ui-file-uploader .text-gray-7{\n--tw-text-opacity: 1;\ncolor: rgb(84 91 100 / var(--tw-text-opacity));}.zjlab-fe-data-hub-ui-file-uploader .text-green-600{\n--tw-text-opacity: 1;\ncolor: rgb(22 163 74 / var(--tw-text-opacity));}.zjlab-fe-data-hub-ui-file-uploader .text-green-green{\n--tw-text-opacity: 1;\ncolor: rgb(83 195 27 / var(--tw-text-opacity));}.zjlab-fe-data-hub-ui-file-uploader .text-red-600{\n--tw-text-opacity: 1;\ncolor: rgb(220 38 38 / var(--tw-text-opacity));}.zjlab-fe-data-hub-ui-file-uploader .text-red-red{\n--tw-text-opacity: 1;\ncolor: rgb(254 77 79 / var(--tw-text-opacity));}.zjlab-fe-data-hub-ui-file-uploader .text-white{\n--tw-text-opacity: 1;\ncolor: rgb(255 255 255 / var(--tw-text-opacity));}.zjlab-fe-data-hub-ui-file-uploader .text-yellow-500{\n--tw-text-opacity: 1;\ncolor: rgb(234 179 8 / var(--tw-text-opacity));}.zjlab-fe-data-hub-ui-file-uploader .underline{\ntext-decoration-line: underline;}.zjlab-fe-data-hub-ui-file-uploader .opacity-0{\nopacity: 0;}.zjlab-fe-data-hub-ui-file-uploader .shadow-sm{\n--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);\nbox-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);}.zjlab-fe-data-hub-ui-file-uploader .filter{\nfilter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);}.zjlab-fe-data-hub-ui-file-uploader .transition-opacity{\ntransition-property: opacity;\ntransition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\ntransition-duration: 150ms;}.zjlab-fe-data-hub-ui-file-uploader .transition-transform{\ntransition-property: transform;\ntransition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\ntransition-duration: 150ms;}@layer tailwind-base{.zjlab-fe-data-hub-ui-file-uploader *, .zjlab-fe-data-hub-ui-file-uploader ::before, .zjlab-fe-data-hub-ui-file-uploader ::after{\n--tw-border-spacing-x: 0;\n--tw-border-spacing-y: 0;\n--tw-translate-x: 0;\n--tw-translate-y: 0;\n--tw-rotate: 0;\n--tw-skew-x: 0;\n--tw-skew-y: 0;\n--tw-scale-x: 1;\n--tw-scale-y: 1;\n--tw-pan-x: ;\n--tw-pan-y: ;\n--tw-pinch-zoom: ;\n--tw-scroll-snap-strictness: proximity;\n--tw-gradient-from-position: ;\n--tw-gradient-via-position: ;\n--tw-gradient-to-position: ;\n--tw-ordinal: ;\n--tw-slashed-zero: ;\n--tw-numeric-figure: ;\n--tw-numeric-spacing: ;\n--tw-numeric-fraction: ;\n--tw-ring-inset: ;\n--tw-ring-offset-width: 0px;\n--tw-ring-offset-color: #fff;\n--tw-ring-color: rgb(59 130 246 / 0.5);\n--tw-ring-offset-shadow: 0 0 #0000;\n--tw-ring-shadow: 0 0 #0000;\n--tw-shadow: 0 0 #0000;\n--tw-shadow-colored: 0 0 #0000;\n--tw-blur: ;\n--tw-brightness: ;\n--tw-contrast: ;\n--tw-grayscale: ;\n--tw-hue-rotate: ;\n--tw-invert: ;\n--tw-saturate: ;\n--tw-sepia: ;\n--tw-drop-shadow: ;\n--tw-backdrop-blur: ;\n--tw-backdrop-brightness: ;\n--tw-backdrop-contrast: ;\n--tw-backdrop-grayscale: ;\n--tw-backdrop-hue-rotate: ;\n--tw-backdrop-invert: ;\n--tw-backdrop-opacity: ;\n--tw-backdrop-saturate: ;\n--tw-backdrop-sepia: ;\n--tw-contain-size: ;\n--tw-contain-layout: ;\n--tw-contain-paint: ;\n--tw-contain-style: ;}.zjlab-fe-data-hub-ui-file-uploader ::backdrop{\n--tw-border-spacing-x: 0;\n--tw-border-spacing-y: 0;\n--tw-translate-x: 0;\n--tw-translate-y: 0;\n--tw-rotate: 0;\n--tw-skew-x: 0;\n--tw-skew-y: 0;\n--tw-scale-x: 1;\n--tw-scale-y: 1;\n--tw-pan-x: ;\n--tw-pan-y: ;\n--tw-pinch-zoom: ;\n--tw-scroll-snap-strictness: proximity;\n--tw-gradient-from-position: ;\n--tw-gradient-via-position: ;\n--tw-gradient-to-position: ;\n--tw-ordinal: ;\n--tw-slashed-zero: ;\n--tw-numeric-figure: ;\n--tw-numeric-spacing: ;\n--tw-numeric-fraction: ;\n--tw-ring-inset: ;\n--tw-ring-offset-width: 0px;\n--tw-ring-offset-color: #fff;\n--tw-ring-color: rgb(59 130 246 / 0.5);\n--tw-ring-offset-shadow: 0 0 #0000;\n--tw-ring-shadow: 0 0 #0000;\n--tw-shadow: 0 0 #0000;\n--tw-shadow-colored: 0 0 #0000;\n--tw-blur: ;\n--tw-brightness: ;\n--tw-contrast: ;\n--tw-grayscale: ;\n--tw-hue-rotate: ;\n--tw-invert: ;\n--tw-saturate: ;\n--tw-sepia: ;\n--tw-drop-shadow: ;\n--tw-backdrop-blur: ;\n--tw-backdrop-brightness: ;\n--tw-backdrop-contrast: ;\n--tw-backdrop-grayscale: ;\n--tw-backdrop-hue-rotate: ;\n--tw-backdrop-invert: ;\n--tw-backdrop-opacity: ;\n--tw-backdrop-saturate: ;\n--tw-backdrop-sepia: ;\n--tw-contain-size: ;\n--tw-contain-layout: ;\n--tw-contain-paint: ;\n--tw-contain-style: ;}/*\n! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com\n*//*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader *,\n.zjlab-fe-data-hub-ui-file-uploader ::before,\n.zjlab-fe-data-hub-ui-file-uploader ::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n}\n\n.zjlab-fe-data-hub-ui-file-uploader ::before,\n.zjlab-fe-data-hub-ui-file-uploader ::after {\n --tw-content: \'\';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user\'s configured `sans` font-family by default.\n5. Use the user\'s configured `sans` font-feature-settings by default.\n6. Use the user\'s configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader html,\n.zjlab-fe-data-hub-ui-file-uploader :host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: AlibabaPuHuiTi-3-55-RegularL3, ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader body {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader hr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader h1,\n.zjlab-fe-data-hub-ui-file-uploader h2,\n.zjlab-fe-data-hub-ui-file-uploader h3,\n.zjlab-fe-data-hub-ui-file-uploader h4,\n.zjlab-fe-data-hub-ui-file-uploader h5,\n.zjlab-fe-data-hub-ui-file-uploader h6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader a {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader b,\n.zjlab-fe-data-hub-ui-file-uploader strong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user\'s configured `mono` font-family by default.\n2. Use the user\'s configured `mono` font-feature-settings by default.\n3. Use the user\'s configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader code,\n.zjlab-fe-data-hub-ui-file-uploader kbd,\n.zjlab-fe-data-hub-ui-file-uploader samp,\n.zjlab-fe-data-hub-ui-file-uploader pre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader small {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader sub,\n.zjlab-fe-data-hub-ui-file-uploader sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\n.zjlab-fe-data-hub-ui-file-uploader sub {\n bottom: -0.25em;\n}\n\n.zjlab-fe-data-hub-ui-file-uploader sup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader table {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader button,\n.zjlab-fe-data-hub-ui-file-uploader input,\n.zjlab-fe-data-hub-ui-file-uploader optgroup,\n.zjlab-fe-data-hub-ui-file-uploader select,\n.zjlab-fe-data-hub-ui-file-uploader textarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader button,\n.zjlab-fe-data-hub-ui-file-uploader select {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader button,\n.zjlab-fe-data-hub-ui-file-uploader input:where([type=\'button\']),\n.zjlab-fe-data-hub-ui-file-uploader input:where([type=\'reset\']),\n.zjlab-fe-data-hub-ui-file-uploader input:where([type=\'submit\']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader :-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader :-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader progress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader ::-webkit-inner-spin-button,\n.zjlab-fe-data-hub-ui-file-uploader ::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader [type=\'search\'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader ::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader ::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader summary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader blockquote,\n.zjlab-fe-data-hub-ui-file-uploader dl,\n.zjlab-fe-data-hub-ui-file-uploader dd,\n.zjlab-fe-data-hub-ui-file-uploader h1,\n.zjlab-fe-data-hub-ui-file-uploader h2,\n.zjlab-fe-data-hub-ui-file-uploader h3,\n.zjlab-fe-data-hub-ui-file-uploader h4,\n.zjlab-fe-data-hub-ui-file-uploader h5,\n.zjlab-fe-data-hub-ui-file-uploader h6,\n.zjlab-fe-data-hub-ui-file-uploader hr,\n.zjlab-fe-data-hub-ui-file-uploader figure,\n.zjlab-fe-data-hub-ui-file-uploader p,\n.zjlab-fe-data-hub-ui-file-uploader pre {\n margin: 0;\n}\n\n.zjlab-fe-data-hub-ui-file-uploader fieldset {\n margin: 0;\n padding: 0;\n}\n\n.zjlab-fe-data-hub-ui-file-uploader legend {\n padding: 0;\n}\n\n.zjlab-fe-data-hub-ui-file-uploader ol,\n.zjlab-fe-data-hub-ui-file-uploader ul,\n.zjlab-fe-data-hub-ui-file-uploader menu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\n.zjlab-fe-data-hub-ui-file-uploader dialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader textarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user\'s configured gray 400 color.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader input::-moz-placeholder, .zjlab-fe-data-hub-ui-file-uploader textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\n.zjlab-fe-data-hub-ui-file-uploader input::placeholder,\n.zjlab-fe-data-hub-ui-file-uploader textarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader button,\n.zjlab-fe-data-hub-ui-file-uploader [role="button"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don\'t get the pointer cursor.\n*/\n.zjlab-fe-data-hub-ui-file-uploader :disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader img,\n.zjlab-fe-data-hub-ui-file-uploader svg,\n.zjlab-fe-data-hub-ui-file-uploader video,\n.zjlab-fe-data-hub-ui-file-uploader canvas,\n.zjlab-fe-data-hub-ui-file-uploader audio,\n.zjlab-fe-data-hub-ui-file-uploader iframe,\n.zjlab-fe-data-hub-ui-file-uploader embed,\n.zjlab-fe-data-hub-ui-file-uploader object {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader img,\n.zjlab-fe-data-hub-ui-file-uploader video {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n.zjlab-fe-data-hub-ui-file-uploader [hidden] {\n display: none;\n}}@font-face{font-family:"AlibabaPuHuiTi-3-55-RegularL3";src:url("https://test-open-sci-datahub.zero2x.org/ossRoute/frontend/resources/fonts/alibaba_puhuiti_3/AlibabaPuHuiTi-3-55-RegularL3.ttf") format("truetype")}@font-face{font-family:"AlibabaPuHuiTi-3-65-Medium";src:url("https://test-open-sci-datahub.zero2x.org/ossRoute/frontend/resources/fonts/alibaba_puhuiti_3/AlibabaPuHuiTi-3-65-Medium.ttf") format("truetype")}.last\\:mb-0:last-child{\nmargin-bottom: 0px;}.hover\\:border-green-600:hover{\n--tw-border-opacity: 1;\nborder-color: rgb(22 163 74 / var(--tw-border-opacity));}.hover\\:bg-assist-bg-blue:hover{\n--tw-bg-opacity: 1;\nbackground-color: rgb(244 246 250 / var(--tw-bg-opacity));}.group:hover .group-hover\\:-translate-x-10{\n--tw-translate-x: -2.5rem;\ntransform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));}.group:hover .group-hover\\:-translate-x-6{\n--tw-translate-x: -1.5rem;\ntransform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));}.group:hover .group-hover\\:opacity-100{\nopacity: 1;}',""]);const s=i},915:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".zjlab-fe-data-hub-ui-modal .ant-modal-title,.zjlab-fe-data-hub-ui-modal .ant-modal-confirm-title {\n font-family: AlibabaPuHuiTi-3-65-Medium;\n font-size: 1.125rem;\n font-weight: 400;\n line-height: 1.5rem\n}",""]);const s=i},150:(e,t,n)=>{n.d(t,{Ay:()=>p,Og:()=>d,Rp:()=>c,_b:()=>l,cQ:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".QmFviLMZ5ad2m0mLbKkP{width:349px;height:280px;border-radius:10px 10px 10px 10px}.ZJu8EO9kRspWAqZAD0d_{background:linear-gradient(to top, #ffffff 0%, #f6f9fe 100%);border:1px solid #edf2fc;-o-border-image:linear-gradient(180deg, rgb(237, 242, 252)) 1 1;border-image:linear-gradient(180deg, rgb(237, 242, 252)) 1 1}.ZJu8EO9kRspWAqZAD0d_:hover{background:linear-gradient(to top, #ffffff 0%, #ecf4ff 100%);box-shadow:0px 8px 16px 0px rgba(7,35,76,.1);border:1px solid #afcfff;-o-border-image:linear-gradient(180deg, rgba(23, 117, 254, 0.6)) 1 1;border-image:linear-gradient(180deg, rgba(23, 117, 254, 0.6)) 1 1}.KS7Y4rDVUCfP7qjdPZap{background:linear-gradient(to top, #ffffff 0%, #f7f5ff 100%);border:1px solid #ebe6ff;-o-border-image:linear-gradient(180deg, rgb(236, 231, 255)) 1 1;border-image:linear-gradient(180deg, rgb(236, 231, 255)) 1 1}.KS7Y4rDVUCfP7qjdPZap:hover{background:linear-gradient(to top, #ffffff 0%, #e3dcff 100%);box-shadow:0px 8px 16px 0px rgba(40,23,92,.1);border:1px solid #c5b4ff;-o-border-image:linear-gradient(180deg, rgba(114, 68, 255, 0.6)) 1 1;border-image:linear-gradient(180deg, rgba(114, 68, 255, 0.6)) 1 1}.mZ5nSrfxkgv2ivcg_v21{width:472px;height:148px;border-radius:10px 10px 10px 10px;position:relative}",""]);var s="QmFviLMZ5ad2m0mLbKkP",l="ZJu8EO9kRspWAqZAD0d_",d="KS7Y4rDVUCfP7qjdPZap",c="mZ5nSrfxkgv2ivcg_v21";const p=i},100:(e,t,n)=>{n.d(t,{Ay:()=>d,DE:()=>l,wm:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,'@font-face{font-family:"AlibabaPuHuiTi-3-45-Light";src:url("https://test-open-sci-datahub.zero2x.org/ossRoute/frontend/resources/fonts/alibaba_puhuiti_3/AlibabaPuHuiTi-3-45-Light.ttf") format("truetype")}@font-face{font-family:"AlibabaPuHuiTi-3-75-SemiBold";src:url("https://test-open-sci-datahub.zero2x.org/ossRoute/frontend/resources/fonts/alibaba_puhuiti_3/AlibabaPuHuiTi-3-75-SemiBold.ttf") format("truetype")}.EybT8LL35ZAAECD9qKQX .ant-modal-content{padding:0 24px}.EybT8LL35ZAAECD9qKQX .ant-modal-title{padding-top:50px;font-family:"AlibabaPuHuiTi-3-75-SemiBold";font-weight:normal;font-size:16px;color:#222427;line-height:1.5;text-align:center;font-style:normal;text-transform:none}.EybT8LL35ZAAECD9qKQX .ant-modal-body{font-family:"AlibabaPuHuiTi-3-45-Light";font-weight:normal;font-size:12px;color:#545b64;line-height:14px;text-align:center;font-style:normal;text-transform:none}.EybT8LL35ZAAECD9qKQX .ant-modal-footer{text-align:center;padding:16px 0}.F2kZbP7G9NKG9lg8O_b1 .ant-modal-content{padding:0 24px}.F2kZbP7G9NKG9lg8O_b1 .ant-modal-body{text-align:center}.F2kZbP7G9NKG9lg8O_b1 .ant-modal-confirm-title{padding-top:50px;font-family:"AlibabaPuHuiTi-3-75-SemiBold";font-weight:normal;font-size:16px;color:#222427;line-height:1.5;text-align:center;font-style:normal;text-transform:none}.F2kZbP7G9NKG9lg8O_b1 .ant-modal-confirm-content{font-family:"AlibabaPuHuiTi-3-45-Light";font-weight:normal;font-size:12px;color:#545b64;line-height:14px;text-align:center;font-style:normal;text-transform:none}.F2kZbP7G9NKG9lg8O_b1 .ant-modal-confirm-btns{text-align:center;padding:16px 0}',""]);var s="EybT8LL35ZAAECD9qKQX",l="F2kZbP7G9NKG9lg8O_b1";const d=i},860:(e,t,n)=>{n.d(t,{A:()=>l,K:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,'.aTTl5tM6IlquA6EPUX_w{font-family:"hub-iconfont";color:#545b64;font-size:12px;cursor:pointer}.aTTl5tM6IlquA6EPUX_w:hover{color:#1775fe}',""]);var s="aTTl5tM6IlquA6EPUX_w";const l=i},328:(e,t,n)=>{n.d(t,{Ay:()=>u,Hn:()=>l,P_:()=>d,UA:()=>p,X$:()=>c,tp:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".eKExJAv72oIPXwTqwpgU td{border-top:none !important;border-left:none !important;border-right:none !important}.eKExJAv72oIPXwTqwpgU th.ant-table-cell{height:55px;padding:5px 16px !important}.eKExJAv72oIPXwTqwpgU td.ant-table-cell{padding:5px 16px !important;font-size:14px;line-height:22px;letter-spacing:0}.eKExJAv72oIPXwTqwpgU div{scrollbar-width:thin;scrollbar-color:#eaeaea rgba(0,0,0,0);box-sizing:border-box}.SJWFZYuxuri8ceYzxmsV{display:flex;flex-direction:column;justify-content:center}.SJWFZYuxuri8ceYzxmsV .CDb4Loro5cBpX56QzatH{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-all;box-sizing:border-box}.SJWFZYuxuri8ceYzxmsV .CDb4Loro5cBpX56QzatH:hover{display:block;overflow:auto}.b2mlkkE1gDbFwo4_42Kc{position:relative}.Vh5uhm2m3HksYuSIjwQj{position:absolute;left:16px;color:#89909d;font-size:14px}",""]);var s="eKExJAv72oIPXwTqwpgU",l="SJWFZYuxuri8ceYzxmsV",d="CDb4Loro5cBpX56QzatH",c="b2mlkkE1gDbFwo4_42Kc",p="Vh5uhm2m3HksYuSIjwQj";const u=i},685:(e,t,n)=>{n.d(t,{A:()=>l,L:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".cJmcPSn5LN2GH9HqTvEQ{height:100%;overflow-x:hidden;overflow-y:auto}",""]);var s="cJmcPSn5LN2GH9HqTvEQ";const l=i},913:(e,t,n)=>{n.d(t,{Ay:()=>d,LV:()=>s,_8:()=>l});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".zuabV0gpCkaY8pSYtOSL{display:flex;align-items:center;justify-content:center;height:100%}.i2GFC308F3s1lGENOI5l{max-width:100%;max-height:100%}",""]);var s="zuabV0gpCkaY8pSYtOSL",l="i2GFC308F3s1lGENOI5l";const d=i},690:(e,t,n)=>{n.d(t,{Ay:()=>c,D5:()=>l,LV:()=>s,qf:()=>d});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".EVmfUlSj2zzl7igeqp6N{display:flex;align-items:center;justify-content:center;height:100%;overflow:auto;padding-top:16px;padding-bottom:16px}.Z65yBBsFLSWF70wfWwgA{display:flex;align-items:center;justify-content:center;padding-top:16px;padding-bottom:16px}.QSsGpXvLzOYpHSNncjpj .ant-modal-body{height:calc(100vh - 200px);overflow-y:auto}.QSsGpXvLzOYpHSNncjpj .ant-modal-content{padding-top:44px}",""]);var s="EVmfUlSj2zzl7igeqp6N",l="Z65yBBsFLSWF70wfWwgA",d="QSsGpXvLzOYpHSNncjpj";const c=i},555:(e,t,n)=>{n.d(t,{A:()=>h,L:()=>u});var o=n(245),r=n.n(o),a=n(526),i=n.n(a),s=n(405),l=n.n(s),d=new URL(n(840),n.b),c=i()(r()),p=l()(d);c.push([e.id,`.axAZtM5WKNopJEBNra2i .markdown-body{--base-size-4: 0.25rem;--base-size-8: 0.5rem;--base-size-16: 1rem;--base-size-24: 1.5rem;--base-size-40: 2.5rem;--base-text-weight-normal: 400;--base-text-weight-medium: 500;--base-text-weight-semibold: 600;--fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;--fgColor-accent: Highlight}@media(prefers-color-scheme: dark){.axAZtM5WKNopJEBNra2i .markdown-body,.axAZtM5WKNopJEBNra2i [data-theme=dark]{color-scheme:dark;--focus-outlineColor: #1f6feb;--fgColor-default: #f0f6fc;--fgColor-muted: #9198a1;--fgColor-accent: #4493f8;--fgColor-success: #3fb950;--fgColor-attention: #d29922;--fgColor-danger: #f85149;--fgColor-done: #ab7df8;--bgColor-default: #0d1117;--bgColor-muted: #151b23;--bgColor-neutral-muted: #656c7633;--bgColor-attention-muted: #bb800926;--borderColor-default: #3d444d;--borderColor-muted: #3d444db3;--borderColor-neutral-muted: #3d444db3;--borderColor-accent-emphasis: #1f6feb;--borderColor-success-emphasis: #238636;--borderColor-attention-emphasis: #9e6a03;--borderColor-danger-emphasis: #da3633;--borderColor-done-emphasis: #8957e5;--color-prettylights-syntax-comment: #9198a1;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #f0f6fc;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-brackethighlighter-angle: #9198a1;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #f0f6fc;--color-prettylights-syntax-markup-bold: #f0f6fc;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #f0f6fc;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-sublimelinter-gutter-mark: #3d444d}}@media(prefers-color-scheme: light){.axAZtM5WKNopJEBNra2i .markdown-body,.axAZtM5WKNopJEBNra2i [data-theme=light]{color-scheme:light;--focus-outlineColor: #0969da;--fgColor-default: #1f2328;--fgColor-muted: #59636e;--fgColor-accent: #0969da;--fgColor-success: #1a7f37;--fgColor-attention: #9a6700;--fgColor-danger: #d1242f;--fgColor-done: #8250df;--bgColor-default: #ffffff;--bgColor-muted: #f6f8fa;--bgColor-neutral-muted: #818b981f;--bgColor-attention-muted: #fff8c5;--borderColor-default: #d1d9e0;--borderColor-muted: #d1d9e0b3;--borderColor-neutral-muted: #d1d9e0b3;--borderColor-accent-emphasis: #0969da;--borderColor-success-emphasis: #1a7f37;--borderColor-attention-emphasis: #9a6700;--borderColor-danger-emphasis: #cf222e;--borderColor-done-emphasis: #8250df;--color-prettylights-syntax-comment: #59636e;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-prettylights-syntax-entity: #6639ba;--color-prettylights-syntax-storage-modifier-import: #1f2328;--color-prettylights-syntax-entity-tag: #0550ae;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-brackethighlighter-angle: #59636e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #1f2328;--color-prettylights-syntax-markup-bold: #1f2328;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #d1d9e0;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-sublimelinter-gutter-mark: #818b98}}.axAZtM5WKNopJEBNra2i .markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--fgColor-default);background-color:var(--bgColor-default);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.axAZtM5WKNopJEBNra2i .markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.axAZtM5WKNopJEBNra2i .markdown-body h1:hover .anchor .octicon-link:before,.axAZtM5WKNopJEBNra2i .markdown-body h2:hover .anchor .octicon-link:before,.axAZtM5WKNopJEBNra2i .markdown-body h3:hover .anchor .octicon-link:before,.axAZtM5WKNopJEBNra2i .markdown-body h4:hover .anchor .octicon-link:before,.axAZtM5WKNopJEBNra2i .markdown-body h5:hover .anchor .octicon-link:before,.axAZtM5WKNopJEBNra2i .markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url(${p});mask-image:url(${p})}.axAZtM5WKNopJEBNra2i .markdown-body details,.axAZtM5WKNopJEBNra2i .markdown-body figcaption,.axAZtM5WKNopJEBNra2i .markdown-body figure{display:block}.axAZtM5WKNopJEBNra2i .markdown-body summary{display:list-item}.axAZtM5WKNopJEBNra2i .markdown-body [hidden]{display:none !important}.axAZtM5WKNopJEBNra2i .markdown-body a{background-color:rgba(0,0,0,0);color:var(--fgColor-accent);text-decoration:none}.axAZtM5WKNopJEBNra2i .markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.axAZtM5WKNopJEBNra2i .markdown-body b,.axAZtM5WKNopJEBNra2i .markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.axAZtM5WKNopJEBNra2i .markdown-body dfn{font-style:italic}.axAZtM5WKNopJEBNra2i .markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--borderColor-muted)}.axAZtM5WKNopJEBNra2i .markdown-body mark{background-color:var(--bgColor-attention-muted);color:var(--fgColor-default)}.axAZtM5WKNopJEBNra2i .markdown-body small{font-size:90%}.axAZtM5WKNopJEBNra2i .markdown-body sub,.axAZtM5WKNopJEBNra2i .markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.axAZtM5WKNopJEBNra2i .markdown-body sub{bottom:-0.25em}.axAZtM5WKNopJEBNra2i .markdown-body sup{top:-0.5em}.axAZtM5WKNopJEBNra2i .markdown-body img{border-style:none;max-width:100%;box-sizing:content-box}.axAZtM5WKNopJEBNra2i .markdown-body code,.axAZtM5WKNopJEBNra2i .markdown-body kbd,.axAZtM5WKNopJEBNra2i .markdown-body pre,.axAZtM5WKNopJEBNra2i .markdown-body samp{font-family:monospace;font-size:1em}.axAZtM5WKNopJEBNra2i .markdown-body figure{margin:1em var(--base-size-40)}.axAZtM5WKNopJEBNra2i .markdown-body hr{box-sizing:content-box;overflow:hidden;background:rgba(0,0,0,0);border-bottom:1px solid var(--borderColor-muted);height:.25em;padding:0;margin:var(--base-size-24) 0;background-color:var(--borderColor-default);border:0}.axAZtM5WKNopJEBNra2i .markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.axAZtM5WKNopJEBNra2i .markdown-body [type=button],.axAZtM5WKNopJEBNra2i .markdown-body [type=reset],.axAZtM5WKNopJEBNra2i .markdown-body [type=submit]{-webkit-appearance:button;-moz-appearance:button;appearance:button}.axAZtM5WKNopJEBNra2i .markdown-body [type=checkbox],.axAZtM5WKNopJEBNra2i .markdown-body [type=radio]{box-sizing:border-box;padding:0}.axAZtM5WKNopJEBNra2i .markdown-body [type=number]::-webkit-inner-spin-button,.axAZtM5WKNopJEBNra2i .markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.axAZtM5WKNopJEBNra2i .markdown-body [type=search]::-webkit-search-cancel-button,.axAZtM5WKNopJEBNra2i .markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}.axAZtM5WKNopJEBNra2i .markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.axAZtM5WKNopJEBNra2i .markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;appearance:button;font:inherit}.axAZtM5WKNopJEBNra2i .markdown-body a:hover{text-decoration:underline}.axAZtM5WKNopJEBNra2i .markdown-body ::-moz-placeholder{color:var(--fgColor-muted);opacity:1}.axAZtM5WKNopJEBNra2i .markdown-body ::placeholder{color:var(--fgColor-muted);opacity:1}.axAZtM5WKNopJEBNra2i .markdown-body hr::before{display:table;content:""}.axAZtM5WKNopJEBNra2i .markdown-body hr::after{display:table;clear:both;content:""}.axAZtM5WKNopJEBNra2i .markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:-moz-max-content;width:max-content;max-width:100%;overflow:auto;font-variant:tabular-nums}.axAZtM5WKNopJEBNra2i .markdown-body td,.axAZtM5WKNopJEBNra2i .markdown-body th{padding:0}.axAZtM5WKNopJEBNra2i .markdown-body details summary{cursor:pointer}.axAZtM5WKNopJEBNra2i .markdown-body a:focus,.axAZtM5WKNopJEBNra2i .markdown-body [role=button]:focus,.axAZtM5WKNopJEBNra2i .markdown-body input[type=radio]:focus,.axAZtM5WKNopJEBNra2i .markdown-body input[type=checkbox]:focus{outline:2px solid var(--focus-outlineColor);outline-offset:-2px;box-shadow:none}.axAZtM5WKNopJEBNra2i .markdown-body a:focus:not(:focus-visible),.axAZtM5WKNopJEBNra2i .markdown-body [role=button]:focus:not(:focus-visible),.axAZtM5WKNopJEBNra2i .markdown-body input[type=radio]:focus:not(:focus-visible),.axAZtM5WKNopJEBNra2i .markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px rgba(0,0,0,0)}.axAZtM5WKNopJEBNra2i .markdown-body a:focus-visible,.axAZtM5WKNopJEBNra2i .markdown-body [role=button]:focus-visible,.axAZtM5WKNopJEBNra2i .markdown-body input[type=radio]:focus-visible,.axAZtM5WKNopJEBNra2i .markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--focus-outlineColor);outline-offset:-2px;box-shadow:none}.axAZtM5WKNopJEBNra2i .markdown-body a:not([class]):focus,.axAZtM5WKNopJEBNra2i .markdown-body a:not([class]):focus-visible,.axAZtM5WKNopJEBNra2i .markdown-body input[type=radio]:focus,.axAZtM5WKNopJEBNra2i .markdown-body input[type=radio]:focus-visible,.axAZtM5WKNopJEBNra2i .markdown-body input[type=checkbox]:focus,.axAZtM5WKNopJEBNra2i .markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.axAZtM5WKNopJEBNra2i .markdown-body kbd{display:inline-block;padding:var(--base-size-4);font:11px var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace);line-height:10px;color:var(--fgColor-default);vertical-align:middle;background-color:var(--bgColor-muted);border:solid 1px var(--borderColor-neutral-muted);border-bottom-color:var(--borderColor-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--borderColor-neutral-muted)}.axAZtM5WKNopJEBNra2i .markdown-body h1,.axAZtM5WKNopJEBNra2i .markdown-body h2,.axAZtM5WKNopJEBNra2i .markdown-body h3,.axAZtM5WKNopJEBNra2i .markdown-body h4,.axAZtM5WKNopJEBNra2i .markdown-body h5,.axAZtM5WKNopJEBNra2i .markdown-body h6{margin-top:var(--base-size-24);margin-bottom:var(--base-size-16);font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.axAZtM5WKNopJEBNra2i .markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--borderColor-muted)}.axAZtM5WKNopJEBNra2i .markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.axAZtM5WKNopJEBNra2i .markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.axAZtM5WKNopJEBNra2i .markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.axAZtM5WKNopJEBNra2i .markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--fgColor-muted)}.axAZtM5WKNopJEBNra2i .markdown-body p{margin-top:0;margin-bottom:10px}.axAZtM5WKNopJEBNra2i .markdown-body blockquote{margin:0;padding:0 1em;color:var(--fgColor-muted);border-left:.25em solid var(--borderColor-default)}.axAZtM5WKNopJEBNra2i .markdown-body ul,.axAZtM5WKNopJEBNra2i .markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.axAZtM5WKNopJEBNra2i .markdown-body ol ol,.axAZtM5WKNopJEBNra2i .markdown-body ul ol{list-style-type:lower-roman}.axAZtM5WKNopJEBNra2i .markdown-body ul ul ol,.axAZtM5WKNopJEBNra2i .markdown-body ul ol ol,.axAZtM5WKNopJEBNra2i .markdown-body ol ul ol,.axAZtM5WKNopJEBNra2i .markdown-body ol ol ol{list-style-type:lower-alpha}.axAZtM5WKNopJEBNra2i .markdown-body dd{margin-left:0}.axAZtM5WKNopJEBNra2i .markdown-body tt,.axAZtM5WKNopJEBNra2i .markdown-body code,.axAZtM5WKNopJEBNra2i .markdown-body samp{font-family:var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace);font-size:12px}.axAZtM5WKNopJEBNra2i .markdown-body pre{margin-top:0;margin-bottom:0;font-family:var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace);font-size:12px;word-wrap:normal}.axAZtM5WKNopJEBNra2i .markdown-body .octicon{display:inline-block;overflow:visible !important;vertical-align:text-bottom;fill:currentColor}.axAZtM5WKNopJEBNra2i .markdown-body input::-webkit-outer-spin-button,.axAZtM5WKNopJEBNra2i .markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;appearance:none}.axAZtM5WKNopJEBNra2i .markdown-body .mr-2{margin-right:var(--base-size-8, 8px) !important}.axAZtM5WKNopJEBNra2i .markdown-body::before{display:table;content:""}.axAZtM5WKNopJEBNra2i .markdown-body::after{display:table;clear:both;content:""}.axAZtM5WKNopJEBNra2i .markdown-body>*:first-child{margin-top:0 !important}.axAZtM5WKNopJEBNra2i .markdown-body>*:last-child{margin-bottom:0 !important}.axAZtM5WKNopJEBNra2i .markdown-body a:not([href]){color:inherit;text-decoration:none}.axAZtM5WKNopJEBNra2i .markdown-body .absent{color:var(--fgColor-danger)}.axAZtM5WKNopJEBNra2i .markdown-body .anchor{float:left;padding-right:var(--base-size-4);margin-left:-20px;line-height:1}.axAZtM5WKNopJEBNra2i .markdown-body .anchor:focus{outline:none}.axAZtM5WKNopJEBNra2i .markdown-body p,.axAZtM5WKNopJEBNra2i .markdown-body blockquote,.axAZtM5WKNopJEBNra2i .markdown-body ul,.axAZtM5WKNopJEBNra2i .markdown-body ol,.axAZtM5WKNopJEBNra2i .markdown-body dl,.axAZtM5WKNopJEBNra2i .markdown-body table,.axAZtM5WKNopJEBNra2i .markdown-body pre,.axAZtM5WKNopJEBNra2i .markdown-body details{margin-top:0;margin-bottom:var(--base-size-16)}.axAZtM5WKNopJEBNra2i .markdown-body blockquote>:first-child{margin-top:0}.axAZtM5WKNopJEBNra2i .markdown-body blockquote>:last-child{margin-bottom:0}.axAZtM5WKNopJEBNra2i .markdown-body h1 .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h2 .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h3 .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h4 .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h5 .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h6 .octicon-link{color:var(--fgColor-default);vertical-align:middle;visibility:hidden}.axAZtM5WKNopJEBNra2i .markdown-body h1:hover .anchor,.axAZtM5WKNopJEBNra2i .markdown-body h2:hover .anchor,.axAZtM5WKNopJEBNra2i .markdown-body h3:hover .anchor,.axAZtM5WKNopJEBNra2i .markdown-body h4:hover .anchor,.axAZtM5WKNopJEBNra2i .markdown-body h5:hover .anchor,.axAZtM5WKNopJEBNra2i .markdown-body h6:hover .anchor{text-decoration:none}.axAZtM5WKNopJEBNra2i .markdown-body h1:hover .anchor .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h2:hover .anchor .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h3:hover .anchor .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h4:hover .anchor .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h5:hover .anchor .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h6:hover .anchor .octicon-link{visibility:visible}.axAZtM5WKNopJEBNra2i .markdown-body h1 tt,.axAZtM5WKNopJEBNra2i .markdown-body h1 code,.axAZtM5WKNopJEBNra2i .markdown-body h2 tt,.axAZtM5WKNopJEBNra2i .markdown-body h2 code,.axAZtM5WKNopJEBNra2i .markdown-body h3 tt,.axAZtM5WKNopJEBNra2i .markdown-body h3 code,.axAZtM5WKNopJEBNra2i .markdown-body h4 tt,.axAZtM5WKNopJEBNra2i .markdown-body h4 code,.axAZtM5WKNopJEBNra2i .markdown-body h5 tt,.axAZtM5WKNopJEBNra2i .markdown-body h5 code,.axAZtM5WKNopJEBNra2i .markdown-body h6 tt,.axAZtM5WKNopJEBNra2i .markdown-body h6 code{padding:0 .2em;font-size:inherit}.axAZtM5WKNopJEBNra2i .markdown-body summary h1,.axAZtM5WKNopJEBNra2i .markdown-body summary h2,.axAZtM5WKNopJEBNra2i .markdown-body summary h3,.axAZtM5WKNopJEBNra2i .markdown-body summary h4,.axAZtM5WKNopJEBNra2i .markdown-body summary h5,.axAZtM5WKNopJEBNra2i .markdown-body summary h6{display:inline-block}.axAZtM5WKNopJEBNra2i .markdown-body summary h1 .anchor,.axAZtM5WKNopJEBNra2i .markdown-body summary h2 .anchor,.axAZtM5WKNopJEBNra2i .markdown-body summary h3 .anchor,.axAZtM5WKNopJEBNra2i .markdown-body summary h4 .anchor,.axAZtM5WKNopJEBNra2i .markdown-body summary h5 .anchor,.axAZtM5WKNopJEBNra2i .markdown-body summary h6 .anchor{margin-left:-40px}.axAZtM5WKNopJEBNra2i .markdown-body summary h1,.axAZtM5WKNopJEBNra2i .markdown-body summary h2{padding-bottom:0;border-bottom:0}.axAZtM5WKNopJEBNra2i .markdown-body ul.no-list,.axAZtM5WKNopJEBNra2i .markdown-body ol.no-list{padding:0;list-style-type:none}.axAZtM5WKNopJEBNra2i .markdown-body ol[type="a s"]{list-style-type:lower-alpha}.axAZtM5WKNopJEBNra2i .markdown-body ol[type="A s"]{list-style-type:upper-alpha}.axAZtM5WKNopJEBNra2i .markdown-body ol[type="i s"]{list-style-type:lower-roman}.axAZtM5WKNopJEBNra2i .markdown-body ol[type="I s"]{list-style-type:upper-roman}.axAZtM5WKNopJEBNra2i .markdown-body ol[type="1"]{list-style-type:decimal}.axAZtM5WKNopJEBNra2i .markdown-body div>ol:not([type]){list-style-type:decimal}.axAZtM5WKNopJEBNra2i .markdown-body ul ul,.axAZtM5WKNopJEBNra2i .markdown-body ul ol,.axAZtM5WKNopJEBNra2i .markdown-body ol ol,.axAZtM5WKNopJEBNra2i .markdown-body ol ul{margin-top:0;margin-bottom:0}.axAZtM5WKNopJEBNra2i .markdown-body li>p{margin-top:var(--base-size-16)}.axAZtM5WKNopJEBNra2i .markdown-body li+li{margin-top:.25em}.axAZtM5WKNopJEBNra2i .markdown-body dl{padding:0}.axAZtM5WKNopJEBNra2i .markdown-body dl dt{padding:0;margin-top:var(--base-size-16);font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.axAZtM5WKNopJEBNra2i .markdown-body dl dd{padding:0 var(--base-size-16);margin-bottom:var(--base-size-16)}.axAZtM5WKNopJEBNra2i .markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.axAZtM5WKNopJEBNra2i .markdown-body table th,.axAZtM5WKNopJEBNra2i .markdown-body table td{padding:6px 13px;border:1px solid var(--borderColor-default)}.axAZtM5WKNopJEBNra2i .markdown-body table td>:last-child{margin-bottom:0}.axAZtM5WKNopJEBNra2i .markdown-body table tr{background-color:var(--bgColor-default);border-top:1px solid var(--borderColor-muted)}.axAZtM5WKNopJEBNra2i .markdown-body table tr:nth-child(2n){background-color:var(--bgColor-muted)}.axAZtM5WKNopJEBNra2i .markdown-body table img{background-color:rgba(0,0,0,0)}.axAZtM5WKNopJEBNra2i .markdown-body img[align=right]{padding-left:20px}.axAZtM5WKNopJEBNra2i .markdown-body img[align=left]{padding-right:20px}.axAZtM5WKNopJEBNra2i .markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:rgba(0,0,0,0)}.axAZtM5WKNopJEBNra2i .markdown-body span.frame{display:block;overflow:hidden}.axAZtM5WKNopJEBNra2i .markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--borderColor-default)}.axAZtM5WKNopJEBNra2i .markdown-body span.frame span img{display:block;float:left}.axAZtM5WKNopJEBNra2i .markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--fgColor-default)}.axAZtM5WKNopJEBNra2i .markdown-body span.align-center{display:block;overflow:hidden;clear:both}.axAZtM5WKNopJEBNra2i .markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.axAZtM5WKNopJEBNra2i .markdown-body span.align-center span img{margin:0 auto;text-align:center}.axAZtM5WKNopJEBNra2i .markdown-body span.align-right{display:block;overflow:hidden;clear:both}.axAZtM5WKNopJEBNra2i .markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.axAZtM5WKNopJEBNra2i .markdown-body span.align-right span img{margin:0;text-align:right}.axAZtM5WKNopJEBNra2i .markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.axAZtM5WKNopJEBNra2i .markdown-body span.float-left span{margin:13px 0 0}.axAZtM5WKNopJEBNra2i .markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.axAZtM5WKNopJEBNra2i .markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.axAZtM5WKNopJEBNra2i .markdown-body code,.axAZtM5WKNopJEBNra2i .markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--bgColor-neutral-muted);border-radius:6px}.axAZtM5WKNopJEBNra2i .markdown-body code br,.axAZtM5WKNopJEBNra2i .markdown-body tt br{display:none}.axAZtM5WKNopJEBNra2i .markdown-body del code{text-decoration:inherit}.axAZtM5WKNopJEBNra2i .markdown-body samp{font-size:85%}.axAZtM5WKNopJEBNra2i .markdown-body pre code{font-size:100%}.axAZtM5WKNopJEBNra2i .markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:rgba(0,0,0,0);border:0}.axAZtM5WKNopJEBNra2i .markdown-body .highlight{margin-bottom:var(--base-size-16)}.axAZtM5WKNopJEBNra2i .markdown-body .highlight pre{margin-bottom:0;word-break:normal}.axAZtM5WKNopJEBNra2i .markdown-body .highlight pre,.axAZtM5WKNopJEBNra2i .markdown-body pre{padding:var(--base-size-16);overflow:auto;font-size:85%;line-height:1.45;color:var(--fgColor-default);background-color:var(--bgColor-muted);border-radius:6px}.axAZtM5WKNopJEBNra2i .markdown-body pre code,.axAZtM5WKNopJEBNra2i .markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:rgba(0,0,0,0);border:0}.axAZtM5WKNopJEBNra2i .markdown-body .csv-data td,.axAZtM5WKNopJEBNra2i .markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.axAZtM5WKNopJEBNra2i .markdown-body .csv-data .blob-num{padding:10px var(--base-size-8) 9px;text-align:right;background:var(--bgColor-default);border:0}.axAZtM5WKNopJEBNra2i .markdown-body .csv-data tr{border-top:0}.axAZtM5WKNopJEBNra2i .markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--bgColor-muted);border-top:0}.axAZtM5WKNopJEBNra2i .markdown-body [data-footnote-ref]::before{content:"["}.axAZtM5WKNopJEBNra2i .markdown-body [data-footnote-ref]::after{content:"]"}.axAZtM5WKNopJEBNra2i .markdown-body .footnotes{font-size:12px;color:var(--fgColor-muted);border-top:1px solid var(--borderColor-default)}.axAZtM5WKNopJEBNra2i .markdown-body .footnotes ol{padding-left:var(--base-size-16)}.axAZtM5WKNopJEBNra2i .markdown-body .footnotes ol ul{display:inline-block;padding-left:var(--base-size-16);margin-top:var(--base-size-16)}.axAZtM5WKNopJEBNra2i .markdown-body .footnotes li{position:relative}.axAZtM5WKNopJEBNra2i .markdown-body .footnotes li:target::before{position:absolute;top:calc(var(--base-size-8)*-1);right:calc(var(--base-size-8)*-1);bottom:calc(var(--base-size-8)*-1);left:calc(var(--base-size-24)*-1);pointer-events:none;content:"";border:2px solid var(--borderColor-accent-emphasis);border-radius:6px}.axAZtM5WKNopJEBNra2i .markdown-body .footnotes li:target{color:var(--fgColor-default)}.axAZtM5WKNopJEBNra2i .markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.axAZtM5WKNopJEBNra2i .markdown-body body:has(:modal){padding-right:var(--dialog-scrollgutter) !important}.axAZtM5WKNopJEBNra2i .markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-c1,.axAZtM5WKNopJEBNra2i .markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-e,.axAZtM5WKNopJEBNra2i .markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-smi,.axAZtM5WKNopJEBNra2i .markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-s,.axAZtM5WKNopJEBNra2i .markdown-body .pl-pds,.axAZtM5WKNopJEBNra2i .markdown-body .pl-s .pl-pse .pl-s1,.axAZtM5WKNopJEBNra2i .markdown-body .pl-sr,.axAZtM5WKNopJEBNra2i .markdown-body .pl-sr .pl-cce,.axAZtM5WKNopJEBNra2i .markdown-body .pl-sr .pl-sre,.axAZtM5WKNopJEBNra2i .markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-v,.axAZtM5WKNopJEBNra2i .markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-sr .pl-cce{font-weight:bold;color:var(--color-prettylights-syntax-string-regexp)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-mh,.axAZtM5WKNopJEBNra2i .markdown-body .pl-mh .pl-en,.axAZtM5WKNopJEBNra2i .markdown-body .pl-ms{font-weight:bold;color:var(--color-prettylights-syntax-markup-heading)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-mb{font-weight:bold;color:var(--color-prettylights-syntax-markup-bold)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-mdr{font-weight:bold;color:var(--color-prettylights-syntax-meta-diff-range)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.axAZtM5WKNopJEBNra2i .markdown-body [role=button]:focus:not(:focus-visible),.axAZtM5WKNopJEBNra2i .markdown-body [role=tabpanel][tabindex="0"]:focus:not(:focus-visible),.axAZtM5WKNopJEBNra2i .markdown-body button:focus:not(:focus-visible),.axAZtM5WKNopJEBNra2i .markdown-body summary:focus:not(:focus-visible),.axAZtM5WKNopJEBNra2i .markdown-body a:focus:not(:focus-visible){outline:none;box-shadow:none}.axAZtM5WKNopJEBNra2i .markdown-body [tabindex="0"]:focus:not(:focus-visible),.axAZtM5WKNopJEBNra2i .markdown-body details-dialog:focus:not(:focus-visible){outline:none}.axAZtM5WKNopJEBNra2i .markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:1em;font-style:normal !important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-0.075em}.axAZtM5WKNopJEBNra2i .markdown-body g-emoji img{width:1em;height:1em}.axAZtM5WKNopJEBNra2i .markdown-body .task-list-item{list-style-type:none}.axAZtM5WKNopJEBNra2i .markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.axAZtM5WKNopJEBNra2i .markdown-body .task-list-item.enabled label{cursor:pointer}.axAZtM5WKNopJEBNra2i .markdown-body .task-list-item+.task-list-item{margin-top:var(--base-size-4)}.axAZtM5WKNopJEBNra2i .markdown-body .task-list-item .handle{display:none}.axAZtM5WKNopJEBNra2i .markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.axAZtM5WKNopJEBNra2i .markdown-body ul:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.axAZtM5WKNopJEBNra2i .markdown-body ol:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.axAZtM5WKNopJEBNra2i .markdown-body .contains-task-list:hover .task-list-item-convert-container,.axAZtM5WKNopJEBNra2i .markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.axAZtM5WKNopJEBNra2i .markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert{padding:var(--base-size-8) var(--base-size-16);margin-bottom:var(--base-size-16);color:inherit;border-left:.25em solid var(--borderColor-default)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert>:first-child{margin-top:0}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert>:last-child{margin-bottom:0}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert .markdown-alert-title{display:flex;font-weight:var(--base-text-weight-medium, 500);align-items:center;line-height:1}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-note{border-left-color:var(--borderColor-accent-emphasis)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title{color:var(--fgColor-accent)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-important{border-left-color:var(--borderColor-done-emphasis)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title{color:var(--fgColor-done)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-warning{border-left-color:var(--borderColor-attention-emphasis)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title{color:var(--fgColor-attention)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-tip{border-left-color:var(--borderColor-success-emphasis)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title{color:var(--fgColor-success)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-caution{border-left-color:var(--borderColor-danger-emphasis)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title{color:var(--fgColor-danger)}.axAZtM5WKNopJEBNra2i .markdown-body>*:first-child>.heading-element:first-child{margin-top:0 !important}.axAZtM5WKNopJEBNra2i .markdown-body .highlight pre:has(+.zeroclipboard-container){min-height:52px}`,""]);var u="axAZtM5WKNopJEBNra2i";const h=c},482:(e,t,n)=>{n.d(t,{A:()=>l,L:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".GmPZonLTI3KWU6TQWQSo{display:flex;flex-direction:column;align-items:center;height:100%;overflow:auto}.GmPZonLTI3KWU6TQWQSo canvas{max-width:100%}",""]);var s="GmPZonLTI3KWU6TQWQSo";const l=i},708:(e,t,n)=>{n.d(t,{A:()=>l,L:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".w5U1Ig2Vx60xYRW90g33{height:100%;overflow-x:hidden;overflow-y:auto}",""]);var s="w5U1Ig2Vx60xYRW90g33";const l=i},989:(e,t,n)=>{n.d(t,{Ay:()=>c,Kk:()=>l,LV:()=>s,NI:()=>d});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".s1DE3bXbSR3WMxOHGhL4{width:244px;min-height:89px;background:#fff;box-shadow:0px 12px 30px 0px rgba(32,60,48,.2);border-radius:10px 10px 10px 10px;border:1px solid #d9e0ed;z-index:100;position:fixed;bottom:180px;left:calc(50% - 122px)}.ickkjG9C47RxHTbOAWXw{width:16px;height:16px;z-index:101;display:inline-block;border-radius:50%;position:absolute;top:17px;right:17px;cursor:pointer}.dWjTN1AD2WJesHevGU09{padding:17px 10px}",""]);var s="s1DE3bXbSR3WMxOHGhL4",l="ickkjG9C47RxHTbOAWXw",d="dWjTN1AD2WJesHevGU09";const c=i},280:(e,t,n)=>{n.d(t,{Ay:()=>d,LV:()=>s,wm:()=>l});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".wkk6Lnco5rQ5DK_Bojaj{display:flex;justify-content:space-between;align-items:center;padding:0 16px;background-color:#000}.wkk6Lnco5rQ5DK_Bojaj .H3Num6yF3Ox32Pb6Occg{width:200px}",""]);var s="wkk6Lnco5rQ5DK_Bojaj",l="H3Num6yF3Ox32Pb6Occg";const d=i},512:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".tiptap pre{margin-top:1.5rem;margin-bottom:1.5rem;border-radius:0.5rem;--tw-bg-opacity:1;background-color:rgb(17 24 39 / var(--tw-bg-opacity));padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity))}.tiptap pre code{background-image:none;padding:0px;font-size:0.875rem;line-height:1.25rem}.tiptap pre .hljs-comment,.tiptap pre .hljs-quote{color:#6a9955}.tiptap pre .hljs-variable,.tiptap pre .hljs-template-variable,.tiptap pre .hljs-attribute,.tiptap pre .hljs-tag,.tiptap pre .hljs-name,.tiptap pre .hljs-regexp,.tiptap pre .hljs-link,.tiptap pre .hljs-selector-id,.tiptap pre .hljs-selector-class{color:#4fc1ff}.tiptap pre .hljs-number,.tiptap pre .hljs-meta,.tiptap pre .hljs-built_in,.tiptap pre .hljs-builtin-name,.tiptap pre .hljs-literal,.tiptap pre .hljs-type,.tiptap pre .hljs-params{color:#dcdcaa}.tiptap pre .hljs-string,.tiptap pre .hljs-symbol,.tiptap pre .hljs-bullet{color:#ce9178}.tiptap pre .hljs-title,.tiptap pre .hljs-section{color:#dcdcaa}.tiptap pre .hljs-keyword,.tiptap pre .hljs-selector-tag{color:#c586c0}.tiptap pre .hljs-emphasis{font-style:italic}.tiptap pre .hljs-strong{font-weight:700}",""]);const s=i},383:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,'@layer tailwind-base, antd;.tiptap-container .prose{\ncolor: var(--tw-prose-body);\nmax-width: 65ch;}.tiptap-container .prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 1.25em;\nmargin-bottom: 1.25em;}.tiptap-container .prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-lead);\nfont-size: 1.25em;\nline-height: 1.6;\nmargin-top: 1.2em;\nmargin-bottom: 1.2em;}.tiptap-container .prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-links);\ntext-decoration: underline;\nfont-weight: 500;}.tiptap-container .prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-bold);\nfont-weight: 600;}.tiptap-container .prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.tiptap-container .prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.tiptap-container .prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.tiptap-container .prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: decimal;\nmargin-top: 1.25em;\nmargin-bottom: 1.25em;\npadding-inline-start: 1.625em;}.tiptap-container .prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: upper-alpha;}.tiptap-container .prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: lower-alpha;}.tiptap-container .prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: upper-alpha;}.tiptap-container .prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: lower-alpha;}.tiptap-container .prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: upper-roman;}.tiptap-container .prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: lower-roman;}.tiptap-container .prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: upper-roman;}.tiptap-container .prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: lower-roman;}.tiptap-container .prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: decimal;}.tiptap-container .prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: disc;\nmargin-top: 1.25em;\nmargin-bottom: 1.25em;\npadding-inline-start: 1.625em;}.tiptap-container .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker{\nfont-weight: 400;\ncolor: var(--tw-prose-counters);}.tiptap-container .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker{\ncolor: var(--tw-prose-bullets);}.tiptap-container .prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 600;\nmargin-top: 1.25em;}.tiptap-container .prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-color: var(--tw-prose-hr);\nborder-top-width: 1px;\nmargin-top: 3em;\nmargin-bottom: 3em;}.tiptap-container .prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 500;\nfont-style: italic;\ncolor: var(--tw-prose-quotes);\nborder-inline-start-width: 0.25rem;\nborder-inline-start-color: var(--tw-prose-quote-borders);\nquotes: "\\201C""\\201D""\\2018""\\2019";\nmargin-top: 1.6em;\nmargin-bottom: 1.6em;\npadding-inline-start: 1em;}.tiptap-container .prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\ncontent: open-quote;}.tiptap-container .prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\ncontent: close-quote;}.tiptap-container .prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 800;\nfont-size: 2.25em;\nmargin-top: 0;\nmargin-bottom: 0.8888889em;\nline-height: 1.1111111;}.tiptap-container .prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 900;\ncolor: inherit;}.tiptap-container .prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 700;\nfont-size: 1.5em;\nmargin-top: 2em;\nmargin-bottom: 1em;\nline-height: 1.3333333;}.tiptap-container .prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 800;\ncolor: inherit;}.tiptap-container .prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 600;\nfont-size: 1.25em;\nmargin-top: 1.6em;\nmargin-bottom: 0.6em;\nline-height: 1.6;}.tiptap-container .prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 700;\ncolor: inherit;}.tiptap-container .prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 600;\nmargin-top: 1.5em;\nmargin-bottom: 0.5em;\nline-height: 1.5;}.tiptap-container .prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 700;\ncolor: inherit;}.tiptap-container .prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 2em;\nmargin-bottom: 2em;}.tiptap-container .prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ndisplay: block;\nmargin-top: 2em;\nmargin-bottom: 2em;}.tiptap-container .prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 2em;\nmargin-bottom: 2em;}.tiptap-container .prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 500;\nfont-family: inherit;\ncolor: var(--tw-prose-kbd);\nbox-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);\nfont-size: 0.875em;\nborder-radius: 0.3125rem;\npadding-top: 0.1875em;\npadding-inline-end: 0.375em;\npadding-bottom: 0.1875em;\npadding-inline-start: 0.375em;}.tiptap-container .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-code);\nfont-weight: 600;\nfont-size: 0.875em;}.tiptap-container .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\ncontent: "`";}.tiptap-container .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\ncontent: "`";}.tiptap-container .prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.tiptap-container .prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.tiptap-container .prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;\nfont-size: 0.875em;}.tiptap-container .prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;\nfont-size: 0.9em;}.tiptap-container .prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.tiptap-container .prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.tiptap-container .prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.tiptap-container .prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-pre-code);\nbackground-color: var(--tw-prose-pre-bg);\noverflow-x: auto;\nfont-weight: 400;\nfont-size: 0.875em;\nline-height: 1.7142857;\nmargin-top: 1.7142857em;\nmargin-bottom: 1.7142857em;\nborder-radius: 0.375rem;\npadding-top: 0.8571429em;\npadding-inline-end: 1.1428571em;\npadding-bottom: 0.8571429em;\npadding-inline-start: 1.1428571em;}.tiptap-container .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nbackground-color: transparent;\nborder-width: 0;\nborder-radius: 0;\npadding: 0;\nfont-weight: inherit;\ncolor: inherit;\nfont-size: inherit;\nfont-family: inherit;\nline-height: inherit;}.tiptap-container .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\ncontent: none;}.tiptap-container .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\ncontent: none;}.tiptap-container .prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nwidth: 100%;\ntable-layout: auto;\nmargin-top: 2em;\nmargin-bottom: 2em;\nfont-size: 0.875em;\nline-height: 1.7142857;}.tiptap-container .prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-bottom-width: 1px;\nborder-bottom-color: var(--tw-prose-th-borders);}.tiptap-container .prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 600;\nvertical-align: bottom;\npadding-inline-end: 0.5714286em;\npadding-bottom: 0.5714286em;\npadding-inline-start: 0.5714286em;}.tiptap-container .prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-bottom-width: 1px;\nborder-bottom-color: var(--tw-prose-td-borders);}.tiptap-container .prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-bottom-width: 0;}.tiptap-container .prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nvertical-align: baseline;}.tiptap-container .prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-top-width: 1px;\nborder-top-color: var(--tw-prose-th-borders);}.tiptap-container .prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nvertical-align: top;}.tiptap-container .prose :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ntext-align: start;}.tiptap-container .prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;\nmargin-bottom: 0;}.tiptap-container .prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-captions);\nfont-size: 0.875em;\nline-height: 1.4285714;\nmargin-top: 0.8571429em;}.tiptap-container .prose{\n--tw-prose-body: #374151;\n--tw-prose-headings: #111827;\n--tw-prose-lead: #4b5563;\n--tw-prose-links: #111827;\n--tw-prose-bold: #111827;\n--tw-prose-counters: #6b7280;\n--tw-prose-bullets: #d1d5db;\n--tw-prose-hr: #e5e7eb;\n--tw-prose-quotes: #111827;\n--tw-prose-quote-borders: #e5e7eb;\n--tw-prose-captions: #6b7280;\n--tw-prose-kbd: #111827;\n--tw-prose-kbd-shadows: 17 24 39;\n--tw-prose-code: #111827;\n--tw-prose-pre-code: #e5e7eb;\n--tw-prose-pre-bg: #1f2937;\n--tw-prose-th-borders: #d1d5db;\n--tw-prose-td-borders: #e5e7eb;\n--tw-prose-invert-body: #d1d5db;\n--tw-prose-invert-headings: #fff;\n--tw-prose-invert-lead: #9ca3af;\n--tw-prose-invert-links: #fff;\n--tw-prose-invert-bold: #fff;\n--tw-prose-invert-counters: #9ca3af;\n--tw-prose-invert-bullets: #4b5563;\n--tw-prose-invert-hr: #374151;\n--tw-prose-invert-quotes: #f3f4f6;\n--tw-prose-invert-quote-borders: #374151;\n--tw-prose-invert-captions: #9ca3af;\n--tw-prose-invert-kbd: #fff;\n--tw-prose-invert-kbd-shadows: 255 255 255;\n--tw-prose-invert-code: #fff;\n--tw-prose-invert-pre-code: #d1d5db;\n--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);\n--tw-prose-invert-th-borders: #4b5563;\n--tw-prose-invert-td-borders: #374151;\nfont-size: 1rem;\nline-height: 1.75;}.tiptap-container .prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;\nmargin-bottom: 0;}.tiptap-container .prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0.5em;\nmargin-bottom: 0.5em;}.tiptap-container .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-start: 0.375em;}.tiptap-container .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-start: 0.375em;}.tiptap-container .prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0.75em;\nmargin-bottom: 0.75em;}.tiptap-container .prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 1.25em;}.tiptap-container .prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-bottom: 1.25em;}.tiptap-container .prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 1.25em;}.tiptap-container .prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-bottom: 1.25em;}.tiptap-container .prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0.75em;\nmargin-bottom: 0.75em;}.tiptap-container .prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 1.25em;\nmargin-bottom: 1.25em;}.tiptap-container .prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0.5em;\npadding-inline-start: 1.625em;}.tiptap-container .prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.tiptap-container .prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.tiptap-container .prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.tiptap-container .prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.tiptap-container .prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-start: 0;}.tiptap-container .prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-end: 0;}.tiptap-container .prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-top: 0.5714286em;\npadding-inline-end: 0.5714286em;\npadding-bottom: 0.5714286em;\npadding-inline-start: 0.5714286em;}.tiptap-container .prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-start: 0;}.tiptap-container .prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-end: 0;}.tiptap-container .prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 2em;\nmargin-bottom: 2em;}.tiptap-container .prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.tiptap-container .prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-bottom: 0;}.tiptap-container .absolute{\nposition: absolute;}.tiptap-container .relative{\nposition: relative;}.tiptap-container .sticky{\nposition: sticky;}.tiptap-container .right-0{\nright: 0px;}.tiptap-container .z-10{\nz-index: 10;}.tiptap-container .m-0{\nmargin: 0px;}.tiptap-container .m-1{\nmargin: 0.25rem;}.tiptap-container .my-2{\nmargin-top: 0.5rem;\nmargin-bottom: 0.5rem;}.tiptap-container .my-2\\.5{\nmargin-top: 0.625rem;\nmargin-bottom: 0.625rem;}.tiptap-container .my-4{\nmargin-top: 1rem;\nmargin-bottom: 1rem;}.tiptap-container .mb-0{\nmargin-bottom: 0px;}.tiptap-container .mb-2{\nmargin-bottom: 0.5rem;}.tiptap-container .mb-4{\nmargin-bottom: 1rem;}.tiptap-container .mb-5{\nmargin-bottom: 1.25rem;}.tiptap-container .mr-1{\nmargin-right: 0.25rem;}.tiptap-container .mt-20{\nmargin-top: 5rem;}.tiptap-container .mt-4{\nmargin-top: 1rem;}.tiptap-container .block{\ndisplay: block;}.tiptap-container .\\!inline{\ndisplay: inline !important;}.tiptap-container .inline{\ndisplay: inline;}.tiptap-container .flex{\ndisplay: flex;}.tiptap-container .table{\ndisplay: table;}.tiptap-container .flow-root{\ndisplay: flow-root;}.tiptap-container .hidden{\ndisplay: none;}.tiptap-container .h-4{\nheight: 1rem;}.tiptap-container .h-5{\nheight: 1.25rem;}.tiptap-container .h-6{\nheight: 1.5rem;}.tiptap-container .h-8{\nheight: 2rem;}.tiptap-container .h-auto{\nheight: auto;}.tiptap-container .max-h-72{\nmax-height: 18rem;}.tiptap-container .min-h-\\[20rem\\]{\nmin-height: 20rem;}.tiptap-container .w-4{\nwidth: 1rem;}.tiptap-container .w-40{\nwidth: 10rem;}.tiptap-container .w-5{\nwidth: 1.25rem;}.tiptap-container .w-6{\nwidth: 1.5rem;}.tiptap-container .max-w-96{\nmax-width: 24rem;}.tiptap-container .max-w-none{\nmax-width: none;}.tiptap-container .flex-shrink-0{\nflex-shrink: 0;}.tiptap-container .cursor-pointer{\ncursor: pointer;}.tiptap-container .items-center{\nalign-items: center;}.tiptap-container .justify-center{\njustify-content: center;}.tiptap-container .justify-between{\njustify-content: space-between;}.tiptap-container .gap-1{\ngap: 0.25rem;}.tiptap-container .gap-4{\ngap: 1rem;}.tiptap-container .overflow-y-auto{\noverflow-y: auto;}.tiptap-container .truncate{\noverflow: hidden;\ntext-overflow: ellipsis;\nwhite-space: nowrap;}.tiptap-container .rounded{\nborder-radius: 0.25rem;}.tiptap-container .rounded-md{\nborder-radius: 0.375rem;}.tiptap-container .border{\nborder-width: 1px;}.tiptap-container .border-solid{\nborder-style: solid;}.tiptap-container .border-dashed{\nborder-style: dashed;}.tiptap-container .border-\\[\\#1775FE\\]{\n--tw-border-opacity: 1;\nborder-color: rgb(23 117 254 / var(--tw-border-opacity));}.tiptap-container .border-gray-200{\n--tw-border-opacity: 1;\nborder-color: rgb(229 231 235 / var(--tw-border-opacity));}.tiptap-container .border-gray-3{\n--tw-border-opacity: 1;\nborder-color: rgb(217 224 237 / var(--tw-border-opacity));}.tiptap-container .border-gray-300{\n--tw-border-opacity: 1;\nborder-color: rgb(209 213 219 / var(--tw-border-opacity));}.tiptap-container .border-green-600{\n--tw-border-opacity: 1;\nborder-color: rgb(22 163 74 / var(--tw-border-opacity));}.tiptap-container .bg-\\[\\#F5F7FA\\]{\n--tw-bg-opacity: 1;\nbackground-color: rgb(245 247 250 / var(--tw-bg-opacity));}.tiptap-container .bg-blue-5{\n--tw-bg-opacity: 1;\nbackground-color: rgb(23 117 254 / var(--tw-bg-opacity));}.tiptap-container .bg-gray-50{\n--tw-bg-opacity: 1;\nbackground-color: rgb(249 250 251 / var(--tw-bg-opacity));}.tiptap-container .bg-white{\n--tw-bg-opacity: 1;\nbackground-color: rgb(255 255 255 / var(--tw-bg-opacity));}.tiptap-container .p-1{\npadding: 0.25rem;}.tiptap-container .p-2{\npadding: 0.5rem;}.tiptap-container .p-4{\npadding: 1rem;}.tiptap-container .px-3{\npadding-left: 0.75rem;\npadding-right: 0.75rem;}.tiptap-container .px-4{\npadding-left: 1rem;\npadding-right: 1rem;}.tiptap-container .pr-2{\npadding-right: 0.5rem;}.tiptap-container .text-center{\ntext-align: center;}.tiptap-container .text-2xl{\nfont-size: 1.5rem;\nline-height: 2rem;}.tiptap-container .text-5xl{\nfont-size: 3rem;\nline-height: 1;}.tiptap-container .text-base{\nfont-size: 1rem;\nline-height: 1.5rem;}.tiptap-container .text-sm{\nfont-size: 0.875rem;\nline-height: 1.25rem;}.tiptap-container .text-xl{\nfont-size: 1.25rem;\nline-height: 1.75rem;}.tiptap-container .italic{\nfont-style: italic;}.tiptap-container .text-gray-5{\n--tw-text-opacity: 1;\ncolor: rgb(135 144 158 / var(--tw-text-opacity));}.tiptap-container .text-gray-7{\n--tw-text-opacity: 1;\ncolor: rgb(84 91 100 / var(--tw-text-opacity));}.tiptap-container .text-green-600{\n--tw-text-opacity: 1;\ncolor: rgb(22 163 74 / var(--tw-text-opacity));}.tiptap-container .text-green-green{\n--tw-text-opacity: 1;\ncolor: rgb(83 195 27 / var(--tw-text-opacity));}.tiptap-container .text-red-600{\n--tw-text-opacity: 1;\ncolor: rgb(220 38 38 / var(--tw-text-opacity));}.tiptap-container .text-red-red{\n--tw-text-opacity: 1;\ncolor: rgb(254 77 79 / var(--tw-text-opacity));}.tiptap-container .text-white{\n--tw-text-opacity: 1;\ncolor: rgb(255 255 255 / var(--tw-text-opacity));}.tiptap-container .text-yellow-500{\n--tw-text-opacity: 1;\ncolor: rgb(234 179 8 / var(--tw-text-opacity));}.tiptap-container .underline{\ntext-decoration-line: underline;}.tiptap-container .opacity-0{\nopacity: 0;}.tiptap-container .shadow-sm{\n--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);\nbox-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);}.tiptap-container .filter{\nfilter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);}.tiptap-container .transition-opacity{\ntransition-property: opacity;\ntransition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\ntransition-duration: 150ms;}.tiptap-container .transition-transform{\ntransition-property: transform;\ntransition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\ntransition-duration: 150ms;}@layer tailwind-base{.tiptap-container *, .tiptap-container ::before, .tiptap-container ::after{\n--tw-border-spacing-x: 0;\n--tw-border-spacing-y: 0;\n--tw-translate-x: 0;\n--tw-translate-y: 0;\n--tw-rotate: 0;\n--tw-skew-x: 0;\n--tw-skew-y: 0;\n--tw-scale-x: 1;\n--tw-scale-y: 1;\n--tw-pan-x: ;\n--tw-pan-y: ;\n--tw-pinch-zoom: ;\n--tw-scroll-snap-strictness: proximity;\n--tw-gradient-from-position: ;\n--tw-gradient-via-position: ;\n--tw-gradient-to-position: ;\n--tw-ordinal: ;\n--tw-slashed-zero: ;\n--tw-numeric-figure: ;\n--tw-numeric-spacing: ;\n--tw-numeric-fraction: ;\n--tw-ring-inset: ;\n--tw-ring-offset-width: 0px;\n--tw-ring-offset-color: #fff;\n--tw-ring-color: rgb(59 130 246 / 0.5);\n--tw-ring-offset-shadow: 0 0 #0000;\n--tw-ring-shadow: 0 0 #0000;\n--tw-shadow: 0 0 #0000;\n--tw-shadow-colored: 0 0 #0000;\n--tw-blur: ;\n--tw-brightness: ;\n--tw-contrast: ;\n--tw-grayscale: ;\n--tw-hue-rotate: ;\n--tw-invert: ;\n--tw-saturate: ;\n--tw-sepia: ;\n--tw-drop-shadow: ;\n--tw-backdrop-blur: ;\n--tw-backdrop-brightness: ;\n--tw-backdrop-contrast: ;\n--tw-backdrop-grayscale: ;\n--tw-backdrop-hue-rotate: ;\n--tw-backdrop-invert: ;\n--tw-backdrop-opacity: ;\n--tw-backdrop-saturate: ;\n--tw-backdrop-sepia: ;\n--tw-contain-size: ;\n--tw-contain-layout: ;\n--tw-contain-paint: ;\n--tw-contain-style: ;}.tiptap-container ::backdrop{\n--tw-border-spacing-x: 0;\n--tw-border-spacing-y: 0;\n--tw-translate-x: 0;\n--tw-translate-y: 0;\n--tw-rotate: 0;\n--tw-skew-x: 0;\n--tw-skew-y: 0;\n--tw-scale-x: 1;\n--tw-scale-y: 1;\n--tw-pan-x: ;\n--tw-pan-y: ;\n--tw-pinch-zoom: ;\n--tw-scroll-snap-strictness: proximity;\n--tw-gradient-from-position: ;\n--tw-gradient-via-position: ;\n--tw-gradient-to-position: ;\n--tw-ordinal: ;\n--tw-slashed-zero: ;\n--tw-numeric-figure: ;\n--tw-numeric-spacing: ;\n--tw-numeric-fraction: ;\n--tw-ring-inset: ;\n--tw-ring-offset-width: 0px;\n--tw-ring-offset-color: #fff;\n--tw-ring-color: rgb(59 130 246 / 0.5);\n--tw-ring-offset-shadow: 0 0 #0000;\n--tw-ring-shadow: 0 0 #0000;\n--tw-shadow: 0 0 #0000;\n--tw-shadow-colored: 0 0 #0000;\n--tw-blur: ;\n--tw-brightness: ;\n--tw-contrast: ;\n--tw-grayscale: ;\n--tw-hue-rotate: ;\n--tw-invert: ;\n--tw-saturate: ;\n--tw-sepia: ;\n--tw-drop-shadow: ;\n--tw-backdrop-blur: ;\n--tw-backdrop-brightness: ;\n--tw-backdrop-contrast: ;\n--tw-backdrop-grayscale: ;\n--tw-backdrop-hue-rotate: ;\n--tw-backdrop-invert: ;\n--tw-backdrop-opacity: ;\n--tw-backdrop-saturate: ;\n--tw-backdrop-sepia: ;\n--tw-contain-size: ;\n--tw-contain-layout: ;\n--tw-contain-paint: ;\n--tw-contain-style: ;}/*\n! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com\n*//*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n.tiptap-container *,\n.tiptap-container ::before,\n.tiptap-container ::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n}\n\n.tiptap-container ::before,\n.tiptap-container ::after {\n --tw-content: \'\';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user\'s configured `sans` font-family by default.\n5. Use the user\'s configured `sans` font-feature-settings by default.\n6. Use the user\'s configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\n\n.tiptap-container html,\n.tiptap-container :host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: AlibabaPuHuiTi-3-55-RegularL3, ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\n.tiptap-container body {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\n.tiptap-container hr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\n.tiptap-container abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\n.tiptap-container h1,\n.tiptap-container h2,\n.tiptap-container h3,\n.tiptap-container h4,\n.tiptap-container h5,\n.tiptap-container h6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\n.tiptap-container a {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\n.tiptap-container b,\n.tiptap-container strong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user\'s configured `mono` font-family by default.\n2. Use the user\'s configured `mono` font-feature-settings by default.\n3. Use the user\'s configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\n\n.tiptap-container code,\n.tiptap-container kbd,\n.tiptap-container samp,\n.tiptap-container pre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\n.tiptap-container small {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\n.tiptap-container sub,\n.tiptap-container sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\n.tiptap-container sub {\n bottom: -0.25em;\n}\n\n.tiptap-container sup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\n.tiptap-container table {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\n.tiptap-container button,\n.tiptap-container input,\n.tiptap-container optgroup,\n.tiptap-container select,\n.tiptap-container textarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\n.tiptap-container button,\n.tiptap-container select {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\n.tiptap-container button,\n.tiptap-container input:where([type=\'button\']),\n.tiptap-container input:where([type=\'reset\']),\n.tiptap-container input:where([type=\'submit\']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n.tiptap-container :-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n.tiptap-container :-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\n.tiptap-container progress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n.tiptap-container ::-webkit-inner-spin-button,\n.tiptap-container ::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n.tiptap-container [type=\'search\'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n.tiptap-container ::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n.tiptap-container ::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\n.tiptap-container summary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\n.tiptap-container blockquote,\n.tiptap-container dl,\n.tiptap-container dd,\n.tiptap-container h1,\n.tiptap-container h2,\n.tiptap-container h3,\n.tiptap-container h4,\n.tiptap-container h5,\n.tiptap-container h6,\n.tiptap-container hr,\n.tiptap-container figure,\n.tiptap-container p,\n.tiptap-container pre {\n margin: 0;\n}\n\n.tiptap-container fieldset {\n margin: 0;\n padding: 0;\n}\n\n.tiptap-container legend {\n padding: 0;\n}\n\n.tiptap-container ol,\n.tiptap-container ul,\n.tiptap-container menu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\n.tiptap-container dialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\n.tiptap-container textarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user\'s configured gray 400 color.\n*/\n\n.tiptap-container input::-moz-placeholder, .tiptap-container textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\n.tiptap-container input::placeholder,\n.tiptap-container textarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\n.tiptap-container button,\n.tiptap-container [role="button"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don\'t get the pointer cursor.\n*/\n.tiptap-container :disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\n.tiptap-container img,\n.tiptap-container svg,\n.tiptap-container video,\n.tiptap-container canvas,\n.tiptap-container audio,\n.tiptap-container iframe,\n.tiptap-container embed,\n.tiptap-container object {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\n.tiptap-container img,\n.tiptap-container video {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n.tiptap-container [hidden] {\n display: none;\n}}.tiptap>*:first-child{\nmargin-top: 0px;}.tiptap[contenteditable=true]{\noutline-width: 0px;}.last\\:mb-0:last-child{\nmargin-bottom: 0px;}.hover\\:border-green-600:hover{\n--tw-border-opacity: 1;\nborder-color: rgb(22 163 74 / var(--tw-border-opacity));}.hover\\:bg-assist-bg-blue:hover{\n--tw-bg-opacity: 1;\nbackground-color: rgb(244 246 250 / var(--tw-bg-opacity));}.group:hover .group-hover\\:-translate-x-10{\n--tw-translate-x: -2.5rem;\ntransform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));}.group:hover .group-hover\\:-translate-x-6{\n--tw-translate-x: -1.5rem;\ntransform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));}.group:hover .group-hover\\:opacity-100{\nopacity: 1;}',""]);const s=i},444:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".tippy-box{max-width:100% !important}",""]);const s=i},311:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,'.tiptap table{margin:0px;width:100%;table-layout:fixed;border-collapse:collapse;overflow:hidden}.tiptap table td,.tiptap table th{position:relative;box-sizing:border-box;min-width:1rem;border-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgb(209 213 219 / var(--tw-border-opacity));padding:0.5rem;vertical-align:top}.tiptap table td>*,.tiptap table th>*{margin-block:0px}.tiptap table th{--tw-bg-opacity:1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));text-align:left;font-weight:700}.tiptap table .selectedCell:after{pointer-events:none;position:absolute;inset:0px;z-index:10;background-color:rgb(229 231 235 / var(--tw-bg-opacity));--tw-bg-opacity:0.25;--tw-content:"";content:var(--tw-content)}.tiptap table .column-resize-handle{pointer-events:none;position:absolute;bottom:-0.25rem;top:0px;right:0px;width:0.25rem;--tw-bg-opacity:1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.tiptap .tableWrapper{margin-top:1.5rem;margin-bottom:1.5rem;overflow-x:auto}.tiptap.resize-cursor{cursor:col-resize}.tiptap code{margin:0.25rem}',""]);const s=i},588:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,'.mylib-upload-drawer *, .mylib-upload-drawer ::before, .mylib-upload-drawer ::after{\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}.mylib-upload-drawer ::backdrop{\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}/*\n! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com\n*//*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/.mylib-upload-drawer *,\n.mylib-upload-drawer ::before,\n.mylib-upload-drawer ::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n}.mylib-upload-drawer ::before,\n.mylib-upload-drawer ::after {\n --tw-content: \'\';\n}/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user\'s configured `sans` font-family by default.\n5. Use the user\'s configured `sans` font-feature-settings by default.\n6. Use the user\'s configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/.mylib-upload-drawer html,\n.mylib-upload-drawer :host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: AlibabaPuHuiTi-3-55-RegularL3, ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/.mylib-upload-drawer body {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/.mylib-upload-drawer hr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/.mylib-upload-drawer abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}/*\nRemove the default font size and weight for headings.\n*/.mylib-upload-drawer h1,\n.mylib-upload-drawer h2,\n.mylib-upload-drawer h3,\n.mylib-upload-drawer h4,\n.mylib-upload-drawer h5,\n.mylib-upload-drawer h6 {\n font-size: inherit;\n font-weight: inherit;\n}/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/.mylib-upload-drawer a {\n color: inherit;\n text-decoration: inherit;\n}/*\nAdd the correct font weight in Edge and Safari.\n*/.mylib-upload-drawer b,\n.mylib-upload-drawer strong {\n font-weight: bolder;\n}/*\n1. Use the user\'s configured `mono` font-family by default.\n2. Use the user\'s configured `mono` font-feature-settings by default.\n3. Use the user\'s configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/.mylib-upload-drawer code,\n.mylib-upload-drawer kbd,\n.mylib-upload-drawer samp,\n.mylib-upload-drawer pre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}/*\nAdd the correct font size in all browsers.\n*/.mylib-upload-drawer small {\n font-size: 80%;\n}/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/.mylib-upload-drawer sub,\n.mylib-upload-drawer sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}.mylib-upload-drawer sub {\n bottom: -0.25em;\n}.mylib-upload-drawer sup {\n top: -0.5em;\n}/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/.mylib-upload-drawer table {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/.mylib-upload-drawer button,\n.mylib-upload-drawer input,\n.mylib-upload-drawer optgroup,\n.mylib-upload-drawer select,\n.mylib-upload-drawer textarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/.mylib-upload-drawer button,\n.mylib-upload-drawer select {\n text-transform: none;\n}/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/.mylib-upload-drawer button,\n.mylib-upload-drawer input:where([type=\'button\']),\n.mylib-upload-drawer input:where([type=\'reset\']),\n.mylib-upload-drawer input:where([type=\'submit\']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}/*\nUse the modern Firefox focus style for all focusable elements.\n*/.mylib-upload-drawer :-moz-focusring {\n outline: auto;\n}/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/.mylib-upload-drawer :-moz-ui-invalid {\n box-shadow: none;\n}/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/.mylib-upload-drawer progress {\n vertical-align: baseline;\n}/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/.mylib-upload-drawer ::-webkit-inner-spin-button,\n.mylib-upload-drawer ::-webkit-outer-spin-button {\n height: auto;\n}/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/.mylib-upload-drawer [type=\'search\'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/.mylib-upload-drawer ::-webkit-search-decoration {\n -webkit-appearance: none;\n}/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/.mylib-upload-drawer ::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}/*\nAdd the correct display in Chrome and Safari.\n*/.mylib-upload-drawer summary {\n display: list-item;\n}/*\nRemoves the default spacing and border for appropriate elements.\n*/.mylib-upload-drawer blockquote,\n.mylib-upload-drawer dl,\n.mylib-upload-drawer dd,\n.mylib-upload-drawer h1,\n.mylib-upload-drawer h2,\n.mylib-upload-drawer h3,\n.mylib-upload-drawer h4,\n.mylib-upload-drawer h5,\n.mylib-upload-drawer h6,\n.mylib-upload-drawer hr,\n.mylib-upload-drawer figure,\n.mylib-upload-drawer p,\n.mylib-upload-drawer pre {\n margin: 0;\n}.mylib-upload-drawer fieldset {\n margin: 0;\n padding: 0;\n}.mylib-upload-drawer legend {\n padding: 0;\n}.mylib-upload-drawer ol,\n.mylib-upload-drawer ul,\n.mylib-upload-drawer menu {\n list-style: none;\n margin: 0;\n padding: 0;\n}/*\nReset default styling for dialogs.\n*/.mylib-upload-drawer dialog {\n padding: 0;\n}/*\nPrevent resizing textareas horizontally by default.\n*/.mylib-upload-drawer textarea {\n resize: vertical;\n}/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user\'s configured gray 400 color.\n*/.mylib-upload-drawer input::-moz-placeholder, .mylib-upload-drawer textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}.mylib-upload-drawer input::placeholder,\n.mylib-upload-drawer textarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}/*\nSet the default cursor for buttons.\n*/.mylib-upload-drawer button,\n.mylib-upload-drawer [role="button"] {\n cursor: pointer;\n}/*\nMake sure disabled buttons don\'t get the pointer cursor.\n*/.mylib-upload-drawer :disabled {\n cursor: default;\n}/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/.mylib-upload-drawer img,\n.mylib-upload-drawer svg,\n.mylib-upload-drawer video,\n.mylib-upload-drawer canvas,\n.mylib-upload-drawer audio,\n.mylib-upload-drawer iframe,\n.mylib-upload-drawer embed,\n.mylib-upload-drawer object {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/.mylib-upload-drawer img,\n.mylib-upload-drawer video {\n max-width: 100%;\n height: auto;\n}/* Make elements with the HTML hidden attribute stay hidden by default */.mylib-upload-drawer [hidden] {\n display: none;\n}.mylib-upload-drawer .prose{\n color: var(--tw-prose-body);\n max-width: 65ch;\n}.mylib-upload-drawer .prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n}.mylib-upload-drawer .prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-lead);\n font-size: 1.25em;\n line-height: 1.6;\n margin-top: 1.2em;\n margin-bottom: 1.2em;\n}.mylib-upload-drawer .prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-links);\n text-decoration: underline;\n font-weight: 500;\n}.mylib-upload-drawer .prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-bold);\n font-weight: 600;\n}.mylib-upload-drawer .prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n}.mylib-upload-drawer .prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n}.mylib-upload-drawer .prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n}.mylib-upload-drawer .prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: decimal;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n padding-inline-start: 1.625em;\n}.mylib-upload-drawer .prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: upper-alpha;\n}.mylib-upload-drawer .prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: lower-alpha;\n}.mylib-upload-drawer .prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: upper-alpha;\n}.mylib-upload-drawer .prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: lower-alpha;\n}.mylib-upload-drawer .prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: upper-roman;\n}.mylib-upload-drawer .prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: lower-roman;\n}.mylib-upload-drawer .prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: upper-roman;\n}.mylib-upload-drawer .prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: lower-roman;\n}.mylib-upload-drawer .prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: decimal;\n}.mylib-upload-drawer .prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: disc;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n padding-inline-start: 1.625em;\n}.mylib-upload-drawer .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker{\n font-weight: 400;\n color: var(--tw-prose-counters);\n}.mylib-upload-drawer .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker{\n color: var(--tw-prose-bullets);\n}.mylib-upload-drawer .prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-headings);\n font-weight: 600;\n margin-top: 1.25em;\n}.mylib-upload-drawer .prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n border-color: var(--tw-prose-hr);\n border-top-width: 1px;\n margin-top: 3em;\n margin-bottom: 3em;\n}.mylib-upload-drawer .prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n font-weight: 500;\n font-style: italic;\n color: var(--tw-prose-quotes);\n border-inline-start-width: 0.25rem;\n border-inline-start-color: var(--tw-prose-quote-borders);\n quotes: "\\201C""\\201D""\\2018""\\2019";\n margin-top: 1.6em;\n margin-bottom: 1.6em;\n padding-inline-start: 1em;\n}.mylib-upload-drawer .prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\n content: open-quote;\n}.mylib-upload-drawer .prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\n content: close-quote;\n}.mylib-upload-drawer .prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-headings);\n font-weight: 800;\n font-size: 2.25em;\n margin-top: 0;\n margin-bottom: 0.8888889em;\n line-height: 1.1111111;\n}.mylib-upload-drawer .prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n font-weight: 900;\n color: inherit;\n}.mylib-upload-drawer .prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-headings);\n font-weight: 700;\n font-size: 1.5em;\n margin-top: 2em;\n margin-bottom: 1em;\n line-height: 1.3333333;\n}.mylib-upload-drawer .prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n font-weight: 800;\n color: inherit;\n}.mylib-upload-drawer .prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-headings);\n font-weight: 600;\n font-size: 1.25em;\n margin-top: 1.6em;\n margin-bottom: 0.6em;\n line-height: 1.6;\n}.mylib-upload-drawer .prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n font-weight: 700;\n color: inherit;\n}.mylib-upload-drawer .prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-headings);\n font-weight: 600;\n margin-top: 1.5em;\n margin-bottom: 0.5em;\n line-height: 1.5;\n}.mylib-upload-drawer .prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n font-weight: 700;\n color: inherit;\n}.mylib-upload-drawer .prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 2em;\n margin-bottom: 2em;\n}.mylib-upload-drawer .prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n display: block;\n margin-top: 2em;\n margin-bottom: 2em;\n}.mylib-upload-drawer .prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 2em;\n margin-bottom: 2em;\n}.mylib-upload-drawer .prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n font-weight: 500;\n font-family: inherit;\n color: var(--tw-prose-kbd);\n box-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);\n font-size: 0.875em;\n border-radius: 0.3125rem;\n padding-top: 0.1875em;\n padding-inline-end: 0.375em;\n padding-bottom: 0.1875em;\n padding-inline-start: 0.375em;\n}.mylib-upload-drawer .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-code);\n font-weight: 600;\n font-size: 0.875em;\n}.mylib-upload-drawer .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\n content: "`";\n}.mylib-upload-drawer .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\n content: "`";\n}.mylib-upload-drawer .prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n}.mylib-upload-drawer .prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n}.mylib-upload-drawer .prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n font-size: 0.875em;\n}.mylib-upload-drawer .prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n font-size: 0.9em;\n}.mylib-upload-drawer .prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n}.mylib-upload-drawer .prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n}.mylib-upload-drawer .prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n}.mylib-upload-drawer .prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-pre-code);\n background-color: var(--tw-prose-pre-bg);\n overflow-x: auto;\n font-weight: 400;\n font-size: 0.875em;\n line-height: 1.7142857;\n margin-top: 1.7142857em;\n margin-bottom: 1.7142857em;\n border-radius: 0.375rem;\n padding-top: 0.8571429em;\n padding-inline-end: 1.1428571em;\n padding-bottom: 0.8571429em;\n padding-inline-start: 1.1428571em;\n}.mylib-upload-drawer .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n background-color: transparent;\n border-width: 0;\n border-radius: 0;\n padding: 0;\n font-weight: inherit;\n color: inherit;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n}.mylib-upload-drawer .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\n content: none;\n}.mylib-upload-drawer .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\n content: none;\n}.mylib-upload-drawer .prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n width: 100%;\n table-layout: auto;\n margin-top: 2em;\n margin-bottom: 2em;\n font-size: 0.875em;\n line-height: 1.7142857;\n}.mylib-upload-drawer .prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n border-bottom-width: 1px;\n border-bottom-color: var(--tw-prose-th-borders);\n}.mylib-upload-drawer .prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-headings);\n font-weight: 600;\n vertical-align: bottom;\n padding-inline-end: 0.5714286em;\n padding-bottom: 0.5714286em;\n padding-inline-start: 0.5714286em;\n}.mylib-upload-drawer .prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n border-bottom-width: 1px;\n border-bottom-color: var(--tw-prose-td-borders);\n}.mylib-upload-drawer .prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n border-bottom-width: 0;\n}.mylib-upload-drawer .prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n vertical-align: baseline;\n}.mylib-upload-drawer .prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n border-top-width: 1px;\n border-top-color: var(--tw-prose-th-borders);\n}.mylib-upload-drawer .prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n vertical-align: top;\n}.mylib-upload-drawer .prose :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n text-align: start;\n}.mylib-upload-drawer .prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0;\n margin-bottom: 0;\n}.mylib-upload-drawer .prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-captions);\n font-size: 0.875em;\n line-height: 1.4285714;\n margin-top: 0.8571429em;\n}.mylib-upload-drawer .prose{\n --tw-prose-body: #374151;\n --tw-prose-headings: #111827;\n --tw-prose-lead: #4b5563;\n --tw-prose-links: #111827;\n --tw-prose-bold: #111827;\n --tw-prose-counters: #6b7280;\n --tw-prose-bullets: #d1d5db;\n --tw-prose-hr: #e5e7eb;\n --tw-prose-quotes: #111827;\n --tw-prose-quote-borders: #e5e7eb;\n --tw-prose-captions: #6b7280;\n --tw-prose-kbd: #111827;\n --tw-prose-kbd-shadows: 17 24 39;\n --tw-prose-code: #111827;\n --tw-prose-pre-code: #e5e7eb;\n --tw-prose-pre-bg: #1f2937;\n --tw-prose-th-borders: #d1d5db;\n --tw-prose-td-borders: #e5e7eb;\n --tw-prose-invert-body: #d1d5db;\n --tw-prose-invert-headings: #fff;\n --tw-prose-invert-lead: #9ca3af;\n --tw-prose-invert-links: #fff;\n --tw-prose-invert-bold: #fff;\n --tw-prose-invert-counters: #9ca3af;\n --tw-prose-invert-bullets: #4b5563;\n --tw-prose-invert-hr: #374151;\n --tw-prose-invert-quotes: #f3f4f6;\n --tw-prose-invert-quote-borders: #374151;\n --tw-prose-invert-captions: #9ca3af;\n --tw-prose-invert-kbd: #fff;\n --tw-prose-invert-kbd-shadows: 255 255 255;\n --tw-prose-invert-code: #fff;\n --tw-prose-invert-pre-code: #d1d5db;\n --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);\n --tw-prose-invert-th-borders: #4b5563;\n --tw-prose-invert-td-borders: #374151;\n font-size: 1rem;\n line-height: 1.75;\n}.mylib-upload-drawer .prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0;\n margin-bottom: 0;\n}.mylib-upload-drawer .prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0.5em;\n margin-bottom: 0.5em;\n}.mylib-upload-drawer .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n padding-inline-start: 0.375em;\n}.mylib-upload-drawer .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n padding-inline-start: 0.375em;\n}.mylib-upload-drawer .prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n}.mylib-upload-drawer .prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 1.25em;\n}.mylib-upload-drawer .prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-bottom: 1.25em;\n}.mylib-upload-drawer .prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 1.25em;\n}.mylib-upload-drawer .prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-bottom: 1.25em;\n}.mylib-upload-drawer .prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n}.mylib-upload-drawer .prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n}.mylib-upload-drawer .prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0.5em;\n padding-inline-start: 1.625em;\n}.mylib-upload-drawer .prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0;\n}.mylib-upload-drawer .prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0;\n}.mylib-upload-drawer .prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0;\n}.mylib-upload-drawer .prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0;\n}.mylib-upload-drawer .prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n padding-inline-start: 0;\n}.mylib-upload-drawer .prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n padding-inline-end: 0;\n}.mylib-upload-drawer .prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n padding-top: 0.5714286em;\n padding-inline-end: 0.5714286em;\n padding-bottom: 0.5714286em;\n padding-inline-start: 0.5714286em;\n}.mylib-upload-drawer .prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n padding-inline-start: 0;\n}.mylib-upload-drawer .prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n padding-inline-end: 0;\n}.mylib-upload-drawer .prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 2em;\n margin-bottom: 2em;\n}.mylib-upload-drawer .prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0;\n}.mylib-upload-drawer .prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-bottom: 0;\n}.mylib-upload-drawer .absolute{\n position: absolute;\n}.mylib-upload-drawer .relative{\n position: relative;\n}.mylib-upload-drawer .sticky{\n position: sticky;\n}.mylib-upload-drawer .right-0{\n right: 0px;\n}.mylib-upload-drawer .z-10{\n z-index: 10;\n}.mylib-upload-drawer .m-0{\n margin: 0px;\n}.mylib-upload-drawer .m-1{\n margin: 0.25rem;\n}.mylib-upload-drawer .my-2{\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n}.mylib-upload-drawer .my-2\\.5{\n margin-top: 0.625rem;\n margin-bottom: 0.625rem;\n}.mylib-upload-drawer .my-4{\n margin-top: 1rem;\n margin-bottom: 1rem;\n}.mylib-upload-drawer .mb-0{\n margin-bottom: 0px;\n}.mylib-upload-drawer .mb-2{\n margin-bottom: 0.5rem;\n}.mylib-upload-drawer .mb-4{\n margin-bottom: 1rem;\n}.mylib-upload-drawer .mb-5{\n margin-bottom: 1.25rem;\n}.mylib-upload-drawer .mr-1{\n margin-right: 0.25rem;\n}.mylib-upload-drawer .mt-20{\n margin-top: 5rem;\n}.mylib-upload-drawer .mt-4{\n margin-top: 1rem;\n}.mylib-upload-drawer .block{\n display: block;\n}.mylib-upload-drawer .\\!inline{\n display: inline !important;\n}.mylib-upload-drawer .inline{\n display: inline;\n}.mylib-upload-drawer .flex{\n display: flex;\n}.mylib-upload-drawer .table{\n display: table;\n}.mylib-upload-drawer .flow-root{\n display: flow-root;\n}.mylib-upload-drawer .hidden{\n display: none;\n}.mylib-upload-drawer .h-4{\n height: 1rem;\n}.mylib-upload-drawer .h-5{\n height: 1.25rem;\n}.mylib-upload-drawer .h-6{\n height: 1.5rem;\n}.mylib-upload-drawer .h-8{\n height: 2rem;\n}.mylib-upload-drawer .h-auto{\n height: auto;\n}.mylib-upload-drawer .max-h-72{\n max-height: 18rem;\n}.mylib-upload-drawer .min-h-\\[20rem\\]{\n min-height: 20rem;\n}.mylib-upload-drawer .w-4{\n width: 1rem;\n}.mylib-upload-drawer .w-40{\n width: 10rem;\n}.mylib-upload-drawer .w-5{\n width: 1.25rem;\n}.mylib-upload-drawer .w-6{\n width: 1.5rem;\n}.mylib-upload-drawer .max-w-96{\n max-width: 24rem;\n}.mylib-upload-drawer .max-w-none{\n max-width: none;\n}.mylib-upload-drawer .flex-shrink-0{\n flex-shrink: 0;\n}.mylib-upload-drawer .cursor-pointer{\n cursor: pointer;\n}.mylib-upload-drawer .items-center{\n align-items: center;\n}.mylib-upload-drawer .justify-center{\n justify-content: center;\n}.mylib-upload-drawer .justify-between{\n justify-content: space-between;\n}.mylib-upload-drawer .gap-1{\n gap: 0.25rem;\n}.mylib-upload-drawer .gap-4{\n gap: 1rem;\n}.mylib-upload-drawer .overflow-y-auto{\n overflow-y: auto;\n}.mylib-upload-drawer .truncate{\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}.mylib-upload-drawer .rounded{\n border-radius: 0.25rem;\n}.mylib-upload-drawer .rounded-md{\n border-radius: 0.375rem;\n}.mylib-upload-drawer .border{\n border-width: 1px;\n}.mylib-upload-drawer .border-solid{\n border-style: solid;\n}.mylib-upload-drawer .border-dashed{\n border-style: dashed;\n}.mylib-upload-drawer .border-\\[\\#1775FE\\]{\n --tw-border-opacity: 1;\n border-color: rgb(23 117 254 / var(--tw-border-opacity));\n}.mylib-upload-drawer .border-gray-200{\n --tw-border-opacity: 1;\n border-color: rgb(229 231 235 / var(--tw-border-opacity));\n}.mylib-upload-drawer .border-gray-3{\n --tw-border-opacity: 1;\n border-color: rgb(217 224 237 / var(--tw-border-opacity));\n}.mylib-upload-drawer .border-gray-300{\n --tw-border-opacity: 1;\n border-color: rgb(209 213 219 / var(--tw-border-opacity));\n}.mylib-upload-drawer .border-green-600{\n --tw-border-opacity: 1;\n border-color: rgb(22 163 74 / var(--tw-border-opacity));\n}.mylib-upload-drawer .bg-\\[\\#F5F7FA\\]{\n --tw-bg-opacity: 1;\n background-color: rgb(245 247 250 / var(--tw-bg-opacity));\n}.mylib-upload-drawer .bg-blue-5{\n --tw-bg-opacity: 1;\n background-color: rgb(23 117 254 / var(--tw-bg-opacity));\n}.mylib-upload-drawer .bg-gray-50{\n --tw-bg-opacity: 1;\n background-color: rgb(249 250 251 / var(--tw-bg-opacity));\n}.mylib-upload-drawer .bg-white{\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity));\n}.mylib-upload-drawer .p-1{\n padding: 0.25rem;\n}.mylib-upload-drawer .p-2{\n padding: 0.5rem;\n}.mylib-upload-drawer .p-4{\n padding: 1rem;\n}.mylib-upload-drawer .px-3{\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}.mylib-upload-drawer .px-4{\n padding-left: 1rem;\n padding-right: 1rem;\n}.mylib-upload-drawer .pr-2{\n padding-right: 0.5rem;\n}.mylib-upload-drawer .text-center{\n text-align: center;\n}.mylib-upload-drawer .text-2xl{\n font-size: 1.5rem;\n line-height: 2rem;\n}.mylib-upload-drawer .text-5xl{\n font-size: 3rem;\n line-height: 1;\n}.mylib-upload-drawer .text-base{\n font-size: 1rem;\n line-height: 1.5rem;\n}.mylib-upload-drawer .text-sm{\n font-size: 0.875rem;\n line-height: 1.25rem;\n}.mylib-upload-drawer .text-xl{\n font-size: 1.25rem;\n line-height: 1.75rem;\n}.mylib-upload-drawer .italic{\n font-style: italic;\n}.mylib-upload-drawer .text-gray-5{\n --tw-text-opacity: 1;\n color: rgb(135 144 158 / var(--tw-text-opacity));\n}.mylib-upload-drawer .text-gray-7{\n --tw-text-opacity: 1;\n color: rgb(84 91 100 / var(--tw-text-opacity));\n}.mylib-upload-drawer .text-green-600{\n --tw-text-opacity: 1;\n color: rgb(22 163 74 / var(--tw-text-opacity));\n}.mylib-upload-drawer .text-green-green{\n --tw-text-opacity: 1;\n color: rgb(83 195 27 / var(--tw-text-opacity));\n}.mylib-upload-drawer .text-red-600{\n --tw-text-opacity: 1;\n color: rgb(220 38 38 / var(--tw-text-opacity));\n}.mylib-upload-drawer .text-red-red{\n --tw-text-opacity: 1;\n color: rgb(254 77 79 / var(--tw-text-opacity));\n}.mylib-upload-drawer .text-white{\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}.mylib-upload-drawer .text-yellow-500{\n --tw-text-opacity: 1;\n color: rgb(234 179 8 / var(--tw-text-opacity));\n}.mylib-upload-drawer .underline{\n text-decoration-line: underline;\n}.mylib-upload-drawer .opacity-0{\n opacity: 0;\n}.mylib-upload-drawer .shadow-sm{\n --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}.mylib-upload-drawer .filter{\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}.mylib-upload-drawer .transition-opacity{\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}.mylib-upload-drawer .transition-transform{\n transition-property: transform;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}.last\\:mb-0:last-child{\n margin-bottom: 0px;\n}.hover\\:border-green-600:hover{\n --tw-border-opacity: 1;\n border-color: rgb(22 163 74 / var(--tw-border-opacity));\n}.hover\\:bg-assist-bg-blue:hover{\n --tw-bg-opacity: 1;\n background-color: rgb(244 246 250 / var(--tw-bg-opacity));\n}.group:hover .group-hover\\:-translate-x-10{\n --tw-translate-x: -2.5rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}.group:hover .group-hover\\:-translate-x-6{\n --tw-translate-x: -1.5rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}.group:hover .group-hover\\:opacity-100{\n opacity: 1;\n}',""]);const s=i},526:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,r,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(o)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(i[l]=!0)}for(var d=0;d<e.length;d++){var c=[].concat(e[d]);o&&i[c[0]]||(void 0!==a&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=a),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),r&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=r):c[4]="".concat(r)),t.push(c))}},t}},405:e=>{e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},245:e=>{e.exports=function(e){return e[1]}},438:e=>{var t=[];function n(e){for(var n=-1,o=0;o<t.length;o++)if(t[o].identifier===e){n=o;break}return n}function o(e,o){for(var a={},i=[],s=0;s<e.length;s++){var l=e[s],d=o.base?l[0]+o.base:l[0],c=a[d]||0,p="".concat(d," ").concat(c);a[d]=c+1;var u=n(p),h={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==u)t[u].references++,t[u].updater(h);else{var m=r(h,o);o.byIndex=s,t.splice(s,0,{identifier:p,updater:m,references:1})}i.push(p)}return i}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var a=o(e=e||[],r=r||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var s=n(a[i]);t[s].references--}for(var l=o(e,r),d=0;d<a.length;d++){var c=n(a[d]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}a=l}}},413:e=>{var t={};e.exports=function(e,n){var o=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}},50:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},598:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},119:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var o="";n.supports&&(o+="@supports (".concat(n.supports,") {")),n.media&&(o+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(o+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),o+=n.css,r&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},615:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},840:e=>{e.exports="data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 version=%271.1%27 aria-hidden=%27true%27><path fill-rule=%27evenodd%27 d=%27M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z%27></path></svg>"}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={id:o,exports:{}};return e[o](a,a.exports,n),a.exports}n.m=e,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.b=document.baseURI||self.location.href,n.nc=void 0;var o={};n.r(o),n.d(o,{AuthTag:()=>Ro,BenchCard:()=>qo,ConfirmAgain:()=>Oo,Copy:()=>Bo,FilePreview:()=>ko,FileUploadDrawer:()=>Be,FileUploadModal:()=>yn,FileUploader:()=>xn,FloatingLayer:()=>Lo,Header:()=>x,InputTag:()=>j,StatusTag:()=>Vo,TipTapReader:()=>Wa,Tiptap:()=>Ba,UploadDrawerUploadStoreProvider:()=>$,UploadStoreProvider:()=>pt,copy:()=>Wo});const r=require("react/jsx-runtime"),a=require("antd");var i=n(438),s=n.n(i),l=n(119),d=n.n(l),c=n(413),p=n.n(c),u=n(598),h=n.n(u),m=n(50),b=n.n(m),f=n(615),w=n.n(f),g=n(280),y={};function x(e){const{showLogin:t}=e;return(0,r.jsxs)("div",{className:g.LV,children:[(0,r.jsx)("img",{src:"https://www.unpkg.com/@zjlab-fe/fe-assets/logo-white.png",className:g.wm}),t&&(0,r.jsx)(a.Button,{ghost:!0,children:"登录"})]})}y.styleTagTransform=w(),y.setAttributes=h(),y.insert=p().bind(null,"head"),y.domAPI=d(),y.insertStyleElement=b(),s()(g.Ay,y),g.Ay&&g.Ay.locals&&g.Ay.locals;const v=require("react");function j(e){const{value:t,onChange:n,placeholder:o="请输入关键字",valueType:i,deduplicated:s=!0,size:l,maxLength:d,disabled:c}=e,[p,u]=(0,v.useState)([]),[h,m]=(0,v.useState)(1),b=(0,v.useRef)(null);(0,v.useEffect)((()=>{if(Array.isArray(t))u(t);else if("string"==typeof t){const e=t.replaceAll(";",";").split(";").filter((e=>""!==e));u(e)}}),[t]),(0,v.useEffect)((()=>{1!==h&&(null==b?void 0:b.current)&&b.current.focus()}),[h]);const f=e=>{if(s&&(e=Array.from(new Set(e))),u(e),"array"===i)null==n||n(e.length>0?e:void 0);else{const t=e.join(";");null==n||n(t||void 0)}};let w;return(null==p?void 0:p.length)>0&&(w=p.map(((e,t)=>(0,r.jsx)(a.Tag,{closeIcon:!c,onClose:()=>(e=>{const t=p.filter(((t,n)=>n!==e));f(t),m(h+1)})(t),children:e},t)))),(0,r.jsx)(a.Input,{disabled:c,size:l,ref:b,placeholder:o,prefix:w,onPressEnter:e=>{const t=e.target.value.trim();if(""!==t){const e=t.replaceAll(";",";").split(";").filter((e=>""!==e)),n=[...p,...e];f(n),m(h+1)}},maxLength:d},h)}const k=1024,N=1048576,A=1073741824;var z,E;(E=z||(z={}))[E.INIT=1]="INIT",E[E.UPLOADING=2]="UPLOADING",E[E.FINISHED=3]="FINISHED",E[E.FAILED=4]="FAILED",E[E.PAUSED=5]="PAUSED",E[E.CANCELED=6]="CANCELED";const C=1,S=2;var M=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function B(e,t,n){return M(this,void 0,void 0,(function*(){const{name:o,size:r}=e,a=t?`${t}${o}`:o,i=Object.assign(Object.assign({},{fileStatus:z.INIT,percentage:0,uploadId:"",expiryTime:"",uploadUrls:[],completeSeq:[],failSeq:[],cancelControllers:{},uploadStatus:[],chunkSize:0,displaySize:"",fileName:"",partCount:0,raw:void 0}),{fileName:a,raw:new File([e],a,{type:e.type}),partCount:K(r),chunkSize:W(r),displaySize:I(r)}),s=yield n(a,i.partCount);return s.status?Object.assign(Object.assign({},i),s.uploadInfo):Object.assign(Object.assign({},i),{fileStatus:z.FAILED})}))}function W(e){return e<10*N?10*N:Math.ceil(e/10)}function K(e){const t=W(e);return Math.floor(e/t)+1}function Z(e,t,n,o){T(e);try{e.createObjectStore(t,{}),e.onversionchange=t=>{null===t.newVersion&&e.close()},n([])}catch(e){o(Error(`升级数据库异常: ${e.message}`))}}function O(e,t,n){const o=L.version+1;L.close();const r=window.indexedDB.open(F,o);r.onupgradeneeded=()=>Z(r.result,e,t,n)}function J(e,t,n){(function(e){return new Promise((function(t,n){let o;try{o=L.transaction(e,"readonly");try{const n=o.objectStore(e),r=[],a=n.openCursor();a.onsuccess=()=>{const e=a.result;e?(r.push(e.value),e.continue()):t(r)},a.onerror=()=>{console.warn(`在handleFileRetrieve()中游标操作失败 - 错误代码: ${a.error}`,a.error)}}catch(e){n(Error(`在handleFileRetrieve()中执行事务或打开游标时发生异常 - ${e.message}`))}}catch(e){n(Error(`在handleFileRetrieve()中创建数据库事务时发生异常 - ${e.message}`))}}))})(e).then(t).catch(n)}var P=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};const F="uploadStore";let L;function T(e){L=e}function I(e){const t=[{value:A,label:"GB"},{value:N,label:"MB"},{value:k,label:"KB"},{value:1,label:"B"}];for(const{value:n,label:o}of t)if(e>=n||1===n)return(e/n).toFixed(1)+o;return e+"B"}var D=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function U(e,t,n){return D(this,arguments,void 0,(function*(e,t,n,o=""){return e.isDirectory?t?function(e,t){return D(this,void 0,void 0,(function*(){const n=yield function(e){return new Promise(((t,n)=>{e.createReader().readEntries(t,n)}))}(e),o=n.map((e=>U(e,!0,t,e.fullPath)));return(yield Promise.allSettled(o)).filter((e=>"fulfilled"===e.status)).flatMap((e=>e.value))}))}(e,n):[]:e.isFile?e.name.includes(".DS_Store")?[]:function(e,t,n){return D(this,void 0,void 0,(function*(){const o=yield function(e){return new Promise(((t,n)=>{e.file(t,n)}))}(e);return function(e,t){if(0===t.size)return!0;const n=e.name.split(".").pop()||"";return t.has(`.${n}`)}(o,t)?[q(o,n)]:[]}))}(e,n,o):[]}))}function q(e,t){const n=e.slice(0,e.size,e.type);return new File([n],t.slice(1)||e.name,{type:e.type})}function H(e){return e.map((({completeSeq:e,uploadId:t,uploadStatus:n,uploadUrls:o,percentage:r,fileName:a,failSeq:i})=>({fileName:a,uploadId:t,completeSeq:e,uploadStatus:n,percentage:r,uploadUrls:[...o,...i]})))}const R={},_=(0,v.createContext)(R),V=(0,v.createContext)((()=>null));function $({children:e}){const[t,n]=(0,v.useReducer)(G,{});return function(e){(0,v.useEffect)((()=>{return window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)};function t(){const t=[];for(const[n,o]of Object.entries(e)){const e=o.filter((e=>e.fileStatus!==z.FINISHED));e.length?localStorage.setItem(n,JSON.stringify(H(e))):t.push(n)}t.length&&function(e){P(this,void 0,void 0,(function*(){const t=L.version+1;return L.close(),new Promise(((n,o)=>{const r=window.indexedDB.open(F,t);r.onupgradeneeded=()=>{const t=r.result;e.forEach((e=>{t.objectStoreNames.contains(e)&&t.deleteObjectStore(e)}))},r.onsuccess=()=>{r.result.close(),n()},r.onerror=()=>o(r.error)}))}))}(t)}}),[e])}(t),(0,r.jsx)(_.Provider,{value:t,children:(0,r.jsx)(V.Provider,{value:n,children:e})})}function G(e,t){switch(t.type){case"add":return Object.assign(Object.assign({},e),{[t.identifier]:[]});case"remove_file":{const n=e[t.identifier],o=n.findIndex((e=>e.fileName===t.file.fileName));return Object.assign(Object.assign({},e),{[t.identifier]:[...n.slice(0,o),...n.slice(o+1)]})}case"edit_file":{const n=e[t.identifier],o=n.findIndex((e=>e.fileName===t.file.fileName));return Object.assign(Object.assign({},e),{[t.identifier]:[...n.slice(0,o),t.file,...n.slice(o+1)]})}case"add_file":{const n=e[t.identifier],o=n.findIndex((e=>e.fileName===t.file.fileName));return-1===o?Object.assign(Object.assign({},e),{[t.identifier]:[...n,t.file]}):Object.assign(Object.assign({},e),{[t.identifier]:[...n.slice(0,o),t.file,...n.slice(o+1)]})}case"add_files":{const n=e[t.identifier];return Object.assign(Object.assign({},e),{[t.identifier]:[...n,...t.files]})}case"clear_finished":{const n=e[t.identifier];return Object.assign(Object.assign({},e),{[t.identifier]:n.filter((e=>e.fileStatus!==z.FINISHED))})}default:throw Error("Unknown action")}}const X=require("@ant-design/icons");var Q=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};const Y="border-dashed rounded border bg-gray-50 p-4 hover:border-green-600 border-gray-300";function ee({accept:e="",directory:t=!0,dragAreaDescription:n,onFileReceived:o}){const i=(0,v.useMemo)((()=>new Set(e?e.split(","):[])),[e]),s=(0,v.useRef)(null),[l,d]=(0,v.useState)(!1),c={onDragLeave:()=>d(!1),onDragEnter:e=>e.preventDefault(),onDragOver:e=>{e.preventDefault(),d(!0)},onDrop:function(e){return Q(this,void 0,void 0,(function*(){e.preventDefault(),d(!1);const n=Array.from(e.dataTransfer.items).map((e=>e.webkitGetAsEntry())).filter(Boolean).map((e=>U(e,t,i))),r=(yield Promise.allSettled(n)).filter((e=>"fulfilled"===e.status)).flatMap((e=>e.value));r.length&&o(r)}))}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(a.Flex,Object.assign({vertical:!0,gap:"1rem",align:"center",className:`${l?"border-green-600":""} ${Y}`},c,{onClick:()=>{var e;return null===(e=s.current)||void 0===e?void 0:e.click()},children:[(0,r.jsx)("p",{className:"text-5xl text-green-600 m-0",children:(0,r.jsx)(X.InboxOutlined,{})}),(0,r.jsx)("div",{className:"text-base text-center",children:n?Array.isArray(n)?n.map(((e,t)=>(0,r.jsx)("p",{className:"text-base m-0",children:e},t))):(0,r.jsx)("p",{className:"text-base m-0",children:n}):(0,r.jsx)("p",{className:"text-base m-0",children:"点击或拖拽上传文件"})})]})),(0,r.jsx)("input",{ref:s,type:"file",accept:e,hidden:!0,multiple:!0,onChange:function(){var e;const t=null===(e=s.current)||void 0===e?void 0:e.files;(null==t?void 0:t.length)&&o(Array.from(t))},onClick:()=>{s.current&&(s.current.value="")}})]})}const te={size:32,strokeWidth:12,type:"circle",strokeLinecap:"butt"};function ne({percent:e,status:t,onClick:n}){const{progressButtonRef:o,buttonInHover:i}=function(){const e=(0,v.useRef)(null),[t,n]=(0,v.useState)(!1);return(0,v.useEffect)((()=>{const t=e.current;if(!t)return;const o=()=>n(!0),r=()=>n(!1);return t.addEventListener("mouseenter",o),t.addEventListener("mouseleave",r),()=>{t.removeEventListener("mouseenter",o),t.removeEventListener("mouseleave",r)}}),[]),{progressButtonRef:e,buttonInHover:t}}(),[s,l]=(0,v.useState)(!1);return t===z.FINISHED?(0,r.jsx)(X.CheckOutlined,{className:"text-green-600 text-2xl h-8"}):t===z.FAILED?(0,r.jsx)(r.Fragment,{children:s?(0,r.jsx)(X.LoadingOutlined,{className:"text-red-600 text-2xl h-8"}):(0,r.jsx)(X.CloseOutlined,{className:"text-red-600 text-2xl h-8",onClick:()=>{n(),l(!0)}})}):(0,r.jsx)(a.Button,{type:"text",shape:"circle",disabled:s,ref:o,title:t===z.PAUSED?"继续下载":"取消下载",onClick:()=>{n(),t===z.UPLOADING&&l(!0)},children:(0,r.jsx)(a.Progress,Object.assign({percent:e},te,{strokeColor:s?"#f0a020":"#19a1fe",format:function(){return t===z.PAUSED?(0,r.jsx)(X.PauseOutlined,{}):s?(0,r.jsx)(X.LoadingOutlined,{className:"text-yellow-500"}):i?(0,r.jsx)(X.CloseOutlined,{}):void 0}}))})}var oe=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function re(){const{identifier:e,root:t,getUploadUrls:n}=(0,v.useContext)(Me),o=(0,v.useContext)(V);return(0,v.useCallback)((r=>oe(this,void 0,void 0,(function*(){const a=function(e){if(!e.expiryTime)return C;const t=new Date;return new Date(e.expiryTime)<t?C:S}(r)===C;if(a){const a=yield B(r.raw,t,n);o({type:"edit_file",identifier:e,file:a})}else{const t=Object.assign(Object.assign({},r),{fileStatus:z.INIT,uploadUrls:[...r.failSeq,...r.uploadUrls],failSeq:[],cancelControllers:{}});o({type:"edit_file",identifier:e,file:t})}}))),[e,t,n,o])}var ae=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function ie(){const{message:e}=a.App.useApp(),{identifier:t,onCancelUpload:n}=(0,v.useContext)(Me),o=(0,v.useContext)(V);return function(t){return ae(this,void 0,void 0,(function*(){const{fileName:o,uploadId:a}=t;if(!a)return void r(t);const i=yield n(o,a);i.status?r(t):e.error(i.reason||"取消失败")}))};function r(e){e.fileStatus=z.CANCELED,function(e,t){let n;try{n=L.transaction(e,"readwrite")}catch(e){return void console.warn("db.transaction() exception in deleteFileInStore() - "+e.message)}try{const o=n.objectStore(e).delete(t);o.onsuccess=()=>!0,o.onerror=e=>{console.warn("deleteReq.onerror fired in deleteFileInStore() - error code: "+o.error)}}catch(e){return void console.warn("Transaction and/or put() exception in deleteFileInStore() - "+e.message)}}(String(t),e.fileName),Object.values(e.cancelControllers).forEach((e=>e.abort())),o({type:"remove_file",identifier:t,file:e})}}var se=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function le({identifier:e,showFinished:t}){const n=(0,v.useContext)(_),o=ie(),a=re(),[i,s]=(0,v.useState)([]);return(0,v.useEffect)((()=>{const o=n[e].filter((e=>e.fileStatus!==z.CANCELED&&(!1!==t||e.fileStatus!==z.FINISHED)));s(o)}),[e,t,n]),(0,r.jsx)("div",{className:"my-4",children:i.map((n=>(0,r.jsx)(de,{identifier:e,file:n,showFinished:t,onButtonClick:l},n.fileName)))});function l(e){e.fileStatus===z.PAUSED?a(e):o(e)}}function de({identifier:e,file:t,showFinished:n,onButtonClick:o}){const i=(0,v.useContext)(V),s="object"==typeof n&&n.withDelete;return(0,r.jsx)("div",{className:"mb-2 last:mb-0",children:(0,r.jsxs)("div",{className:"px-4 my-2 relative flex justify-between items-center",children:[(0,r.jsxs)(a.Flex,{align:"center",gap:".5rem",title:t.fileName,children:[(0,r.jsx)(X.FileTextOutlined,{}),(0,r.jsx)("span",{className:"truncate w-40",children:t.fileName})]}),(0,r.jsxs)(a.Flex,{align:"center",gap:".5rem",children:[(0,r.jsx)(ne,{status:t.fileStatus,percent:Number(t.percentage.toFixed(0)),onClick:()=>o(t)}),t.fileStatus===z.FINISHED&&s&&(0,r.jsx)(a.Button,{type:"text",size:"large",className:"px-3",disabled:s.disabled,title:s.disabled?"删除-已禁用":"删除",onClick:()=>function(t,n){return se(this,void 0,void 0,(function*(){(yield n(t.fileName))&&i({type:"remove_file",identifier:e,file:t})}))}(t,s.onDelete),children:(0,r.jsx)(X.DeleteOutlined,{})})]})]})})}var ce=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function pe(e,t,n){const o=new Set(t.map((e=>e.fileName)));return e.filter((e=>{const t=n?`${n}${e.name}`:e.name;return o.has(t)})).map((e=>e.name))}function ue(e,t){return e.filter((e=>{var n;const o=e.name.includes("/"),r=e.name.split("/")[0];return o===(null===(n=t.find((e=>e.fileName===r)))||void 0===n?void 0:n.isFolder)})).map((e=>e.name))}var he=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function me(){const{message:e}=a.App.useApp(),{identifier:t,root:n,getUploadUrls:o}=(0,v.useContext)(Me),r=(0,v.useContext)(V),i=function(){const{message:e,modal:t}=a.App.useApp(),n=(0,v.useContext)(_),{identifier:o,maxSizePerFile:r=10*A,uploadHistory:i=[],root:s}=(0,v.useContext)(Me);return function(a){return ce(this,void 0,void 0,(function*(){const l=function(t){const n=t.filter((e=>e.size>r)).map((e=>e.name));if(n.length){const t=I(r);e.warning(`以下文件大小超过${t}:${n.join(", ")}`)}return n}(a),[d,c]=yield function(e){return ce(this,void 0,void 0,(function*(){const r=[...pe(e,n[o],s),...ue(e,i)];return r.length?[yield t.confirm({title:"发现同名文件,是否覆盖?",okText:"覆盖",cancelText:"取消"}),r]:[!0,[]]}))}(a);return d?[new Set(l),new Set(c)]:[new Set([...l,...c]),new Set]}))}}(),s=function(){const e=(0,v.useContext)(_),{identifier:t}=(0,v.useContext)(Me),n=ie();return function(o){const r=e[t];for(const e of o){const t=r.find((t=>t.fileName===e));t&&n(t)}}}();return function(a){return he(this,void 0,void 0,(function*(){const l=yield function(e){return he(this,void 0,void 0,(function*(){const t=new Map(e.map((e=>[e.name,e]))),[n,o]=yield i(e);return n.forEach((e=>t.delete(e))),s(o),Array.from(t.values())}))}(a),d=yield function(e){return he(this,void 0,void 0,(function*(){const t=e.map((e=>B(e,n,o)));return(yield Promise.allSettled(t)).filter((e=>"fulfilled"===e.status)).map((e=>e.value))}))}(l);d.forEach((e=>{r({type:"add_file",identifier:t,file:e})})),function(e,t){try{const n=function(e){const t=L.transaction(e,"readwrite");return t.onerror=()=>console.warn(`添加文件事务错误: ${t.error}`),t.onabort=()=>console.warn("添加文件事务已中止"),t.oncomplete=()=>console.warn("添加文件事务已完成"),t}(e);!function(e,t){t.map((t=>function(e,t){try{e.put(t,t.fileName),console.warn(`文件 "${t.fileName}" 添加成功`)}catch(e){console.warn(`添加文件 "${t.fileName}" 时出错: ${e.message}`)}}(e,t)))}(n.objectStore(e),t)}catch(e){console.warn(`批量添加文件时出错: ${e.message}`)}}(t,d),d.length<l.length&&e.info("部分文件获取上传地址失败")}))}}const be=require("axios");var fe=n.n(be),we=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function ge(e,t=1e3){let n=null;return function(o){n||(n=setTimeout((()=>{e(o),n=null}),t))}}function ye(e,t,n){const o=e.uploadUrls.findIndex((e=>e===t));e.uploadUrls.splice(o,1),e["complete"===n?"completeSeq":"failSeq"].push(t)}var xe=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))},ve=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function je(){const e=function(){const{identifier:e,onOnePartDone:t}=(0,v.useContext)(Me),n=(0,v.useContext)(V),o=(0,v.useCallback)(((t,o,r)=>{o.fileStatus===z.UPLOADING&&(o.uploadStatus[r]=Number(t.progress),o.percentage=o.uploadStatus.reduce(((e,t)=>e+t))*(100/o.partCount),n({type:"edit_file",identifier:e,file:o}))}),[e,n]),r=(0,v.useCallback)(((e,t,n)=>we(this,void 0,void 0,(function*(){const r=fe().create({});yield r.put(e.uploadUrl,t,{signal:n.cancelControllers[e.partNum].signal,withCredentials:!1,timeout:18e5,headers:{"Content-Type":"application/octet-stream"},onUploadProgress:ge((t=>o(t,n,e.partNum)))})}))),[o]),a=(0,v.useCallback)(((e,n)=>we(this,void 0,void 0,(function*(){const{fileName:o,uploadId:r}=e,a=yield t(o,r,n.partNum);if(!a.status)throw new Error(a.reason);ye(e,n,"complete")}))),[t]),i=(0,v.useCallback)(((e,t,n)=>we(this,void 0,void 0,(function*(){try{return yield r(e,t,n),yield a(n,e),n.fileStatus}catch(t){return ye(n,e,"fail"),n.fileStatus}}))),[r,a]);return(0,v.useCallback)((t=>we(this,void 0,void 0,(function*(){t.fileStatus=z.UPLOADING,n({type:"edit_file",identifier:e,file:t});const o=function(e){const{uploadUrls:t,chunkSize:n,raw:o}=e,r=o.size;return t.map((({partNum:e,uploadUrl:t})=>{const a=e*n,i=Math.min((e+1)*n,r);return{url:{partNum:e,uploadUrl:t},chunk:o.slice(a,i)}}))}(t);for(const{url:r,chunk:a}of o){if(t.cancelControllers[r.partNum]=new AbortController,(yield i(r,a,t))===z.CANCELED)return!1;n({type:"edit_file",identifier:e,file:t})}}))),[e,n,i])}(),t=function(){const{identifier:e,onAllPartDone:t}=(0,v.useContext)(Me),n=(0,v.useContext)(V);return(0,v.useCallback)((o=>xe(this,void 0,void 0,(function*(){try{const{fileName:e,uploadId:n}=o;if(0!==o.failSeq.length)throw new Error("partial failed");{const r=yield t(e,n);if(!r.status)throw new Error(r.reason);o.fileStatus=z.FINISHED}}catch(e){o.fileStatus=z.FAILED}finally{n({type:"edit_file",identifier:e,file:o})}}))),[e,t,n])}();return(0,v.useCallback)(((n,o)=>ve(this,void 0,void 0,(function*(){yield e(n),n.fileStatus!==z.CANCELED&&(yield t(n),n.fileStatus===z.FINISHED&&o&&o(n))}))),[e,t])}var ke=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function Ne(e){const{message:t,modal:n}=a.App.useApp(),o=(0,v.useContext)(V),r=re();return(0,v.useCallback)((()=>ke(this,void 0,void 0,(function*(){const a=yield function(e){return ke(this,void 0,void 0,(function*(){const t=yield(o=e,new Promise(((e,t)=>{L?function(e,t,n){L.objectStoreNames.contains(e)?J(e,t,n):O(e,t,n)}(o,e,t):function(e,t,n){try{const o=window.indexedDB.open(F);o.onupgradeneeded=()=>Z(o.result,e,t,n),o.onsuccess=()=>function(e,t,n,o){T(e),e.objectStoreNames.contains(t)?J(t,n,o):O(t,n,o)}(o.result,e,t,n),o.onerror=()=>n(Error(`打开数据库失败: ${o.error}`)),o.onblocked=()=>n(Error(`数据库被阻塞: ${o.error}`))}catch(e){console.warn(`打开数据库时发生异常: ${e.message}`,e),n(e)}}(o,e,t)}))),n=JSON.parse(localStorage.getItem(e)||"[]").map((e=>{const n=t.find((t=>t.fileName===e.fileName));return Object.assign(Object.assign(Object.assign({},n),e),{fileStatus:z.PAUSED})}));var o;return localStorage.removeItem(e),n}))}(e);o({type:"add_files",identifier:e,files:a}),a.length&&n.confirm({title:"提示",content:"检测到未完成上传任务,是否继续上传?",onOk(){a.forEach(r)},onCancel(){t.info("点击上传按钮手动继续")}})}))),[e,o,r,n,t])}var Ae=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function ze({open:e,identifier:t,accept:n,dragAreaDescription:o,footer:i,title:s="数据上传",showFinished:l=!1,directory:d=!1,onClose:c}){var p,u;const h=(0,v.useContext)(_),m=(0,v.useContext)(V),{onSuccess:b}=(0,v.useContext)(Me),f=me(),w=je(),g=Ne(t),[y,x]=(0,v.useState)([]),j=(0,v.useRef)("");return(0,v.useEffect)((()=>{j.current!==t&&(h&&m?(j.current=t,h[t]||m({type:"add",identifier:t}),g()):console.warn("FileUploadDrawer 必须在 UploadStoreProvider 内使用"))}),[t,g,h,m]),(0,v.useEffect)((()=>{const e=h[t];if(!e)return;const n=!e.some((e=>e.fileStatus===z.UPLOADING)),o=e.find((e=>e.fileStatus===z.INIT));n&&o&&w(o,b)}),[t,b,w,h]),(0,r.jsxs)(a.Drawer,{className:"mylib-upload-drawer",open:e,title:s,width:480,onClose:c,footer:i,children:[(0,r.jsx)(ee,{directory:d,accept:n,dragAreaDescription:o,onFileReceived:function(e){return Ae(this,void 0,void 0,(function*(){x((t=>[...t,...e])),yield f(e),x((t=>{const n=new Set(t);for(const t of e)n.delete(t);return[...n]}))}))}}),0===y.length&&0===(null===(p=h[t])||void 0===p?void 0:p.length)&&(0,r.jsx)(a.Empty,{className:"mt-20",description:"暂无上传内容"}),y.length>0&&(0,r.jsxs)("div",{className:"flex justify-center gap-4 mt-4",children:[(0,r.jsx)(X.LoadingOutlined,{}),"预检上传文件中(",y.length,")"]}),(null===(u=h[t])||void 0===u?void 0:u.length)>0&&(0,r.jsx)(le,{showFinished:l,identifier:t})]})}var Ee=n(588),Ce={};Ce.styleTagTransform=w(),Ce.setAttributes=h(),Ce.insert=p().bind(null,"head"),Ce.domAPI=d(),Ce.insertStyleElement=b(),s()(Ee.A,Ce),Ee.A&&Ee.A.locals&&Ee.A.locals;var Se=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};const Me=(0,v.createContext)({identifier:"",getUploadUrls:()=>Se(void 0,void 0,void 0,(function*(){return{status:!1}})),onCancelUpload:()=>Se(void 0,void 0,void 0,(function*(){return{status:!1}})),onOnePartDone:()=>Se(void 0,void 0,void 0,(function*(){return{status:!1}})),onAllPartDone:()=>Se(void 0,void 0,void 0,(function*(){return{status:!1}}))});function Be(e){if((0,v.useContext)(_)===R)return(0,r.jsx)(a.Drawer,{open:e.open,onClose:e.onClose,title:"数据上传",children:(0,r.jsx)(a.Alert,{message:"FileUploadDrawer 必须在 UploadStoreProvider 内使用",type:"warning"})});const{identifier:t,maxSizePerFile:n=10*A,directory:o=!1,root:i="",uploadHistory:s=[],onSuccess:l,getUploadUrls:d,onCancelUpload:c,onOnePartDone:p,onAllPartDone:u,onClose:h,dragAreaDescription:m,accept:b,open:f,footer:w,title:g,showFinished:y}=e,x={identifier:t,maxSizePerFile:n,directory:o,root:i,uploadHistory:s,onSuccess:l,getUploadUrls:d,onCancelUpload:c,onOnePartDone:p,onAllPartDone:u};return(0,r.jsx)(Me.Provider,{value:x,children:(0,r.jsx)(ze,{open:f,accept:b,footer:w,title:g,showFinished:y,directory:o,identifier:t,dragAreaDescription:m,onClose:h})})}var We,Ke=n(884),Ze={};Ze.styleTagTransform=w(),Ze.setAttributes=h(),Ze.insert=p().bind(null,"head"),Ze.domAPI=d(),Ze.insertStyleElement=b(),s()(Ke.A,Ze),Ke.A&&Ke.A.locals&&Ke.A.locals,function(e){e[e.SHOULD_CREATE_NEW_FILE=0]="SHOULD_CREATE_NEW_FILE",e[e.SHOULD_USE_OLD_INFO=1]="SHOULD_USE_OLD_INFO"}(We||(We={}));const Oe=1024,Je=1048576,Pe=1073741824;var Fe;!function(e){e[e.INIT=1]="INIT",e[e.UPLOADING=2]="UPLOADING",e[e.ALL_UPLOADED=3]="ALL_UPLOADED",e[e.MERGING=4]="MERGING",e[e.FINISHED=5]="FINISHED",e[e.FAILED=6]="FAILED",e[e.PAUSED=7]="PAUSED",e[e.CANCELED=8]="CANCELED"}(Fe||(Fe={}));var Le=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function Te(e,t,n){return Le(this,void 0,void 0,(function*(){const{name:o,size:r}=e,a=t?`${t}${o}`:o,i=function(e,t,n){return{fileName:e,uploadId:"",percentage:0,expiryTime:"",failSeq:[],uploadUrls:[],completeSeq:[],uploadStatus:[],cancelControllers:[],fileStatus:Fe.INIT,partCount:De(t),chunkSize:Ie(t),raw:new File([n],e,{type:n.type})}}(a,r,e),s=yield n(a,i.partCount);return s.status?Object.assign(Object.assign({},i),s.uploadInfo):Object.assign(Object.assign({},i),{fileStatus:Fe.FAILED})}))}function Ie(e){return e<10*Je?10*Je:Math.ceil(e/10)}function De(e){const t=Ie(e);return Math.floor(e/t)+1}function Ue(e,t){try{const n=Re.transaction(e,"readwrite").objectStore(e).delete(t);n.onsuccess=()=>console.info("在 deleteFileInStore 中 deleteReq.onsuccess 触发"),n.onerror=()=>console.warn("在 deleteFileInStore 中 deleteReq.onerror 触发 - 错误代码: "+n.error)}catch(e){return void console.warn("在 deleteFileInStore 中, db.transaction/transaction.objectStore/objectStore.delete 异常 - "+e.message)}}var qe=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};const He="uploadStore";let Re;function _e(e){Re=e}var Ve=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function $e(e,t,n){return Ve(this,arguments,void 0,(function*(e,t,n,o=""){return e.isDirectory?t?function(e,t){return Ve(this,void 0,void 0,(function*(){const n=yield function(e){return new Promise(((t,n)=>{e.createReader().readEntries(t,n)}))}(e),o=n.map((e=>$e(e,!0,t,e.fullPath)));return(yield Promise.allSettled(o)).filter((e=>"fulfilled"===e.status)).flatMap((e=>e.value))}))}(e,n):[]:e.isFile?e.name.includes(".DS_Store")?[]:function(e,t,n){return Ve(this,void 0,void 0,(function*(){const o=yield function(e){return new Promise(((t,n)=>{e.file(t,n)}))}(e);return function(e,t){if(0===t.size)return!0;const n=e.name.split(".").pop()||"";return t.has(`.${n}`)}(o,t)?[Ge(o,n)]:[]}))}(e,n,o):[]}))}function Ge(e,t){const n=e.slice(0,e.size,e.type);return new File([n],t.slice(1)||e.name,{type:e.type})}var Xe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function Qe(e){const t=e.map((e=>{var{raw:t}=e,n=Xe(e,["raw"]);const{uploadUrls:o,failSeq:r}=n;return Object.assign(Object.assign({},n),{failSeq:[],cancelControllers:{},uploadUrls:[...o,...r]})}));return JSON.stringify(t)}const Ye={"FileUploader 必须在 UploadStoreProvider 内使用":"FileUploader must be used within UploadStoreProvider","FileUploadModal 必须在 UploadStoreProvider 内使用":"FileUploadModal must be used within UploadStoreProvider",文件上传:"File Upload",确定:"Confirm",等待上传:"Waiting for upload",已取消:"Cancelled",上传中:"Uploading",上传失败:"Upload failed",已上传:"Uploaded",分块合并中:"Merging parts",以下文件大小超过:"The following files exceed the size",已删除:"Deleted",点击或拖拽上传文件:"Click or drag to upload files","发现同名文件,是否覆盖?":"Duplicate file found, overwrite?",覆盖:"Overwrite",取消:"Cancel",正在上传:"Uploading",取消失败:"Cancel failed",当前上传:"Current Upload",已暂停:"Paused",上传成功:"Upload successful",校验中:"Calibrating",合并中:"Merging"},et={"FileUploader 必须在 UploadStoreProvider 内使用":"FileUploader 必须在 UploadStoreProvider 内使用","FileUploadModal 必须在 UploadStoreProvider 内使用":"FileUploadModal 必须在 UploadStoreProvider 内使用",文件上传:"文件上传",确定:"确定",等待上传:"等待上传",已取消:"已取消",上传中:"上传中",上传失败:"上传失败",已上传:"已上传",分块合并中:"分块合并中",以下文件大小超过:"以下文件大小超过",已删除:"已删除",点击或拖拽上传文件:"点击或拖拽上传文件","发现同名文件,是否覆盖?":"发现同名文件,是否覆盖?",覆盖:"覆盖",取消:"取消",正在上传:"正在上传",取消失败:"取消失败",当前上传:"当前上传",已暂停:"已暂停",上传成功:"上传成功",校验中:"校验中",合并中:"合并中"};var tt=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function nt(e,t){switch(t.type){case"add":return Object.assign(Object.assign({},e),{[t.identifier]:[]});case"remove_file":{const n=e[t.identifier],o=n.findIndex((e=>e.fileName===t.fileName));return Object.assign(Object.assign({},e),{[t.identifier]:[...n.slice(0,o),...n.slice(o+1)]})}case"edit_file":{const n=e[t.identifier],o=n.findIndex((e=>e.fileName===t.file.fileName));return Object.assign(Object.assign({},e),{[t.identifier]:[...n.slice(0,o),t.file,...n.slice(o+1)]})}case"add_file":{const n=e[t.identifier],o=n.findIndex((e=>e.fileName===t.file.fileName));return-1===o?Object.assign(Object.assign({},e),{[t.identifier]:[...n,t.file]}):Object.assign(Object.assign({},e),{[t.identifier]:[...n.slice(0,o),t.file,...n.slice(o+1)]})}case"add_files":{const n=e[t.identifier];return Object.assign(Object.assign({},e),{[t.identifier]:[...n,...t.files]})}case"clear_finished":{const n=e[t.identifier];return Object.assign(Object.assign({},e),{[t.identifier]:n.filter((e=>e.fileStatus!==Fe.FINISHED))})}case"edit_files":return Object.entries(t.files).reduce(((t,[n,o])=>{const r=e[n];return o.forEach((e=>{const t=r.findIndex((t=>t.fileName===e.fileName));-1!==t?r[t]=e:r.push(e)})),t}),Object.assign({},e));default:throw Error("Unknown action")}}const ot=(0,v.createContext)(et),rt=(0,v.createContext)({}),at=(0,v.createContext)((()=>null)),it=(0,v.createContext)({}),st=(0,v.createContext)((()=>null)),lt={},dt=(0,v.createContext)(lt),ct=(0,v.createContext)((()=>null));function pt({locale:e="zh",children:t}){const n="zh"===e?et:Ye,[o,a]=(0,v.useReducer)(nt,{}),[i,s]=(0,v.useState)({}),[l,d]=(0,v.useState)({});return function(e){(0,v.useEffect)((()=>{return window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)};function t(){Object.entries(e).forEach((([e,t])=>{const n=t.filter((e=>e.fileStatus!==Fe.FINISHED));n.length?localStorage.setItem(e,Qe(n)):function(e){qe(this,void 0,void 0,(function*(){const t=Re.version+1;return Re.close(),new Promise(((n,o)=>{const r=window.indexedDB.open(He,t);r.onupgradeneeded=()=>{const t=r.result;t.objectStoreNames.contains(e)&&t.deleteObjectStore(e)},r.onsuccess=()=>{r.result.close(),n()},r.onerror=()=>o(r.error)}))}))}(e)}))}}),[e])}(o),function(e,t){(0,v.useEffect)((()=>{const n=Object.keys(e).reduce(((t,n)=>{const o=e[n],r=o.filter((e=>e.fileStatus===Fe.ALL_UPLOADED)),a=r.filter((e=>0===e.failSeq.length)),i=r.filter((e=>e.failSeq.length>0)),s=o.find((e=>e.fileStatus===Fe.UPLOADING)),l=o.find((e=>e.fileStatus===Fe.INIT)),d=s?void 0:l,c=[...i.map((e=>Object.assign(Object.assign({},e),{fileStatus:Fe.FAILED}))),...a.map((e=>Object.assign(Object.assign({},e),{fileStatus:Fe.MERGING}))),d?Object.assign(Object.assign({},d),{fileStatus:Fe.UPLOADING}):void 0].filter((e=>!!e));return c.length?Object.assign(Object.assign({},t),{[n]:c}):t}),{});Object.keys(n).length&&t({type:"edit_files",files:n})}),[t,e])}(o,a),function(e,t,n,o){const r=(0,v.useRef)({}),a=(0,v.useCallback)((function(e,a){return tt(this,void 0,void 0,(function*(){const{onAllPartDone:i}=t[e],s=n[e],l=yield Promise.all(a.map((t=>tt(this,void 0,void 0,(function*(){return(yield i(t.fileName,t.uploadId)).status?(null==s||s(t),r.current[e].delete(t.uploadId),Object.assign(Object.assign({},t),{percentage:100,fileStatus:Fe.FINISHED})):Object.assign(Object.assign({},t),{fileStatus:Fe.FAILED})})))));o({type:"edit_files",files:{[e]:l}})}))}),[t,n,o]);(0,v.useEffect)((()=>{Object.keys(e).forEach((t=>{const n=e[t].filter((e=>e.fileStatus===Fe.MERGING));if(n.length>0){const e=r.current[t]||new Set,o=n.filter((t=>!e.has(t.uploadId)));o.forEach((t=>e.add(t.uploadId))),r.current[t]=e,a(t,o)}}))}),[e,a])}(o,i,l,a),(0,r.jsx)(ot.Provider,{value:n,children:(0,r.jsx)(rt.Provider,{value:i,children:(0,r.jsx)(at.Provider,{value:s,children:(0,r.jsx)(it.Provider,{value:l,children:(0,r.jsx)(st.Provider,{value:d,children:(0,r.jsx)(dt.Provider,{value:o,children:(0,r.jsx)(ct.Provider,{value:a,children:t})})})})})})})}var ut=n(868),ht={};function mt(){const e=(0,v.useContext)(ot);return(0,v.useCallback)((t=>e[t]||(console.warn(`Translation key not found: ${t}`),t)),[e])}function bt(e){return(0,r.jsx)("svg",Object.assign({width:"34",height:"31",viewBox:"0 0 34 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{children:(0,r.jsxs)("g",{id:"ä¸ä¼ æå¾",children:[(0,r.jsx)("path",{id:"Vector",d:"M26 8.66665V29.7043C26.0013 29.867 25.9705 30.0284 25.9094 30.1792C25.8483 30.33 25.7581 30.4672 25.6439 30.5831C25.5297 30.699 25.3938 30.7913 25.244 30.8547C25.0941 30.918 24.9332 30.9512 24.7705 30.9523H1.22943C0.903577 30.9523 0.591055 30.823 0.360528 30.5927C0.130002 30.3624 0.000328142 30.05 0 29.7241V1.22819C0 0.563332 0.553428 0 1.23562 0H17.3333V7.42856C17.3333 7.75692 17.4638 8.07184 17.6959 8.30402C17.9281 8.53621 18.243 8.66665 18.5714 8.66665H26ZM26 6.19047H19.8095V0.00371423L26 6.19047Z",fill:"#B9D6FF"}),(0,r.jsxs)("g",{id:"Group 1000006993",children:[(0,r.jsx)("circle",{id:"Ellipse 87",cx:"26",cy:"23",r:"8",fill:"#1775FE"}),(0,r.jsx)("path",{id:"Vector_2",d:"M26.4545 24.315V27.5714H25.5455V24.315L24.3034 25.2023L23.775 24.4625L26 22.8732L28.225 24.4625L27.6966 25.2023L26.4545 24.315ZM31 24.4545C31 25.7098 29.9825 26.7273 28.7273 26.7273H27.3636V25.8182H28.7273C29.0749 25.8184 29.4094 25.6858 29.6625 25.4476C29.9156 25.2094 30.0682 24.8835 30.0891 24.5365C30.11 24.1896 29.9976 23.8477 29.7749 23.5808C29.5522 23.314 29.236 23.1422 28.8909 23.1007L28.4568 23.0489L28.4918 22.6127C28.4973 22.5455 28.5 22.4775 28.5 22.4091C28.5 21.0284 27.3807 19.9091 26 19.9091C25.4245 19.9091 24.8666 20.1077 24.4205 20.4712C23.9744 20.8347 23.6672 21.3409 23.5509 21.9045L23.4955 22.175L23.2295 22.2507C22.8492 22.3591 22.5146 22.5885 22.2763 22.9042C22.038 23.2198 21.9091 23.6045 21.9091 24C21.9091 24.4822 22.1006 24.9447 22.4416 25.2856C22.7826 25.6266 23.2451 25.8182 23.7273 25.8182H24.6364V26.7273H23.7273C22.2211 26.7273 21 25.5061 21 24C21 22.8655 21.6989 21.8682 22.7239 21.4632C22.9292 20.753 23.3598 20.1288 23.9506 19.6846C24.5415 19.2403 25.2607 19.0001 26 19C27.8414 19 29.3416 20.4598 29.4068 22.2852C29.8687 22.4302 30.2723 22.7187 30.5588 23.1089C30.8453 23.499 30.9999 23.9705 31 24.4545Z",fill:"white"})]})]})}))}function ft({description:e}){const t=mt();return(0,r.jsx)("div",{className:"text-gray-5 text-center",children:e?Array.isArray(e)?e.map(((e,t)=>(0,r.jsx)("p",{className:"m-0",children:e},t))):(0,r.jsx)("div",{className:"m-0",children:e}):(0,r.jsx)("p",{className:"m-0",children:t("点击或拖拽上传文件")})})}function wt({className:e,description:t,onClick:n,handleDrop:o}){const[a,i]=(0,v.useState)(!1),s={onDrop:e=>{e.preventDefault(),i(!1),o(e)},onDragLeave:()=>i(!1),onDragEnter:e=>e.preventDefault(),onDragOver:e=>{e.preventDefault(),i(!0)}};return(0,r.jsxs)("div",Object.assign({},s,{className:`zjlab-fe-data-hub-ui-default-drag-area ${a?"border-[#1775FE]":""} ${e}`,onClick:n,children:[(0,r.jsx)(bt,{}),(0,r.jsx)(ft,{description:t})]}))}ht.styleTagTransform=w(),ht.setAttributes=h(),ht.insert=p().bind(null,"head"),ht.domAPI=d(),ht.insertStyleElement=b(),s()(ut.A,ht),ut.A&&ut.A.locals&&ut.A.locals;var gt=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function yt({accept:e="",className:t="",directory:n=!0,dragAreaDescription:o,maxSizePerFile:i=10*Pe,onFileReceived:s}){const l=mt(),{message:d}=a.App.useApp(),c=(0,v.useRef)(null),p=(0,v.useMemo)((()=>new Set(e?e.split(","):[])),[e]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(wt,{className:t,description:o,handleDrop:function(e){return gt(this,void 0,void 0,(function*(){const t=Array.from(e.dataTransfer.items).map((e=>e.webkitGetAsEntry())).filter(Boolean).map((e=>$e(e,n,p)));u((yield Promise.allSettled(t)).filter((e=>"fulfilled"===e.status)).flatMap((e=>e.value)))}))},onClick:()=>{var e;return null===(e=c.current)||void 0===e?void 0:e.click()}}),(0,r.jsx)("input",{hidden:!0,multiple:!0,type:"file",accept:e,ref:c,onChange:function(){var e;const t=null===(e=c.current)||void 0===e?void 0:e.files;u(Array.from(null!=t?t:[]))},onClick:()=>{c.current&&(c.current.value="")}})]});function u(e){const t=e.filter((e=>e.size<=i));if(t.length<e.length){const e=function(e){const t=[{value:Pe,label:"GB"},{value:Je,label:"MB"},{value:Oe,label:"KB"},{value:1,label:"B"}];for(const{value:n,label:o}of t)if(e>=n||1===n)return(e/n).toFixed(1)+o;return e+"B"}(i);d.warning(l("以下文件大小超过")+e+","+l("已删除"))}t.length&&s(t)}}function xt(e){return(0,r.jsx)("svg",Object.assign({width:"16",height:"17",viewBox:"0 0 16 17",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e,{children:(0,r.jsx)("g",{id:"icon/å
³éæé®",children:(0,r.jsx)("path",{id:"Subtract",fillRule:"evenodd",clipRule:"evenodd",d:"M14.6668 8.49967C14.6668 12.1816 11.6821 15.1663 8.00016 15.1663C4.31826 15.1663 1.3335 12.1816 1.3335 8.49967C1.3335 4.81777 4.31826 1.83301 8.00016 1.83301C11.6821 1.83301 14.6668 4.81777 14.6668 8.49967ZM10.239 6.26052C10.4343 6.45578 10.4343 6.77237 10.239 6.96763L8.70698 8.49969L10.239 10.0318C10.4343 10.227 10.4343 10.5436 10.239 10.7389C10.0438 10.9341 9.7272 10.9341 9.53194 10.7389L7.99987 9.2068L6.46781 10.7389C6.27255 10.9341 5.95597 10.9341 5.7607 10.7389C5.56544 10.5436 5.56544 10.227 5.7607 10.0318L7.29277 8.49969L5.7607 6.96763C5.56544 6.77237 5.56544 6.45578 5.7607 6.26052C5.95597 6.06526 6.27255 6.06526 6.46781 6.26052L7.99987 7.79258L9.53194 6.26052C9.7272 6.06526 10.0438 6.06526 10.239 6.26052Z",fill:"currentColor"})})}))}const vt=require("jotai");var jt=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};const kt=fe().create();function Nt(e,t=500){let n=null;return function(o){n||(n=setTimeout((()=>{e(o),n=null}),t))}}var At=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))},zt=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};const Et=(0,vt.atom)(null),Ct=(0,vt.atom)((e=>{var t;return null===(t=e(Et))||void 0===t?void 0:t.fileName})),St=((0,vt.atom)((e=>{var t;return null===(t=e(Et))||void 0===t?void 0:t.expiryTime})),(0,vt.atom)((e=>{var t;return null===(t=e(Et))||void 0===t?void 0:t.uploadId}))),Mt=((0,vt.atom)((e=>{var t;return null===(t=e(Et))||void 0===t?void 0:t.raw})),(0,vt.atom)((e=>{var t;return null===(t=e(Et))||void 0===t?void 0:t.percentage}))),Bt=(0,vt.atom)((e=>{var t;return null===(t=e(Et))||void 0===t?void 0:t.cancelControllers}));function Wt(){const e=(0,v.useRef)(!1),t=(0,v.useRef)([]),n=(0,v.useContext)(Ot),[o,r]=(0,vt.useAtom)(Et),a=(0,v.useContext)(ct);!function(){const e=(0,v.useContext)(Ot),t=(0,v.useContext)(dt),n=(0,vt.useAtomValue)(Et),o=(0,vt.useSetAtom)(Et);(0,v.useEffect)((()=>{const n=t[e];if(!n||0===n.length)return;const r=n.find((e=>e.fileStatus===Fe.UPLOADING));r&&o(Object.assign(Object.assign({},r),{fileStatus:Fe.INIT}))}),[e,o,t]),(0,v.useEffect)((()=>{return window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)};function t(){n&&n.fileStatus===Fe.UPLOADING&&localStorage.setItem(e+"_uploading",Qe([n]))}}),[n,e])}();const i=function(){const e=(0,v.useContext)(Ot),t=(0,vt.useSetAtom)(Et),n=(0,v.useContext)(ct),o=function(){const e=(0,v.useContext)(Lt),t=(0,vt.useAtomValue)(Bt),n=(0,vt.useSetAtom)(Et),o=(0,v.useCallback)(((e,t)=>{n((n=>{if(!n||n.fileStatus!==Fe.UPLOADING)return n;const o=1!==n.uploadStatus[t]?n.uploadStatus.toSpliced(t,1,Number(e.progress)):n.uploadStatus,r=n.uploadStatus.reduce(((e,t)=>e+(t||0)),0)*(100/n.partCount);return Object.assign(Object.assign({},n),{percentage:r,uploadStatus:o})}))}),[n]);return(0,v.useCallback)(((n,r)=>jt(this,void 0,void 0,(function*(){t&&(yield kt.put(n.uploadUrl,r,Object.assign(Object.assign({},e),{withCredentials:(null==e?void 0:e.withCredentials)||!1,timeout:(null==e?void 0:e.timeout)||18e5,headers:Object.assign({"Content-Type":"application/octet-stream"},null==e?void 0:e.headers),signal:t[n.partNum].signal,onUploadProgress:Nt((e=>o(e,n.partNum)))})))}))),[t,e,o])}(),r=function(e){const t=(0,vt.useAtomValue)(Ct),n=(0,vt.useAtomValue)(St),o=(0,v.useContext)(rt),r=(0,vt.useSetAtom)(Et),a=o[e],{onOnePartDone:i}=a;return(0,v.useCallback)((e=>At(this,void 0,void 0,(function*(){if(!t||!n)return;const o=yield i(t,n,e.partNum);if(!o.status)throw new Error(o.reason);r((t=>{if(!t)return t;const n=[...t.uploadStatus];return n[e.partNum]=1,Object.assign(Object.assign({},t),{uploadStatus:n,uploadUrls:t.uploadUrls.filter((t=>t.partNum!==e.partNum)),completeSeq:[...t.completeSeq,e]})}))}))),[t,n,i,r])}(e),a=(0,v.useCallback)(((e,n)=>zt(this,void 0,void 0,(function*(){try{yield o(e,n),yield r(e)}catch(n){if(n instanceof Error&&"canceled"===n.message)return;t((t=>t?Object.assign(Object.assign({},t),{failSeq:[...t.failSeq,e],uploadUrls:t.uploadUrls.filter((t=>t!==e))}):t))}}))),[o,r,t]);return(0,v.useCallback)((function(o){return zt(this,void 0,void 0,(function*(){for(const{url:e,chunk:t}of o)yield a(e,t);t((t=>t?(n({type:"edit_file",identifier:e,file:Object.assign(Object.assign({},t),{fileStatus:Fe.ALL_UPLOADED})}),null):t))}))}),[e,a,t,n])}();(0,v.useEffect)((()=>{o?(o.fileStatus===Fe.INIT&&(t.current=function(e){const{uploadUrls:t,chunkSize:n,raw:o}=e,r=o.size;return t.map((({partNum:e,uploadUrl:t})=>{const a=e*n,i=Math.min((e+1)*n,r);return{url:{partNum:e,uploadUrl:t},chunk:o.slice(a,i)}}))}(o),r((e=>e?Object.assign(Object.assign({},e),{fileStatus:Fe.UPLOADING,cancelControllers:new Array(t.current.length).fill(new AbortController)}):e))),o.fileStatus!==Fe.UPLOADING||e.current||(e.current=!0,i(t.current)),o.fileStatus===Fe.CANCELED&&(Object.values(o.cancelControllers).forEach((e=>e.abort())),a({type:"remove_file",identifier:n,fileName:o.fileName}),r(null)),o.fileStatus===Fe.FAILED&&(a({type:"edit_file",identifier:n,file:o}),r(null))):e.current=!1}),[o,n,i,r,a])}const Kt=require("jotai-scope"),Zt=(0,v.createContext)(void 0),Ot=(0,v.createContext)(""),Jt=(0,v.createContext)(void 0),Pt=(0,v.createContext)(void 0),Ft=(0,v.createContext)(!1),Lt=(0,v.createContext)(void 0);function Tt({children:e,root:t,identifier:n,showFinished:o,uploadRequestConfig:a,externalUploadContext:i,externalUploadContextOnly:s=!1,onUploadSuccess:l,getUploadUrls:d,onCancelUpload:c,onOnePartDone:p,onAllPartDone:u,onDeleteFile:h}){const m=(0,v.useContext)(rt),b=(0,v.useContext)(at),f=(0,v.useContext)(st);return(0,v.useEffect)((()=>{b((e=>Object.assign(Object.assign({},e),{[n]:{getUploadUrls:d,onCancelUpload:c,onOnePartDone:p,onAllPartDone:u,onDeleteFile:h}})))}),[d,c,p,u,h,b,n]),(0,v.useEffect)((()=>{f((e=>Object.assign(Object.assign({},e),{[n]:l})))}),[n,l,f]),m[n]?(0,r.jsx)(Kt.ScopeProvider,{atoms:[Et],children:(0,r.jsx)(Zt.Provider,{value:t,children:(0,r.jsx)(Ot.Provider,{value:n,children:(0,r.jsx)(Jt.Provider,{value:o,children:(0,r.jsx)(Pt.Provider,{value:i,children:(0,r.jsx)(Ft.Provider,{value:s,children:(0,r.jsx)(Lt.Provider,{value:a,children:e})})})})})})}):(0,r.jsx)(r.Fragment,{})}var It=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function Dt(){const e=mt(),{message:t}=a.App.useApp(),n=(0,v.useContext)(Ot),o=(0,v.useContext)(rt),r=(0,v.useContext)(ct);return function(r){return It(this,void 0,void 0,(function*(){const{onCancelUpload:a}=o[n];if(!r.uploadId)return void i(r.fileName);const s=yield a(r.fileName,r.uploadId);s.status?i(r.fileName):t.error(s.reason||e("取消失败"))}))};function i(e){Ue(String(n),e),r({type:"remove_file",identifier:n,fileName:e})}}function Ut(e){return(0,r.jsx)("svg",Object.assign({width:"18",height:"16",viewBox:"0 0 18 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{children:(0,r.jsxs)("g",{id:"Component 56",children:[(0,r.jsx)("path",{id:"Subtract",d:"M10.1988 5.9923V1.50071L5.00029 1.5C4.44796 1.49992 4.00016 1.94765 4.00015 2.49999L4 13.4998C3.99999 14.0521 4.44771 14.4999 5 14.4999H13.5068C14.0591 14.4999 14.5068 14.0522 14.5068 13.4999L14.507 5.9923H10.1988Z",fill:"currentColor"}),(0,r.jsx)("path",{id:"Subtract_2",d:"M14.507 4.82148H11.3911V1.5L14.507 4.82148Z",fill:"currentColor",fillOpacity:"0.4"})]})}))}const qt={size:12,type:"circle",strokeWidth:16,showInfo:!1,strokeLinecap:"butt"},Ht={[Fe.INIT]:"等待上传",[Fe.MERGING]:"合并中",[Fe.CANCELED]:"已取消",[Fe.ALL_UPLOADED]:"校验中",[Fe.PAUSED]:"已暂停",[Fe.FAILED]:"上传失败",[Fe.UPLOADING]:"上传中",[Fe.FINISHED]:"上传成功"},Rt=(0,v.memo)((function({file:e}){const t=mt(),n=Dt();return(0,r.jsx)("div",{className:"my-2.5",children:(0,r.jsxs)(_t,{children:[(0,r.jsx)(Vt,{fileName:e.fileName}),(0,r.jsxs)(a.Flex,{align:"center",gap:".25rem",className:"relative",children:[(0,r.jsx)($t,{fileStatus:t(Ht[e.fileStatus]),percentage:Number(e.percentage.toFixed(0)),className:"group-hover:-translate-x-6 transition-transform"}),(0,r.jsx)(Gt,{onDelete:()=>n(e),className:"absolute right-0 opacity-0 group-hover:opacity-100 transition-opacity"})]})]})})}));function _t({children:e,className:t}){return(0,r.jsx)("div",{className:`p-2 relative flex justify-between items-center rounded group ${t}`,children:e})}function Vt({fileName:e,className:t}){return(0,r.jsxs)(a.Flex,{align:"center",gap:".25rem",children:[(0,r.jsx)("div",{className:"flex items-center justify-center h-6 w-6 rounded bg-[#F5F7FA]",children:(0,r.jsx)(Ut,{className:`text-gray-5 h-5 w-5 ${t}`})}),(0,r.jsx)("span",{className:`truncate w-40 text-gray-5 ${t}`,children:e})]})}function $t({className:e="",fileStatus:t,percentage:n,strokeColor:o="#1775FE"}){return(0,r.jsxs)("div",{className:`flex items-center gap-1 h-6 text-sm mr-1 text-gray-5 ${e}`,children:[t,(0,r.jsx)(a.Progress,Object.assign({percent:n},qt,{strokeColor:o}))]})}function Gt({onDelete:e,extraActions:t,className:n=""}){return(0,r.jsxs)("div",{className:`flex items-center justify-center h-6 gap-1 text-gray-5 ${n}`,children:[t,(0,r.jsx)(xt,{onClick:e,className:"h-4 w-4 cursor-pointer"})]})}const Xt=(0,v.memo)((function(){const e=mt(),t=(0,v.useContext)(Ot),n=(0,vt.useAtomValue)(Ct),o=(0,vt.useAtomValue)(Mt),i=(0,vt.useAtomValue)(St),s=(0,v.useContext)(rt),{onCancelUpload:l}=s[t],d=(0,vt.useSetAtom)(Et);return(0,r.jsx)("div",{className:"my-2.5",children:(0,r.jsxs)(_t,{className:"border-gray-3 border border-solid hover:bg-assist-bg-blue",children:[(0,r.jsx)(Vt,{fileName:n}),(0,r.jsxs)(a.Flex,{align:"center",gap:".25rem",className:"relative",children:[(0,r.jsx)($t,{fileStatus:e("正在上传"),percentage:Number(o.toFixed(0)),className:"group-hover:-translate-x-6 transition-transform"}),(0,r.jsx)(Gt,{onDelete:function(){return o=this,r=void 0,c=function*(){const o=yield l(n,i);o.status?(Ue(String(t),n),d((e=>e?Object.assign(Object.assign({},e),{fileStatus:Fe.CANCELED}):e))):a.message.error(o.reason||e("取消失败"))},new((s=void 0)||(s=Promise))((function(e,t){function n(e){try{i(c.next(e))}catch(e){t(e)}}function a(e){try{i(c.throw(e))}catch(e){t(e)}}function i(t){var o;t.done?e(t.value):(o=t.value,o instanceof s?o:new s((function(e){e(o)}))).then(n,a)}i((c=c.apply(o,r||[])).next())}));var o,r,s,c},className:"absolute right-0 opacity-0 group-hover:opacity-100 transition-opacity"})]})]})})}));const Qt=(0,v.memo)((function({file:e}){const t=mt(),n=(0,v.useContext)(ct),o=(0,v.useContext)(Ot),i=(0,v.useContext)(rt),{onDeleteFile:s}=i[o],l=Dt();return(0,r.jsx)("div",{className:"my-2.5",children:(0,r.jsxs)(_t,{className:"border-gray-3 border border-solid hover:bg-assist-bg-blue",children:[(0,r.jsx)(Vt,{fileName:e.fileName,className:"text-green-green"}),(0,r.jsxs)(a.Flex,{align:"center",gap:".25rem",className:"relative",children:[(0,r.jsx)($t,{percentage:100,fileStatus:t("上传成功"),strokeColor:"#53C31B",className:"text-green-green group-hover:-translate-x-6 transition-transform"}),(0,r.jsx)(Gt,{onDelete:()=>function(e){return t=this,r=void 0,i=function*(){if(!s)return l(e);(yield s(e.fileName))&&n({type:"remove_file",identifier:o,fileName:e.fileName})},new((a=void 0)||(a=Promise))((function(e,n){function o(e){try{l(i.next(e))}catch(e){n(e)}}function s(e){try{l(i.throw(e))}catch(e){n(e)}}function l(t){var n;t.done?e(t.value):(n=t.value,n instanceof a?n:new a((function(e){e(n)}))).then(o,s)}l((i=i.apply(t,r||[])).next())}));var t,r,a,i}(e),className:"absolute right-0 opacity-0 group-hover:opacity-100 transition-opacity"})]})]})})})),Yt=(0,v.memo)((function({file:e}){const t=Dt();return(0,r.jsx)("div",{className:"my-2.5",children:(0,r.jsxs)(_t,{className:"bg-red/10",children:[(0,r.jsx)((function(){return(0,r.jsxs)(a.Flex,{align:"center",gap:".25rem",children:[(0,r.jsx)("div",{className:"flex items-center justify-center h-6 w-6 rounded bg-red/10",children:(0,r.jsx)(Ut,{className:"text-red-red h-5 w-5"})}),(0,r.jsx)("span",{className:"truncate w-40 text-red-red",children:e.fileName})]})}),{}),(0,r.jsxs)(a.Flex,{align:"center",gap:".25rem",className:"relative",children:[(0,r.jsx)((function({className:e=""}){const t=mt();return(0,r.jsx)("div",{className:`flex items-center gap-1 h-6 text-sm mr-1 text-red-red ${e}`,children:t("上传失败")})}),{className:"group-hover:-translate-x-6 transition-transform"}),(0,r.jsx)(Gt,{onDelete:()=>t(e),className:"text-red-red absolute right-0 opacity-0 group-hover:opacity-100 transition-opacity"})]})]})})}));var en=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function tn(){const e=(0,v.useContext)(Ot),t=(0,v.useContext)(rt),n=(0,v.useContext)(ct);return(0,v.useCallback)((o=>en(this,void 0,void 0,(function*(){const r=t[e];if(function(e){if(!e)return We.SHOULD_CREATE_NEW_FILE;const t=new Date;return new Date(e)<t?We.SHOULD_CREATE_NEW_FILE:We.SHOULD_USE_OLD_INFO}(o.expiryTime)===We.SHOULD_CREATE_NEW_FILE){const t=yield Te(o.raw,void 0,r.getUploadUrls);n({type:"edit_file",identifier:e,file:t})}else{const t=[...o.failSeq,...o.uploadUrls];n({type:"edit_file",identifier:e,file:Object.assign(Object.assign({},o),{uploadUrls:t,failSeq:[],cancelControllers:[],fileStatus:Fe.INIT})})}}))),[e,t,n])}const nn=(0,v.memo)((function({file:e}){const t=mt(),n=Dt();return(0,r.jsx)("div",{className:"my-2.5",children:(0,r.jsxs)(_t,{className:"border-gray-3 border border-solid hover:bg-assist-bg-blue",children:[(0,r.jsx)(Vt,{fileName:e.fileName}),(0,r.jsxs)(a.Flex,{align:"center",gap:".25rem",className:"relative",children:[(0,r.jsx)($t,{fileStatus:t("已暂停"),percentage:Number(e.percentage.toFixed(0)),className:"group-hover:-translate-x-10 transition-transform"}),(0,r.jsx)(Gt,{extraActions:(0,r.jsx)((function(){const t=tn();return(0,r.jsx)(X.PlayCircleFilled,{className:"text-gray-5 h-4 w-4 cursor-pointer",onClick:()=>t(e)})}),{}),onDelete:()=>n(e),className:"absolute right-0 opacity-0 group-hover:opacity-100 transition-opacity"})]})]})})}));function on(){const e=mt(),t=(0,v.useContext)(Ot),n=(0,v.useContext)(dt),o=(0,v.useContext)(Jt),a=(0,vt.useAtomValue)(Ct),i=(0,v.useMemo)((()=>{var e;return null===(e=n[t])||void 0===e?void 0:e.filter((e=>!(!o&&e.fileStatus===Fe.FINISHED)))}),[t,o,n]);return Wt(),i&&0!==i.length?(0,r.jsxs)("div",{className:"mb-5",children:[(0,r.jsx)("div",{className:"text-sm text-gray-7",children:e("当前上传")}),(0,r.jsx)("div",{className:"max-h-72 overflow-y-auto",children:i.map((e=>{if(e.fileName===a)return(0,r.jsx)(Xt,{},e.fileName);switch(e.fileStatus){case Fe.FINISHED:return(0,r.jsx)(Qt,{file:e},e.fileName);case Fe.FAILED:return(0,r.jsx)(Yt,{file:e},e.fileName);case Fe.PAUSED:return(0,r.jsx)(nn,{file:e},e.fileName);default:return(0,r.jsx)(Rt,{file:e},e.fileName)}}))})]}):(0,r.jsx)(r.Fragment,{})}const rn={icon:null,centered:!0,closable:!0,styles:{mask:{backgroundColor:"rgba(0, 0, 0, 0.6)"},body:{marginTop:"24px",textAlign:"center"},content:{padding:"20px 20px 16px 20px",borderRadius:"10px"}},footer:e=>(0,r.jsx)(a.Flex,{justify:"center",align:"center",children:e}),className:"zjlab-fe-data-hub-ui-modal"},an={width:600,centered:!0,closable:!0,styles:{body:{display:"flow-root"},footer:{textAlign:"center"},header:{marginBlockEnd:"16px"},mask:{backgroundColor:"rgba(0, 0, 0, 0.6)"},content:{padding:"20px 20px 16px 20px",borderRadius:"10px"}},className:"zjlab-fe-data-hub-ui-file-uploader zjlab-fe-data-hub-ui-modal"};var sn=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function ln(e,t,n){const o=new Set(t.map((e=>e.fileName)));return e.filter((e=>{const t=n?`${n}${e.name}`:e.name;return o.has(t)})).map((e=>e.name))}function dn(e,t){return e.filter((e=>{var n;const o=e.name.includes("/"),r=e.name.split("/")[0];return o===(null===(n=t.find((e=>e.fileName===r)))||void 0===n?void 0:n.isFolder)})).map((e=>e.name))}var cn=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};var pn=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function un(e){const{message:t,modal:n}=a.App.useApp(),o=(0,v.useContext)(ct),r=tn();return(0,v.useCallback)((()=>pn(this,void 0,void 0,(function*(){const a=yield function(e){return pn(this,void 0,void 0,(function*(){const t=yield(i=e,new Promise(((e,t)=>{function n(n){Re.objectStoreNames.contains(n)?function(e){return new Promise((function(t,n){try{const n=Re.transaction(e,"readonly").objectStore(e),o=[],r=n.openCursor();r.onsuccess=()=>{const e=r.result;e?(o.push(e.value),e.continue()):t(o)},r.onerror=()=>console.warn(`retrieveExistingData 中游标操作失败 - 错误代码: ${r.error}`)}catch(e){n(Error(`retrieveExistingData 中执行事务或打开游标时发生异常 - ${e.message}`))}}))}(n).then(e).catch(t):function(n){const o=Re.version+1;Re.close();const r=window.indexedDB.open(He,o);r.onerror=()=>t(Error(`打开数据库失败: ${r.error}`)),r.onblocked=()=>t(Error(`数据库被阻塞: ${r.error}`)),r.onsuccess=()=>console.info("openRequest.onsuccess 在 triggerDatabaseUpgrade 中被触发"),r.onupgradeneeded=()=>{_e(r.result);try{r.result.createObjectStore(n,{}),r.result.onversionchange=e=>{null===e.newVersion&&r.result.close()},e([])}catch(e){t(Error(`升级数据库异常: ${e.message}`))}}}(n)}Re?n(i):function(e){try{const o=window.indexedDB.open(He);o.onsuccess=()=>{_e(o.result),n(e)},o.onerror=()=>t(Error(`打开数据库失败: ${o.error}`)),o.onblocked=()=>t(Error(`数据库被阻塞: ${o.error}`)),o.onupgradeneeded=()=>console.info("openRequest.onupgradeneeded(SHOULD NOT BE CALLED)")}catch(e){console.warn(`打开数据库时发生异常: ${e.message}`,e),t(e)}}(i)}))),n=JSON.parse(localStorage.getItem(e)||"[]"),o=JSON.parse(localStorage.getItem(e+"_uploading")||"[]"),r=function(){if(o.length){const e=n.findIndex((e=>e.fileName===o[0].fileName));-1!==e&&n.splice(e,1,o[0])}return n}(),a=t.map((e=>{const t=r.find((t=>t.fileName===e.name));return t?Object.assign(Object.assign({},t),{raw:e,fileStatus:Fe.PAUSED}):null})).filter((e=>null!==e));var i;return localStorage.removeItem(e),localStorage.removeItem(e+"_uploading"),a}))}(e);o({type:"add_files",identifier:e,files:a}),a.length&&n.confirm(Object.assign(Object.assign({},rn),{title:"提示",content:"检测到未完成上传任务,是否继续上传?",onOk(){a.forEach((e=>r(e)))},onCancel(){t.info("点击上传按钮手动继续")}}))}))),[e,o,r,n,t])}var hn=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function mn(e){var{extra:t,dragAreaConfig:n}=e,o=hn(e,["extra","dragAreaConfig"]);return(0,r.jsx)(Tt,Object.assign({},o,{children:(0,r.jsx)(bn,{extra:t,dragAreaConfig:n})}))}function bn({extra:e,dragAreaConfig:t}){const n=(0,v.useContext)(Ot),o=(0,v.useContext)(dt),i=(0,v.useContext)(ct),s=(0,v.useContext)(Ft);!function(){const e=(0,v.useContext)(Ot),t=(0,v.useContext)(dt),n=(0,v.useContext)(ct),o=(0,v.useRef)(""),r=un(e);(0,v.useEffect)((()=>{o.current!==e&&(o.current=e,t[e]||n({type:"add",identifier:e}),r())}),[e,r,t,n])}();const{isFormatingFiles:l,formatFiles:d}=function(){const e=mt(),{message:t}=a.App.useApp(),n=(0,v.useContext)(Zt),o=(0,v.useContext)(Ot),r=(0,v.useContext)(rt),i=(0,v.useContext)(ct),{getUploadUrls:s}=r[o],[l,d]=(0,v.useState)(!1),c=function(){const{modal:e}=a.App.useApp(),t=mt(),n=(0,v.useContext)(Zt),o=(0,v.useContext)(Ot),r=(0,v.useContext)(dt),i=(0,v.useContext)(Pt),s=(0,v.useContext)(Ft);return function(a){return sn(this,void 0,void 0,(function*(){const l=s?dn(a,null!=i?i:[]):[...ln(a,r[o],n),...dn(a,null!=i?i:[])];return l.length?[yield e.confirm(Object.assign(Object.assign({},rn),{okText:t("覆盖"),cancelText:t("取消"),title:t("发现同名文件,是否覆盖?")})),new Set(l)]:[!0,new Set]}))}}(),p=function(){const e=(0,v.useContext)(Ot),t=(0,v.useContext)(dt),n=Dt();return function(o){const r=t[e];for(const e of o){const t=r.find((t=>t.fileName===e));t&&n(t)}}}();return{isFormatingFiles:l,formatFiles:function(r){return cn(this,void 0,void 0,(function*(){d(!0);const a=yield function(e){return cn(this,void 0,void 0,(function*(){const[t,n]=yield c(e);return t?(p(n),e):e.filter((e=>!n.has(e.name)))}))}(r),l=yield function(o){return cn(this,void 0,void 0,(function*(){const r=o.map((e=>Te(e,n,s))),a=(yield Promise.allSettled(r)).filter((e=>"fulfilled"===e.status)).map((e=>e.value));return(a.some((e=>e.fileStatus===Fe.FAILED))||a.length<o.length)&&t.info(e("部分文件获取上传地址失败")),a}))}(a);i({type:"add_files",identifier:o,files:l}),function(e,t){try{const n=Re.transaction(e,"readwrite").objectStore(e);t.forEach((e=>n.put(e,e.name)))}catch(e){console.warn(`在 addFilesToIndexdb 中, db.transaction/transaction.objectStore/objectStore.put 异常 - ${e.message}`)}}(o,l.map((e=>e.raw))),d(!1)}))}}}();return(0,v.useEffect)((()=>{var e;const t=null===(e=o[n])||void 0===e?void 0:e.find((e=>e.fileStatus===Fe.FINISHED));s&&t&&i({type:"clear_finished",identifier:n})}),[s,n,i,o]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.Spin,{spinning:l,children:(0,r.jsx)(yt,Object.assign({},t,{onFileReceived:d}))}),e&&(0,r.jsx)("div",{className:"mb-4",children:e}),(0,r.jsx)(on,{})]})}var fn=n(915),wn={};wn.styleTagTransform=w(),wn.setAttributes=h(),wn.insert=p().bind(null,"head"),wn.domAPI=d(),wn.insertStyleElement=b(),s()(fn.A,wn),fn.A&&fn.A.locals&&fn.A.locals;var gn=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function yn(e){var{config:{modal:t,dragArea:n,uploadRequest:o}}=e,i=gn(e,["config"]);const s=mt();return(0,v.useContext)(dt)===lt?(0,r.jsx)(a.Modal,Object.assign({},an,{title:s("文件上传")},t,{children:(0,r.jsx)(a.Alert,{message:s("FileUploadModal 必须在 UploadStoreProvider 内使用"),type:"warning"})})):(0,r.jsx)(a.Modal,Object.assign({},an,{forceRender:!0,title:s("文件上传"),footer:(0,r.jsx)(a.Button,{type:"primary",onClick:t.onCancel,children:s("确定")})},t,{children:(0,r.jsx)(mn,Object.assign({},i,{dragAreaConfig:n,uploadRequestConfig:o}))}))}const xn=function(e){const t=mt();return(0,v.useContext)(dt)===lt?(0,r.jsx)(a.Alert,{message:t("FileUploader 必须在 UploadStoreProvider 内使用"),type:"warning"}):(0,r.jsx)("div",{className:"zjlab-fe-data-hub-ui-file-uploader",children:(0,r.jsx)(mn,Object.assign({},e))})},vn=require("@zjlab-fe/util");function jn(e){return new Promise((t=>{if(e&&e.length>0){const n=[...e];function o(){n.length>0?setTimeout(r):setTimeout((()=>{t(null)}))}function r(){const e=n.shift(),t=(0,vn.getFileExt)(e);if("js"===t||"mjs"===t){if(!document.querySelector(`script[src="${e}"]`)){const n=document.createElement("script");return n.src=e,"mjs"===t&&(n.type="module"),document.head.appendChild(n),n.onload=o,void(n.onerror=o)}}else if("css"===t&&!document.querySelector(`link[href="${e}"]`)){const t=document.createElement("link");return t.rel="stylesheet",t.href=e,document.head.appendChild(t),t.onload=o,void(t.onerror=o)}o()}r()}else t(null)}))}var kn=n(482),Nn={};Nn.styleTagTransform=w(),Nn.setAttributes=h(),Nn.insert=p().bind(null,"head"),Nn.domAPI=d(),Nn.insertStyleElement=b(),s()(kn.A,Nn),kn.A&&kn.A.locals&&kn.A.locals;class An{constructor(){const e=window.devicePixelRatio||1;this.sx=e,this.sy=e}get scaled(){return 1!==this.sx||1!==this.sy}}function zn(e){if(Math.floor(e)===e)return[e,1];const t=1/e;if(t>8)return[1,8];if(Math.floor(t)===t)return[1,t];const n=e>1?t:e;let o,r=0,a=1,i=1,s=1;for(;;){const e=r+i,t=a+s;if(t>8)break;n<=e/t?(i=e,s=t):(r=e,a=t)}return o=n-r/a<i/s-n?n===e?[r,a]:[a,r]:n===e?[i,s]:[s,i],o}function En(e,t){const n=e%t;return 0===n?e:Math.round(e-n+t)}function Cn(e){const{filePath:t}=e,n=(0,v.useRef)(null),o=(0,v.useRef)(0),a=(0,v.useRef)(null),i=(0,v.useRef)(0),s=(0,v.useRef)(0),l=(0,v.useRef)(0),d=(0,v.useRef)(!1),c=()=>{if(d.current)return Promise.resolve();d.current=!0;const e=l.current+3>i.current?i.current:l.current+3;return new Promise((t=>{if(a.current){const o=n.current;let r=e-l.current;for(let d=l.current+1;d<=e;d++)a.current.getPage(d).then((e=>{const t=e.getViewport({scale:window.devicePixelRatio||1}),n=document.createElement("canvas");n.setAttribute("id","the-canvas"+d);const r=n.getContext("2d"),a=new An,{width:i,height:l}=t;{const e=i*l,t=Math.sqrt(16777216/e);(a.sx>t||a.sy>t)&&(a.sx=t,a.sy=t)}const c=zn(a.sx),p=zn(a.sy);n.width=En(i*a.sx,c[0]),n.height=En(l*a.sy,p[0]);const{style:u}=n;u.width=En(i,c[1])+"px",u.height=En(l,p[1])+"px";const h={canvasContext:r,transform:a.scaled?[a.sx,0,0,a.sy,0,0]:null,viewport:t};return o.appendChild(n),e.render(h).promise.then((()=>new Promise((e=>{setTimeout((()=>{s.current=s.current+n.clientHeight,e(1)}))}))))})).catch((e=>{})).finally((()=>{r--,0===r&&(s.current<n.current.clientHeight&&e<i.current&&setTimeout(c),t(1))}))}else t(0)})).then((()=>{d.current=!1,l.current=e}))};return(0,v.useEffect)((()=>{jn(["https://fastly.jsdelivr.net/npm/pdfjs-dist@4.7.76/build/pdf.min.mjs","https://fastly.jsdelivr.net/npm/pdfjs-dist@4.7.76/build/pdf.worker.min.mjs"]).then((()=>{window.pdfjsLib.getDocument({url:t,cMapUrl:"https://fastly.jsdelivr.net/npm/pdfjs-dist@4.7.76/cmaps/",cMapPacked:!0}).promise.then((t=>{var n;a.current=t,i.current=t.numPages,c(),null===(n=null==e?void 0:e.onSuccess)||void 0===n||n.call(e)})).catch((t=>{var n;null===(n=null==e?void 0:e.onError)||void 0===n||n.call(e,t)}))}))}),[t]),(0,r.jsx)("div",{ref:n,className:kn.L,onScroll:e=>{const t=e.target.scrollTop;t>o.current&&l.current<i.current&&t>s.current-200-n.current.clientHeight&&c(),o.current=t}})}const Sn=require("i18next");var Mn=n.n(Sn),Bn=n(328),Wn={};function Kn(e){return e?e-55-64-16:550}function Zn(e,t=2){if(e){const n=Kn(e);return Math.floor(n/(10+22*t))}return 10}Wn.styleTagTransform=w(),Wn.setAttributes=h(),Wn.insert=p().bind(null,"head"),Wn.domAPI=d(),Wn.insertStyleElement=b(),s()(Bn.Ay,Wn),Bn.Ay&&Bn.Ay.locals&&Bn.Ay.locals;const On={fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",fontSize:"14px",lineHeight:"22px",letterSpacing:0};function Jn(e){const{maxLines:t=2}=e,n=(0,v.useRef)([]),o=Mn().resolvedLanguage||localStorage.getItem("i18nextLng")||"zh";0===n.current.length&&e.head.forEach((e=>{n.current.push(function(e,t={}){const n=document.createElement("span");n.textContent=e,Object.assign(n.style,Object.assign({position:"absolute",visibility:"hidden",whiteSpace:"nowrap"},t)),document.body.appendChild(n);const o=n.offsetWidth;return document.body.removeChild(n),o}(e))}));const i=e.head.map(((e,o)=>({title:(0,r.jsx)("div",{title:e,style:On,children:e}),dataIndex:e,key:o,render:e=>{const a="object"==typeof e?JSON.stringify(e):e;return(0,r.jsx)("div",{className:Bn.Hn,style:{height:22*t,maxWidth:400,minWidth:n.current[o]},children:(0,r.jsx)("div",{className:Bn.P_,style:{WebkitLineClamp:t},onMouseLeave:e=>{e.currentTarget.scrollTop=0},children:a})})}}))),s={className:Bn.X$,pageSize:Zn(e.containerHeight,t),showSizeChanger:!1,onChange:e.onPageChange,showTotal:()=>e.total&&e.total>e.data.length?(0,r.jsxs)("div",{className:Bn.UA,children:[(0,r.jsx)(X.InfoCircleOutlined,{})," ","zh"===o?"请下载查看完整内容":"Please download to view the full content"]}):null};return(0,r.jsx)(a.Table,{tableLayout:"auto",className:Bn.tp,columns:i,dataSource:e.data,scroll:{x:"max-content",y:Kn(e.containerHeight)},pagination:s})}var Pn=n(685),Fn={};Fn.styleTagTransform=w(),Fn.setAttributes=h(),Fn.insert=p().bind(null,"head"),Fn.domAPI=d(),Fn.insertStyleElement=b(),s()(Pn.A,Fn),Pn.A&&Pn.A.locals&&Pn.A.locals;var Ln=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function Tn(e){var t;const n=(0,v.useRef)(null),o=(0,vn.getFileExt)(e.filePath),[a,i]=(0,v.useState)(),[s,l]=(0,v.useState)();return(0,v.useEffect)((()=>{jn(["https://fastly.jsdelivr.net/npm/x-data-spreadsheet@1.1.9/dist/xspreadsheet.js","https://fastly.jsdelivr.net/npm/x-data-spreadsheet@1.1.9/dist/xspreadsheet.css","https://fastly.jsdelivr.net/npm/xlsx@0.18.5/dist/xlsx.full.min.js","https://fastly.jsdelivr.net/npm/papaparse@5.5.2/papaparse.min.js"]).then((()=>Ln(this,void 0,void 0,(function*(){fetch(e.filePath).then((t=>Ln(this,void 0,void 0,(function*(){if("csv"===o){const o=yield t.blob(),r=new File([o],"test.csv",{type:o.type});window.Papa.parse(r,{complete:t=>{var o,r,a;const s=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o[0],d=[];null===(r=null==t?void 0:t.data)||void 0===r||r.forEach(((e,t)=>{if(0!==t){const n={key:t.toString()};s.forEach(((t,o)=>{n[t]=e[o]})),d.push(n)}})),i({head:s,data:d}),l(n.current.clientHeight),null===(a=null==e?void 0:e.onSuccess)||void 0===a||a.call(e)},error:t=>{var n;console.log(t),null===(n=null==e?void 0:e.onError)||void 0===n||n.call(e,t)}})}else t.arrayBuffer().then((function(t){var o;const r=function(e){const t=[];return e.SheetNames.forEach((function(n){const o={name:n,rows:{}},r=e.Sheets[n];if(!r||!r["!ref"])return;const a=XLSX.utils.decode_range(r["!ref"]);a.s={r:0,c:0};const i=XLSX.utils.sheet_to_json(r,{raw:!1,header:1,range:a});i.forEach((function(e,t){const n={};e.forEach((function(e,o){n[o]={text:e||String(e)};const a=XLSX.utils.encode_cell({r:t,c:o});null!=r[a]&&null!=r[a].f&&(n[o].text="="+r[a].f)})),o.rows[t]={cells:n}})),o.rows.len=i.length,o.merges=[],(r["!merges"]||[]).forEach((function(e,t){null==o.rows[e.s.r]&&(o.rows[e.s.r]={cells:{}}),null==o.rows[e.s.r].cells[e.s.c]&&(o.rows[e.s.r].cells[e.s.c]={}),o.rows[e.s.r].cells[e.s.c].merge=[e.e.r-e.s.r,e.e.c-e.s.c],o.merges[t]=XLSX.utils.encode_range(e)})),t.push(o)})),t}(window.XLSX.read(t));window.x_spreadsheet(n.current,{mode:"read",showToolbar:!1,showContextmenu:!1,view:{height:()=>n.current.clientHeight,width:()=>n.current.clientWidth}}).loadData(r),null===(o=null==e?void 0:e.onSuccess)||void 0===o||o.call(e)})).catch((e=>{throw e}))})))).catch((t=>{var n;console.log(t),null===(n=null==e?void 0:e.onError)||void 0===n||n.call(e,t)}))}))))}),[]),(0,r.jsx)("div",{ref:n,className:Pn.L,children:"csv"===o&&a?(0,r.jsx)(Jn,{head:a.head,data:a.data,containerHeight:s,maxLines:null===(t=e.tableConfig)||void 0===t?void 0:t.maxLines}):null})}var In=n(913),Dn={};function Un(e){return(0,r.jsx)("div",{className:In.LV,children:(0,r.jsx)("img",{src:e.filePath,onError:t=>{var n;console.log("+++ img error"),null===(n=null==e?void 0:e.onError)||void 0===n||n.call(e,t)},onLoad:()=>{var t;null===(t=null==e?void 0:e.onSuccess)||void 0===t||t.call(e)},className:In._8})})}Dn.styleTagTransform=w(),Dn.setAttributes=h(),Dn.insert=p().bind(null,"head"),Dn.domAPI=d(),Dn.insertStyleElement=b(),s()(In.Ay,Dn),In.Ay&&In.Ay.locals&&In.Ay.locals;const qn=require("react-markdown");var Hn=n.n(qn);const Rn=require("rehype-raw");var _n=n.n(Rn);const Vn=require("remark-gfm");var $n=n.n(Vn);const Gn=require("remark-math");var Xn=n.n(Gn);const Qn=require("rehype-mathjax");var Yn=n.n(Qn),eo=n(555),to={};to.styleTagTransform=w(),to.setAttributes=h(),to.insert=p().bind(null,"head"),to.domAPI=d(),to.insertStyleElement=b(),s()(eo.A,to),eo.A&&eo.A.locals&&eo.A.locals;var no=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function oo(e){const t=(0,v.useRef)(null),[n,o]=(0,v.useState)("");return(0,v.useEffect)((()=>{(()=>{no(this,void 0,void 0,(function*(){var t,n;try{let n=yield fetch(e.filePath).then((e=>e.text()));n=n.replace(/!\[(.*?)\]\((.*?)\)/g,((e,t,n)=>n.startsWith("http://")||n.startsWith("https://")||n.startsWith("//")?e:"")),o(n),null===(t=null==e?void 0:e.onSuccess)||void 0===t||t.call(e)}catch(t){null===(n=null==e?void 0:e.onError)||void 0===n||n.call(e,t)}}))})()}),[]),(0,r.jsx)("div",{ref:t,style:{height:"100%",overflow:"auto"},className:eo.L,children:n?(0,r.jsx)(Hn(),{className:"markdown-body",remarkPlugins:[Xn(),$n()],rehypePlugins:[_n(),Yn()],children:n}):null})}var ro=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function ao(e){const[t,n]=(0,v.useState)("");return(0,v.useEffect)((()=>{(()=>{ro(this,void 0,void 0,(function*(){var t,o;try{const o=yield fetch(e.filePath).then((e=>e.text()));n(o),null===(t=null==e?void 0:e.onSuccess)||void 0===t||t.call(e)}catch(t){null===(o=null==e?void 0:e.onError)||void 0===o||o.call(e,t)}}))})()}),[]),(0,r.jsx)("div",{style:{whiteSpace:"pre-wrap"},children:t})}const io=require("react-json-view");var so=n.n(io);const lo=require("react-error-boundary");var co=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function po(e){const t=(0,v.useRef)(null),[n,o]=(0,v.useState)(),[a,i]=(0,v.useState)(),[s,l]=(0,v.useState)();return(0,v.useEffect)((()=>{(()=>{co(this,void 0,void 0,(function*(){var n,r,a,s;try{let s;s=e.jsonConfig?e.jsonConfig.data:yield fetch(e.filePath).then((e=>e.text()));try{const e="string"==typeof s?JSON.parse(s):s;o(e)}catch(e){const o=function(e,t){const{trim:n=!0,skipEmpty:o=!0}={};if(!e)return[];const r=[];let a="",i=!1,s=!1;for(let t=0;t<e.length;t++){const l=e[t];if(s)a+=l,s=!1;else if("\\"!==l)if('"'!==l)if("\n"!==l&&"\r"!==l||i)a+=l;else{if("\r"===l&&t+1<e.length&&"\n"===e[t+1])continue;const i=n?a.trim():a;(!o||i.length>0)&&r.push(i),a=""}else i=!i,a+=l;else a+=l,s=!0}if(a){const e=n?a.trim():a;(!o||e.length>0)&&r.push(e)}return r}(s);if(o.length>0){const e=[];let a=0;if(o.forEach((t=>{try{const n=JSON.parse(t);"object"==typeof n?Array.isArray(n)?n.forEach((t=>{e.push(Object.assign(Object.assign({},t),{key:a.toString()})),a++})):(e.push(Object.assign(Object.assign({},n),{key:a.toString()})),a++):(e.push({content:t,key:a.toString()}),a++)}catch(e){console.log("+++ e",e)}})),e.length>0){const o=Object.keys(e[0]).filter((e=>"key"!==e));i({head:o,data:e}),l(null===(n=t.current)||void 0===n?void 0:n.clientHeight)}else{e.push({content:s,key:"0"});const n=Object.keys(e[0]).filter((e=>"key"!==e));i({head:n,data:e}),l(null===(r=t.current)||void 0===r?void 0:r.clientHeight)}}}null===(a=null==e?void 0:e.onSuccess)||void 0===a||a.call(e)}catch(t){null===(s=null==e?void 0:e.onError)||void 0===s||s.call(e,t)}}))})()}),[]),(0,r.jsx)("div",{style:{height:"100%",overflow:"auto",wordBreak:"break-all"},ref:t,children:n?(0,r.jsx)(lo.ErrorBoundary,{fallback:JSON.stringify(n),children:(0,r.jsx)(so(),{name:!1,src:n,iconStyle:"triangle",collapsed:2,enableClipboard:!1,displayObjectSize:!1,displayDataTypes:!1,collapseStringsAfterLength:140,style:{fontFamily:"Monaco, Menlo, Consolas, monospace",backgroundColor:"rgba(0, 0, 0, 0)",color:"rgb(155, 12, 121)"}})}):a?(0,r.jsx)(Jn,{head:a.head,data:a.data,containerHeight:s,maxLines:null===(d=e.tableConfig)||void 0===d?void 0:d.maxLines}):null});var d}const uo=require("arrow-js-ffi"),ho=require("parquet-wasm");var mo=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};let bo;function fo(e){var t;const n=(0,v.useRef)(null),[o,a]=(0,v.useState)(),[i,s]=(0,v.useState)();return(0,v.useEffect)((()=>{let t;bo||(bo=(0,ho.wasmMemory)()),(()=>{mo(this,void 0,void 0,(function*(){var o,r,i;try{const i=yield fetch(e.filePath),l=new Uint8Array(yield i.arrayBuffer());t=(0,ho.readParquet)(l).intoFFI();const d=(0,uo.parseTable)(bo.buffer,t.arrayAddrs(),t.schemaAddr()),c=d.schema.fields.map((e=>e.name)),p=[];console.log("+++ arrowTable.numRows",d.numRows);for(let e=0;e<d.numRows;e++)p.push(Object.assign(Object.assign({},d.get(e).toJSON()),{key:e.toString()}));a({head:c,data:p}),s(null===(o=n.current)||void 0===o?void 0:o.clientHeight),null===(r=null==e?void 0:e.onSuccess)||void 0===r||r.call(e),t.drop()}catch(t){null===(i=null==e?void 0:e.onError)||void 0===i||i.call(e,t)}}))})()}),[]),(0,r.jsx)("div",{style:{height:"100%",overflow:"auto",wordBreak:"break-all"},ref:n,children:o&&(0,r.jsx)(Jn,{head:o.head,data:o.data,containerHeight:i,maxLines:null===(t=e.tableConfig)||void 0===t?void 0:t.maxLines})})}n.n(ho)()();var wo=n(708),go={};function yo(e){var t,n;const o=(0,v.useRef)(null),[a,i]=(0,v.useState)(),[s,l]=(0,v.useState)();return(0,v.useEffect)((()=>{var t,n;const{tableConfig:r}=e,{header:a,rows:s=[]}=r||{};if(a){const n=a,r=[];s.forEach(((e,t)=>{const o={key:t.toString()};n.forEach(((t,n)=>{o[t]=e[n]})),r.push(o)})),i({head:n,data:r}),l(o.current.clientHeight),null===(t=null==e?void 0:e.onSuccess)||void 0===t||t.call(e)}else null===(n=null==e?void 0:e.onError)||void 0===n||n.call(e,new Error("tableConfig.header is required"))}),[]),(0,r.jsx)("div",{ref:o,className:wo.L,children:a?(0,r.jsx)(Jn,{head:a.head,data:a.data,maxLines:null===(t=e.tableConfig)||void 0===t?void 0:t.maxLines,total:null===(n=e.tableConfig)||void 0===n?void 0:n.rowCount,containerHeight:s}):null})}go.styleTagTransform=w(),go.setAttributes=h(),go.insert=p().bind(null,"head"),go.domAPI=d(),go.insertStyleElement=b(),s()(wo.A,go),wo.A&&wo.A.locals&&wo.A.locals;var xo=n(690),vo={};function jo(e){var t,n,o;const i=Mn().resolvedLanguage||localStorage.getItem("i18nextLng")||"zh",{filePath:s,tableConfig:l,jsonConfig:d}=e,[c,p]=(0,v.useState)(!1),[u,h]=(0,v.useState)(!0),m=t=>{var n;h(!1),p(!0),console.log(t),null===(n=null==e?void 0:e.onError)||void 0===n||n.call(e,t)},b=()=>{var t;h(!1),null===(t=null==e?void 0:e.onSuccess)||void 0===t||t.call(e)};let f=null;if(c)f=(0,r.jsx)("div",{className:xo.LV,children:"zh"===i?"获取文件失败":"Failed to get file"});else if(l)f=(0,r.jsx)(yo,Object.assign({},e,{onSuccess:b}));else if(d)f=(0,r.jsx)(po,Object.assign({},e,{onError:m,onSuccess:b}));else if(s){const t=(0,vn.getFileExt)(s),n=(0,r.jsx)("div",{className:xo.D5,children:(0,r.jsx)(a.Spin,{})});let o=null,l=!0;switch(t){case"pdf":o=(0,r.jsx)(Cn,Object.assign({},e,{onError:m,onSuccess:b}));break;case"xlsx":case"csv":o=(0,r.jsx)(Tn,Object.assign({},e,{onError:m,onSuccess:b}));break;case"png":case"jpg":case"jpeg":o=(0,r.jsx)(Un,Object.assign({},e,{onError:m,onSuccess:b}));break;case"mmd":case"md":o=(0,r.jsx)(oo,Object.assign({},e,{onError:m,onSuccess:b}));break;case"txt":o=(0,r.jsx)(ao,Object.assign({},e,{onError:m,onSuccess:b}));break;case"parquet":o=(0,r.jsx)(fo,Object.assign({},e,{onError:m,onSuccess:b}));break;case"jsonl":case"json":o=(0,r.jsx)(po,Object.assign({},e,{onError:m,onSuccess:b}));break;default:l=!1}f=l?(0,r.jsxs)(r.Fragment,{children:[u&&n,o]}):(0,r.jsxs)("div",{className:xo.LV,children:["zh"===i?"暂不支持":"Not supported"," ",t," ","zh"===i?"文件预览":"file preview"]})}return e.openInModal?(null===(t=null==e?void 0:e.modalProps)||void 0===t?void 0:t.show)?(0,r.jsx)(a.Modal,{open:!0,title:null===(n=null==e?void 0:e.modalProps)||void 0===n?void 0:n.title,className:xo.qf,centered:!0,width:"100%",onCancel:null===(o=null==e?void 0:e.modalProps)||void 0===o?void 0:o.onCancel,footer:null,children:f}):null:f}function ko(e){const[t,n]=(0,v.useState)(0),[o,a]=(0,v.useState)(e.filePath),[i,s]=(0,v.useState)(e.tableConfig);return(0,v.useEffect)((()=>{o===e.filePath&&i===e.tableConfig||(a(e.filePath),s(e.tableConfig),n(t+1))}),[e.filePath,e.tableConfig]),o!==e.filePath||i!==e.tableConfig?null:(0,r.jsx)(jo,Object.assign({},e),t)}vo.styleTagTransform=w(),vo.setAttributes=h(),vo.insert=p().bind(null,"head"),vo.domAPI=d(),vo.insertStyleElement=b(),s()(xo.Ay,vo),xo.Ay&&xo.Ay.locals&&xo.Ay.locals;const No=require("copy-to-clipboard");var Ao=n.n(No),zo=n(860),Eo={};Eo.styleTagTransform=w(),Eo.setAttributes=h(),Eo.insert=p().bind(null,"head"),Eo.domAPI=d(),Eo.insertStyleElement=b(),s()(zo.A,Eo),zo.A&&zo.A.locals&&zo.A.locals;const Co=require("classnames");var So=n.n(Co);const Mo={zh:"已复制",en:"Copied"};function Bo(e){const{showFeedback:t=!0,text:n,locale:o="zh"}=e;return(0,r.jsx)("span",{className:So()(zo.K,"data-hub-ui-copy-icon"),onClick:()=>{n&&(Ao()(n),t&&a.message.success(Mo[o])),(null==e?void 0:e.onClick)&&e.onClick()},children:""})}function Wo(e,t={showFeedback:!0,locale:"zh"}){const{showFeedback:n="true",locale:o="zh"}=t;e&&(Ao()(e),n&&a.message.success(Mo[o]))}var Ko=n(100),Zo={};function Oo(e){return(0,r.jsx)(a.Modal,Object.assign({},e,{wrapClassName:Ko.wm,width:400}))}Zo.styleTagTransform=w(),Zo.setAttributes=h(),Zo.insert=p().bind(null,"head"),Zo.domAPI=d(),Zo.insertStyleElement=b(),s()(Ko.Ay,Zo),Ko.Ay&&Ko.Ay.locals&&Ko.Ay.locals,Oo.confirm=e=>{a.Modal.confirm(Object.assign({},e)).update({icon:null,closable:!0,width:400,wrapClassName:`${Ko.DE}`})};var Jo=n(989),Po={};Po.styleTagTransform=w(),Po.setAttributes=h(),Po.insert=p().bind(null,"head"),Po.domAPI=d(),Po.insertStyleElement=b(),s()(Jo.Ay,Po),Jo.Ay&&Jo.Ay.locals&&Jo.Ay.locals;const Fo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAARCAYAAADUryzEAAAAAXNSR0IArs4c6QAAAf1JREFUOE+lkz9oE3EUx7/vd0nbOPing5RSKJ0q+GdVUCkOLh2qQ4lLtfVsESlpTEsql2bIUNI2htSLONleKjqUc1BxE3QQCuJSKAg6aKfqIqiQao7mfq/cNXckscGAv+l+777v897v/b4/wn8uapQfyedbj1Kos2xL+3jnka1wOGzvp/0LMJtd6hYBoRFwFcCBStJvBh4TI6PF1C/VoBpAWi/0E/MzAC0NOttmlkOJ2Ohz778PSOceniehvG1mJEIop+9MDL93tC7ANE3l89fiBwC9zQBA+Gj96DmZSl0ou4D0ojFIhKd+MvMaE70mIFmJ3QVwFsA5T2NLOZCcHH3pAuYXjQUmTFdV/yVh9wpWVEBCEhsCyicAh3wNQdei6m0XMHfPWAVwpW66P1uZepyYRbzJwOGa4zFeaDH18h5AN1bAGK4REObaJGWcWEnwNBhaHeCRFlNHKh0sTwGU9QTMMEOgmyXiDSfWxnSqBF4B4ZKvIZpKRK/nXEDmQaHD3uFvVRUc45QIaK9c1XfeM5VnLNjS6kpO3tryfTCvF/LMHGnmGpn4fiJ6Y8L3gfORy5khSxTfADjzD8g7K/jnYmp8vFgDcDap/JODLbwzS406YeiBcmAmHr+27RXZ9zWms4VjCHAfQZwgyKAE1oOK/SoeGdus767hc25mFo5mF83NrRLVZKusAAAAAElFTkSuQmCC";function Lo({visiable:e,children:t,onClose:n}){const[o,a]=(0,v.useState)(!1);return(0,v.useEffect)((()=>{a(e)}),[e]),o?(0,r.jsxs)("div",{className:Jo.LV,children:[(0,r.jsx)("div",{style:{backgroundImage:"url("+Fo+")"},className:Jo.Kk,onClick:()=>n()}),(0,r.jsx)("div",{className:Jo.NI,children:t})]}):null}var To=n(150),Io={};function Do(e){return(0,r.jsx)("div",{className:`${To.cQ} ${"workflow"===e.type?To._b:To.Og}`,children:e.children})}function Uo(e){return(0,r.jsx)("div",{className:`${To.Rp} ${"workflow"===e.type?To._b:To.Og}`,children:e.children})}function qo(e){return(0,r.jsxs)("div",{children:["small"===(null==e?void 0:e.size)&&(0,r.jsx)(Uo,Object.assign({},e)),(!(null==e?void 0:e.size)||"middle"===(null==e?void 0:e.size))&&(0,r.jsx)(Do,Object.assign({},e))]})}Io.styleTagTransform=w(),Io.setAttributes=h(),Io.insert=p().bind(null,"head"),Io.domAPI=d(),Io.insertStyleElement=b(),s()(To.Ay,Io),To.Ay&&To.Ay.locals&&To.Ay.locals;const Ho={confidential:"#FAAD14",public:"#53C31B",private:"#FE4D4F"};function Ro(e){const{type:t="public",children:n}=e,o=Ho[t];return(0,r.jsx)(a.Tag,{style:{backgroundColor:"#fff",border:`1px solid ${o}`,borderRadius:"4px",fontSize:"12px",color:`${o}`,padding:"0 8px",fontFamily:"AlibabaPuHuiTi-3-55-RegularL3"},children:n})}const _o={running:"#0061FF",failed:"#FE4D4F",success:"#53C31B",stopped:"#545B64",pending:"#FAAD14"};function Vo(e){const{type:t="running",children:n}=e,o=_o[t];return(0,r.jsx)(a.Tag,{bordered:!1,style:{backgroundColor:`rgba(${(e=>{const t=parseInt(e.replace("#",""),16);return`${t>>16&255},${t>>8&255},${255&t}`})(o)},0.1)`,borderRadius:"4px",fontSize:"14px",color:`${o}`,padding:"3px 8px",fontFamily:"AlibabaPuHuiTi-3-55-RegularL3"},children:n})}const $o=require("@tiptap/react"),Go=require("@tiptap/extension-color");var Xo=n.n(Go);const Qo=require("@tiptap/extension-table-cell");var Yo=n.n(Qo);const er=require("@tiptap/extension-table-header");var tr=n.n(er);const nr=require("@tiptap/extension-table-row");var or=n.n(nr);const rr=require("@tiptap/extension-text-align");var ar=n.n(rr);const ir=require("@tiptap/starter-kit");var sr=n.n(ir);const lr=require("@tiptap/extension-table"),dr=require("@tiptap/extension-highlight");var cr=n.n(dr);const pr=require("@tiptap/extension-image");var ur=n.n(pr);const hr=require("@tiptap/extension-text-style"),mr=require("@tiptap/extension-list-item");var br=n.n(mr);const fr=$o.Extension.create({name:"fontSize",addOptions:()=>({types:["textStyle"],defaultFontSize:"14px"}),addGlobalAttributes(){return[{types:this.options.types,attributes:{fontSize:{default:this.options.defaultFontSize,parseHTML:e=>e.style.fontSize||this.options.defaultFontSize,renderHTML:e=>e.fontSize?{style:`font-size: ${e.fontSize}`}:{}}}}]},addCommands:()=>({setFontSize:e=>({chain:t})=>t().setMark("textStyle",{fontSize:e}).run(),unsetFontSize:()=>({chain:e})=>e().setMark("textStyle",{fontSize:null}).removeEmptyTextStyle().run()})}),wr=require("@tiptap/pm/state"),gr=require("@tiptap/extension-link");function yr(e,t,n){if(!t.type.startsWith("image/"))return!1;const o=new FileReader;return o.onload=o=>{var r;const a=null===(r=o.target)||void 0===r?void 0:r.result;e.commands.insertContent(`<p><img class="inline" src="${a}" alt="${t.name}" title="${t.name}"/></p>`),null==n||n()},o.readAsDataURL(t),!1}const xr=require("marked"),vr="\x3c!--- this is file is already parsed --\x3e",jr=new class{constructor(){this.patterns={headers:/^#{1,6}\s+.+$/gm,emphasis:/(\*{1,2}|_{1,2}).+?\1/g,code:/(```[\s\S]*?```|`[^`]+`)/g,links:/\[([^\]]+)\]\(([^)]+)\)/g,blockquotes:/^>\s+.+$/gm,lists:/^(\s*[-*+]\s+|\s*\d+\.\s+).+$/gm,tables:/^\|.+\|$/gm,horizontalRules:/^(-{3,}|\*{3,}|_{3,})$/gm,images:/!\[([^\]]*)\]\(([^)]+)\)/g}}isNotMarkdown(e,t=10){return!e||0===e.trim().length||this.calculateMarkdownScore(e)<t}calculateMarkdownScore(e){const t=e.split("\n").filter((e=>e.trim().length>0));let n=0,o=0;Object.entries(this.patterns).forEach((([t,o])=>{const r=e.match(o)||[];n+=r.length})),o=t.length;const r=/```[\s\S]*?```/g.test(e),a=/`[^`]+`/g.test(e),i=/\[([^\]]+)\]\(([^)]+)\)/g.test(e),s=/^#{1,6}\s+/gm.test(e);r&&(n+=2),a&&(n+=1),i&&(n+=2),s&&(n+=2);const l=o>0?Math.min(100,n/o*100):0;return Math.round(l)}analyzeMarkdownPatterns(e){const t={};return Object.entries(this.patterns).forEach((([n,o])=>{const r=e.match(o)||[];t[n]=r.length})),t}isPlainText(e){return!/[#*_`>[\](){}|~-]/.test(e)||![/^#{1,6}\s/gm,/\*\*.*\*\*/g,/\*[^*]+\*/g,/_[^_]+_/g,/`[^`]+`/g,/```[\s\S]*?```/g,/\[.*\]\(.*\)/g,/^>\s/gm,/^[-*+]\s/gm,/^\d+\.\s/gm].some((t=>t.test(e)))}},kr=$o.Extension.create({name:"pasteHandler",addProseMirrorPlugins(){const{editor:e}=this;return[new wr.Plugin({key:new wr.PluginKey("pasteHandler"),props:{handlePaste(t,n){var o,r;const a=null===(o=n.clipboardData)||void 0===o?void 0:o.files;return a&&a.length>0?Nr(e,a):function(e,t){if(function(e,t=10){return jr.isNotMarkdown(e,t)}(t))return void e.commands.insertContent(t);const n=function(e){if(e.startsWith(vr))return e.slice(40);const t=function(e){return e.replace(/\n<\/code><\/pre>/g,"</code></pre>")}(function(e){return e.replace(/align="center"/g,'style="text-align: center;"')}(xr.marked.parse(e,{async:!1})));return vr+function(e){return e.replace(/<div style="([^"]+)">(.*?)<\/div>/g,((e,t,n)=>n.replace(/(<[^>]+>)/g,(e=>e.includes('style="')?e.replace('style="',`style="${t}; `):e.replace(">",` style="${t}">`)))))}(t)}(t),o=(0,$o.generateJSON)(n,[kr,sr(),gr.Link.configure({openOnClick:!1})]);e.commands.insertContent(o,{parseOptions:{preserveWhitespace:!1}})}(e,(null===(r=n.clipboardData)||void 0===r?void 0:r.getData("text"))||""),!0}}})]}});function Nr(e,t){for(let n=0;n<t.length;n++)yr(e,t[n])}const Ar=require("prosemirror-state"),zr=$o.Extension.create({name:"dropHandler",addProseMirrorPlugins(){const{editor:e}=this;return[new Ar.Plugin({key:new Ar.PluginKey("dropHandler"),props:{handleDrop(t,n){var o;const r=null===(o=n.dataTransfer)||void 0===o?void 0:o.files;return r&&r.length>0&&Nr(e,r),!0}}})]}}),Er=require("lowlight"),Cr=require("@tiptap/extension-code-block-lowlight");var Sr=n.n(Cr);const Mr=require("@tiptap/extension-underline");var Br=n.n(Mr);const Wr=(0,Er.createLowlight)(Er.all),Kr=[zr,kr,fr,or(),hr.TextStyle,Yo(),Br(),tr(),lr.Table.configure({resizable:!0}),sr().configure({codeBlock:!1}),Sr().configure({lowlight:Wr}),cr().configure({multicolor:!0}),ur().configure({inline:!0,allowBase64:!0,HTMLAttributes:{class:"max-w-96 h-auto inline mb-0"}}),Xo().configure({types:[hr.TextStyle.name,br().name]}),ar().configure({types:["heading","paragraph",tr().name,Yo().name]})],Zr=[...Kr,gr.Link.configure({openOnClick:!1}).extend({inclusive:!1})],Or=[...Kr,gr.Link.configure({openOnClick:!0})];var Jr=n(444),Pr={};Pr.styleTagTransform=w(),Pr.setAttributes=h(),Pr.insert=p().bind(null,"head"),Pr.domAPI=d(),Pr.insertStyleElement=b(),s()(Jr.A,Pr),Jr.A&&Jr.A.locals&&Jr.A.locals;const Fr={bold:{command:"toggleBold",icon:(0,r.jsx)((function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M13.5 15.5H10v-3h3.5A1.5 1.5 0 0 1 15 14a1.5 1.5 0 0 1-1.5 1.5m-3.5-9h3A1.5 1.5 0 0 1 14.5 8A1.5 1.5 0 0 1 13 9.5h-3m5.6 1.29c.97-.68 1.65-1.79 1.65-2.79c0-2.26-1.75-4-4-4H7v14h7.04c2.1 0 3.71-1.7 3.71-3.79c0-1.52-.86-2.82-2.15-3.42"})}))}),{className:"text-xl"})},italic:{command:"toggleItalic",icon:(0,r.jsx)((function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z"})}))}),{className:"text-xl"})},strike:{command:"toggleStrike",icon:(0,r.jsx)((function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M7.2 9.8c-1.2-2.3.5-5 2.9-5.5c3.1-1 7.6.4 7.5 4.2h-3c0-.3-.1-.6-.1-.8c-.2-.6-.6-.9-1.2-1.1c-.8-.3-2.1-.2-2.8.3C9 8.2 10.4 9.5 12 10H7.4c-.1-.1-.1-.2-.2-.2M21 13v-2H3v2h9.6c.2.1.4.1.6.2c.6.3 1.1.5 1.3 1.1c.1.4.2.9 0 1.3c-.2.5-.6.7-1.1.9c-1.8.5-4-.2-3.9-2.4h-3c-.1 2.6 2.1 4.4 4.5 4.7c3.8.8 8.3-1.6 6.3-5.9z"})}))}),{className:"text-xl"})},underline:{command:"toggleUnderline",icon:(0,r.jsx)((function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M5 21h14v-2H5zm7-4a6 6 0 0 0 6-6V3h-2.5v8a3.5 3.5 0 0 1-3.5 3.5A3.5 3.5 0 0 1 8.5 11V3H6v8a6 6 0 0 0 6 6"})}))}),{className:"text-xl"})}};function Lr({editor:e}){return(0,r.jsx)(r.Fragment,{children:Object.keys(Fr).map((n=>function(n){return(0,r.jsx)(a.Button,{size:"small",type:"text",icon:Fr[n].icon,onClick:(o=Fr[n].command,()=>e.chain().focus()[o]().run()),disabled:t(Fr[n].command),className:e.isActive(n)?"bg-blue-5 text-white":""},n);var o}(n)))});function t(t){return!e.can().chain().focus()[t]().run()}}const Tr=function(e){return(0,r.jsxs)("svg",Object.assign({viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"200",height:"200"},e,{children:[(0,r.jsx)("path",{d:"M96 768h832v160H96z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M443.862627 224.692457m45.254834 45.254834l135.764502 135.764502q45.254834 45.254834 0 90.509668l-135.764502 135.764502q-45.254834 45.254834-90.509668 0l-135.764502-135.764502q-45.254834-45.254834 0-90.509668l135.764502-135.764502q45.254834-45.254834 90.509668 0Z",fill:"#FFFFFF"}),(0,r.jsx)("path",{d:"M398.176 225.088L318.976 145.92 364.224 100.64l118.304 118.272c2.272 1.76 4.48 3.68 6.592 5.76l181.024 181.024a64 64 0 0 1 0 90.496l-181.024 181.024a64 64 0 0 1-90.528 0L217.6 496.192a64 64 0 0 1 0-90.496l180.576-180.608z m170.144 169.28l-0.448 0.416-124.416-124.416-175.136 175.104h351.104L568.32 394.368zM752 704a80 80 0 0 1-80-80c0-44.16 67.68-124.672 80-124.672 12.32 0 80 80.48 80 124.672a80 80 0 0 1-80 80z",fill:"#2c2c2c"})]}))},Ir=function(e){return(0,r.jsxs)("svg",Object.assign({viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"200",height:"200"},e,{children:[(0,r.jsx)("path",{d:"M128 768h768v128H128z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M513.728 64.256l1.28 0.128h1.152l1.28 0.192a43.584 43.584 0 0 1 32.32 20.096l3.2 6.08 235.712 550.656a44.8 44.8 0 0 1-16.768 55.232l-7.616 3.968a43.52 43.52 0 0 1-54.208-17.152l-2.944-5.76-63.104-147.328H380.224l-62.976 147.2a43.52 43.52 0 0 1-51.072 24.96l-6.592-2.304-1.28-0.64a44.8 44.8 0 0 1-22.592-58.304l235.712-550.656a43.584 43.584 0 0 1 42.304-26.368z m91.904 376.512l-93.44-218.496L418.56 440.768h187.008z",fill:"#2c2c2c"})]}))},Dr=["#24A36F","#1677FF","#722ED1","#F5222D","#FA8C16","#FADB14","#A0D911"],Ur=[{label:"预设颜色",defaultOpen:!0,colors:["#00000000",...Dr]}],qr=[{label:"预设颜色",defaultOpen:!0,colors:["#000000","#FFFFFF",...Dr]}],Hr=[{label:"12px",value:"12px"},{label:"14px",value:"14px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"}];function Rr({editor:e}){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.ColorPicker,{size:"small",className:"flex-shrink-0",presets:Ur,value:e.getAttributes("highlight").color||"#00000000",onChange:function(t){const n=t.toHexString();"#00000000"===n?e.chain().focus().toggleHighlight().run():e.chain().focus().toggleHighlight({color:n}).run()},showText:()=>(0,r.jsx)(Tr,{color:e.getAttributes("highlight").color,className:"text-base w-4 h-4"})}),(0,r.jsx)(a.ColorPicker,{size:"small",disabledAlpha:!0,className:"flex-shrink-0",presets:qr,value:e.getAttributes("textStyle").color||"#000000",onChange:function(t){const n=t.toHexString();e.chain().focus().setColor(n).run()},showText:()=>(0,r.jsx)(Ir,{color:e.getAttributes("textStyle").color,className:"text-base w-4 h-4"})}),(0,r.jsx)(a.Select,{size:"small",options:Hr,value:e.getAttributes("textStyle").fontSize||"14px",popupMatchSelectWidth:!1,onChange:function(t){var n;null===(n=e.chain().focus().setFontSize(t))||void 0===n||n.run()}})]})}const _r=function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M17 20v-3h-3v-2h3v-3h2v3h3v2h-3v3zm-6-3H7q-2.075 0-3.537-1.463T2 12t1.463-3.537T7 7h4v2H7q-1.25 0-2.125.875T4 12t.875 2.125T7 15h4zm-3-4v-2h8v2zm14-1h-2q0-1.25-.875-2.125T17 9h-4V7h4q2.075 0 3.538 1.463T22 12"})}))},Vr=function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"m19.25 16.45l-1.5-1.55q1-.275 1.625-1.063T20 12q0-1.25-.875-2.125T17 9h-4V7h4q2.075 0 3.538 1.463T22 12q0 1.425-.737 2.625T19.25 16.45M15.85 13l-2-2H16v2zm3.95 9.6L1.4 4.2l1.4-1.4l18.4 18.4zM11 17H7q-2.075 0-3.537-1.463T2 12q0-1.725 1.05-3.075t2.7-1.775L7.6 9H7q-1.25 0-2.125.875T4 12t.875 2.125T7 15h4zm-3-4v-2h1.625l1.975 2z"})}))};function $r({editor:e,inline:t=!1}){const[n,o]=(0,v.useState)(""),[i,s]=(0,v.useState)(""),[l,d]=(0,v.useState)(!1);return(0,r.jsx)(r.Fragment,{children:e.isActive("link")?(0,r.jsx)(a.Button,{size:"small",type:"text",title:"取消链接",className:"bg-blue-5 text-white",icon:(0,r.jsx)(Vr,{className:"text-xl"}),onClick:()=>e.chain().focus().unsetLink().run()}):(0,r.jsx)(a.Popover,{open:l,trigger:"click",placement:"bottom",content:(0,r.jsxs)(a.Space,{children:[t?null:(0,r.jsxs)(r.Fragment,{children:["描述: ",(0,r.jsx)(a.Input,{value:n,onChange:e=>o(e.target.value)})]}),"链接: ",(0,r.jsx)(a.Input,{value:i,onChange:e=>s(e.target.value)}),(0,r.jsx)(a.Button,{type:"primary",onClick:function(){const o=e.chain().focus().setLink({href:"https://"+i});t?o.run():o.command((({tr:e})=>(e.insertText(n||i),!0))).run(),d(!1)},disabled:!i,children:"确认"})]}),onOpenChange:function(e){d(e),e||s("")},children:(0,r.jsx)(a.Button,{size:"small",type:"text",title:"添加链接",icon:(0,r.jsx)(_r,{className:"text-xl"})})})})}const Gr={left:{type:"left",icon:(0,r.jsx)((function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",d:"M4 6h16M4 10h13M4 14h16M4 18h5.5"})}))}),{className:"text-xl"})},center:{type:"center",icon:(0,r.jsx)((function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",d:"M4 6h16M7 10h10M4 14h16M9 18h6"})}))}),{className:"text-xl"})},right:{type:"right",icon:(0,r.jsx)((function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",d:"M4 6h16M7 10h13M4 14h16m-6 4h6"})}))}),{className:"text-xl"})},justify:{type:"justify",icon:(0,r.jsx)((function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",d:"M4 6h16M4 10h16M4 14h16M4 18h16"})}))}),{className:"text-xl"})}};function Xr({editor:e}){return(0,r.jsx)(r.Fragment,{children:Object.values(Gr).map((({type:t,icon:n})=>(0,r.jsx)(a.Button,{size:"small",type:"text",icon:n,onClick:()=>e.chain().focus().setTextAlign(t).run(),className:e.isActive({textAlign:t})?"bg-blue-5 text-white":""},t)))})}const Qr=function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M5 19h1.425L16.2 9.225L14.775 7.8L5 17.575zm-2 2v-4.25L16.2 3.575q.3-.275.663-.425t.762-.15t.775.15t.65.45L20.425 5q.3.275.438.65T21 6.4q0 .4-.137.763t-.438.662L7.25 21zM19 6.4L17.6 5zm-3.525 2.125l-.7-.725L16.2 9.225z"})}))};function Yr({editor:e}){return(0,r.jsxs)(r.Fragment,{children:[e.isActive("link")&&(0,r.jsx)(ea,{editor:e}),(0,r.jsx)(a.Divider,{type:"vertical",className:"h-4 border-gray-300 m-1"}),(0,r.jsx)(a.Button,{size:"small",type:"text",title:"取消链接",icon:(0,r.jsx)(Vr,{className:"text-xl"}),onClick:()=>e.chain().focus().unsetLink().run()})]})}function ea({editor:e}){const[t,n]=(0,v.useState)(e.getAttributes("link").href);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.Input,{value:t,size:"small",onChange:e=>n(e.target.value)}),(0,r.jsx)(a.Button,{size:"small",type:"text",title:"修改链接",icon:(0,r.jsx)(Qr,{className:"text-xl"}),onClick:function(){e.chain().extendMarkRange("link").setLink({href:"https://"+t}).run()}})]})}function ta({className:e}){const{editor:t}=(0,$o.useCurrentEditor)();return t?(0,r.jsx)($o.BubbleMenu,{editor:t,tippyOptions:{placement:"bottom-start"},children:(0,r.jsxs)(a.Flex,{gap:4,align:"center",className:`rounded-md p-1 bg-white border border-gray-200 shadow-sm pr-2 ${e}`,children:[(0,r.jsx)(Lr,{editor:t}),(0,r.jsx)(a.Divider,{type:"vertical",className:"h-4 border-gray-300 m-1"}),(0,r.jsx)(Rr,{editor:t}),(0,r.jsx)(a.Divider,{type:"vertical",className:"h-4 border-gray-300 m-1"}),(0,r.jsx)(Xr,{editor:t}),(0,r.jsx)(a.Divider,{type:"vertical",className:"h-4 border-gray-300 m-1"}),t.isActive("link")?(0,r.jsx)(Yr,{editor:t}):(0,r.jsx)($r,{editor:t,inline:!0})]})}):null}function na({className:e}){const{editor:t}=(0,$o.useCurrentEditor)();return t?(0,r.jsx)($o.FloatingMenu,{editor:t,tippyOptions:{placement:"bottom-start"},shouldShow:()=>t.isActive("link"),children:(0,r.jsx)(a.Flex,{gap:4,align:"center",className:`rounded-md p-1 bg-white border border-gray-200 shadow-sm pr-2 ${e}`,children:(0,r.jsx)(Yr,{editor:t})})}):null}function oa(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M9 19v-2h12v2zm0-6v-2h12v2zm0-6V5h12v2zM5 20q-.825 0-1.412-.587T3 18t.588-1.412T5 16t1.413.588T7 18t-.587 1.413T5 20m0-6q-.825 0-1.412-.587T3 12t.588-1.412T5 10t1.413.588T7 12t-.587 1.413T5 14m0-6q-.825 0-1.412-.587T3 6t.588-1.412T5 4t1.413.588T7 6t-.587 1.413T5 8"})}))}const ra=function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M3 22v-1.5h2.5v-.75H4v-1.5h1.5v-.75H3V16h3q.425 0 .713.288T7 17v1q0 .425-.288.713T6 19q.425 0 .713.288T7 20v1q0 .425-.288.713T6 22zm0-7v-2.75q0-.425.288-.712T4 11.25h1.5v-.75H3V9h3q.425 0 .713.288T7 10v1.75q0 .425-.288.713T6 12.75H4.5v.75H7V15zm1.5-7V3.5H3V2h3v6zM9 19v-2h12v2zm0-6v-2h12v2zm0-6V5h12v2z"})}))};function aa({editor:e}){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.Button,{type:"text",size:"small",icon:(0,r.jsx)(oa,{className:"text-xl"}),onClick:()=>e.chain().focus().toggleBulletList().run(),className:e.isActive("bulletList")?"bg-blue-5 text-white":""}),(0,r.jsx)(a.Button,{type:"text",size:"small",icon:(0,r.jsx)(ra,{className:"text-xl"}),onClick:()=>e.chain().focus().toggleOrderedList().run(),className:e.isActive("orderedList")?"bg-blue-5 text-white":""})]})}const ia=function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M3 19V5q0-.825.588-1.412T5 3h14q.825 0 1.413.588T21 5v14q0 .825-.587 1.413T19 21H5q-.825 0-1.412-.587T3 19M5 9h14V5H5zm5.325 5h3.35v-3h-3.35zm0 5h3.35v-3h-3.35zM5 14h3.325v-3H5zm10.675 0H19v-3h-3.325zM5 19h3.325v-3H5zm10.675 0H19v-3h-3.325z"})}))};function sa({editor:e}){const[t,n]=(0,v.useState)(3),[o,i]=(0,v.useState)(3);return(0,r.jsx)(a.Popover,{trigger:"click",title:"插入表格",content:(0,r.jsxs)(a.Flex,{gap:8,align:"center",children:[(0,r.jsxs)("div",{children:["行数: ",(0,r.jsx)(a.InputNumber,{min:1,value:t,onChange:e=>n(e||1)})]}),(0,r.jsxs)("div",{children:["列数: ",(0,r.jsx)(a.InputNumber,{min:1,value:o,onChange:e=>i(e||1)})]}),(0,r.jsx)(a.Button,{type:"primary",onClick:()=>e.chain().focus().insertTable({rows:t,cols:o,withHeaderRow:!0}).run(),children:"确认"})]}),children:(0,r.jsx)(a.Button,{type:"text",size:"small",icon:(0,r.jsx)(ia,{className:"text-xl "})})})}function la(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M5 21q-.825 0-1.412-.587T3 19V5q0-.825.588-1.412T5 3h9v2H5v14h14v-9h2v9q0 .825-.587 1.413T19 21zM17 9V7h-2V5h2V3h2v2h2v2h-2v2zM6 17h12l-3.75-5l-3 4L9 13zM5 5v14z"})}))}function da({editor:e}){const[t,n]=(0,v.useState)(!1),[o,i]=(0,v.useState)(""),[s,l]=(0,v.useState)(""),d={accept:"image/*",showUploadList:!1,beforeUpload:t=>yr(e,t,(()=>n(!1)))};return(0,r.jsx)(a.Popover,{open:t,trigger:"click",placement:"bottom",content:(0,r.jsxs)(a.Space,{direction:"vertical",style:{width:"100%"},children:[(0,r.jsxs)("div",{children:["图片链接: ",(0,r.jsx)(a.Input,{value:o,onChange:e=>i(e.target.value)})]}),(0,r.jsxs)("div",{children:["图片描述: ",(0,r.jsx)(a.Input,{value:s,onChange:e=>l(e.target.value)})]}),(0,r.jsxs)(a.Flex,{justify:"space-between",children:[(0,r.jsx)(a.Upload,Object.assign({},d,{children:(0,r.jsx)(a.Button,{children:"上传本地图片"})})),(0,r.jsx)(a.Button,{type:"primary",onClick:function(){o&&(e.chain().focus().setImage({src:o,alt:s,title:s}).run(),n(!1))},children:"确认"})]})]}),onOpenChange:function(e){n(e),e||i("")},children:(0,r.jsx)(a.Button,{size:"small",type:"text",className:"",icon:(0,r.jsx)(la,{className:"text-xl"})})})}const ca=[{label:"正文",value:"paragraph"},{label:"标题1",value:"1"},{label:"标题2",value:"2"},{label:"标题3",value:"3"},{label:"标题4",value:"4"},{label:"标题5",value:"5"},{label:"标题6",value:"6"}],pa={paragraph:(0,r.jsx)((function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M9 20v-6q-2.075 0-3.537-1.463T4 9t1.463-3.537T9 4h9v2h-2v14h-2V6h-3v14z"})}))}),{className:"text-xl "}),1:(0,r.jsx)((function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M5 17V7h2v4h4V7h2v10h-2v-4H7v4zm12 0V9h-2V7h4v10z"})}))}),{className:"text-xl"}),2:(0,r.jsx)((function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M3 17V7h2v4h4V7h2v10H9v-4H5v4zm10 0v-4q0-.825.588-1.412T15 11h4V9h-6V7h6q.825 0 1.413.588T21 9v2q0 .825-.587 1.413T19 13h-4v2h6v2z"})}))}),{className:"text-xl"}),3:(0,r.jsx)((function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M3 17V7h2v4h4V7h2v10H9v-4H5v4zm10 0v-2h6v-2h-4v-2h4V9h-6V7h6q.825 0 1.413.588T21 9v6q0 .825-.587 1.413T19 17z"})}))}),{className:"text-xl"}),4:(0,r.jsx)((function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M3 17V7h2v4h4V7h2v10H9v-4H5v4zm15 0v-3h-5V7h2v5h3V7h2v5h2v2h-2v3z"})}))}),{className:"text-xl"}),5:(0,r.jsx)((function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M3 17V7h2v4h4V7h2v10H9v-4H5v4zm10 0v-2h6v-2h-6V7h8v2h-6v2h4q.825 0 1.413.588T21 13v2q0 .825-.587 1.413T19 17z"})}))}),{className:"text-xl"}),6:(0,r.jsx)((function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M3 17V7h2v4h4V7h2v10H9v-4H5v4zm12 0q-.825 0-1.412-.587T13 15V9q0-.825.588-1.412T15 7h6v2h-6v2h4q.825 0 1.413.588T21 13v2q0 .825-.587 1.413T19 17zm0-4v2h4v-2z"})}))}),{className:"text-xl"})};function ua({editor:e}){return(0,r.jsx)(a.Select,{size:"small",options:ca,defaultValue:"paragraph",labelRender:function(){const t=function(){if(e.isActive("paragraph"))return"paragraph";const t=[1,2,3,4,5,6];for(const n of t)if(e.isActive("heading",{level:n}))return n;return"paragraph"}();return(0,r.jsx)(r.Fragment,{children:pa[t]})},optionRender:e=>function({label:e,value:t}){return(0,r.jsxs)(a.Flex,{align:"center",gap:4,children:[pa[t],e]})}(e.data),popupMatchSelectWidth:!1,onChange:function(t){"paragraph"===t?e.chain().focus().setParagraph().run():e.chain().focus().toggleHeading({level:Number(t)}).run()}})}const ha=function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"m8 18l-6-6l6-6l1.425 1.425l-4.6 4.6L9.4 16.6zm8 0l-1.425-1.425l4.6-4.6L14.6 7.4L16 6l6 6z"})}))},ma=function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M5.59 3.41L7 4.82L3.82 8L7 11.18L5.59 12.6L1 8zm5.82 0L16 8l-4.59 4.6L10 11.18L13.18 8L10 4.82zM22 6v12c0 1.11-.89 2-2 2H4a2 2 0 0 1-2-2v-4h2v4h16V6h-2.97V4H20c1.11 0 2 .89 2 2"})}))},ba=function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M5.7 18L8 14q-1.65 0-2.825-1.175T4 10t1.175-2.825T8 6t2.825 1.175T12 10q0 .575-.137 1.063T11.45 12L8 18zm9 0l2.3-4q-1.65 0-2.825-1.175T13 10t1.175-2.825T17 6t2.825 1.175T21 10q0 .575-.137 1.063T20.45 12L17 18z"})}))},fa=function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M4 13v-2h16v2z"})}))};function wa({editor:e}){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.Button,{type:"text",size:"small",icon:(0,r.jsx)(ha,{className:"text-xl"}),onClick:()=>e.chain().focus().toggleCode().run(),disabled:!e.can().chain().focus().toggleCode().run(),className:e.isActive("code")?"bg-blue-5 text-white":""}),(0,r.jsx)(a.Button,{type:"text",size:"small",icon:(0,r.jsx)(ma,{className:"text-xl"}),onClick:()=>e.chain().focus().toggleCodeBlock().run(),className:e.isActive("codeBlock")?"bg-blue-5 text-white":""}),(0,r.jsx)(a.Button,{type:"text",size:"small",icon:(0,r.jsx)(ba,{className:"text-xl"}),onClick:()=>e.chain().focus().toggleBlockquote().run(),className:e.isActive("blockquote")?"bg-blue-5 text-white":""}),(0,r.jsx)(a.Button,{type:"text",size:"small",className:"",icon:(0,r.jsx)(fa,{className:"text-xl"}),onClick:()=>e.chain().focus().setHorizontalRule().run()})]})}const ga=[{label:"标题1",value:"1"},{label:"标题2",value:"2"},{label:"标题3",value:"3"},{label:"标题4",value:"4"},{label:"标题5",value:"5"},{label:"标题6",value:"6"}];function ya({className:e}){const{editor:t}=(0,$o.useCurrentEditor)();return t?(0,r.jsx)($o.FloatingMenu,{editor:t,tippyOptions:{placement:"top-start"},children:(0,r.jsxs)(a.Flex,{gap:4,align:"center",className:`rounded-md p-1 bg-white border border-gray-200 shadow-sm pr-2 ${e}`,children:[ga.map((({value:e})=>(0,r.jsx)(a.Button,{type:"text",size:"small",icon:pa[e],onClick:()=>t.chain().focus().toggleHeading({level:Number(e)}).run(),className:t.isActive("heading",{level:Number(e)})?"bg-blue-5 text-white":""},e))),(0,r.jsx)(a.Divider,{type:"vertical",className:"h-4 border-gray-300"}),(0,r.jsx)(wa,{editor:t}),(0,r.jsx)(a.Divider,{type:"vertical",className:"h-4 border-gray-300"}),(0,r.jsx)(aa,{editor:t}),(0,r.jsx)(sa,{editor:t}),(0,r.jsx)(da,{editor:t})]})}):null}const xa=function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M9.9 19q-2.425 0-4.163-1.575T4 13.5q0-2.35 1.738-3.925T9.9 8h6.3l-2.6-2.6L15 4l5 5l-5 5l-1.4-1.4l2.6-2.6H9.9q-1.575 0-2.738 1T6 13.5Q6 15 7.163 16T9.9 17H17v2z"})}))},va=function(e){return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M7 19v-2h7.1q1.575 0 2.738-1T18 13.5q0-1.5-1.162-2.5T14.1 10H7.8l2.6 2.6L9 14L4 9l5-5l1.4 1.4L7.8 8h6.3q2.425 0 4.163 1.575T20 13.5q0 2.35-1.737 3.925T14.1 19z"})}))};function ja({editor:e}){const t=!e.can().chain().focus().undo().run(),n=!e.can().chain().focus().redo().run();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.Button,{type:"text",size:"small",disabled:t,icon:(0,r.jsx)(va,{className:"text-xl "}),onClick:()=>e.chain().focus().undo().run()}),(0,r.jsx)(a.Button,{size:"small",type:"text",disabled:n,icon:(0,r.jsx)(xa,{className:"text-xl "}),onClick:()=>e.chain().focus().redo().run()})]})}const ka=(0,v.forwardRef)((function(e,t){const{editor:n}=(0,$o.useCurrentEditor)();return(0,v.useImperativeHandle)(t,(()=>({getContent:()=>n?n.getHTML():""}))),n?(0,r.jsxs)(a.Flex,{gap:8,wrap:!0,align:"center",className:`p-2 border border-gray-300 mb-4 sticky z-10 bg-white ${e.className}`,children:[(0,r.jsx)(ja,{editor:n}),(0,r.jsx)(a.Divider,{type:"vertical",className:"h-4 border-gray-300"}),(0,r.jsx)(Lr,{editor:n}),(0,r.jsx)(a.Divider,{type:"vertical",className:"h-4 border-gray-300"}),(0,r.jsx)(ua,{editor:n}),(0,r.jsx)(a.Divider,{type:"vertical",className:"h-4 border-gray-300"}),(0,r.jsx)(Rr,{editor:n}),(0,r.jsx)(a.Divider,{type:"vertical",className:"h-4 border-gray-300"}),(0,r.jsx)(Xr,{editor:n}),(0,r.jsx)(a.Divider,{type:"vertical",className:"h-4 border-gray-300"}),(0,r.jsx)(wa,{editor:n}),(0,r.jsx)($r,{editor:n}),(0,r.jsx)(a.Divider,{type:"vertical",className:"h-4 border-gray-300"}),(0,r.jsx)(aa,{editor:n}),(0,r.jsx)(sa,{editor:n}),(0,r.jsx)(da,{editor:n})]}):null})),Na=(0,v.forwardRef)((function(e,t){const{editor:n}=(0,$o.useCurrentEditor)();return(0,v.useImperativeHandle)(t,(()=>({getContent:()=>n?n.getHTML():""}))),(0,r.jsx)(r.Fragment,{})}));var Aa=n(383),za={};za.styleTagTransform=w(),za.setAttributes=h(),za.insert=p().bind(null,"head"),za.domAPI=d(),za.insertStyleElement=b(),s()(Aa.A,za),Aa.A&&Aa.A.locals&&Aa.A.locals;var Ea=n(311),Ca={};Ca.styleTagTransform=w(),Ca.setAttributes=h(),Ca.insert=p().bind(null,"head"),Ca.domAPI=d(),Ca.insertStyleElement=b(),s()(Ea.A,Ca),Ea.A&&Ea.A.locals&&Ea.A.locals;var Sa=n(512),Ma={};Ma.styleTagTransform=w(),Ma.setAttributes=h(),Ma.insert=p().bind(null,"head"),Ma.domAPI=d(),Ma.insertStyleElement=b(),s()(Sa.A,Ma),Sa.A&&Sa.A.locals&&Sa.A.locals;const Ba=(0,v.forwardRef)((function({content:e,classNames:t},n){const o=(0,v.useRef)(null);return(0,v.useImperativeHandle)(n,(()=>({getContent:()=>o.current?o.current.getContent():""}))),(0,r.jsx)("div",{className:"tiptap-container",children:(0,r.jsxs)($o.EditorProvider,{immediatelyRender:!1,content:e,extensions:Zr,slotBefore:(0,r.jsx)(ka,{className:null==t?void 0:t.fixedMenu}),editorContainerProps:{className:`prose max-w-none p-4 border border-gray-300 min-h-[20rem] ${null==t?void 0:t.editorContainer}`},children:[(0,r.jsx)(Na,{ref:o}),(0,r.jsx)(ta,{className:null==t?void 0:t.bubbleMenu}),(0,r.jsx)(na,{className:null==t?void 0:t.linkFloatingMenu}),(0,r.jsx)(ya,{className:null==t?void 0:t.paragraphFloatingMenu})]})})}));function Wa({content:e}){return(0,r.jsx)("div",{className:"tiptap-container",children:(0,r.jsx)($o.EditorProvider,{immediatelyRender:!1,editable:!1,content:e,extensions:Or,parseOptions:{preserveWhitespace:"full"},editorContainerProps:{className:"prose max-w-none"}})})}var Ka=exports;for(var Za in o)Ka[Za]=o[Za];o.__esModule&&Object.defineProperty(Ka,"__esModule",{value:!0})})();
|
|
1
|
+
(()=>{"use strict";var e={868:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".zjlab-fe-data-hub-ui-default-drag-area {margin-bottom: 1.25rem;display: flex;flex-direction: column;align-items: center;justify-content: center;gap: 1rem;border-radius: 10px;border-width: 1px;border-style: dashed;border-color: rgb(23 117 254 / 0.4);padding-top: 1rem;padding-bottom: 1rem\n}.zjlab-fe-data-hub-ui-default-drag-area:hover {--tw-border-opacity: 1;border-color: rgb(23 117 254 / var(--tw-border-opacity))\n}",""]);const s=i},884:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,'@layer tailwind-base, antd;.zjlab-fe-data-hub-ui-file-uploader .prose{\ncolor: var(--tw-prose-body);\nmax-width: 65ch;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 1.25em;\nmargin-bottom: 1.25em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-lead);\nfont-size: 1.25em;\nline-height: 1.6;\nmargin-top: 1.2em;\nmargin-bottom: 1.2em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-links);\ntext-decoration: underline;\nfont-weight: 500;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-bold);\nfont-weight: 600;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: decimal;\nmargin-top: 1.25em;\nmargin-bottom: 1.25em;\npadding-inline-start: 1.625em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: upper-alpha;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: lower-alpha;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: upper-alpha;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: lower-alpha;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: upper-roman;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: lower-roman;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: upper-roman;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: lower-roman;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: decimal;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: disc;\nmargin-top: 1.25em;\nmargin-bottom: 1.25em;\npadding-inline-start: 1.625em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker{\nfont-weight: 400;\ncolor: var(--tw-prose-counters);}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker{\ncolor: var(--tw-prose-bullets);}.zjlab-fe-data-hub-ui-file-uploader .prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 600;\nmargin-top: 1.25em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-color: var(--tw-prose-hr);\nborder-top-width: 1px;\nmargin-top: 3em;\nmargin-bottom: 3em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 500;\nfont-style: italic;\ncolor: var(--tw-prose-quotes);\nborder-inline-start-width: 0.25rem;\nborder-inline-start-color: var(--tw-prose-quote-borders);\nquotes: "\\201C""\\201D""\\2018""\\2019";\nmargin-top: 1.6em;\nmargin-bottom: 1.6em;\npadding-inline-start: 1em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\ncontent: open-quote;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\ncontent: close-quote;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 800;\nfont-size: 2.25em;\nmargin-top: 0;\nmargin-bottom: 0.8888889em;\nline-height: 1.1111111;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 900;\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 700;\nfont-size: 1.5em;\nmargin-top: 2em;\nmargin-bottom: 1em;\nline-height: 1.3333333;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 800;\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 600;\nfont-size: 1.25em;\nmargin-top: 1.6em;\nmargin-bottom: 0.6em;\nline-height: 1.6;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 700;\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 600;\nmargin-top: 1.5em;\nmargin-bottom: 0.5em;\nline-height: 1.5;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 700;\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 2em;\nmargin-bottom: 2em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ndisplay: block;\nmargin-top: 2em;\nmargin-bottom: 2em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 2em;\nmargin-bottom: 2em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 500;\nfont-family: inherit;\ncolor: var(--tw-prose-kbd);\nbox-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);\nfont-size: 0.875em;\nborder-radius: 0.3125rem;\npadding-top: 0.1875em;\npadding-inline-end: 0.375em;\npadding-bottom: 0.1875em;\npadding-inline-start: 0.375em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-code);\nfont-weight: 600;\nfont-size: 0.875em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\ncontent: "`";}.zjlab-fe-data-hub-ui-file-uploader .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\ncontent: "`";}.zjlab-fe-data-hub-ui-file-uploader .prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;\nfont-size: 0.875em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;\nfont-size: 0.9em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-pre-code);\nbackground-color: var(--tw-prose-pre-bg);\noverflow-x: auto;\nfont-weight: 400;\nfont-size: 0.875em;\nline-height: 1.7142857;\nmargin-top: 1.7142857em;\nmargin-bottom: 1.7142857em;\nborder-radius: 0.375rem;\npadding-top: 0.8571429em;\npadding-inline-end: 1.1428571em;\npadding-bottom: 0.8571429em;\npadding-inline-start: 1.1428571em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nbackground-color: transparent;\nborder-width: 0;\nborder-radius: 0;\npadding: 0;\nfont-weight: inherit;\ncolor: inherit;\nfont-size: inherit;\nfont-family: inherit;\nline-height: inherit;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\ncontent: none;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\ncontent: none;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nwidth: 100%;\ntable-layout: auto;\nmargin-top: 2em;\nmargin-bottom: 2em;\nfont-size: 0.875em;\nline-height: 1.7142857;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-bottom-width: 1px;\nborder-bottom-color: var(--tw-prose-th-borders);}.zjlab-fe-data-hub-ui-file-uploader .prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 600;\nvertical-align: bottom;\npadding-inline-end: 0.5714286em;\npadding-bottom: 0.5714286em;\npadding-inline-start: 0.5714286em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-bottom-width: 1px;\nborder-bottom-color: var(--tw-prose-td-borders);}.zjlab-fe-data-hub-ui-file-uploader .prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-bottom-width: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nvertical-align: baseline;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-top-width: 1px;\nborder-top-color: var(--tw-prose-th-borders);}.zjlab-fe-data-hub-ui-file-uploader .prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nvertical-align: top;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ntext-align: start;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;\nmargin-bottom: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-captions);\nfont-size: 0.875em;\nline-height: 1.4285714;\nmargin-top: 0.8571429em;}.zjlab-fe-data-hub-ui-file-uploader .prose{\n--tw-prose-body: #374151;\n--tw-prose-headings: #111827;\n--tw-prose-lead: #4b5563;\n--tw-prose-links: #111827;\n--tw-prose-bold: #111827;\n--tw-prose-counters: #6b7280;\n--tw-prose-bullets: #d1d5db;\n--tw-prose-hr: #e5e7eb;\n--tw-prose-quotes: #111827;\n--tw-prose-quote-borders: #e5e7eb;\n--tw-prose-captions: #6b7280;\n--tw-prose-kbd: #111827;\n--tw-prose-kbd-shadows: 17 24 39;\n--tw-prose-code: #111827;\n--tw-prose-pre-code: #e5e7eb;\n--tw-prose-pre-bg: #1f2937;\n--tw-prose-th-borders: #d1d5db;\n--tw-prose-td-borders: #e5e7eb;\n--tw-prose-invert-body: #d1d5db;\n--tw-prose-invert-headings: #fff;\n--tw-prose-invert-lead: #9ca3af;\n--tw-prose-invert-links: #fff;\n--tw-prose-invert-bold: #fff;\n--tw-prose-invert-counters: #9ca3af;\n--tw-prose-invert-bullets: #4b5563;\n--tw-prose-invert-hr: #374151;\n--tw-prose-invert-quotes: #f3f4f6;\n--tw-prose-invert-quote-borders: #374151;\n--tw-prose-invert-captions: #9ca3af;\n--tw-prose-invert-kbd: #fff;\n--tw-prose-invert-kbd-shadows: 255 255 255;\n--tw-prose-invert-code: #fff;\n--tw-prose-invert-pre-code: #d1d5db;\n--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);\n--tw-prose-invert-th-borders: #4b5563;\n--tw-prose-invert-td-borders: #374151;\nfont-size: 1rem;\nline-height: 1.75;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;\nmargin-bottom: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0.5em;\nmargin-bottom: 0.5em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-start: 0.375em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-start: 0.375em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0.75em;\nmargin-bottom: 0.75em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 1.25em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-bottom: 1.25em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 1.25em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-bottom: 1.25em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0.75em;\nmargin-bottom: 0.75em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 1.25em;\nmargin-bottom: 1.25em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0.5em;\npadding-inline-start: 1.625em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-start: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-end: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-top: 0.5714286em;\npadding-inline-end: 0.5714286em;\npadding-bottom: 0.5714286em;\npadding-inline-start: 0.5714286em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-start: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-end: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 2em;\nmargin-bottom: 2em;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.zjlab-fe-data-hub-ui-file-uploader .prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-bottom: 0;}.zjlab-fe-data-hub-ui-file-uploader .absolute{\nposition: absolute;}.zjlab-fe-data-hub-ui-file-uploader .relative{\nposition: relative;}.zjlab-fe-data-hub-ui-file-uploader .sticky{\nposition: sticky;}.zjlab-fe-data-hub-ui-file-uploader .right-0{\nright: 0px;}.zjlab-fe-data-hub-ui-file-uploader .z-10{\nz-index: 10;}.zjlab-fe-data-hub-ui-file-uploader .m-0{\nmargin: 0px;}.zjlab-fe-data-hub-ui-file-uploader .m-1{\nmargin: 0.25rem;}.zjlab-fe-data-hub-ui-file-uploader .my-2{\nmargin-top: 0.5rem;\nmargin-bottom: 0.5rem;}.zjlab-fe-data-hub-ui-file-uploader .my-2\\.5{\nmargin-top: 0.625rem;\nmargin-bottom: 0.625rem;}.zjlab-fe-data-hub-ui-file-uploader .my-4{\nmargin-top: 1rem;\nmargin-bottom: 1rem;}.zjlab-fe-data-hub-ui-file-uploader .mb-0{\nmargin-bottom: 0px;}.zjlab-fe-data-hub-ui-file-uploader .mb-2{\nmargin-bottom: 0.5rem;}.zjlab-fe-data-hub-ui-file-uploader .mb-4{\nmargin-bottom: 1rem;}.zjlab-fe-data-hub-ui-file-uploader .mb-5{\nmargin-bottom: 1.25rem;}.zjlab-fe-data-hub-ui-file-uploader .mr-1{\nmargin-right: 0.25rem;}.zjlab-fe-data-hub-ui-file-uploader .mt-20{\nmargin-top: 5rem;}.zjlab-fe-data-hub-ui-file-uploader .mt-4{\nmargin-top: 1rem;}.zjlab-fe-data-hub-ui-file-uploader .block{\ndisplay: block;}.zjlab-fe-data-hub-ui-file-uploader .\\!inline{\ndisplay: inline !important;}.zjlab-fe-data-hub-ui-file-uploader .inline{\ndisplay: inline;}.zjlab-fe-data-hub-ui-file-uploader .flex{\ndisplay: flex;}.zjlab-fe-data-hub-ui-file-uploader .table{\ndisplay: table;}.zjlab-fe-data-hub-ui-file-uploader .flow-root{\ndisplay: flow-root;}.zjlab-fe-data-hub-ui-file-uploader .hidden{\ndisplay: none;}.zjlab-fe-data-hub-ui-file-uploader .h-4{\nheight: 1rem;}.zjlab-fe-data-hub-ui-file-uploader .h-5{\nheight: 1.25rem;}.zjlab-fe-data-hub-ui-file-uploader .h-6{\nheight: 1.5rem;}.zjlab-fe-data-hub-ui-file-uploader .h-8{\nheight: 2rem;}.zjlab-fe-data-hub-ui-file-uploader .h-auto{\nheight: auto;}.zjlab-fe-data-hub-ui-file-uploader .max-h-72{\nmax-height: 18rem;}.zjlab-fe-data-hub-ui-file-uploader .min-h-\\[20rem\\]{\nmin-height: 20rem;}.zjlab-fe-data-hub-ui-file-uploader .w-4{\nwidth: 1rem;}.zjlab-fe-data-hub-ui-file-uploader .w-40{\nwidth: 10rem;}.zjlab-fe-data-hub-ui-file-uploader .w-5{\nwidth: 1.25rem;}.zjlab-fe-data-hub-ui-file-uploader .w-6{\nwidth: 1.5rem;}.zjlab-fe-data-hub-ui-file-uploader .max-w-96{\nmax-width: 24rem;}.zjlab-fe-data-hub-ui-file-uploader .max-w-none{\nmax-width: none;}.zjlab-fe-data-hub-ui-file-uploader .flex-shrink-0{\nflex-shrink: 0;}.zjlab-fe-data-hub-ui-file-uploader .cursor-pointer{\ncursor: pointer;}.zjlab-fe-data-hub-ui-file-uploader .items-center{\nalign-items: center;}.zjlab-fe-data-hub-ui-file-uploader .justify-center{\njustify-content: center;}.zjlab-fe-data-hub-ui-file-uploader .justify-between{\njustify-content: space-between;}.zjlab-fe-data-hub-ui-file-uploader .gap-1{\ngap: 0.25rem;}.zjlab-fe-data-hub-ui-file-uploader .gap-4{\ngap: 1rem;}.zjlab-fe-data-hub-ui-file-uploader .overflow-y-auto{\noverflow-y: auto;}.zjlab-fe-data-hub-ui-file-uploader .truncate{\noverflow: hidden;\ntext-overflow: ellipsis;\nwhite-space: nowrap;}.zjlab-fe-data-hub-ui-file-uploader .rounded{\nborder-radius: 0.25rem;}.zjlab-fe-data-hub-ui-file-uploader .rounded-md{\nborder-radius: 0.375rem;}.zjlab-fe-data-hub-ui-file-uploader .border{\nborder-width: 1px;}.zjlab-fe-data-hub-ui-file-uploader .border-solid{\nborder-style: solid;}.zjlab-fe-data-hub-ui-file-uploader .border-dashed{\nborder-style: dashed;}.zjlab-fe-data-hub-ui-file-uploader .border-\\[\\#1775FE\\]{\n--tw-border-opacity: 1;\nborder-color: rgb(23 117 254 / var(--tw-border-opacity));}.zjlab-fe-data-hub-ui-file-uploader .border-gray-200{\n--tw-border-opacity: 1;\nborder-color: rgb(229 231 235 / var(--tw-border-opacity));}.zjlab-fe-data-hub-ui-file-uploader .border-gray-3{\n--tw-border-opacity: 1;\nborder-color: rgb(217 224 237 / var(--tw-border-opacity));}.zjlab-fe-data-hub-ui-file-uploader .border-gray-300{\n--tw-border-opacity: 1;\nborder-color: rgb(209 213 219 / var(--tw-border-opacity));}.zjlab-fe-data-hub-ui-file-uploader .border-green-600{\n--tw-border-opacity: 1;\nborder-color: rgb(22 163 74 / var(--tw-border-opacity));}.zjlab-fe-data-hub-ui-file-uploader .bg-\\[\\#F5F7FA\\]{\n--tw-bg-opacity: 1;\nbackground-color: rgb(245 247 250 / var(--tw-bg-opacity));}.zjlab-fe-data-hub-ui-file-uploader .bg-blue-5{\n--tw-bg-opacity: 1;\nbackground-color: rgb(23 117 254 / var(--tw-bg-opacity));}.zjlab-fe-data-hub-ui-file-uploader .bg-gray-50{\n--tw-bg-opacity: 1;\nbackground-color: rgb(249 250 251 / var(--tw-bg-opacity));}.zjlab-fe-data-hub-ui-file-uploader .bg-white{\n--tw-bg-opacity: 1;\nbackground-color: rgb(255 255 255 / var(--tw-bg-opacity));}.zjlab-fe-data-hub-ui-file-uploader .p-1{\npadding: 0.25rem;}.zjlab-fe-data-hub-ui-file-uploader .p-2{\npadding: 0.5rem;}.zjlab-fe-data-hub-ui-file-uploader .p-4{\npadding: 1rem;}.zjlab-fe-data-hub-ui-file-uploader .px-3{\npadding-left: 0.75rem;\npadding-right: 0.75rem;}.zjlab-fe-data-hub-ui-file-uploader .px-4{\npadding-left: 1rem;\npadding-right: 1rem;}.zjlab-fe-data-hub-ui-file-uploader .pr-2{\npadding-right: 0.5rem;}.zjlab-fe-data-hub-ui-file-uploader .text-center{\ntext-align: center;}.zjlab-fe-data-hub-ui-file-uploader .text-2xl{\nfont-size: 1.5rem;\nline-height: 2rem;}.zjlab-fe-data-hub-ui-file-uploader .text-5xl{\nfont-size: 3rem;\nline-height: 1;}.zjlab-fe-data-hub-ui-file-uploader .text-base{\nfont-size: 1rem;\nline-height: 1.5rem;}.zjlab-fe-data-hub-ui-file-uploader .text-sm{\nfont-size: 0.875rem;\nline-height: 1.25rem;}.zjlab-fe-data-hub-ui-file-uploader .text-xl{\nfont-size: 1.25rem;\nline-height: 1.75rem;}.zjlab-fe-data-hub-ui-file-uploader .italic{\nfont-style: italic;}.zjlab-fe-data-hub-ui-file-uploader .text-gray-5{\n--tw-text-opacity: 1;\ncolor: rgb(135 144 158 / var(--tw-text-opacity));}.zjlab-fe-data-hub-ui-file-uploader .text-gray-7{\n--tw-text-opacity: 1;\ncolor: rgb(84 91 100 / var(--tw-text-opacity));}.zjlab-fe-data-hub-ui-file-uploader .text-green-600{\n--tw-text-opacity: 1;\ncolor: rgb(22 163 74 / var(--tw-text-opacity));}.zjlab-fe-data-hub-ui-file-uploader .text-green-green{\n--tw-text-opacity: 1;\ncolor: rgb(83 195 27 / var(--tw-text-opacity));}.zjlab-fe-data-hub-ui-file-uploader .text-red-600{\n--tw-text-opacity: 1;\ncolor: rgb(220 38 38 / var(--tw-text-opacity));}.zjlab-fe-data-hub-ui-file-uploader .text-red-red{\n--tw-text-opacity: 1;\ncolor: rgb(254 77 79 / var(--tw-text-opacity));}.zjlab-fe-data-hub-ui-file-uploader .text-white{\n--tw-text-opacity: 1;\ncolor: rgb(255 255 255 / var(--tw-text-opacity));}.zjlab-fe-data-hub-ui-file-uploader .text-yellow-500{\n--tw-text-opacity: 1;\ncolor: rgb(234 179 8 / var(--tw-text-opacity));}.zjlab-fe-data-hub-ui-file-uploader .underline{\ntext-decoration-line: underline;}.zjlab-fe-data-hub-ui-file-uploader .opacity-0{\nopacity: 0;}.zjlab-fe-data-hub-ui-file-uploader .shadow-sm{\n--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);\nbox-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);}.zjlab-fe-data-hub-ui-file-uploader .filter{\nfilter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);}.zjlab-fe-data-hub-ui-file-uploader .transition-opacity{\ntransition-property: opacity;\ntransition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\ntransition-duration: 150ms;}.zjlab-fe-data-hub-ui-file-uploader .transition-transform{\ntransition-property: transform;\ntransition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\ntransition-duration: 150ms;}@layer tailwind-base{.zjlab-fe-data-hub-ui-file-uploader *, .zjlab-fe-data-hub-ui-file-uploader ::before, .zjlab-fe-data-hub-ui-file-uploader ::after{\n--tw-border-spacing-x: 0;\n--tw-border-spacing-y: 0;\n--tw-translate-x: 0;\n--tw-translate-y: 0;\n--tw-rotate: 0;\n--tw-skew-x: 0;\n--tw-skew-y: 0;\n--tw-scale-x: 1;\n--tw-scale-y: 1;\n--tw-pan-x: ;\n--tw-pan-y: ;\n--tw-pinch-zoom: ;\n--tw-scroll-snap-strictness: proximity;\n--tw-gradient-from-position: ;\n--tw-gradient-via-position: ;\n--tw-gradient-to-position: ;\n--tw-ordinal: ;\n--tw-slashed-zero: ;\n--tw-numeric-figure: ;\n--tw-numeric-spacing: ;\n--tw-numeric-fraction: ;\n--tw-ring-inset: ;\n--tw-ring-offset-width: 0px;\n--tw-ring-offset-color: #fff;\n--tw-ring-color: rgb(59 130 246 / 0.5);\n--tw-ring-offset-shadow: 0 0 #0000;\n--tw-ring-shadow: 0 0 #0000;\n--tw-shadow: 0 0 #0000;\n--tw-shadow-colored: 0 0 #0000;\n--tw-blur: ;\n--tw-brightness: ;\n--tw-contrast: ;\n--tw-grayscale: ;\n--tw-hue-rotate: ;\n--tw-invert: ;\n--tw-saturate: ;\n--tw-sepia: ;\n--tw-drop-shadow: ;\n--tw-backdrop-blur: ;\n--tw-backdrop-brightness: ;\n--tw-backdrop-contrast: ;\n--tw-backdrop-grayscale: ;\n--tw-backdrop-hue-rotate: ;\n--tw-backdrop-invert: ;\n--tw-backdrop-opacity: ;\n--tw-backdrop-saturate: ;\n--tw-backdrop-sepia: ;\n--tw-contain-size: ;\n--tw-contain-layout: ;\n--tw-contain-paint: ;\n--tw-contain-style: ;}.zjlab-fe-data-hub-ui-file-uploader ::backdrop{\n--tw-border-spacing-x: 0;\n--tw-border-spacing-y: 0;\n--tw-translate-x: 0;\n--tw-translate-y: 0;\n--tw-rotate: 0;\n--tw-skew-x: 0;\n--tw-skew-y: 0;\n--tw-scale-x: 1;\n--tw-scale-y: 1;\n--tw-pan-x: ;\n--tw-pan-y: ;\n--tw-pinch-zoom: ;\n--tw-scroll-snap-strictness: proximity;\n--tw-gradient-from-position: ;\n--tw-gradient-via-position: ;\n--tw-gradient-to-position: ;\n--tw-ordinal: ;\n--tw-slashed-zero: ;\n--tw-numeric-figure: ;\n--tw-numeric-spacing: ;\n--tw-numeric-fraction: ;\n--tw-ring-inset: ;\n--tw-ring-offset-width: 0px;\n--tw-ring-offset-color: #fff;\n--tw-ring-color: rgb(59 130 246 / 0.5);\n--tw-ring-offset-shadow: 0 0 #0000;\n--tw-ring-shadow: 0 0 #0000;\n--tw-shadow: 0 0 #0000;\n--tw-shadow-colored: 0 0 #0000;\n--tw-blur: ;\n--tw-brightness: ;\n--tw-contrast: ;\n--tw-grayscale: ;\n--tw-hue-rotate: ;\n--tw-invert: ;\n--tw-saturate: ;\n--tw-sepia: ;\n--tw-drop-shadow: ;\n--tw-backdrop-blur: ;\n--tw-backdrop-brightness: ;\n--tw-backdrop-contrast: ;\n--tw-backdrop-grayscale: ;\n--tw-backdrop-hue-rotate: ;\n--tw-backdrop-invert: ;\n--tw-backdrop-opacity: ;\n--tw-backdrop-saturate: ;\n--tw-backdrop-sepia: ;\n--tw-contain-size: ;\n--tw-contain-layout: ;\n--tw-contain-paint: ;\n--tw-contain-style: ;}/*\n! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com\n*//*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader *,\n.zjlab-fe-data-hub-ui-file-uploader ::before,\n.zjlab-fe-data-hub-ui-file-uploader ::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n}\n\n.zjlab-fe-data-hub-ui-file-uploader ::before,\n.zjlab-fe-data-hub-ui-file-uploader ::after {\n --tw-content: \'\';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user\'s configured `sans` font-family by default.\n5. Use the user\'s configured `sans` font-feature-settings by default.\n6. Use the user\'s configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader html,\n.zjlab-fe-data-hub-ui-file-uploader :host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: AlibabaPuHuiTi-3-55-RegularL3, ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader body {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader hr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader h1,\n.zjlab-fe-data-hub-ui-file-uploader h2,\n.zjlab-fe-data-hub-ui-file-uploader h3,\n.zjlab-fe-data-hub-ui-file-uploader h4,\n.zjlab-fe-data-hub-ui-file-uploader h5,\n.zjlab-fe-data-hub-ui-file-uploader h6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader a {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader b,\n.zjlab-fe-data-hub-ui-file-uploader strong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user\'s configured `mono` font-family by default.\n2. Use the user\'s configured `mono` font-feature-settings by default.\n3. Use the user\'s configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader code,\n.zjlab-fe-data-hub-ui-file-uploader kbd,\n.zjlab-fe-data-hub-ui-file-uploader samp,\n.zjlab-fe-data-hub-ui-file-uploader pre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader small {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader sub,\n.zjlab-fe-data-hub-ui-file-uploader sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\n.zjlab-fe-data-hub-ui-file-uploader sub {\n bottom: -0.25em;\n}\n\n.zjlab-fe-data-hub-ui-file-uploader sup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader table {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader button,\n.zjlab-fe-data-hub-ui-file-uploader input,\n.zjlab-fe-data-hub-ui-file-uploader optgroup,\n.zjlab-fe-data-hub-ui-file-uploader select,\n.zjlab-fe-data-hub-ui-file-uploader textarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader button,\n.zjlab-fe-data-hub-ui-file-uploader select {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader button,\n.zjlab-fe-data-hub-ui-file-uploader input:where([type=\'button\']),\n.zjlab-fe-data-hub-ui-file-uploader input:where([type=\'reset\']),\n.zjlab-fe-data-hub-ui-file-uploader input:where([type=\'submit\']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader :-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader :-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader progress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader ::-webkit-inner-spin-button,\n.zjlab-fe-data-hub-ui-file-uploader ::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader [type=\'search\'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader ::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader ::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader summary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader blockquote,\n.zjlab-fe-data-hub-ui-file-uploader dl,\n.zjlab-fe-data-hub-ui-file-uploader dd,\n.zjlab-fe-data-hub-ui-file-uploader h1,\n.zjlab-fe-data-hub-ui-file-uploader h2,\n.zjlab-fe-data-hub-ui-file-uploader h3,\n.zjlab-fe-data-hub-ui-file-uploader h4,\n.zjlab-fe-data-hub-ui-file-uploader h5,\n.zjlab-fe-data-hub-ui-file-uploader h6,\n.zjlab-fe-data-hub-ui-file-uploader hr,\n.zjlab-fe-data-hub-ui-file-uploader figure,\n.zjlab-fe-data-hub-ui-file-uploader p,\n.zjlab-fe-data-hub-ui-file-uploader pre {\n margin: 0;\n}\n\n.zjlab-fe-data-hub-ui-file-uploader fieldset {\n margin: 0;\n padding: 0;\n}\n\n.zjlab-fe-data-hub-ui-file-uploader legend {\n padding: 0;\n}\n\n.zjlab-fe-data-hub-ui-file-uploader ol,\n.zjlab-fe-data-hub-ui-file-uploader ul,\n.zjlab-fe-data-hub-ui-file-uploader menu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\n.zjlab-fe-data-hub-ui-file-uploader dialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader textarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user\'s configured gray 400 color.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader input::-moz-placeholder, .zjlab-fe-data-hub-ui-file-uploader textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\n.zjlab-fe-data-hub-ui-file-uploader input::placeholder,\n.zjlab-fe-data-hub-ui-file-uploader textarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader button,\n.zjlab-fe-data-hub-ui-file-uploader [role="button"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don\'t get the pointer cursor.\n*/\n.zjlab-fe-data-hub-ui-file-uploader :disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader img,\n.zjlab-fe-data-hub-ui-file-uploader svg,\n.zjlab-fe-data-hub-ui-file-uploader video,\n.zjlab-fe-data-hub-ui-file-uploader canvas,\n.zjlab-fe-data-hub-ui-file-uploader audio,\n.zjlab-fe-data-hub-ui-file-uploader iframe,\n.zjlab-fe-data-hub-ui-file-uploader embed,\n.zjlab-fe-data-hub-ui-file-uploader object {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\n.zjlab-fe-data-hub-ui-file-uploader img,\n.zjlab-fe-data-hub-ui-file-uploader video {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n.zjlab-fe-data-hub-ui-file-uploader [hidden] {\n display: none;\n}}@font-face{font-family:"AlibabaPuHuiTi-3-55-RegularL3";src:url("https://test-open-sci-datahub.zero2x.org/ossRoute/frontend/resources/fonts/alibaba_puhuiti_3/AlibabaPuHuiTi-3-55-RegularL3.ttf") format("truetype")}@font-face{font-family:"AlibabaPuHuiTi-3-65-Medium";src:url("https://test-open-sci-datahub.zero2x.org/ossRoute/frontend/resources/fonts/alibaba_puhuiti_3/AlibabaPuHuiTi-3-65-Medium.ttf") format("truetype")}.last\\:mb-0:last-child{\nmargin-bottom: 0px;}.hover\\:border-green-600:hover{\n--tw-border-opacity: 1;\nborder-color: rgb(22 163 74 / var(--tw-border-opacity));}.hover\\:bg-assist-bg-blue:hover{\n--tw-bg-opacity: 1;\nbackground-color: rgb(244 246 250 / var(--tw-bg-opacity));}.group:hover .group-hover\\:-translate-x-10{\n--tw-translate-x: -2.5rem;\ntransform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));}.group:hover .group-hover\\:-translate-x-6{\n--tw-translate-x: -1.5rem;\ntransform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));}.group:hover .group-hover\\:opacity-100{\nopacity: 1;}',""]);const s=i},915:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".zjlab-fe-data-hub-ui-modal .ant-modal-title,.zjlab-fe-data-hub-ui-modal .ant-modal-confirm-title {\n font-family: AlibabaPuHuiTi-3-65-Medium;\n font-size: 1.125rem;\n font-weight: 400;\n line-height: 1.5rem\n}",""]);const s=i},150:(e,t,n)=>{n.d(t,{Ay:()=>p,Og:()=>d,Rp:()=>c,_b:()=>l,cQ:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".QmFviLMZ5ad2m0mLbKkP{width:349px;height:280px;border-radius:10px 10px 10px 10px}.ZJu8EO9kRspWAqZAD0d_{background:linear-gradient(to top, #ffffff 0%, #f6f9fe 100%);border:1px solid #edf2fc;-o-border-image:linear-gradient(180deg, rgb(237, 242, 252)) 1 1;border-image:linear-gradient(180deg, rgb(237, 242, 252)) 1 1}.ZJu8EO9kRspWAqZAD0d_:hover{background:linear-gradient(to top, #ffffff 0%, #ecf4ff 100%);box-shadow:0px 8px 16px 0px rgba(7,35,76,.1);border:1px solid #afcfff;-o-border-image:linear-gradient(180deg, rgba(23, 117, 254, 0.6)) 1 1;border-image:linear-gradient(180deg, rgba(23, 117, 254, 0.6)) 1 1}.KS7Y4rDVUCfP7qjdPZap{background:linear-gradient(to top, #ffffff 0%, #f7f5ff 100%);border:1px solid #ebe6ff;-o-border-image:linear-gradient(180deg, rgb(236, 231, 255)) 1 1;border-image:linear-gradient(180deg, rgb(236, 231, 255)) 1 1}.KS7Y4rDVUCfP7qjdPZap:hover{background:linear-gradient(to top, #ffffff 0%, #e3dcff 100%);box-shadow:0px 8px 16px 0px rgba(40,23,92,.1);border:1px solid #c5b4ff;-o-border-image:linear-gradient(180deg, rgba(114, 68, 255, 0.6)) 1 1;border-image:linear-gradient(180deg, rgba(114, 68, 255, 0.6)) 1 1}.mZ5nSrfxkgv2ivcg_v21{width:472px;height:148px;border-radius:10px 10px 10px 10px;position:relative}",""]);var s="QmFviLMZ5ad2m0mLbKkP",l="ZJu8EO9kRspWAqZAD0d_",d="KS7Y4rDVUCfP7qjdPZap",c="mZ5nSrfxkgv2ivcg_v21";const p=i},100:(e,t,n)=>{n.d(t,{Ay:()=>d,DE:()=>l,wm:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,'@font-face{font-family:"AlibabaPuHuiTi-3-45-Light";src:url("https://test-open-sci-datahub.zero2x.org/ossRoute/frontend/resources/fonts/alibaba_puhuiti_3/AlibabaPuHuiTi-3-45-Light.ttf") format("truetype")}@font-face{font-family:"AlibabaPuHuiTi-3-75-SemiBold";src:url("https://test-open-sci-datahub.zero2x.org/ossRoute/frontend/resources/fonts/alibaba_puhuiti_3/AlibabaPuHuiTi-3-75-SemiBold.ttf") format("truetype")}.EybT8LL35ZAAECD9qKQX .ant-modal-content{padding:0 24px}.EybT8LL35ZAAECD9qKQX .ant-modal-title{padding-top:50px;font-family:"AlibabaPuHuiTi-3-75-SemiBold";font-weight:normal;font-size:16px;color:#222427;line-height:1.5;text-align:center;font-style:normal;text-transform:none}.EybT8LL35ZAAECD9qKQX .ant-modal-body{font-family:"AlibabaPuHuiTi-3-45-Light";font-weight:normal;font-size:12px;color:#545b64;line-height:14px;text-align:center;font-style:normal;text-transform:none}.EybT8LL35ZAAECD9qKQX .ant-modal-footer{text-align:center;padding:16px 0}.F2kZbP7G9NKG9lg8O_b1 .ant-modal-content{padding:0 24px}.F2kZbP7G9NKG9lg8O_b1 .ant-modal-body{text-align:center}.F2kZbP7G9NKG9lg8O_b1 .ant-modal-confirm-title{padding-top:50px;font-family:"AlibabaPuHuiTi-3-75-SemiBold";font-weight:normal;font-size:16px;color:#222427;line-height:1.5;text-align:center;font-style:normal;text-transform:none}.F2kZbP7G9NKG9lg8O_b1 .ant-modal-confirm-content{font-family:"AlibabaPuHuiTi-3-45-Light";font-weight:normal;font-size:12px;color:#545b64;line-height:14px;text-align:center;font-style:normal;text-transform:none}.F2kZbP7G9NKG9lg8O_b1 .ant-modal-confirm-btns{text-align:center;padding:16px 0}',""]);var s="EybT8LL35ZAAECD9qKQX",l="F2kZbP7G9NKG9lg8O_b1";const d=i},860:(e,t,n)=>{n.d(t,{A:()=>l,K:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,'.aTTl5tM6IlquA6EPUX_w{font-family:"hub-iconfont";color:#545b64;font-size:12px;cursor:pointer}.aTTl5tM6IlquA6EPUX_w:hover{color:#1775fe}',""]);var s="aTTl5tM6IlquA6EPUX_w";const l=i},328:(e,t,n)=>{n.d(t,{Ay:()=>u,Hn:()=>l,P_:()=>d,UA:()=>p,X$:()=>c,tp:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".eKExJAv72oIPXwTqwpgU td{border-top:none !important;border-left:none !important;border-right:none !important}.eKExJAv72oIPXwTqwpgU th.ant-table-cell{height:55px;padding:5px 16px !important}.eKExJAv72oIPXwTqwpgU td.ant-table-cell{padding:5px 16px !important;font-size:14px;line-height:22px;letter-spacing:0}.eKExJAv72oIPXwTqwpgU div{scrollbar-width:thin;scrollbar-color:#eaeaea rgba(0,0,0,0);box-sizing:border-box}.SJWFZYuxuri8ceYzxmsV{display:flex;flex-direction:column;justify-content:center}.SJWFZYuxuri8ceYzxmsV .CDb4Loro5cBpX56QzatH{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-all;box-sizing:border-box}.SJWFZYuxuri8ceYzxmsV .CDb4Loro5cBpX56QzatH:hover{display:block;overflow:auto}.b2mlkkE1gDbFwo4_42Kc{position:relative}.Vh5uhm2m3HksYuSIjwQj{position:absolute;left:16px;color:#89909d;font-size:14px}",""]);var s="eKExJAv72oIPXwTqwpgU",l="SJWFZYuxuri8ceYzxmsV",d="CDb4Loro5cBpX56QzatH",c="b2mlkkE1gDbFwo4_42Kc",p="Vh5uhm2m3HksYuSIjwQj";const u=i},685:(e,t,n)=>{n.d(t,{A:()=>l,L:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".cJmcPSn5LN2GH9HqTvEQ{height:100%;overflow-x:hidden;overflow-y:auto}",""]);var s="cJmcPSn5LN2GH9HqTvEQ";const l=i},913:(e,t,n)=>{n.d(t,{Ay:()=>d,LV:()=>s,_8:()=>l});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".zuabV0gpCkaY8pSYtOSL{display:flex;align-items:center;justify-content:center;height:100%}.i2GFC308F3s1lGENOI5l{max-width:100%;max-height:100%}",""]);var s="zuabV0gpCkaY8pSYtOSL",l="i2GFC308F3s1lGENOI5l";const d=i},690:(e,t,n)=>{n.d(t,{Ay:()=>c,D5:()=>l,LV:()=>s,qf:()=>d});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".EVmfUlSj2zzl7igeqp6N{display:flex;align-items:center;justify-content:center;height:100%;overflow:auto;padding-top:16px;padding-bottom:16px}.Z65yBBsFLSWF70wfWwgA{display:flex;align-items:center;justify-content:center;padding-top:16px;padding-bottom:16px}.QSsGpXvLzOYpHSNncjpj .ant-modal-body{height:calc(100vh - 200px);overflow-y:auto}.QSsGpXvLzOYpHSNncjpj .ant-modal-content{padding-top:44px}",""]);var s="EVmfUlSj2zzl7igeqp6N",l="Z65yBBsFLSWF70wfWwgA",d="QSsGpXvLzOYpHSNncjpj";const c=i},555:(e,t,n)=>{n.d(t,{A:()=>h,L:()=>u});var o=n(245),r=n.n(o),a=n(526),i=n.n(a),s=n(405),l=n.n(s),d=new URL(n(840),n.b),c=i()(r()),p=l()(d);c.push([e.id,`.axAZtM5WKNopJEBNra2i .markdown-body{--base-size-4: 0.25rem;--base-size-8: 0.5rem;--base-size-16: 1rem;--base-size-24: 1.5rem;--base-size-40: 2.5rem;--base-text-weight-normal: 400;--base-text-weight-medium: 500;--base-text-weight-semibold: 600;--fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;--fgColor-accent: Highlight}@media(prefers-color-scheme: dark){.axAZtM5WKNopJEBNra2i .markdown-body,.axAZtM5WKNopJEBNra2i [data-theme=dark]{color-scheme:dark;--focus-outlineColor: #1f6feb;--fgColor-default: #f0f6fc;--fgColor-muted: #9198a1;--fgColor-accent: #4493f8;--fgColor-success: #3fb950;--fgColor-attention: #d29922;--fgColor-danger: #f85149;--fgColor-done: #ab7df8;--bgColor-default: #0d1117;--bgColor-muted: #151b23;--bgColor-neutral-muted: #656c7633;--bgColor-attention-muted: #bb800926;--borderColor-default: #3d444d;--borderColor-muted: #3d444db3;--borderColor-neutral-muted: #3d444db3;--borderColor-accent-emphasis: #1f6feb;--borderColor-success-emphasis: #238636;--borderColor-attention-emphasis: #9e6a03;--borderColor-danger-emphasis: #da3633;--borderColor-done-emphasis: #8957e5;--color-prettylights-syntax-comment: #9198a1;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #f0f6fc;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-brackethighlighter-angle: #9198a1;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #f0f6fc;--color-prettylights-syntax-markup-bold: #f0f6fc;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #f0f6fc;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-sublimelinter-gutter-mark: #3d444d}}@media(prefers-color-scheme: light){.axAZtM5WKNopJEBNra2i .markdown-body,.axAZtM5WKNopJEBNra2i [data-theme=light]{color-scheme:light;--focus-outlineColor: #0969da;--fgColor-default: #1f2328;--fgColor-muted: #59636e;--fgColor-accent: #0969da;--fgColor-success: #1a7f37;--fgColor-attention: #9a6700;--fgColor-danger: #d1242f;--fgColor-done: #8250df;--bgColor-default: #ffffff;--bgColor-muted: #f6f8fa;--bgColor-neutral-muted: #818b981f;--bgColor-attention-muted: #fff8c5;--borderColor-default: #d1d9e0;--borderColor-muted: #d1d9e0b3;--borderColor-neutral-muted: #d1d9e0b3;--borderColor-accent-emphasis: #0969da;--borderColor-success-emphasis: #1a7f37;--borderColor-attention-emphasis: #9a6700;--borderColor-danger-emphasis: #cf222e;--borderColor-done-emphasis: #8250df;--color-prettylights-syntax-comment: #59636e;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-prettylights-syntax-entity: #6639ba;--color-prettylights-syntax-storage-modifier-import: #1f2328;--color-prettylights-syntax-entity-tag: #0550ae;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-brackethighlighter-angle: #59636e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #1f2328;--color-prettylights-syntax-markup-bold: #1f2328;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #d1d9e0;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-sublimelinter-gutter-mark: #818b98}}.axAZtM5WKNopJEBNra2i .markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--fgColor-default);background-color:var(--bgColor-default);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.axAZtM5WKNopJEBNra2i .markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.axAZtM5WKNopJEBNra2i .markdown-body h1:hover .anchor .octicon-link:before,.axAZtM5WKNopJEBNra2i .markdown-body h2:hover .anchor .octicon-link:before,.axAZtM5WKNopJEBNra2i .markdown-body h3:hover .anchor .octicon-link:before,.axAZtM5WKNopJEBNra2i .markdown-body h4:hover .anchor .octicon-link:before,.axAZtM5WKNopJEBNra2i .markdown-body h5:hover .anchor .octicon-link:before,.axAZtM5WKNopJEBNra2i .markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url(${p});mask-image:url(${p})}.axAZtM5WKNopJEBNra2i .markdown-body details,.axAZtM5WKNopJEBNra2i .markdown-body figcaption,.axAZtM5WKNopJEBNra2i .markdown-body figure{display:block}.axAZtM5WKNopJEBNra2i .markdown-body summary{display:list-item}.axAZtM5WKNopJEBNra2i .markdown-body [hidden]{display:none !important}.axAZtM5WKNopJEBNra2i .markdown-body a{background-color:rgba(0,0,0,0);color:var(--fgColor-accent);text-decoration:none}.axAZtM5WKNopJEBNra2i .markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.axAZtM5WKNopJEBNra2i .markdown-body b,.axAZtM5WKNopJEBNra2i .markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.axAZtM5WKNopJEBNra2i .markdown-body dfn{font-style:italic}.axAZtM5WKNopJEBNra2i .markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--borderColor-muted)}.axAZtM5WKNopJEBNra2i .markdown-body mark{background-color:var(--bgColor-attention-muted);color:var(--fgColor-default)}.axAZtM5WKNopJEBNra2i .markdown-body small{font-size:90%}.axAZtM5WKNopJEBNra2i .markdown-body sub,.axAZtM5WKNopJEBNra2i .markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.axAZtM5WKNopJEBNra2i .markdown-body sub{bottom:-0.25em}.axAZtM5WKNopJEBNra2i .markdown-body sup{top:-0.5em}.axAZtM5WKNopJEBNra2i .markdown-body img{border-style:none;max-width:100%;box-sizing:content-box}.axAZtM5WKNopJEBNra2i .markdown-body code,.axAZtM5WKNopJEBNra2i .markdown-body kbd,.axAZtM5WKNopJEBNra2i .markdown-body pre,.axAZtM5WKNopJEBNra2i .markdown-body samp{font-family:monospace;font-size:1em}.axAZtM5WKNopJEBNra2i .markdown-body figure{margin:1em var(--base-size-40)}.axAZtM5WKNopJEBNra2i .markdown-body hr{box-sizing:content-box;overflow:hidden;background:rgba(0,0,0,0);border-bottom:1px solid var(--borderColor-muted);height:.25em;padding:0;margin:var(--base-size-24) 0;background-color:var(--borderColor-default);border:0}.axAZtM5WKNopJEBNra2i .markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.axAZtM5WKNopJEBNra2i .markdown-body [type=button],.axAZtM5WKNopJEBNra2i .markdown-body [type=reset],.axAZtM5WKNopJEBNra2i .markdown-body [type=submit]{-webkit-appearance:button;-moz-appearance:button;appearance:button}.axAZtM5WKNopJEBNra2i .markdown-body [type=checkbox],.axAZtM5WKNopJEBNra2i .markdown-body [type=radio]{box-sizing:border-box;padding:0}.axAZtM5WKNopJEBNra2i .markdown-body [type=number]::-webkit-inner-spin-button,.axAZtM5WKNopJEBNra2i .markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.axAZtM5WKNopJEBNra2i .markdown-body [type=search]::-webkit-search-cancel-button,.axAZtM5WKNopJEBNra2i .markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}.axAZtM5WKNopJEBNra2i .markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.axAZtM5WKNopJEBNra2i .markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;appearance:button;font:inherit}.axAZtM5WKNopJEBNra2i .markdown-body a:hover{text-decoration:underline}.axAZtM5WKNopJEBNra2i .markdown-body ::-moz-placeholder{color:var(--fgColor-muted);opacity:1}.axAZtM5WKNopJEBNra2i .markdown-body ::placeholder{color:var(--fgColor-muted);opacity:1}.axAZtM5WKNopJEBNra2i .markdown-body hr::before{display:table;content:""}.axAZtM5WKNopJEBNra2i .markdown-body hr::after{display:table;clear:both;content:""}.axAZtM5WKNopJEBNra2i .markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:-moz-max-content;width:max-content;max-width:100%;overflow:auto;font-variant:tabular-nums}.axAZtM5WKNopJEBNra2i .markdown-body td,.axAZtM5WKNopJEBNra2i .markdown-body th{padding:0}.axAZtM5WKNopJEBNra2i .markdown-body details summary{cursor:pointer}.axAZtM5WKNopJEBNra2i .markdown-body a:focus,.axAZtM5WKNopJEBNra2i .markdown-body [role=button]:focus,.axAZtM5WKNopJEBNra2i .markdown-body input[type=radio]:focus,.axAZtM5WKNopJEBNra2i .markdown-body input[type=checkbox]:focus{outline:2px solid var(--focus-outlineColor);outline-offset:-2px;box-shadow:none}.axAZtM5WKNopJEBNra2i .markdown-body a:focus:not(:focus-visible),.axAZtM5WKNopJEBNra2i .markdown-body [role=button]:focus:not(:focus-visible),.axAZtM5WKNopJEBNra2i .markdown-body input[type=radio]:focus:not(:focus-visible),.axAZtM5WKNopJEBNra2i .markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px rgba(0,0,0,0)}.axAZtM5WKNopJEBNra2i .markdown-body a:focus-visible,.axAZtM5WKNopJEBNra2i .markdown-body [role=button]:focus-visible,.axAZtM5WKNopJEBNra2i .markdown-body input[type=radio]:focus-visible,.axAZtM5WKNopJEBNra2i .markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--focus-outlineColor);outline-offset:-2px;box-shadow:none}.axAZtM5WKNopJEBNra2i .markdown-body a:not([class]):focus,.axAZtM5WKNopJEBNra2i .markdown-body a:not([class]):focus-visible,.axAZtM5WKNopJEBNra2i .markdown-body input[type=radio]:focus,.axAZtM5WKNopJEBNra2i .markdown-body input[type=radio]:focus-visible,.axAZtM5WKNopJEBNra2i .markdown-body input[type=checkbox]:focus,.axAZtM5WKNopJEBNra2i .markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.axAZtM5WKNopJEBNra2i .markdown-body kbd{display:inline-block;padding:var(--base-size-4);font:11px var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace);line-height:10px;color:var(--fgColor-default);vertical-align:middle;background-color:var(--bgColor-muted);border:solid 1px var(--borderColor-neutral-muted);border-bottom-color:var(--borderColor-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--borderColor-neutral-muted)}.axAZtM5WKNopJEBNra2i .markdown-body h1,.axAZtM5WKNopJEBNra2i .markdown-body h2,.axAZtM5WKNopJEBNra2i .markdown-body h3,.axAZtM5WKNopJEBNra2i .markdown-body h4,.axAZtM5WKNopJEBNra2i .markdown-body h5,.axAZtM5WKNopJEBNra2i .markdown-body h6{margin-top:var(--base-size-24);margin-bottom:var(--base-size-16);font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.axAZtM5WKNopJEBNra2i .markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--borderColor-muted)}.axAZtM5WKNopJEBNra2i .markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.axAZtM5WKNopJEBNra2i .markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.axAZtM5WKNopJEBNra2i .markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.axAZtM5WKNopJEBNra2i .markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--fgColor-muted)}.axAZtM5WKNopJEBNra2i .markdown-body p{margin-top:0;margin-bottom:10px}.axAZtM5WKNopJEBNra2i .markdown-body blockquote{margin:0;padding:0 1em;color:var(--fgColor-muted);border-left:.25em solid var(--borderColor-default)}.axAZtM5WKNopJEBNra2i .markdown-body ul,.axAZtM5WKNopJEBNra2i .markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.axAZtM5WKNopJEBNra2i .markdown-body ol ol,.axAZtM5WKNopJEBNra2i .markdown-body ul ol{list-style-type:lower-roman}.axAZtM5WKNopJEBNra2i .markdown-body ul ul ol,.axAZtM5WKNopJEBNra2i .markdown-body ul ol ol,.axAZtM5WKNopJEBNra2i .markdown-body ol ul ol,.axAZtM5WKNopJEBNra2i .markdown-body ol ol ol{list-style-type:lower-alpha}.axAZtM5WKNopJEBNra2i .markdown-body dd{margin-left:0}.axAZtM5WKNopJEBNra2i .markdown-body tt,.axAZtM5WKNopJEBNra2i .markdown-body code,.axAZtM5WKNopJEBNra2i .markdown-body samp{font-family:var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace);font-size:12px}.axAZtM5WKNopJEBNra2i .markdown-body pre{margin-top:0;margin-bottom:0;font-family:var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace);font-size:12px;word-wrap:normal}.axAZtM5WKNopJEBNra2i .markdown-body .octicon{display:inline-block;overflow:visible !important;vertical-align:text-bottom;fill:currentColor}.axAZtM5WKNopJEBNra2i .markdown-body input::-webkit-outer-spin-button,.axAZtM5WKNopJEBNra2i .markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;appearance:none}.axAZtM5WKNopJEBNra2i .markdown-body .mr-2{margin-right:var(--base-size-8, 8px) !important}.axAZtM5WKNopJEBNra2i .markdown-body::before{display:table;content:""}.axAZtM5WKNopJEBNra2i .markdown-body::after{display:table;clear:both;content:""}.axAZtM5WKNopJEBNra2i .markdown-body>*:first-child{margin-top:0 !important}.axAZtM5WKNopJEBNra2i .markdown-body>*:last-child{margin-bottom:0 !important}.axAZtM5WKNopJEBNra2i .markdown-body a:not([href]){color:inherit;text-decoration:none}.axAZtM5WKNopJEBNra2i .markdown-body .absent{color:var(--fgColor-danger)}.axAZtM5WKNopJEBNra2i .markdown-body .anchor{float:left;padding-right:var(--base-size-4);margin-left:-20px;line-height:1}.axAZtM5WKNopJEBNra2i .markdown-body .anchor:focus{outline:none}.axAZtM5WKNopJEBNra2i .markdown-body p,.axAZtM5WKNopJEBNra2i .markdown-body blockquote,.axAZtM5WKNopJEBNra2i .markdown-body ul,.axAZtM5WKNopJEBNra2i .markdown-body ol,.axAZtM5WKNopJEBNra2i .markdown-body dl,.axAZtM5WKNopJEBNra2i .markdown-body table,.axAZtM5WKNopJEBNra2i .markdown-body pre,.axAZtM5WKNopJEBNra2i .markdown-body details{margin-top:0;margin-bottom:var(--base-size-16)}.axAZtM5WKNopJEBNra2i .markdown-body blockquote>:first-child{margin-top:0}.axAZtM5WKNopJEBNra2i .markdown-body blockquote>:last-child{margin-bottom:0}.axAZtM5WKNopJEBNra2i .markdown-body h1 .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h2 .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h3 .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h4 .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h5 .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h6 .octicon-link{color:var(--fgColor-default);vertical-align:middle;visibility:hidden}.axAZtM5WKNopJEBNra2i .markdown-body h1:hover .anchor,.axAZtM5WKNopJEBNra2i .markdown-body h2:hover .anchor,.axAZtM5WKNopJEBNra2i .markdown-body h3:hover .anchor,.axAZtM5WKNopJEBNra2i .markdown-body h4:hover .anchor,.axAZtM5WKNopJEBNra2i .markdown-body h5:hover .anchor,.axAZtM5WKNopJEBNra2i .markdown-body h6:hover .anchor{text-decoration:none}.axAZtM5WKNopJEBNra2i .markdown-body h1:hover .anchor .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h2:hover .anchor .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h3:hover .anchor .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h4:hover .anchor .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h5:hover .anchor .octicon-link,.axAZtM5WKNopJEBNra2i .markdown-body h6:hover .anchor .octicon-link{visibility:visible}.axAZtM5WKNopJEBNra2i .markdown-body h1 tt,.axAZtM5WKNopJEBNra2i .markdown-body h1 code,.axAZtM5WKNopJEBNra2i .markdown-body h2 tt,.axAZtM5WKNopJEBNra2i .markdown-body h2 code,.axAZtM5WKNopJEBNra2i .markdown-body h3 tt,.axAZtM5WKNopJEBNra2i .markdown-body h3 code,.axAZtM5WKNopJEBNra2i .markdown-body h4 tt,.axAZtM5WKNopJEBNra2i .markdown-body h4 code,.axAZtM5WKNopJEBNra2i .markdown-body h5 tt,.axAZtM5WKNopJEBNra2i .markdown-body h5 code,.axAZtM5WKNopJEBNra2i .markdown-body h6 tt,.axAZtM5WKNopJEBNra2i .markdown-body h6 code{padding:0 .2em;font-size:inherit}.axAZtM5WKNopJEBNra2i .markdown-body summary h1,.axAZtM5WKNopJEBNra2i .markdown-body summary h2,.axAZtM5WKNopJEBNra2i .markdown-body summary h3,.axAZtM5WKNopJEBNra2i .markdown-body summary h4,.axAZtM5WKNopJEBNra2i .markdown-body summary h5,.axAZtM5WKNopJEBNra2i .markdown-body summary h6{display:inline-block}.axAZtM5WKNopJEBNra2i .markdown-body summary h1 .anchor,.axAZtM5WKNopJEBNra2i .markdown-body summary h2 .anchor,.axAZtM5WKNopJEBNra2i .markdown-body summary h3 .anchor,.axAZtM5WKNopJEBNra2i .markdown-body summary h4 .anchor,.axAZtM5WKNopJEBNra2i .markdown-body summary h5 .anchor,.axAZtM5WKNopJEBNra2i .markdown-body summary h6 .anchor{margin-left:-40px}.axAZtM5WKNopJEBNra2i .markdown-body summary h1,.axAZtM5WKNopJEBNra2i .markdown-body summary h2{padding-bottom:0;border-bottom:0}.axAZtM5WKNopJEBNra2i .markdown-body ul.no-list,.axAZtM5WKNopJEBNra2i .markdown-body ol.no-list{padding:0;list-style-type:none}.axAZtM5WKNopJEBNra2i .markdown-body ol[type="a s"]{list-style-type:lower-alpha}.axAZtM5WKNopJEBNra2i .markdown-body ol[type="A s"]{list-style-type:upper-alpha}.axAZtM5WKNopJEBNra2i .markdown-body ol[type="i s"]{list-style-type:lower-roman}.axAZtM5WKNopJEBNra2i .markdown-body ol[type="I s"]{list-style-type:upper-roman}.axAZtM5WKNopJEBNra2i .markdown-body ol[type="1"]{list-style-type:decimal}.axAZtM5WKNopJEBNra2i .markdown-body div>ol:not([type]){list-style-type:decimal}.axAZtM5WKNopJEBNra2i .markdown-body ul ul,.axAZtM5WKNopJEBNra2i .markdown-body ul ol,.axAZtM5WKNopJEBNra2i .markdown-body ol ol,.axAZtM5WKNopJEBNra2i .markdown-body ol ul{margin-top:0;margin-bottom:0}.axAZtM5WKNopJEBNra2i .markdown-body li>p{margin-top:var(--base-size-16)}.axAZtM5WKNopJEBNra2i .markdown-body li+li{margin-top:.25em}.axAZtM5WKNopJEBNra2i .markdown-body dl{padding:0}.axAZtM5WKNopJEBNra2i .markdown-body dl dt{padding:0;margin-top:var(--base-size-16);font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.axAZtM5WKNopJEBNra2i .markdown-body dl dd{padding:0 var(--base-size-16);margin-bottom:var(--base-size-16)}.axAZtM5WKNopJEBNra2i .markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.axAZtM5WKNopJEBNra2i .markdown-body table th,.axAZtM5WKNopJEBNra2i .markdown-body table td{padding:6px 13px;border:1px solid var(--borderColor-default)}.axAZtM5WKNopJEBNra2i .markdown-body table td>:last-child{margin-bottom:0}.axAZtM5WKNopJEBNra2i .markdown-body table tr{background-color:var(--bgColor-default);border-top:1px solid var(--borderColor-muted)}.axAZtM5WKNopJEBNra2i .markdown-body table tr:nth-child(2n){background-color:var(--bgColor-muted)}.axAZtM5WKNopJEBNra2i .markdown-body table img{background-color:rgba(0,0,0,0)}.axAZtM5WKNopJEBNra2i .markdown-body img[align=right]{padding-left:20px}.axAZtM5WKNopJEBNra2i .markdown-body img[align=left]{padding-right:20px}.axAZtM5WKNopJEBNra2i .markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:rgba(0,0,0,0)}.axAZtM5WKNopJEBNra2i .markdown-body span.frame{display:block;overflow:hidden}.axAZtM5WKNopJEBNra2i .markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--borderColor-default)}.axAZtM5WKNopJEBNra2i .markdown-body span.frame span img{display:block;float:left}.axAZtM5WKNopJEBNra2i .markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--fgColor-default)}.axAZtM5WKNopJEBNra2i .markdown-body span.align-center{display:block;overflow:hidden;clear:both}.axAZtM5WKNopJEBNra2i .markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.axAZtM5WKNopJEBNra2i .markdown-body span.align-center span img{margin:0 auto;text-align:center}.axAZtM5WKNopJEBNra2i .markdown-body span.align-right{display:block;overflow:hidden;clear:both}.axAZtM5WKNopJEBNra2i .markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.axAZtM5WKNopJEBNra2i .markdown-body span.align-right span img{margin:0;text-align:right}.axAZtM5WKNopJEBNra2i .markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.axAZtM5WKNopJEBNra2i .markdown-body span.float-left span{margin:13px 0 0}.axAZtM5WKNopJEBNra2i .markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.axAZtM5WKNopJEBNra2i .markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.axAZtM5WKNopJEBNra2i .markdown-body code,.axAZtM5WKNopJEBNra2i .markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--bgColor-neutral-muted);border-radius:6px}.axAZtM5WKNopJEBNra2i .markdown-body code br,.axAZtM5WKNopJEBNra2i .markdown-body tt br{display:none}.axAZtM5WKNopJEBNra2i .markdown-body del code{text-decoration:inherit}.axAZtM5WKNopJEBNra2i .markdown-body samp{font-size:85%}.axAZtM5WKNopJEBNra2i .markdown-body pre code{font-size:100%}.axAZtM5WKNopJEBNra2i .markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:rgba(0,0,0,0);border:0}.axAZtM5WKNopJEBNra2i .markdown-body .highlight{margin-bottom:var(--base-size-16)}.axAZtM5WKNopJEBNra2i .markdown-body .highlight pre{margin-bottom:0;word-break:normal}.axAZtM5WKNopJEBNra2i .markdown-body .highlight pre,.axAZtM5WKNopJEBNra2i .markdown-body pre{padding:var(--base-size-16);overflow:auto;font-size:85%;line-height:1.45;color:var(--fgColor-default);background-color:var(--bgColor-muted);border-radius:6px}.axAZtM5WKNopJEBNra2i .markdown-body pre code,.axAZtM5WKNopJEBNra2i .markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:rgba(0,0,0,0);border:0}.axAZtM5WKNopJEBNra2i .markdown-body .csv-data td,.axAZtM5WKNopJEBNra2i .markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.axAZtM5WKNopJEBNra2i .markdown-body .csv-data .blob-num{padding:10px var(--base-size-8) 9px;text-align:right;background:var(--bgColor-default);border:0}.axAZtM5WKNopJEBNra2i .markdown-body .csv-data tr{border-top:0}.axAZtM5WKNopJEBNra2i .markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--bgColor-muted);border-top:0}.axAZtM5WKNopJEBNra2i .markdown-body [data-footnote-ref]::before{content:"["}.axAZtM5WKNopJEBNra2i .markdown-body [data-footnote-ref]::after{content:"]"}.axAZtM5WKNopJEBNra2i .markdown-body .footnotes{font-size:12px;color:var(--fgColor-muted);border-top:1px solid var(--borderColor-default)}.axAZtM5WKNopJEBNra2i .markdown-body .footnotes ol{padding-left:var(--base-size-16)}.axAZtM5WKNopJEBNra2i .markdown-body .footnotes ol ul{display:inline-block;padding-left:var(--base-size-16);margin-top:var(--base-size-16)}.axAZtM5WKNopJEBNra2i .markdown-body .footnotes li{position:relative}.axAZtM5WKNopJEBNra2i .markdown-body .footnotes li:target::before{position:absolute;top:calc(var(--base-size-8)*-1);right:calc(var(--base-size-8)*-1);bottom:calc(var(--base-size-8)*-1);left:calc(var(--base-size-24)*-1);pointer-events:none;content:"";border:2px solid var(--borderColor-accent-emphasis);border-radius:6px}.axAZtM5WKNopJEBNra2i .markdown-body .footnotes li:target{color:var(--fgColor-default)}.axAZtM5WKNopJEBNra2i .markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.axAZtM5WKNopJEBNra2i .markdown-body body:has(:modal){padding-right:var(--dialog-scrollgutter) !important}.axAZtM5WKNopJEBNra2i .markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-c1,.axAZtM5WKNopJEBNra2i .markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-e,.axAZtM5WKNopJEBNra2i .markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-smi,.axAZtM5WKNopJEBNra2i .markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-s,.axAZtM5WKNopJEBNra2i .markdown-body .pl-pds,.axAZtM5WKNopJEBNra2i .markdown-body .pl-s .pl-pse .pl-s1,.axAZtM5WKNopJEBNra2i .markdown-body .pl-sr,.axAZtM5WKNopJEBNra2i .markdown-body .pl-sr .pl-cce,.axAZtM5WKNopJEBNra2i .markdown-body .pl-sr .pl-sre,.axAZtM5WKNopJEBNra2i .markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-v,.axAZtM5WKNopJEBNra2i .markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-sr .pl-cce{font-weight:bold;color:var(--color-prettylights-syntax-string-regexp)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-mh,.axAZtM5WKNopJEBNra2i .markdown-body .pl-mh .pl-en,.axAZtM5WKNopJEBNra2i .markdown-body .pl-ms{font-weight:bold;color:var(--color-prettylights-syntax-markup-heading)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-mb{font-weight:bold;color:var(--color-prettylights-syntax-markup-bold)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-mdr{font-weight:bold;color:var(--color-prettylights-syntax-meta-diff-range)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.axAZtM5WKNopJEBNra2i .markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.axAZtM5WKNopJEBNra2i .markdown-body [role=button]:focus:not(:focus-visible),.axAZtM5WKNopJEBNra2i .markdown-body [role=tabpanel][tabindex="0"]:focus:not(:focus-visible),.axAZtM5WKNopJEBNra2i .markdown-body button:focus:not(:focus-visible),.axAZtM5WKNopJEBNra2i .markdown-body summary:focus:not(:focus-visible),.axAZtM5WKNopJEBNra2i .markdown-body a:focus:not(:focus-visible){outline:none;box-shadow:none}.axAZtM5WKNopJEBNra2i .markdown-body [tabindex="0"]:focus:not(:focus-visible),.axAZtM5WKNopJEBNra2i .markdown-body details-dialog:focus:not(:focus-visible){outline:none}.axAZtM5WKNopJEBNra2i .markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:1em;font-style:normal !important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-0.075em}.axAZtM5WKNopJEBNra2i .markdown-body g-emoji img{width:1em;height:1em}.axAZtM5WKNopJEBNra2i .markdown-body .task-list-item{list-style-type:none}.axAZtM5WKNopJEBNra2i .markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.axAZtM5WKNopJEBNra2i .markdown-body .task-list-item.enabled label{cursor:pointer}.axAZtM5WKNopJEBNra2i .markdown-body .task-list-item+.task-list-item{margin-top:var(--base-size-4)}.axAZtM5WKNopJEBNra2i .markdown-body .task-list-item .handle{display:none}.axAZtM5WKNopJEBNra2i .markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.axAZtM5WKNopJEBNra2i .markdown-body ul:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.axAZtM5WKNopJEBNra2i .markdown-body ol:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.axAZtM5WKNopJEBNra2i .markdown-body .contains-task-list:hover .task-list-item-convert-container,.axAZtM5WKNopJEBNra2i .markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.axAZtM5WKNopJEBNra2i .markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert{padding:var(--base-size-8) var(--base-size-16);margin-bottom:var(--base-size-16);color:inherit;border-left:.25em solid var(--borderColor-default)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert>:first-child{margin-top:0}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert>:last-child{margin-bottom:0}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert .markdown-alert-title{display:flex;font-weight:var(--base-text-weight-medium, 500);align-items:center;line-height:1}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-note{border-left-color:var(--borderColor-accent-emphasis)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title{color:var(--fgColor-accent)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-important{border-left-color:var(--borderColor-done-emphasis)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title{color:var(--fgColor-done)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-warning{border-left-color:var(--borderColor-attention-emphasis)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title{color:var(--fgColor-attention)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-tip{border-left-color:var(--borderColor-success-emphasis)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title{color:var(--fgColor-success)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-caution{border-left-color:var(--borderColor-danger-emphasis)}.axAZtM5WKNopJEBNra2i .markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title{color:var(--fgColor-danger)}.axAZtM5WKNopJEBNra2i .markdown-body>*:first-child>.heading-element:first-child{margin-top:0 !important}.axAZtM5WKNopJEBNra2i .markdown-body .highlight pre:has(+.zeroclipboard-container){min-height:52px}`,""]);var u="axAZtM5WKNopJEBNra2i";const h=c},482:(e,t,n)=>{n.d(t,{A:()=>l,L:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".GmPZonLTI3KWU6TQWQSo{display:flex;flex-direction:column;align-items:center;height:100%;overflow:auto}.GmPZonLTI3KWU6TQWQSo canvas{max-width:100%}",""]);var s="GmPZonLTI3KWU6TQWQSo";const l=i},708:(e,t,n)=>{n.d(t,{A:()=>l,L:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".w5U1Ig2Vx60xYRW90g33{height:100%;overflow-x:hidden;overflow-y:auto}",""]);var s="w5U1Ig2Vx60xYRW90g33";const l=i},519:(e,t,n)=>{n.d(t,{Ay:()=>p,J2:()=>d,T1:()=>c,eo:()=>l,hF:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,'@font-face{font-family:"AlibabaPuHuiTi-3-55-RegularL3";src:url("https://test-open-sci-datahub.zero2x.org/ossRoute/frontend/resources/fonts/alibaba_puhuiti_3/AlibabaPuHuiTi-3-55-RegularL3.ttf") format("truetype")}.wrtosveS1b5SlKe4fIGL{position:relative}.sD_Dvah97w0cPqUJsOhX{font-family:"AlibabaPuHuiTi-3-55-RegularL3";font-size:12px;position:absolute;top:-11px;left:11px;background:#fff;padding-left:2px;padding-right:2px}.PHh7Qm9ojRZiWFl8OlpT{display:none}.FinJFG8VkAu4WdZFDb3U{width:400px}',""]);var s="wrtosveS1b5SlKe4fIGL",l="sD_Dvah97w0cPqUJsOhX",d="PHh7Qm9ojRZiWFl8OlpT",c="FinJFG8VkAu4WdZFDb3U";const p=i},989:(e,t,n)=>{n.d(t,{Ay:()=>c,Kk:()=>l,LV:()=>s,NI:()=>d});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".s1DE3bXbSR3WMxOHGhL4{width:244px;min-height:89px;background:#fff;box-shadow:0px 12px 30px 0px rgba(32,60,48,.2);border-radius:10px 10px 10px 10px;border:1px solid #d9e0ed;z-index:100;position:fixed;bottom:180px;left:calc(50% - 122px)}.ickkjG9C47RxHTbOAWXw{width:16px;height:16px;z-index:101;display:inline-block;border-radius:50%;position:absolute;top:17px;right:17px;cursor:pointer}.dWjTN1AD2WJesHevGU09{padding:17px 10px}",""]);var s="s1DE3bXbSR3WMxOHGhL4",l="ickkjG9C47RxHTbOAWXw",d="dWjTN1AD2WJesHevGU09";const c=i},280:(e,t,n)=>{n.d(t,{Ay:()=>d,LV:()=>s,wm:()=>l});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".wkk6Lnco5rQ5DK_Bojaj{display:flex;justify-content:space-between;align-items:center;padding:0 16px;background-color:#000}.wkk6Lnco5rQ5DK_Bojaj .H3Num6yF3Ox32Pb6Occg{width:200px}",""]);var s="wkk6Lnco5rQ5DK_Bojaj",l="H3Num6yF3Ox32Pb6Occg";const d=i},255:(e,t,n)=>{n.d(t,{Ay:()=>p,Bu:()=>l,Lt:()=>s,eb:()=>d,lY:()=>c});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".TlJNZcZcmmP6z2ZEuXVh{position:relative}.jlfRlYEd363O6zz8LzHG.U_nf4tR4EBBbc350fb4r{opacity:0;transform:translateY(-10px);animation:KeGDXXLq4ov1RpFxstIA .1s ease-in-out forwards}@keyframes KeGDXXLq4ov1RpFxstIA{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}.jlfRlYEd363O6zz8LzHG{position:absolute;top:37px;z-index:6000;color:#666;background-color:#e0e0e0;width:200px;height:256px;padding:4px;border-radius:8px;opacity:0;transform:translateY(-10px);transition:all .3s ease-in-out;animation:U4WuhNMVo6V0NTLeHqJp .3s ease-in-out forwards}@keyframes U4WuhNMVo6V0NTLeHqJp{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.iFMf87iEHVoZIgZXmFII{height:264px}",""]);var s="TlJNZcZcmmP6z2ZEuXVh",l="jlfRlYEd363O6zz8LzHG",d="U_nf4tR4EBBbc350fb4r",c="iFMf87iEHVoZIgZXmFII";const p=i},512:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".tiptap pre{margin-top:1.5rem;margin-bottom:1.5rem;border-radius:0.5rem;--tw-bg-opacity:1;background-color:rgb(17 24 39 / var(--tw-bg-opacity));padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity))}.tiptap pre code{background-image:none;padding:0px;font-size:0.875rem;line-height:1.25rem}.tiptap pre .hljs-comment,.tiptap pre .hljs-quote{color:#6a9955}.tiptap pre .hljs-variable,.tiptap pre .hljs-template-variable,.tiptap pre .hljs-attribute,.tiptap pre .hljs-tag,.tiptap pre .hljs-name,.tiptap pre .hljs-regexp,.tiptap pre .hljs-link,.tiptap pre .hljs-selector-id,.tiptap pre .hljs-selector-class{color:#4fc1ff}.tiptap pre .hljs-number,.tiptap pre .hljs-meta,.tiptap pre .hljs-built_in,.tiptap pre .hljs-builtin-name,.tiptap pre .hljs-literal,.tiptap pre .hljs-type,.tiptap pre .hljs-params{color:#dcdcaa}.tiptap pre .hljs-string,.tiptap pre .hljs-symbol,.tiptap pre .hljs-bullet{color:#ce9178}.tiptap pre .hljs-title,.tiptap pre .hljs-section{color:#dcdcaa}.tiptap pre .hljs-keyword,.tiptap pre .hljs-selector-tag{color:#c586c0}.tiptap pre .hljs-emphasis{font-style:italic}.tiptap pre .hljs-strong{font-weight:700}",""]);const s=i},383:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,'@layer tailwind-base, antd;.tiptap-container .prose{\ncolor: var(--tw-prose-body);\nmax-width: 65ch;}.tiptap-container .prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 1.25em;\nmargin-bottom: 1.25em;}.tiptap-container .prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-lead);\nfont-size: 1.25em;\nline-height: 1.6;\nmargin-top: 1.2em;\nmargin-bottom: 1.2em;}.tiptap-container .prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-links);\ntext-decoration: underline;\nfont-weight: 500;}.tiptap-container .prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-bold);\nfont-weight: 600;}.tiptap-container .prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.tiptap-container .prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.tiptap-container .prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.tiptap-container .prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: decimal;\nmargin-top: 1.25em;\nmargin-bottom: 1.25em;\npadding-inline-start: 1.625em;}.tiptap-container .prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: upper-alpha;}.tiptap-container .prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: lower-alpha;}.tiptap-container .prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: upper-alpha;}.tiptap-container .prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: lower-alpha;}.tiptap-container .prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: upper-roman;}.tiptap-container .prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: lower-roman;}.tiptap-container .prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: upper-roman;}.tiptap-container .prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: lower-roman;}.tiptap-container .prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: decimal;}.tiptap-container .prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nlist-style-type: disc;\nmargin-top: 1.25em;\nmargin-bottom: 1.25em;\npadding-inline-start: 1.625em;}.tiptap-container .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker{\nfont-weight: 400;\ncolor: var(--tw-prose-counters);}.tiptap-container .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker{\ncolor: var(--tw-prose-bullets);}.tiptap-container .prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 600;\nmargin-top: 1.25em;}.tiptap-container .prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-color: var(--tw-prose-hr);\nborder-top-width: 1px;\nmargin-top: 3em;\nmargin-bottom: 3em;}.tiptap-container .prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 500;\nfont-style: italic;\ncolor: var(--tw-prose-quotes);\nborder-inline-start-width: 0.25rem;\nborder-inline-start-color: var(--tw-prose-quote-borders);\nquotes: "\\201C""\\201D""\\2018""\\2019";\nmargin-top: 1.6em;\nmargin-bottom: 1.6em;\npadding-inline-start: 1em;}.tiptap-container .prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\ncontent: open-quote;}.tiptap-container .prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\ncontent: close-quote;}.tiptap-container .prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 800;\nfont-size: 2.25em;\nmargin-top: 0;\nmargin-bottom: 0.8888889em;\nline-height: 1.1111111;}.tiptap-container .prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 900;\ncolor: inherit;}.tiptap-container .prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 700;\nfont-size: 1.5em;\nmargin-top: 2em;\nmargin-bottom: 1em;\nline-height: 1.3333333;}.tiptap-container .prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 800;\ncolor: inherit;}.tiptap-container .prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 600;\nfont-size: 1.25em;\nmargin-top: 1.6em;\nmargin-bottom: 0.6em;\nline-height: 1.6;}.tiptap-container .prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 700;\ncolor: inherit;}.tiptap-container .prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 600;\nmargin-top: 1.5em;\nmargin-bottom: 0.5em;\nline-height: 1.5;}.tiptap-container .prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 700;\ncolor: inherit;}.tiptap-container .prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 2em;\nmargin-bottom: 2em;}.tiptap-container .prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ndisplay: block;\nmargin-top: 2em;\nmargin-bottom: 2em;}.tiptap-container .prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 2em;\nmargin-bottom: 2em;}.tiptap-container .prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nfont-weight: 500;\nfont-family: inherit;\ncolor: var(--tw-prose-kbd);\nbox-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);\nfont-size: 0.875em;\nborder-radius: 0.3125rem;\npadding-top: 0.1875em;\npadding-inline-end: 0.375em;\npadding-bottom: 0.1875em;\npadding-inline-start: 0.375em;}.tiptap-container .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-code);\nfont-weight: 600;\nfont-size: 0.875em;}.tiptap-container .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\ncontent: "`";}.tiptap-container .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\ncontent: "`";}.tiptap-container .prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.tiptap-container .prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.tiptap-container .prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;\nfont-size: 0.875em;}.tiptap-container .prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;\nfont-size: 0.9em;}.tiptap-container .prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.tiptap-container .prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.tiptap-container .prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: inherit;}.tiptap-container .prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-pre-code);\nbackground-color: var(--tw-prose-pre-bg);\noverflow-x: auto;\nfont-weight: 400;\nfont-size: 0.875em;\nline-height: 1.7142857;\nmargin-top: 1.7142857em;\nmargin-bottom: 1.7142857em;\nborder-radius: 0.375rem;\npadding-top: 0.8571429em;\npadding-inline-end: 1.1428571em;\npadding-bottom: 0.8571429em;\npadding-inline-start: 1.1428571em;}.tiptap-container .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nbackground-color: transparent;\nborder-width: 0;\nborder-radius: 0;\npadding: 0;\nfont-weight: inherit;\ncolor: inherit;\nfont-size: inherit;\nfont-family: inherit;\nline-height: inherit;}.tiptap-container .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\ncontent: none;}.tiptap-container .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\ncontent: none;}.tiptap-container .prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nwidth: 100%;\ntable-layout: auto;\nmargin-top: 2em;\nmargin-bottom: 2em;\nfont-size: 0.875em;\nline-height: 1.7142857;}.tiptap-container .prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-bottom-width: 1px;\nborder-bottom-color: var(--tw-prose-th-borders);}.tiptap-container .prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-headings);\nfont-weight: 600;\nvertical-align: bottom;\npadding-inline-end: 0.5714286em;\npadding-bottom: 0.5714286em;\npadding-inline-start: 0.5714286em;}.tiptap-container .prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-bottom-width: 1px;\nborder-bottom-color: var(--tw-prose-td-borders);}.tiptap-container .prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-bottom-width: 0;}.tiptap-container .prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nvertical-align: baseline;}.tiptap-container .prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nborder-top-width: 1px;\nborder-top-color: var(--tw-prose-th-borders);}.tiptap-container .prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nvertical-align: top;}.tiptap-container .prose :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ntext-align: start;}.tiptap-container .prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;\nmargin-bottom: 0;}.tiptap-container .prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)){\ncolor: var(--tw-prose-captions);\nfont-size: 0.875em;\nline-height: 1.4285714;\nmargin-top: 0.8571429em;}.tiptap-container .prose{\n--tw-prose-body: #374151;\n--tw-prose-headings: #111827;\n--tw-prose-lead: #4b5563;\n--tw-prose-links: #111827;\n--tw-prose-bold: #111827;\n--tw-prose-counters: #6b7280;\n--tw-prose-bullets: #d1d5db;\n--tw-prose-hr: #e5e7eb;\n--tw-prose-quotes: #111827;\n--tw-prose-quote-borders: #e5e7eb;\n--tw-prose-captions: #6b7280;\n--tw-prose-kbd: #111827;\n--tw-prose-kbd-shadows: 17 24 39;\n--tw-prose-code: #111827;\n--tw-prose-pre-code: #e5e7eb;\n--tw-prose-pre-bg: #1f2937;\n--tw-prose-th-borders: #d1d5db;\n--tw-prose-td-borders: #e5e7eb;\n--tw-prose-invert-body: #d1d5db;\n--tw-prose-invert-headings: #fff;\n--tw-prose-invert-lead: #9ca3af;\n--tw-prose-invert-links: #fff;\n--tw-prose-invert-bold: #fff;\n--tw-prose-invert-counters: #9ca3af;\n--tw-prose-invert-bullets: #4b5563;\n--tw-prose-invert-hr: #374151;\n--tw-prose-invert-quotes: #f3f4f6;\n--tw-prose-invert-quote-borders: #374151;\n--tw-prose-invert-captions: #9ca3af;\n--tw-prose-invert-kbd: #fff;\n--tw-prose-invert-kbd-shadows: 255 255 255;\n--tw-prose-invert-code: #fff;\n--tw-prose-invert-pre-code: #d1d5db;\n--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);\n--tw-prose-invert-th-borders: #4b5563;\n--tw-prose-invert-td-borders: #374151;\nfont-size: 1rem;\nline-height: 1.75;}.tiptap-container .prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;\nmargin-bottom: 0;}.tiptap-container .prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0.5em;\nmargin-bottom: 0.5em;}.tiptap-container .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-start: 0.375em;}.tiptap-container .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-start: 0.375em;}.tiptap-container .prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0.75em;\nmargin-bottom: 0.75em;}.tiptap-container .prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 1.25em;}.tiptap-container .prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-bottom: 1.25em;}.tiptap-container .prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 1.25em;}.tiptap-container .prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-bottom: 1.25em;}.tiptap-container .prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0.75em;\nmargin-bottom: 0.75em;}.tiptap-container .prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 1.25em;\nmargin-bottom: 1.25em;}.tiptap-container .prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0.5em;\npadding-inline-start: 1.625em;}.tiptap-container .prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.tiptap-container .prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.tiptap-container .prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.tiptap-container .prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.tiptap-container .prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-start: 0;}.tiptap-container .prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-end: 0;}.tiptap-container .prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-top: 0.5714286em;\npadding-inline-end: 0.5714286em;\npadding-bottom: 0.5714286em;\npadding-inline-start: 0.5714286em;}.tiptap-container .prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-start: 0;}.tiptap-container .prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\npadding-inline-end: 0;}.tiptap-container .prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 2em;\nmargin-bottom: 2em;}.tiptap-container .prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-top: 0;}.tiptap-container .prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\nmargin-bottom: 0;}.tiptap-container .absolute{\nposition: absolute;}.tiptap-container .relative{\nposition: relative;}.tiptap-container .sticky{\nposition: sticky;}.tiptap-container .right-0{\nright: 0px;}.tiptap-container .z-10{\nz-index: 10;}.tiptap-container .m-0{\nmargin: 0px;}.tiptap-container .m-1{\nmargin: 0.25rem;}.tiptap-container .my-2{\nmargin-top: 0.5rem;\nmargin-bottom: 0.5rem;}.tiptap-container .my-2\\.5{\nmargin-top: 0.625rem;\nmargin-bottom: 0.625rem;}.tiptap-container .my-4{\nmargin-top: 1rem;\nmargin-bottom: 1rem;}.tiptap-container .mb-0{\nmargin-bottom: 0px;}.tiptap-container .mb-2{\nmargin-bottom: 0.5rem;}.tiptap-container .mb-4{\nmargin-bottom: 1rem;}.tiptap-container .mb-5{\nmargin-bottom: 1.25rem;}.tiptap-container .mr-1{\nmargin-right: 0.25rem;}.tiptap-container .mt-20{\nmargin-top: 5rem;}.tiptap-container .mt-4{\nmargin-top: 1rem;}.tiptap-container .block{\ndisplay: block;}.tiptap-container .\\!inline{\ndisplay: inline !important;}.tiptap-container .inline{\ndisplay: inline;}.tiptap-container .flex{\ndisplay: flex;}.tiptap-container .table{\ndisplay: table;}.tiptap-container .flow-root{\ndisplay: flow-root;}.tiptap-container .hidden{\ndisplay: none;}.tiptap-container .h-4{\nheight: 1rem;}.tiptap-container .h-5{\nheight: 1.25rem;}.tiptap-container .h-6{\nheight: 1.5rem;}.tiptap-container .h-8{\nheight: 2rem;}.tiptap-container .h-auto{\nheight: auto;}.tiptap-container .max-h-72{\nmax-height: 18rem;}.tiptap-container .min-h-\\[20rem\\]{\nmin-height: 20rem;}.tiptap-container .w-4{\nwidth: 1rem;}.tiptap-container .w-40{\nwidth: 10rem;}.tiptap-container .w-5{\nwidth: 1.25rem;}.tiptap-container .w-6{\nwidth: 1.5rem;}.tiptap-container .max-w-96{\nmax-width: 24rem;}.tiptap-container .max-w-none{\nmax-width: none;}.tiptap-container .flex-shrink-0{\nflex-shrink: 0;}.tiptap-container .cursor-pointer{\ncursor: pointer;}.tiptap-container .items-center{\nalign-items: center;}.tiptap-container .justify-center{\njustify-content: center;}.tiptap-container .justify-between{\njustify-content: space-between;}.tiptap-container .gap-1{\ngap: 0.25rem;}.tiptap-container .gap-4{\ngap: 1rem;}.tiptap-container .overflow-y-auto{\noverflow-y: auto;}.tiptap-container .truncate{\noverflow: hidden;\ntext-overflow: ellipsis;\nwhite-space: nowrap;}.tiptap-container .rounded{\nborder-radius: 0.25rem;}.tiptap-container .rounded-md{\nborder-radius: 0.375rem;}.tiptap-container .border{\nborder-width: 1px;}.tiptap-container .border-solid{\nborder-style: solid;}.tiptap-container .border-dashed{\nborder-style: dashed;}.tiptap-container .border-\\[\\#1775FE\\]{\n--tw-border-opacity: 1;\nborder-color: rgb(23 117 254 / var(--tw-border-opacity));}.tiptap-container .border-gray-200{\n--tw-border-opacity: 1;\nborder-color: rgb(229 231 235 / var(--tw-border-opacity));}.tiptap-container .border-gray-3{\n--tw-border-opacity: 1;\nborder-color: rgb(217 224 237 / var(--tw-border-opacity));}.tiptap-container .border-gray-300{\n--tw-border-opacity: 1;\nborder-color: rgb(209 213 219 / var(--tw-border-opacity));}.tiptap-container .border-green-600{\n--tw-border-opacity: 1;\nborder-color: rgb(22 163 74 / var(--tw-border-opacity));}.tiptap-container .bg-\\[\\#F5F7FA\\]{\n--tw-bg-opacity: 1;\nbackground-color: rgb(245 247 250 / var(--tw-bg-opacity));}.tiptap-container .bg-blue-5{\n--tw-bg-opacity: 1;\nbackground-color: rgb(23 117 254 / var(--tw-bg-opacity));}.tiptap-container .bg-gray-50{\n--tw-bg-opacity: 1;\nbackground-color: rgb(249 250 251 / var(--tw-bg-opacity));}.tiptap-container .bg-white{\n--tw-bg-opacity: 1;\nbackground-color: rgb(255 255 255 / var(--tw-bg-opacity));}.tiptap-container .p-1{\npadding: 0.25rem;}.tiptap-container .p-2{\npadding: 0.5rem;}.tiptap-container .p-4{\npadding: 1rem;}.tiptap-container .px-3{\npadding-left: 0.75rem;\npadding-right: 0.75rem;}.tiptap-container .px-4{\npadding-left: 1rem;\npadding-right: 1rem;}.tiptap-container .pr-2{\npadding-right: 0.5rem;}.tiptap-container .text-center{\ntext-align: center;}.tiptap-container .text-2xl{\nfont-size: 1.5rem;\nline-height: 2rem;}.tiptap-container .text-5xl{\nfont-size: 3rem;\nline-height: 1;}.tiptap-container .text-base{\nfont-size: 1rem;\nline-height: 1.5rem;}.tiptap-container .text-sm{\nfont-size: 0.875rem;\nline-height: 1.25rem;}.tiptap-container .text-xl{\nfont-size: 1.25rem;\nline-height: 1.75rem;}.tiptap-container .italic{\nfont-style: italic;}.tiptap-container .text-gray-5{\n--tw-text-opacity: 1;\ncolor: rgb(135 144 158 / var(--tw-text-opacity));}.tiptap-container .text-gray-7{\n--tw-text-opacity: 1;\ncolor: rgb(84 91 100 / var(--tw-text-opacity));}.tiptap-container .text-green-600{\n--tw-text-opacity: 1;\ncolor: rgb(22 163 74 / var(--tw-text-opacity));}.tiptap-container .text-green-green{\n--tw-text-opacity: 1;\ncolor: rgb(83 195 27 / var(--tw-text-opacity));}.tiptap-container .text-red-600{\n--tw-text-opacity: 1;\ncolor: rgb(220 38 38 / var(--tw-text-opacity));}.tiptap-container .text-red-red{\n--tw-text-opacity: 1;\ncolor: rgb(254 77 79 / var(--tw-text-opacity));}.tiptap-container .text-white{\n--tw-text-opacity: 1;\ncolor: rgb(255 255 255 / var(--tw-text-opacity));}.tiptap-container .text-yellow-500{\n--tw-text-opacity: 1;\ncolor: rgb(234 179 8 / var(--tw-text-opacity));}.tiptap-container .underline{\ntext-decoration-line: underline;}.tiptap-container .opacity-0{\nopacity: 0;}.tiptap-container .shadow-sm{\n--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);\nbox-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);}.tiptap-container .filter{\nfilter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);}.tiptap-container .transition-opacity{\ntransition-property: opacity;\ntransition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\ntransition-duration: 150ms;}.tiptap-container .transition-transform{\ntransition-property: transform;\ntransition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\ntransition-duration: 150ms;}@layer tailwind-base{.tiptap-container *, .tiptap-container ::before, .tiptap-container ::after{\n--tw-border-spacing-x: 0;\n--tw-border-spacing-y: 0;\n--tw-translate-x: 0;\n--tw-translate-y: 0;\n--tw-rotate: 0;\n--tw-skew-x: 0;\n--tw-skew-y: 0;\n--tw-scale-x: 1;\n--tw-scale-y: 1;\n--tw-pan-x: ;\n--tw-pan-y: ;\n--tw-pinch-zoom: ;\n--tw-scroll-snap-strictness: proximity;\n--tw-gradient-from-position: ;\n--tw-gradient-via-position: ;\n--tw-gradient-to-position: ;\n--tw-ordinal: ;\n--tw-slashed-zero: ;\n--tw-numeric-figure: ;\n--tw-numeric-spacing: ;\n--tw-numeric-fraction: ;\n--tw-ring-inset: ;\n--tw-ring-offset-width: 0px;\n--tw-ring-offset-color: #fff;\n--tw-ring-color: rgb(59 130 246 / 0.5);\n--tw-ring-offset-shadow: 0 0 #0000;\n--tw-ring-shadow: 0 0 #0000;\n--tw-shadow: 0 0 #0000;\n--tw-shadow-colored: 0 0 #0000;\n--tw-blur: ;\n--tw-brightness: ;\n--tw-contrast: ;\n--tw-grayscale: ;\n--tw-hue-rotate: ;\n--tw-invert: ;\n--tw-saturate: ;\n--tw-sepia: ;\n--tw-drop-shadow: ;\n--tw-backdrop-blur: ;\n--tw-backdrop-brightness: ;\n--tw-backdrop-contrast: ;\n--tw-backdrop-grayscale: ;\n--tw-backdrop-hue-rotate: ;\n--tw-backdrop-invert: ;\n--tw-backdrop-opacity: ;\n--tw-backdrop-saturate: ;\n--tw-backdrop-sepia: ;\n--tw-contain-size: ;\n--tw-contain-layout: ;\n--tw-contain-paint: ;\n--tw-contain-style: ;}.tiptap-container ::backdrop{\n--tw-border-spacing-x: 0;\n--tw-border-spacing-y: 0;\n--tw-translate-x: 0;\n--tw-translate-y: 0;\n--tw-rotate: 0;\n--tw-skew-x: 0;\n--tw-skew-y: 0;\n--tw-scale-x: 1;\n--tw-scale-y: 1;\n--tw-pan-x: ;\n--tw-pan-y: ;\n--tw-pinch-zoom: ;\n--tw-scroll-snap-strictness: proximity;\n--tw-gradient-from-position: ;\n--tw-gradient-via-position: ;\n--tw-gradient-to-position: ;\n--tw-ordinal: ;\n--tw-slashed-zero: ;\n--tw-numeric-figure: ;\n--tw-numeric-spacing: ;\n--tw-numeric-fraction: ;\n--tw-ring-inset: ;\n--tw-ring-offset-width: 0px;\n--tw-ring-offset-color: #fff;\n--tw-ring-color: rgb(59 130 246 / 0.5);\n--tw-ring-offset-shadow: 0 0 #0000;\n--tw-ring-shadow: 0 0 #0000;\n--tw-shadow: 0 0 #0000;\n--tw-shadow-colored: 0 0 #0000;\n--tw-blur: ;\n--tw-brightness: ;\n--tw-contrast: ;\n--tw-grayscale: ;\n--tw-hue-rotate: ;\n--tw-invert: ;\n--tw-saturate: ;\n--tw-sepia: ;\n--tw-drop-shadow: ;\n--tw-backdrop-blur: ;\n--tw-backdrop-brightness: ;\n--tw-backdrop-contrast: ;\n--tw-backdrop-grayscale: ;\n--tw-backdrop-hue-rotate: ;\n--tw-backdrop-invert: ;\n--tw-backdrop-opacity: ;\n--tw-backdrop-saturate: ;\n--tw-backdrop-sepia: ;\n--tw-contain-size: ;\n--tw-contain-layout: ;\n--tw-contain-paint: ;\n--tw-contain-style: ;}/*\n! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com\n*//*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n.tiptap-container *,\n.tiptap-container ::before,\n.tiptap-container ::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n}\n\n.tiptap-container ::before,\n.tiptap-container ::after {\n --tw-content: \'\';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user\'s configured `sans` font-family by default.\n5. Use the user\'s configured `sans` font-feature-settings by default.\n6. Use the user\'s configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\n\n.tiptap-container html,\n.tiptap-container :host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: AlibabaPuHuiTi-3-55-RegularL3, ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\n.tiptap-container body {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\n.tiptap-container hr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\n.tiptap-container abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\n.tiptap-container h1,\n.tiptap-container h2,\n.tiptap-container h3,\n.tiptap-container h4,\n.tiptap-container h5,\n.tiptap-container h6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\n.tiptap-container a {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\n.tiptap-container b,\n.tiptap-container strong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user\'s configured `mono` font-family by default.\n2. Use the user\'s configured `mono` font-feature-settings by default.\n3. Use the user\'s configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\n\n.tiptap-container code,\n.tiptap-container kbd,\n.tiptap-container samp,\n.tiptap-container pre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\n.tiptap-container small {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\n.tiptap-container sub,\n.tiptap-container sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\n.tiptap-container sub {\n bottom: -0.25em;\n}\n\n.tiptap-container sup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\n.tiptap-container table {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\n.tiptap-container button,\n.tiptap-container input,\n.tiptap-container optgroup,\n.tiptap-container select,\n.tiptap-container textarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\n.tiptap-container button,\n.tiptap-container select {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\n.tiptap-container button,\n.tiptap-container input:where([type=\'button\']),\n.tiptap-container input:where([type=\'reset\']),\n.tiptap-container input:where([type=\'submit\']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n.tiptap-container :-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n.tiptap-container :-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\n.tiptap-container progress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n.tiptap-container ::-webkit-inner-spin-button,\n.tiptap-container ::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n.tiptap-container [type=\'search\'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n.tiptap-container ::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n.tiptap-container ::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\n.tiptap-container summary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\n.tiptap-container blockquote,\n.tiptap-container dl,\n.tiptap-container dd,\n.tiptap-container h1,\n.tiptap-container h2,\n.tiptap-container h3,\n.tiptap-container h4,\n.tiptap-container h5,\n.tiptap-container h6,\n.tiptap-container hr,\n.tiptap-container figure,\n.tiptap-container p,\n.tiptap-container pre {\n margin: 0;\n}\n\n.tiptap-container fieldset {\n margin: 0;\n padding: 0;\n}\n\n.tiptap-container legend {\n padding: 0;\n}\n\n.tiptap-container ol,\n.tiptap-container ul,\n.tiptap-container menu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\n.tiptap-container dialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\n.tiptap-container textarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user\'s configured gray 400 color.\n*/\n\n.tiptap-container input::-moz-placeholder, .tiptap-container textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\n.tiptap-container input::placeholder,\n.tiptap-container textarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\n.tiptap-container button,\n.tiptap-container [role="button"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don\'t get the pointer cursor.\n*/\n.tiptap-container :disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\n.tiptap-container img,\n.tiptap-container svg,\n.tiptap-container video,\n.tiptap-container canvas,\n.tiptap-container audio,\n.tiptap-container iframe,\n.tiptap-container embed,\n.tiptap-container object {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\n.tiptap-container img,\n.tiptap-container video {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n.tiptap-container [hidden] {\n display: none;\n}}.tiptap>*:first-child{\nmargin-top: 0px;}.tiptap[contenteditable=true]{\noutline-width: 0px;}.last\\:mb-0:last-child{\nmargin-bottom: 0px;}.hover\\:border-green-600:hover{\n--tw-border-opacity: 1;\nborder-color: rgb(22 163 74 / var(--tw-border-opacity));}.hover\\:bg-assist-bg-blue:hover{\n--tw-bg-opacity: 1;\nbackground-color: rgb(244 246 250 / var(--tw-bg-opacity));}.group:hover .group-hover\\:-translate-x-10{\n--tw-translate-x: -2.5rem;\ntransform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));}.group:hover .group-hover\\:-translate-x-6{\n--tw-translate-x: -1.5rem;\ntransform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));}.group:hover .group-hover\\:opacity-100{\nopacity: 1;}',""]);const s=i},444:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,".tippy-box{max-width:100% !important}",""]);const s=i},311:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,'.tiptap table{margin:0px;width:100%;table-layout:fixed;border-collapse:collapse;overflow:hidden}.tiptap table td,.tiptap table th{position:relative;box-sizing:border-box;min-width:1rem;border-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgb(209 213 219 / var(--tw-border-opacity));padding:0.5rem;vertical-align:top}.tiptap table td>*,.tiptap table th>*{margin-block:0px}.tiptap table th{--tw-bg-opacity:1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));text-align:left;font-weight:700}.tiptap table .selectedCell:after{pointer-events:none;position:absolute;inset:0px;z-index:10;background-color:rgb(229 231 235 / var(--tw-bg-opacity));--tw-bg-opacity:0.25;--tw-content:"";content:var(--tw-content)}.tiptap table .column-resize-handle{pointer-events:none;position:absolute;bottom:-0.25rem;top:0px;right:0px;width:0.25rem;--tw-bg-opacity:1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.tiptap .tableWrapper{margin-top:1.5rem;margin-bottom:1.5rem;overflow-x:auto}.tiptap.resize-cursor{cursor:col-resize}.tiptap code{margin:0.25rem}',""]);const s=i},588:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(245),r=n.n(o),a=n(526),i=n.n(a)()(r());i.push([e.id,'.mylib-upload-drawer *, .mylib-upload-drawer ::before, .mylib-upload-drawer ::after{\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}.mylib-upload-drawer ::backdrop{\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}/*\n! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com\n*//*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/.mylib-upload-drawer *,\n.mylib-upload-drawer ::before,\n.mylib-upload-drawer ::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n}.mylib-upload-drawer ::before,\n.mylib-upload-drawer ::after {\n --tw-content: \'\';\n}/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user\'s configured `sans` font-family by default.\n5. Use the user\'s configured `sans` font-feature-settings by default.\n6. Use the user\'s configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/.mylib-upload-drawer html,\n.mylib-upload-drawer :host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: AlibabaPuHuiTi-3-55-RegularL3, ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/.mylib-upload-drawer body {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/.mylib-upload-drawer hr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/.mylib-upload-drawer abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}/*\nRemove the default font size and weight for headings.\n*/.mylib-upload-drawer h1,\n.mylib-upload-drawer h2,\n.mylib-upload-drawer h3,\n.mylib-upload-drawer h4,\n.mylib-upload-drawer h5,\n.mylib-upload-drawer h6 {\n font-size: inherit;\n font-weight: inherit;\n}/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/.mylib-upload-drawer a {\n color: inherit;\n text-decoration: inherit;\n}/*\nAdd the correct font weight in Edge and Safari.\n*/.mylib-upload-drawer b,\n.mylib-upload-drawer strong {\n font-weight: bolder;\n}/*\n1. Use the user\'s configured `mono` font-family by default.\n2. Use the user\'s configured `mono` font-feature-settings by default.\n3. Use the user\'s configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/.mylib-upload-drawer code,\n.mylib-upload-drawer kbd,\n.mylib-upload-drawer samp,\n.mylib-upload-drawer pre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}/*\nAdd the correct font size in all browsers.\n*/.mylib-upload-drawer small {\n font-size: 80%;\n}/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/.mylib-upload-drawer sub,\n.mylib-upload-drawer sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}.mylib-upload-drawer sub {\n bottom: -0.25em;\n}.mylib-upload-drawer sup {\n top: -0.5em;\n}/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/.mylib-upload-drawer table {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/.mylib-upload-drawer button,\n.mylib-upload-drawer input,\n.mylib-upload-drawer optgroup,\n.mylib-upload-drawer select,\n.mylib-upload-drawer textarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/.mylib-upload-drawer button,\n.mylib-upload-drawer select {\n text-transform: none;\n}/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/.mylib-upload-drawer button,\n.mylib-upload-drawer input:where([type=\'button\']),\n.mylib-upload-drawer input:where([type=\'reset\']),\n.mylib-upload-drawer input:where([type=\'submit\']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}/*\nUse the modern Firefox focus style for all focusable elements.\n*/.mylib-upload-drawer :-moz-focusring {\n outline: auto;\n}/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/.mylib-upload-drawer :-moz-ui-invalid {\n box-shadow: none;\n}/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/.mylib-upload-drawer progress {\n vertical-align: baseline;\n}/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/.mylib-upload-drawer ::-webkit-inner-spin-button,\n.mylib-upload-drawer ::-webkit-outer-spin-button {\n height: auto;\n}/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/.mylib-upload-drawer [type=\'search\'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/.mylib-upload-drawer ::-webkit-search-decoration {\n -webkit-appearance: none;\n}/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/.mylib-upload-drawer ::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}/*\nAdd the correct display in Chrome and Safari.\n*/.mylib-upload-drawer summary {\n display: list-item;\n}/*\nRemoves the default spacing and border for appropriate elements.\n*/.mylib-upload-drawer blockquote,\n.mylib-upload-drawer dl,\n.mylib-upload-drawer dd,\n.mylib-upload-drawer h1,\n.mylib-upload-drawer h2,\n.mylib-upload-drawer h3,\n.mylib-upload-drawer h4,\n.mylib-upload-drawer h5,\n.mylib-upload-drawer h6,\n.mylib-upload-drawer hr,\n.mylib-upload-drawer figure,\n.mylib-upload-drawer p,\n.mylib-upload-drawer pre {\n margin: 0;\n}.mylib-upload-drawer fieldset {\n margin: 0;\n padding: 0;\n}.mylib-upload-drawer legend {\n padding: 0;\n}.mylib-upload-drawer ol,\n.mylib-upload-drawer ul,\n.mylib-upload-drawer menu {\n list-style: none;\n margin: 0;\n padding: 0;\n}/*\nReset default styling for dialogs.\n*/.mylib-upload-drawer dialog {\n padding: 0;\n}/*\nPrevent resizing textareas horizontally by default.\n*/.mylib-upload-drawer textarea {\n resize: vertical;\n}/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user\'s configured gray 400 color.\n*/.mylib-upload-drawer input::-moz-placeholder, .mylib-upload-drawer textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}.mylib-upload-drawer input::placeholder,\n.mylib-upload-drawer textarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}/*\nSet the default cursor for buttons.\n*/.mylib-upload-drawer button,\n.mylib-upload-drawer [role="button"] {\n cursor: pointer;\n}/*\nMake sure disabled buttons don\'t get the pointer cursor.\n*/.mylib-upload-drawer :disabled {\n cursor: default;\n}/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/.mylib-upload-drawer img,\n.mylib-upload-drawer svg,\n.mylib-upload-drawer video,\n.mylib-upload-drawer canvas,\n.mylib-upload-drawer audio,\n.mylib-upload-drawer iframe,\n.mylib-upload-drawer embed,\n.mylib-upload-drawer object {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/.mylib-upload-drawer img,\n.mylib-upload-drawer video {\n max-width: 100%;\n height: auto;\n}/* Make elements with the HTML hidden attribute stay hidden by default */.mylib-upload-drawer [hidden] {\n display: none;\n}.mylib-upload-drawer .prose{\n color: var(--tw-prose-body);\n max-width: 65ch;\n}.mylib-upload-drawer .prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n}.mylib-upload-drawer .prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-lead);\n font-size: 1.25em;\n line-height: 1.6;\n margin-top: 1.2em;\n margin-bottom: 1.2em;\n}.mylib-upload-drawer .prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-links);\n text-decoration: underline;\n font-weight: 500;\n}.mylib-upload-drawer .prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-bold);\n font-weight: 600;\n}.mylib-upload-drawer .prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n}.mylib-upload-drawer .prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n}.mylib-upload-drawer .prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n}.mylib-upload-drawer .prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: decimal;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n padding-inline-start: 1.625em;\n}.mylib-upload-drawer .prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: upper-alpha;\n}.mylib-upload-drawer .prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: lower-alpha;\n}.mylib-upload-drawer .prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: upper-alpha;\n}.mylib-upload-drawer .prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: lower-alpha;\n}.mylib-upload-drawer .prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: upper-roman;\n}.mylib-upload-drawer .prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: lower-roman;\n}.mylib-upload-drawer .prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: upper-roman;\n}.mylib-upload-drawer .prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: lower-roman;\n}.mylib-upload-drawer .prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: decimal;\n}.mylib-upload-drawer .prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n list-style-type: disc;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n padding-inline-start: 1.625em;\n}.mylib-upload-drawer .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker{\n font-weight: 400;\n color: var(--tw-prose-counters);\n}.mylib-upload-drawer .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker{\n color: var(--tw-prose-bullets);\n}.mylib-upload-drawer .prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-headings);\n font-weight: 600;\n margin-top: 1.25em;\n}.mylib-upload-drawer .prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n border-color: var(--tw-prose-hr);\n border-top-width: 1px;\n margin-top: 3em;\n margin-bottom: 3em;\n}.mylib-upload-drawer .prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n font-weight: 500;\n font-style: italic;\n color: var(--tw-prose-quotes);\n border-inline-start-width: 0.25rem;\n border-inline-start-color: var(--tw-prose-quote-borders);\n quotes: "\\201C""\\201D""\\2018""\\2019";\n margin-top: 1.6em;\n margin-bottom: 1.6em;\n padding-inline-start: 1em;\n}.mylib-upload-drawer .prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\n content: open-quote;\n}.mylib-upload-drawer .prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\n content: close-quote;\n}.mylib-upload-drawer .prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-headings);\n font-weight: 800;\n font-size: 2.25em;\n margin-top: 0;\n margin-bottom: 0.8888889em;\n line-height: 1.1111111;\n}.mylib-upload-drawer .prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n font-weight: 900;\n color: inherit;\n}.mylib-upload-drawer .prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-headings);\n font-weight: 700;\n font-size: 1.5em;\n margin-top: 2em;\n margin-bottom: 1em;\n line-height: 1.3333333;\n}.mylib-upload-drawer .prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n font-weight: 800;\n color: inherit;\n}.mylib-upload-drawer .prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-headings);\n font-weight: 600;\n font-size: 1.25em;\n margin-top: 1.6em;\n margin-bottom: 0.6em;\n line-height: 1.6;\n}.mylib-upload-drawer .prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n font-weight: 700;\n color: inherit;\n}.mylib-upload-drawer .prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-headings);\n font-weight: 600;\n margin-top: 1.5em;\n margin-bottom: 0.5em;\n line-height: 1.5;\n}.mylib-upload-drawer .prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n font-weight: 700;\n color: inherit;\n}.mylib-upload-drawer .prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 2em;\n margin-bottom: 2em;\n}.mylib-upload-drawer .prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n display: block;\n margin-top: 2em;\n margin-bottom: 2em;\n}.mylib-upload-drawer .prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 2em;\n margin-bottom: 2em;\n}.mylib-upload-drawer .prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n font-weight: 500;\n font-family: inherit;\n color: var(--tw-prose-kbd);\n box-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);\n font-size: 0.875em;\n border-radius: 0.3125rem;\n padding-top: 0.1875em;\n padding-inline-end: 0.375em;\n padding-bottom: 0.1875em;\n padding-inline-start: 0.375em;\n}.mylib-upload-drawer .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-code);\n font-weight: 600;\n font-size: 0.875em;\n}.mylib-upload-drawer .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\n content: "`";\n}.mylib-upload-drawer .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\n content: "`";\n}.mylib-upload-drawer .prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n}.mylib-upload-drawer .prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n}.mylib-upload-drawer .prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n font-size: 0.875em;\n}.mylib-upload-drawer .prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n font-size: 0.9em;\n}.mylib-upload-drawer .prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n}.mylib-upload-drawer .prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n}.mylib-upload-drawer .prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: inherit;\n}.mylib-upload-drawer .prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-pre-code);\n background-color: var(--tw-prose-pre-bg);\n overflow-x: auto;\n font-weight: 400;\n font-size: 0.875em;\n line-height: 1.7142857;\n margin-top: 1.7142857em;\n margin-bottom: 1.7142857em;\n border-radius: 0.375rem;\n padding-top: 0.8571429em;\n padding-inline-end: 1.1428571em;\n padding-bottom: 0.8571429em;\n padding-inline-start: 1.1428571em;\n}.mylib-upload-drawer .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n background-color: transparent;\n border-width: 0;\n border-radius: 0;\n padding: 0;\n font-weight: inherit;\n color: inherit;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n}.mylib-upload-drawer .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{\n content: none;\n}.mylib-upload-drawer .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{\n content: none;\n}.mylib-upload-drawer .prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n width: 100%;\n table-layout: auto;\n margin-top: 2em;\n margin-bottom: 2em;\n font-size: 0.875em;\n line-height: 1.7142857;\n}.mylib-upload-drawer .prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n border-bottom-width: 1px;\n border-bottom-color: var(--tw-prose-th-borders);\n}.mylib-upload-drawer .prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-headings);\n font-weight: 600;\n vertical-align: bottom;\n padding-inline-end: 0.5714286em;\n padding-bottom: 0.5714286em;\n padding-inline-start: 0.5714286em;\n}.mylib-upload-drawer .prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n border-bottom-width: 1px;\n border-bottom-color: var(--tw-prose-td-borders);\n}.mylib-upload-drawer .prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n border-bottom-width: 0;\n}.mylib-upload-drawer .prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n vertical-align: baseline;\n}.mylib-upload-drawer .prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n border-top-width: 1px;\n border-top-color: var(--tw-prose-th-borders);\n}.mylib-upload-drawer .prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n vertical-align: top;\n}.mylib-upload-drawer .prose :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n text-align: start;\n}.mylib-upload-drawer .prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0;\n margin-bottom: 0;\n}.mylib-upload-drawer .prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n color: var(--tw-prose-captions);\n font-size: 0.875em;\n line-height: 1.4285714;\n margin-top: 0.8571429em;\n}.mylib-upload-drawer .prose{\n --tw-prose-body: #374151;\n --tw-prose-headings: #111827;\n --tw-prose-lead: #4b5563;\n --tw-prose-links: #111827;\n --tw-prose-bold: #111827;\n --tw-prose-counters: #6b7280;\n --tw-prose-bullets: #d1d5db;\n --tw-prose-hr: #e5e7eb;\n --tw-prose-quotes: #111827;\n --tw-prose-quote-borders: #e5e7eb;\n --tw-prose-captions: #6b7280;\n --tw-prose-kbd: #111827;\n --tw-prose-kbd-shadows: 17 24 39;\n --tw-prose-code: #111827;\n --tw-prose-pre-code: #e5e7eb;\n --tw-prose-pre-bg: #1f2937;\n --tw-prose-th-borders: #d1d5db;\n --tw-prose-td-borders: #e5e7eb;\n --tw-prose-invert-body: #d1d5db;\n --tw-prose-invert-headings: #fff;\n --tw-prose-invert-lead: #9ca3af;\n --tw-prose-invert-links: #fff;\n --tw-prose-invert-bold: #fff;\n --tw-prose-invert-counters: #9ca3af;\n --tw-prose-invert-bullets: #4b5563;\n --tw-prose-invert-hr: #374151;\n --tw-prose-invert-quotes: #f3f4f6;\n --tw-prose-invert-quote-borders: #374151;\n --tw-prose-invert-captions: #9ca3af;\n --tw-prose-invert-kbd: #fff;\n --tw-prose-invert-kbd-shadows: 255 255 255;\n --tw-prose-invert-code: #fff;\n --tw-prose-invert-pre-code: #d1d5db;\n --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);\n --tw-prose-invert-th-borders: #4b5563;\n --tw-prose-invert-td-borders: #374151;\n font-size: 1rem;\n line-height: 1.75;\n}.mylib-upload-drawer .prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0;\n margin-bottom: 0;\n}.mylib-upload-drawer .prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0.5em;\n margin-bottom: 0.5em;\n}.mylib-upload-drawer .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n padding-inline-start: 0.375em;\n}.mylib-upload-drawer .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n padding-inline-start: 0.375em;\n}.mylib-upload-drawer .prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n}.mylib-upload-drawer .prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 1.25em;\n}.mylib-upload-drawer .prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-bottom: 1.25em;\n}.mylib-upload-drawer .prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 1.25em;\n}.mylib-upload-drawer .prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-bottom: 1.25em;\n}.mylib-upload-drawer .prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n}.mylib-upload-drawer .prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n}.mylib-upload-drawer .prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0.5em;\n padding-inline-start: 1.625em;\n}.mylib-upload-drawer .prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0;\n}.mylib-upload-drawer .prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0;\n}.mylib-upload-drawer .prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0;\n}.mylib-upload-drawer .prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0;\n}.mylib-upload-drawer .prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n padding-inline-start: 0;\n}.mylib-upload-drawer .prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n padding-inline-end: 0;\n}.mylib-upload-drawer .prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n padding-top: 0.5714286em;\n padding-inline-end: 0.5714286em;\n padding-bottom: 0.5714286em;\n padding-inline-start: 0.5714286em;\n}.mylib-upload-drawer .prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n padding-inline-start: 0;\n}.mylib-upload-drawer .prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n padding-inline-end: 0;\n}.mylib-upload-drawer .prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 2em;\n margin-bottom: 2em;\n}.mylib-upload-drawer .prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-top: 0;\n}.mylib-upload-drawer .prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)){\n margin-bottom: 0;\n}.mylib-upload-drawer .absolute{\n position: absolute;\n}.mylib-upload-drawer .relative{\n position: relative;\n}.mylib-upload-drawer .sticky{\n position: sticky;\n}.mylib-upload-drawer .right-0{\n right: 0px;\n}.mylib-upload-drawer .z-10{\n z-index: 10;\n}.mylib-upload-drawer .m-0{\n margin: 0px;\n}.mylib-upload-drawer .m-1{\n margin: 0.25rem;\n}.mylib-upload-drawer .my-2{\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n}.mylib-upload-drawer .my-2\\.5{\n margin-top: 0.625rem;\n margin-bottom: 0.625rem;\n}.mylib-upload-drawer .my-4{\n margin-top: 1rem;\n margin-bottom: 1rem;\n}.mylib-upload-drawer .mb-0{\n margin-bottom: 0px;\n}.mylib-upload-drawer .mb-2{\n margin-bottom: 0.5rem;\n}.mylib-upload-drawer .mb-4{\n margin-bottom: 1rem;\n}.mylib-upload-drawer .mb-5{\n margin-bottom: 1.25rem;\n}.mylib-upload-drawer .mr-1{\n margin-right: 0.25rem;\n}.mylib-upload-drawer .mt-20{\n margin-top: 5rem;\n}.mylib-upload-drawer .mt-4{\n margin-top: 1rem;\n}.mylib-upload-drawer .block{\n display: block;\n}.mylib-upload-drawer .\\!inline{\n display: inline !important;\n}.mylib-upload-drawer .inline{\n display: inline;\n}.mylib-upload-drawer .flex{\n display: flex;\n}.mylib-upload-drawer .table{\n display: table;\n}.mylib-upload-drawer .flow-root{\n display: flow-root;\n}.mylib-upload-drawer .hidden{\n display: none;\n}.mylib-upload-drawer .h-4{\n height: 1rem;\n}.mylib-upload-drawer .h-5{\n height: 1.25rem;\n}.mylib-upload-drawer .h-6{\n height: 1.5rem;\n}.mylib-upload-drawer .h-8{\n height: 2rem;\n}.mylib-upload-drawer .h-auto{\n height: auto;\n}.mylib-upload-drawer .max-h-72{\n max-height: 18rem;\n}.mylib-upload-drawer .min-h-\\[20rem\\]{\n min-height: 20rem;\n}.mylib-upload-drawer .w-4{\n width: 1rem;\n}.mylib-upload-drawer .w-40{\n width: 10rem;\n}.mylib-upload-drawer .w-5{\n width: 1.25rem;\n}.mylib-upload-drawer .w-6{\n width: 1.5rem;\n}.mylib-upload-drawer .max-w-96{\n max-width: 24rem;\n}.mylib-upload-drawer .max-w-none{\n max-width: none;\n}.mylib-upload-drawer .flex-shrink-0{\n flex-shrink: 0;\n}.mylib-upload-drawer .cursor-pointer{\n cursor: pointer;\n}.mylib-upload-drawer .items-center{\n align-items: center;\n}.mylib-upload-drawer .justify-center{\n justify-content: center;\n}.mylib-upload-drawer .justify-between{\n justify-content: space-between;\n}.mylib-upload-drawer .gap-1{\n gap: 0.25rem;\n}.mylib-upload-drawer .gap-4{\n gap: 1rem;\n}.mylib-upload-drawer .overflow-y-auto{\n overflow-y: auto;\n}.mylib-upload-drawer .truncate{\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}.mylib-upload-drawer .rounded{\n border-radius: 0.25rem;\n}.mylib-upload-drawer .rounded-md{\n border-radius: 0.375rem;\n}.mylib-upload-drawer .border{\n border-width: 1px;\n}.mylib-upload-drawer .border-solid{\n border-style: solid;\n}.mylib-upload-drawer .border-dashed{\n border-style: dashed;\n}.mylib-upload-drawer .border-\\[\\#1775FE\\]{\n --tw-border-opacity: 1;\n border-color: rgb(23 117 254 / var(--tw-border-opacity));\n}.mylib-upload-drawer .border-gray-200{\n --tw-border-opacity: 1;\n border-color: rgb(229 231 235 / var(--tw-border-opacity));\n}.mylib-upload-drawer .border-gray-3{\n --tw-border-opacity: 1;\n border-color: rgb(217 224 237 / var(--tw-border-opacity));\n}.mylib-upload-drawer .border-gray-300{\n --tw-border-opacity: 1;\n border-color: rgb(209 213 219 / var(--tw-border-opacity));\n}.mylib-upload-drawer .border-green-600{\n --tw-border-opacity: 1;\n border-color: rgb(22 163 74 / var(--tw-border-opacity));\n}.mylib-upload-drawer .bg-\\[\\#F5F7FA\\]{\n --tw-bg-opacity: 1;\n background-color: rgb(245 247 250 / var(--tw-bg-opacity));\n}.mylib-upload-drawer .bg-blue-5{\n --tw-bg-opacity: 1;\n background-color: rgb(23 117 254 / var(--tw-bg-opacity));\n}.mylib-upload-drawer .bg-gray-50{\n --tw-bg-opacity: 1;\n background-color: rgb(249 250 251 / var(--tw-bg-opacity));\n}.mylib-upload-drawer .bg-white{\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity));\n}.mylib-upload-drawer .p-1{\n padding: 0.25rem;\n}.mylib-upload-drawer .p-2{\n padding: 0.5rem;\n}.mylib-upload-drawer .p-4{\n padding: 1rem;\n}.mylib-upload-drawer .px-3{\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}.mylib-upload-drawer .px-4{\n padding-left: 1rem;\n padding-right: 1rem;\n}.mylib-upload-drawer .pr-2{\n padding-right: 0.5rem;\n}.mylib-upload-drawer .text-center{\n text-align: center;\n}.mylib-upload-drawer .text-2xl{\n font-size: 1.5rem;\n line-height: 2rem;\n}.mylib-upload-drawer .text-5xl{\n font-size: 3rem;\n line-height: 1;\n}.mylib-upload-drawer .text-base{\n font-size: 1rem;\n line-height: 1.5rem;\n}.mylib-upload-drawer .text-sm{\n font-size: 0.875rem;\n line-height: 1.25rem;\n}.mylib-upload-drawer .text-xl{\n font-size: 1.25rem;\n line-height: 1.75rem;\n}.mylib-upload-drawer .italic{\n font-style: italic;\n}.mylib-upload-drawer .text-gray-5{\n --tw-text-opacity: 1;\n color: rgb(135 144 158 / var(--tw-text-opacity));\n}.mylib-upload-drawer .text-gray-7{\n --tw-text-opacity: 1;\n color: rgb(84 91 100 / var(--tw-text-opacity));\n}.mylib-upload-drawer .text-green-600{\n --tw-text-opacity: 1;\n color: rgb(22 163 74 / var(--tw-text-opacity));\n}.mylib-upload-drawer .text-green-green{\n --tw-text-opacity: 1;\n color: rgb(83 195 27 / var(--tw-text-opacity));\n}.mylib-upload-drawer .text-red-600{\n --tw-text-opacity: 1;\n color: rgb(220 38 38 / var(--tw-text-opacity));\n}.mylib-upload-drawer .text-red-red{\n --tw-text-opacity: 1;\n color: rgb(254 77 79 / var(--tw-text-opacity));\n}.mylib-upload-drawer .text-white{\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}.mylib-upload-drawer .text-yellow-500{\n --tw-text-opacity: 1;\n color: rgb(234 179 8 / var(--tw-text-opacity));\n}.mylib-upload-drawer .underline{\n text-decoration-line: underline;\n}.mylib-upload-drawer .opacity-0{\n opacity: 0;\n}.mylib-upload-drawer .shadow-sm{\n --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}.mylib-upload-drawer .filter{\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}.mylib-upload-drawer .transition-opacity{\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}.mylib-upload-drawer .transition-transform{\n transition-property: transform;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}.last\\:mb-0:last-child{\n margin-bottom: 0px;\n}.hover\\:border-green-600:hover{\n --tw-border-opacity: 1;\n border-color: rgb(22 163 74 / var(--tw-border-opacity));\n}.hover\\:bg-assist-bg-blue:hover{\n --tw-bg-opacity: 1;\n background-color: rgb(244 246 250 / var(--tw-bg-opacity));\n}.group:hover .group-hover\\:-translate-x-10{\n --tw-translate-x: -2.5rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}.group:hover .group-hover\\:-translate-x-6{\n --tw-translate-x: -1.5rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}.group:hover .group-hover\\:opacity-100{\n opacity: 1;\n}',""]);const s=i},526:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,r,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(o)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(i[l]=!0)}for(var d=0;d<e.length;d++){var c=[].concat(e[d]);o&&i[c[0]]||(void 0!==a&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=a),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),r&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=r):c[4]="".concat(r)),t.push(c))}},t}},405:e=>{e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},245:e=>{e.exports=function(e){return e[1]}},438:e=>{var t=[];function n(e){for(var n=-1,o=0;o<t.length;o++)if(t[o].identifier===e){n=o;break}return n}function o(e,o){for(var a={},i=[],s=0;s<e.length;s++){var l=e[s],d=o.base?l[0]+o.base:l[0],c=a[d]||0,p="".concat(d," ").concat(c);a[d]=c+1;var u=n(p),h={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==u)t[u].references++,t[u].updater(h);else{var m=r(h,o);o.byIndex=s,t.splice(s,0,{identifier:p,updater:m,references:1})}i.push(p)}return i}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var a=o(e=e||[],r=r||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var s=n(a[i]);t[s].references--}for(var l=o(e,r),d=0;d<a.length;d++){var c=n(a[d]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}a=l}}},413:e=>{var t={};e.exports=function(e,n){var o=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}},50:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},598:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},119:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var o="";n.supports&&(o+="@supports (".concat(n.supports,") {")),n.media&&(o+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(o+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),o+=n.css,r&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},615:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},840:e=>{e.exports="data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 version=%271.1%27 aria-hidden=%27true%27><path fill-rule=%27evenodd%27 d=%27M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z%27></path></svg>"}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={id:o,exports:{}};return e[o](a,a.exports,n),a.exports}n.m=e,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.b=document.baseURI||self.location.href,n.nc=void 0;var o={};n.r(o),n.d(o,{AuthTag:()=>$o,BenchCard:()=>_o,ConfirmAgain:()=>Po,Copy:()=>Zo,FilePreview:()=>zo,FileUploadDrawer:()=>Oe,FileUploadModal:()=>xn,FileUploader:()=>vn,FloatingLabelInput:()=>nr,FloatingLayer:()=>Do,Header:()=>v,InputTag:()=>k,PopoverSelect:()=>sr,StatusTag:()=>Xo,TipTapReader:()=>Ha,Tiptap:()=>qa,UploadDrawerUploadStoreProvider:()=>G,UploadStoreProvider:()=>ut,copy:()=>Ko});var r={};n.r(r),n.d(r,{default:()=>er,input:()=>Yo.hF,"input-label":()=>Yo.eo,"input-label-hinden":()=>Yo.J2,"slide-input-wrapper":()=>Yo.T1});const a=require("react/jsx-runtime"),i=require("antd");var s=n(438),l=n.n(s),d=n(119),c=n.n(d),p=n(413),u=n.n(p),h=n(598),m=n.n(h),b=n(50),f=n.n(b),w=n(615),g=n.n(w),y=n(280),x={};function v(e){const{showLogin:t}=e;return(0,a.jsxs)("div",{className:y.LV,children:[(0,a.jsx)("img",{src:"https://www.unpkg.com/@zjlab-fe/fe-assets/logo-white.png",className:y.wm}),t&&(0,a.jsx)(i.Button,{ghost:!0,children:"登录"})]})}x.styleTagTransform=g(),x.setAttributes=m(),x.insert=u().bind(null,"head"),x.domAPI=c(),x.insertStyleElement=f(),l()(y.Ay,x),y.Ay&&y.Ay.locals&&y.Ay.locals;const j=require("react");function k(e){const{value:t,onChange:n,placeholder:o="请输入关键字",valueType:r,deduplicated:s=!0,size:l,maxLength:d,disabled:c}=e,[p,u]=(0,j.useState)([]),[h,m]=(0,j.useState)(1),b=(0,j.useRef)(null);(0,j.useEffect)((()=>{if(Array.isArray(t))u(t);else if("string"==typeof t){const e=t.replaceAll(";",";").split(";").filter((e=>""!==e));u(e)}}),[t]),(0,j.useEffect)((()=>{1!==h&&(null==b?void 0:b.current)&&b.current.focus()}),[h]);const f=e=>{if(s&&(e=Array.from(new Set(e))),u(e),"array"===r)null==n||n(e.length>0?e:void 0);else{const t=e.join(";");null==n||n(t||void 0)}};let w;return(null==p?void 0:p.length)>0&&(w=p.map(((e,t)=>(0,a.jsx)(i.Tag,{closeIcon:!c,onClose:()=>(e=>{const t=p.filter(((t,n)=>n!==e));f(t),m(h+1)})(t),children:e},t)))),(0,a.jsx)(i.Input,{disabled:c,size:l,ref:b,placeholder:o,prefix:w,onPressEnter:e=>{const t=e.target.value.trim();if(""!==t){const e=t.replaceAll(";",";").split(";").filter((e=>""!==e)),n=[...p,...e];f(n),m(h+1)}},maxLength:d},h)}const N=1024,A=1048576,z=1073741824;var E,C;(C=E||(E={}))[C.INIT=1]="INIT",C[C.UPLOADING=2]="UPLOADING",C[C.FINISHED=3]="FINISHED",C[C.FAILED=4]="FAILED",C[C.PAUSED=5]="PAUSED",C[C.CANCELED=6]="CANCELED";const S=1,M=2;var B=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function O(e,t,n){return B(this,void 0,void 0,(function*(){const{name:o,size:r}=e,a=t?`${t}${o}`:o,i=Object.assign(Object.assign({},{fileStatus:E.INIT,percentage:0,uploadId:"",expiryTime:"",uploadUrls:[],completeSeq:[],failSeq:[],cancelControllers:{},uploadStatus:[],chunkSize:0,displaySize:"",fileName:"",partCount:0,raw:void 0}),{fileName:a,raw:new File([e],a,{type:e.type}),partCount:Z(r),chunkSize:W(r),displaySize:D(r)}),s=yield n(a,i.partCount);return s.status?Object.assign(Object.assign({},i),s.uploadInfo):Object.assign(Object.assign({},i),{fileStatus:E.FAILED})}))}function W(e){return e<10*A?10*A:Math.ceil(e/10)}function Z(e){const t=W(e);return Math.floor(e/t)+1}function K(e,t,n,o){I(e);try{e.createObjectStore(t,{}),e.onversionchange=t=>{null===t.newVersion&&e.close()},n([])}catch(e){o(Error(`升级数据库异常: ${e.message}`))}}function J(e,t,n){const o=T.version+1;T.close();const r=window.indexedDB.open(L,o);r.onupgradeneeded=()=>K(r.result,e,t,n)}function F(e,t,n){(function(e){return new Promise((function(t,n){let o;try{o=T.transaction(e,"readonly");try{const n=o.objectStore(e),r=[],a=n.openCursor();a.onsuccess=()=>{const e=a.result;e?(r.push(e.value),e.continue()):t(r)},a.onerror=()=>{console.warn(`在handleFileRetrieve()中游标操作失败 - 错误代码: ${a.error}`,a.error)}}catch(e){n(Error(`在handleFileRetrieve()中执行事务或打开游标时发生异常 - ${e.message}`))}}catch(e){n(Error(`在handleFileRetrieve()中创建数据库事务时发生异常 - ${e.message}`))}}))})(e).then(t).catch(n)}var P=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};const L="uploadStore";let T;function I(e){T=e}function D(e){const t=[{value:z,label:"GB"},{value:A,label:"MB"},{value:N,label:"KB"},{value:1,label:"B"}];for(const{value:n,label:o}of t)if(e>=n||1===n)return(e/n).toFixed(1)+o;return e+"B"}var U=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function q(e,t,n){return U(this,arguments,void 0,(function*(e,t,n,o=""){return e.isDirectory?t?function(e,t){return U(this,void 0,void 0,(function*(){const n=yield function(e){return new Promise(((t,n)=>{e.createReader().readEntries(t,n)}))}(e),o=n.map((e=>q(e,!0,t,e.fullPath)));return(yield Promise.allSettled(o)).filter((e=>"fulfilled"===e.status)).flatMap((e=>e.value))}))}(e,n):[]:e.isFile?e.name.includes(".DS_Store")?[]:function(e,t,n){return U(this,void 0,void 0,(function*(){const o=yield function(e){return new Promise(((t,n)=>{e.file(t,n)}))}(e);return function(e,t){if(0===t.size)return!0;const n=e.name.split(".").pop()||"";return t.has(`.${n}`)}(o,t)?[H(o,n)]:[]}))}(e,n,o):[]}))}function H(e,t){const n=e.slice(0,e.size,e.type);return new File([n],t.slice(1)||e.name,{type:e.type})}function R(e){return e.map((({completeSeq:e,uploadId:t,uploadStatus:n,uploadUrls:o,percentage:r,fileName:a,failSeq:i})=>({fileName:a,uploadId:t,completeSeq:e,uploadStatus:n,percentage:r,uploadUrls:[...o,...i]})))}const _={},V=(0,j.createContext)(_),$=(0,j.createContext)((()=>null));function G({children:e}){const[t,n]=(0,j.useReducer)(X,{});return function(e){(0,j.useEffect)((()=>{return window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)};function t(){const t=[];for(const[n,o]of Object.entries(e)){const e=o.filter((e=>e.fileStatus!==E.FINISHED));e.length?localStorage.setItem(n,JSON.stringify(R(e))):t.push(n)}t.length&&function(e){P(this,void 0,void 0,(function*(){const t=T.version+1;return T.close(),new Promise(((n,o)=>{const r=window.indexedDB.open(L,t);r.onupgradeneeded=()=>{const t=r.result;e.forEach((e=>{t.objectStoreNames.contains(e)&&t.deleteObjectStore(e)}))},r.onsuccess=()=>{r.result.close(),n()},r.onerror=()=>o(r.error)}))}))}(t)}}),[e])}(t),(0,a.jsx)(V.Provider,{value:t,children:(0,a.jsx)($.Provider,{value:n,children:e})})}function X(e,t){switch(t.type){case"add":return Object.assign(Object.assign({},e),{[t.identifier]:[]});case"remove_file":{const n=e[t.identifier],o=n.findIndex((e=>e.fileName===t.file.fileName));return Object.assign(Object.assign({},e),{[t.identifier]:[...n.slice(0,o),...n.slice(o+1)]})}case"edit_file":{const n=e[t.identifier],o=n.findIndex((e=>e.fileName===t.file.fileName));return Object.assign(Object.assign({},e),{[t.identifier]:[...n.slice(0,o),t.file,...n.slice(o+1)]})}case"add_file":{const n=e[t.identifier],o=n.findIndex((e=>e.fileName===t.file.fileName));return-1===o?Object.assign(Object.assign({},e),{[t.identifier]:[...n,t.file]}):Object.assign(Object.assign({},e),{[t.identifier]:[...n.slice(0,o),t.file,...n.slice(o+1)]})}case"add_files":{const n=e[t.identifier];return Object.assign(Object.assign({},e),{[t.identifier]:[...n,...t.files]})}case"clear_finished":{const n=e[t.identifier];return Object.assign(Object.assign({},e),{[t.identifier]:n.filter((e=>e.fileStatus!==E.FINISHED))})}default:throw Error("Unknown action")}}const Y=require("@ant-design/icons");var Q=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};const ee="border-dashed rounded border bg-gray-50 p-4 hover:border-green-600 border-gray-300";function te({accept:e="",directory:t=!0,dragAreaDescription:n,onFileReceived:o}){const r=(0,j.useMemo)((()=>new Set(e?e.split(","):[])),[e]),s=(0,j.useRef)(null),[l,d]=(0,j.useState)(!1),c={onDragLeave:()=>d(!1),onDragEnter:e=>e.preventDefault(),onDragOver:e=>{e.preventDefault(),d(!0)},onDrop:function(e){return Q(this,void 0,void 0,(function*(){e.preventDefault(),d(!1);const n=Array.from(e.dataTransfer.items).map((e=>e.webkitGetAsEntry())).filter(Boolean).map((e=>q(e,t,r))),a=(yield Promise.allSettled(n)).filter((e=>"fulfilled"===e.status)).flatMap((e=>e.value));a.length&&o(a)}))}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(i.Flex,Object.assign({vertical:!0,gap:"1rem",align:"center",className:`${l?"border-green-600":""} ${ee}`},c,{onClick:()=>{var e;return null===(e=s.current)||void 0===e?void 0:e.click()},children:[(0,a.jsx)("p",{className:"text-5xl text-green-600 m-0",children:(0,a.jsx)(Y.InboxOutlined,{})}),(0,a.jsx)("div",{className:"text-base text-center",children:n?Array.isArray(n)?n.map(((e,t)=>(0,a.jsx)("p",{className:"text-base m-0",children:e},t))):(0,a.jsx)("p",{className:"text-base m-0",children:n}):(0,a.jsx)("p",{className:"text-base m-0",children:"点击或拖拽上传文件"})})]})),(0,a.jsx)("input",{ref:s,type:"file",accept:e,hidden:!0,multiple:!0,onChange:function(){var e;const t=null===(e=s.current)||void 0===e?void 0:e.files;(null==t?void 0:t.length)&&o(Array.from(t))},onClick:()=>{s.current&&(s.current.value="")}})]})}const ne={size:32,strokeWidth:12,type:"circle",strokeLinecap:"butt"};function oe({percent:e,status:t,onClick:n}){const{progressButtonRef:o,buttonInHover:r}=function(){const e=(0,j.useRef)(null),[t,n]=(0,j.useState)(!1);return(0,j.useEffect)((()=>{const t=e.current;if(!t)return;const o=()=>n(!0),r=()=>n(!1);return t.addEventListener("mouseenter",o),t.addEventListener("mouseleave",r),()=>{t.removeEventListener("mouseenter",o),t.removeEventListener("mouseleave",r)}}),[]),{progressButtonRef:e,buttonInHover:t}}(),[s,l]=(0,j.useState)(!1);return t===E.FINISHED?(0,a.jsx)(Y.CheckOutlined,{className:"text-green-600 text-2xl h-8"}):t===E.FAILED?(0,a.jsx)(a.Fragment,{children:s?(0,a.jsx)(Y.LoadingOutlined,{className:"text-red-600 text-2xl h-8"}):(0,a.jsx)(Y.CloseOutlined,{className:"text-red-600 text-2xl h-8",onClick:()=>{n(),l(!0)}})}):(0,a.jsx)(i.Button,{type:"text",shape:"circle",disabled:s,ref:o,title:t===E.PAUSED?"继续下载":"取消下载",onClick:()=>{n(),t===E.UPLOADING&&l(!0)},children:(0,a.jsx)(i.Progress,Object.assign({percent:e},ne,{strokeColor:s?"#f0a020":"#19a1fe",format:function(){return t===E.PAUSED?(0,a.jsx)(Y.PauseOutlined,{}):s?(0,a.jsx)(Y.LoadingOutlined,{className:"text-yellow-500"}):r?(0,a.jsx)(Y.CloseOutlined,{}):void 0}}))})}var re=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function ae(){const{identifier:e,root:t,getUploadUrls:n}=(0,j.useContext)(Be),o=(0,j.useContext)($);return(0,j.useCallback)((r=>re(this,void 0,void 0,(function*(){const a=function(e){if(!e.expiryTime)return S;const t=new Date;return new Date(e.expiryTime)<t?S:M}(r)===S;if(a){const a=yield O(r.raw,t,n);o({type:"edit_file",identifier:e,file:a})}else{const t=Object.assign(Object.assign({},r),{fileStatus:E.INIT,uploadUrls:[...r.failSeq,...r.uploadUrls],failSeq:[],cancelControllers:{}});o({type:"edit_file",identifier:e,file:t})}}))),[e,t,n,o])}var ie=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function se(){const{message:e}=i.App.useApp(),{identifier:t,onCancelUpload:n}=(0,j.useContext)(Be),o=(0,j.useContext)($);return function(t){return ie(this,void 0,void 0,(function*(){const{fileName:o,uploadId:a}=t;if(!a)return void r(t);const i=yield n(o,a);i.status?r(t):e.error(i.reason||"取消失败")}))};function r(e){e.fileStatus=E.CANCELED,function(e,t){let n;try{n=T.transaction(e,"readwrite")}catch(e){return void console.warn("db.transaction() exception in deleteFileInStore() - "+e.message)}try{const o=n.objectStore(e).delete(t);o.onsuccess=()=>!0,o.onerror=e=>{console.warn("deleteReq.onerror fired in deleteFileInStore() - error code: "+o.error)}}catch(e){return void console.warn("Transaction and/or put() exception in deleteFileInStore() - "+e.message)}}(String(t),e.fileName),Object.values(e.cancelControllers).forEach((e=>e.abort())),o({type:"remove_file",identifier:t,file:e})}}var le=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function de({identifier:e,showFinished:t}){const n=(0,j.useContext)(V),o=se(),r=ae(),[i,s]=(0,j.useState)([]);return(0,j.useEffect)((()=>{const o=n[e].filter((e=>e.fileStatus!==E.CANCELED&&(!1!==t||e.fileStatus!==E.FINISHED)));s(o)}),[e,t,n]),(0,a.jsx)("div",{className:"my-4",children:i.map((n=>(0,a.jsx)(ce,{identifier:e,file:n,showFinished:t,onButtonClick:l},n.fileName)))});function l(e){e.fileStatus===E.PAUSED?r(e):o(e)}}function ce({identifier:e,file:t,showFinished:n,onButtonClick:o}){const r=(0,j.useContext)($),s="object"==typeof n&&n.withDelete;return(0,a.jsx)("div",{className:"mb-2 last:mb-0",children:(0,a.jsxs)("div",{className:"px-4 my-2 relative flex justify-between items-center",children:[(0,a.jsxs)(i.Flex,{align:"center",gap:".5rem",title:t.fileName,children:[(0,a.jsx)(Y.FileTextOutlined,{}),(0,a.jsx)("span",{className:"truncate w-40",children:t.fileName})]}),(0,a.jsxs)(i.Flex,{align:"center",gap:".5rem",children:[(0,a.jsx)(oe,{status:t.fileStatus,percent:Number(t.percentage.toFixed(0)),onClick:()=>o(t)}),t.fileStatus===E.FINISHED&&s&&(0,a.jsx)(i.Button,{type:"text",size:"large",className:"px-3",disabled:s.disabled,title:s.disabled?"删除-已禁用":"删除",onClick:()=>function(t,n){return le(this,void 0,void 0,(function*(){(yield n(t.fileName))&&r({type:"remove_file",identifier:e,file:t})}))}(t,s.onDelete),children:(0,a.jsx)(Y.DeleteOutlined,{})})]})]})})}var pe=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function ue(e,t,n){const o=new Set(t.map((e=>e.fileName)));return e.filter((e=>{const t=n?`${n}${e.name}`:e.name;return o.has(t)})).map((e=>e.name))}function he(e,t){return e.filter((e=>{var n;const o=e.name.includes("/"),r=e.name.split("/")[0];return o===(null===(n=t.find((e=>e.fileName===r)))||void 0===n?void 0:n.isFolder)})).map((e=>e.name))}var me=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function be(){const{message:e}=i.App.useApp(),{identifier:t,root:n,getUploadUrls:o}=(0,j.useContext)(Be),r=(0,j.useContext)($),a=function(){const{message:e,modal:t}=i.App.useApp(),n=(0,j.useContext)(V),{identifier:o,maxSizePerFile:r=10*z,uploadHistory:a=[],root:s}=(0,j.useContext)(Be);return function(i){return pe(this,void 0,void 0,(function*(){const l=function(t){const n=t.filter((e=>e.size>r)).map((e=>e.name));if(n.length){const t=D(r);e.warning(`以下文件大小超过${t}:${n.join(", ")}`)}return n}(i),[d,c]=yield function(e){return pe(this,void 0,void 0,(function*(){const r=[...ue(e,n[o],s),...he(e,a)];return r.length?[yield t.confirm({title:"发现同名文件,是否覆盖?",okText:"覆盖",cancelText:"取消"}),r]:[!0,[]]}))}(i);return d?[new Set(l),new Set(c)]:[new Set([...l,...c]),new Set]}))}}(),s=function(){const e=(0,j.useContext)(V),{identifier:t}=(0,j.useContext)(Be),n=se();return function(o){const r=e[t];for(const e of o){const t=r.find((t=>t.fileName===e));t&&n(t)}}}();return function(i){return me(this,void 0,void 0,(function*(){const l=yield function(e){return me(this,void 0,void 0,(function*(){const t=new Map(e.map((e=>[e.name,e]))),[n,o]=yield a(e);return n.forEach((e=>t.delete(e))),s(o),Array.from(t.values())}))}(i),d=yield function(e){return me(this,void 0,void 0,(function*(){const t=e.map((e=>O(e,n,o)));return(yield Promise.allSettled(t)).filter((e=>"fulfilled"===e.status)).map((e=>e.value))}))}(l);d.forEach((e=>{r({type:"add_file",identifier:t,file:e})})),function(e,t){try{const n=function(e){const t=T.transaction(e,"readwrite");return t.onerror=()=>console.warn(`添加文件事务错误: ${t.error}`),t.onabort=()=>console.warn("添加文件事务已中止"),t.oncomplete=()=>console.warn("添加文件事务已完成"),t}(e);!function(e,t){t.map((t=>function(e,t){try{e.put(t,t.fileName),console.warn(`文件 "${t.fileName}" 添加成功`)}catch(e){console.warn(`添加文件 "${t.fileName}" 时出错: ${e.message}`)}}(e,t)))}(n.objectStore(e),t)}catch(e){console.warn(`批量添加文件时出错: ${e.message}`)}}(t,d),d.length<l.length&&e.info("部分文件获取上传地址失败")}))}}const fe=require("axios");var we=n.n(fe),ge=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function ye(e,t=1e3){let n=null;return function(o){n||(n=setTimeout((()=>{e(o),n=null}),t))}}function xe(e,t,n){const o=e.uploadUrls.findIndex((e=>e===t));e.uploadUrls.splice(o,1),e["complete"===n?"completeSeq":"failSeq"].push(t)}var ve=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))},je=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function ke(){const e=function(){const{identifier:e,onOnePartDone:t}=(0,j.useContext)(Be),n=(0,j.useContext)($),o=(0,j.useCallback)(((t,o,r)=>{o.fileStatus===E.UPLOADING&&(o.uploadStatus[r]=Number(t.progress),o.percentage=o.uploadStatus.reduce(((e,t)=>e+t))*(100/o.partCount),n({type:"edit_file",identifier:e,file:o}))}),[e,n]),r=(0,j.useCallback)(((e,t,n)=>ge(this,void 0,void 0,(function*(){const r=we().create({});yield r.put(e.uploadUrl,t,{signal:n.cancelControllers[e.partNum].signal,withCredentials:!1,timeout:18e5,headers:{"Content-Type":"application/octet-stream"},onUploadProgress:ye((t=>o(t,n,e.partNum)))})}))),[o]),a=(0,j.useCallback)(((e,n)=>ge(this,void 0,void 0,(function*(){const{fileName:o,uploadId:r}=e,a=yield t(o,r,n.partNum);if(!a.status)throw new Error(a.reason);xe(e,n,"complete")}))),[t]),i=(0,j.useCallback)(((e,t,n)=>ge(this,void 0,void 0,(function*(){try{return yield r(e,t,n),yield a(n,e),n.fileStatus}catch(t){return xe(n,e,"fail"),n.fileStatus}}))),[r,a]);return(0,j.useCallback)((t=>ge(this,void 0,void 0,(function*(){t.fileStatus=E.UPLOADING,n({type:"edit_file",identifier:e,file:t});const o=function(e){const{uploadUrls:t,chunkSize:n,raw:o}=e,r=o.size;return t.map((({partNum:e,uploadUrl:t})=>{const a=e*n,i=Math.min((e+1)*n,r);return{url:{partNum:e,uploadUrl:t},chunk:o.slice(a,i)}}))}(t);for(const{url:r,chunk:a}of o){if(t.cancelControllers[r.partNum]=new AbortController,(yield i(r,a,t))===E.CANCELED)return!1;n({type:"edit_file",identifier:e,file:t})}}))),[e,n,i])}(),t=function(){const{identifier:e,onAllPartDone:t}=(0,j.useContext)(Be),n=(0,j.useContext)($);return(0,j.useCallback)((o=>ve(this,void 0,void 0,(function*(){try{const{fileName:e,uploadId:n}=o;if(0!==o.failSeq.length)throw new Error("partial failed");{const r=yield t(e,n);if(!r.status)throw new Error(r.reason);o.fileStatus=E.FINISHED}}catch(e){o.fileStatus=E.FAILED}finally{n({type:"edit_file",identifier:e,file:o})}}))),[e,t,n])}();return(0,j.useCallback)(((n,o)=>je(this,void 0,void 0,(function*(){yield e(n),n.fileStatus!==E.CANCELED&&(yield t(n),n.fileStatus===E.FINISHED&&o&&o(n))}))),[e,t])}var Ne=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function Ae(e){const{message:t,modal:n}=i.App.useApp(),o=(0,j.useContext)($),r=ae();return(0,j.useCallback)((()=>Ne(this,void 0,void 0,(function*(){const a=yield function(e){return Ne(this,void 0,void 0,(function*(){const t=yield(o=e,new Promise(((e,t)=>{T?function(e,t,n){T.objectStoreNames.contains(e)?F(e,t,n):J(e,t,n)}(o,e,t):function(e,t,n){try{const o=window.indexedDB.open(L);o.onupgradeneeded=()=>K(o.result,e,t,n),o.onsuccess=()=>function(e,t,n,o){I(e),e.objectStoreNames.contains(t)?F(t,n,o):J(t,n,o)}(o.result,e,t,n),o.onerror=()=>n(Error(`打开数据库失败: ${o.error}`)),o.onblocked=()=>n(Error(`数据库被阻塞: ${o.error}`))}catch(e){console.warn(`打开数据库时发生异常: ${e.message}`,e),n(e)}}(o,e,t)}))),n=JSON.parse(localStorage.getItem(e)||"[]").map((e=>{const n=t.find((t=>t.fileName===e.fileName));return Object.assign(Object.assign(Object.assign({},n),e),{fileStatus:E.PAUSED})}));var o;return localStorage.removeItem(e),n}))}(e);o({type:"add_files",identifier:e,files:a}),a.length&&n.confirm({title:"提示",content:"检测到未完成上传任务,是否继续上传?",onOk(){a.forEach(r)},onCancel(){t.info("点击上传按钮手动继续")}})}))),[e,o,r,n,t])}var ze=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function Ee({open:e,identifier:t,accept:n,dragAreaDescription:o,footer:r,title:s="数据上传",showFinished:l=!1,directory:d=!1,onClose:c}){var p,u;const h=(0,j.useContext)(V),m=(0,j.useContext)($),{onSuccess:b}=(0,j.useContext)(Be),f=be(),w=ke(),g=Ae(t),[y,x]=(0,j.useState)([]),v=(0,j.useRef)("");return(0,j.useEffect)((()=>{v.current!==t&&(h&&m?(v.current=t,h[t]||m({type:"add",identifier:t}),g()):console.warn("FileUploadDrawer 必须在 UploadStoreProvider 内使用"))}),[t,g,h,m]),(0,j.useEffect)((()=>{const e=h[t];if(!e)return;const n=!e.some((e=>e.fileStatus===E.UPLOADING)),o=e.find((e=>e.fileStatus===E.INIT));n&&o&&w(o,b)}),[t,b,w,h]),(0,a.jsxs)(i.Drawer,{className:"mylib-upload-drawer",open:e,title:s,width:480,onClose:c,footer:r,children:[(0,a.jsx)(te,{directory:d,accept:n,dragAreaDescription:o,onFileReceived:function(e){return ze(this,void 0,void 0,(function*(){x((t=>[...t,...e])),yield f(e),x((t=>{const n=new Set(t);for(const t of e)n.delete(t);return[...n]}))}))}}),0===y.length&&0===(null===(p=h[t])||void 0===p?void 0:p.length)&&(0,a.jsx)(i.Empty,{className:"mt-20",description:"暂无上传内容"}),y.length>0&&(0,a.jsxs)("div",{className:"flex justify-center gap-4 mt-4",children:[(0,a.jsx)(Y.LoadingOutlined,{}),"预检上传文件中(",y.length,")"]}),(null===(u=h[t])||void 0===u?void 0:u.length)>0&&(0,a.jsx)(de,{showFinished:l,identifier:t})]})}var Ce=n(588),Se={};Se.styleTagTransform=g(),Se.setAttributes=m(),Se.insert=u().bind(null,"head"),Se.domAPI=c(),Se.insertStyleElement=f(),l()(Ce.A,Se),Ce.A&&Ce.A.locals&&Ce.A.locals;var Me=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};const Be=(0,j.createContext)({identifier:"",getUploadUrls:()=>Me(void 0,void 0,void 0,(function*(){return{status:!1}})),onCancelUpload:()=>Me(void 0,void 0,void 0,(function*(){return{status:!1}})),onOnePartDone:()=>Me(void 0,void 0,void 0,(function*(){return{status:!1}})),onAllPartDone:()=>Me(void 0,void 0,void 0,(function*(){return{status:!1}}))});function Oe(e){if((0,j.useContext)(V)===_)return(0,a.jsx)(i.Drawer,{open:e.open,onClose:e.onClose,title:"数据上传",children:(0,a.jsx)(i.Alert,{message:"FileUploadDrawer 必须在 UploadStoreProvider 内使用",type:"warning"})});const{identifier:t,maxSizePerFile:n=10*z,directory:o=!1,root:r="",uploadHistory:s=[],onSuccess:l,getUploadUrls:d,onCancelUpload:c,onOnePartDone:p,onAllPartDone:u,onClose:h,dragAreaDescription:m,accept:b,open:f,footer:w,title:g,showFinished:y}=e,x={identifier:t,maxSizePerFile:n,directory:o,root:r,uploadHistory:s,onSuccess:l,getUploadUrls:d,onCancelUpload:c,onOnePartDone:p,onAllPartDone:u};return(0,a.jsx)(Be.Provider,{value:x,children:(0,a.jsx)(Ee,{open:f,accept:b,footer:w,title:g,showFinished:y,directory:o,identifier:t,dragAreaDescription:m,onClose:h})})}var We,Ze=n(884),Ke={};Ke.styleTagTransform=g(),Ke.setAttributes=m(),Ke.insert=u().bind(null,"head"),Ke.domAPI=c(),Ke.insertStyleElement=f(),l()(Ze.A,Ke),Ze.A&&Ze.A.locals&&Ze.A.locals,function(e){e[e.SHOULD_CREATE_NEW_FILE=0]="SHOULD_CREATE_NEW_FILE",e[e.SHOULD_USE_OLD_INFO=1]="SHOULD_USE_OLD_INFO"}(We||(We={}));const Je=1024,Fe=1048576,Pe=1073741824;var Le;!function(e){e[e.INIT=1]="INIT",e[e.UPLOADING=2]="UPLOADING",e[e.ALL_UPLOADED=3]="ALL_UPLOADED",e[e.MERGING=4]="MERGING",e[e.FINISHED=5]="FINISHED",e[e.FAILED=6]="FAILED",e[e.PAUSED=7]="PAUSED",e[e.CANCELED=8]="CANCELED"}(Le||(Le={}));var Te=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function Ie(e,t,n){return Te(this,void 0,void 0,(function*(){const{name:o,size:r}=e,a=t?`${t}${o}`:o,i=function(e,t,n){return{fileName:e,uploadId:"",percentage:0,expiryTime:"",failSeq:[],uploadUrls:[],completeSeq:[],uploadStatus:[],cancelControllers:[],fileStatus:Le.INIT,partCount:Ue(t),chunkSize:De(t),raw:new File([n],e,{type:n.type})}}(a,r,e),s=yield n(a,i.partCount);return s.status?Object.assign(Object.assign({},i),s.uploadInfo):Object.assign(Object.assign({},i),{fileStatus:Le.FAILED})}))}function De(e){return e<10*Fe?10*Fe:Math.ceil(e/10)}function Ue(e){const t=De(e);return Math.floor(e/t)+1}function qe(e,t){try{const n=_e.transaction(e,"readwrite").objectStore(e).delete(t);n.onsuccess=()=>console.info("在 deleteFileInStore 中 deleteReq.onsuccess 触发"),n.onerror=()=>console.warn("在 deleteFileInStore 中 deleteReq.onerror 触发 - 错误代码: "+n.error)}catch(e){return void console.warn("在 deleteFileInStore 中, db.transaction/transaction.objectStore/objectStore.delete 异常 - "+e.message)}}var He=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};const Re="uploadStore";let _e;function Ve(e){_e=e}var $e=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function Ge(e,t,n){return $e(this,arguments,void 0,(function*(e,t,n,o=""){return e.isDirectory?t?function(e,t){return $e(this,void 0,void 0,(function*(){const n=yield function(e){return new Promise(((t,n)=>{e.createReader().readEntries(t,n)}))}(e),o=n.map((e=>Ge(e,!0,t,e.fullPath)));return(yield Promise.allSettled(o)).filter((e=>"fulfilled"===e.status)).flatMap((e=>e.value))}))}(e,n):[]:e.isFile?e.name.includes(".DS_Store")?[]:function(e,t,n){return $e(this,void 0,void 0,(function*(){const o=yield function(e){return new Promise(((t,n)=>{e.file(t,n)}))}(e);return function(e,t){if(0===t.size)return!0;const n=e.name.split(".").pop()||"";return t.has(`.${n}`)}(o,t)?[Xe(o,n)]:[]}))}(e,n,o):[]}))}function Xe(e,t){const n=e.slice(0,e.size,e.type);return new File([n],t.slice(1)||e.name,{type:e.type})}var Ye=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function Qe(e){const t=e.map((e=>{var{raw:t}=e,n=Ye(e,["raw"]);const{uploadUrls:o,failSeq:r}=n;return Object.assign(Object.assign({},n),{failSeq:[],cancelControllers:{},uploadUrls:[...o,...r]})}));return JSON.stringify(t)}const et={"FileUploader 必须在 UploadStoreProvider 内使用":"FileUploader must be used within UploadStoreProvider","FileUploadModal 必须在 UploadStoreProvider 内使用":"FileUploadModal must be used within UploadStoreProvider",文件上传:"File Upload",确定:"Confirm",等待上传:"Waiting for upload",已取消:"Cancelled",上传中:"Uploading",上传失败:"Upload failed",已上传:"Uploaded",分块合并中:"Merging parts",以下文件大小超过:"The following files exceed the size",已删除:"Deleted",点击或拖拽上传文件:"Click or drag to upload files","发现同名文件,是否覆盖?":"Duplicate file found, overwrite?",覆盖:"Overwrite",取消:"Cancel",正在上传:"Uploading",取消失败:"Cancel failed",当前上传:"Current Upload",已暂停:"Paused",上传成功:"Upload successful",校验中:"Calibrating",合并中:"Merging"},tt={"FileUploader 必须在 UploadStoreProvider 内使用":"FileUploader 必须在 UploadStoreProvider 内使用","FileUploadModal 必须在 UploadStoreProvider 内使用":"FileUploadModal 必须在 UploadStoreProvider 内使用",文件上传:"文件上传",确定:"确定",等待上传:"等待上传",已取消:"已取消",上传中:"上传中",上传失败:"上传失败",已上传:"已上传",分块合并中:"分块合并中",以下文件大小超过:"以下文件大小超过",已删除:"已删除",点击或拖拽上传文件:"点击或拖拽上传文件","发现同名文件,是否覆盖?":"发现同名文件,是否覆盖?",覆盖:"覆盖",取消:"取消",正在上传:"正在上传",取消失败:"取消失败",当前上传:"当前上传",已暂停:"已暂停",上传成功:"上传成功",校验中:"校验中",合并中:"合并中"};var nt=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function ot(e,t){switch(t.type){case"add":return Object.assign(Object.assign({},e),{[t.identifier]:[]});case"remove_file":{const n=e[t.identifier],o=n.findIndex((e=>e.fileName===t.fileName));return Object.assign(Object.assign({},e),{[t.identifier]:[...n.slice(0,o),...n.slice(o+1)]})}case"edit_file":{const n=e[t.identifier],o=n.findIndex((e=>e.fileName===t.file.fileName));return Object.assign(Object.assign({},e),{[t.identifier]:[...n.slice(0,o),t.file,...n.slice(o+1)]})}case"add_file":{const n=e[t.identifier],o=n.findIndex((e=>e.fileName===t.file.fileName));return-1===o?Object.assign(Object.assign({},e),{[t.identifier]:[...n,t.file]}):Object.assign(Object.assign({},e),{[t.identifier]:[...n.slice(0,o),t.file,...n.slice(o+1)]})}case"add_files":{const n=e[t.identifier];return Object.assign(Object.assign({},e),{[t.identifier]:[...n,...t.files]})}case"clear_finished":{const n=e[t.identifier];return Object.assign(Object.assign({},e),{[t.identifier]:n.filter((e=>e.fileStatus!==Le.FINISHED))})}case"edit_files":return Object.entries(t.files).reduce(((t,[n,o])=>{const r=e[n];return o.forEach((e=>{const t=r.findIndex((t=>t.fileName===e.fileName));-1!==t?r[t]=e:r.push(e)})),t}),Object.assign({},e));default:throw Error("Unknown action")}}const rt=(0,j.createContext)(tt),at=(0,j.createContext)({}),it=(0,j.createContext)((()=>null)),st=(0,j.createContext)({}),lt=(0,j.createContext)((()=>null)),dt={},ct=(0,j.createContext)(dt),pt=(0,j.createContext)((()=>null));function ut({locale:e="zh",children:t}){const n="zh"===e?tt:et,[o,r]=(0,j.useReducer)(ot,{}),[i,s]=(0,j.useState)({}),[l,d]=(0,j.useState)({});return function(e){(0,j.useEffect)((()=>{return window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)};function t(){Object.entries(e).forEach((([e,t])=>{const n=t.filter((e=>e.fileStatus!==Le.FINISHED));n.length?localStorage.setItem(e,Qe(n)):function(e){He(this,void 0,void 0,(function*(){const t=_e.version+1;return _e.close(),new Promise(((n,o)=>{const r=window.indexedDB.open(Re,t);r.onupgradeneeded=()=>{const t=r.result;t.objectStoreNames.contains(e)&&t.deleteObjectStore(e)},r.onsuccess=()=>{r.result.close(),n()},r.onerror=()=>o(r.error)}))}))}(e)}))}}),[e])}(o),function(e,t){(0,j.useEffect)((()=>{const n=Object.keys(e).reduce(((t,n)=>{const o=e[n],r=o.filter((e=>e.fileStatus===Le.ALL_UPLOADED)),a=r.filter((e=>0===e.failSeq.length)),i=r.filter((e=>e.failSeq.length>0)),s=o.find((e=>e.fileStatus===Le.UPLOADING)),l=o.find((e=>e.fileStatus===Le.INIT)),d=s?void 0:l,c=[...i.map((e=>Object.assign(Object.assign({},e),{fileStatus:Le.FAILED}))),...a.map((e=>Object.assign(Object.assign({},e),{fileStatus:Le.MERGING}))),d?Object.assign(Object.assign({},d),{fileStatus:Le.UPLOADING}):void 0].filter((e=>!!e));return c.length?Object.assign(Object.assign({},t),{[n]:c}):t}),{});Object.keys(n).length&&t({type:"edit_files",files:n})}),[t,e])}(o,r),function(e,t,n,o){const r=(0,j.useRef)({}),a=(0,j.useCallback)((function(e,a){return nt(this,void 0,void 0,(function*(){const{onAllPartDone:i}=t[e],s=n[e],l=yield Promise.all(a.map((t=>nt(this,void 0,void 0,(function*(){return(yield i(t.fileName,t.uploadId)).status?(null==s||s(t),r.current[e].delete(t.uploadId),Object.assign(Object.assign({},t),{percentage:100,fileStatus:Le.FINISHED})):Object.assign(Object.assign({},t),{fileStatus:Le.FAILED})})))));o({type:"edit_files",files:{[e]:l}})}))}),[t,n,o]);(0,j.useEffect)((()=>{Object.keys(e).forEach((t=>{const n=e[t].filter((e=>e.fileStatus===Le.MERGING));if(n.length>0){const e=r.current[t]||new Set,o=n.filter((t=>!e.has(t.uploadId)));o.forEach((t=>e.add(t.uploadId))),r.current[t]=e,a(t,o)}}))}),[e,a])}(o,i,l,r),(0,a.jsx)(rt.Provider,{value:n,children:(0,a.jsx)(at.Provider,{value:i,children:(0,a.jsx)(it.Provider,{value:s,children:(0,a.jsx)(st.Provider,{value:l,children:(0,a.jsx)(lt.Provider,{value:d,children:(0,a.jsx)(ct.Provider,{value:o,children:(0,a.jsx)(pt.Provider,{value:r,children:t})})})})})})})}var ht=n(868),mt={};function bt(){const e=(0,j.useContext)(rt);return(0,j.useCallback)((t=>e[t]||(console.warn(`Translation key not found: ${t}`),t)),[e])}function ft(e){return(0,a.jsx)("svg",Object.assign({width:"34",height:"31",viewBox:"0 0 34 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{children:(0,a.jsxs)("g",{id:"ä¸ä¼ æå¾",children:[(0,a.jsx)("path",{id:"Vector",d:"M26 8.66665V29.7043C26.0013 29.867 25.9705 30.0284 25.9094 30.1792C25.8483 30.33 25.7581 30.4672 25.6439 30.5831C25.5297 30.699 25.3938 30.7913 25.244 30.8547C25.0941 30.918 24.9332 30.9512 24.7705 30.9523H1.22943C0.903577 30.9523 0.591055 30.823 0.360528 30.5927C0.130002 30.3624 0.000328142 30.05 0 29.7241V1.22819C0 0.563332 0.553428 0 1.23562 0H17.3333V7.42856C17.3333 7.75692 17.4638 8.07184 17.6959 8.30402C17.9281 8.53621 18.243 8.66665 18.5714 8.66665H26ZM26 6.19047H19.8095V0.00371423L26 6.19047Z",fill:"#B9D6FF"}),(0,a.jsxs)("g",{id:"Group 1000006993",children:[(0,a.jsx)("circle",{id:"Ellipse 87",cx:"26",cy:"23",r:"8",fill:"#1775FE"}),(0,a.jsx)("path",{id:"Vector_2",d:"M26.4545 24.315V27.5714H25.5455V24.315L24.3034 25.2023L23.775 24.4625L26 22.8732L28.225 24.4625L27.6966 25.2023L26.4545 24.315ZM31 24.4545C31 25.7098 29.9825 26.7273 28.7273 26.7273H27.3636V25.8182H28.7273C29.0749 25.8184 29.4094 25.6858 29.6625 25.4476C29.9156 25.2094 30.0682 24.8835 30.0891 24.5365C30.11 24.1896 29.9976 23.8477 29.7749 23.5808C29.5522 23.314 29.236 23.1422 28.8909 23.1007L28.4568 23.0489L28.4918 22.6127C28.4973 22.5455 28.5 22.4775 28.5 22.4091C28.5 21.0284 27.3807 19.9091 26 19.9091C25.4245 19.9091 24.8666 20.1077 24.4205 20.4712C23.9744 20.8347 23.6672 21.3409 23.5509 21.9045L23.4955 22.175L23.2295 22.2507C22.8492 22.3591 22.5146 22.5885 22.2763 22.9042C22.038 23.2198 21.9091 23.6045 21.9091 24C21.9091 24.4822 22.1006 24.9447 22.4416 25.2856C22.7826 25.6266 23.2451 25.8182 23.7273 25.8182H24.6364V26.7273H23.7273C22.2211 26.7273 21 25.5061 21 24C21 22.8655 21.6989 21.8682 22.7239 21.4632C22.9292 20.753 23.3598 20.1288 23.9506 19.6846C24.5415 19.2403 25.2607 19.0001 26 19C27.8414 19 29.3416 20.4598 29.4068 22.2852C29.8687 22.4302 30.2723 22.7187 30.5588 23.1089C30.8453 23.499 30.9999 23.9705 31 24.4545Z",fill:"white"})]})]})}))}function wt({description:e}){const t=bt();return(0,a.jsx)("div",{className:"text-gray-5 text-center",children:e?Array.isArray(e)?e.map(((e,t)=>(0,a.jsx)("p",{className:"m-0",children:e},t))):(0,a.jsx)("div",{className:"m-0",children:e}):(0,a.jsx)("p",{className:"m-0",children:t("点击或拖拽上传文件")})})}function gt({className:e,description:t,onClick:n,handleDrop:o}){const[r,i]=(0,j.useState)(!1),s={onDrop:e=>{e.preventDefault(),i(!1),o(e)},onDragLeave:()=>i(!1),onDragEnter:e=>e.preventDefault(),onDragOver:e=>{e.preventDefault(),i(!0)}};return(0,a.jsxs)("div",Object.assign({},s,{className:`zjlab-fe-data-hub-ui-default-drag-area ${r?"border-[#1775FE]":""} ${e}`,onClick:n,children:[(0,a.jsx)(ft,{}),(0,a.jsx)(wt,{description:t})]}))}mt.styleTagTransform=g(),mt.setAttributes=m(),mt.insert=u().bind(null,"head"),mt.domAPI=c(),mt.insertStyleElement=f(),l()(ht.A,mt),ht.A&&ht.A.locals&&ht.A.locals;var yt=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function xt({accept:e="",className:t="",directory:n=!0,dragAreaDescription:o,maxSizePerFile:r=10*Pe,onFileReceived:s}){const l=bt(),{message:d}=i.App.useApp(),c=(0,j.useRef)(null),p=(0,j.useMemo)((()=>new Set(e?e.split(","):[])),[e]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(gt,{className:t,description:o,handleDrop:function(e){return yt(this,void 0,void 0,(function*(){const t=Array.from(e.dataTransfer.items).map((e=>e.webkitGetAsEntry())).filter(Boolean).map((e=>Ge(e,n,p)));u((yield Promise.allSettled(t)).filter((e=>"fulfilled"===e.status)).flatMap((e=>e.value)))}))},onClick:()=>{var e;return null===(e=c.current)||void 0===e?void 0:e.click()}}),(0,a.jsx)("input",{hidden:!0,multiple:!0,type:"file",accept:e,ref:c,onChange:function(){var e;const t=null===(e=c.current)||void 0===e?void 0:e.files;u(Array.from(null!=t?t:[]))},onClick:()=>{c.current&&(c.current.value="")}})]});function u(e){const t=e.filter((e=>e.size<=r));if(t.length<e.length){const e=function(e){const t=[{value:Pe,label:"GB"},{value:Fe,label:"MB"},{value:Je,label:"KB"},{value:1,label:"B"}];for(const{value:n,label:o}of t)if(e>=n||1===n)return(e/n).toFixed(1)+o;return e+"B"}(r);d.warning(l("以下文件大小超过")+e+","+l("已删除"))}t.length&&s(t)}}function vt(e){return(0,a.jsx)("svg",Object.assign({width:"16",height:"17",viewBox:"0 0 16 17",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e,{children:(0,a.jsx)("g",{id:"icon/å
³éæé®",children:(0,a.jsx)("path",{id:"Subtract",fillRule:"evenodd",clipRule:"evenodd",d:"M14.6668 8.49967C14.6668 12.1816 11.6821 15.1663 8.00016 15.1663C4.31826 15.1663 1.3335 12.1816 1.3335 8.49967C1.3335 4.81777 4.31826 1.83301 8.00016 1.83301C11.6821 1.83301 14.6668 4.81777 14.6668 8.49967ZM10.239 6.26052C10.4343 6.45578 10.4343 6.77237 10.239 6.96763L8.70698 8.49969L10.239 10.0318C10.4343 10.227 10.4343 10.5436 10.239 10.7389C10.0438 10.9341 9.7272 10.9341 9.53194 10.7389L7.99987 9.2068L6.46781 10.7389C6.27255 10.9341 5.95597 10.9341 5.7607 10.7389C5.56544 10.5436 5.56544 10.227 5.7607 10.0318L7.29277 8.49969L5.7607 6.96763C5.56544 6.77237 5.56544 6.45578 5.7607 6.26052C5.95597 6.06526 6.27255 6.06526 6.46781 6.26052L7.99987 7.79258L9.53194 6.26052C9.7272 6.06526 10.0438 6.06526 10.239 6.26052Z",fill:"currentColor"})})}))}const jt=require("jotai");var kt=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};const Nt=we().create();function At(e,t=500){let n=null;return function(o){n||(n=setTimeout((()=>{e(o),n=null}),t))}}var zt=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))},Et=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};const Ct=(0,jt.atom)(null),St=(0,jt.atom)((e=>{var t;return null===(t=e(Ct))||void 0===t?void 0:t.fileName})),Mt=((0,jt.atom)((e=>{var t;return null===(t=e(Ct))||void 0===t?void 0:t.expiryTime})),(0,jt.atom)((e=>{var t;return null===(t=e(Ct))||void 0===t?void 0:t.uploadId}))),Bt=((0,jt.atom)((e=>{var t;return null===(t=e(Ct))||void 0===t?void 0:t.raw})),(0,jt.atom)((e=>{var t;return null===(t=e(Ct))||void 0===t?void 0:t.percentage}))),Ot=(0,jt.atom)((e=>{var t;return null===(t=e(Ct))||void 0===t?void 0:t.cancelControllers}));function Wt(){const e=(0,j.useRef)(!1),t=(0,j.useRef)([]),n=(0,j.useContext)(Jt),[o,r]=(0,jt.useAtom)(Ct),a=(0,j.useContext)(pt);!function(){const e=(0,j.useContext)(Jt),t=(0,j.useContext)(ct),n=(0,jt.useAtomValue)(Ct),o=(0,jt.useSetAtom)(Ct);(0,j.useEffect)((()=>{const n=t[e];if(!n||0===n.length)return;const r=n.find((e=>e.fileStatus===Le.UPLOADING));r&&o(Object.assign(Object.assign({},r),{fileStatus:Le.INIT}))}),[e,o,t]),(0,j.useEffect)((()=>{return window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)};function t(){n&&n.fileStatus===Le.UPLOADING&&localStorage.setItem(e+"_uploading",Qe([n]))}}),[n,e])}();const i=function(){const e=(0,j.useContext)(Jt),t=(0,jt.useSetAtom)(Ct),n=(0,j.useContext)(pt),o=function(){const e=(0,j.useContext)(Tt),t=(0,jt.useAtomValue)(Ot),n=(0,jt.useSetAtom)(Ct),o=(0,j.useCallback)(((e,t)=>{n((n=>{if(!n||n.fileStatus!==Le.UPLOADING)return n;const o=1!==n.uploadStatus[t]?n.uploadStatus.toSpliced(t,1,Number(e.progress)):n.uploadStatus,r=n.uploadStatus.reduce(((e,t)=>e+(t||0)),0)*(100/n.partCount);return Object.assign(Object.assign({},n),{percentage:r,uploadStatus:o})}))}),[n]);return(0,j.useCallback)(((n,r)=>kt(this,void 0,void 0,(function*(){t&&(yield Nt.put(n.uploadUrl,r,Object.assign(Object.assign({},e),{withCredentials:(null==e?void 0:e.withCredentials)||!1,timeout:(null==e?void 0:e.timeout)||18e5,headers:Object.assign({"Content-Type":"application/octet-stream"},null==e?void 0:e.headers),signal:t[n.partNum].signal,onUploadProgress:At((e=>o(e,n.partNum)))})))}))),[t,e,o])}(),r=function(e){const t=(0,jt.useAtomValue)(St),n=(0,jt.useAtomValue)(Mt),o=(0,j.useContext)(at),r=(0,jt.useSetAtom)(Ct),a=o[e],{onOnePartDone:i}=a;return(0,j.useCallback)((e=>zt(this,void 0,void 0,(function*(){if(!t||!n)return;const o=yield i(t,n,e.partNum);if(!o.status)throw new Error(o.reason);r((t=>{if(!t)return t;const n=[...t.uploadStatus];return n[e.partNum]=1,Object.assign(Object.assign({},t),{uploadStatus:n,uploadUrls:t.uploadUrls.filter((t=>t.partNum!==e.partNum)),completeSeq:[...t.completeSeq,e]})}))}))),[t,n,i,r])}(e),a=(0,j.useCallback)(((e,n)=>Et(this,void 0,void 0,(function*(){try{yield o(e,n),yield r(e)}catch(n){if(n instanceof Error&&"canceled"===n.message)return;t((t=>t?Object.assign(Object.assign({},t),{failSeq:[...t.failSeq,e],uploadUrls:t.uploadUrls.filter((t=>t!==e))}):t))}}))),[o,r,t]);return(0,j.useCallback)((function(o){return Et(this,void 0,void 0,(function*(){for(const{url:e,chunk:t}of o)yield a(e,t);t((t=>t?(n({type:"edit_file",identifier:e,file:Object.assign(Object.assign({},t),{fileStatus:Le.ALL_UPLOADED})}),null):t))}))}),[e,a,t,n])}();(0,j.useEffect)((()=>{o?(o.fileStatus===Le.INIT&&(t.current=function(e){const{uploadUrls:t,chunkSize:n,raw:o}=e,r=o.size;return t.map((({partNum:e,uploadUrl:t})=>{const a=e*n,i=Math.min((e+1)*n,r);return{url:{partNum:e,uploadUrl:t},chunk:o.slice(a,i)}}))}(o),r((e=>e?Object.assign(Object.assign({},e),{fileStatus:Le.UPLOADING,cancelControllers:new Array(t.current.length).fill(new AbortController)}):e))),o.fileStatus!==Le.UPLOADING||e.current||(e.current=!0,i(t.current)),o.fileStatus===Le.CANCELED&&(Object.values(o.cancelControllers).forEach((e=>e.abort())),a({type:"remove_file",identifier:n,fileName:o.fileName}),r(null)),o.fileStatus===Le.FAILED&&(a({type:"edit_file",identifier:n,file:o}),r(null))):e.current=!1}),[o,n,i,r,a])}const Zt=require("jotai-scope"),Kt=(0,j.createContext)(void 0),Jt=(0,j.createContext)(""),Ft=(0,j.createContext)(void 0),Pt=(0,j.createContext)(void 0),Lt=(0,j.createContext)(!1),Tt=(0,j.createContext)(void 0);function It({children:e,root:t,identifier:n,showFinished:o,uploadRequestConfig:r,externalUploadContext:i,externalUploadContextOnly:s=!1,onUploadSuccess:l,getUploadUrls:d,onCancelUpload:c,onOnePartDone:p,onAllPartDone:u,onDeleteFile:h}){const m=(0,j.useContext)(at),b=(0,j.useContext)(it),f=(0,j.useContext)(lt);return(0,j.useEffect)((()=>{b((e=>Object.assign(Object.assign({},e),{[n]:{getUploadUrls:d,onCancelUpload:c,onOnePartDone:p,onAllPartDone:u,onDeleteFile:h}})))}),[d,c,p,u,h,b,n]),(0,j.useEffect)((()=>{f((e=>Object.assign(Object.assign({},e),{[n]:l})))}),[n,l,f]),m[n]?(0,a.jsx)(Zt.ScopeProvider,{atoms:[Ct],children:(0,a.jsx)(Kt.Provider,{value:t,children:(0,a.jsx)(Jt.Provider,{value:n,children:(0,a.jsx)(Ft.Provider,{value:o,children:(0,a.jsx)(Pt.Provider,{value:i,children:(0,a.jsx)(Lt.Provider,{value:s,children:(0,a.jsx)(Tt.Provider,{value:r,children:e})})})})})})}):(0,a.jsx)(a.Fragment,{})}var Dt=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function Ut(){const e=bt(),{message:t}=i.App.useApp(),n=(0,j.useContext)(Jt),o=(0,j.useContext)(at),r=(0,j.useContext)(pt);return function(r){return Dt(this,void 0,void 0,(function*(){const{onCancelUpload:i}=o[n];if(!r.uploadId)return void a(r.fileName);const s=yield i(r.fileName,r.uploadId);s.status?a(r.fileName):t.error(s.reason||e("取消失败"))}))};function a(e){qe(String(n),e),r({type:"remove_file",identifier:n,fileName:e})}}function qt(e){return(0,a.jsx)("svg",Object.assign({width:"18",height:"16",viewBox:"0 0 18 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{children:(0,a.jsxs)("g",{id:"Component 56",children:[(0,a.jsx)("path",{id:"Subtract",d:"M10.1988 5.9923V1.50071L5.00029 1.5C4.44796 1.49992 4.00016 1.94765 4.00015 2.49999L4 13.4998C3.99999 14.0521 4.44771 14.4999 5 14.4999H13.5068C14.0591 14.4999 14.5068 14.0522 14.5068 13.4999L14.507 5.9923H10.1988Z",fill:"currentColor"}),(0,a.jsx)("path",{id:"Subtract_2",d:"M14.507 4.82148H11.3911V1.5L14.507 4.82148Z",fill:"currentColor",fillOpacity:"0.4"})]})}))}const Ht={size:12,type:"circle",strokeWidth:16,showInfo:!1,strokeLinecap:"butt"},Rt={[Le.INIT]:"等待上传",[Le.MERGING]:"合并中",[Le.CANCELED]:"已取消",[Le.ALL_UPLOADED]:"校验中",[Le.PAUSED]:"已暂停",[Le.FAILED]:"上传失败",[Le.UPLOADING]:"上传中",[Le.FINISHED]:"上传成功"},_t=(0,j.memo)((function({file:e}){const t=bt(),n=Ut();return(0,a.jsx)("div",{className:"my-2.5",children:(0,a.jsxs)(Vt,{children:[(0,a.jsx)($t,{fileName:e.fileName}),(0,a.jsxs)(i.Flex,{align:"center",gap:".25rem",className:"relative",children:[(0,a.jsx)(Gt,{fileStatus:t(Rt[e.fileStatus]),percentage:Number(e.percentage.toFixed(0)),className:"group-hover:-translate-x-6 transition-transform"}),(0,a.jsx)(Xt,{onDelete:()=>n(e),className:"absolute right-0 opacity-0 group-hover:opacity-100 transition-opacity"})]})]})})}));function Vt({children:e,className:t}){return(0,a.jsx)("div",{className:`p-2 relative flex justify-between items-center rounded group ${t}`,children:e})}function $t({fileName:e,className:t}){return(0,a.jsxs)(i.Flex,{align:"center",gap:".25rem",children:[(0,a.jsx)("div",{className:"flex items-center justify-center h-6 w-6 rounded bg-[#F5F7FA]",children:(0,a.jsx)(qt,{className:`text-gray-5 h-5 w-5 ${t}`})}),(0,a.jsx)("span",{className:`truncate w-40 text-gray-5 ${t}`,children:e})]})}function Gt({className:e="",fileStatus:t,percentage:n,strokeColor:o="#1775FE"}){return(0,a.jsxs)("div",{className:`flex items-center gap-1 h-6 text-sm mr-1 text-gray-5 ${e}`,children:[t,(0,a.jsx)(i.Progress,Object.assign({percent:n},Ht,{strokeColor:o}))]})}function Xt({onDelete:e,extraActions:t,className:n=""}){return(0,a.jsxs)("div",{className:`flex items-center justify-center h-6 gap-1 text-gray-5 ${n}`,children:[t,(0,a.jsx)(vt,{onClick:e,className:"h-4 w-4 cursor-pointer"})]})}const Yt=(0,j.memo)((function(){const e=bt(),t=(0,j.useContext)(Jt),n=(0,jt.useAtomValue)(St),o=(0,jt.useAtomValue)(Bt),r=(0,jt.useAtomValue)(Mt),s=(0,j.useContext)(at),{onCancelUpload:l}=s[t],d=(0,jt.useSetAtom)(Ct);return(0,a.jsx)("div",{className:"my-2.5",children:(0,a.jsxs)(Vt,{className:"border-gray-3 border border-solid hover:bg-assist-bg-blue",children:[(0,a.jsx)($t,{fileName:n}),(0,a.jsxs)(i.Flex,{align:"center",gap:".25rem",className:"relative",children:[(0,a.jsx)(Gt,{fileStatus:e("正在上传"),percentage:Number(o.toFixed(0)),className:"group-hover:-translate-x-6 transition-transform"}),(0,a.jsx)(Xt,{onDelete:function(){return o=this,a=void 0,c=function*(){const o=yield l(n,r);o.status?(qe(String(t),n),d((e=>e?Object.assign(Object.assign({},e),{fileStatus:Le.CANCELED}):e))):i.message.error(o.reason||e("取消失败"))},new((s=void 0)||(s=Promise))((function(e,t){function n(e){try{i(c.next(e))}catch(e){t(e)}}function r(e){try{i(c.throw(e))}catch(e){t(e)}}function i(t){var o;t.done?e(t.value):(o=t.value,o instanceof s?o:new s((function(e){e(o)}))).then(n,r)}i((c=c.apply(o,a||[])).next())}));var o,a,s,c},className:"absolute right-0 opacity-0 group-hover:opacity-100 transition-opacity"})]})]})})}));const Qt=(0,j.memo)((function({file:e}){const t=bt(),n=(0,j.useContext)(pt),o=(0,j.useContext)(Jt),r=(0,j.useContext)(at),{onDeleteFile:s}=r[o],l=Ut();return(0,a.jsx)("div",{className:"my-2.5",children:(0,a.jsxs)(Vt,{className:"border-gray-3 border border-solid hover:bg-assist-bg-blue",children:[(0,a.jsx)($t,{fileName:e.fileName,className:"text-green-green"}),(0,a.jsxs)(i.Flex,{align:"center",gap:".25rem",className:"relative",children:[(0,a.jsx)(Gt,{percentage:100,fileStatus:t("上传成功"),strokeColor:"#53C31B",className:"text-green-green group-hover:-translate-x-6 transition-transform"}),(0,a.jsx)(Xt,{onDelete:()=>function(e){return t=this,r=void 0,i=function*(){if(!s)return l(e);(yield s(e.fileName))&&n({type:"remove_file",identifier:o,fileName:e.fileName})},new((a=void 0)||(a=Promise))((function(e,n){function o(e){try{l(i.next(e))}catch(e){n(e)}}function s(e){try{l(i.throw(e))}catch(e){n(e)}}function l(t){var n;t.done?e(t.value):(n=t.value,n instanceof a?n:new a((function(e){e(n)}))).then(o,s)}l((i=i.apply(t,r||[])).next())}));var t,r,a,i}(e),className:"absolute right-0 opacity-0 group-hover:opacity-100 transition-opacity"})]})]})})})),en=(0,j.memo)((function({file:e}){const t=Ut();return(0,a.jsx)("div",{className:"my-2.5",children:(0,a.jsxs)(Vt,{className:"bg-red/10",children:[(0,a.jsx)((function(){return(0,a.jsxs)(i.Flex,{align:"center",gap:".25rem",children:[(0,a.jsx)("div",{className:"flex items-center justify-center h-6 w-6 rounded bg-red/10",children:(0,a.jsx)(qt,{className:"text-red-red h-5 w-5"})}),(0,a.jsx)("span",{className:"truncate w-40 text-red-red",children:e.fileName})]})}),{}),(0,a.jsxs)(i.Flex,{align:"center",gap:".25rem",className:"relative",children:[(0,a.jsx)((function({className:e=""}){const t=bt();return(0,a.jsx)("div",{className:`flex items-center gap-1 h-6 text-sm mr-1 text-red-red ${e}`,children:t("上传失败")})}),{className:"group-hover:-translate-x-6 transition-transform"}),(0,a.jsx)(Xt,{onDelete:()=>t(e),className:"text-red-red absolute right-0 opacity-0 group-hover:opacity-100 transition-opacity"})]})]})})}));var tn=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function nn(){const e=(0,j.useContext)(Jt),t=(0,j.useContext)(at),n=(0,j.useContext)(pt);return(0,j.useCallback)((o=>tn(this,void 0,void 0,(function*(){const r=t[e];if(function(e){if(!e)return We.SHOULD_CREATE_NEW_FILE;const t=new Date;return new Date(e)<t?We.SHOULD_CREATE_NEW_FILE:We.SHOULD_USE_OLD_INFO}(o.expiryTime)===We.SHOULD_CREATE_NEW_FILE){const t=yield Ie(o.raw,void 0,r.getUploadUrls);n({type:"edit_file",identifier:e,file:t})}else{const t=[...o.failSeq,...o.uploadUrls];n({type:"edit_file",identifier:e,file:Object.assign(Object.assign({},o),{uploadUrls:t,failSeq:[],cancelControllers:[],fileStatus:Le.INIT})})}}))),[e,t,n])}const on=(0,j.memo)((function({file:e}){const t=bt(),n=Ut();return(0,a.jsx)("div",{className:"my-2.5",children:(0,a.jsxs)(Vt,{className:"border-gray-3 border border-solid hover:bg-assist-bg-blue",children:[(0,a.jsx)($t,{fileName:e.fileName}),(0,a.jsxs)(i.Flex,{align:"center",gap:".25rem",className:"relative",children:[(0,a.jsx)(Gt,{fileStatus:t("已暂停"),percentage:Number(e.percentage.toFixed(0)),className:"group-hover:-translate-x-10 transition-transform"}),(0,a.jsx)(Xt,{extraActions:(0,a.jsx)((function(){const t=nn();return(0,a.jsx)(Y.PlayCircleFilled,{className:"text-gray-5 h-4 w-4 cursor-pointer",onClick:()=>t(e)})}),{}),onDelete:()=>n(e),className:"absolute right-0 opacity-0 group-hover:opacity-100 transition-opacity"})]})]})})}));function rn(){const e=bt(),t=(0,j.useContext)(Jt),n=(0,j.useContext)(ct),o=(0,j.useContext)(Ft),r=(0,jt.useAtomValue)(St),i=(0,j.useMemo)((()=>{var e;return null===(e=n[t])||void 0===e?void 0:e.filter((e=>!(!o&&e.fileStatus===Le.FINISHED)))}),[t,o,n]);return Wt(),i&&0!==i.length?(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("div",{className:"text-sm text-gray-7",children:e("当前上传")}),(0,a.jsx)("div",{className:"max-h-72 overflow-y-auto",children:i.map((e=>{if(e.fileName===r)return(0,a.jsx)(Yt,{},e.fileName);switch(e.fileStatus){case Le.FINISHED:return(0,a.jsx)(Qt,{file:e},e.fileName);case Le.FAILED:return(0,a.jsx)(en,{file:e},e.fileName);case Le.PAUSED:return(0,a.jsx)(on,{file:e},e.fileName);default:return(0,a.jsx)(_t,{file:e},e.fileName)}}))})]}):(0,a.jsx)(a.Fragment,{})}const an={icon:null,centered:!0,closable:!0,styles:{mask:{backgroundColor:"rgba(0, 0, 0, 0.6)"},body:{marginTop:"24px",textAlign:"center"},content:{padding:"20px 20px 16px 20px",borderRadius:"10px"}},footer:e=>(0,a.jsx)(i.Flex,{justify:"center",align:"center",children:e}),className:"zjlab-fe-data-hub-ui-modal"},sn={width:600,centered:!0,closable:!0,styles:{body:{display:"flow-root"},footer:{textAlign:"center"},header:{marginBlockEnd:"16px"},mask:{backgroundColor:"rgba(0, 0, 0, 0.6)"},content:{padding:"20px 20px 16px 20px",borderRadius:"10px"}},className:"zjlab-fe-data-hub-ui-file-uploader zjlab-fe-data-hub-ui-modal"};var ln=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function dn(e,t,n){const o=new Set(t.map((e=>e.fileName)));return e.filter((e=>{const t=n?`${n}${e.name}`:e.name;return o.has(t)})).map((e=>e.name))}function cn(e,t){return e.filter((e=>{var n;const o=e.name.includes("/"),r=e.name.split("/")[0];return o===(null===(n=t.find((e=>e.fileName===r)))||void 0===n?void 0:n.isFolder)})).map((e=>e.name))}var pn=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};var un=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function hn(e){const{message:t,modal:n}=i.App.useApp(),o=(0,j.useContext)(pt),r=nn();return(0,j.useCallback)((()=>un(this,void 0,void 0,(function*(){const a=yield function(e){return un(this,void 0,void 0,(function*(){const t=yield(i=e,new Promise(((e,t)=>{function n(n){_e.objectStoreNames.contains(n)?function(e){return new Promise((function(t,n){try{const n=_e.transaction(e,"readonly").objectStore(e),o=[],r=n.openCursor();r.onsuccess=()=>{const e=r.result;e?(o.push(e.value),e.continue()):t(o)},r.onerror=()=>console.warn(`retrieveExistingData 中游标操作失败 - 错误代码: ${r.error}`)}catch(e){n(Error(`retrieveExistingData 中执行事务或打开游标时发生异常 - ${e.message}`))}}))}(n).then(e).catch(t):function(n){const o=_e.version+1;_e.close();const r=window.indexedDB.open(Re,o);r.onerror=()=>t(Error(`打开数据库失败: ${r.error}`)),r.onblocked=()=>t(Error(`数据库被阻塞: ${r.error}`)),r.onsuccess=()=>console.info("openRequest.onsuccess 在 triggerDatabaseUpgrade 中被触发"),r.onupgradeneeded=()=>{Ve(r.result);try{r.result.createObjectStore(n,{}),r.result.onversionchange=e=>{null===e.newVersion&&r.result.close()},e([])}catch(e){t(Error(`升级数据库异常: ${e.message}`))}}}(n)}_e?n(i):function(e){try{const o=window.indexedDB.open(Re);o.onsuccess=()=>{Ve(o.result),n(e)},o.onerror=()=>t(Error(`打开数据库失败: ${o.error}`)),o.onblocked=()=>t(Error(`数据库被阻塞: ${o.error}`)),o.onupgradeneeded=()=>console.info("openRequest.onupgradeneeded(SHOULD NOT BE CALLED)")}catch(e){console.warn(`打开数据库时发生异常: ${e.message}`,e),t(e)}}(i)}))),n=JSON.parse(localStorage.getItem(e)||"[]"),o=JSON.parse(localStorage.getItem(e+"_uploading")||"[]"),r=function(){if(o.length){const e=n.findIndex((e=>e.fileName===o[0].fileName));-1!==e&&n.splice(e,1,o[0])}return n}(),a=t.map((e=>{const t=r.find((t=>t.fileName===e.name));return t?Object.assign(Object.assign({},t),{raw:e,fileStatus:Le.PAUSED}):null})).filter((e=>null!==e));var i;return localStorage.removeItem(e),localStorage.removeItem(e+"_uploading"),a}))}(e);o({type:"add_files",identifier:e,files:a}),a.length&&n.confirm(Object.assign(Object.assign({},an),{title:"提示",content:"检测到未完成上传任务,是否继续上传?",onOk(){a.forEach((e=>r(e)))},onCancel(){t.info("点击上传按钮手动继续")}}))}))),[e,o,r,n,t])}var mn=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function bn(e){var{extra:t,dragAreaConfig:n}=e,o=mn(e,["extra","dragAreaConfig"]);return(0,a.jsx)(It,Object.assign({},o,{children:(0,a.jsx)(fn,{extra:t,dragAreaConfig:n})}))}function fn({extra:e,dragAreaConfig:t}){const n=(0,j.useContext)(Jt),o=(0,j.useContext)(ct),r=(0,j.useContext)(pt),s=(0,j.useContext)(Lt);!function(){const e=(0,j.useContext)(Jt),t=(0,j.useContext)(ct),n=(0,j.useContext)(pt),o=(0,j.useRef)(""),r=hn(e);(0,j.useEffect)((()=>{o.current!==e&&(o.current=e,t[e]||n({type:"add",identifier:e}),r())}),[e,r,t,n])}();const{isFormatingFiles:l,formatFiles:d}=function(){const e=bt(),{message:t}=i.App.useApp(),n=(0,j.useContext)(Kt),o=(0,j.useContext)(Jt),r=(0,j.useContext)(at),a=(0,j.useContext)(pt),{getUploadUrls:s}=r[o],[l,d]=(0,j.useState)(!1),c=function(){const{modal:e}=i.App.useApp(),t=bt(),n=(0,j.useContext)(Kt),o=(0,j.useContext)(Jt),r=(0,j.useContext)(ct),a=(0,j.useContext)(Pt),s=(0,j.useContext)(Lt);return function(i){return ln(this,void 0,void 0,(function*(){const l=s?cn(i,null!=a?a:[]):[...dn(i,r[o],n),...cn(i,null!=a?a:[])];return l.length?[yield e.confirm(Object.assign(Object.assign({},an),{okText:t("覆盖"),cancelText:t("取消"),title:t("发现同名文件,是否覆盖?")})),new Set(l)]:[!0,new Set]}))}}(),p=function(){const e=(0,j.useContext)(Jt),t=(0,j.useContext)(ct),n=Ut();return function(o){const r=t[e];for(const e of o){const t=r.find((t=>t.fileName===e));t&&n(t)}}}();return{isFormatingFiles:l,formatFiles:function(r){return pn(this,void 0,void 0,(function*(){d(!0);const i=yield function(e){return pn(this,void 0,void 0,(function*(){const[t,n]=yield c(e);return t?(p(n),e):e.filter((e=>!n.has(e.name)))}))}(r),l=yield function(o){return pn(this,void 0,void 0,(function*(){const r=o.map((e=>Ie(e,n,s))),a=(yield Promise.allSettled(r)).filter((e=>"fulfilled"===e.status)).map((e=>e.value));return(a.some((e=>e.fileStatus===Le.FAILED))||a.length<o.length)&&t.info(e("部分文件获取上传地址失败")),a}))}(i);a({type:"add_files",identifier:o,files:l}),function(e,t){try{const n=_e.transaction(e,"readwrite").objectStore(e);t.forEach((e=>n.put(e,e.name)))}catch(e){console.warn(`在 addFilesToIndexdb 中, db.transaction/transaction.objectStore/objectStore.put 异常 - ${e.message}`)}}(o,l.map((e=>e.raw))),d(!1)}))}}}();return(0,j.useEffect)((()=>{var e;const t=null===(e=o[n])||void 0===e?void 0:e.find((e=>e.fileStatus===Le.FINISHED));s&&t&&r({type:"clear_finished",identifier:n})}),[s,n,r,o]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Spin,{spinning:l,children:(0,a.jsx)(xt,Object.assign({},t,{onFileReceived:d}))}),e&&(0,a.jsx)("div",{className:"mb-4",children:e}),(0,a.jsx)(rn,{})]})}var wn=n(915),gn={};gn.styleTagTransform=g(),gn.setAttributes=m(),gn.insert=u().bind(null,"head"),gn.domAPI=c(),gn.insertStyleElement=f(),l()(wn.A,gn),wn.A&&wn.A.locals&&wn.A.locals;var yn=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function xn(e){var{config:{modal:t,dragArea:n,uploadRequest:o}}=e,r=yn(e,["config"]);const s=bt();return(0,j.useContext)(ct)===dt?(0,a.jsx)(i.Modal,Object.assign({},sn,{title:s("文件上传")},t,{children:(0,a.jsx)(i.Alert,{message:s("FileUploadModal 必须在 UploadStoreProvider 内使用"),type:"warning"})})):(0,a.jsx)(i.Modal,Object.assign({},sn,{forceRender:!0,title:s("文件上传"),footer:(0,a.jsx)(i.Button,{type:"primary",onClick:t.onCancel,children:s("确定")})},t,{children:(0,a.jsx)(bn,Object.assign({},r,{dragAreaConfig:n,uploadRequestConfig:o}))}))}const vn=function(e){const t=bt();return(0,j.useContext)(ct)===dt?(0,a.jsx)(i.Alert,{message:t("FileUploader 必须在 UploadStoreProvider 内使用"),type:"warning"}):(0,a.jsx)("div",{className:"zjlab-fe-data-hub-ui-file-uploader",children:(0,a.jsx)(bn,Object.assign({},e))})},jn=require("@zjlab-fe/util");function kn(e){return new Promise((t=>{if(e&&e.length>0){const n=[...e];function o(){n.length>0?setTimeout(r):setTimeout((()=>{t(null)}))}function r(){const e=n.shift(),t=(0,jn.getFileExt)(e);if("js"===t||"mjs"===t){if(!document.querySelector(`script[src="${e}"]`)){const n=document.createElement("script");return n.src=e,"mjs"===t&&(n.type="module"),document.head.appendChild(n),n.onload=o,void(n.onerror=o)}}else if("css"===t&&!document.querySelector(`link[href="${e}"]`)){const t=document.createElement("link");return t.rel="stylesheet",t.href=e,document.head.appendChild(t),t.onload=o,void(t.onerror=o)}o()}r()}else t(null)}))}var Nn=n(482),An={};An.styleTagTransform=g(),An.setAttributes=m(),An.insert=u().bind(null,"head"),An.domAPI=c(),An.insertStyleElement=f(),l()(Nn.A,An),Nn.A&&Nn.A.locals&&Nn.A.locals;class zn{constructor(){const e=window.devicePixelRatio||1;this.sx=e,this.sy=e}get scaled(){return 1!==this.sx||1!==this.sy}}function En(e){if(Math.floor(e)===e)return[e,1];const t=1/e;if(t>8)return[1,8];if(Math.floor(t)===t)return[1,t];const n=e>1?t:e;let o,r=0,a=1,i=1,s=1;for(;;){const e=r+i,t=a+s;if(t>8)break;n<=e/t?(i=e,s=t):(r=e,a=t)}return o=n-r/a<i/s-n?n===e?[r,a]:[a,r]:n===e?[i,s]:[s,i],o}function Cn(e,t){const n=e%t;return 0===n?e:Math.round(e-n+t)}function Sn(e){const{filePath:t}=e,n=(0,j.useRef)(null),o=(0,j.useRef)(0),r=(0,j.useRef)(null),i=(0,j.useRef)(0),s=(0,j.useRef)(0),l=(0,j.useRef)(0),d=(0,j.useRef)(!1),c=()=>{if(d.current)return Promise.resolve();d.current=!0;const e=l.current+3>i.current?i.current:l.current+3;return new Promise((t=>{if(r.current){const o=n.current;let a=e-l.current;for(let d=l.current+1;d<=e;d++)r.current.getPage(d).then((e=>{const t=e.getViewport({scale:window.devicePixelRatio||1}),n=document.createElement("canvas");n.setAttribute("id","the-canvas"+d);const r=n.getContext("2d"),a=new zn,{width:i,height:l}=t;{const e=i*l,t=Math.sqrt(16777216/e);(a.sx>t||a.sy>t)&&(a.sx=t,a.sy=t)}const c=En(a.sx),p=En(a.sy);n.width=Cn(i*a.sx,c[0]),n.height=Cn(l*a.sy,p[0]);const{style:u}=n;u.width=Cn(i,c[1])+"px",u.height=Cn(l,p[1])+"px";const h={canvasContext:r,transform:a.scaled?[a.sx,0,0,a.sy,0,0]:null,viewport:t};return o.appendChild(n),e.render(h).promise.then((()=>new Promise((e=>{setTimeout((()=>{s.current=s.current+n.clientHeight,e(1)}))}))))})).catch((e=>{})).finally((()=>{a--,0===a&&(s.current<n.current.clientHeight&&e<i.current&&setTimeout(c),t(1))}))}else t(0)})).then((()=>{d.current=!1,l.current=e}))};return(0,j.useEffect)((()=>{kn(["https://fastly.jsdelivr.net/npm/pdfjs-dist@4.7.76/build/pdf.min.mjs","https://fastly.jsdelivr.net/npm/pdfjs-dist@4.7.76/build/pdf.worker.min.mjs"]).then((()=>{window.pdfjsLib.getDocument({url:t,cMapUrl:"https://fastly.jsdelivr.net/npm/pdfjs-dist@4.7.76/cmaps/",cMapPacked:!0}).promise.then((t=>{var n;r.current=t,i.current=t.numPages,c(),null===(n=null==e?void 0:e.onSuccess)||void 0===n||n.call(e)})).catch((t=>{var n;null===(n=null==e?void 0:e.onError)||void 0===n||n.call(e,t)}))}))}),[t]),(0,a.jsx)("div",{ref:n,className:Nn.L,onScroll:e=>{const t=e.target.scrollTop;t>o.current&&l.current<i.current&&t>s.current-200-n.current.clientHeight&&c(),o.current=t}})}const Mn=require("i18next");var Bn=n.n(Mn),On=n(328),Wn={};function Zn(e){return e?e-55-64-16:550}function Kn(e,t=2){if(e){const n=Zn(e);return Math.floor(n/(10+22*t))}return 10}Wn.styleTagTransform=g(),Wn.setAttributes=m(),Wn.insert=u().bind(null,"head"),Wn.domAPI=c(),Wn.insertStyleElement=f(),l()(On.Ay,Wn),On.Ay&&On.Ay.locals&&On.Ay.locals;const Jn={fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",fontSize:"14px",lineHeight:"22px",letterSpacing:0};function Fn(e){const{maxLines:t=2}=e,n=(0,j.useRef)([]),o=Bn().resolvedLanguage||localStorage.getItem("i18nextLng")||"zh";0===n.current.length&&e.head.forEach((e=>{n.current.push(function(e,t={}){const n=document.createElement("span");n.textContent=e,Object.assign(n.style,Object.assign({position:"absolute",visibility:"hidden",whiteSpace:"nowrap"},t)),document.body.appendChild(n);const o=n.offsetWidth;return document.body.removeChild(n),o}(e))}));const r=e.head.map(((e,o)=>({title:(0,a.jsx)("div",{title:e,style:Jn,children:e}),dataIndex:e,key:o,render:e=>{const r="object"==typeof e?JSON.stringify(e):e;return(0,a.jsx)("div",{className:On.Hn,style:{height:22*t,maxWidth:400,minWidth:n.current[o]},children:(0,a.jsx)("div",{className:On.P_,style:{WebkitLineClamp:t},onMouseLeave:e=>{e.currentTarget.scrollTop=0},children:r})})}}))),s={className:On.X$,pageSize:Kn(e.containerHeight,t),showSizeChanger:!1,onChange:e.onPageChange,showTotal:()=>e.total&&e.total>e.data.length?(0,a.jsxs)("div",{className:On.UA,children:[(0,a.jsx)(Y.InfoCircleOutlined,{})," ","zh"===o?"请下载查看完整内容":"Please download to view the full content"]}):null};return(0,a.jsx)(i.Table,{tableLayout:"auto",className:On.tp,columns:r,dataSource:e.data,scroll:{x:"max-content",y:Zn(e.containerHeight)},pagination:s})}const Pn=require("chardet");var Ln=n.n(Pn),Tn=n(685),In={};In.styleTagTransform=g(),In.setAttributes=m(),In.insert=u().bind(null,"head"),In.domAPI=c(),In.insertStyleElement=f(),l()(Tn.A,In),Tn.A&&Tn.A.locals&&Tn.A.locals;var Dn=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function Un(e){var t;const n=(0,j.useRef)(null),o=(0,jn.getFileExt)(e.filePath),[r,i]=(0,j.useState)(),[s,l]=(0,j.useState)();return(0,j.useEffect)((()=>{kn(["https://fastly.jsdelivr.net/npm/x-data-spreadsheet@1.1.9/dist/xspreadsheet.js","https://fastly.jsdelivr.net/npm/x-data-spreadsheet@1.1.9/dist/xspreadsheet.css","https://fastly.jsdelivr.net/npm/xlsx@0.18.5/dist/xlsx.full.min.js","https://fastly.jsdelivr.net/npm/papaparse@5.5.2/papaparse.min.js"]).then((()=>Dn(this,void 0,void 0,(function*(){fetch(e.filePath).then((t=>Dn(this,void 0,void 0,(function*(){if("csv"===o){const o=yield t.blob(),r=new File([o],"test.csv",{type:o.type});(function(e){return Dn(this,void 0,void 0,(function*(){return new Promise((t=>{try{const n=new FileReader;n.onload=function(e){const n=e.target.result,o=Ln().detect(new Uint8Array(n.slice(0,1024)));console.log("+++ encoding",o),t(o)},n.readAsArrayBuffer(e)}catch(e){console.log("+++ getEncoding error",e),t("UTF-8")}}))}))})(o).then((t=>{window.Papa.parse(r,{encoding:t,complete:t=>{var o,r,a;const s=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o[0],d=[];null===(r=null==t?void 0:t.data)||void 0===r||r.forEach(((e,t)=>{if(0!==t){const n={key:t.toString()};s.forEach(((t,o)=>{n[t]=e[o]})),d.push(n)}})),i({head:s,data:d}),l(n.current.clientHeight),null===(a=null==e?void 0:e.onSuccess)||void 0===a||a.call(e)},error:t=>{var n;console.log(t),null===(n=null==e?void 0:e.onError)||void 0===n||n.call(e,t)}})}))}else t.arrayBuffer().then((function(t){var o;const r=function(e){const t=[];return e.SheetNames.forEach((function(n){const o={name:n,rows:{}},r=e.Sheets[n];if(!r||!r["!ref"])return;const a=XLSX.utils.decode_range(r["!ref"]);a.s={r:0,c:0};const i=XLSX.utils.sheet_to_json(r,{raw:!1,header:1,range:a});i.forEach((function(e,t){const n={};e.forEach((function(e,o){n[o]={text:e||String(e)};const a=XLSX.utils.encode_cell({r:t,c:o});null!=r[a]&&null!=r[a].f&&(n[o].text="="+r[a].f)})),o.rows[t]={cells:n}})),o.rows.len=i.length,o.merges=[],(r["!merges"]||[]).forEach((function(e,t){null==o.rows[e.s.r]&&(o.rows[e.s.r]={cells:{}}),null==o.rows[e.s.r].cells[e.s.c]&&(o.rows[e.s.r].cells[e.s.c]={}),o.rows[e.s.r].cells[e.s.c].merge=[e.e.r-e.s.r,e.e.c-e.s.c],o.merges[t]=XLSX.utils.encode_range(e)})),t.push(o)})),t}(window.XLSX.read(t));window.x_spreadsheet(n.current,{mode:"read",showToolbar:!1,showContextmenu:!1,view:{height:()=>n.current.clientHeight,width:()=>n.current.clientWidth}}).loadData(r),null===(o=null==e?void 0:e.onSuccess)||void 0===o||o.call(e)})).catch((e=>{throw e}))})))).catch((t=>{var n;console.log(t),null===(n=null==e?void 0:e.onError)||void 0===n||n.call(e,t)}))}))))}),[]),(0,a.jsx)("div",{ref:n,className:Tn.L,children:"csv"===o&&r?(0,a.jsx)(Fn,{head:r.head,data:r.data,containerHeight:s,maxLines:null===(t=e.tableConfig)||void 0===t?void 0:t.maxLines}):null})}var qn=n(913),Hn={};function Rn(e){return(0,a.jsx)("div",{className:qn.LV,children:(0,a.jsx)("img",{src:e.filePath,onError:t=>{var n;console.log("+++ img error"),null===(n=null==e?void 0:e.onError)||void 0===n||n.call(e,t)},onLoad:()=>{var t;null===(t=null==e?void 0:e.onSuccess)||void 0===t||t.call(e)},className:qn._8})})}Hn.styleTagTransform=g(),Hn.setAttributes=m(),Hn.insert=u().bind(null,"head"),Hn.domAPI=c(),Hn.insertStyleElement=f(),l()(qn.Ay,Hn),qn.Ay&&qn.Ay.locals&&qn.Ay.locals;const _n=require("react-markdown");var Vn=n.n(_n);const $n=require("rehype-raw");var Gn=n.n($n);const Xn=require("remark-gfm");var Yn=n.n(Xn);const Qn=require("remark-math");var eo=n.n(Qn);const to=require("rehype-mathjax");var no=n.n(to),oo=n(555),ro={};ro.styleTagTransform=g(),ro.setAttributes=m(),ro.insert=u().bind(null,"head"),ro.domAPI=c(),ro.insertStyleElement=f(),l()(oo.A,ro),oo.A&&oo.A.locals&&oo.A.locals;var ao=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function io(e){const t=(0,j.useRef)(null),[n,o]=(0,j.useState)("");return(0,j.useEffect)((()=>{(()=>{ao(this,void 0,void 0,(function*(){var t,n;try{let n=yield fetch(e.filePath).then((e=>e.text()));n=n.replace(/!\[(.*?)\]\((.*?)\)/g,((e,t,n)=>n.startsWith("http://")||n.startsWith("https://")||n.startsWith("//")?e:"")),o(n),null===(t=null==e?void 0:e.onSuccess)||void 0===t||t.call(e)}catch(t){null===(n=null==e?void 0:e.onError)||void 0===n||n.call(e,t)}}))})()}),[]),(0,a.jsx)("div",{ref:t,style:{height:"100%",overflow:"auto"},className:oo.L,children:n?(0,a.jsx)(Vn(),{className:"markdown-body",remarkPlugins:[eo(),Yn()],rehypePlugins:[Gn(),no()],children:n}):null})}var so=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function lo(e){const[t,n]=(0,j.useState)("");return(0,j.useEffect)((()=>{(()=>{so(this,void 0,void 0,(function*(){var t,o;try{const o=yield fetch(e.filePath).then((e=>e.text()));n(o),null===(t=null==e?void 0:e.onSuccess)||void 0===t||t.call(e)}catch(t){null===(o=null==e?void 0:e.onError)||void 0===o||o.call(e,t)}}))})()}),[]),(0,a.jsx)("div",{style:{whiteSpace:"pre-wrap"},children:t})}const co=require("react-json-view");var po=n.n(co);const uo=require("react-error-boundary");var ho=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};function mo(e){const t=(0,j.useRef)(null),[n,o]=(0,j.useState)(),[r,i]=(0,j.useState)(),[s,l]=(0,j.useState)();return(0,j.useEffect)((()=>{(()=>{ho(this,void 0,void 0,(function*(){var n,r,a,s;try{let s;s=e.jsonConfig?e.jsonConfig.data:yield fetch(e.filePath).then((e=>e.text()));try{const e="string"==typeof s?JSON.parse(s):s;o(e)}catch(e){const o=function(e,t){const{trim:n=!0,skipEmpty:o=!0}={};if(!e)return[];const r=[];let a="",i=!1,s=!1;for(let t=0;t<e.length;t++){const l=e[t];if(s)a+=l,s=!1;else if("\\"!==l)if('"'!==l)if("\n"!==l&&"\r"!==l||i)a+=l;else{if("\r"===l&&t+1<e.length&&"\n"===e[t+1])continue;const i=n?a.trim():a;(!o||i.length>0)&&r.push(i),a=""}else i=!i,a+=l;else a+=l,s=!0}if(a){const e=n?a.trim():a;(!o||e.length>0)&&r.push(e)}return r}(s);if(o.length>0){const e=[];let a=0;if(o.forEach((t=>{try{const n=JSON.parse(t);"object"==typeof n?Array.isArray(n)?n.forEach((t=>{e.push(Object.assign(Object.assign({},t),{key:a.toString()})),a++})):(e.push(Object.assign(Object.assign({},n),{key:a.toString()})),a++):(e.push({content:t,key:a.toString()}),a++)}catch(e){console.log("+++ e",e)}})),e.length>0){const o=Object.keys(e[0]).filter((e=>"key"!==e));i({head:o,data:e}),l(null===(n=t.current)||void 0===n?void 0:n.clientHeight)}else{e.push({content:s,key:"0"});const n=Object.keys(e[0]).filter((e=>"key"!==e));i({head:n,data:e}),l(null===(r=t.current)||void 0===r?void 0:r.clientHeight)}}}null===(a=null==e?void 0:e.onSuccess)||void 0===a||a.call(e)}catch(t){null===(s=null==e?void 0:e.onError)||void 0===s||s.call(e,t)}}))})()}),[]),(0,a.jsx)("div",{style:{height:"100%",overflow:"auto",wordBreak:"break-all"},ref:t,children:n?(0,a.jsx)(uo.ErrorBoundary,{fallback:JSON.stringify(n),children:(0,a.jsx)(po(),{name:!1,src:n,iconStyle:"triangle",collapsed:2,enableClipboard:!1,displayObjectSize:!1,displayDataTypes:!1,collapseStringsAfterLength:140,style:{fontFamily:"Monaco, Menlo, Consolas, monospace",backgroundColor:"rgba(0, 0, 0, 0)",color:"rgb(155, 12, 121)"}})}):r?(0,a.jsx)(Fn,{head:r.head,data:r.data,containerHeight:s,maxLines:null===(d=e.tableConfig)||void 0===d?void 0:d.maxLines}):null});var d}const bo=require("arrow-js-ffi"),fo=require("parquet-wasm");var wo=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((o=o.apply(e,t||[])).next())}))};let go;function yo(e){var t;const n=(0,j.useRef)(null),[o,r]=(0,j.useState)(),[i,s]=(0,j.useState)();return(0,j.useEffect)((()=>{let t;go||(go=(0,fo.wasmMemory)()),(()=>{wo(this,void 0,void 0,(function*(){var o,a,i;try{const i=yield fetch(e.filePath),l=new Uint8Array(yield i.arrayBuffer());t=(0,fo.readParquet)(l).intoFFI();const d=(0,bo.parseTable)(go.buffer,t.arrayAddrs(),t.schemaAddr()),c=d.schema.fields.map((e=>e.name)),p=[];console.log("+++ arrowTable.numRows",d.numRows);for(let e=0;e<d.numRows;e++)p.push(Object.assign(Object.assign({},d.get(e).toJSON()),{key:e.toString()}));r({head:c,data:p}),s(null===(o=n.current)||void 0===o?void 0:o.clientHeight),null===(a=null==e?void 0:e.onSuccess)||void 0===a||a.call(e),t.drop()}catch(t){null===(i=null==e?void 0:e.onError)||void 0===i||i.call(e,t)}}))})()}),[]),(0,a.jsx)("div",{style:{height:"100%",overflow:"auto",wordBreak:"break-all"},ref:n,children:o&&(0,a.jsx)(Fn,{head:o.head,data:o.data,containerHeight:i,maxLines:null===(t=e.tableConfig)||void 0===t?void 0:t.maxLines})})}n.n(fo)()();var xo=n(708),vo={};function jo(e){var t,n;const o=(0,j.useRef)(null),[r,i]=(0,j.useState)(),[s,l]=(0,j.useState)();return(0,j.useEffect)((()=>{var t,n;const{tableConfig:r}=e,{header:a,rows:s=[]}=r||{};if(a){const n=a,r=[];s.forEach(((e,t)=>{const o={key:t.toString()};n.forEach(((t,n)=>{o[t]=e[n]})),r.push(o)})),i({head:n,data:r}),l(o.current.clientHeight),null===(t=null==e?void 0:e.onSuccess)||void 0===t||t.call(e)}else null===(n=null==e?void 0:e.onError)||void 0===n||n.call(e,new Error("tableConfig.header is required"))}),[]),(0,a.jsx)("div",{ref:o,className:xo.L,children:r?(0,a.jsx)(Fn,{head:r.head,data:r.data,maxLines:null===(t=e.tableConfig)||void 0===t?void 0:t.maxLines,total:null===(n=e.tableConfig)||void 0===n?void 0:n.rowCount,containerHeight:s}):null})}vo.styleTagTransform=g(),vo.setAttributes=m(),vo.insert=u().bind(null,"head"),vo.domAPI=c(),vo.insertStyleElement=f(),l()(xo.A,vo),xo.A&&xo.A.locals&&xo.A.locals;var ko=n(690),No={};function Ao(e){var t,n,o;const r=Bn().resolvedLanguage||localStorage.getItem("i18nextLng")||"zh",{filePath:s,tableConfig:l,jsonConfig:d}=e,[c,p]=(0,j.useState)(!1),[u,h]=(0,j.useState)(!0),m=t=>{var n;h(!1),p(!0),console.log(t),null===(n=null==e?void 0:e.onError)||void 0===n||n.call(e,t)},b=()=>{var t;h(!1),null===(t=null==e?void 0:e.onSuccess)||void 0===t||t.call(e)};let f=null;if(c)f=(0,a.jsx)("div",{className:ko.LV,children:"zh"===r?"获取文件失败":"Failed to get file"});else if(l)f=(0,a.jsx)(jo,Object.assign({},e,{onSuccess:b}));else if(d)f=(0,a.jsx)(mo,Object.assign({},e,{onError:m,onSuccess:b}));else if(s){const t=(0,jn.getFileExt)(s),n=(0,a.jsx)("div",{className:ko.D5,children:(0,a.jsx)(i.Spin,{})});let o=null,l=!0;switch(t){case"pdf":o=(0,a.jsx)(Sn,Object.assign({},e,{onError:m,onSuccess:b}));break;case"xlsx":case"csv":o=(0,a.jsx)(Un,Object.assign({},e,{onError:m,onSuccess:b}));break;case"png":case"jpg":case"jpeg":o=(0,a.jsx)(Rn,Object.assign({},e,{onError:m,onSuccess:b}));break;case"mmd":case"md":o=(0,a.jsx)(io,Object.assign({},e,{onError:m,onSuccess:b}));break;case"txt":o=(0,a.jsx)(lo,Object.assign({},e,{onError:m,onSuccess:b}));break;case"parquet":o=(0,a.jsx)(yo,Object.assign({},e,{onError:m,onSuccess:b}));break;case"jsonl":case"json":o=(0,a.jsx)(mo,Object.assign({},e,{onError:m,onSuccess:b}));break;default:l=!1}f=l?(0,a.jsxs)(a.Fragment,{children:[u&&n,o]}):(0,a.jsxs)("div",{className:ko.LV,children:["zh"===r?"暂不支持":"Not supported"," ",t," ","zh"===r?"文件预览":"file preview"]})}return e.openInModal?(null===(t=null==e?void 0:e.modalProps)||void 0===t?void 0:t.show)?(0,a.jsx)(i.Modal,{open:!0,title:null===(n=null==e?void 0:e.modalProps)||void 0===n?void 0:n.title,className:ko.qf,centered:!0,width:"100%",onCancel:null===(o=null==e?void 0:e.modalProps)||void 0===o?void 0:o.onCancel,footer:null,children:f}):null:f}function zo(e){const[t,n]=(0,j.useState)(0),[o,r]=(0,j.useState)(e.filePath),[i,s]=(0,j.useState)(e.tableConfig);return(0,j.useEffect)((()=>{o===e.filePath&&i===e.tableConfig||(r(e.filePath),s(e.tableConfig),n(t+1))}),[e.filePath,e.tableConfig]),o!==e.filePath||i!==e.tableConfig?null:(0,a.jsx)(Ao,Object.assign({},e),t)}No.styleTagTransform=g(),No.setAttributes=m(),No.insert=u().bind(null,"head"),No.domAPI=c(),No.insertStyleElement=f(),l()(ko.Ay,No),ko.Ay&&ko.Ay.locals&&ko.Ay.locals;const Eo=require("copy-to-clipboard");var Co=n.n(Eo),So=n(860),Mo={};Mo.styleTagTransform=g(),Mo.setAttributes=m(),Mo.insert=u().bind(null,"head"),Mo.domAPI=c(),Mo.insertStyleElement=f(),l()(So.A,Mo),So.A&&So.A.locals&&So.A.locals;const Bo=require("classnames");var Oo=n.n(Bo);const Wo={zh:"已复制",en:"Copied"};function Zo(e){const{showFeedback:t=!0,text:n,locale:o="zh"}=e;return(0,a.jsx)("span",{className:Oo()(So.K,"data-hub-ui-copy-icon"),onClick:()=>{n&&(Co()(n),t&&i.message.success(Wo[o])),(null==e?void 0:e.onClick)&&e.onClick()},children:""})}function Ko(e,t={showFeedback:!0,locale:"zh"}){const{showFeedback:n="true",locale:o="zh"}=t;e&&(Co()(e),n&&i.message.success(Wo[o]))}var Jo=n(100),Fo={};function Po(e){return(0,a.jsx)(i.Modal,Object.assign({},e,{wrapClassName:Jo.wm,width:400}))}Fo.styleTagTransform=g(),Fo.setAttributes=m(),Fo.insert=u().bind(null,"head"),Fo.domAPI=c(),Fo.insertStyleElement=f(),l()(Jo.Ay,Fo),Jo.Ay&&Jo.Ay.locals&&Jo.Ay.locals,Po.confirm=e=>{i.Modal.confirm(Object.assign({},e)).update({icon:null,closable:!0,width:400,wrapClassName:`${Jo.DE}`})};var Lo=n(989),To={};To.styleTagTransform=g(),To.setAttributes=m(),To.insert=u().bind(null,"head"),To.domAPI=c(),To.insertStyleElement=f(),l()(Lo.Ay,To),Lo.Ay&&Lo.Ay.locals&&Lo.Ay.locals;const Io="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAARCAYAAADUryzEAAAAAXNSR0IArs4c6QAAAf1JREFUOE+lkz9oE3EUx7/vd0nbOPing5RSKJ0q+GdVUCkOLh2qQ4lLtfVsESlpTEsql2bIUNI2htSLONleKjqUc1BxE3QQCuJSKAg6aKfqIqiQao7mfq/cNXckscGAv+l+777v897v/b4/wn8uapQfyedbj1Kos2xL+3jnka1wOGzvp/0LMJtd6hYBoRFwFcCBStJvBh4TI6PF1C/VoBpAWi/0E/MzAC0NOttmlkOJ2Ohz778PSOceniehvG1mJEIop+9MDL93tC7ANE3l89fiBwC9zQBA+Gj96DmZSl0ou4D0ojFIhKd+MvMaE70mIFmJ3QVwFsA5T2NLOZCcHH3pAuYXjQUmTFdV/yVh9wpWVEBCEhsCyicAh3wNQdei6m0XMHfPWAVwpW66P1uZepyYRbzJwOGa4zFeaDH18h5AN1bAGK4REObaJGWcWEnwNBhaHeCRFlNHKh0sTwGU9QTMMEOgmyXiDSfWxnSqBF4B4ZKvIZpKRK/nXEDmQaHD3uFvVRUc45QIaK9c1XfeM5VnLNjS6kpO3tryfTCvF/LMHGnmGpn4fiJ6Y8L3gfORy5khSxTfADjzD8g7K/jnYmp8vFgDcDap/JODLbwzS406YeiBcmAmHr+27RXZ9zWms4VjCHAfQZwgyKAE1oOK/SoeGdus767hc25mFo5mF83NrRLVZKusAAAAAElFTkSuQmCC";function Do({visiable:e,children:t,onClose:n}){const[o,r]=(0,j.useState)(!1);return(0,j.useEffect)((()=>{r(e)}),[e]),o?(0,a.jsxs)("div",{className:Lo.LV,children:[(0,a.jsx)("div",{style:{backgroundImage:"url("+Io+")"},className:Lo.Kk,onClick:()=>n()}),(0,a.jsx)("div",{className:Lo.NI,children:t})]}):null}var Uo=n(150),qo={};function Ho(e){return(0,a.jsx)("div",{className:`${Uo.cQ} ${"workflow"===e.type?Uo._b:Uo.Og}`,children:e.children})}function Ro(e){return(0,a.jsx)("div",{className:`${Uo.Rp} ${"workflow"===e.type?Uo._b:Uo.Og}`,children:e.children})}function _o(e){return(0,a.jsxs)("div",{children:["small"===(null==e?void 0:e.size)&&(0,a.jsx)(Ro,Object.assign({},e)),(!(null==e?void 0:e.size)||"middle"===(null==e?void 0:e.size))&&(0,a.jsx)(Ho,Object.assign({},e))]})}qo.styleTagTransform=g(),qo.setAttributes=m(),qo.insert=u().bind(null,"head"),qo.domAPI=c(),qo.insertStyleElement=f(),l()(Uo.Ay,qo),Uo.Ay&&Uo.Ay.locals&&Uo.Ay.locals;const Vo={confidential:"#FAAD14",public:"#53C31B",private:"#FE4D4F"};function $o(e){const{type:t="public",children:n}=e,o=Vo[t];return(0,a.jsx)(i.Tag,{style:{backgroundColor:"#fff",border:`1px solid ${o}`,borderRadius:"4px",fontSize:"12px",color:`${o}`,padding:"0 8px",fontFamily:"AlibabaPuHuiTi-3-55-RegularL3"},children:n})}const Go={running:"#0061FF",failed:"#FE4D4F",success:"#53C31B",stopped:"#545B64",pending:"#FAAD14"};function Xo(e){const{type:t="running",children:n}=e,o=Go[t];return(0,a.jsx)(i.Tag,{bordered:!1,style:{backgroundColor:`rgba(${(e=>{const t=parseInt(e.replace("#",""),16);return`${t>>16&255},${t>>8&255},${255&t}`})(o)},0.1)`,borderRadius:"4px",fontSize:"14px",color:`${o}`,padding:"3px 8px",fontFamily:"AlibabaPuHuiTi-3-55-RegularL3"},children:n})}var Yo=n(519),Qo={};Qo.styleTagTransform=g(),Qo.setAttributes=m(),Qo.insert=u().bind(null,"head"),Qo.domAPI=c(),Qo.insertStyleElement=f(),l()(Yo.Ay,Qo);const er=Yo.Ay&&Yo.Ay.locals?Yo.Ay.locals:void 0;var tr=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function nr(e){var{id:t,placeholder:n,onFocus:o,onBlur:s,inline:l=!1,wrapperStyle:d={},wrapperClassName:c=""}=e,p=tr(e,["id","placeholder","onFocus","onBlur","inline","wrapperStyle","wrapperClassName"]);const{status:u}=i.Form.Item.useStatus(),[h,m]=(0,j.useState)(!1),[b,f]=(0,j.useState)(!1),[w,g]=(0,j.useState)(""),y=n;(0,j.useEffect)((()=>{g("error"===u?"#ff4d4f":b?"#1890ff":"#545b64")}),[u,b]);const x=(0,j.useCallback)((e=>{m(!0),f(!0),null==o||o(e)}),[o]),v=(0,j.useCallback)((e=>{0===String(e.target.value).length&&m(!1),f(!1),null==s||s(e)}),[s]);return(0,a.jsxs)("div",{id:t,className:`${Yo.hF} ${c}`,style:Object.assign({display:l?"inline-block":"block"},d),children:[(0,a.jsx)(i.Input,Object.assign({},p,{placeholder:h?"":y,onFocus:x,onBlur:v})),(0,a.jsx)("div",{style:{color:`${w}`},className:h?r["input-label"]:r["input-label-hinden"],children:y})]})}var or=n(255),rr={};rr.styleTagTransform=g(),rr.setAttributes=m(),rr.insert=u().bind(null,"head"),rr.domAPI=c(),rr.insertStyleElement=f(),l()(or.Ay,rr),or.Ay&&or.Ay.locals&&or.Ay.locals;var ar=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const ir=e=>{if(!e||0===e.length)return"";for(const t of e)if(t.options&&t.options.length>0){const e=ir(t.options);if(e)return e}else if(t.desc)return t.desc;return""};function sr(e){var{id:t,options:n,style:o,onDropdownVisibleChange:r,inline:s=!1,wrapperStyle:l={},wrapperClassName:d="",popupClassName:c=""}=e,p=ar(e,["id","options","style","onDropdownVisibleChange","inline","wrapperStyle","wrapperClassName","popupClassName"]);const[u,h]=(0,j.useState)(""),[m,b]=(0,j.useState)(!1),[f,w]=(0,j.useState)(!1);return(0,j.useEffect)((()=>{const e=ir(n);h(e)}),[n]),(0,a.jsxs)("div",{id:t,className:`${or.Lt} ${d}`,style:Object.assign({display:s?"inline-block":"block"},l),children:[(0,a.jsx)(i.Select,Object.assign({style:Object.assign({width:200},o),options:n,popupClassName:`${or.lY} ${c}`,onDropdownVisibleChange:e=>{e?b(!0):(w(!0),setTimeout((()=>{b(!1),w(!1)}),200),null==r||r(e))},optionRender:e=>{const{label:t,desc:n}=e.data;return(0,a.jsx)("div",{style:{cursor:"pointer",width:"100%"},onMouseEnter:()=>{h(n)},children:t})}},p)),m&&(0,a.jsx)("div",{style:{left:(null==o?void 0:o.width)?o.width:200},className:`${or.Bu} ${f?or.eb:""}`,children:u})]})}const lr=require("@tiptap/react"),dr=require("@tiptap/extension-color");var cr=n.n(dr);const pr=require("@tiptap/extension-table-cell");var ur=n.n(pr);const hr=require("@tiptap/extension-table-header");var mr=n.n(hr);const br=require("@tiptap/extension-table-row");var fr=n.n(br);const wr=require("@tiptap/extension-text-align");var gr=n.n(wr);const yr=require("@tiptap/starter-kit");var xr=n.n(yr);const vr=require("@tiptap/extension-table"),jr=require("@tiptap/extension-highlight");var kr=n.n(jr);const Nr=require("@tiptap/extension-image");var Ar=n.n(Nr);const zr=require("@tiptap/extension-text-style"),Er=require("@tiptap/extension-list-item");var Cr=n.n(Er);const Sr=lr.Extension.create({name:"fontSize",addOptions:()=>({types:["textStyle"],defaultFontSize:"14px"}),addGlobalAttributes(){return[{types:this.options.types,attributes:{fontSize:{default:this.options.defaultFontSize,parseHTML:e=>e.style.fontSize||this.options.defaultFontSize,renderHTML:e=>e.fontSize?{style:`font-size: ${e.fontSize}`}:{}}}}]},addCommands:()=>({setFontSize:e=>({chain:t})=>t().setMark("textStyle",{fontSize:e}).run(),unsetFontSize:()=>({chain:e})=>e().setMark("textStyle",{fontSize:null}).removeEmptyTextStyle().run()})}),Mr=require("@tiptap/pm/state"),Br=require("@tiptap/extension-link");function Or(e,t,n){if(!t.type.startsWith("image/"))return!1;const o=new FileReader;return o.onload=o=>{var r;const a=null===(r=o.target)||void 0===r?void 0:r.result;e.commands.insertContent(`<p><img class="inline" src="${a}" alt="${t.name}" title="${t.name}"/></p>`),null==n||n()},o.readAsDataURL(t),!1}const Wr=require("marked"),Zr="\x3c!--- this is file is already parsed --\x3e",Kr=new class{constructor(){this.patterns={headers:/^#{1,6}\s+.+$/gm,emphasis:/(\*{1,2}|_{1,2}).+?\1/g,code:/(```[\s\S]*?```|`[^`]+`)/g,links:/\[([^\]]+)\]\(([^)]+)\)/g,blockquotes:/^>\s+.+$/gm,lists:/^(\s*[-*+]\s+|\s*\d+\.\s+).+$/gm,tables:/^\|.+\|$/gm,horizontalRules:/^(-{3,}|\*{3,}|_{3,})$/gm,images:/!\[([^\]]*)\]\(([^)]+)\)/g}}isNotMarkdown(e,t=10){return!e||0===e.trim().length||this.calculateMarkdownScore(e)<t}calculateMarkdownScore(e){const t=e.split("\n").filter((e=>e.trim().length>0));let n=0,o=0;Object.entries(this.patterns).forEach((([t,o])=>{const r=e.match(o)||[];n+=r.length})),o=t.length;const r=/```[\s\S]*?```/g.test(e),a=/`[^`]+`/g.test(e),i=/\[([^\]]+)\]\(([^)]+)\)/g.test(e),s=/^#{1,6}\s+/gm.test(e);r&&(n+=2),a&&(n+=1),i&&(n+=2),s&&(n+=2);const l=o>0?Math.min(100,n/o*100):0;return Math.round(l)}analyzeMarkdownPatterns(e){const t={};return Object.entries(this.patterns).forEach((([n,o])=>{const r=e.match(o)||[];t[n]=r.length})),t}isPlainText(e){return!/[#*_`>[\](){}|~-]/.test(e)||![/^#{1,6}\s/gm,/\*\*.*\*\*/g,/\*[^*]+\*/g,/_[^_]+_/g,/`[^`]+`/g,/```[\s\S]*?```/g,/\[.*\]\(.*\)/g,/^>\s/gm,/^[-*+]\s/gm,/^\d+\.\s/gm].some((t=>t.test(e)))}},Jr=lr.Extension.create({name:"pasteHandler",addProseMirrorPlugins(){const{editor:e}=this;return[new Mr.Plugin({key:new Mr.PluginKey("pasteHandler"),props:{handlePaste(t,n){var o,r;const a=null===(o=n.clipboardData)||void 0===o?void 0:o.files;return a&&a.length>0?Fr(e,a):function(e,t){if(function(e,t=10){return Kr.isNotMarkdown(e,t)}(t))return void e.commands.insertContent(t);const n=function(e){if(e.startsWith(Zr))return e.slice(40);const t=function(e){return e.replace(/\n<\/code><\/pre>/g,"</code></pre>")}(function(e){return e.replace(/align="center"/g,'style="text-align: center;"')}(Wr.marked.parse(e,{async:!1})));return Zr+function(e){return e.replace(/<div style="([^"]+)">(.*?)<\/div>/g,((e,t,n)=>n.replace(/(<[^>]+>)/g,(e=>e.includes('style="')?e.replace('style="',`style="${t}; `):e.replace(">",` style="${t}">`)))))}(t)}(t),o=(0,lr.generateJSON)(n,[Jr,xr(),Br.Link.configure({openOnClick:!1})]);e.commands.insertContent(o,{parseOptions:{preserveWhitespace:!1}})}(e,(null===(r=n.clipboardData)||void 0===r?void 0:r.getData("text"))||""),!0}}})]}});function Fr(e,t){for(let n=0;n<t.length;n++)Or(e,t[n])}const Pr=require("prosemirror-state"),Lr=lr.Extension.create({name:"dropHandler",addProseMirrorPlugins(){const{editor:e}=this;return[new Pr.Plugin({key:new Pr.PluginKey("dropHandler"),props:{handleDrop(t,n){var o;const r=null===(o=n.dataTransfer)||void 0===o?void 0:o.files;return r&&r.length>0&&Fr(e,r),!0}}})]}}),Tr=require("lowlight"),Ir=require("@tiptap/extension-code-block-lowlight");var Dr=n.n(Ir);const Ur=require("@tiptap/extension-underline");var qr=n.n(Ur);const Hr=(0,Tr.createLowlight)(Tr.all),Rr=[Lr,Jr,Sr,fr(),zr.TextStyle,ur(),qr(),mr(),vr.Table.configure({resizable:!0}),xr().configure({codeBlock:!1}),Dr().configure({lowlight:Hr}),kr().configure({multicolor:!0}),Ar().configure({inline:!0,allowBase64:!0,HTMLAttributes:{class:"max-w-96 h-auto inline mb-0"}}),cr().configure({types:[zr.TextStyle.name,Cr().name]}),gr().configure({types:["heading","paragraph",mr().name,ur().name]})],_r=[...Rr,Br.Link.configure({openOnClick:!1}).extend({inclusive:!1})],Vr=[...Rr,Br.Link.configure({openOnClick:!0})];var $r=n(444),Gr={};Gr.styleTagTransform=g(),Gr.setAttributes=m(),Gr.insert=u().bind(null,"head"),Gr.domAPI=c(),Gr.insertStyleElement=f(),l()($r.A,Gr),$r.A&&$r.A.locals&&$r.A.locals;const Xr={bold:{command:"toggleBold",icon:(0,a.jsx)((function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M13.5 15.5H10v-3h3.5A1.5 1.5 0 0 1 15 14a1.5 1.5 0 0 1-1.5 1.5m-3.5-9h3A1.5 1.5 0 0 1 14.5 8A1.5 1.5 0 0 1 13 9.5h-3m5.6 1.29c.97-.68 1.65-1.79 1.65-2.79c0-2.26-1.75-4-4-4H7v14h7.04c2.1 0 3.71-1.7 3.71-3.79c0-1.52-.86-2.82-2.15-3.42"})}))}),{className:"text-xl"})},italic:{command:"toggleItalic",icon:(0,a.jsx)((function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z"})}))}),{className:"text-xl"})},strike:{command:"toggleStrike",icon:(0,a.jsx)((function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M7.2 9.8c-1.2-2.3.5-5 2.9-5.5c3.1-1 7.6.4 7.5 4.2h-3c0-.3-.1-.6-.1-.8c-.2-.6-.6-.9-1.2-1.1c-.8-.3-2.1-.2-2.8.3C9 8.2 10.4 9.5 12 10H7.4c-.1-.1-.1-.2-.2-.2M21 13v-2H3v2h9.6c.2.1.4.1.6.2c.6.3 1.1.5 1.3 1.1c.1.4.2.9 0 1.3c-.2.5-.6.7-1.1.9c-1.8.5-4-.2-3.9-2.4h-3c-.1 2.6 2.1 4.4 4.5 4.7c3.8.8 8.3-1.6 6.3-5.9z"})}))}),{className:"text-xl"})},underline:{command:"toggleUnderline",icon:(0,a.jsx)((function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M5 21h14v-2H5zm7-4a6 6 0 0 0 6-6V3h-2.5v8a3.5 3.5 0 0 1-3.5 3.5A3.5 3.5 0 0 1 8.5 11V3H6v8a6 6 0 0 0 6 6"})}))}),{className:"text-xl"})}};function Yr({editor:e}){return(0,a.jsx)(a.Fragment,{children:Object.keys(Xr).map((n=>function(n){return(0,a.jsx)(i.Button,{size:"small",type:"text",icon:Xr[n].icon,onClick:(o=Xr[n].command,()=>e.chain().focus()[o]().run()),disabled:t(Xr[n].command),className:e.isActive(n)?"bg-blue-5 text-white":""},n);var o}(n)))});function t(t){return!e.can().chain().focus()[t]().run()}}const Qr=function(e){return(0,a.jsxs)("svg",Object.assign({viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"200",height:"200"},e,{children:[(0,a.jsx)("path",{d:"M96 768h832v160H96z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M443.862627 224.692457m45.254834 45.254834l135.764502 135.764502q45.254834 45.254834 0 90.509668l-135.764502 135.764502q-45.254834 45.254834-90.509668 0l-135.764502-135.764502q-45.254834-45.254834 0-90.509668l135.764502-135.764502q45.254834-45.254834 90.509668 0Z",fill:"#FFFFFF"}),(0,a.jsx)("path",{d:"M398.176 225.088L318.976 145.92 364.224 100.64l118.304 118.272c2.272 1.76 4.48 3.68 6.592 5.76l181.024 181.024a64 64 0 0 1 0 90.496l-181.024 181.024a64 64 0 0 1-90.528 0L217.6 496.192a64 64 0 0 1 0-90.496l180.576-180.608z m170.144 169.28l-0.448 0.416-124.416-124.416-175.136 175.104h351.104L568.32 394.368zM752 704a80 80 0 0 1-80-80c0-44.16 67.68-124.672 80-124.672 12.32 0 80 80.48 80 124.672a80 80 0 0 1-80 80z",fill:"#2c2c2c"})]}))},ea=function(e){return(0,a.jsxs)("svg",Object.assign({viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"200",height:"200"},e,{children:[(0,a.jsx)("path",{d:"M128 768h768v128H128z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M513.728 64.256l1.28 0.128h1.152l1.28 0.192a43.584 43.584 0 0 1 32.32 20.096l3.2 6.08 235.712 550.656a44.8 44.8 0 0 1-16.768 55.232l-7.616 3.968a43.52 43.52 0 0 1-54.208-17.152l-2.944-5.76-63.104-147.328H380.224l-62.976 147.2a43.52 43.52 0 0 1-51.072 24.96l-6.592-2.304-1.28-0.64a44.8 44.8 0 0 1-22.592-58.304l235.712-550.656a43.584 43.584 0 0 1 42.304-26.368z m91.904 376.512l-93.44-218.496L418.56 440.768h187.008z",fill:"#2c2c2c"})]}))},ta=["#24A36F","#1677FF","#722ED1","#F5222D","#FA8C16","#FADB14","#A0D911"],na=[{label:"预设颜色",defaultOpen:!0,colors:["#00000000",...ta]}],oa=[{label:"预设颜色",defaultOpen:!0,colors:["#000000","#FFFFFF",...ta]}],ra=[{label:"12px",value:"12px"},{label:"14px",value:"14px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"}];function aa({editor:e}){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.ColorPicker,{size:"small",className:"flex-shrink-0",presets:na,value:e.getAttributes("highlight").color||"#00000000",onChange:function(t){const n=t.toHexString();"#00000000"===n?e.chain().focus().toggleHighlight().run():e.chain().focus().toggleHighlight({color:n}).run()},showText:()=>(0,a.jsx)(Qr,{color:e.getAttributes("highlight").color,className:"text-base w-4 h-4"})}),(0,a.jsx)(i.ColorPicker,{size:"small",disabledAlpha:!0,className:"flex-shrink-0",presets:oa,value:e.getAttributes("textStyle").color||"#000000",onChange:function(t){const n=t.toHexString();e.chain().focus().setColor(n).run()},showText:()=>(0,a.jsx)(ea,{color:e.getAttributes("textStyle").color,className:"text-base w-4 h-4"})}),(0,a.jsx)(i.Select,{size:"small",options:ra,value:e.getAttributes("textStyle").fontSize||"14px",popupMatchSelectWidth:!1,onChange:function(t){var n;null===(n=e.chain().focus().setFontSize(t))||void 0===n||n.run()}})]})}const ia=function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M17 20v-3h-3v-2h3v-3h2v3h3v2h-3v3zm-6-3H7q-2.075 0-3.537-1.463T2 12t1.463-3.537T7 7h4v2H7q-1.25 0-2.125.875T4 12t.875 2.125T7 15h4zm-3-4v-2h8v2zm14-1h-2q0-1.25-.875-2.125T17 9h-4V7h4q2.075 0 3.538 1.463T22 12"})}))},sa=function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"m19.25 16.45l-1.5-1.55q1-.275 1.625-1.063T20 12q0-1.25-.875-2.125T17 9h-4V7h4q2.075 0 3.538 1.463T22 12q0 1.425-.737 2.625T19.25 16.45M15.85 13l-2-2H16v2zm3.95 9.6L1.4 4.2l1.4-1.4l18.4 18.4zM11 17H7q-2.075 0-3.537-1.463T2 12q0-1.725 1.05-3.075t2.7-1.775L7.6 9H7q-1.25 0-2.125.875T4 12t.875 2.125T7 15h4zm-3-4v-2h1.625l1.975 2z"})}))};function la({editor:e,inline:t=!1}){const[n,o]=(0,j.useState)(""),[r,s]=(0,j.useState)(""),[l,d]=(0,j.useState)(!1);return(0,a.jsx)(a.Fragment,{children:e.isActive("link")?(0,a.jsx)(i.Button,{size:"small",type:"text",title:"取消链接",className:"bg-blue-5 text-white",icon:(0,a.jsx)(sa,{className:"text-xl"}),onClick:()=>e.chain().focus().unsetLink().run()}):(0,a.jsx)(i.Popover,{open:l,trigger:"click",placement:"bottom",content:(0,a.jsxs)(i.Space,{children:[t?null:(0,a.jsxs)(a.Fragment,{children:["描述: ",(0,a.jsx)(i.Input,{value:n,onChange:e=>o(e.target.value)})]}),"链接: ",(0,a.jsx)(i.Input,{value:r,onChange:e=>s(e.target.value)}),(0,a.jsx)(i.Button,{type:"primary",onClick:function(){const o=e.chain().focus().setLink({href:"https://"+r});t?o.run():o.command((({tr:e})=>(e.insertText(n||r),!0))).run(),d(!1)},disabled:!r,children:"确认"})]}),onOpenChange:function(e){d(e),e||s("")},children:(0,a.jsx)(i.Button,{size:"small",type:"text",title:"添加链接",icon:(0,a.jsx)(ia,{className:"text-xl"})})})})}const da={left:{type:"left",icon:(0,a.jsx)((function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",d:"M4 6h16M4 10h13M4 14h16M4 18h5.5"})}))}),{className:"text-xl"})},center:{type:"center",icon:(0,a.jsx)((function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",d:"M4 6h16M7 10h10M4 14h16M9 18h6"})}))}),{className:"text-xl"})},right:{type:"right",icon:(0,a.jsx)((function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",d:"M4 6h16M7 10h13M4 14h16m-6 4h6"})}))}),{className:"text-xl"})},justify:{type:"justify",icon:(0,a.jsx)((function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",d:"M4 6h16M4 10h16M4 14h16M4 18h16"})}))}),{className:"text-xl"})}};function ca({editor:e}){return(0,a.jsx)(a.Fragment,{children:Object.values(da).map((({type:t,icon:n})=>(0,a.jsx)(i.Button,{size:"small",type:"text",icon:n,onClick:()=>e.chain().focus().setTextAlign(t).run(),className:e.isActive({textAlign:t})?"bg-blue-5 text-white":""},t)))})}const pa=function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M5 19h1.425L16.2 9.225L14.775 7.8L5 17.575zm-2 2v-4.25L16.2 3.575q.3-.275.663-.425t.762-.15t.775.15t.65.45L20.425 5q.3.275.438.65T21 6.4q0 .4-.137.763t-.438.662L7.25 21zM19 6.4L17.6 5zm-3.525 2.125l-.7-.725L16.2 9.225z"})}))};function ua({editor:e}){return(0,a.jsxs)(a.Fragment,{children:[e.isActive("link")&&(0,a.jsx)(ha,{editor:e}),(0,a.jsx)(i.Divider,{type:"vertical",className:"h-4 border-gray-300 m-1"}),(0,a.jsx)(i.Button,{size:"small",type:"text",title:"取消链接",icon:(0,a.jsx)(sa,{className:"text-xl"}),onClick:()=>e.chain().focus().unsetLink().run()})]})}function ha({editor:e}){const[t,n]=(0,j.useState)(e.getAttributes("link").href);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Input,{value:t,size:"small",onChange:e=>n(e.target.value)}),(0,a.jsx)(i.Button,{size:"small",type:"text",title:"修改链接",icon:(0,a.jsx)(pa,{className:"text-xl"}),onClick:function(){e.chain().extendMarkRange("link").setLink({href:"https://"+t}).run()}})]})}function ma({className:e}){const{editor:t}=(0,lr.useCurrentEditor)();return t?(0,a.jsx)(lr.BubbleMenu,{editor:t,tippyOptions:{placement:"bottom-start"},children:(0,a.jsxs)(i.Flex,{gap:4,align:"center",className:`rounded-md p-1 bg-white border border-gray-200 shadow-sm pr-2 ${e}`,children:[(0,a.jsx)(Yr,{editor:t}),(0,a.jsx)(i.Divider,{type:"vertical",className:"h-4 border-gray-300 m-1"}),(0,a.jsx)(aa,{editor:t}),(0,a.jsx)(i.Divider,{type:"vertical",className:"h-4 border-gray-300 m-1"}),(0,a.jsx)(ca,{editor:t}),(0,a.jsx)(i.Divider,{type:"vertical",className:"h-4 border-gray-300 m-1"}),t.isActive("link")?(0,a.jsx)(ua,{editor:t}):(0,a.jsx)(la,{editor:t,inline:!0})]})}):null}function ba({className:e}){const{editor:t}=(0,lr.useCurrentEditor)();return t?(0,a.jsx)(lr.FloatingMenu,{editor:t,tippyOptions:{placement:"bottom-start"},shouldShow:()=>t.isActive("link"),children:(0,a.jsx)(i.Flex,{gap:4,align:"center",className:`rounded-md p-1 bg-white border border-gray-200 shadow-sm pr-2 ${e}`,children:(0,a.jsx)(ua,{editor:t})})}):null}function fa(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M9 19v-2h12v2zm0-6v-2h12v2zm0-6V5h12v2zM5 20q-.825 0-1.412-.587T3 18t.588-1.412T5 16t1.413.588T7 18t-.587 1.413T5 20m0-6q-.825 0-1.412-.587T3 12t.588-1.412T5 10t1.413.588T7 12t-.587 1.413T5 14m0-6q-.825 0-1.412-.587T3 6t.588-1.412T5 4t1.413.588T7 6t-.587 1.413T5 8"})}))}const wa=function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M3 22v-1.5h2.5v-.75H4v-1.5h1.5v-.75H3V16h3q.425 0 .713.288T7 17v1q0 .425-.288.713T6 19q.425 0 .713.288T7 20v1q0 .425-.288.713T6 22zm0-7v-2.75q0-.425.288-.712T4 11.25h1.5v-.75H3V9h3q.425 0 .713.288T7 10v1.75q0 .425-.288.713T6 12.75H4.5v.75H7V15zm1.5-7V3.5H3V2h3v6zM9 19v-2h12v2zm0-6v-2h12v2zm0-6V5h12v2z"})}))};function ga({editor:e}){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Button,{type:"text",size:"small",icon:(0,a.jsx)(fa,{className:"text-xl"}),onClick:()=>e.chain().focus().toggleBulletList().run(),className:e.isActive("bulletList")?"bg-blue-5 text-white":""}),(0,a.jsx)(i.Button,{type:"text",size:"small",icon:(0,a.jsx)(wa,{className:"text-xl"}),onClick:()=>e.chain().focus().toggleOrderedList().run(),className:e.isActive("orderedList")?"bg-blue-5 text-white":""})]})}const ya=function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M3 19V5q0-.825.588-1.412T5 3h14q.825 0 1.413.588T21 5v14q0 .825-.587 1.413T19 21H5q-.825 0-1.412-.587T3 19M5 9h14V5H5zm5.325 5h3.35v-3h-3.35zm0 5h3.35v-3h-3.35zM5 14h3.325v-3H5zm10.675 0H19v-3h-3.325zM5 19h3.325v-3H5zm10.675 0H19v-3h-3.325z"})}))};function xa({editor:e}){const[t,n]=(0,j.useState)(3),[o,r]=(0,j.useState)(3);return(0,a.jsx)(i.Popover,{trigger:"click",title:"插入表格",content:(0,a.jsxs)(i.Flex,{gap:8,align:"center",children:[(0,a.jsxs)("div",{children:["行数: ",(0,a.jsx)(i.InputNumber,{min:1,value:t,onChange:e=>n(e||1)})]}),(0,a.jsxs)("div",{children:["列数: ",(0,a.jsx)(i.InputNumber,{min:1,value:o,onChange:e=>r(e||1)})]}),(0,a.jsx)(i.Button,{type:"primary",onClick:()=>e.chain().focus().insertTable({rows:t,cols:o,withHeaderRow:!0}).run(),children:"确认"})]}),children:(0,a.jsx)(i.Button,{type:"text",size:"small",icon:(0,a.jsx)(ya,{className:"text-xl "})})})}function va(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M5 21q-.825 0-1.412-.587T3 19V5q0-.825.588-1.412T5 3h9v2H5v14h14v-9h2v9q0 .825-.587 1.413T19 21zM17 9V7h-2V5h2V3h2v2h2v2h-2v2zM6 17h12l-3.75-5l-3 4L9 13zM5 5v14z"})}))}function ja({editor:e}){const[t,n]=(0,j.useState)(!1),[o,r]=(0,j.useState)(""),[s,l]=(0,j.useState)(""),d={accept:"image/*",showUploadList:!1,beforeUpload:t=>Or(e,t,(()=>n(!1)))};return(0,a.jsx)(i.Popover,{open:t,trigger:"click",placement:"bottom",content:(0,a.jsxs)(i.Space,{direction:"vertical",style:{width:"100%"},children:[(0,a.jsxs)("div",{children:["图片链接: ",(0,a.jsx)(i.Input,{value:o,onChange:e=>r(e.target.value)})]}),(0,a.jsxs)("div",{children:["图片描述: ",(0,a.jsx)(i.Input,{value:s,onChange:e=>l(e.target.value)})]}),(0,a.jsxs)(i.Flex,{justify:"space-between",children:[(0,a.jsx)(i.Upload,Object.assign({},d,{children:(0,a.jsx)(i.Button,{children:"上传本地图片"})})),(0,a.jsx)(i.Button,{type:"primary",onClick:function(){o&&(e.chain().focus().setImage({src:o,alt:s,title:s}).run(),n(!1))},children:"确认"})]})]}),onOpenChange:function(e){n(e),e||r("")},children:(0,a.jsx)(i.Button,{size:"small",type:"text",className:"",icon:(0,a.jsx)(va,{className:"text-xl"})})})}const ka=[{label:"正文",value:"paragraph"},{label:"标题1",value:"1"},{label:"标题2",value:"2"},{label:"标题3",value:"3"},{label:"标题4",value:"4"},{label:"标题5",value:"5"},{label:"标题6",value:"6"}],Na={paragraph:(0,a.jsx)((function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M9 20v-6q-2.075 0-3.537-1.463T4 9t1.463-3.537T9 4h9v2h-2v14h-2V6h-3v14z"})}))}),{className:"text-xl "}),1:(0,a.jsx)((function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M5 17V7h2v4h4V7h2v10h-2v-4H7v4zm12 0V9h-2V7h4v10z"})}))}),{className:"text-xl"}),2:(0,a.jsx)((function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M3 17V7h2v4h4V7h2v10H9v-4H5v4zm10 0v-4q0-.825.588-1.412T15 11h4V9h-6V7h6q.825 0 1.413.588T21 9v2q0 .825-.587 1.413T19 13h-4v2h6v2z"})}))}),{className:"text-xl"}),3:(0,a.jsx)((function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M3 17V7h2v4h4V7h2v10H9v-4H5v4zm10 0v-2h6v-2h-4v-2h4V9h-6V7h6q.825 0 1.413.588T21 9v6q0 .825-.587 1.413T19 17z"})}))}),{className:"text-xl"}),4:(0,a.jsx)((function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M3 17V7h2v4h4V7h2v10H9v-4H5v4zm15 0v-3h-5V7h2v5h3V7h2v5h2v2h-2v3z"})}))}),{className:"text-xl"}),5:(0,a.jsx)((function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M3 17V7h2v4h4V7h2v10H9v-4H5v4zm10 0v-2h6v-2h-6V7h8v2h-6v2h4q.825 0 1.413.588T21 13v2q0 .825-.587 1.413T19 17z"})}))}),{className:"text-xl"}),6:(0,a.jsx)((function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M3 17V7h2v4h4V7h2v10H9v-4H5v4zm12 0q-.825 0-1.412-.587T13 15V9q0-.825.588-1.412T15 7h6v2h-6v2h4q.825 0 1.413.588T21 13v2q0 .825-.587 1.413T19 17zm0-4v2h4v-2z"})}))}),{className:"text-xl"})};function Aa({editor:e}){return(0,a.jsx)(i.Select,{size:"small",options:ka,defaultValue:"paragraph",labelRender:function(){const t=function(){if(e.isActive("paragraph"))return"paragraph";const t=[1,2,3,4,5,6];for(const n of t)if(e.isActive("heading",{level:n}))return n;return"paragraph"}();return(0,a.jsx)(a.Fragment,{children:Na[t]})},optionRender:e=>function({label:e,value:t}){return(0,a.jsxs)(i.Flex,{align:"center",gap:4,children:[Na[t],e]})}(e.data),popupMatchSelectWidth:!1,onChange:function(t){"paragraph"===t?e.chain().focus().setParagraph().run():e.chain().focus().toggleHeading({level:Number(t)}).run()}})}const za=function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"m8 18l-6-6l6-6l1.425 1.425l-4.6 4.6L9.4 16.6zm8 0l-1.425-1.425l4.6-4.6L14.6 7.4L16 6l6 6z"})}))},Ea=function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M5.59 3.41L7 4.82L3.82 8L7 11.18L5.59 12.6L1 8zm5.82 0L16 8l-4.59 4.6L10 11.18L13.18 8L10 4.82zM22 6v12c0 1.11-.89 2-2 2H4a2 2 0 0 1-2-2v-4h2v4h16V6h-2.97V4H20c1.11 0 2 .89 2 2"})}))},Ca=function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M5.7 18L8 14q-1.65 0-2.825-1.175T4 10t1.175-2.825T8 6t2.825 1.175T12 10q0 .575-.137 1.063T11.45 12L8 18zm9 0l2.3-4q-1.65 0-2.825-1.175T13 10t1.175-2.825T17 6t2.825 1.175T21 10q0 .575-.137 1.063T20.45 12L17 18z"})}))},Sa=function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M4 13v-2h16v2z"})}))};function Ma({editor:e}){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Button,{type:"text",size:"small",icon:(0,a.jsx)(za,{className:"text-xl"}),onClick:()=>e.chain().focus().toggleCode().run(),disabled:!e.can().chain().focus().toggleCode().run(),className:e.isActive("code")?"bg-blue-5 text-white":""}),(0,a.jsx)(i.Button,{type:"text",size:"small",icon:(0,a.jsx)(Ea,{className:"text-xl"}),onClick:()=>e.chain().focus().toggleCodeBlock().run(),className:e.isActive("codeBlock")?"bg-blue-5 text-white":""}),(0,a.jsx)(i.Button,{type:"text",size:"small",icon:(0,a.jsx)(Ca,{className:"text-xl"}),onClick:()=>e.chain().focus().toggleBlockquote().run(),className:e.isActive("blockquote")?"bg-blue-5 text-white":""}),(0,a.jsx)(i.Button,{type:"text",size:"small",className:"",icon:(0,a.jsx)(Sa,{className:"text-xl"}),onClick:()=>e.chain().focus().setHorizontalRule().run()})]})}const Ba=[{label:"标题1",value:"1"},{label:"标题2",value:"2"},{label:"标题3",value:"3"},{label:"标题4",value:"4"},{label:"标题5",value:"5"},{label:"标题6",value:"6"}];function Oa({className:e}){const{editor:t}=(0,lr.useCurrentEditor)();return t?(0,a.jsx)(lr.FloatingMenu,{editor:t,tippyOptions:{placement:"top-start"},children:(0,a.jsxs)(i.Flex,{gap:4,align:"center",className:`rounded-md p-1 bg-white border border-gray-200 shadow-sm pr-2 ${e}`,children:[Ba.map((({value:e})=>(0,a.jsx)(i.Button,{type:"text",size:"small",icon:Na[e],onClick:()=>t.chain().focus().toggleHeading({level:Number(e)}).run(),className:t.isActive("heading",{level:Number(e)})?"bg-blue-5 text-white":""},e))),(0,a.jsx)(i.Divider,{type:"vertical",className:"h-4 border-gray-300"}),(0,a.jsx)(Ma,{editor:t}),(0,a.jsx)(i.Divider,{type:"vertical",className:"h-4 border-gray-300"}),(0,a.jsx)(ga,{editor:t}),(0,a.jsx)(xa,{editor:t}),(0,a.jsx)(ja,{editor:t})]})}):null}const Wa=function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M9.9 19q-2.425 0-4.163-1.575T4 13.5q0-2.35 1.738-3.925T9.9 8h6.3l-2.6-2.6L15 4l5 5l-5 5l-1.4-1.4l2.6-2.6H9.9q-1.575 0-2.738 1T6 13.5Q6 15 7.163 16T9.9 17H17v2z"})}))},Za=function(e){return(0,a.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:"currentColor",d:"M7 19v-2h7.1q1.575 0 2.738-1T18 13.5q0-1.5-1.162-2.5T14.1 10H7.8l2.6 2.6L9 14L4 9l5-5l1.4 1.4L7.8 8h6.3q2.425 0 4.163 1.575T20 13.5q0 2.35-1.737 3.925T14.1 19z"})}))};function Ka({editor:e}){const t=!e.can().chain().focus().undo().run(),n=!e.can().chain().focus().redo().run();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Button,{type:"text",size:"small",disabled:t,icon:(0,a.jsx)(Za,{className:"text-xl "}),onClick:()=>e.chain().focus().undo().run()}),(0,a.jsx)(i.Button,{size:"small",type:"text",disabled:n,icon:(0,a.jsx)(Wa,{className:"text-xl "}),onClick:()=>e.chain().focus().redo().run()})]})}const Ja=(0,j.forwardRef)((function(e,t){const{editor:n}=(0,lr.useCurrentEditor)();return(0,j.useImperativeHandle)(t,(()=>({getContent:()=>n?n.getHTML():""}))),n?(0,a.jsxs)(i.Flex,{gap:8,wrap:!0,align:"center",className:`p-2 border border-gray-300 mb-4 sticky z-10 bg-white ${e.className}`,children:[(0,a.jsx)(Ka,{editor:n}),(0,a.jsx)(i.Divider,{type:"vertical",className:"h-4 border-gray-300"}),(0,a.jsx)(Yr,{editor:n}),(0,a.jsx)(i.Divider,{type:"vertical",className:"h-4 border-gray-300"}),(0,a.jsx)(Aa,{editor:n}),(0,a.jsx)(i.Divider,{type:"vertical",className:"h-4 border-gray-300"}),(0,a.jsx)(aa,{editor:n}),(0,a.jsx)(i.Divider,{type:"vertical",className:"h-4 border-gray-300"}),(0,a.jsx)(ca,{editor:n}),(0,a.jsx)(i.Divider,{type:"vertical",className:"h-4 border-gray-300"}),(0,a.jsx)(Ma,{editor:n}),(0,a.jsx)(la,{editor:n}),(0,a.jsx)(i.Divider,{type:"vertical",className:"h-4 border-gray-300"}),(0,a.jsx)(ga,{editor:n}),(0,a.jsx)(xa,{editor:n}),(0,a.jsx)(ja,{editor:n})]}):null})),Fa=(0,j.forwardRef)((function(e,t){const{editor:n}=(0,lr.useCurrentEditor)();return(0,j.useImperativeHandle)(t,(()=>({getContent:()=>n?n.getHTML():""}))),(0,a.jsx)(a.Fragment,{})}));var Pa=n(383),La={};La.styleTagTransform=g(),La.setAttributes=m(),La.insert=u().bind(null,"head"),La.domAPI=c(),La.insertStyleElement=f(),l()(Pa.A,La),Pa.A&&Pa.A.locals&&Pa.A.locals;var Ta=n(311),Ia={};Ia.styleTagTransform=g(),Ia.setAttributes=m(),Ia.insert=u().bind(null,"head"),Ia.domAPI=c(),Ia.insertStyleElement=f(),l()(Ta.A,Ia),Ta.A&&Ta.A.locals&&Ta.A.locals;var Da=n(512),Ua={};Ua.styleTagTransform=g(),Ua.setAttributes=m(),Ua.insert=u().bind(null,"head"),Ua.domAPI=c(),Ua.insertStyleElement=f(),l()(Da.A,Ua),Da.A&&Da.A.locals&&Da.A.locals;const qa=(0,j.forwardRef)((function({content:e,classNames:t},n){const o=(0,j.useRef)(null);return(0,j.useImperativeHandle)(n,(()=>({getContent:()=>o.current?o.current.getContent():""}))),(0,a.jsx)("div",{className:"tiptap-container",children:(0,a.jsxs)(lr.EditorProvider,{immediatelyRender:!1,content:e,extensions:_r,slotBefore:(0,a.jsx)(Ja,{className:null==t?void 0:t.fixedMenu}),editorContainerProps:{className:`prose max-w-none p-4 border border-gray-300 min-h-[20rem] ${null==t?void 0:t.editorContainer}`},children:[(0,a.jsx)(Fa,{ref:o}),(0,a.jsx)(ma,{className:null==t?void 0:t.bubbleMenu}),(0,a.jsx)(ba,{className:null==t?void 0:t.linkFloatingMenu}),(0,a.jsx)(Oa,{className:null==t?void 0:t.paragraphFloatingMenu})]})})}));function Ha({content:e}){return(0,a.jsx)("div",{className:"tiptap-container",children:(0,a.jsx)(lr.EditorProvider,{immediatelyRender:!1,editable:!1,content:e,extensions:Vr,parseOptions:{preserveWhitespace:"full"},editorContainerProps:{className:"prose max-w-none"}})})}var Ra=exports;for(var _a in o)Ra[_a]=o[_a];o.__esModule&&Object.defineProperty(Ra,"__esModule",{value:!0})})();
|