@fileflow/sdk 0.1.17 → 0.1.18
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/{ImportWizard-Cn8RiCyW.mjs → ImportWizard-D4GlHhyY.mjs} +754 -684
- package/dist/ImportWizard-D4GlHhyY.mjs.map +1 -0
- package/dist/ImportWizard-Dakb05xc.js +78 -0
- package/dist/ImportWizard-Dakb05xc.js.map +1 -0
- package/dist/{KYCWizard-C6KmAQmd.mjs → KYCWizard-BZW0dZ2x.mjs} +2 -2
- package/dist/{KYCWizard-C6KmAQmd.mjs.map → KYCWizard-BZW0dZ2x.mjs.map} +1 -1
- package/dist/{KYCWizard-w_q7ZqUm.js → KYCWizard-Bk9-GvOh.js} +2 -2
- package/dist/{KYCWizard-w_q7ZqUm.js.map → KYCWizard-Bk9-GvOh.js.map} +1 -1
- package/dist/import.d.ts +3 -0
- package/dist/import.js +1 -1
- package/dist/import.mjs +1 -1
- package/dist/{index-pKcPB1CY.js → index-CLgI0mua.js} +2 -2
- package/dist/{index-pKcPB1CY.js.map → index-CLgI0mua.js.map} +1 -1
- package/dist/{index-S6qm6fPa.mjs → index-DnkwOjwi.mjs} +466 -466
- package/dist/{index-S6qm6fPa.mjs.map → index-DnkwOjwi.mjs.map} +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +3 -3
- package/dist/kyc.js +1 -1
- package/dist/kyc.mjs +1 -1
- package/dist/styles.css +23 -0
- package/package.json +1 -1
- package/dist/ImportWizard-Cn8RiCyW.mjs.map +0 -1
- package/dist/ImportWizard-CrWMalmb.js +0 -73
- package/dist/ImportWizard-CrWMalmb.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as ur } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import lt, { useRef as nt, useState as pn, useCallback as _e, useEffect as ht, useMemo as et, useReducer as ki, forwardRef as Gr, useImperativeHandle as _i, Fragment as Si, createElement as jr } from "react";
|
|
3
3
|
import Ei from "react-dom";
|
|
4
|
-
const ga = `.ff-container{width:100%}@media (min-width: 640px){.ff-container{max-width:640px}}@media (min-width: 768px){.ff-container{max-width:768px}}@media (min-width: 1024px){.ff-container{max-width:1024px}}@media (min-width: 1280px){.ff-container{max-width:1280px}}@media (min-width: 1536px){.ff-container{max-width:1536px}}.fileflow-sdk-root{all:revert;isolation:isolate;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif;font-size:16px;line-height:1.5;font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box;color:#21201d;background-color:transparent;text-align:left;direction:ltr;text-rendering:optimizeLegibility;margin:0;padding:0;--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.fileflow-sdk-root *,.fileflow-sdk-root *:before,.fileflow-sdk-root *:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000}.fileflow-sdk-root button,.fileflow-sdk-root input,.fileflow-sdk-root select,.fileflow-sdk-root textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}.fileflow-sdk-root button{cursor:pointer;background:none;border:none;padding:0}.fileflow-sdk-root img,.fileflow-sdk-root svg{display:block;max-width:100%}.fileflow-sdk-root a{color:inherit;text-decoration:inherit}.fileflow-sdk-root h1,.fileflow-sdk-root h2,.fileflow-sdk-root h3,.fileflow-sdk-root h4,.fileflow-sdk-root h5,.fileflow-sdk-root h6{font-size:inherit;font-weight:inherit;margin:0}.fileflow-sdk-root p,.fileflow-sdk-root ul,.fileflow-sdk-root ol{margin:0;padding:0}.fileflow-sdk-root ul,.fileflow-sdk-root ol{list-style:none}.fileflow-sdk-root{--ff-primary-10: #f9fafb;--ff-primary-20: #eef0f6;--ff-primary-30: #e2e6f0;--ff-primary-40: #dce1ec;--ff-primary-50: #d7e1f2;--ff-primary-60: #c6d6f0;--ff-primary-70: #c0d0ed;--ff-primary-80: #b9cbeb;--ff-primary-90: #728ab3;--ff-primary-100: #6980a5;--ff-primary-110: #4f6180;--ff-primary-120: #132036;--ff-primary-500: #d7e1f2;--ff-primary-600: #c0d0ed;--ff-brown-10: #f0ece8;--ff-brown-20: #d4c4ba;--ff-brown-30: #b59f8c;--ff-brown-40: #a68c74;--ff-brown-50: #97795d;--ff-brown-60: #8a6447;--ff-brown-70: #7a522f;--ff-brown-80: #6b3f18;--ff-brown-90: #613916;--ff-brown-100: #563213;--ff-brown-110: #4b2c11;--ff-brown-120: #36200c;--ff-primary-text: #6b3f18;--ff-gray-white: #ffffff;--ff-gray-10: #fcfcfb;--ff-gray-20: #f9f9f7;--ff-gray-30: #f0efed;--ff-gray-40: #e9e8e4;--ff-gray-50: #e2e0dd;--ff-gray-60: #dadad5;--ff-gray-70: #cfceca;--ff-gray-80: #bcbbb7;--ff-gray-90: #8e8d89;--ff-gray-100: #848280;--ff-gray-110: #656461;--ff-gray-120: #21201d;--ff-bg-primary: var(--ff-gray-white);--ff-bg-secondary: var(--ff-gray-10);--ff-bg-tertiary: var(--ff-gray-30);--ff-bg-brand: var(--ff-primary-50);--ff-bg-brand-light: var(--ff-primary-20);--ff-text-primary: var(--ff-gray-120);--ff-text-secondary: var(--ff-gray-110);--ff-text-muted: var(--ff-gray-90);--ff-text-supportive: var(--ff-gray-80);--ff-text-inverse: var(--ff-gray-white);--ff-text-link: var(--ff-primary-90);--ff-text-brand: var(--ff-brown-80);--ff-border-light: var(--ff-gray-30);--ff-border-default: var(--ff-gray-40);--ff-border-dark: var(--ff-gray-70);--ff-border-brand: var(--ff-brown-80);--ff-border-focus: var(--ff-primary-70);--ff-icon-default: var(--ff-gray-90);--ff-icon-active: var(--ff-gray-120);--ff-icon-muted: var(--ff-gray-80);--ff-icon-brand: var(--ff-brown-80);--ff-icon-inverse: var(--ff-gray-white);--ff-success-light: #e7f5e4;--ff-success: #298e33;--ff-success-dark: #1f3c20;--ff-warning-light: #ffe6c1;--ff-warning: #a86807;--ff-warning-dark: #4a3723;--ff-error-light: #fcdede;--ff-error: #d43338;--ff-error-dark: #641a1a;--ff-focus-ring: rgba(192, 208, 237, .5);--ff-focus-ring-accent: rgba(168, 85, 247, .25);--ff-accent-50: #faf5ff;--ff-accent-100: #f3e8ff;--ff-accent-200: #e9d5ff;--ff-accent-300: #d8b4fe;--ff-accent-400: #c084fc;--ff-accent-500: #a855f7;--ff-accent-600: #9333ea;--ff-accent-700: #7c3aed;--ff-accent-800: #6b21a8;--ff-accent-900: #581c87;--ff-navy-950: #1a2029}.fileflow-sdk-root .ff-container{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:var(--ff-text-primary);font-feature-settings:"cv02","cv03","cv04","cv11"}.fileflow-sdk-root .ff-table-container{position:relative;overflow:auto;border-radius:1rem;border-width:1px;border-color:var(--ff-border-light);background-color:var(--ff-bg-primary)}.fileflow-sdk-root .ff-table{width:100%;font-size:.875rem;line-height:1.25rem}.fileflow-sdk-root .ff-table thead{position:sticky;top:0;z-index:10;background-color:var(--ff-bg-secondary)}.fileflow-sdk-root .ff-table thead tr:first-child th:first-child{border-top-left-radius:1rem}.fileflow-sdk-root .ff-table thead tr:first-child th:last-child{border-top-right-radius:1rem}.fileflow-sdk-root .ff-table th{padding:.75rem 1rem;text-align:left;font-size:.75rem;line-height:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--ff-text-secondary);border-bottom:2px solid var(--ff-border-light)}.fileflow-sdk-root .ff-table td{padding:.75rem 1rem;color:var(--ff-text-primary);border-bottom:1px solid var(--ff-border-light)}.fileflow-sdk-root .ff-table tbody tr{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fileflow-sdk-root .ff-table tbody tr:hover{background-color:var(--ff-bg-secondary)}.fileflow-sdk-root .ff-cell-error{border-left-width:4px;background-color:var(--ff-error-light);border-left-color:var(--ff-error)}.fileflow-sdk-root .ff-cell-warning{border-left-width:4px;background-color:var(--ff-warning-light);border-left-color:var(--ff-warning)}.fileflow-sdk-root .ff-cell-editing{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);background-color:var(--ff-primary-50);--tw-ring-color: var(--ff-primary-400)}.fileflow-sdk-root .ff-cell-success{background-color:var(--ff-success-light)}.fileflow-sdk-root .ff-row-error{background-color:#d433381a}.fileflow-sdk-root .ff-edit-btn{color:var(--ff-text-muted)}.fileflow-sdk-root .ff-edit-btn:hover{color:var(--ff-text-secondary)}.fileflow-sdk-root .ff-input{width:100%;border-radius:.75rem;border-width:1px;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;border-color:var(--ff-border-default);background-color:var(--ff-bg-primary);color:var(--ff-text-primary);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.fileflow-sdk-root .ff-input::-moz-placeholder{color:var(--ff-text-muted)}.fileflow-sdk-root .ff-input::placeholder{color:var(--ff-text-muted)}.fileflow-sdk-root .ff-input:hover{border-color:var(--ff-border-dark)}.fileflow-sdk-root .ff-input:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);border-color:var(--ff-primary-500);--tw-ring-color: var(--ff-focus-ring)}.fileflow-sdk-root .ff-input-error{border-color:var(--ff-error)}.fileflow-sdk-root .ff-input-error:focus{border-color:var(--ff-error);--tw-ring-color: rgba(212, 51, 56, .2)}.fileflow-sdk-root .ff-select{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:2.5rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2378716c' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:1.25em 1.25em}.fileflow-sdk-root .ff-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:600;padding:.625rem 1.25rem;border-radius:.75rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;border-width:1px;border-color:transparent;cursor:pointer}.fileflow-sdk-root .ff-btn:focus{outline:2px solid transparent;outline-offset:2px}.fileflow-sdk-root .ff-btn:disabled{cursor:not-allowed;opacity:.5}.fileflow-sdk-root .ff-btn-primary{background-color:var(--ff-primary-110);color:var(--ff-gray-white)}.fileflow-sdk-root .ff-btn-primary:hover:not(:disabled){background-color:var(--ff-primary-120);transform:translateY(-1px);box-shadow:0 4px 12px -2px #0003}.fileflow-sdk-root .ff-btn-primary:active:not(:disabled){background-color:var(--ff-primary-130);transform:translateY(0)}.fileflow-sdk-root .ff-btn-primary:focus-visible{box-shadow:0 0 0 3px var(--ff-focus-ring)}.fileflow-sdk-root .ff-btn-secondary{background-color:var(--ff-bg-primary);color:var(--ff-text-primary);border-color:var(--ff-border-default)}.fileflow-sdk-root .ff-btn-secondary:hover:not(:disabled){background-color:var(--ff-bg-secondary);border-color:var(--ff-border-dark)}.fileflow-sdk-root .ff-btn-secondary:active:not(:disabled){background-color:var(--ff-bg-tertiary)}.fileflow-sdk-root .ff-btn-secondary:focus-visible{box-shadow:0 0 0 3px var(--ff-focus-ring)}.fileflow-sdk-root .ff-btn-ghost{background-color:transparent;color:var(--ff-text-secondary)}.fileflow-sdk-root .ff-btn-ghost:hover:not(:disabled){background-color:var(--ff-bg-secondary);color:var(--ff-text-primary)}.fileflow-sdk-root .ff-btn-accent{background-color:var(--ff-accent-500);color:var(--ff-text-inverse)}.fileflow-sdk-root .ff-btn-accent:hover:not(:disabled){background-color:var(--ff-accent-600);transform:translateY(-1px);box-shadow:0 4px 12px -2px #a855f74d}.fileflow-sdk-root .ff-btn-accent:active:not(:disabled){background-color:var(--ff-accent-700);transform:translateY(0)}.fileflow-sdk-root .ff-btn-accent:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: var(--ff-focus-ring-accent)}.fileflow-sdk-root .ff-btn-danger{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.fileflow-sdk-root .ff-btn-danger:hover:not(:disabled){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1));transform:translateY(-1px)}.fileflow-sdk-root .ff-btn-link{background-color:transparent;color:var(--ff-primary-text);padding:.25rem .5rem}.fileflow-sdk-root .ff-btn-link:hover:not(:disabled){color:#4a2a10;text-decoration:underline}.fileflow-sdk-root .ff-btn-sm{border-radius:.375rem;padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem}.fileflow-sdk-root .ff-btn-lg{border-radius:1rem;padding:.75rem 1.5rem;font-size:1rem;line-height:1.5rem}.fileflow-sdk-root .ff-checkbox{height:1.25rem;width:1.25rem;cursor:pointer;border-radius:.5rem;border-width:2px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;border-color:var(--ff-border-default);background-color:var(--ff-bg-primary)}.fileflow-sdk-root .ff-checkbox:hover{border-color:var(--ff-primary-400)}.fileflow-sdk-root .ff-checkbox:checked{background-color:var(--ff-primary-500);border-color:var(--ff-primary-500);background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}.fileflow-sdk-root .ff-checkbox:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: var(--ff-focus-ring)}.fileflow-sdk-root .ff-radio{height:1.25rem;width:1.25rem;cursor:pointer;border-radius:9999px;border-width:2px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;border-color:var(--ff-border-default);background-color:var(--ff-bg-primary)}.fileflow-sdk-root .ff-radio:checked{border-color:var(--ff-primary-500);border-width:6px}.fileflow-sdk-root .ff-radio:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: var(--ff-focus-ring)}.fileflow-sdk-root .ff-toggle{position:relative;height:1.5rem;width:2.75rem;cursor:pointer;border-radius:9999px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;background-color:var(--ff-border-default)}.fileflow-sdk-root .ff-toggle:after{position:absolute;top:.125rem;left:.125rem;height:1.25rem;width:1.25rem;border-radius:9999px;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;content:"";background-color:var(--ff-bg-primary);box-shadow:0 1px 3px #0000001a}.fileflow-sdk-root .ff-toggle:checked{background-color:var(--ff-primary-500)}.fileflow-sdk-root .ff-toggle:checked:after{transform:translate(1.25rem)}.fileflow-sdk-root .ff-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;border-radius:1rem;border-width:2px;border-style:dashed;border-color:var(--ff-border-default);background-color:var(--ff-bg-secondary);cursor:pointer;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fileflow-sdk-root .ff-dropzone *{pointer-events:none}.fileflow-sdk-root .ff-dropzone input{pointer-events:auto}.fileflow-sdk-root .ff-dropzone:hover{border-color:var(--ff-primary-70);background-color:var(--ff-primary-10)}.fileflow-sdk-root .ff-dropzone-active{border-color:var(--ff-primary-90);background-color:var(--ff-primary-20);--tw-scale-x: 1.01;--tw-scale-y: 1.01;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.fileflow-sdk-root .ff-dropzone-icon-wrapper{margin-left:auto;margin-right:auto;margin-bottom:1rem;display:flex;height:3.5rem;width:3.5rem;align-items:center;justify-content:center;border-radius:1rem;background-color:var(--ff-primary-20);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fileflow-sdk-root .ff-dropzone-active .ff-dropzone-icon-wrapper{background-color:var(--ff-primary-30)}.fileflow-sdk-root .ff-dropzone-icon{height:1.75rem;width:1.75rem;color:var(--ff-primary-90);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fileflow-sdk-root .ff-dropzone-active .ff-dropzone-icon{color:var(--ff-primary-110)}.fileflow-sdk-root .ff-dropzone-text{margin-bottom:.25rem;font-size:1rem;line-height:1.5rem;font-weight:600;color:var(--ff-text-primary)}.fileflow-sdk-root .ff-dropzone-hint{margin-bottom:1rem;font-size:.875rem;line-height:1.25rem;color:var(--ff-text-muted)}.fileflow-sdk-root .ff-dropzone-formats{margin-top:.75rem;font-size:.75rem;line-height:1rem;color:var(--ff-text-muted)}.fileflow-sdk-root .ff-badge{display:inline-flex;align-items:center;border-radius:9999px;padding:.25rem .625rem;font-size:.75rem;line-height:1rem;font-weight:600}.fileflow-sdk-root .ff-badge-error{background-color:var(--ff-error-light);color:var(--ff-error)}.fileflow-sdk-root .ff-badge-warning{background-color:var(--ff-warning-light);color:var(--ff-warning)}.fileflow-sdk-root .ff-badge-success{background-color:var(--ff-success-light);color:var(--ff-success)}.fileflow-sdk-root .ff-badge-info{background-color:var(--ff-primary-20);color:var(--ff-primary-90)}.fileflow-sdk-root .ff-badge-neutral{background-color:var(--ff-bg-tertiary);color:var(--ff-text-secondary)}.fileflow-sdk-root .ff-badge-primary{background-color:var(--ff-primary-100);color:var(--ff-primary-700)}.fileflow-sdk-root .ff-badge-accent{background-color:var(--ff-accent-100);color:var(--ff-accent-700)}.fileflow-sdk-root .ff-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background-color:#1c191780;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:1rem;animation:ff-fade-in .2s ease-out;overflow-y:auto}@keyframes ff-fade-in{0%{opacity:0}to{opacity:1}}.fileflow-sdk-root .ff-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background-color:#00000080;display:flex;align-items:center;justify-content:center;padding:1rem}.fileflow-sdk-root .ff-modal{background-color:var(--ff-bg-primary);border-radius:1.25rem;width:100%;max-width:56rem;display:flex;flex-direction:column;max-height:min(90vh,calc(100vh - 2rem));box-shadow:0 25px 50px -12px #00000040;animation:ff-scale-in .2s ease-out;margin-top:auto;margin-bottom:auto}.fileflow-sdk-root .ff-embed{background-color:var(--ff-bg-primary);display:flex;width:100%;flex-direction:column;border-radius:1rem;border-width:1px;border-color:var(--ff-border-light)}.fileflow-sdk-root .ff-embed .ff-modal-header{border-top-left-radius:1rem;border-top-right-radius:1rem}.fileflow-sdk-root .ff-embed .ff-modal-footer{border-bottom-right-radius:1rem;border-bottom-left-radius:1rem}@keyframes ff-scale-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.fileflow-sdk-root .ff-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid var(--ff-border-light);flex-shrink:0;border-top-left-radius:1.25rem;border-top-right-radius:1.25rem}.fileflow-sdk-root .ff-modal-header-left{display:flex;align-items:center;gap:1rem}.fileflow-sdk-root .ff-modal-icon{display:flex;height:2.5rem;width:2.5rem;align-items:center;justify-content:center;border-radius:.75rem;background-color:var(--ff-primary-20)}.fileflow-sdk-root .ff-modal-icon svg{height:1.25rem;width:1.25rem;color:var(--ff-primary-90)}.fileflow-sdk-root .ff-modal-title{font-size:1.125rem;line-height:1.75rem;font-weight:600;color:var(--ff-text-primary)}.fileflow-sdk-root .ff-modal-close{border-radius:.75rem;padding:.5rem;color:var(--ff-text-muted);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fileflow-sdk-root .ff-modal-close:hover{color:var(--ff-text-primary);background-color:var(--ff-bg-tertiary)}.fileflow-sdk-root .ff-modal-body{flex:1 1 0%;overflow-y:auto;padding:1.5rem}.fileflow-sdk-root .ff-modal-footer{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;background-color:var(--ff-bg-secondary);border-top:1px solid var(--ff-border-light);flex-shrink:0;border-bottom-right-radius:1.25rem;border-bottom-left-radius:1.25rem}.fileflow-sdk-root .ff-steps{display:flex;align-items:center;gap:.5rem}.fileflow-sdk-root .ff-step{display:flex;align-items:center;justify-content:center;height:2rem;width:2rem;border-radius:9999px;font-size:.875rem;line-height:1.25rem;font-weight:600;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fileflow-sdk-root .ff-step-pending{background-color:var(--ff-bg-tertiary);color:var(--ff-text-muted)}.fileflow-sdk-root .ff-step-active{background-color:var(--ff-primary-50);color:var(--ff-primary-90);box-shadow:0 0 0 4px var(--ff-primary-20)}.fileflow-sdk-root .ff-step-complete{background-color:var(--ff-success);color:#fff}.fileflow-sdk-root .ff-step-connector{height:.125rem;width:2rem;background-color:var(--ff-border-default);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fileflow-sdk-root .ff-step-connector-complete{background-color:var(--ff-success)}.fileflow-sdk-root .ff-progress{height:.5rem;overflow:hidden;border-radius:9999px;background-color:var(--ff-bg-tertiary)}.fileflow-sdk-root .ff-progress-bar{height:100%;border-radius:9999px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;transition-timing-function:cubic-bezier(0,0,.2,1);background-color:var(--ff-primary-500)}.fileflow-sdk-root .ff-progress-bar-animated{background:linear-gradient(90deg,var(--ff-primary-400) 0%,var(--ff-primary-500) 50%,var(--ff-primary-400) 100%);background-size:200% 100%;animation:shimmer 2s linear infinite}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.fileflow-sdk-root .ff-tooltip{position:absolute;z-index:50;border-radius:.75rem;padding:.5rem .75rem;font-size:.75rem;line-height:1rem;font-weight:500;visibility:hidden;opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;background-color:var(--ff-navy-950);color:var(--ff-text-inverse);box-shadow:0 4px 12px -2px #0003}.fileflow-sdk-root .ff-tooltip-visible{visibility:visible;opacity:1}.fileflow-sdk-root .ff-spinner{height:1.25rem;width:1.25rem}.fileflow-sdk-root .ff-spinner{animation:ff-spin 1s linear infinite;border-radius:9999px;border-width:2px;border-color:var(--ff-border-light);border-top-color:var(--ff-primary-500)}.fileflow-sdk-root .ff-spinner-lg{height:2rem;width:2rem;border-width:3px}.fileflow-sdk-root .ff-document-preview{position:relative;overflow:hidden;border-radius:1rem;background-color:var(--ff-bg-tertiary)}.fileflow-sdk-root .ff-document-preview img{height:auto;width:100%;-o-object-fit:contain;object-fit:contain}.fileflow-sdk-root .ff-mapping-header{margin-bottom:1rem;display:flex;align-items:center;justify-content:space-between}.fileflow-sdk-root .ff-mapping-title{font-size:1.125rem;line-height:1.75rem;font-weight:600;color:var(--ff-text-primary)}.fileflow-sdk-root .ff-mapping-subtitle{font-size:.875rem;line-height:1.25rem;color:var(--ff-text-muted)}.fileflow-sdk-root .ff-mapping-legend{display:flex;align-items:center;gap:1rem;font-size:.875rem;line-height:1.25rem}.fileflow-sdk-root .ff-mapping-legend-item{display:flex;align-items:center;gap:.375rem}.fileflow-sdk-root .ff-mapping-legend-dot{height:.5rem;width:.5rem;border-radius:9999px}.fileflow-sdk-root .ff-mapping-row{display:flex;align-items:center;gap:1rem;border-radius:1rem;border-width:1px;padding:1rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background-color:var(--ff-bg-primary);border-color:var(--ff-border-light)}.fileflow-sdk-root .ff-mapping-row:hover{border-color:var(--ff-border-default);background-color:var(--ff-bg-secondary)}.fileflow-sdk-root .ff-mapping-row-success{border-color:var(--ff-success-light);background-color:#e7f5e480}.fileflow-sdk-root .ff-mapping-row-warning{border-color:var(--ff-warning-light);background-color:#ffe6c180}.fileflow-sdk-root .ff-mapping-source{flex:1 1 0%;border-radius:.75rem;padding:.625rem 1rem;font-family:JetBrains Mono,SF Mono,Monaco,monospace;font-size:.875rem;line-height:1.25rem;background-color:var(--ff-bg-tertiary);color:var(--ff-text-secondary)}.fileflow-sdk-root .ff-mapping-arrow{flex-shrink:0;color:var(--ff-text-muted)}.fileflow-sdk-root .ff-mapping-target{flex:1 1 0%}.fileflow-sdk-root .ff-mapping-status{display:flex;width:2rem;justify-content:center}.fileflow-sdk-root .ff-confidence{display:inline-flex;align-items:center;gap:.375rem;font-size:.75rem;line-height:1rem;font-weight:500}.fileflow-sdk-root .ff-confidence-high{color:var(--ff-success)}.fileflow-sdk-root .ff-confidence-medium{color:var(--ff-warning)}.fileflow-sdk-root .ff-confidence-low{color:var(--ff-error)}.fileflow-sdk-root .ff-confidence-bar{height:.375rem;border-radius:9999px;background-color:var(--ff-bg-tertiary)}.fileflow-sdk-root .ff-confidence-bar-fill{height:100%;border-radius:9999px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.fileflow-sdk-root .ff-validation-summary{border-radius:1rem;border-width:1px;padding:1rem}.fileflow-sdk-root .ff-validation-summary-error{background-color:var(--ff-error-light);border-color:var(--ff-error)}.fileflow-sdk-root .ff-validation-summary-warning{background-color:var(--ff-warning-light);border-color:var(--ff-warning)}.fileflow-sdk-root .ff-validation-summary-success{background-color:var(--ff-success-light);border-color:var(--ff-success)}.fileflow-sdk-root .ff-card{border-radius:1rem;border-width:1px;background-color:var(--ff-bg-primary);border-color:var(--ff-border-light);box-shadow:0 2px 8px -2px #0000000a}.fileflow-sdk-root .ff-card-hover{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.fileflow-sdk-root .ff-card-hover:hover{border-color:var(--ff-border-default);box-shadow:0 8px 24px -4px #00000014;transform:translateY(-2px)}.fileflow-sdk-root .ff-status{display:inline-flex;align-items:center;gap:.5rem}.fileflow-sdk-root .ff-status-dot{height:.5rem;width:.5rem;border-radius:9999px}.fileflow-sdk-root .ff-status-dot-success{background-color:var(--ff-success)}.fileflow-sdk-root .ff-status-dot-warning{background-color:var(--ff-warning)}.fileflow-sdk-root .ff-status-dot-error{background-color:var(--ff-error)}.fileflow-sdk-root .ff-status-dot-pending{background-color:var(--ff-text-muted)}.fileflow-sdk-root .ff-status-dot-processing{animation:ff-pulse 2s cubic-bezier(.4,0,.6,1) infinite;background-color:var(--ff-primary-90)}.fileflow-sdk-root .ff-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:3rem;padding-bottom:3rem;text-align:center}.fileflow-sdk-root .ff-empty-state-icon{margin-bottom:1rem;height:4rem;width:4rem;color:var(--ff-border-default)}.fileflow-sdk-root .ff-empty-state-title{margin-bottom:.5rem;font-size:1.125rem;line-height:1.75rem;font-weight:600;color:var(--ff-text-primary)}.fileflow-sdk-root .ff-empty-state-description{max-width:24rem;font-size:.875rem;line-height:1.25rem;color:var(--ff-text-muted)}@keyframes ff-pulse{50%{opacity:.5}}.fileflow-sdk-root .ff-skeleton{animation:ff-pulse 2s cubic-bezier(.4,0,.6,1) infinite;border-radius:.5rem;background-color:var(--ff-bg-tertiary)}.fileflow-sdk-root .ff-skeleton-text{height:1rem;border-radius:.5rem}.fileflow-sdk-root .ff-skeleton-title{height:1.5rem;width:75%;border-radius:.5rem}.fileflow-sdk-root .ff-skeleton-avatar{height:2.5rem;width:2.5rem;border-radius:9999px}.fileflow-sdk-root .ff-pagination{display:flex;align-items:center;gap:.25rem}.fileflow-sdk-root .ff-pagination-btn{display:flex;height:2.25rem;width:2.25rem;align-items:center;justify-content:center;border-radius:.75rem;font-size:.875rem;line-height:1.25rem;font-weight:500;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;color:var(--ff-text-secondary)}.fileflow-sdk-root .ff-pagination-btn:hover{background-color:var(--ff-bg-secondary);color:var(--ff-text-primary)}.fileflow-sdk-root .ff-pagination-btn-active{background-color:var(--ff-primary-500);color:var(--ff-text-inverse)}.fileflow-sdk-root .ff-pagination-btn-active:hover{background-color:var(--ff-primary-600);color:var(--ff-text-inverse)}.fileflow-sdk-root .ff-selector-group{display:inline-flex;flex-wrap:wrap;gap:.5rem}.fileflow-sdk-root .ff-selector-item{display:inline-flex;align-items:center;gap:.375rem;border-radius:9999px;padding:.375rem .75rem;cursor:pointer;font-size:.875rem;line-height:1.25rem;font-weight:500;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background-color:var(--ff-bg-secondary);color:var(--ff-text-secondary);border:1px solid var(--ff-border-light)}.fileflow-sdk-root .ff-selector-item:hover{background-color:var(--ff-bg-tertiary);border-color:var(--ff-border-default)}.fileflow-sdk-root .ff-selector-item-active{background-color:var(--ff-primary-500);color:var(--ff-text-inverse);border-color:var(--ff-primary-500)}.fileflow-sdk-root .ff-selector-item-active:hover{background-color:var(--ff-primary-600);border-color:var(--ff-primary-600)}.fileflow-sdk-root .ff-fade-in{animation:fadeIn .3s ease-out}.fileflow-sdk-root .ff-slide-up{animation:slideUp .3s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.fileflow-sdk-root .ff-theme-accent{--ff-primary-50: var(--ff-accent-50);--ff-primary-100: var(--ff-accent-100);--ff-primary-200: var(--ff-accent-200);--ff-primary-300: var(--ff-accent-300);--ff-primary-400: var(--ff-accent-400);--ff-primary-500: var(--ff-accent-500);--ff-primary-600: var(--ff-accent-600);--ff-primary-700: var(--ff-accent-700);--ff-primary-800: var(--ff-accent-800);--ff-primary-900: var(--ff-accent-900);--ff-focus-ring: var(--ff-focus-ring-accent)}.ff-relative{position:relative}.ff-bottom-full{bottom:100%}.ff-left-1\\/2{left:50%}.ff-mx-auto{margin-left:auto;margin-right:auto}.ff-mb-2{margin-bottom:.5rem}.ff-mb-4{margin-bottom:1rem}.ff-mb-6{margin-bottom:1.5rem}.ff-ml-4{margin-left:1rem}.ff-mr-1{margin-right:.25rem}.ff-mt-0\\.5{margin-top:.125rem}.ff-mt-1{margin-top:.25rem}.ff-mt-2{margin-top:.5rem}.ff-mt-3{margin-top:.75rem}.ff-block{display:block}.ff-inline-block{display:inline-block}.ff-flex{display:flex}.ff-table{display:table}.ff-grid{display:grid}.ff-aspect-\\[3\\/4\\]{aspect-ratio:3/4}.ff-h-10{height:2.5rem}.ff-h-12{height:3rem}.ff-h-16{height:4rem}.ff-h-3{height:.75rem}.ff-h-4{height:1rem}.ff-h-5{height:1.25rem}.ff-h-6{height:1.5rem}.ff-h-8{height:2rem}.ff-h-full{height:100%}.ff-max-h-96{max-height:24rem}.ff-max-h-\\[500px\\]{max-height:500px}.ff-w-10{width:2.5rem}.ff-w-12{width:3rem}.ff-w-16{width:4rem}.ff-w-3{width:.75rem}.ff-w-4{width:1rem}.ff-w-48{width:12rem}.ff-w-5{width:1.25rem}.ff-w-6{width:1.5rem}.ff-w-8{width:2rem}.ff-w-full{width:100%}.ff-min-w-0{min-width:0px}.ff-max-w-lg{max-width:32rem}.ff-max-w-md{max-width:28rem}.ff-max-w-xl{max-width:36rem}.ff-max-w-xs{max-width:20rem}.ff-flex-1{flex:1 1 0%}.ff-flex-shrink-0{flex-shrink:0}.ff--translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ff-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes ff-spin{to{transform:rotate(360deg)}}.ff-animate-spin{animation:ff-spin 1s linear infinite}.ff-cursor-not-allowed{cursor:not-allowed}.ff-cursor-pointer{cursor:pointer}.ff-cursor-wait{cursor:wait}.ff-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ff-list-inside{list-style-position:inside}.ff-list-disc{list-style-type:disc}.ff-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.ff-flex-col{flex-direction:column}.ff-flex-wrap{flex-wrap:wrap}.ff-items-start{align-items:flex-start}.ff-items-center{align-items:center}.ff-justify-center{justify-content:center}.ff-justify-between{justify-content:space-between}.ff-gap-1{gap:.25rem}.ff-gap-2{gap:.5rem}.ff-gap-3{gap:.75rem}.ff-gap-4{gap:1rem}.ff-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.ff-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.ff-space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.ff-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ff-space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.ff-divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.ff-overflow-hidden{overflow:hidden}.ff-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ff-rounded{border-radius:.5rem}.ff-rounded-full{border-radius:9999px}.ff-rounded-lg{border-radius:.75rem}.ff-rounded-xl{border-radius:1rem}.ff-border{border-width:1px}.ff-border-2{border-width:2px}.ff-border-b{border-bottom-width:1px}.ff-border-transparent{border-color:transparent}.ff-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.ff-object-contain{-o-object-fit:contain;object-fit:contain}.ff-p-1{padding:.25rem}.ff-p-1\\.5{padding:.375rem}.ff-p-2{padding:.5rem}.ff-p-3{padding:.75rem}.ff-p-4{padding:1rem}.ff-p-6{padding:1.5rem}.ff-px-2{padding-left:.5rem;padding-right:.5rem}.ff-px-4{padding-left:1rem;padding-right:1rem}.ff-py-1{padding-top:.25rem;padding-bottom:.25rem}.ff-py-12{padding-top:3rem;padding-bottom:3rem}.ff-py-3{padding-top:.75rem;padding-bottom:.75rem}.ff-py-4{padding-top:1rem;padding-bottom:1rem}.ff-py-8{padding-top:2rem;padding-bottom:2rem}.ff-text-left{text-align:left}.ff-text-center{text-align:center}.ff-text-right{text-align:right}.ff-font-mono{font-family:JetBrains Mono,SF Mono,Monaco,monospace}.ff-text-2xl{font-size:1.5rem;line-height:2rem}.ff-text-lg{font-size:1.125rem;line-height:1.75rem}.ff-text-sm{font-size:.875rem;line-height:1.25rem}.ff-text-xl{font-size:1.25rem;line-height:1.75rem}.ff-text-xs{font-size:.75rem;line-height:1rem}.ff-font-bold{font-weight:700}.ff-font-medium{font-weight:500}.ff-font-semibold{font-weight:600}.ff-opacity-0{opacity:0}.ff-opacity-50{opacity:.5}.ff-shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ff-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ff-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ff-transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ff-duration-150{transition-duration:.15s}.hover\\:ff-border-transparent:hover{border-color:transparent}.ff-group:hover .group-hover\\:ff-opacity-100{opacity:1}`, fn = "fileflow-sdk-styles";
|
|
4
|
+
const ga = `.ff-container{width:100%}@media (min-width: 640px){.ff-container{max-width:640px}}@media (min-width: 768px){.ff-container{max-width:768px}}@media (min-width: 1024px){.ff-container{max-width:1024px}}@media (min-width: 1280px){.ff-container{max-width:1280px}}@media (min-width: 1536px){.ff-container{max-width:1536px}}.fileflow-sdk-root{all:revert;isolation:isolate;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif;font-size:16px;line-height:1.5;font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box;color:#21201d;background-color:transparent;text-align:left;direction:ltr;text-rendering:optimizeLegibility;margin:0;padding:0;--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.fileflow-sdk-root *,.fileflow-sdk-root *:before,.fileflow-sdk-root *:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000}.fileflow-sdk-root button,.fileflow-sdk-root input,.fileflow-sdk-root select,.fileflow-sdk-root textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}.fileflow-sdk-root button{cursor:pointer;background:none;border:none;padding:0}.fileflow-sdk-root img,.fileflow-sdk-root svg{display:block;max-width:100%}.fileflow-sdk-root a{color:inherit;text-decoration:inherit}.fileflow-sdk-root h1,.fileflow-sdk-root h2,.fileflow-sdk-root h3,.fileflow-sdk-root h4,.fileflow-sdk-root h5,.fileflow-sdk-root h6{font-size:inherit;font-weight:inherit;margin:0}.fileflow-sdk-root p,.fileflow-sdk-root ul,.fileflow-sdk-root ol{margin:0;padding:0}.fileflow-sdk-root ul,.fileflow-sdk-root ol{list-style:none}.fileflow-sdk-root{--ff-primary-10: #f9fafb;--ff-primary-20: #eef0f6;--ff-primary-30: #e2e6f0;--ff-primary-40: #dce1ec;--ff-primary-50: #d7e1f2;--ff-primary-60: #c6d6f0;--ff-primary-70: #c0d0ed;--ff-primary-80: #b9cbeb;--ff-primary-90: #728ab3;--ff-primary-100: #6980a5;--ff-primary-110: #4f6180;--ff-primary-120: #132036;--ff-primary-500: #d7e1f2;--ff-primary-600: #c0d0ed;--ff-brown-10: #f0ece8;--ff-brown-20: #d4c4ba;--ff-brown-30: #b59f8c;--ff-brown-40: #a68c74;--ff-brown-50: #97795d;--ff-brown-60: #8a6447;--ff-brown-70: #7a522f;--ff-brown-80: #6b3f18;--ff-brown-90: #613916;--ff-brown-100: #563213;--ff-brown-110: #4b2c11;--ff-brown-120: #36200c;--ff-primary-text: #6b3f18;--ff-gray-white: #ffffff;--ff-gray-10: #fcfcfb;--ff-gray-20: #f9f9f7;--ff-gray-30: #f0efed;--ff-gray-40: #e9e8e4;--ff-gray-50: #e2e0dd;--ff-gray-60: #dadad5;--ff-gray-70: #cfceca;--ff-gray-80: #bcbbb7;--ff-gray-90: #8e8d89;--ff-gray-100: #848280;--ff-gray-110: #656461;--ff-gray-120: #21201d;--ff-bg-primary: var(--ff-gray-white);--ff-bg-secondary: var(--ff-gray-10);--ff-bg-tertiary: var(--ff-gray-30);--ff-bg-brand: var(--ff-primary-50);--ff-bg-brand-light: var(--ff-primary-20);--ff-text-primary: var(--ff-gray-120);--ff-text-secondary: var(--ff-gray-110);--ff-text-muted: var(--ff-gray-90);--ff-text-supportive: var(--ff-gray-80);--ff-text-inverse: var(--ff-gray-white);--ff-text-link: var(--ff-primary-90);--ff-text-brand: var(--ff-brown-80);--ff-border-light: var(--ff-gray-30);--ff-border-default: var(--ff-gray-40);--ff-border-dark: var(--ff-gray-70);--ff-border-brand: var(--ff-brown-80);--ff-border-focus: var(--ff-primary-70);--ff-icon-default: var(--ff-gray-90);--ff-icon-active: var(--ff-gray-120);--ff-icon-muted: var(--ff-gray-80);--ff-icon-brand: var(--ff-brown-80);--ff-icon-inverse: var(--ff-gray-white);--ff-success-light: #e7f5e4;--ff-success: #298e33;--ff-success-dark: #1f3c20;--ff-warning-light: #ffe6c1;--ff-warning: #a86807;--ff-warning-dark: #4a3723;--ff-error-light: #fcdede;--ff-error: #d43338;--ff-error-dark: #641a1a;--ff-focus-ring: rgba(192, 208, 237, .5);--ff-focus-ring-accent: rgba(168, 85, 247, .25);--ff-accent-50: #faf5ff;--ff-accent-100: #f3e8ff;--ff-accent-200: #e9d5ff;--ff-accent-300: #d8b4fe;--ff-accent-400: #c084fc;--ff-accent-500: #a855f7;--ff-accent-600: #9333ea;--ff-accent-700: #7c3aed;--ff-accent-800: #6b21a8;--ff-accent-900: #581c87;--ff-navy-950: #1a2029}.fileflow-sdk-root .ff-container{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:var(--ff-text-primary);font-feature-settings:"cv02","cv03","cv04","cv11"}.fileflow-sdk-root .ff-table-container{position:relative;overflow:auto;border-radius:1rem;border-width:1px;border-color:var(--ff-border-light);background-color:var(--ff-bg-primary)}.fileflow-sdk-root .ff-table{width:100%;font-size:.875rem;line-height:1.25rem}.fileflow-sdk-root .ff-table thead{position:sticky;top:0;z-index:10;background-color:var(--ff-bg-secondary)}.fileflow-sdk-root .ff-table thead tr:first-child th:first-child{border-top-left-radius:1rem}.fileflow-sdk-root .ff-table thead tr:first-child th:last-child{border-top-right-radius:1rem}.fileflow-sdk-root .ff-table th{padding:.75rem 1rem;text-align:left;font-size:.75rem;line-height:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--ff-text-secondary);border-bottom:2px solid var(--ff-border-light)}.fileflow-sdk-root .ff-table td{padding:.75rem 1rem;color:var(--ff-text-primary);border-bottom:1px solid var(--ff-border-light)}.fileflow-sdk-root .ff-table tbody tr{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fileflow-sdk-root .ff-table tbody tr:hover{background-color:var(--ff-bg-secondary)}.fileflow-sdk-root .ff-cell-error{border-left-width:4px;background-color:var(--ff-error-light);border-left-color:var(--ff-error)}.fileflow-sdk-root .ff-cell-warning{border-left-width:4px;background-color:var(--ff-warning-light);border-left-color:var(--ff-warning)}.fileflow-sdk-root .ff-cell-editing{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);background-color:var(--ff-primary-50);--tw-ring-color: var(--ff-primary-400)}.fileflow-sdk-root .ff-cell-success{background-color:var(--ff-success-light)}.fileflow-sdk-root .ff-row-error{background-color:#d433381a}.fileflow-sdk-root .ff-edit-btn{color:var(--ff-text-muted);border-radius:.5rem;padding:.25rem}.fileflow-sdk-root .ff-edit-btn:hover{color:var(--ff-text-secondary);background-color:var(--ff-bg-tertiary)}.fileflow-sdk-root .ff-delete-btn{border-radius:.75rem;padding:.375rem;color:var(--ff-text-muted);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fileflow-sdk-root .ff-delete-btn:hover{color:var(--ff-error);background-color:var(--ff-error-light)}.fileflow-sdk-root .ff-delete-btn:disabled{cursor:not-allowed;opacity:.3}.fileflow-sdk-root .ff-delete-btn:disabled:hover{color:var(--ff-text-muted);background-color:transparent}.fileflow-sdk-root .ff-input{width:100%;border-radius:.75rem;border-width:1px;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;border-color:var(--ff-border-default);background-color:var(--ff-bg-primary);color:var(--ff-text-primary);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.fileflow-sdk-root .ff-input::-moz-placeholder{color:var(--ff-text-muted)}.fileflow-sdk-root .ff-input::placeholder{color:var(--ff-text-muted)}.fileflow-sdk-root .ff-input:hover{border-color:var(--ff-border-dark)}.fileflow-sdk-root .ff-input:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);border-color:var(--ff-primary-500);--tw-ring-color: var(--ff-focus-ring)}.fileflow-sdk-root .ff-input-error{border-color:var(--ff-error)}.fileflow-sdk-root .ff-input-error:focus{border-color:var(--ff-error);--tw-ring-color: rgba(212, 51, 56, .2)}.fileflow-sdk-root .ff-select{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:2.5rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2378716c' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:1.25em 1.25em}.fileflow-sdk-root .ff-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:600;padding:.625rem 1.25rem;border-radius:.75rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;border-width:1px;border-color:transparent;cursor:pointer}.fileflow-sdk-root .ff-btn:focus{outline:2px solid transparent;outline-offset:2px}.fileflow-sdk-root .ff-btn:disabled{cursor:not-allowed;opacity:.5}.fileflow-sdk-root .ff-btn-primary{background-color:var(--ff-primary-110);color:var(--ff-gray-white)}.fileflow-sdk-root .ff-btn-primary:hover:not(:disabled){background-color:var(--ff-primary-120);transform:translateY(-1px);box-shadow:0 4px 12px -2px #0003}.fileflow-sdk-root .ff-btn-primary:active:not(:disabled){background-color:var(--ff-primary-130);transform:translateY(0)}.fileflow-sdk-root .ff-btn-primary:focus-visible{box-shadow:0 0 0 3px var(--ff-focus-ring)}.fileflow-sdk-root .ff-btn-secondary{background-color:var(--ff-bg-primary);color:var(--ff-text-primary);border-color:var(--ff-border-default)}.fileflow-sdk-root .ff-btn-secondary:hover:not(:disabled){background-color:var(--ff-bg-secondary);border-color:var(--ff-border-dark)}.fileflow-sdk-root .ff-btn-secondary:active:not(:disabled){background-color:var(--ff-bg-tertiary)}.fileflow-sdk-root .ff-btn-secondary:focus-visible{box-shadow:0 0 0 3px var(--ff-focus-ring)}.fileflow-sdk-root .ff-btn-ghost{background-color:transparent;color:var(--ff-text-secondary)}.fileflow-sdk-root .ff-btn-ghost:hover:not(:disabled){background-color:var(--ff-bg-secondary);color:var(--ff-text-primary)}.fileflow-sdk-root .ff-btn-accent{background-color:var(--ff-accent-500);color:var(--ff-text-inverse)}.fileflow-sdk-root .ff-btn-accent:hover:not(:disabled){background-color:var(--ff-accent-600);transform:translateY(-1px);box-shadow:0 4px 12px -2px #a855f74d}.fileflow-sdk-root .ff-btn-accent:active:not(:disabled){background-color:var(--ff-accent-700);transform:translateY(0)}.fileflow-sdk-root .ff-btn-accent:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: var(--ff-focus-ring-accent)}.fileflow-sdk-root .ff-btn-danger{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.fileflow-sdk-root .ff-btn-danger:hover:not(:disabled){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1));transform:translateY(-1px)}.fileflow-sdk-root .ff-btn-link{background-color:transparent;color:var(--ff-primary-text);padding:.25rem .5rem}.fileflow-sdk-root .ff-btn-link:hover:not(:disabled){color:#4a2a10;text-decoration:underline}.fileflow-sdk-root .ff-btn-sm{border-radius:.375rem;padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem}.fileflow-sdk-root .ff-btn-lg{border-radius:1rem;padding:.75rem 1.5rem;font-size:1rem;line-height:1.5rem}.fileflow-sdk-root .ff-checkbox{height:1.25rem;width:1.25rem;cursor:pointer;border-radius:.5rem;border-width:2px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;border-color:var(--ff-border-default);background-color:var(--ff-bg-primary)}.fileflow-sdk-root .ff-checkbox:hover{border-color:var(--ff-primary-400)}.fileflow-sdk-root .ff-checkbox:checked{background-color:var(--ff-primary-500);border-color:var(--ff-primary-500);background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}.fileflow-sdk-root .ff-checkbox:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: var(--ff-focus-ring)}.fileflow-sdk-root .ff-radio{height:1.25rem;width:1.25rem;cursor:pointer;border-radius:9999px;border-width:2px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;border-color:var(--ff-border-default);background-color:var(--ff-bg-primary)}.fileflow-sdk-root .ff-radio:checked{border-color:var(--ff-primary-500);border-width:6px}.fileflow-sdk-root .ff-radio:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: var(--ff-focus-ring)}.fileflow-sdk-root .ff-toggle{position:relative;height:1.5rem;width:2.75rem;cursor:pointer;border-radius:9999px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;background-color:var(--ff-border-default)}.fileflow-sdk-root .ff-toggle:after{position:absolute;top:.125rem;left:.125rem;height:1.25rem;width:1.25rem;border-radius:9999px;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;content:"";background-color:var(--ff-bg-primary);box-shadow:0 1px 3px #0000001a}.fileflow-sdk-root .ff-toggle:checked{background-color:var(--ff-primary-500)}.fileflow-sdk-root .ff-toggle:checked:after{transform:translate(1.25rem)}.fileflow-sdk-root .ff-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;border-radius:1rem;border-width:2px;border-style:dashed;border-color:var(--ff-border-default);background-color:var(--ff-bg-secondary);cursor:pointer;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fileflow-sdk-root .ff-dropzone *{pointer-events:none}.fileflow-sdk-root .ff-dropzone input{pointer-events:auto}.fileflow-sdk-root .ff-dropzone:hover{border-color:var(--ff-primary-70);background-color:var(--ff-primary-10)}.fileflow-sdk-root .ff-dropzone-active{border-color:var(--ff-primary-90);background-color:var(--ff-primary-20);--tw-scale-x: 1.01;--tw-scale-y: 1.01;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.fileflow-sdk-root .ff-dropzone-icon-wrapper{margin-left:auto;margin-right:auto;margin-bottom:1rem;display:flex;height:3.5rem;width:3.5rem;align-items:center;justify-content:center;border-radius:1rem;background-color:var(--ff-primary-20);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fileflow-sdk-root .ff-dropzone-active .ff-dropzone-icon-wrapper{background-color:var(--ff-primary-30)}.fileflow-sdk-root .ff-dropzone-icon{height:1.75rem;width:1.75rem;color:var(--ff-primary-90);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fileflow-sdk-root .ff-dropzone-active .ff-dropzone-icon{color:var(--ff-primary-110)}.fileflow-sdk-root .ff-dropzone-text{margin-bottom:.25rem;font-size:1rem;line-height:1.5rem;font-weight:600;color:var(--ff-text-primary)}.fileflow-sdk-root .ff-dropzone-hint{margin-bottom:1rem;font-size:.875rem;line-height:1.25rem;color:var(--ff-text-muted)}.fileflow-sdk-root .ff-dropzone-formats{margin-top:.75rem;font-size:.75rem;line-height:1rem;color:var(--ff-text-muted)}.fileflow-sdk-root .ff-badge{display:inline-flex;align-items:center;border-radius:9999px;padding:.25rem .625rem;font-size:.75rem;line-height:1rem;font-weight:600}.fileflow-sdk-root .ff-badge-error{background-color:var(--ff-error-light);color:var(--ff-error)}.fileflow-sdk-root .ff-badge-warning{background-color:var(--ff-warning-light);color:var(--ff-warning)}.fileflow-sdk-root .ff-badge-success{background-color:var(--ff-success-light);color:var(--ff-success)}.fileflow-sdk-root .ff-badge-info{background-color:var(--ff-primary-20);color:var(--ff-primary-90)}.fileflow-sdk-root .ff-badge-neutral{background-color:var(--ff-bg-tertiary);color:var(--ff-text-secondary)}.fileflow-sdk-root .ff-badge-primary{background-color:var(--ff-primary-100);color:var(--ff-primary-700)}.fileflow-sdk-root .ff-badge-accent{background-color:var(--ff-accent-100);color:var(--ff-accent-700)}.fileflow-sdk-root .ff-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background-color:#1c191780;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:1rem;animation:ff-fade-in .2s ease-out;overflow-y:auto}@keyframes ff-fade-in{0%{opacity:0}to{opacity:1}}.fileflow-sdk-root .ff-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background-color:#00000080;display:flex;align-items:center;justify-content:center;padding:1rem}.fileflow-sdk-root .ff-modal{background-color:var(--ff-bg-primary);border-radius:1.25rem;width:100%;max-width:56rem;display:flex;flex-direction:column;max-height:min(90vh,calc(100vh - 2rem));box-shadow:0 25px 50px -12px #00000040;animation:ff-scale-in .2s ease-out;margin-top:auto;margin-bottom:auto}.fileflow-sdk-root .ff-embed{background-color:var(--ff-bg-primary);display:flex;width:100%;flex-direction:column;border-radius:1rem;border-width:1px;border-color:var(--ff-border-light)}.fileflow-sdk-root .ff-embed .ff-modal-header{border-top-left-radius:1rem;border-top-right-radius:1rem}.fileflow-sdk-root .ff-embed .ff-modal-footer{border-bottom-right-radius:1rem;border-bottom-left-radius:1rem}@keyframes ff-scale-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.fileflow-sdk-root .ff-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid var(--ff-border-light);flex-shrink:0;border-top-left-radius:1.25rem;border-top-right-radius:1.25rem}.fileflow-sdk-root .ff-modal-header-left{display:flex;align-items:center;gap:1rem}.fileflow-sdk-root .ff-modal-icon{display:flex;height:2.5rem;width:2.5rem;align-items:center;justify-content:center;border-radius:.75rem;background-color:var(--ff-primary-20)}.fileflow-sdk-root .ff-modal-icon svg{height:1.25rem;width:1.25rem;color:var(--ff-primary-90)}.fileflow-sdk-root .ff-modal-title{font-size:1.125rem;line-height:1.75rem;font-weight:600;color:var(--ff-text-primary)}.fileflow-sdk-root .ff-modal-close{border-radius:.75rem;padding:.5rem;color:var(--ff-text-muted);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fileflow-sdk-root .ff-modal-close:hover{color:var(--ff-text-primary);background-color:var(--ff-bg-tertiary)}.fileflow-sdk-root .ff-modal-body{flex:1 1 0%;overflow-y:auto;padding:1.5rem}.fileflow-sdk-root .ff-modal-footer{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;background-color:var(--ff-bg-secondary);border-top:1px solid var(--ff-border-light);flex-shrink:0;border-bottom-right-radius:1.25rem;border-bottom-left-radius:1.25rem}.fileflow-sdk-root .ff-steps{display:flex;align-items:center;gap:.5rem}.fileflow-sdk-root .ff-step{display:flex;align-items:center;justify-content:center;height:2rem;width:2rem;border-radius:9999px;font-size:.875rem;line-height:1.25rem;font-weight:600;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fileflow-sdk-root .ff-step-pending{background-color:var(--ff-bg-tertiary);color:var(--ff-text-muted)}.fileflow-sdk-root .ff-step-active{background-color:var(--ff-primary-50);color:var(--ff-primary-90);box-shadow:0 0 0 4px var(--ff-primary-20)}.fileflow-sdk-root .ff-step-complete{background-color:var(--ff-success);color:#fff}.fileflow-sdk-root .ff-step-connector{height:.125rem;width:2rem;background-color:var(--ff-border-default);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fileflow-sdk-root .ff-step-connector-complete{background-color:var(--ff-success)}.fileflow-sdk-root .ff-progress{height:.5rem;overflow:hidden;border-radius:9999px;background-color:var(--ff-bg-tertiary)}.fileflow-sdk-root .ff-progress-bar{height:100%;border-radius:9999px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;transition-timing-function:cubic-bezier(0,0,.2,1);background-color:var(--ff-primary-500)}.fileflow-sdk-root .ff-progress-bar-animated{background:linear-gradient(90deg,var(--ff-primary-400) 0%,var(--ff-primary-500) 50%,var(--ff-primary-400) 100%);background-size:200% 100%;animation:shimmer 2s linear infinite}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.fileflow-sdk-root .ff-tooltip{position:absolute;z-index:50;border-radius:.75rem;padding:.5rem .75rem;font-size:.75rem;line-height:1rem;font-weight:500;visibility:hidden;opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;background-color:var(--ff-navy-950);color:var(--ff-text-inverse);box-shadow:0 4px 12px -2px #0003}.fileflow-sdk-root .ff-tooltip-visible{visibility:visible;opacity:1}.fileflow-sdk-root .ff-spinner{height:1.25rem;width:1.25rem}.fileflow-sdk-root .ff-spinner{animation:ff-spin 1s linear infinite;border-radius:9999px;border-width:2px;border-color:var(--ff-border-light);border-top-color:var(--ff-primary-500)}.fileflow-sdk-root .ff-spinner-lg{height:2rem;width:2rem;border-width:3px}.fileflow-sdk-root .ff-document-preview{position:relative;overflow:hidden;border-radius:1rem;background-color:var(--ff-bg-tertiary)}.fileflow-sdk-root .ff-document-preview img{height:auto;width:100%;-o-object-fit:contain;object-fit:contain}.fileflow-sdk-root .ff-mapping-header{margin-bottom:1rem;display:flex;align-items:center;justify-content:space-between}.fileflow-sdk-root .ff-mapping-title{font-size:1.125rem;line-height:1.75rem;font-weight:600;color:var(--ff-text-primary)}.fileflow-sdk-root .ff-mapping-subtitle{font-size:.875rem;line-height:1.25rem;color:var(--ff-text-muted)}.fileflow-sdk-root .ff-mapping-legend{display:flex;align-items:center;gap:1rem;font-size:.875rem;line-height:1.25rem}.fileflow-sdk-root .ff-mapping-legend-item{display:flex;align-items:center;gap:.375rem}.fileflow-sdk-root .ff-mapping-legend-dot{height:.5rem;width:.5rem;border-radius:9999px}.fileflow-sdk-root .ff-mapping-row{display:flex;align-items:center;gap:1rem;border-radius:1rem;border-width:1px;padding:1rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background-color:var(--ff-bg-primary);border-color:var(--ff-border-light)}.fileflow-sdk-root .ff-mapping-row:hover{border-color:var(--ff-border-default);background-color:var(--ff-bg-secondary)}.fileflow-sdk-root .ff-mapping-row-success{border-color:var(--ff-success-light);background-color:#e7f5e480}.fileflow-sdk-root .ff-mapping-row-warning{border-color:var(--ff-warning-light);background-color:#ffe6c180}.fileflow-sdk-root .ff-mapping-source{flex:1 1 0%;border-radius:.75rem;padding:.625rem 1rem;font-family:JetBrains Mono,SF Mono,Monaco,monospace;font-size:.875rem;line-height:1.25rem;background-color:var(--ff-bg-tertiary);color:var(--ff-text-secondary)}.fileflow-sdk-root .ff-mapping-arrow{flex-shrink:0;color:var(--ff-text-muted)}.fileflow-sdk-root .ff-mapping-target{flex:1 1 0%}.fileflow-sdk-root .ff-mapping-status{display:flex;width:2rem;justify-content:center}.fileflow-sdk-root .ff-confidence{display:inline-flex;align-items:center;gap:.375rem;font-size:.75rem;line-height:1rem;font-weight:500}.fileflow-sdk-root .ff-confidence-high{color:var(--ff-success)}.fileflow-sdk-root .ff-confidence-medium{color:var(--ff-warning)}.fileflow-sdk-root .ff-confidence-low{color:var(--ff-error)}.fileflow-sdk-root .ff-confidence-bar{height:.375rem;border-radius:9999px;background-color:var(--ff-bg-tertiary)}.fileflow-sdk-root .ff-confidence-bar-fill{height:100%;border-radius:9999px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.fileflow-sdk-root .ff-validation-summary{border-radius:1rem;border-width:1px;padding:1rem}.fileflow-sdk-root .ff-validation-summary-error{background-color:var(--ff-error-light);border-color:var(--ff-error)}.fileflow-sdk-root .ff-validation-summary-warning{background-color:var(--ff-warning-light);border-color:var(--ff-warning)}.fileflow-sdk-root .ff-validation-summary-success{background-color:var(--ff-success-light);border-color:var(--ff-success)}.fileflow-sdk-root .ff-card{border-radius:1rem;border-width:1px;background-color:var(--ff-bg-primary);border-color:var(--ff-border-light);box-shadow:0 2px 8px -2px #0000000a}.fileflow-sdk-root .ff-card-hover{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.fileflow-sdk-root .ff-card-hover:hover{border-color:var(--ff-border-default);box-shadow:0 8px 24px -4px #00000014;transform:translateY(-2px)}.fileflow-sdk-root .ff-status{display:inline-flex;align-items:center;gap:.5rem}.fileflow-sdk-root .ff-status-dot{height:.5rem;width:.5rem;border-radius:9999px}.fileflow-sdk-root .ff-status-dot-success{background-color:var(--ff-success)}.fileflow-sdk-root .ff-status-dot-warning{background-color:var(--ff-warning)}.fileflow-sdk-root .ff-status-dot-error{background-color:var(--ff-error)}.fileflow-sdk-root .ff-status-dot-pending{background-color:var(--ff-text-muted)}.fileflow-sdk-root .ff-status-dot-processing{animation:ff-pulse 2s cubic-bezier(.4,0,.6,1) infinite;background-color:var(--ff-primary-90)}.fileflow-sdk-root .ff-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:3rem;padding-bottom:3rem;text-align:center}.fileflow-sdk-root .ff-empty-state-icon{margin-bottom:1rem;height:4rem;width:4rem;color:var(--ff-border-default)}.fileflow-sdk-root .ff-empty-state-title{margin-bottom:.5rem;font-size:1.125rem;line-height:1.75rem;font-weight:600;color:var(--ff-text-primary)}.fileflow-sdk-root .ff-empty-state-description{max-width:24rem;font-size:.875rem;line-height:1.25rem;color:var(--ff-text-muted)}@keyframes ff-pulse{50%{opacity:.5}}.fileflow-sdk-root .ff-skeleton{animation:ff-pulse 2s cubic-bezier(.4,0,.6,1) infinite;border-radius:.5rem;background-color:var(--ff-bg-tertiary)}.fileflow-sdk-root .ff-skeleton-text{height:1rem;border-radius:.5rem}.fileflow-sdk-root .ff-skeleton-title{height:1.5rem;width:75%;border-radius:.5rem}.fileflow-sdk-root .ff-skeleton-avatar{height:2.5rem;width:2.5rem;border-radius:9999px}.fileflow-sdk-root .ff-pagination{display:flex;align-items:center;gap:.25rem}.fileflow-sdk-root .ff-pagination-btn{display:flex;height:2.25rem;width:2.25rem;align-items:center;justify-content:center;border-radius:.75rem;font-size:.875rem;line-height:1.25rem;font-weight:500;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;color:var(--ff-text-secondary)}.fileflow-sdk-root .ff-pagination-btn:hover{background-color:var(--ff-bg-secondary);color:var(--ff-text-primary)}.fileflow-sdk-root .ff-pagination-btn-active{background-color:var(--ff-primary-500);color:var(--ff-text-inverse)}.fileflow-sdk-root .ff-pagination-btn-active:hover{background-color:var(--ff-primary-600);color:var(--ff-text-inverse)}.fileflow-sdk-root .ff-selector-group{display:inline-flex;flex-wrap:wrap;gap:.5rem}.fileflow-sdk-root .ff-selector-item{display:inline-flex;align-items:center;gap:.375rem;border-radius:9999px;padding:.375rem .75rem;cursor:pointer;font-size:.875rem;line-height:1.25rem;font-weight:500;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background-color:var(--ff-bg-secondary);color:var(--ff-text-secondary);border:1px solid var(--ff-border-light)}.fileflow-sdk-root .ff-selector-item:hover{background-color:var(--ff-bg-tertiary);border-color:var(--ff-border-default)}.fileflow-sdk-root .ff-selector-item-active{background-color:var(--ff-primary-500);color:var(--ff-text-inverse);border-color:var(--ff-primary-500)}.fileflow-sdk-root .ff-selector-item-active:hover{background-color:var(--ff-primary-600);border-color:var(--ff-primary-600)}.fileflow-sdk-root .ff-fade-in{animation:fadeIn .3s ease-out}.fileflow-sdk-root .ff-slide-up{animation:slideUp .3s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.fileflow-sdk-root .ff-theme-accent{--ff-primary-50: var(--ff-accent-50);--ff-primary-100: var(--ff-accent-100);--ff-primary-200: var(--ff-accent-200);--ff-primary-300: var(--ff-accent-300);--ff-primary-400: var(--ff-accent-400);--ff-primary-500: var(--ff-accent-500);--ff-primary-600: var(--ff-accent-600);--ff-primary-700: var(--ff-accent-700);--ff-primary-800: var(--ff-accent-800);--ff-primary-900: var(--ff-accent-900);--ff-focus-ring: var(--ff-focus-ring-accent)}.ff-relative{position:relative}.ff-bottom-full{bottom:100%}.ff-left-1\\/2{left:50%}.ff-mx-auto{margin-left:auto;margin-right:auto}.ff-mb-2{margin-bottom:.5rem}.ff-mb-4{margin-bottom:1rem}.ff-mb-6{margin-bottom:1.5rem}.ff-ml-4{margin-left:1rem}.ff-mr-1{margin-right:.25rem}.ff-mr-4{margin-right:1rem}.ff-mt-0\\.5{margin-top:.125rem}.ff-mt-1{margin-top:.25rem}.ff-mt-2{margin-top:.5rem}.ff-mt-3{margin-top:.75rem}.ff-block{display:block}.ff-inline-block{display:inline-block}.ff-flex{display:flex}.ff-table{display:table}.ff-grid{display:grid}.ff-aspect-\\[3\\/4\\]{aspect-ratio:3/4}.ff-h-10{height:2.5rem}.ff-h-12{height:3rem}.ff-h-16{height:4rem}.ff-h-3{height:.75rem}.ff-h-4{height:1rem}.ff-h-5{height:1.25rem}.ff-h-6{height:1.5rem}.ff-h-8{height:2rem}.ff-h-full{height:100%}.ff-max-h-96{max-height:24rem}.ff-max-h-\\[500px\\]{max-height:500px}.ff-w-10{width:2.5rem}.ff-w-12{width:3rem}.ff-w-16{width:4rem}.ff-w-3{width:.75rem}.ff-w-4{width:1rem}.ff-w-48{width:12rem}.ff-w-5{width:1.25rem}.ff-w-6{width:1.5rem}.ff-w-8{width:2rem}.ff-w-full{width:100%}.ff-min-w-0{min-width:0px}.ff-min-w-\\[160px\\]{min-width:160px}.ff-min-w-\\[280px\\]{min-width:280px}.ff-max-w-lg{max-width:32rem}.ff-max-w-md{max-width:28rem}.ff-max-w-xl{max-width:36rem}.ff-max-w-xs{max-width:20rem}.ff-flex-1{flex:1 1 0%}.ff-flex-shrink-0{flex-shrink:0}.ff--translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ff-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes ff-spin{to{transform:rotate(360deg)}}.ff-animate-spin{animation:ff-spin 1s linear infinite}.ff-cursor-not-allowed{cursor:not-allowed}.ff-cursor-pointer{cursor:pointer}.ff-cursor-wait{cursor:wait}.ff-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ff-list-inside{list-style-position:inside}.ff-list-disc{list-style-type:disc}.ff-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.ff-flex-col{flex-direction:column}.ff-flex-wrap{flex-wrap:wrap}.ff-items-start{align-items:flex-start}.ff-items-center{align-items:center}.ff-justify-center{justify-content:center}.ff-justify-between{justify-content:space-between}.ff-gap-1{gap:.25rem}.ff-gap-2{gap:.5rem}.ff-gap-3{gap:.75rem}.ff-gap-4{gap:1rem}.ff-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.ff-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.ff-space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.ff-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ff-space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.ff-overflow-hidden{overflow:hidden}.ff-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ff-whitespace-nowrap{white-space:nowrap}.ff-rounded{border-radius:.5rem}.ff-rounded-full{border-radius:9999px}.ff-rounded-lg{border-radius:.75rem}.ff-rounded-xl{border-radius:1rem}.ff-border{border-width:1px}.ff-border-2{border-width:2px}.ff-border-transparent{border-color:transparent}.ff-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.ff-object-contain{-o-object-fit:contain;object-fit:contain}.ff-p-1{padding:.25rem}.ff-p-1\\.5{padding:.375rem}.ff-p-2{padding:.5rem}.ff-p-3{padding:.75rem}.ff-p-4{padding:1rem}.ff-p-6{padding:1.5rem}.ff-px-2{padding-left:.5rem;padding-right:.5rem}.ff-px-3{padding-left:.75rem;padding-right:.75rem}.ff-px-4{padding-left:1rem;padding-right:1rem}.ff-py-1{padding-top:.25rem;padding-bottom:.25rem}.ff-py-12{padding-top:3rem;padding-bottom:3rem}.ff-py-2{padding-top:.5rem;padding-bottom:.5rem}.ff-py-3{padding-top:.75rem;padding-bottom:.75rem}.ff-py-4{padding-top:1rem;padding-bottom:1rem}.ff-py-8{padding-top:2rem;padding-bottom:2rem}.ff-text-left{text-align:left}.ff-text-center{text-align:center}.ff-text-right{text-align:right}.ff-font-mono{font-family:JetBrains Mono,SF Mono,Monaco,monospace}.ff-text-2xl{font-size:1.5rem;line-height:2rem}.ff-text-lg{font-size:1.125rem;line-height:1.75rem}.ff-text-sm{font-size:.875rem;line-height:1.25rem}.ff-text-xl{font-size:1.25rem;line-height:1.75rem}.ff-text-xs{font-size:.75rem;line-height:1rem}.ff-font-bold{font-weight:700}.ff-font-medium{font-weight:500}.ff-font-semibold{font-weight:600}.ff-opacity-0{opacity:0}.ff-opacity-50{opacity:.5}.ff-shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ff-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ff-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ff-transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ff-duration-150{transition-duration:.15s}.hover\\:ff-border-transparent:hover{border-color:transparent}.ff-group:hover .group-hover\\:ff-opacity-100{opacity:1}`, fn = "fileflow-sdk-styles";
|
|
5
5
|
let mr = !1;
|
|
6
6
|
function Dr() {
|
|
7
7
|
if (mr || typeof document > "u") return;
|
|
@@ -23,23 +23,23 @@ function Oi(t) {
|
|
|
23
23
|
const e = {};
|
|
24
24
|
return t.primaryColor && (e["--ff-primary-110"] = t.primaryColor), t.primaryHoverColor && (e["--ff-primary-120"] = t.primaryHoverColor), t.primaryTextColor && (e["--ff-gray-white"] = t.primaryTextColor), t.successColor && (e["--ff-success"] = t.successColor), t.errorColor && (e["--ff-error"] = t.errorColor), t.warningColor && (e["--ff-warning"] = t.warningColor), t.backgroundColor && (e["--ff-bg-primary"] = t.backgroundColor), t.textColor && (e["--ff-text-primary"] = t.textColor), t.textMutedColor && (e["--ff-text-muted"] = t.textMutedColor), t.borderColor && (e["--ff-border-default"] = t.borderColor), Object.keys(e).length > 0 ? e : void 0;
|
|
25
25
|
}
|
|
26
|
-
const
|
|
26
|
+
const Bc = ({
|
|
27
27
|
children: t,
|
|
28
28
|
className: e = "",
|
|
29
29
|
theme: r,
|
|
30
30
|
useShadowDom: n = !1
|
|
31
31
|
}) => {
|
|
32
|
-
const a = nt(null), i = nt(null), [o, s] = pn(!1), [d,
|
|
32
|
+
const a = nt(null), i = nt(null), [o, s] = pn(!1), [d, l] = pn(!1), c = _e(() => {
|
|
33
33
|
if (!(!n || !a.current || i.current))
|
|
34
34
|
try {
|
|
35
|
-
i.current = a.current.attachShadow({ mode: "open" }), Ti(i.current),
|
|
35
|
+
i.current = a.current.attachShadow({ mode: "open" }), Ti(i.current), l(!0);
|
|
36
36
|
} catch (b) {
|
|
37
|
-
console.error("[FileFlow SDK] Failed to create Shadow DOM:", b),
|
|
37
|
+
console.error("[FileFlow SDK] Failed to create Shadow DOM:", b), l(!1);
|
|
38
38
|
}
|
|
39
39
|
}, [n]);
|
|
40
40
|
ht(() => {
|
|
41
|
-
n ?
|
|
42
|
-
}, [n,
|
|
41
|
+
n ? c() : Dr(), s(!0);
|
|
42
|
+
}, [n, c]), !o && typeof window < "u" && (n || Dr());
|
|
43
43
|
const u = Oi(r);
|
|
44
44
|
return n ? /* @__PURE__ */ ur(
|
|
45
45
|
"div",
|
|
@@ -70,7 +70,7 @@ const Bl = ({
|
|
|
70
70
|
}
|
|
71
71
|
);
|
|
72
72
|
};
|
|
73
|
-
function
|
|
73
|
+
function Uc() {
|
|
74
74
|
ht(() => {
|
|
75
75
|
Dr();
|
|
76
76
|
}, []);
|
|
@@ -83,7 +83,7 @@ function va(t, e) {
|
|
|
83
83
|
const { toString: Ci } = Object.prototype, { getPrototypeOf: Xr } = Object, { iterator: Qt, toStringTag: ya } = Symbol, er = /* @__PURE__ */ ((t) => (e) => {
|
|
84
84
|
const r = Ci.call(e);
|
|
85
85
|
return t[r] || (t[r] = r.slice(8, -1).toLowerCase());
|
|
86
|
-
})(/* @__PURE__ */ Object.create(null)), Ce = (t) => (t = t.toLowerCase(), (e) => er(e) === t), tr = (t) => (e) => typeof e === t, { isArray:
|
|
86
|
+
})(/* @__PURE__ */ Object.create(null)), Ce = (t) => (t = t.toLowerCase(), (e) => er(e) === t), tr = (t) => (e) => typeof e === t, { isArray: ct } = Array, at = tr("undefined");
|
|
87
87
|
function bt(t) {
|
|
88
88
|
return t !== null && !at(t) && t.constructor !== null && !at(t.constructor) && ye(t.constructor.isBuffer) && t.constructor.isBuffer(t);
|
|
89
89
|
}
|
|
@@ -114,7 +114,7 @@ function wt(t, e, { allOwnKeys: r = !1 } = {}) {
|
|
|
114
114
|
if (t === null || typeof t > "u")
|
|
115
115
|
return;
|
|
116
116
|
let n, a;
|
|
117
|
-
if (typeof t != "object" && (t = [t]),
|
|
117
|
+
if (typeof t != "object" && (t = [t]), ct(t))
|
|
118
118
|
for (n = 0, a = t.length; n < a; n++)
|
|
119
119
|
e.call(null, t[n], n, t);
|
|
120
120
|
else {
|
|
@@ -141,7 +141,7 @@ const Ue = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typ
|
|
|
141
141
|
function Pr() {
|
|
142
142
|
const { caseless: t, skipUndefined: e } = ka(this) && this || {}, r = {}, n = (a, i) => {
|
|
143
143
|
const o = t && wa(r, i) || i;
|
|
144
|
-
Pt(r[o]) && Pt(a) ? r[o] = Pr(r[o], a) : Pt(a) ? r[o] = Pr({}, a) :
|
|
144
|
+
Pt(r[o]) && Pt(a) ? r[o] = Pr(r[o], a) : Pt(a) ? r[o] = Pr({}, a) : ct(a) ? r[o] = a.slice() : (!e || !at(a)) && (r[o] = a);
|
|
145
145
|
};
|
|
146
146
|
for (let a = 0, i = arguments.length; a < i; a++)
|
|
147
147
|
arguments[a] && wt(arguments[a], n);
|
|
@@ -169,7 +169,7 @@ const Vi = (t, e, r, { allOwnKeys: n } = {}) => (wt(e, (a, i) => {
|
|
|
169
169
|
return n !== -1 && n === r;
|
|
170
170
|
}, Ji = (t) => {
|
|
171
171
|
if (!t) return null;
|
|
172
|
-
if (
|
|
172
|
+
if (ct(t)) return t;
|
|
173
173
|
let e = t.length;
|
|
174
174
|
if (!xa(e)) return null;
|
|
175
175
|
const r = new Array(e);
|
|
@@ -221,13 +221,13 @@ const Vi = (t, e, r, { allOwnKeys: n } = {}) => (wt(e, (a, i) => {
|
|
|
221
221
|
r[i] = !0;
|
|
222
222
|
});
|
|
223
223
|
};
|
|
224
|
-
return
|
|
224
|
+
return ct(t) ? n(t) : n(String(t).split(e)), r;
|
|
225
225
|
}, io = () => {
|
|
226
226
|
}, oo = (t, e) => t != null && Number.isFinite(t = +t) ? t : e;
|
|
227
227
|
function so(t) {
|
|
228
228
|
return !!(t && ye(t.append) && t[ya] === "FormData" && t[Qt]);
|
|
229
229
|
}
|
|
230
|
-
const
|
|
230
|
+
const lo = (t) => {
|
|
231
231
|
const e = new Array(10), r = (n, a) => {
|
|
232
232
|
if (xt(n)) {
|
|
233
233
|
if (e.indexOf(n) >= 0)
|
|
@@ -236,7 +236,7 @@ const co = (t) => {
|
|
|
236
236
|
return n;
|
|
237
237
|
if (!("toJSON" in n)) {
|
|
238
238
|
e[a] = n;
|
|
239
|
-
const i =
|
|
239
|
+
const i = ct(n) ? [] : {};
|
|
240
240
|
return wt(n, (o, s) => {
|
|
241
241
|
const d = r(o, a + 1);
|
|
242
242
|
!at(d) && (i[s] = d);
|
|
@@ -246,7 +246,7 @@ const co = (t) => {
|
|
|
246
246
|
return n;
|
|
247
247
|
};
|
|
248
248
|
return r(t, 0);
|
|
249
|
-
},
|
|
249
|
+
}, co = Ce("AsyncFunction"), po = (t) => t && (xt(t) || ye(t)) && ye(t.then) && ye(t.catch), Sa = ((t, e) => t ? setImmediate : e ? ((r, n) => (Ue.addEventListener("message", ({ source: a, data: i }) => {
|
|
250
250
|
a === Ue && i === r && n.length && n.shift()();
|
|
251
251
|
}, !1), (a) => {
|
|
252
252
|
n.push(a), Ue.postMessage(r, "*");
|
|
@@ -254,7 +254,7 @@ const co = (t) => {
|
|
|
254
254
|
typeof setImmediate == "function",
|
|
255
255
|
ye(Ue.postMessage)
|
|
256
256
|
), fo = typeof queueMicrotask < "u" ? queueMicrotask.bind(Ue) : typeof process < "u" && process.nextTick || Sa, uo = (t) => t != null && ye(t[Qt]), p = {
|
|
257
|
-
isArray:
|
|
257
|
+
isArray: ct,
|
|
258
258
|
isArrayBuffer: ba,
|
|
259
259
|
isBuffer: bt,
|
|
260
260
|
isFormData: Li,
|
|
@@ -306,8 +306,8 @@ const co = (t) => {
|
|
|
306
306
|
global: Ue,
|
|
307
307
|
isContextDefined: ka,
|
|
308
308
|
isSpecCompliantForm: so,
|
|
309
|
-
toJSONObject:
|
|
310
|
-
isAsyncFn:
|
|
309
|
+
toJSONObject: lo,
|
|
310
|
+
isAsyncFn: co,
|
|
311
311
|
isThenable: po,
|
|
312
312
|
setImmediate: Sa,
|
|
313
313
|
asap: fo,
|
|
@@ -359,9 +359,9 @@ Object.defineProperties(L, Ta);
|
|
|
359
359
|
Object.defineProperty(Ea, "isAxiosError", { value: !0 });
|
|
360
360
|
L.from = (t, e, r, n, a, i) => {
|
|
361
361
|
const o = Object.create(Ea);
|
|
362
|
-
p.toFlatObject(t, o, function(
|
|
363
|
-
return
|
|
364
|
-
}, (
|
|
362
|
+
p.toFlatObject(t, o, function(c) {
|
|
363
|
+
return c !== Error.prototype;
|
|
364
|
+
}, (l) => l !== "isAxiosError");
|
|
365
365
|
const s = t && t.message ? t.message : "Error", d = e == null && t ? t.code : e;
|
|
366
366
|
return L.call(o, s, d, r, n, a), t && o.cause == null && Object.defineProperty(o, "cause", { value: t, configurable: !0 }), o.name = t && t.name || "Error", i && Object.assign(o, i), o;
|
|
367
367
|
};
|
|
@@ -393,10 +393,10 @@ function rr(t, e, r) {
|
|
|
393
393
|
}, !1, function(m, h) {
|
|
394
394
|
return !p.isUndefined(h[m]);
|
|
395
395
|
});
|
|
396
|
-
const n = r.metaTokens, a = r.visitor ||
|
|
396
|
+
const n = r.metaTokens, a = r.visitor || c, i = r.dots, o = r.indexes, d = (r.Blob || typeof Blob < "u" && Blob) && p.isSpecCompliantForm(e);
|
|
397
397
|
if (!p.isFunction(a))
|
|
398
398
|
throw new TypeError("visitor must be a function");
|
|
399
|
-
function
|
|
399
|
+
function l(f) {
|
|
400
400
|
if (f === null) return "";
|
|
401
401
|
if (p.isDate(f))
|
|
402
402
|
return f.toISOString();
|
|
@@ -406,7 +406,7 @@ function rr(t, e, r) {
|
|
|
406
406
|
throw new L("Blob is not supported. Use a Buffer instead.");
|
|
407
407
|
return p.isArrayBuffer(f) || p.isTypedArray(f) ? d && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function c(f, m, h) {
|
|
410
410
|
let A = f;
|
|
411
411
|
if (f && !h && typeof f == "object") {
|
|
412
412
|
if (p.endsWith(m, "{}"))
|
|
@@ -416,15 +416,15 @@ function rr(t, e, r) {
|
|
|
416
416
|
!(p.isUndefined(R) || R === null) && e.append(
|
|
417
417
|
// eslint-disable-next-line no-nested-ternary
|
|
418
418
|
o === !0 ? mn([m], N, i) : o === null ? m : m + "[]",
|
|
419
|
-
|
|
419
|
+
l(R)
|
|
420
420
|
);
|
|
421
421
|
}), !1;
|
|
422
422
|
}
|
|
423
|
-
return Ir(f) ? !0 : (e.append(mn(h, m, i),
|
|
423
|
+
return Ir(f) ? !0 : (e.append(mn(h, m, i), l(f)), !1);
|
|
424
424
|
}
|
|
425
425
|
const u = [], b = Object.assign(go, {
|
|
426
|
-
defaultVisitor:
|
|
427
|
-
convertValue:
|
|
426
|
+
defaultVisitor: c,
|
|
427
|
+
convertValue: l,
|
|
428
428
|
isVisitable: Ir
|
|
429
429
|
});
|
|
430
430
|
function x(f, m) {
|
|
@@ -755,24 +755,24 @@ let be = class {
|
|
|
755
755
|
}
|
|
756
756
|
set(e, r, n) {
|
|
757
757
|
const a = this;
|
|
758
|
-
function i(s, d,
|
|
759
|
-
const
|
|
760
|
-
if (!
|
|
758
|
+
function i(s, d, l) {
|
|
759
|
+
const c = ut(d);
|
|
760
|
+
if (!c)
|
|
761
761
|
throw new Error("header name must be a non-empty string");
|
|
762
|
-
const u = p.findKey(a,
|
|
763
|
-
(!u || a[u] === void 0 ||
|
|
762
|
+
const u = p.findKey(a, c);
|
|
763
|
+
(!u || a[u] === void 0 || l === !0 || l === void 0 && a[u] !== !1) && (a[u || d] = It(s));
|
|
764
764
|
}
|
|
765
|
-
const o = (s, d) => p.forEach(s, (
|
|
765
|
+
const o = (s, d) => p.forEach(s, (l, c) => i(l, c, d));
|
|
766
766
|
if (p.isPlainObject(e) || e instanceof this.constructor)
|
|
767
767
|
o(e, r);
|
|
768
768
|
else if (p.isString(e) && (e = e.trim()) && !Po(e))
|
|
769
769
|
o(jo(e), r);
|
|
770
770
|
else if (p.isObject(e) && p.isIterable(e)) {
|
|
771
|
-
let s = {}, d,
|
|
772
|
-
for (const
|
|
773
|
-
if (!p.isArray(
|
|
771
|
+
let s = {}, d, l;
|
|
772
|
+
for (const c of e) {
|
|
773
|
+
if (!p.isArray(c))
|
|
774
774
|
throw TypeError("Object iterator must return a key-value pair");
|
|
775
|
-
s[
|
|
775
|
+
s[l = c[0]] = (d = s[l]) ? p.isArray(d) ? [...d, c[1]] : [d, c[1]] : c[1];
|
|
776
776
|
}
|
|
777
777
|
o(s, r);
|
|
778
778
|
} else
|
|
@@ -921,25 +921,25 @@ function zo(t, e) {
|
|
|
921
921
|
const r = new Array(t), n = new Array(t);
|
|
922
922
|
let a = 0, i = 0, o;
|
|
923
923
|
return e = e !== void 0 ? e : 1e3, function(d) {
|
|
924
|
-
const
|
|
925
|
-
o || (o =
|
|
924
|
+
const l = Date.now(), c = n[i];
|
|
925
|
+
o || (o = l), r[a] = d, n[a] = l;
|
|
926
926
|
let u = i, b = 0;
|
|
927
927
|
for (; u !== a; )
|
|
928
928
|
b += r[u++], u = u % t;
|
|
929
|
-
if (a = (a + 1) % t, a === i && (i = (i + 1) % t),
|
|
929
|
+
if (a = (a + 1) % t, a === i && (i = (i + 1) % t), l - o < e)
|
|
930
930
|
return;
|
|
931
|
-
const x =
|
|
931
|
+
const x = c && l - c;
|
|
932
932
|
return x ? Math.round(b * 1e3 / x) : void 0;
|
|
933
933
|
};
|
|
934
934
|
}
|
|
935
935
|
function Lo(t, e) {
|
|
936
936
|
let r = 0, n = 1e3 / e, a, i;
|
|
937
|
-
const o = (
|
|
938
|
-
r =
|
|
937
|
+
const o = (l, c = Date.now()) => {
|
|
938
|
+
r = c, a = null, i && (clearTimeout(i), i = null), t(...l);
|
|
939
939
|
};
|
|
940
|
-
return [(...
|
|
941
|
-
const
|
|
942
|
-
u >= n ? o(
|
|
940
|
+
return [(...l) => {
|
|
941
|
+
const c = Date.now(), u = c - r;
|
|
942
|
+
u >= n ? o(l, c) : (a = l, i || (i = setTimeout(() => {
|
|
943
943
|
i = null, o(a);
|
|
944
944
|
}, n - u)));
|
|
945
945
|
}, () => a && o(a)];
|
|
@@ -948,15 +948,15 @@ const Ft = (t, e, r = 3) => {
|
|
|
948
948
|
let n = 0;
|
|
949
949
|
const a = zo(50, 250);
|
|
950
950
|
return Lo((i) => {
|
|
951
|
-
const o = i.loaded, s = i.lengthComputable ? i.total : void 0, d = o - n,
|
|
951
|
+
const o = i.loaded, s = i.lengthComputable ? i.total : void 0, d = o - n, l = a(d), c = o <= s;
|
|
952
952
|
n = o;
|
|
953
953
|
const u = {
|
|
954
954
|
loaded: o,
|
|
955
955
|
total: s,
|
|
956
956
|
progress: s ? o / s : void 0,
|
|
957
957
|
bytes: d,
|
|
958
|
-
rate:
|
|
959
|
-
estimated:
|
|
958
|
+
rate: l || void 0,
|
|
959
|
+
estimated: l && s && c ? (s - o) / l : void 0,
|
|
960
960
|
event: i,
|
|
961
961
|
lengthComputable: s != null,
|
|
962
962
|
[e ? "download" : "upload"]: !0
|
|
@@ -1016,30 +1016,30 @@ const xn = (t) => t instanceof be ? { ...t } : t;
|
|
|
1016
1016
|
function Ve(t, e) {
|
|
1017
1017
|
e = e || {};
|
|
1018
1018
|
const r = {};
|
|
1019
|
-
function n(
|
|
1020
|
-
return p.isPlainObject(
|
|
1019
|
+
function n(l, c, u, b) {
|
|
1020
|
+
return p.isPlainObject(l) && p.isPlainObject(c) ? p.merge.call({ caseless: b }, l, c) : p.isPlainObject(c) ? p.merge({}, c) : p.isArray(c) ? c.slice() : c;
|
|
1021
1021
|
}
|
|
1022
|
-
function a(
|
|
1023
|
-
if (p.isUndefined(
|
|
1024
|
-
if (!p.isUndefined(
|
|
1025
|
-
return n(void 0,
|
|
1026
|
-
} else return n(
|
|
1022
|
+
function a(l, c, u, b) {
|
|
1023
|
+
if (p.isUndefined(c)) {
|
|
1024
|
+
if (!p.isUndefined(l))
|
|
1025
|
+
return n(void 0, l, u, b);
|
|
1026
|
+
} else return n(l, c, u, b);
|
|
1027
1027
|
}
|
|
1028
|
-
function i(
|
|
1029
|
-
if (!p.isUndefined(
|
|
1030
|
-
return n(void 0,
|
|
1028
|
+
function i(l, c) {
|
|
1029
|
+
if (!p.isUndefined(c))
|
|
1030
|
+
return n(void 0, c);
|
|
1031
1031
|
}
|
|
1032
|
-
function o(
|
|
1033
|
-
if (p.isUndefined(
|
|
1034
|
-
if (!p.isUndefined(
|
|
1035
|
-
return n(void 0,
|
|
1036
|
-
} else return n(void 0,
|
|
1032
|
+
function o(l, c) {
|
|
1033
|
+
if (p.isUndefined(c)) {
|
|
1034
|
+
if (!p.isUndefined(l))
|
|
1035
|
+
return n(void 0, l);
|
|
1036
|
+
} else return n(void 0, c);
|
|
1037
1037
|
}
|
|
1038
|
-
function s(
|
|
1038
|
+
function s(l, c, u) {
|
|
1039
1039
|
if (u in e)
|
|
1040
|
-
return n(
|
|
1040
|
+
return n(l, c);
|
|
1041
1041
|
if (u in t)
|
|
1042
|
-
return n(void 0,
|
|
1042
|
+
return n(void 0, l);
|
|
1043
1043
|
}
|
|
1044
1044
|
const d = {
|
|
1045
1045
|
url: i,
|
|
@@ -1070,11 +1070,11 @@ function Ve(t, e) {
|
|
|
1070
1070
|
socketPath: o,
|
|
1071
1071
|
responseEncoding: o,
|
|
1072
1072
|
validateStatus: s,
|
|
1073
|
-
headers: (
|
|
1073
|
+
headers: (l, c, u) => a(xn(l), xn(c), u, !0)
|
|
1074
1074
|
};
|
|
1075
|
-
return p.forEach(Object.keys({ ...t, ...e }), function(
|
|
1076
|
-
const u = d[
|
|
1077
|
-
p.isUndefined(b) && u !== s || (r[
|
|
1075
|
+
return p.forEach(Object.keys({ ...t, ...e }), function(c) {
|
|
1076
|
+
const u = d[c] || a, b = u(t[c], e[c], c);
|
|
1077
|
+
p.isUndefined(b) && u !== s || (r[c] = b);
|
|
1078
1078
|
}), r;
|
|
1079
1079
|
}
|
|
1080
1080
|
const Na = (t) => {
|
|
@@ -1087,9 +1087,9 @@ const Na = (t) => {
|
|
|
1087
1087
|
if (ue.hasStandardBrowserEnv || ue.hasStandardBrowserWebWorkerEnv)
|
|
1088
1088
|
o.setContentType(void 0);
|
|
1089
1089
|
else if (p.isFunction(r.getHeaders)) {
|
|
1090
|
-
const d = r.getHeaders(),
|
|
1091
|
-
Object.entries(d).forEach(([
|
|
1092
|
-
|
|
1090
|
+
const d = r.getHeaders(), l = ["content-type", "content-length"];
|
|
1091
|
+
Object.entries(d).forEach(([c, u]) => {
|
|
1092
|
+
l.includes(c.toLowerCase()) && o.set(c, u);
|
|
1093
1093
|
});
|
|
1094
1094
|
}
|
|
1095
1095
|
}
|
|
@@ -1103,9 +1103,9 @@ const Na = (t) => {
|
|
|
1103
1103
|
const a = Na(t);
|
|
1104
1104
|
let i = a.data;
|
|
1105
1105
|
const o = be.from(a.headers).normalize();
|
|
1106
|
-
let { responseType: s, onUploadProgress: d, onDownloadProgress:
|
|
1106
|
+
let { responseType: s, onUploadProgress: d, onDownloadProgress: l } = a, c, u, b, x, f;
|
|
1107
1107
|
function m() {
|
|
1108
|
-
x && x(), f && f(), a.cancelToken && a.cancelToken.unsubscribe(
|
|
1108
|
+
x && x(), f && f(), a.cancelToken && a.cancelToken.unsubscribe(c), a.signal && a.signal.removeEventListener("abort", c);
|
|
1109
1109
|
}
|
|
1110
1110
|
let h = new XMLHttpRequest();
|
|
1111
1111
|
h.open(a.method.toUpperCase(), a.url, !0), h.timeout = a.timeout;
|
|
@@ -1146,9 +1146,9 @@ const Na = (t) => {
|
|
|
1146
1146
|
)), h = null;
|
|
1147
1147
|
}, i === void 0 && o.setContentType(null), "setRequestHeader" in h && p.forEach(o.toJSON(), function(N, y) {
|
|
1148
1148
|
h.setRequestHeader(y, N);
|
|
1149
|
-
}), p.isUndefined(a.withCredentials) || (h.withCredentials = !!a.withCredentials), s && s !== "json" && (h.responseType = a.responseType),
|
|
1149
|
+
}), p.isUndefined(a.withCredentials) || (h.withCredentials = !!a.withCredentials), s && s !== "json" && (h.responseType = a.responseType), l && ([b, f] = Ft(l, !0), h.addEventListener("progress", b)), d && h.upload && ([u, x] = Ft(d), h.upload.addEventListener("progress", u), h.upload.addEventListener("loadend", x)), (a.cancelToken || a.signal) && (c = (R) => {
|
|
1150
1150
|
h && (n(!R || R.type ? new dt(null, t, h) : R), h.abort(), h = null);
|
|
1151
|
-
}, a.cancelToken && a.cancelToken.subscribe(
|
|
1151
|
+
}, a.cancelToken && a.cancelToken.subscribe(c), a.signal && (a.signal.aborted ? c() : a.signal.addEventListener("abort", c)));
|
|
1152
1152
|
const K = Fo(a.url);
|
|
1153
1153
|
if (K && ue.protocols.indexOf(K) === -1) {
|
|
1154
1154
|
n(new L("Unsupported protocol " + K + ":", L.ERR_BAD_REQUEST, t));
|
|
@@ -1160,22 +1160,22 @@ const Na = (t) => {
|
|
|
1160
1160
|
const { length: r } = t = t ? t.filter(Boolean) : [];
|
|
1161
1161
|
if (e || r) {
|
|
1162
1162
|
let n = new AbortController(), a;
|
|
1163
|
-
const i = function(
|
|
1163
|
+
const i = function(l) {
|
|
1164
1164
|
if (!a) {
|
|
1165
1165
|
a = !0, s();
|
|
1166
|
-
const
|
|
1167
|
-
n.abort(
|
|
1166
|
+
const c = l instanceof Error ? l : this.reason;
|
|
1167
|
+
n.abort(c instanceof L ? c : new dt(c instanceof Error ? c.message : c));
|
|
1168
1168
|
}
|
|
1169
1169
|
};
|
|
1170
1170
|
let o = e && setTimeout(() => {
|
|
1171
1171
|
o = null, i(new L(`timeout ${e} of ms exceeded`, L.ETIMEDOUT));
|
|
1172
1172
|
}, e);
|
|
1173
1173
|
const s = () => {
|
|
1174
|
-
t && (o && clearTimeout(o), o = null, t.forEach((
|
|
1175
|
-
|
|
1174
|
+
t && (o && clearTimeout(o), o = null, t.forEach((l) => {
|
|
1175
|
+
l.unsubscribe ? l.unsubscribe(i) : l.removeEventListener("abort", i);
|
|
1176
1176
|
}), t = null);
|
|
1177
1177
|
};
|
|
1178
|
-
t.forEach((
|
|
1178
|
+
t.forEach((l) => l.addEventListener("abort", i));
|
|
1179
1179
|
const { signal: d } = n;
|
|
1180
1180
|
return d.unsubscribe = () => p.asap(s), d;
|
|
1181
1181
|
}
|
|
@@ -1215,19 +1215,19 @@ const Na = (t) => {
|
|
|
1215
1215
|
return new ReadableStream({
|
|
1216
1216
|
async pull(d) {
|
|
1217
1217
|
try {
|
|
1218
|
-
const { done:
|
|
1219
|
-
if (
|
|
1218
|
+
const { done: l, value: c } = await a.next();
|
|
1219
|
+
if (l) {
|
|
1220
1220
|
s(), d.close();
|
|
1221
1221
|
return;
|
|
1222
1222
|
}
|
|
1223
|
-
let u =
|
|
1223
|
+
let u = c.byteLength;
|
|
1224
1224
|
if (r) {
|
|
1225
1225
|
let b = i += u;
|
|
1226
1226
|
r(b);
|
|
1227
1227
|
}
|
|
1228
|
-
d.enqueue(new Uint8Array(
|
|
1229
|
-
} catch (
|
|
1230
|
-
throw s(
|
|
1228
|
+
d.enqueue(new Uint8Array(c));
|
|
1229
|
+
} catch (l) {
|
|
1230
|
+
throw s(l), l;
|
|
1231
1231
|
}
|
|
1232
1232
|
},
|
|
1233
1233
|
cancel(d) {
|
|
@@ -1255,7 +1255,7 @@ const Na = (t) => {
|
|
|
1255
1255
|
const { fetch: e, Request: r, Response: n } = t, a = e ? At(e) : typeof fetch == "function", i = At(r), o = At(n);
|
|
1256
1256
|
if (!a)
|
|
1257
1257
|
return !1;
|
|
1258
|
-
const s = a && At(_n), d = a && (typeof Sn == "function" ? /* @__PURE__ */ ((f) => (m) => f.encode(m))(new Sn()) : async (f) => new Uint8Array(await new r(f).arrayBuffer())),
|
|
1258
|
+
const s = a && At(_n), d = a && (typeof Sn == "function" ? /* @__PURE__ */ ((f) => (m) => f.encode(m))(new Sn()) : async (f) => new Uint8Array(await new r(f).arrayBuffer())), l = i && s && En(() => {
|
|
1259
1259
|
let f = !1;
|
|
1260
1260
|
const m = new r(ue.origin, {
|
|
1261
1261
|
body: new _n(),
|
|
@@ -1265,8 +1265,8 @@ const Na = (t) => {
|
|
|
1265
1265
|
}
|
|
1266
1266
|
}).headers.has("Content-Type");
|
|
1267
1267
|
return f && !m;
|
|
1268
|
-
}),
|
|
1269
|
-
stream:
|
|
1268
|
+
}), c = o && s && En(() => p.isReadableStream(new n("").body)), u = {
|
|
1269
|
+
stream: c && ((f) => f.body)
|
|
1270
1270
|
};
|
|
1271
1271
|
a && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((f) => {
|
|
1272
1272
|
!u[f] && (u[f] = (m, h) => {
|
|
@@ -1314,9 +1314,9 @@ const Na = (t) => {
|
|
|
1314
1314
|
const G = Ee && Ee.unsubscribe && (() => {
|
|
1315
1315
|
Ee.unsubscribe();
|
|
1316
1316
|
});
|
|
1317
|
-
let
|
|
1317
|
+
let le;
|
|
1318
1318
|
try {
|
|
1319
|
-
if ($ &&
|
|
1319
|
+
if ($ && l && h !== "get" && h !== "head" && (le = await x(pe, A)) !== 0) {
|
|
1320
1320
|
let k = new r(m, {
|
|
1321
1321
|
method: "POST",
|
|
1322
1322
|
body: A,
|
|
@@ -1324,7 +1324,7 @@ const Na = (t) => {
|
|
|
1324
1324
|
}), D;
|
|
1325
1325
|
if (p.isFormData(A) && (D = k.headers.get("content-type")) && pe.setContentType(D), k.body) {
|
|
1326
1326
|
const [z, C] = yn(
|
|
1327
|
-
|
|
1327
|
+
le,
|
|
1328
1328
|
Ft(bn($))
|
|
1329
1329
|
);
|
|
1330
1330
|
A = wn(k.body, kn, z, C);
|
|
@@ -1342,8 +1342,8 @@ const Na = (t) => {
|
|
|
1342
1342
|
};
|
|
1343
1343
|
ve = i && new r(m, xe);
|
|
1344
1344
|
let fe = await (i ? Ae(ve, Se) : Ae(m, xe));
|
|
1345
|
-
const ie =
|
|
1346
|
-
if (
|
|
1345
|
+
const ie = c && (B === "stream" || B === "response");
|
|
1346
|
+
if (c && (y || ie && G)) {
|
|
1347
1347
|
const k = {};
|
|
1348
1348
|
["status", "statusText", "headers"].forEach((U) => {
|
|
1349
1349
|
k[U] = fe[U];
|
|
@@ -1387,10 +1387,10 @@ const Na = (t) => {
|
|
|
1387
1387
|
a,
|
|
1388
1388
|
r
|
|
1389
1389
|
];
|
|
1390
|
-
let o = i.length, s = o, d,
|
|
1390
|
+
let o = i.length, s = o, d, l, c = Go;
|
|
1391
1391
|
for (; s--; )
|
|
1392
|
-
d = i[s],
|
|
1393
|
-
return
|
|
1392
|
+
d = i[s], l = c.get(d), l === void 0 && c.set(d, l = s ? /* @__PURE__ */ new Map() : Jo(e)), c = l;
|
|
1393
|
+
return l;
|
|
1394
1394
|
};
|
|
1395
1395
|
Fa();
|
|
1396
1396
|
const tn = {
|
|
@@ -1426,7 +1426,7 @@ function Qo(t, e) {
|
|
|
1426
1426
|
}
|
|
1427
1427
|
if (!a) {
|
|
1428
1428
|
const o = Object.entries(i).map(
|
|
1429
|
-
([d,
|
|
1429
|
+
([d, l]) => `adapter ${d} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
1430
1430
|
);
|
|
1431
1431
|
let s = r ? o.length > 1 ? `since :
|
|
1432
1432
|
` + o.map(Tn).join(`
|
|
@@ -1584,16 +1584,16 @@ let Ze = class {
|
|
|
1584
1584
|
this.interceptors.request.forEach(function(m) {
|
|
1585
1585
|
typeof m.runWhen == "function" && m.runWhen(r) === !1 || (d = d && m.synchronous, s.unshift(m.fulfilled, m.rejected));
|
|
1586
1586
|
});
|
|
1587
|
-
const
|
|
1587
|
+
const l = [];
|
|
1588
1588
|
this.interceptors.response.forEach(function(m) {
|
|
1589
|
-
|
|
1589
|
+
l.push(m.fulfilled, m.rejected);
|
|
1590
1590
|
});
|
|
1591
|
-
let
|
|
1591
|
+
let c, u = 0, b;
|
|
1592
1592
|
if (!d) {
|
|
1593
1593
|
const f = [On.bind(this), void 0];
|
|
1594
|
-
for (f.unshift(...s), f.push(...
|
|
1595
|
-
|
|
1596
|
-
return
|
|
1594
|
+
for (f.unshift(...s), f.push(...l), b = f.length, c = Promise.resolve(r); u < b; )
|
|
1595
|
+
c = c.then(f[u++], f[u++]);
|
|
1596
|
+
return c;
|
|
1597
1597
|
}
|
|
1598
1598
|
b = s.length;
|
|
1599
1599
|
let x = r;
|
|
@@ -1607,13 +1607,13 @@ let Ze = class {
|
|
|
1607
1607
|
}
|
|
1608
1608
|
}
|
|
1609
1609
|
try {
|
|
1610
|
-
|
|
1610
|
+
c = On.call(this, x);
|
|
1611
1611
|
} catch (f) {
|
|
1612
1612
|
return Promise.reject(f);
|
|
1613
1613
|
}
|
|
1614
|
-
for (u = 0, b =
|
|
1615
|
-
|
|
1616
|
-
return
|
|
1614
|
+
for (u = 0, b = l.length; u < b; )
|
|
1615
|
+
c = c.then(l[u++], l[u++]);
|
|
1616
|
+
return c;
|
|
1617
1617
|
}
|
|
1618
1618
|
getUri(e) {
|
|
1619
1619
|
e = Ve(this.defaults, e);
|
|
@@ -1827,14 +1827,14 @@ ae.getAdapter = za.getAdapter;
|
|
|
1827
1827
|
ae.HttpStatusCode = Fr;
|
|
1828
1828
|
ae.default = ae;
|
|
1829
1829
|
const {
|
|
1830
|
-
Axios:
|
|
1831
|
-
AxiosError:
|
|
1832
|
-
CanceledError:
|
|
1833
|
-
isCancel:
|
|
1834
|
-
CancelToken:
|
|
1835
|
-
VERSION:
|
|
1836
|
-
all:
|
|
1837
|
-
Cancel:
|
|
1830
|
+
Axios: Hc,
|
|
1831
|
+
AxiosError: Wc,
|
|
1832
|
+
CanceledError: Yc,
|
|
1833
|
+
isCancel: Kc,
|
|
1834
|
+
CancelToken: Jc,
|
|
1835
|
+
VERSION: Gc,
|
|
1836
|
+
all: Xc,
|
|
1837
|
+
Cancel: Qc,
|
|
1838
1838
|
isAxiosError: ed,
|
|
1839
1839
|
spread: td,
|
|
1840
1840
|
toFormData: rd,
|
|
@@ -1911,10 +1911,10 @@ class is extends Error {
|
|
|
1911
1911
|
}
|
|
1912
1912
|
}
|
|
1913
1913
|
let zt = null;
|
|
1914
|
-
function
|
|
1914
|
+
function ld(t) {
|
|
1915
1915
|
return zt = new as(t), zt;
|
|
1916
1916
|
}
|
|
1917
|
-
function
|
|
1917
|
+
function cd() {
|
|
1918
1918
|
if (!zt)
|
|
1919
1919
|
throw new Error("FileFlow client not initialized. Call initializeClient() first.");
|
|
1920
1920
|
return zt;
|
|
@@ -1935,7 +1935,7 @@ var An;
|
|
|
1935
1935
|
function os() {
|
|
1936
1936
|
if (An) return X;
|
|
1937
1937
|
An = 1;
|
|
1938
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, d = t ? Symbol.for("react.async_mode") : 60111,
|
|
1938
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, d = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, c = t ? Symbol.for("react.forward_ref") : 60112, u = t ? Symbol.for("react.suspense") : 60113, b = t ? Symbol.for("react.suspense_list") : 60120, x = t ? Symbol.for("react.memo") : 60115, f = t ? Symbol.for("react.lazy") : 60116, m = t ? Symbol.for("react.block") : 60121, h = t ? Symbol.for("react.fundamental") : 60117, A = t ? Symbol.for("react.responder") : 60118, K = t ? Symbol.for("react.scope") : 60119;
|
|
1939
1939
|
function R(y) {
|
|
1940
1940
|
if (typeof y == "object" && y !== null) {
|
|
1941
1941
|
var $ = y.$$typeof;
|
|
@@ -1943,7 +1943,7 @@ function os() {
|
|
|
1943
1943
|
case e:
|
|
1944
1944
|
switch (y = y.type, y) {
|
|
1945
1945
|
case d:
|
|
1946
|
-
case
|
|
1946
|
+
case l:
|
|
1947
1947
|
case n:
|
|
1948
1948
|
case i:
|
|
1949
1949
|
case a:
|
|
@@ -1952,7 +1952,7 @@ function os() {
|
|
|
1952
1952
|
default:
|
|
1953
1953
|
switch (y = y && y.$$typeof, y) {
|
|
1954
1954
|
case s:
|
|
1955
|
-
case
|
|
1955
|
+
case c:
|
|
1956
1956
|
case f:
|
|
1957
1957
|
case x:
|
|
1958
1958
|
case o:
|
|
@@ -1967,9 +1967,9 @@ function os() {
|
|
|
1967
1967
|
}
|
|
1968
1968
|
}
|
|
1969
1969
|
function N(y) {
|
|
1970
|
-
return R(y) ===
|
|
1970
|
+
return R(y) === l;
|
|
1971
1971
|
}
|
|
1972
|
-
return X.AsyncMode = d, X.ConcurrentMode =
|
|
1972
|
+
return X.AsyncMode = d, X.ConcurrentMode = l, X.ContextConsumer = s, X.ContextProvider = o, X.Element = e, X.ForwardRef = c, X.Fragment = n, X.Lazy = f, X.Memo = x, X.Portal = r, X.Profiler = i, X.StrictMode = a, X.Suspense = u, X.isAsyncMode = function(y) {
|
|
1973
1973
|
return N(y) || R(y) === d;
|
|
1974
1974
|
}, X.isConcurrentMode = N, X.isContextConsumer = function(y) {
|
|
1975
1975
|
return R(y) === s;
|
|
@@ -1978,7 +1978,7 @@ function os() {
|
|
|
1978
1978
|
}, X.isElement = function(y) {
|
|
1979
1979
|
return typeof y == "object" && y !== null && y.$$typeof === e;
|
|
1980
1980
|
}, X.isForwardRef = function(y) {
|
|
1981
|
-
return R(y) ===
|
|
1981
|
+
return R(y) === c;
|
|
1982
1982
|
}, X.isFragment = function(y) {
|
|
1983
1983
|
return R(y) === n;
|
|
1984
1984
|
}, X.isLazy = function(y) {
|
|
@@ -1994,7 +1994,7 @@ function os() {
|
|
|
1994
1994
|
}, X.isSuspense = function(y) {
|
|
1995
1995
|
return R(y) === u;
|
|
1996
1996
|
}, X.isValidElementType = function(y) {
|
|
1997
|
-
return typeof y == "string" || typeof y == "function" || y === n || y ===
|
|
1997
|
+
return typeof y == "string" || typeof y == "function" || y === n || y === l || y === i || y === a || y === u || y === b || typeof y == "object" && y !== null && (y.$$typeof === f || y.$$typeof === x || y.$$typeof === o || y.$$typeof === s || y.$$typeof === c || y.$$typeof === h || y.$$typeof === A || y.$$typeof === K || y.$$typeof === m);
|
|
1998
1998
|
}, X.typeOf = R, X;
|
|
1999
1999
|
}
|
|
2000
2000
|
var Q = {};
|
|
@@ -2009,10 +2009,10 @@ var Q = {};
|
|
|
2009
2009
|
var Rn;
|
|
2010
2010
|
function ss() {
|
|
2011
2011
|
return Rn || (Rn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2012
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, d = t ? Symbol.for("react.async_mode") : 60111,
|
|
2012
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, d = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, c = t ? Symbol.for("react.forward_ref") : 60112, u = t ? Symbol.for("react.suspense") : 60113, b = t ? Symbol.for("react.suspense_list") : 60120, x = t ? Symbol.for("react.memo") : 60115, f = t ? Symbol.for("react.lazy") : 60116, m = t ? Symbol.for("react.block") : 60121, h = t ? Symbol.for("react.fundamental") : 60117, A = t ? Symbol.for("react.responder") : 60118, K = t ? Symbol.for("react.scope") : 60119;
|
|
2013
2013
|
function R(w) {
|
|
2014
2014
|
return typeof w == "string" || typeof w == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2015
|
-
w === n || w ===
|
|
2015
|
+
w === n || w === l || w === i || w === a || w === u || w === b || typeof w == "object" && w !== null && (w.$$typeof === f || w.$$typeof === x || w.$$typeof === o || w.$$typeof === s || w.$$typeof === c || w.$$typeof === h || w.$$typeof === A || w.$$typeof === K || w.$$typeof === m);
|
|
2016
2016
|
}
|
|
2017
2017
|
function N(w) {
|
|
2018
2018
|
if (typeof w == "object" && w !== null) {
|
|
@@ -2022,7 +2022,7 @@ function ss() {
|
|
|
2022
2022
|
var $e = w.type;
|
|
2023
2023
|
switch ($e) {
|
|
2024
2024
|
case d:
|
|
2025
|
-
case
|
|
2025
|
+
case l:
|
|
2026
2026
|
case n:
|
|
2027
2027
|
case i:
|
|
2028
2028
|
case a:
|
|
@@ -2032,7 +2032,7 @@ function ss() {
|
|
|
2032
2032
|
var pt = $e && $e.$$typeof;
|
|
2033
2033
|
switch (pt) {
|
|
2034
2034
|
case s:
|
|
2035
|
-
case
|
|
2035
|
+
case c:
|
|
2036
2036
|
case f:
|
|
2037
2037
|
case x:
|
|
2038
2038
|
case o:
|
|
@@ -2046,12 +2046,12 @@ function ss() {
|
|
|
2046
2046
|
}
|
|
2047
2047
|
}
|
|
2048
2048
|
}
|
|
2049
|
-
var y = d, $ =
|
|
2049
|
+
var y = d, $ = l, B = s, pe = o, ge = e, Se = c, Ae = n, Ee = f, ve = x, G = r, le = i, re = a, xe = u, fe = !1;
|
|
2050
2050
|
function ie(w) {
|
|
2051
2051
|
return fe || (fe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), v(w) || N(w) === d;
|
|
2052
2052
|
}
|
|
2053
2053
|
function v(w) {
|
|
2054
|
-
return N(w) ===
|
|
2054
|
+
return N(w) === l;
|
|
2055
2055
|
}
|
|
2056
2056
|
function k(w) {
|
|
2057
2057
|
return N(w) === s;
|
|
@@ -2063,7 +2063,7 @@ function ss() {
|
|
|
2063
2063
|
return typeof w == "object" && w !== null && w.$$typeof === e;
|
|
2064
2064
|
}
|
|
2065
2065
|
function C(w) {
|
|
2066
|
-
return N(w) ===
|
|
2066
|
+
return N(w) === c;
|
|
2067
2067
|
}
|
|
2068
2068
|
function U(w) {
|
|
2069
2069
|
return N(w) === n;
|
|
@@ -2083,10 +2083,10 @@ function ss() {
|
|
|
2083
2083
|
function Z(w) {
|
|
2084
2084
|
return N(w) === a;
|
|
2085
2085
|
}
|
|
2086
|
-
function
|
|
2086
|
+
function ce(w) {
|
|
2087
2087
|
return N(w) === u;
|
|
2088
2088
|
}
|
|
2089
|
-
Q.AsyncMode = y, Q.ConcurrentMode = $, Q.ContextConsumer = B, Q.ContextProvider = pe, Q.Element = ge, Q.ForwardRef = Se, Q.Fragment = Ae, Q.Lazy = Ee, Q.Memo = ve, Q.Portal = G, Q.Profiler =
|
|
2089
|
+
Q.AsyncMode = y, Q.ConcurrentMode = $, Q.ContextConsumer = B, Q.ContextProvider = pe, Q.Element = ge, Q.ForwardRef = Se, Q.Fragment = Ae, Q.Lazy = Ee, Q.Memo = ve, Q.Portal = G, Q.Profiler = le, Q.StrictMode = re, Q.Suspense = xe, Q.isAsyncMode = ie, Q.isConcurrentMode = v, Q.isContextConsumer = k, Q.isContextProvider = D, Q.isElement = z, Q.isForwardRef = C, Q.isFragment = U, Q.isLazy = F, Q.isMemo = M, Q.isPortal = H, Q.isProfiler = Y, Q.isStrictMode = Z, Q.isSuspense = ce, Q.isValidElementType = R, Q.typeOf = N;
|
|
2090
2090
|
}()), Q;
|
|
2091
2091
|
}
|
|
2092
2092
|
var jn;
|
|
@@ -2099,7 +2099,7 @@ object-assign
|
|
|
2099
2099
|
@license MIT
|
|
2100
2100
|
*/
|
|
2101
2101
|
var yr, Dn;
|
|
2102
|
-
function
|
|
2102
|
+
function ls() {
|
|
2103
2103
|
if (Dn) return yr;
|
|
2104
2104
|
Dn = 1;
|
|
2105
2105
|
var t = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
|
|
@@ -2117,28 +2117,28 @@ function cs() {
|
|
|
2117
2117
|
return !1;
|
|
2118
2118
|
for (var o = {}, s = 0; s < 10; s++)
|
|
2119
2119
|
o["_" + String.fromCharCode(s)] = s;
|
|
2120
|
-
var d = Object.getOwnPropertyNames(o).map(function(
|
|
2121
|
-
return o[
|
|
2120
|
+
var d = Object.getOwnPropertyNames(o).map(function(c) {
|
|
2121
|
+
return o[c];
|
|
2122
2122
|
});
|
|
2123
2123
|
if (d.join("") !== "0123456789")
|
|
2124
2124
|
return !1;
|
|
2125
|
-
var
|
|
2126
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
2127
|
-
c
|
|
2128
|
-
}), Object.keys(Object.assign({},
|
|
2125
|
+
var l = {};
|
|
2126
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(c) {
|
|
2127
|
+
l[c] = c;
|
|
2128
|
+
}), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
|
|
2129
2129
|
} catch {
|
|
2130
2130
|
return !1;
|
|
2131
2131
|
}
|
|
2132
2132
|
}
|
|
2133
2133
|
return yr = a() ? Object.assign : function(i, o) {
|
|
2134
|
-
for (var s, d = n(i),
|
|
2135
|
-
s = Object(arguments[
|
|
2134
|
+
for (var s, d = n(i), l, c = 1; c < arguments.length; c++) {
|
|
2135
|
+
s = Object(arguments[c]);
|
|
2136
2136
|
for (var u in s)
|
|
2137
2137
|
e.call(s, u) && (d[u] = s[u]);
|
|
2138
2138
|
if (t) {
|
|
2139
|
-
|
|
2140
|
-
for (var b = 0; b <
|
|
2141
|
-
r.call(s,
|
|
2139
|
+
l = t(s);
|
|
2140
|
+
for (var b = 0; b < l.length; b++)
|
|
2141
|
+
r.call(s, l[b]) && (d[l[b]] = s[l[b]]);
|
|
2142
2142
|
}
|
|
2143
2143
|
}
|
|
2144
2144
|
return d;
|
|
@@ -2156,7 +2156,7 @@ function Ua() {
|
|
|
2156
2156
|
return In || (In = 1, xr = Function.call.bind(Object.prototype.hasOwnProperty)), xr;
|
|
2157
2157
|
}
|
|
2158
2158
|
var wr, Nn;
|
|
2159
|
-
function
|
|
2159
|
+
function cs() {
|
|
2160
2160
|
if (Nn) return wr;
|
|
2161
2161
|
Nn = 1;
|
|
2162
2162
|
var t = function() {
|
|
@@ -2172,27 +2172,27 @@ function ls() {
|
|
|
2172
2172
|
}
|
|
2173
2173
|
};
|
|
2174
2174
|
}
|
|
2175
|
-
function a(i, o, s, d,
|
|
2175
|
+
function a(i, o, s, d, l) {
|
|
2176
2176
|
if (process.env.NODE_ENV !== "production") {
|
|
2177
|
-
for (var
|
|
2178
|
-
if (n(i,
|
|
2177
|
+
for (var c in i)
|
|
2178
|
+
if (n(i, c)) {
|
|
2179
2179
|
var u;
|
|
2180
2180
|
try {
|
|
2181
|
-
if (typeof i[
|
|
2181
|
+
if (typeof i[c] != "function") {
|
|
2182
2182
|
var b = Error(
|
|
2183
|
-
(d || "React class") + ": " + s + " type `" +
|
|
2183
|
+
(d || "React class") + ": " + s + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
2184
2184
|
);
|
|
2185
2185
|
throw b.name = "Invariant Violation", b;
|
|
2186
2186
|
}
|
|
2187
|
-
u = i[
|
|
2187
|
+
u = i[c](o, c, d, s, null, e);
|
|
2188
2188
|
} catch (f) {
|
|
2189
2189
|
u = f;
|
|
2190
2190
|
}
|
|
2191
2191
|
if (u && !(u instanceof Error) && t(
|
|
2192
|
-
(d || "React class") + ": type specification of " + s + " `" +
|
|
2192
|
+
(d || "React class") + ": type specification of " + s + " `" + c + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof u + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
2193
2193
|
), u instanceof Error && !(u.message in r)) {
|
|
2194
2194
|
r[u.message] = !0;
|
|
2195
|
-
var x =
|
|
2195
|
+
var x = l ? l() : "";
|
|
2196
2196
|
t(
|
|
2197
2197
|
"Failed " + s + " type: " + u.message + (x ?? "")
|
|
2198
2198
|
);
|
|
@@ -2208,7 +2208,7 @@ var kr, Fn;
|
|
|
2208
2208
|
function ds() {
|
|
2209
2209
|
if (Fn) return kr;
|
|
2210
2210
|
Fn = 1;
|
|
2211
|
-
var t = Ba(), e =
|
|
2211
|
+
var t = Ba(), e = ls(), r = rn(), n = Ua(), a = cs(), i = function() {
|
|
2212
2212
|
};
|
|
2213
2213
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
2214
2214
|
var d = "Warning: " + s;
|
|
@@ -2222,9 +2222,9 @@ function ds() {
|
|
|
2222
2222
|
return null;
|
|
2223
2223
|
}
|
|
2224
2224
|
return kr = function(s, d) {
|
|
2225
|
-
var
|
|
2225
|
+
var l = typeof Symbol == "function" && Symbol.iterator, c = "@@iterator";
|
|
2226
2226
|
function u(v) {
|
|
2227
|
-
var k = v && (
|
|
2227
|
+
var k = v && (l && v[l] || v[c]);
|
|
2228
2228
|
if (typeof k == "function")
|
|
2229
2229
|
return k;
|
|
2230
2230
|
}
|
|
@@ -2259,8 +2259,8 @@ function ds() {
|
|
|
2259
2259
|
function h(v) {
|
|
2260
2260
|
if (process.env.NODE_ENV !== "production")
|
|
2261
2261
|
var k = {}, D = 0;
|
|
2262
|
-
function z(U, F, M, H, Y, Z,
|
|
2263
|
-
if (H = H || b, Z = Z || M,
|
|
2262
|
+
function z(U, F, M, H, Y, Z, ce) {
|
|
2263
|
+
if (H = H || b, Z = Z || M, ce !== r) {
|
|
2264
2264
|
if (d) {
|
|
2265
2265
|
var w = new Error(
|
|
2266
2266
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -2355,7 +2355,7 @@ function ds() {
|
|
|
2355
2355
|
for (var M = D[z], H = 0; H < v.length; H++)
|
|
2356
2356
|
if (f(M, v[H]))
|
|
2357
2357
|
return null;
|
|
2358
|
-
var Y = JSON.stringify(v, function(
|
|
2358
|
+
var Y = JSON.stringify(v, function(ce, w) {
|
|
2359
2359
|
var we = xe(w);
|
|
2360
2360
|
return we === "symbol" ? String(w) : w;
|
|
2361
2361
|
});
|
|
@@ -2392,7 +2392,7 @@ function ds() {
|
|
|
2392
2392
|
}
|
|
2393
2393
|
function z(C, U, F, M, H) {
|
|
2394
2394
|
for (var Y = [], Z = 0; Z < v.length; Z++) {
|
|
2395
|
-
var
|
|
2395
|
+
var ce = v[Z], w = ce(C, U, F, M, H, r);
|
|
2396
2396
|
if (w == null)
|
|
2397
2397
|
return null;
|
|
2398
2398
|
w.data && n(w.data, "expectedType") && Y.push(w.data.expectedType);
|
|
@@ -2422,9 +2422,9 @@ function ds() {
|
|
|
2422
2422
|
var Z = v[Y];
|
|
2423
2423
|
if (typeof Z != "function")
|
|
2424
2424
|
return Ae(C, U, F, Y, xe(Z));
|
|
2425
|
-
var
|
|
2426
|
-
if (
|
|
2427
|
-
return
|
|
2425
|
+
var ce = Z(M, Y, C, U, F + "." + Y, r);
|
|
2426
|
+
if (ce)
|
|
2427
|
+
return ce;
|
|
2428
2428
|
}
|
|
2429
2429
|
return null;
|
|
2430
2430
|
}
|
|
@@ -2437,15 +2437,15 @@ function ds() {
|
|
|
2437
2437
|
return new m("Invalid " + U + " `" + F + "` of type `" + H + "` " + ("supplied to `" + C + "`, expected `object`."));
|
|
2438
2438
|
var Y = e({}, D[z], v);
|
|
2439
2439
|
for (var Z in Y) {
|
|
2440
|
-
var
|
|
2441
|
-
if (n(v, Z) && typeof
|
|
2442
|
-
return Ae(C, U, F, Z, xe(
|
|
2443
|
-
if (!
|
|
2440
|
+
var ce = v[Z];
|
|
2441
|
+
if (n(v, Z) && typeof ce != "function")
|
|
2442
|
+
return Ae(C, U, F, Z, xe(ce));
|
|
2443
|
+
if (!ce)
|
|
2444
2444
|
return new m(
|
|
2445
2445
|
"Invalid " + U + " `" + F + "` key `" + Z + "` supplied to `" + C + "`.\nBad object: " + JSON.stringify(D[z], null, " ") + `
|
|
2446
2446
|
Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
2447
2447
|
);
|
|
2448
|
-
var w =
|
|
2448
|
+
var w = ce(M, Z, C, U, F + "." + Z, r);
|
|
2449
2449
|
if (w)
|
|
2450
2450
|
return w;
|
|
2451
2451
|
}
|
|
@@ -2486,12 +2486,12 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
2486
2486
|
return !1;
|
|
2487
2487
|
}
|
|
2488
2488
|
}
|
|
2489
|
-
function
|
|
2489
|
+
function le(v, k) {
|
|
2490
2490
|
return v === "symbol" ? !0 : k ? k["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && k instanceof Symbol : !1;
|
|
2491
2491
|
}
|
|
2492
2492
|
function re(v) {
|
|
2493
2493
|
var k = typeof v;
|
|
2494
|
-
return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" :
|
|
2494
|
+
return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" : le(k, v) ? "symbol" : k;
|
|
2495
2495
|
}
|
|
2496
2496
|
function xe(v) {
|
|
2497
2497
|
if (typeof v > "u" || v === null)
|
|
@@ -2535,7 +2535,7 @@ function ps() {
|
|
|
2535
2535
|
function r() {
|
|
2536
2536
|
}
|
|
2537
2537
|
return r.resetWarningCache = e, _r = function() {
|
|
2538
|
-
function n(o, s, d,
|
|
2538
|
+
function n(o, s, d, l, c, u) {
|
|
2539
2539
|
if (u !== t) {
|
|
2540
2540
|
var b = new Error(
|
|
2541
2541
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -2587,24 +2587,24 @@ function Je(t, e, r, n) {
|
|
|
2587
2587
|
});
|
|
2588
2588
|
}
|
|
2589
2589
|
return new (r || (r = Promise))(function(i, o) {
|
|
2590
|
-
function s(
|
|
2590
|
+
function s(c) {
|
|
2591
2591
|
try {
|
|
2592
|
-
|
|
2592
|
+
l(n.next(c));
|
|
2593
2593
|
} catch (u) {
|
|
2594
2594
|
o(u);
|
|
2595
2595
|
}
|
|
2596
2596
|
}
|
|
2597
|
-
function d(
|
|
2597
|
+
function d(c) {
|
|
2598
2598
|
try {
|
|
2599
|
-
|
|
2599
|
+
l(n.throw(c));
|
|
2600
2600
|
} catch (u) {
|
|
2601
2601
|
o(u);
|
|
2602
2602
|
}
|
|
2603
2603
|
}
|
|
2604
|
-
function c
|
|
2605
|
-
|
|
2604
|
+
function l(c) {
|
|
2605
|
+
c.done ? i(c.value) : a(c.value).then(s, d);
|
|
2606
2606
|
}
|
|
2607
|
-
|
|
2607
|
+
l((n = n.apply(t, e || [])).next());
|
|
2608
2608
|
});
|
|
2609
2609
|
}
|
|
2610
2610
|
const hs = /* @__PURE__ */ new Map([
|
|
@@ -4093,7 +4093,7 @@ function Be(t) {
|
|
|
4093
4093
|
function Ms(t) {
|
|
4094
4094
|
var e = t.files, r = t.accept, n = t.minSize, a = t.maxSize, i = t.multiple, o = t.maxFiles, s = t.validator;
|
|
4095
4095
|
return !i && e.length > 1 || i && o >= 1 && e.length > o ? !1 : e.every(function(d) {
|
|
4096
|
-
var
|
|
4096
|
+
var l = Ya(d, r), c = gt(l, 1), u = c[0], b = Ka(d, n, a), x = gt(b, 1), f = x[0], m = s ? s(d) : null;
|
|
4097
4097
|
return u && f && !m;
|
|
4098
4098
|
});
|
|
4099
4099
|
}
|
|
@@ -4172,22 +4172,22 @@ function Ga(t) {
|
|
|
4172
4172
|
}
|
|
4173
4173
|
var Ks = ["children"], Js = ["open"], Gs = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], Xs = ["refKey", "onChange", "onClick"];
|
|
4174
4174
|
function Qs(t) {
|
|
4175
|
-
return
|
|
4175
|
+
return rl(t) || tl(t) || Xa(t) || el();
|
|
4176
4176
|
}
|
|
4177
|
-
function
|
|
4177
|
+
function el() {
|
|
4178
4178
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4179
4179
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4180
4180
|
}
|
|
4181
|
-
function
|
|
4181
|
+
function tl(t) {
|
|
4182
4182
|
if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
|
|
4183
4183
|
}
|
|
4184
|
-
function
|
|
4184
|
+
function rl(t) {
|
|
4185
4185
|
if (Array.isArray(t)) return Mr(t);
|
|
4186
4186
|
}
|
|
4187
4187
|
function Er(t, e) {
|
|
4188
|
-
return
|
|
4188
|
+
return il(t) || al(t, e) || Xa(t, e) || nl();
|
|
4189
4189
|
}
|
|
4190
|
-
function
|
|
4190
|
+
function nl() {
|
|
4191
4191
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4192
4192
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4193
4193
|
}
|
|
@@ -4205,7 +4205,7 @@ function Mr(t, e) {
|
|
|
4205
4205
|
n[r] = t[r];
|
|
4206
4206
|
return n;
|
|
4207
4207
|
}
|
|
4208
|
-
function
|
|
4208
|
+
function al(t, e) {
|
|
4209
4209
|
var r = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
4210
4210
|
if (r != null) {
|
|
4211
4211
|
var n = [], a = !0, i = !1, o, s;
|
|
@@ -4224,7 +4224,7 @@ function ac(t, e) {
|
|
|
4224
4224
|
return n;
|
|
4225
4225
|
}
|
|
4226
4226
|
}
|
|
4227
|
-
function
|
|
4227
|
+
function il(t) {
|
|
4228
4228
|
if (Array.isArray(t)) return t;
|
|
4229
4229
|
}
|
|
4230
4230
|
function Wn(t, e) {
|
|
@@ -4253,7 +4253,7 @@ function $r(t, e, r) {
|
|
|
4253
4253
|
}
|
|
4254
4254
|
function Mt(t, e) {
|
|
4255
4255
|
if (t == null) return {};
|
|
4256
|
-
var r =
|
|
4256
|
+
var r = ol(t, e), n, a;
|
|
4257
4257
|
if (Object.getOwnPropertySymbols) {
|
|
4258
4258
|
var i = Object.getOwnPropertySymbols(t);
|
|
4259
4259
|
for (a = 0; a < i.length; a++)
|
|
@@ -4261,7 +4261,7 @@ function Mt(t, e) {
|
|
|
4261
4261
|
}
|
|
4262
4262
|
return r;
|
|
4263
4263
|
}
|
|
4264
|
-
function
|
|
4264
|
+
function ol(t, e) {
|
|
4265
4265
|
if (t == null) return {};
|
|
4266
4266
|
var r = {}, n = Object.keys(t), a, i;
|
|
4267
4267
|
for (i = 0; i < n.length; i++)
|
|
@@ -4269,12 +4269,12 @@ function oc(t, e) {
|
|
|
4269
4269
|
return r;
|
|
4270
4270
|
}
|
|
4271
4271
|
var nn = /* @__PURE__ */ Gr(function(t, e) {
|
|
4272
|
-
var r = t.children, n = Mt(t, Ks), a =
|
|
4272
|
+
var r = t.children, n = Mt(t, Ks), a = sl(n), i = a.open, o = Mt(a, Js);
|
|
4273
4273
|
return _i(e, function() {
|
|
4274
4274
|
return {
|
|
4275
4275
|
open: i
|
|
4276
4276
|
};
|
|
4277
|
-
}, [i]), /* @__PURE__ */
|
|
4277
|
+
}, [i]), /* @__PURE__ */ lt.createElement(Si, null, r(ne(ne({}, o), {}, {
|
|
4278
4278
|
open: i
|
|
4279
4279
|
})));
|
|
4280
4280
|
});
|
|
@@ -4473,8 +4473,8 @@ var Br = {
|
|
|
4473
4473
|
acceptedFiles: [],
|
|
4474
4474
|
fileRejections: []
|
|
4475
4475
|
};
|
|
4476
|
-
function
|
|
4477
|
-
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = ne(ne({}, Qa), t), r = e.accept, n = e.disabled, a = e.getFilesFromEvent, i = e.maxSize, o = e.minSize, s = e.multiple, d = e.maxFiles,
|
|
4476
|
+
function sl() {
|
|
4477
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = ne(ne({}, Qa), t), r = e.accept, n = e.disabled, a = e.getFilesFromEvent, i = e.maxSize, o = e.minSize, s = e.multiple, d = e.maxFiles, l = e.onDragEnter, c = e.onDragLeave, u = e.onDragOver, b = e.onDrop, x = e.onDropAccepted, f = e.onDropRejected, m = e.onFileDialogCancel, h = e.onFileDialogOpen, A = e.useFsAccessApi, K = e.autoFocus, R = e.preventDropOnDocument, N = e.noClick, y = e.noKeyboard, $ = e.noDrag, B = e.noDragEventsBubbling, pe = e.onError, ge = e.validator, Se = et(function() {
|
|
4478
4478
|
return Hs(r);
|
|
4479
4479
|
}, [r]), Ae = et(function() {
|
|
4480
4480
|
return Vs(r);
|
|
@@ -4482,10 +4482,10 @@ function sc() {
|
|
|
4482
4482
|
return typeof h == "function" ? h : Yn;
|
|
4483
4483
|
}, [h]), ve = et(function() {
|
|
4484
4484
|
return typeof m == "function" ? m : Yn;
|
|
4485
|
-
}, [m]), G = nt(null),
|
|
4485
|
+
}, [m]), G = nt(null), le = nt(null), re = ki(ll, Br), xe = Er(re, 2), fe = xe[0], ie = xe[1], v = fe.isFocused, k = fe.isFileDialogActive, D = nt(typeof window < "u" && window.isSecureContext && A && Zs()), z = function() {
|
|
4486
4486
|
!D.current && k && setTimeout(function() {
|
|
4487
|
-
if (
|
|
4488
|
-
var j =
|
|
4487
|
+
if (le.current) {
|
|
4488
|
+
var j = le.current.files;
|
|
4489
4489
|
j.length || (ie({
|
|
4490
4490
|
type: "closeDialog"
|
|
4491
4491
|
}), ve());
|
|
@@ -4496,7 +4496,7 @@ function sc() {
|
|
|
4496
4496
|
return window.addEventListener("focus", z, !1), function() {
|
|
4497
4497
|
window.removeEventListener("focus", z, !1);
|
|
4498
4498
|
};
|
|
4499
|
-
}, [
|
|
4499
|
+
}, [le, k, ve, D]);
|
|
4500
4500
|
var C = nt([]), U = function(j) {
|
|
4501
4501
|
G.current && G.current.contains(j.target) || (j.preventDefault(), C.current = []);
|
|
4502
4502
|
};
|
|
@@ -4527,12 +4527,12 @@ function sc() {
|
|
|
4527
4527
|
isDragReject: ke,
|
|
4528
4528
|
isDragActive: !0,
|
|
4529
4529
|
type: "setDraggedFiles"
|
|
4530
|
-
}),
|
|
4530
|
+
}), l && l(S);
|
|
4531
4531
|
}
|
|
4532
4532
|
}).catch(function(j) {
|
|
4533
4533
|
return F(j);
|
|
4534
4534
|
});
|
|
4535
|
-
}, [a,
|
|
4535
|
+
}, [a, l, F, B, Se, o, i, s, d, ge]), H = _e(function(S) {
|
|
4536
4536
|
S.preventDefault(), S.persist(), Ot(S);
|
|
4537
4537
|
var j = jt(S);
|
|
4538
4538
|
if (j && S.dataTransfer)
|
|
@@ -4551,12 +4551,12 @@ function sc() {
|
|
|
4551
4551
|
isDragActive: !1,
|
|
4552
4552
|
isDragAccept: !1,
|
|
4553
4553
|
isDragReject: !1
|
|
4554
|
-
}), jt(S) &&
|
|
4555
|
-
}, [G,
|
|
4554
|
+
}), jt(S) && c && c(S));
|
|
4555
|
+
}, [G, c, B]), Z = _e(function(S, j) {
|
|
4556
4556
|
var oe = [], de = [];
|
|
4557
4557
|
S.forEach(function(ke) {
|
|
4558
|
-
var ft = Ya(ke, Se), Qe = Er(ft, 2), or = Qe[0], sr = Qe[1],
|
|
4559
|
-
if (or &&
|
|
4558
|
+
var ft = Ya(ke, Se), Qe = Er(ft, 2), or = Qe[0], sr = Qe[1], lr = Ka(ke, o, i), Ct = Er(lr, 2), cr = Ct[0], dr = Ct[1], pr = ge ? ge(ke) : null;
|
|
4559
|
+
if (or && cr && !pr)
|
|
4560
4560
|
oe.push(ke);
|
|
4561
4561
|
else {
|
|
4562
4562
|
var fr = [sr, dr];
|
|
@@ -4578,7 +4578,7 @@ function sc() {
|
|
|
4578
4578
|
isDragReject: de.length > 0,
|
|
4579
4579
|
type: "setFiles"
|
|
4580
4580
|
}), b && b(oe, de, j), de.length > 0 && f && f(de, j), oe.length > 0 && x && x(oe, j);
|
|
4581
|
-
}, [ie, s, Se, o, i, d, b, x, f, ge]),
|
|
4581
|
+
}, [ie, s, Se, o, i, d, b, x, f, ge]), ce = _e(function(S) {
|
|
4582
4582
|
S.preventDefault(), S.persist(), Ot(S), C.current = [], jt(S) && Promise.resolve(a(S)).then(function(j) {
|
|
4583
4583
|
qt(S) && !B || Z(j, S);
|
|
4584
4584
|
}).catch(function(j) {
|
|
@@ -4604,13 +4604,13 @@ function sc() {
|
|
|
4604
4604
|
}).catch(function(j) {
|
|
4605
4605
|
Ws(j) ? (ve(j), ie({
|
|
4606
4606
|
type: "closeDialog"
|
|
4607
|
-
})) : Ys(j) ? (D.current = !1,
|
|
4607
|
+
})) : Ys(j) ? (D.current = !1, le.current ? (le.current.value = null, le.current.click()) : F(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : F(j);
|
|
4608
4608
|
});
|
|
4609
4609
|
return;
|
|
4610
4610
|
}
|
|
4611
|
-
|
|
4611
|
+
le.current && (ie({
|
|
4612
4612
|
type: "openDialog"
|
|
4613
|
-
}), Ee(),
|
|
4613
|
+
}), Ee(), le.current.value = null, le.current.click());
|
|
4614
4614
|
}, [ie, Ee, ve, A, Z, F, Ae, s]), we = _e(function(S) {
|
|
4615
4615
|
!G.current || !G.current.isEqualNode(S.target) || (S.key === " " || S.key === "Enter" || S.keyCode === 32 || S.keyCode === 13) && (S.preventDefault(), w());
|
|
4616
4616
|
}, [G, w]), $e = _e(function() {
|
|
@@ -4633,22 +4633,22 @@ function sc() {
|
|
|
4633
4633
|
B && j.stopPropagation();
|
|
4634
4634
|
}, yi = et(function() {
|
|
4635
4635
|
return function() {
|
|
4636
|
-
var S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = S.refKey, oe = j === void 0 ? "ref" : j, de = S.role, ke = S.onKeyDown, ft = S.onFocus, Qe = S.onBlur, or = S.onClick, sr = S.onDragEnter,
|
|
4636
|
+
var S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = S.refKey, oe = j === void 0 ? "ref" : j, de = S.role, ke = S.onKeyDown, ft = S.onFocus, Qe = S.onBlur, or = S.onClick, sr = S.onDragEnter, lr = S.onDragOver, Ct = S.onDragLeave, cr = S.onDrop, dr = Mt(S, Gs);
|
|
4637
4637
|
return ne(ne($r({
|
|
4638
4638
|
onKeyDown: ir(je(ke, we)),
|
|
4639
4639
|
onFocus: ir(je(ft, $e)),
|
|
4640
4640
|
onBlur: ir(je(Qe, pt)),
|
|
4641
4641
|
onClick: Xe(je(or, dn)),
|
|
4642
4642
|
onDragEnter: Tt(je(sr, M)),
|
|
4643
|
-
onDragOver: Tt(je(
|
|
4643
|
+
onDragOver: Tt(je(lr, H)),
|
|
4644
4644
|
onDragLeave: Tt(je(Ct, Y)),
|
|
4645
|
-
onDrop: Tt(je(
|
|
4645
|
+
onDrop: Tt(je(cr, ce)),
|
|
4646
4646
|
role: typeof de == "string" && de !== "" ? de : "presentation"
|
|
4647
4647
|
}, oe, G), !n && !y ? {
|
|
4648
4648
|
tabIndex: 0
|
|
4649
4649
|
} : {}), dr);
|
|
4650
4650
|
};
|
|
4651
|
-
}, [G, we, $e, pt, dn, M, H, Y,
|
|
4651
|
+
}, [G, we, $e, pt, dn, M, H, Y, ce, y, $, n]), bi = _e(function(S) {
|
|
4652
4652
|
S.stopPropagation();
|
|
4653
4653
|
}, []), xi = et(function() {
|
|
4654
4654
|
return function() {
|
|
@@ -4668,23 +4668,23 @@ function sc() {
|
|
|
4668
4668
|
width: "1px",
|
|
4669
4669
|
whiteSpace: "nowrap"
|
|
4670
4670
|
},
|
|
4671
|
-
onChange: Xe(je(de,
|
|
4671
|
+
onChange: Xe(je(de, ce)),
|
|
4672
4672
|
onClick: Xe(je(ke, bi)),
|
|
4673
4673
|
tabIndex: -1
|
|
4674
|
-
}, oe,
|
|
4674
|
+
}, oe, le);
|
|
4675
4675
|
return ne(ne({}, Qe), ft);
|
|
4676
4676
|
};
|
|
4677
|
-
}, [
|
|
4677
|
+
}, [le, r, s, ce, n]);
|
|
4678
4678
|
return ne(ne({}, fe), {}, {
|
|
4679
4679
|
isFocused: v && !n,
|
|
4680
4680
|
getRootProps: yi,
|
|
4681
4681
|
getInputProps: xi,
|
|
4682
4682
|
rootRef: G,
|
|
4683
|
-
inputRef:
|
|
4683
|
+
inputRef: le,
|
|
4684
4684
|
open: Xe(w)
|
|
4685
4685
|
});
|
|
4686
4686
|
}
|
|
4687
|
-
function
|
|
4687
|
+
function ll(t, e) {
|
|
4688
4688
|
switch (e.type) {
|
|
4689
4689
|
case "focus":
|
|
4690
4690
|
return ne(ne({}, t), {}, {
|
|
@@ -4735,14 +4735,14 @@ const ei = (...t) => t.filter((e, r, n) => !!e && e.trim() !== "" && n.indexOf(e
|
|
|
4735
4735
|
* This source code is licensed under the ISC license.
|
|
4736
4736
|
* See the LICENSE file in the root directory of this source tree.
|
|
4737
4737
|
*/
|
|
4738
|
-
const
|
|
4738
|
+
const cl = (t) => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
4739
4739
|
/**
|
|
4740
4740
|
* @license lucide-react v0.563.0 - ISC
|
|
4741
4741
|
*
|
|
4742
4742
|
* This source code is licensed under the ISC license.
|
|
4743
4743
|
* See the LICENSE file in the root directory of this source tree.
|
|
4744
4744
|
*/
|
|
4745
|
-
const
|
|
4745
|
+
const dl = (t) => t.replace(
|
|
4746
4746
|
/^([A-Z])|[\s-_]+(\w)/g,
|
|
4747
4747
|
(e, r, n) => n ? n.toUpperCase() : r.toLowerCase()
|
|
4748
4748
|
);
|
|
@@ -4753,7 +4753,7 @@ const dc = (t) => t.replace(
|
|
|
4753
4753
|
* See the LICENSE file in the root directory of this source tree.
|
|
4754
4754
|
*/
|
|
4755
4755
|
const Kn = (t) => {
|
|
4756
|
-
const e =
|
|
4756
|
+
const e = dl(t);
|
|
4757
4757
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
4758
4758
|
};
|
|
4759
4759
|
/**
|
|
@@ -4762,7 +4762,7 @@ const Kn = (t) => {
|
|
|
4762
4762
|
* This source code is licensed under the ISC license.
|
|
4763
4763
|
* See the LICENSE file in the root directory of this source tree.
|
|
4764
4764
|
*/
|
|
4765
|
-
var
|
|
4765
|
+
var pl = {
|
|
4766
4766
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4767
4767
|
width: 24,
|
|
4768
4768
|
height: 24,
|
|
@@ -4779,7 +4779,7 @@ var pc = {
|
|
|
4779
4779
|
* This source code is licensed under the ISC license.
|
|
4780
4780
|
* See the LICENSE file in the root directory of this source tree.
|
|
4781
4781
|
*/
|
|
4782
|
-
const
|
|
4782
|
+
const fl = (t) => {
|
|
4783
4783
|
for (const e in t)
|
|
4784
4784
|
if (e.startsWith("aria-") || e === "role" || e === "title")
|
|
4785
4785
|
return !0;
|
|
@@ -4791,7 +4791,7 @@ const fc = (t) => {
|
|
|
4791
4791
|
* This source code is licensed under the ISC license.
|
|
4792
4792
|
* See the LICENSE file in the root directory of this source tree.
|
|
4793
4793
|
*/
|
|
4794
|
-
const
|
|
4794
|
+
const ul = Gr(
|
|
4795
4795
|
({
|
|
4796
4796
|
color: t = "currentColor",
|
|
4797
4797
|
size: e = 24,
|
|
@@ -4805,17 +4805,17 @@ const uc = Gr(
|
|
|
4805
4805
|
"svg",
|
|
4806
4806
|
{
|
|
4807
4807
|
ref: d,
|
|
4808
|
-
...
|
|
4808
|
+
...pl,
|
|
4809
4809
|
width: e,
|
|
4810
4810
|
height: e,
|
|
4811
4811
|
stroke: t,
|
|
4812
4812
|
strokeWidth: n ? Number(r) * 24 / Number(e) : r,
|
|
4813
4813
|
className: ei("lucide", a),
|
|
4814
|
-
...!i && !
|
|
4814
|
+
...!i && !fl(s) && { "aria-hidden": "true" },
|
|
4815
4815
|
...s
|
|
4816
4816
|
},
|
|
4817
4817
|
[
|
|
4818
|
-
...o.map(([
|
|
4818
|
+
...o.map(([l, c]) => jr(l, c)),
|
|
4819
4819
|
...Array.isArray(i) ? i : [i]
|
|
4820
4820
|
]
|
|
4821
4821
|
)
|
|
@@ -4828,11 +4828,11 @@ const uc = Gr(
|
|
|
4828
4828
|
*/
|
|
4829
4829
|
const Me = (t, e) => {
|
|
4830
4830
|
const r = Gr(
|
|
4831
|
-
({ className: n, ...a }, i) => jr(
|
|
4831
|
+
({ className: n, ...a }, i) => jr(ul, {
|
|
4832
4832
|
ref: i,
|
|
4833
4833
|
iconNode: e,
|
|
4834
4834
|
className: ei(
|
|
4835
|
-
`lucide-${
|
|
4835
|
+
`lucide-${cl(Kn(t))}`,
|
|
4836
4836
|
`lucide-${t}`,
|
|
4837
4837
|
n
|
|
4838
4838
|
),
|
|
@@ -4847,53 +4847,53 @@ const Me = (t, e) => {
|
|
|
4847
4847
|
* This source code is licensed under the ISC license.
|
|
4848
4848
|
* See the LICENSE file in the root directory of this source tree.
|
|
4849
4849
|
*/
|
|
4850
|
-
const
|
|
4850
|
+
const ml = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], dd = Me("chevron-right", ml);
|
|
4851
4851
|
/**
|
|
4852
4852
|
* @license lucide-react v0.563.0 - ISC
|
|
4853
4853
|
*
|
|
4854
4854
|
* This source code is licensed under the ISC license.
|
|
4855
4855
|
* See the LICENSE file in the root directory of this source tree.
|
|
4856
4856
|
*/
|
|
4857
|
-
const
|
|
4857
|
+
const hl = [
|
|
4858
4858
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
4859
4859
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
4860
4860
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
4861
|
-
], pd = Me("circle-alert",
|
|
4861
|
+
], pd = Me("circle-alert", hl);
|
|
4862
4862
|
/**
|
|
4863
4863
|
* @license lucide-react v0.563.0 - ISC
|
|
4864
4864
|
*
|
|
4865
4865
|
* This source code is licensed under the ISC license.
|
|
4866
4866
|
* See the LICENSE file in the root directory of this source tree.
|
|
4867
4867
|
*/
|
|
4868
|
-
const
|
|
4868
|
+
const gl = [
|
|
4869
4869
|
["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
|
|
4870
4870
|
["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
|
|
4871
|
-
], fd = Me("circle-check-big",
|
|
4871
|
+
], fd = Me("circle-check-big", gl);
|
|
4872
4872
|
/**
|
|
4873
4873
|
* @license lucide-react v0.563.0 - ISC
|
|
4874
4874
|
*
|
|
4875
4875
|
* This source code is licensed under the ISC license.
|
|
4876
4876
|
* See the LICENSE file in the root directory of this source tree.
|
|
4877
4877
|
*/
|
|
4878
|
-
const
|
|
4878
|
+
const vl = [
|
|
4879
4879
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
4880
4880
|
["path", { d: "m15 9-6 6", key: "1uzhvr" }],
|
|
4881
4881
|
["path", { d: "m9 9 6 6", key: "z0biqf" }]
|
|
4882
|
-
], ud = Me("circle-x",
|
|
4882
|
+
], ud = Me("circle-x", vl);
|
|
4883
4883
|
/**
|
|
4884
4884
|
* @license lucide-react v0.563.0 - ISC
|
|
4885
4885
|
*
|
|
4886
4886
|
* This source code is licensed under the ISC license.
|
|
4887
4887
|
* See the LICENSE file in the root directory of this source tree.
|
|
4888
4888
|
*/
|
|
4889
|
-
const
|
|
4889
|
+
const yl = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], md = Me("loader-circle", yl);
|
|
4890
4890
|
/**
|
|
4891
4891
|
* @license lucide-react v0.563.0 - ISC
|
|
4892
4892
|
*
|
|
4893
4893
|
* This source code is licensed under the ISC license.
|
|
4894
4894
|
* See the LICENSE file in the root directory of this source tree.
|
|
4895
4895
|
*/
|
|
4896
|
-
const
|
|
4896
|
+
const bl = [
|
|
4897
4897
|
[
|
|
4898
4898
|
"path",
|
|
4899
4899
|
{
|
|
@@ -4903,28 +4903,28 @@ const bc = [
|
|
|
4903
4903
|
],
|
|
4904
4904
|
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
4905
4905
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
4906
|
-
], hd = Me("triangle-alert",
|
|
4906
|
+
], hd = Me("triangle-alert", bl);
|
|
4907
4907
|
/**
|
|
4908
4908
|
* @license lucide-react v0.563.0 - ISC
|
|
4909
4909
|
*
|
|
4910
4910
|
* This source code is licensed under the ISC license.
|
|
4911
4911
|
* See the LICENSE file in the root directory of this source tree.
|
|
4912
4912
|
*/
|
|
4913
|
-
const
|
|
4913
|
+
const xl = [
|
|
4914
4914
|
["path", { d: "M12 3v12", key: "1x0j5s" }],
|
|
4915
4915
|
["path", { d: "m17 8-5-5-5 5", key: "7q97r8" }],
|
|
4916
4916
|
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }]
|
|
4917
|
-
], gd = Me("upload",
|
|
4917
|
+
], gd = Me("upload", xl);
|
|
4918
4918
|
/**
|
|
4919
4919
|
* @license lucide-react v0.563.0 - ISC
|
|
4920
4920
|
*
|
|
4921
4921
|
* This source code is licensed under the ISC license.
|
|
4922
4922
|
* See the LICENSE file in the root directory of this source tree.
|
|
4923
4923
|
*/
|
|
4924
|
-
const
|
|
4924
|
+
const wl = [
|
|
4925
4925
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
4926
4926
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
4927
|
-
], vd = Me("x",
|
|
4927
|
+
], vd = Me("x", wl);
|
|
4928
4928
|
function ti(t) {
|
|
4929
4929
|
var e, r, n = "";
|
|
4930
4930
|
if (typeof t == "string" || typeof t == "number") n += t;
|
|
@@ -4938,21 +4938,21 @@ function yd() {
|
|
|
4938
4938
|
for (var t, e, r = 0, n = "", a = arguments.length; r < a; r++) (t = arguments[r]) && (e = ti(t)) && (n && (n += " "), n += e);
|
|
4939
4939
|
return n;
|
|
4940
4940
|
}
|
|
4941
|
-
const
|
|
4941
|
+
const kl = {}, Jn = (t) => {
|
|
4942
4942
|
let e;
|
|
4943
|
-
const r = /* @__PURE__ */ new Set(), n = (
|
|
4944
|
-
const b = typeof
|
|
4943
|
+
const r = /* @__PURE__ */ new Set(), n = (c, u) => {
|
|
4944
|
+
const b = typeof c == "function" ? c(e) : c;
|
|
4945
4945
|
if (!Object.is(b, e)) {
|
|
4946
4946
|
const x = e;
|
|
4947
4947
|
e = u ?? (typeof b != "object" || b === null) ? b : Object.assign({}, e, b), r.forEach((f) => f(e, x));
|
|
4948
4948
|
}
|
|
4949
|
-
}, a = () => e, d = { setState: n, getState: a, getInitialState: () =>
|
|
4950
|
-
(
|
|
4949
|
+
}, a = () => e, d = { setState: n, getState: a, getInitialState: () => l, subscribe: (c) => (r.add(c), () => r.delete(c)), destroy: () => {
|
|
4950
|
+
(kl ? "production" : void 0) !== "production" && console.warn(
|
|
4951
4951
|
"[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."
|
|
4952
4952
|
), r.clear();
|
|
4953
|
-
} },
|
|
4953
|
+
} }, l = e = t(n, a, d);
|
|
4954
4954
|
return d;
|
|
4955
|
-
},
|
|
4955
|
+
}, _l = (t) => t ? Jn(t) : Jn;
|
|
4956
4956
|
var Ur = { exports: {} }, Tr = {}, Dt = { exports: {} }, Or = {};
|
|
4957
4957
|
/**
|
|
4958
4958
|
* @license React
|
|
@@ -4964,10 +4964,10 @@ var Ur = { exports: {} }, Tr = {}, Dt = { exports: {} }, Or = {};
|
|
|
4964
4964
|
* LICENSE file in the root directory of this source tree.
|
|
4965
4965
|
*/
|
|
4966
4966
|
var Gn;
|
|
4967
|
-
function
|
|
4967
|
+
function Sl() {
|
|
4968
4968
|
if (Gn) return Or;
|
|
4969
4969
|
Gn = 1;
|
|
4970
|
-
var t =
|
|
4970
|
+
var t = lt;
|
|
4971
4971
|
function e(u, b) {
|
|
4972
4972
|
return u === b && (u !== 0 || 1 / u === 1 / b) || u !== u && b !== b;
|
|
4973
4973
|
}
|
|
@@ -4998,11 +4998,11 @@ function Sc() {
|
|
|
4998
4998
|
return !0;
|
|
4999
4999
|
}
|
|
5000
5000
|
}
|
|
5001
|
-
function
|
|
5001
|
+
function l(u, b) {
|
|
5002
5002
|
return b();
|
|
5003
5003
|
}
|
|
5004
|
-
var
|
|
5005
|
-
return Or.useSyncExternalStore = t.useSyncExternalStore !== void 0 ? t.useSyncExternalStore :
|
|
5004
|
+
var c = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? l : s;
|
|
5005
|
+
return Or.useSyncExternalStore = t.useSyncExternalStore !== void 0 ? t.useSyncExternalStore : c, Or;
|
|
5006
5006
|
}
|
|
5007
5007
|
var Cr = {};
|
|
5008
5008
|
/**
|
|
@@ -5015,13 +5015,13 @@ var Cr = {};
|
|
|
5015
5015
|
* LICENSE file in the root directory of this source tree.
|
|
5016
5016
|
*/
|
|
5017
5017
|
var Xn;
|
|
5018
|
-
function
|
|
5018
|
+
function El() {
|
|
5019
5019
|
return Xn || (Xn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
5020
5020
|
function t(x, f) {
|
|
5021
5021
|
return x === f && (x !== 0 || 1 / x === 1 / f) || x !== x && f !== f;
|
|
5022
5022
|
}
|
|
5023
5023
|
function e(x, f) {
|
|
5024
|
-
|
|
5024
|
+
c || a.startTransition === void 0 || (c = !0, console.error(
|
|
5025
5025
|
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
5026
5026
|
));
|
|
5027
5027
|
var m = f();
|
|
@@ -5047,7 +5047,7 @@ function Ec() {
|
|
|
5047
5047
|
});
|
|
5048
5048
|
},
|
|
5049
5049
|
[x]
|
|
5050
|
-
),
|
|
5050
|
+
), l(m), m;
|
|
5051
5051
|
}
|
|
5052
5052
|
function r(x) {
|
|
5053
5053
|
var f = x.getSnapshot;
|
|
@@ -5063,13 +5063,13 @@ function Ec() {
|
|
|
5063
5063
|
return f();
|
|
5064
5064
|
}
|
|
5065
5065
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
5066
|
-
var a =
|
|
5066
|
+
var a = lt, i = typeof Object.is == "function" ? Object.is : t, o = a.useState, s = a.useEffect, d = a.useLayoutEffect, l = a.useDebugValue, c = !1, u = !1, b = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? n : e;
|
|
5067
5067
|
Cr.useSyncExternalStore = a.useSyncExternalStore !== void 0 ? a.useSyncExternalStore : b, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
5068
5068
|
}()), Cr;
|
|
5069
5069
|
}
|
|
5070
5070
|
var Qn;
|
|
5071
5071
|
function ri() {
|
|
5072
|
-
return Qn || (Qn = 1, process.env.NODE_ENV === "production" ? Dt.exports =
|
|
5072
|
+
return Qn || (Qn = 1, process.env.NODE_ENV === "production" ? Dt.exports = Sl() : Dt.exports = El()), Dt.exports;
|
|
5073
5073
|
}
|
|
5074
5074
|
/**
|
|
5075
5075
|
* @license React
|
|
@@ -5081,15 +5081,15 @@ function ri() {
|
|
|
5081
5081
|
* LICENSE file in the root directory of this source tree.
|
|
5082
5082
|
*/
|
|
5083
5083
|
var ea;
|
|
5084
|
-
function
|
|
5084
|
+
function Tl() {
|
|
5085
5085
|
if (ea) return Tr;
|
|
5086
5086
|
ea = 1;
|
|
5087
|
-
var t =
|
|
5088
|
-
function r(
|
|
5089
|
-
return
|
|
5087
|
+
var t = lt, e = ri();
|
|
5088
|
+
function r(l, c) {
|
|
5089
|
+
return l === c && (l !== 0 || 1 / l === 1 / c) || l !== l && c !== c;
|
|
5090
5090
|
}
|
|
5091
5091
|
var n = typeof Object.is == "function" ? Object.is : r, a = e.useSyncExternalStore, i = t.useRef, o = t.useEffect, s = t.useMemo, d = t.useDebugValue;
|
|
5092
|
-
return Tr.useSyncExternalStoreWithSelector = function(
|
|
5092
|
+
return Tr.useSyncExternalStoreWithSelector = function(l, c, u, b, x) {
|
|
5093
5093
|
var f = i(null);
|
|
5094
5094
|
if (f.current === null) {
|
|
5095
5095
|
var m = { hasValue: !1, value: null };
|
|
@@ -5113,16 +5113,16 @@ function Tc() {
|
|
|
5113
5113
|
var K = !1, R, N, y = u === void 0 ? null : u;
|
|
5114
5114
|
return [
|
|
5115
5115
|
function() {
|
|
5116
|
-
return A(
|
|
5116
|
+
return A(c());
|
|
5117
5117
|
},
|
|
5118
5118
|
y === null ? void 0 : function() {
|
|
5119
5119
|
return A(y());
|
|
5120
5120
|
}
|
|
5121
5121
|
];
|
|
5122
5122
|
},
|
|
5123
|
-
[
|
|
5123
|
+
[c, u, b, x]
|
|
5124
5124
|
);
|
|
5125
|
-
var h = a(
|
|
5125
|
+
var h = a(l, f[0], f[1]);
|
|
5126
5126
|
return o(
|
|
5127
5127
|
function() {
|
|
5128
5128
|
m.hasValue = !0, m.value = h;
|
|
@@ -5142,14 +5142,14 @@ var Ar = {};
|
|
|
5142
5142
|
* LICENSE file in the root directory of this source tree.
|
|
5143
5143
|
*/
|
|
5144
5144
|
var ta;
|
|
5145
|
-
function
|
|
5145
|
+
function Ol() {
|
|
5146
5146
|
return ta || (ta = 1, process.env.NODE_ENV !== "production" && function() {
|
|
5147
|
-
function t(
|
|
5148
|
-
return
|
|
5147
|
+
function t(l, c) {
|
|
5148
|
+
return l === c && (l !== 0 || 1 / l === 1 / c) || l !== l && c !== c;
|
|
5149
5149
|
}
|
|
5150
5150
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
5151
|
-
var e =
|
|
5152
|
-
Ar.useSyncExternalStoreWithSelector = function(
|
|
5151
|
+
var e = lt, r = ri(), n = typeof Object.is == "function" ? Object.is : t, a = r.useSyncExternalStore, i = e.useRef, o = e.useEffect, s = e.useMemo, d = e.useDebugValue;
|
|
5152
|
+
Ar.useSyncExternalStoreWithSelector = function(l, c, u, b, x) {
|
|
5153
5153
|
var f = i(null);
|
|
5154
5154
|
if (f.current === null) {
|
|
5155
5155
|
var m = { hasValue: !1, value: null };
|
|
@@ -5174,16 +5174,16 @@ function Oc() {
|
|
|
5174
5174
|
var K = !1, R, N, y = u === void 0 ? null : u;
|
|
5175
5175
|
return [
|
|
5176
5176
|
function() {
|
|
5177
|
-
return A(
|
|
5177
|
+
return A(c());
|
|
5178
5178
|
},
|
|
5179
5179
|
y === null ? void 0 : function() {
|
|
5180
5180
|
return A(y());
|
|
5181
5181
|
}
|
|
5182
5182
|
];
|
|
5183
5183
|
},
|
|
5184
|
-
[
|
|
5184
|
+
[c, u, b, x]
|
|
5185
5185
|
);
|
|
5186
|
-
var h = a(
|
|
5186
|
+
var h = a(l, f[0], f[1]);
|
|
5187
5187
|
return o(
|
|
5188
5188
|
function() {
|
|
5189
5189
|
m.hasValue = !0, m.value = h;
|
|
@@ -5193,29 +5193,29 @@ function Oc() {
|
|
|
5193
5193
|
}, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
5194
5194
|
}()), Ar;
|
|
5195
5195
|
}
|
|
5196
|
-
process.env.NODE_ENV === "production" ? Ur.exports =
|
|
5197
|
-
var
|
|
5198
|
-
const
|
|
5196
|
+
process.env.NODE_ENV === "production" ? Ur.exports = Tl() : Ur.exports = Ol();
|
|
5197
|
+
var Cl = Ur.exports;
|
|
5198
|
+
const Al = /* @__PURE__ */ $a(Cl), ni = {}, { useDebugValue: Rl } = lt, { useSyncExternalStoreWithSelector: jl } = Al;
|
|
5199
5199
|
let ra = !1;
|
|
5200
|
-
const
|
|
5201
|
-
function
|
|
5200
|
+
const Dl = (t) => t;
|
|
5201
|
+
function Pl(t, e = Dl, r) {
|
|
5202
5202
|
(ni ? "production" : void 0) !== "production" && r && !ra && (console.warn(
|
|
5203
5203
|
"[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"
|
|
5204
5204
|
), ra = !0);
|
|
5205
|
-
const n =
|
|
5205
|
+
const n = jl(
|
|
5206
5206
|
t.subscribe,
|
|
5207
5207
|
t.getState,
|
|
5208
5208
|
t.getServerState || t.getInitialState,
|
|
5209
5209
|
e,
|
|
5210
5210
|
r
|
|
5211
5211
|
);
|
|
5212
|
-
return
|
|
5212
|
+
return Rl(n), n;
|
|
5213
5213
|
}
|
|
5214
5214
|
const na = (t) => {
|
|
5215
5215
|
(ni ? "production" : void 0) !== "production" && typeof t != "function" && console.warn(
|
|
5216
5216
|
"[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`."
|
|
5217
5217
|
);
|
|
5218
|
-
const e = typeof t == "function" ?
|
|
5218
|
+
const e = typeof t == "function" ? _l(t) : t, r = (n, a) => Pl(e, n, a);
|
|
5219
5219
|
return Object.assign(r, e), r;
|
|
5220
5220
|
}, bd = (t) => t ? na(t) : na;
|
|
5221
5221
|
var W;
|
|
@@ -5352,8 +5352,8 @@ class ze extends Error {
|
|
|
5352
5352
|
else {
|
|
5353
5353
|
let s = n, d = 0;
|
|
5354
5354
|
for (; d < o.path.length; ) {
|
|
5355
|
-
const
|
|
5356
|
-
d === o.path.length - 1 ? (s[
|
|
5355
|
+
const l = o.path[d];
|
|
5356
|
+
d === o.path.length - 1 ? (s[l] = s[l] || { _errors: [] }, s[l]._errors.push(r(o))) : s[l] = s[l] || { _errors: [] }, s = s[l], d++;
|
|
5357
5357
|
}
|
|
5358
5358
|
}
|
|
5359
5359
|
};
|
|
@@ -5443,11 +5443,11 @@ const Zr = (t, e) => {
|
|
|
5443
5443
|
}
|
|
5444
5444
|
return { message: r };
|
|
5445
5445
|
};
|
|
5446
|
-
let
|
|
5447
|
-
function
|
|
5448
|
-
return
|
|
5446
|
+
let Il = Zr;
|
|
5447
|
+
function Nl() {
|
|
5448
|
+
return Il;
|
|
5449
5449
|
}
|
|
5450
|
-
const
|
|
5450
|
+
const Fl = (t) => {
|
|
5451
5451
|
const { data: e, path: r, errorMaps: n, issueData: a } = t, i = [...r, ...a.path || []], o = {
|
|
5452
5452
|
...a,
|
|
5453
5453
|
path: i
|
|
@@ -5459,9 +5459,9 @@ const Fc = (t) => {
|
|
|
5459
5459
|
message: a.message
|
|
5460
5460
|
};
|
|
5461
5461
|
let s = "";
|
|
5462
|
-
const d = n.filter((
|
|
5463
|
-
for (const
|
|
5464
|
-
s =
|
|
5462
|
+
const d = n.filter((l) => !!l).slice().reverse();
|
|
5463
|
+
for (const l of d)
|
|
5464
|
+
s = l(o, { data: e, defaultError: s }).message;
|
|
5465
5465
|
return {
|
|
5466
5466
|
...a,
|
|
5467
5467
|
path: i,
|
|
@@ -5469,7 +5469,7 @@ const Fc = (t) => {
|
|
|
5469
5469
|
};
|
|
5470
5470
|
};
|
|
5471
5471
|
function _(t, e) {
|
|
5472
|
-
const r =
|
|
5472
|
+
const r = Nl(), n = Fl({
|
|
5473
5473
|
issueData: e,
|
|
5474
5474
|
data: t.data,
|
|
5475
5475
|
path: t.path,
|
|
@@ -5787,28 +5787,28 @@ class V {
|
|
|
5787
5787
|
return this.safeParse(null).success;
|
|
5788
5788
|
}
|
|
5789
5789
|
}
|
|
5790
|
-
const
|
|
5790
|
+
const zl = /^c[^\s-]{8,}$/i, Ll = /^[0-9a-z]+$/, ql = /^[0-9A-HJKMNP-TV-Z]{26}$/i, Ml = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, $l = /^[a-z0-9_-]{21}$/i, Bl = /^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/, Ul = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, Zl = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, Vl = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
|
|
5791
5791
|
let Rr;
|
|
5792
|
-
const
|
|
5792
|
+
const Hl = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, Wl = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/, Yl = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/, Kl = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, Jl = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, Gl = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/, ai = "((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))", Xl = new RegExp(`^${ai}$`);
|
|
5793
5793
|
function ii(t) {
|
|
5794
5794
|
let e = "[0-5]\\d";
|
|
5795
5795
|
t.precision ? e = `${e}\\.\\d{${t.precision}}` : t.precision == null && (e = `${e}(\\.\\d+)?`);
|
|
5796
5796
|
const r = t.precision ? "+" : "?";
|
|
5797
5797
|
return `([01]\\d|2[0-3]):[0-5]\\d(:${e})${r}`;
|
|
5798
5798
|
}
|
|
5799
|
-
function
|
|
5799
|
+
function Ql(t) {
|
|
5800
5800
|
return new RegExp(`^${ii(t)}$`);
|
|
5801
5801
|
}
|
|
5802
|
-
function
|
|
5802
|
+
function ec(t) {
|
|
5803
5803
|
let e = `${ai}T${ii(t)}`;
|
|
5804
5804
|
const r = [];
|
|
5805
5805
|
return r.push(t.local ? "Z?" : "Z"), t.offset && r.push("([+-]\\d{2}:?\\d{2})"), e = `${e}(${r.join("|")})`, new RegExp(`^${e}$`);
|
|
5806
5806
|
}
|
|
5807
|
-
function
|
|
5808
|
-
return !!((e === "v4" || !e) &&
|
|
5807
|
+
function tc(t, e) {
|
|
5808
|
+
return !!((e === "v4" || !e) && Hl.test(t) || (e === "v6" || !e) && Yl.test(t));
|
|
5809
5809
|
}
|
|
5810
|
-
function
|
|
5811
|
-
if (!
|
|
5810
|
+
function rc(t, e) {
|
|
5811
|
+
if (!Bl.test(t))
|
|
5812
5812
|
return !1;
|
|
5813
5813
|
try {
|
|
5814
5814
|
const [r] = t.split(".");
|
|
@@ -5820,8 +5820,8 @@ function rl(t, e) {
|
|
|
5820
5820
|
return !1;
|
|
5821
5821
|
}
|
|
5822
5822
|
}
|
|
5823
|
-
function
|
|
5824
|
-
return !!((e === "v4" || !e) &&
|
|
5823
|
+
function nc(t, e) {
|
|
5824
|
+
return !!((e === "v4" || !e) && Wl.test(t) || (e === "v6" || !e) && Kl.test(t));
|
|
5825
5825
|
}
|
|
5826
5826
|
class Ne extends V {
|
|
5827
5827
|
_parse(e) {
|
|
@@ -5872,43 +5872,43 @@ class Ne extends V {
|
|
|
5872
5872
|
message: i.message
|
|
5873
5873
|
}), n.dirty());
|
|
5874
5874
|
} else if (i.kind === "email")
|
|
5875
|
-
|
|
5875
|
+
Zl.test(e.data) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5876
5876
|
validation: "email",
|
|
5877
5877
|
code: g.invalid_string,
|
|
5878
5878
|
message: i.message
|
|
5879
5879
|
}), n.dirty());
|
|
5880
5880
|
else if (i.kind === "emoji")
|
|
5881
|
-
Rr || (Rr = new RegExp(
|
|
5881
|
+
Rr || (Rr = new RegExp(Vl, "u")), Rr.test(e.data) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5882
5882
|
validation: "emoji",
|
|
5883
5883
|
code: g.invalid_string,
|
|
5884
5884
|
message: i.message
|
|
5885
5885
|
}), n.dirty());
|
|
5886
5886
|
else if (i.kind === "uuid")
|
|
5887
|
-
|
|
5887
|
+
Ml.test(e.data) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5888
5888
|
validation: "uuid",
|
|
5889
5889
|
code: g.invalid_string,
|
|
5890
5890
|
message: i.message
|
|
5891
5891
|
}), n.dirty());
|
|
5892
5892
|
else if (i.kind === "nanoid")
|
|
5893
|
-
$
|
|
5893
|
+
$l.test(e.data) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5894
5894
|
validation: "nanoid",
|
|
5895
5895
|
code: g.invalid_string,
|
|
5896
5896
|
message: i.message
|
|
5897
5897
|
}), n.dirty());
|
|
5898
5898
|
else if (i.kind === "cuid")
|
|
5899
|
-
|
|
5899
|
+
zl.test(e.data) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5900
5900
|
validation: "cuid",
|
|
5901
5901
|
code: g.invalid_string,
|
|
5902
5902
|
message: i.message
|
|
5903
5903
|
}), n.dirty());
|
|
5904
5904
|
else if (i.kind === "cuid2")
|
|
5905
|
-
|
|
5905
|
+
Ll.test(e.data) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5906
5906
|
validation: "cuid2",
|
|
5907
5907
|
code: g.invalid_string,
|
|
5908
5908
|
message: i.message
|
|
5909
5909
|
}), n.dirty());
|
|
5910
5910
|
else if (i.kind === "ulid")
|
|
5911
|
-
|
|
5911
|
+
ql.test(e.data) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5912
5912
|
validation: "ulid",
|
|
5913
5913
|
code: g.invalid_string,
|
|
5914
5914
|
message: i.message
|
|
@@ -5939,39 +5939,39 @@ class Ne extends V {
|
|
|
5939
5939
|
code: g.invalid_string,
|
|
5940
5940
|
validation: { endsWith: i.value },
|
|
5941
5941
|
message: i.message
|
|
5942
|
-
}), n.dirty()) : i.kind === "datetime" ?
|
|
5942
|
+
}), n.dirty()) : i.kind === "datetime" ? ec(i).test(e.data) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5943
5943
|
code: g.invalid_string,
|
|
5944
5944
|
validation: "datetime",
|
|
5945
5945
|
message: i.message
|
|
5946
|
-
}), n.dirty()) : i.kind === "date" ?
|
|
5946
|
+
}), n.dirty()) : i.kind === "date" ? Xl.test(e.data) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5947
5947
|
code: g.invalid_string,
|
|
5948
5948
|
validation: "date",
|
|
5949
5949
|
message: i.message
|
|
5950
|
-
}), n.dirty()) : i.kind === "time" ?
|
|
5950
|
+
}), n.dirty()) : i.kind === "time" ? Ql(i).test(e.data) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5951
5951
|
code: g.invalid_string,
|
|
5952
5952
|
validation: "time",
|
|
5953
5953
|
message: i.message
|
|
5954
|
-
}), n.dirty()) : i.kind === "duration" ?
|
|
5954
|
+
}), n.dirty()) : i.kind === "duration" ? Ul.test(e.data) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5955
5955
|
validation: "duration",
|
|
5956
5956
|
code: g.invalid_string,
|
|
5957
5957
|
message: i.message
|
|
5958
|
-
}), n.dirty()) : i.kind === "ip" ?
|
|
5958
|
+
}), n.dirty()) : i.kind === "ip" ? tc(e.data, i.version) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5959
5959
|
validation: "ip",
|
|
5960
5960
|
code: g.invalid_string,
|
|
5961
5961
|
message: i.message
|
|
5962
|
-
}), n.dirty()) : i.kind === "jwt" ?
|
|
5962
|
+
}), n.dirty()) : i.kind === "jwt" ? rc(e.data, i.alg) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5963
5963
|
validation: "jwt",
|
|
5964
5964
|
code: g.invalid_string,
|
|
5965
5965
|
message: i.message
|
|
5966
|
-
}), n.dirty()) : i.kind === "cidr" ?
|
|
5966
|
+
}), n.dirty()) : i.kind === "cidr" ? nc(e.data, i.version) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5967
5967
|
validation: "cidr",
|
|
5968
5968
|
code: g.invalid_string,
|
|
5969
5969
|
message: i.message
|
|
5970
|
-
}), n.dirty()) : i.kind === "base64" ?
|
|
5970
|
+
}), n.dirty()) : i.kind === "base64" ? Jl.test(e.data) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5971
5971
|
validation: "base64",
|
|
5972
5972
|
code: g.invalid_string,
|
|
5973
5973
|
message: i.message
|
|
5974
|
-
}), n.dirty()) : i.kind === "base64url" ?
|
|
5974
|
+
}), n.dirty()) : i.kind === "base64url" ? Gl.test(e.data) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5975
5975
|
validation: "base64url",
|
|
5976
5976
|
code: g.invalid_string,
|
|
5977
5977
|
message: i.message
|
|
@@ -6206,7 +6206,7 @@ Ne.create = (t) => new Ne({
|
|
|
6206
6206
|
coerce: (t == null ? void 0 : t.coerce) ?? !1,
|
|
6207
6207
|
...q(t)
|
|
6208
6208
|
});
|
|
6209
|
-
function
|
|
6209
|
+
function ac(t, e) {
|
|
6210
6210
|
const r = (t.toString().split(".")[1] || "").length, n = (e.toString().split(".")[1] || "").length, a = r > n ? r : n, i = Number.parseInt(t.toFixed(a).replace(".", "")), o = Number.parseInt(e.toFixed(a).replace(".", ""));
|
|
6211
6211
|
return i % o / 10 ** a;
|
|
6212
6212
|
}
|
|
@@ -6245,7 +6245,7 @@ class st extends V {
|
|
|
6245
6245
|
inclusive: i.inclusive,
|
|
6246
6246
|
exact: !1,
|
|
6247
6247
|
message: i.message
|
|
6248
|
-
}), a.dirty()) : i.kind === "multipleOf" ?
|
|
6248
|
+
}), a.dirty()) : i.kind === "multipleOf" ? ac(e.data, i.value) !== 0 && (n = this._getOrReturnCtx(e, n), _(n, {
|
|
6249
6249
|
code: g.not_multiple_of,
|
|
6250
6250
|
multipleOf: i.value,
|
|
6251
6251
|
message: i.message
|
|
@@ -6611,7 +6611,7 @@ Bt.create = (t) => new Bt({
|
|
|
6611
6611
|
typeName: I.ZodDate,
|
|
6612
6612
|
...q(t)
|
|
6613
6613
|
});
|
|
6614
|
-
class
|
|
6614
|
+
class la extends V {
|
|
6615
6615
|
_parse(e) {
|
|
6616
6616
|
if (this._getType(e) !== T.symbol) {
|
|
6617
6617
|
const n = this._getOrReturnCtx(e);
|
|
@@ -6624,7 +6624,7 @@ class ca extends V {
|
|
|
6624
6624
|
return Te(e.data);
|
|
6625
6625
|
}
|
|
6626
6626
|
}
|
|
6627
|
-
|
|
6627
|
+
la.create = (t) => new la({
|
|
6628
6628
|
typeName: I.ZodSymbol,
|
|
6629
6629
|
...q(t)
|
|
6630
6630
|
});
|
|
@@ -6662,7 +6662,7 @@ Ut.create = (t) => new Ut({
|
|
|
6662
6662
|
typeName: I.ZodNull,
|
|
6663
6663
|
...q(t)
|
|
6664
6664
|
});
|
|
6665
|
-
class
|
|
6665
|
+
class ca extends V {
|
|
6666
6666
|
constructor() {
|
|
6667
6667
|
super(...arguments), this._any = !0;
|
|
6668
6668
|
}
|
|
@@ -6670,7 +6670,7 @@ class la extends V {
|
|
|
6670
6670
|
return Te(e.data);
|
|
6671
6671
|
}
|
|
6672
6672
|
}
|
|
6673
|
-
|
|
6673
|
+
ca.create = (t) => new ca({
|
|
6674
6674
|
typeName: I.ZodAny,
|
|
6675
6675
|
...q(t)
|
|
6676
6676
|
});
|
|
@@ -6818,66 +6818,66 @@ class se extends V {
|
|
|
6818
6818
|
}
|
|
6819
6819
|
_parse(e) {
|
|
6820
6820
|
if (this._getType(e) !== T.object) {
|
|
6821
|
-
const
|
|
6822
|
-
return _(
|
|
6821
|
+
const l = this._getOrReturnCtx(e);
|
|
6822
|
+
return _(l, {
|
|
6823
6823
|
code: g.invalid_type,
|
|
6824
6824
|
expected: T.object,
|
|
6825
|
-
received:
|
|
6825
|
+
received: l.parsedType
|
|
6826
6826
|
}), P;
|
|
6827
6827
|
}
|
|
6828
6828
|
const { status: n, ctx: a } = this._processInputParams(e), { shape: i, keys: o } = this._getCached(), s = [];
|
|
6829
6829
|
if (!(this._def.catchall instanceof qe && this._def.unknownKeys === "strip"))
|
|
6830
|
-
for (const
|
|
6831
|
-
o.includes(
|
|
6830
|
+
for (const l in a.data)
|
|
6831
|
+
o.includes(l) || s.push(l);
|
|
6832
6832
|
const d = [];
|
|
6833
|
-
for (const
|
|
6834
|
-
const
|
|
6833
|
+
for (const l of o) {
|
|
6834
|
+
const c = i[l], u = a.data[l];
|
|
6835
6835
|
d.push({
|
|
6836
|
-
key: { status: "valid", value:
|
|
6837
|
-
value:
|
|
6838
|
-
alwaysSet:
|
|
6836
|
+
key: { status: "valid", value: l },
|
|
6837
|
+
value: c._parse(new Pe(a, u, a.path, l)),
|
|
6838
|
+
alwaysSet: l in a.data
|
|
6839
6839
|
});
|
|
6840
6840
|
}
|
|
6841
6841
|
if (this._def.catchall instanceof qe) {
|
|
6842
|
-
const
|
|
6843
|
-
if (
|
|
6844
|
-
for (const
|
|
6842
|
+
const l = this._def.unknownKeys;
|
|
6843
|
+
if (l === "passthrough")
|
|
6844
|
+
for (const c of s)
|
|
6845
6845
|
d.push({
|
|
6846
|
-
key: { status: "valid", value:
|
|
6847
|
-
value: { status: "valid", value: a.data[
|
|
6846
|
+
key: { status: "valid", value: c },
|
|
6847
|
+
value: { status: "valid", value: a.data[c] }
|
|
6848
6848
|
});
|
|
6849
|
-
else if (
|
|
6849
|
+
else if (l === "strict")
|
|
6850
6850
|
s.length > 0 && (_(a, {
|
|
6851
6851
|
code: g.unrecognized_keys,
|
|
6852
6852
|
keys: s
|
|
6853
6853
|
}), n.dirty());
|
|
6854
|
-
else if (
|
|
6854
|
+
else if (l !== "strip") throw new Error("Internal ZodObject error: invalid unknownKeys value.");
|
|
6855
6855
|
} else {
|
|
6856
|
-
const
|
|
6857
|
-
for (const
|
|
6858
|
-
const u = a.data[
|
|
6856
|
+
const l = this._def.catchall;
|
|
6857
|
+
for (const c of s) {
|
|
6858
|
+
const u = a.data[c];
|
|
6859
6859
|
d.push({
|
|
6860
|
-
key: { status: "valid", value:
|
|
6861
|
-
value:
|
|
6862
|
-
new Pe(a, u, a.path,
|
|
6860
|
+
key: { status: "valid", value: c },
|
|
6861
|
+
value: l._parse(
|
|
6862
|
+
new Pe(a, u, a.path, c)
|
|
6863
6863
|
//, ctx.child(key), value, getParsedType(value)
|
|
6864
6864
|
),
|
|
6865
|
-
alwaysSet:
|
|
6865
|
+
alwaysSet: c in a.data
|
|
6866
6866
|
});
|
|
6867
6867
|
}
|
|
6868
6868
|
}
|
|
6869
6869
|
return a.common.async ? Promise.resolve().then(async () => {
|
|
6870
|
-
const
|
|
6871
|
-
for (const
|
|
6872
|
-
const u = await
|
|
6873
|
-
|
|
6870
|
+
const l = [];
|
|
6871
|
+
for (const c of d) {
|
|
6872
|
+
const u = await c.key, b = await c.value;
|
|
6873
|
+
l.push({
|
|
6874
6874
|
key: u,
|
|
6875
6875
|
value: b,
|
|
6876
|
-
alwaysSet:
|
|
6876
|
+
alwaysSet: c.alwaysSet
|
|
6877
6877
|
});
|
|
6878
6878
|
}
|
|
6879
|
-
return
|
|
6880
|
-
}).then((
|
|
6879
|
+
return l;
|
|
6880
|
+
}).then((l) => me.mergeObjectSync(n, l)) : me.mergeObjectSync(n, d);
|
|
6881
6881
|
}
|
|
6882
6882
|
get shape() {
|
|
6883
6883
|
return this._def.shape();
|
|
@@ -7133,21 +7133,21 @@ class Zt extends V {
|
|
|
7133
7133
|
let i;
|
|
7134
7134
|
const o = [];
|
|
7135
7135
|
for (const d of n) {
|
|
7136
|
-
const
|
|
7136
|
+
const l = {
|
|
7137
7137
|
...r,
|
|
7138
7138
|
common: {
|
|
7139
7139
|
...r.common,
|
|
7140
7140
|
issues: []
|
|
7141
7141
|
},
|
|
7142
7142
|
parent: null
|
|
7143
|
-
},
|
|
7143
|
+
}, c = d._parseSync({
|
|
7144
7144
|
data: r.data,
|
|
7145
7145
|
path: r.path,
|
|
7146
|
-
parent:
|
|
7146
|
+
parent: l
|
|
7147
7147
|
});
|
|
7148
|
-
if (
|
|
7149
|
-
return
|
|
7150
|
-
|
|
7148
|
+
if (c.status === "valid")
|
|
7149
|
+
return c;
|
|
7150
|
+
c.status === "dirty" && !i && (i = { result: c, ctx: l }), l.common.issues.length && o.push(l.common.issues);
|
|
7151
7151
|
}
|
|
7152
7152
|
if (i)
|
|
7153
7153
|
return r.common.issues.push(...i.ctx.common.issues), i.result;
|
|
@@ -7400,28 +7400,28 @@ class pa extends V {
|
|
|
7400
7400
|
expected: T.map,
|
|
7401
7401
|
received: n.parsedType
|
|
7402
7402
|
}), P;
|
|
7403
|
-
const a = this._def.keyType, i = this._def.valueType, o = [...n.data.entries()].map(([s, d],
|
|
7404
|
-
key: a._parse(new Pe(n, s, n.path, [
|
|
7405
|
-
value: i._parse(new Pe(n, d, n.path, [
|
|
7403
|
+
const a = this._def.keyType, i = this._def.valueType, o = [...n.data.entries()].map(([s, d], l) => ({
|
|
7404
|
+
key: a._parse(new Pe(n, s, n.path, [l, "key"])),
|
|
7405
|
+
value: i._parse(new Pe(n, d, n.path, [l, "value"]))
|
|
7406
7406
|
}));
|
|
7407
7407
|
if (n.common.async) {
|
|
7408
7408
|
const s = /* @__PURE__ */ new Map();
|
|
7409
7409
|
return Promise.resolve().then(async () => {
|
|
7410
7410
|
for (const d of o) {
|
|
7411
|
-
const
|
|
7412
|
-
if (
|
|
7411
|
+
const l = await d.key, c = await d.value;
|
|
7412
|
+
if (l.status === "aborted" || c.status === "aborted")
|
|
7413
7413
|
return P;
|
|
7414
|
-
(
|
|
7414
|
+
(l.status === "dirty" || c.status === "dirty") && r.dirty(), s.set(l.value, c.value);
|
|
7415
7415
|
}
|
|
7416
7416
|
return { status: r.value, value: s };
|
|
7417
7417
|
});
|
|
7418
7418
|
} else {
|
|
7419
7419
|
const s = /* @__PURE__ */ new Map();
|
|
7420
7420
|
for (const d of o) {
|
|
7421
|
-
const
|
|
7422
|
-
if (
|
|
7421
|
+
const l = d.key, c = d.value;
|
|
7422
|
+
if (l.status === "aborted" || c.status === "aborted")
|
|
7423
7423
|
return P;
|
|
7424
|
-
(
|
|
7424
|
+
(l.status === "dirty" || c.status === "dirty") && r.dirty(), s.set(l.value, c.value);
|
|
7425
7425
|
}
|
|
7426
7426
|
return { status: r.value, value: s };
|
|
7427
7427
|
}
|
|
@@ -7460,15 +7460,15 @@ class yt extends V {
|
|
|
7460
7460
|
}), r.dirty());
|
|
7461
7461
|
const i = this._def.valueType;
|
|
7462
7462
|
function o(d) {
|
|
7463
|
-
const
|
|
7464
|
-
for (const
|
|
7465
|
-
if (
|
|
7463
|
+
const l = /* @__PURE__ */ new Set();
|
|
7464
|
+
for (const c of d) {
|
|
7465
|
+
if (c.status === "aborted")
|
|
7466
7466
|
return P;
|
|
7467
|
-
|
|
7467
|
+
c.status === "dirty" && r.dirty(), l.add(c.value);
|
|
7468
7468
|
}
|
|
7469
|
-
return { status: r.value, value:
|
|
7469
|
+
return { status: r.value, value: l };
|
|
7470
7470
|
}
|
|
7471
|
-
const s = [...n.data.values()].map((d,
|
|
7471
|
+
const s = [...n.data.values()].map((d, l) => i._parse(new Pe(n, d, n.path, l)));
|
|
7472
7472
|
return n.common.async ? Promise.all(s).then((d) => o(d)) : o(s);
|
|
7473
7473
|
}
|
|
7474
7474
|
min(e, r) {
|
|
@@ -7919,7 +7919,7 @@ var I;
|
|
|
7919
7919
|
})(I || (I = {}));
|
|
7920
7920
|
const E = Ne.create, J = st.create, Oe = Vr.create, sn = Ut.create, _t = Wr.create;
|
|
7921
7921
|
qe.create;
|
|
7922
|
-
const Ge = De.create, te = se.create,
|
|
7922
|
+
const Ge = De.create, te = se.create, ln = Zt.create, ic = an.create;
|
|
7923
7923
|
Vt.create;
|
|
7924
7924
|
He.create;
|
|
7925
7925
|
const St = Ht.create, ar = Wt.create, he = We.create;
|
|
@@ -7995,7 +7995,7 @@ var rt = {
|
|
|
7995
7995
|
({
|
|
7996
7996
|
...rt.colors
|
|
7997
7997
|
});
|
|
7998
|
-
var
|
|
7998
|
+
var oc = he([
|
|
7999
7999
|
"string",
|
|
8000
8000
|
"number",
|
|
8001
8001
|
"integer",
|
|
@@ -8007,7 +8007,7 @@ var ol = he([
|
|
|
8007
8007
|
"phone",
|
|
8008
8008
|
"url",
|
|
8009
8009
|
"enum"
|
|
8010
|
-
]),
|
|
8010
|
+
]), li = he([
|
|
8011
8011
|
"required",
|
|
8012
8012
|
"email",
|
|
8013
8013
|
"phone",
|
|
@@ -8024,12 +8024,12 @@ var ol = he([
|
|
|
8024
8024
|
"enum",
|
|
8025
8025
|
"unique",
|
|
8026
8026
|
"custom"
|
|
8027
|
-
]),
|
|
8028
|
-
type:
|
|
8027
|
+
]), ci = he(["error", "warning", "info"]), sc = te({
|
|
8028
|
+
type: li,
|
|
8029
8029
|
params: St(_t()).optional(),
|
|
8030
8030
|
message: E().optional(),
|
|
8031
|
-
severity:
|
|
8032
|
-
}),
|
|
8031
|
+
severity: ci.optional().default("error")
|
|
8032
|
+
}), lc = he([
|
|
8033
8033
|
"trim",
|
|
8034
8034
|
"lowercase",
|
|
8035
8035
|
"uppercase",
|
|
@@ -8039,27 +8039,27 @@ var ol = he([
|
|
|
8039
8039
|
"toBoolean",
|
|
8040
8040
|
"replace",
|
|
8041
8041
|
"custom"
|
|
8042
|
-
]),
|
|
8043
|
-
type:
|
|
8042
|
+
]), cc = te({
|
|
8043
|
+
type: lc,
|
|
8044
8044
|
params: St(_t()).optional()
|
|
8045
|
-
}),
|
|
8045
|
+
}), dc = te({
|
|
8046
8046
|
key: E().min(1).max(100),
|
|
8047
8047
|
label: E().min(1).max(200),
|
|
8048
|
-
type:
|
|
8048
|
+
type: oc,
|
|
8049
8049
|
required: Oe().optional().default(!1),
|
|
8050
8050
|
description: E().max(500).optional(),
|
|
8051
|
-
validators: Ge(
|
|
8052
|
-
transform:
|
|
8053
|
-
}),
|
|
8051
|
+
validators: Ge(sc).optional(),
|
|
8052
|
+
transform: cc.optional()
|
|
8053
|
+
}), pc = te({
|
|
8054
8054
|
allowExtraColumns: Oe().optional().default(!1),
|
|
8055
8055
|
skipEmptyRows: Oe().optional().default(!0),
|
|
8056
8056
|
trimWhitespace: Oe().optional().default(!0),
|
|
8057
8057
|
dateFormat: E().optional(),
|
|
8058
8058
|
uniqueKeys: Ge(E()).optional(),
|
|
8059
8059
|
maxRows: J().int().positive().optional().default(1e5)
|
|
8060
|
-
}),
|
|
8061
|
-
columns: Ge(
|
|
8062
|
-
options:
|
|
8060
|
+
}), fc = te({
|
|
8061
|
+
columns: Ge(dc).min(1),
|
|
8062
|
+
options: pc.optional()
|
|
8063
8063
|
});
|
|
8064
8064
|
he([
|
|
8065
8065
|
"created",
|
|
@@ -8076,10 +8076,10 @@ he([
|
|
|
8076
8076
|
"cancelled"
|
|
8077
8077
|
]);
|
|
8078
8078
|
te({
|
|
8079
|
-
schema:
|
|
8079
|
+
schema: fc,
|
|
8080
8080
|
metadata: St(_t()).optional()
|
|
8081
8081
|
});
|
|
8082
|
-
var
|
|
8082
|
+
var uc = te({
|
|
8083
8083
|
sourceColumn: E(),
|
|
8084
8084
|
targetKey: E().nullable(),
|
|
8085
8085
|
confidence: J().min(0).max(1),
|
|
@@ -8088,14 +8088,14 @@ var ul = te({
|
|
|
8088
8088
|
});
|
|
8089
8089
|
te({
|
|
8090
8090
|
sessionId: E().uuid(),
|
|
8091
|
-
mappings: Ge(
|
|
8091
|
+
mappings: Ge(uc)
|
|
8092
8092
|
});
|
|
8093
8093
|
te({
|
|
8094
8094
|
rowIndex: J().int().nonnegative(),
|
|
8095
8095
|
columnKey: E(),
|
|
8096
|
-
value:
|
|
8097
|
-
severity:
|
|
8098
|
-
validatorType:
|
|
8096
|
+
value: ln([E(), J(), Oe(), sn()]),
|
|
8097
|
+
severity: ci,
|
|
8098
|
+
validatorType: li,
|
|
8099
8099
|
message: E(),
|
|
8100
8100
|
suggestion: E().optional()
|
|
8101
8101
|
});
|
|
@@ -8103,7 +8103,7 @@ te({
|
|
|
8103
8103
|
sessionId: E().uuid(),
|
|
8104
8104
|
rowIndex: J().int().nonnegative(),
|
|
8105
8105
|
columnKey: E(),
|
|
8106
|
-
value:
|
|
8106
|
+
value: ln([E(), J(), Oe(), sn()])
|
|
8107
8107
|
});
|
|
8108
8108
|
te({
|
|
8109
8109
|
sessionId: E().uuid(),
|
|
@@ -8111,7 +8111,7 @@ te({
|
|
|
8111
8111
|
te({
|
|
8112
8112
|
rowIndex: J().int().nonnegative(),
|
|
8113
8113
|
columnKey: E(),
|
|
8114
|
-
value:
|
|
8114
|
+
value: ln([E(), J(), Oe(), sn()])
|
|
8115
8115
|
})
|
|
8116
8116
|
)
|
|
8117
8117
|
});
|
|
@@ -8120,7 +8120,7 @@ te({
|
|
|
8120
8120
|
skipInvalidRows: Oe().optional().default(!1),
|
|
8121
8121
|
acknowledgeWarnings: Oe().optional().default(!1)
|
|
8122
8122
|
});
|
|
8123
|
-
var
|
|
8123
|
+
var mc = /^[ABCEGHJ-NPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][ ]?\d[ABCEGHJ-NPRSTV-Z]\d$/i, hc = /^[A-Z]{2}\d{6}$/, di = {
|
|
8124
8124
|
AB: {
|
|
8125
8125
|
code: "AB",
|
|
8126
8126
|
name: "Alberta",
|
|
@@ -8261,9 +8261,9 @@ var pi = he([
|
|
|
8261
8261
|
streetLine2: E().max(200).optional(),
|
|
8262
8262
|
city: E().min(1).max(100),
|
|
8263
8263
|
province: pi,
|
|
8264
|
-
postalCode: E().regex(
|
|
8264
|
+
postalCode: E().regex(mc, "Invalid Canadian postal code format (A1A 1A1)"),
|
|
8265
8265
|
country: ar("Canada")
|
|
8266
|
-
}),
|
|
8266
|
+
}), cn = he(["passport", "drivers_license", "proof_of_address"]), gc = he(["uploaded", "processing", "completed", "failed", "requires_review"]), vc = he(["excellent", "good", "fair", "poor"]), yc = he(["tesseract", "textract", "gpt4vision"]), ui = he(["M", "F", "X"]), bc = he([
|
|
8267
8267
|
"image_manipulation",
|
|
8268
8268
|
"poor_quality",
|
|
8269
8269
|
"inconsistent_data",
|
|
@@ -8272,13 +8272,13 @@ var pi = he([
|
|
|
8272
8272
|
"suspicious_pattern",
|
|
8273
8273
|
"missing_security_features",
|
|
8274
8274
|
"document_tampering"
|
|
8275
|
-
]),
|
|
8276
|
-
type:
|
|
8277
|
-
severity:
|
|
8275
|
+
]), xc = he(["high", "medium", "low"]), wc = te({
|
|
8276
|
+
type: bc,
|
|
8277
|
+
severity: xc,
|
|
8278
8278
|
message: E(),
|
|
8279
8279
|
field: E().optional(),
|
|
8280
8280
|
details: St(_t()).optional()
|
|
8281
|
-
}),
|
|
8281
|
+
}), kc = te({
|
|
8282
8282
|
fullName: J().min(0).max(1),
|
|
8283
8283
|
passportNumber: J().min(0).max(1),
|
|
8284
8284
|
dateOfBirth: J().min(0).max(1),
|
|
@@ -8287,12 +8287,12 @@ var pi = he([
|
|
|
8287
8287
|
placeOfBirth: J().min(0).max(1),
|
|
8288
8288
|
sex: J().min(0).max(1),
|
|
8289
8289
|
nationality: J().min(0).max(1)
|
|
8290
|
-
}),
|
|
8290
|
+
}), _c = te({
|
|
8291
8291
|
documentType: ar("passport"),
|
|
8292
8292
|
fullName: E().min(1),
|
|
8293
8293
|
givenNames: E().min(1),
|
|
8294
8294
|
surname: E().min(1),
|
|
8295
|
-
passportNumber: E().regex(
|
|
8295
|
+
passportNumber: E().regex(hc, "Invalid Canadian passport number (format: AB123456)"),
|
|
8296
8296
|
dateOfBirth: E().regex(/^\d{4}-\d{2}-\d{2}$/, "Date must be in YYYY-MM-DD format"),
|
|
8297
8297
|
dateOfIssue: E().regex(/^\d{4}-\d{2}-\d{2}$/, "Date must be in YYYY-MM-DD format"),
|
|
8298
8298
|
dateOfExpiry: E().regex(/^\d{4}-\d{2}-\d{2}$/, "Date must be in YYYY-MM-DD format"),
|
|
@@ -8302,8 +8302,8 @@ var pi = he([
|
|
|
8302
8302
|
photoBase64: E().optional(),
|
|
8303
8303
|
mrzLine1: E().optional(),
|
|
8304
8304
|
mrzLine2: E().optional(),
|
|
8305
|
-
confidence:
|
|
8306
|
-
}),
|
|
8305
|
+
confidence: kc
|
|
8306
|
+
}), Sc = te({
|
|
8307
8307
|
fullName: J().min(0).max(1),
|
|
8308
8308
|
licenseNumber: J().min(0).max(1),
|
|
8309
8309
|
dateOfBirth: J().min(0).max(1),
|
|
@@ -8330,7 +8330,7 @@ var pi = he([
|
|
|
8330
8330
|
height: E().optional(),
|
|
8331
8331
|
eyeColor: E().optional(),
|
|
8332
8332
|
photoBase64: E().optional(),
|
|
8333
|
-
confidence:
|
|
8333
|
+
confidence: Sc
|
|
8334
8334
|
});
|
|
8335
8335
|
mi.refine(
|
|
8336
8336
|
(t) => di[t.province].licenseFormat.test(t.licenseNumber),
|
|
@@ -8339,7 +8339,7 @@ mi.refine(
|
|
|
8339
8339
|
path: ["licenseNumber"]
|
|
8340
8340
|
}
|
|
8341
8341
|
);
|
|
8342
|
-
var
|
|
8342
|
+
var Ec = he([
|
|
8343
8343
|
"utility_bill",
|
|
8344
8344
|
"bank_statement",
|
|
8345
8345
|
"government_letter",
|
|
@@ -8347,7 +8347,7 @@ var El = he([
|
|
|
8347
8347
|
"lease_agreement",
|
|
8348
8348
|
"insurance_statement",
|
|
8349
8349
|
"other"
|
|
8350
|
-
]),
|
|
8350
|
+
]), Tc = te({
|
|
8351
8351
|
fullName: J().min(0).max(1),
|
|
8352
8352
|
address: J().min(0).max(1),
|
|
8353
8353
|
documentSubType: J().min(0).max(1),
|
|
@@ -8357,7 +8357,7 @@ var El = he([
|
|
|
8357
8357
|
documentType: ar("proof_of_address"),
|
|
8358
8358
|
fullName: E().min(1),
|
|
8359
8359
|
address: fi,
|
|
8360
|
-
documentSubType:
|
|
8360
|
+
documentSubType: Ec,
|
|
8361
8361
|
issuer: E().min(1),
|
|
8362
8362
|
documentDate: E().regex(/^\d{4}-\d{2}-\d{2}$/, "Date must be in YYYY-MM-DD format"),
|
|
8363
8363
|
accountNumber: E().max(4).optional(),
|
|
@@ -8366,7 +8366,7 @@ var El = he([
|
|
|
8366
8366
|
start: E(),
|
|
8367
8367
|
end: E()
|
|
8368
8368
|
}).optional(),
|
|
8369
|
-
confidence:
|
|
8369
|
+
confidence: Tc
|
|
8370
8370
|
});
|
|
8371
8371
|
hi.refine(
|
|
8372
8372
|
(t) => {
|
|
@@ -8378,8 +8378,8 @@ hi.refine(
|
|
|
8378
8378
|
path: ["documentDate"]
|
|
8379
8379
|
}
|
|
8380
8380
|
);
|
|
8381
|
-
var
|
|
8382
|
-
|
|
8381
|
+
var Oc = ic("documentType", [
|
|
8382
|
+
_c,
|
|
8383
8383
|
mi,
|
|
8384
8384
|
hi
|
|
8385
8385
|
]);
|
|
@@ -8393,30 +8393,30 @@ he([
|
|
|
8393
8393
|
"cancelled"
|
|
8394
8394
|
]);
|
|
8395
8395
|
te({
|
|
8396
|
-
requiredDocuments: Ge(
|
|
8396
|
+
requiredDocuments: Ge(cn).min(1),
|
|
8397
8397
|
metadata: St(_t()).optional()
|
|
8398
8398
|
});
|
|
8399
8399
|
te({
|
|
8400
8400
|
sessionId: E().uuid(),
|
|
8401
|
-
documentType:
|
|
8401
|
+
documentType: cn
|
|
8402
8402
|
});
|
|
8403
8403
|
te({
|
|
8404
8404
|
id: E().uuid(),
|
|
8405
8405
|
sessionId: E().uuid(),
|
|
8406
|
-
type:
|
|
8407
|
-
status:
|
|
8406
|
+
type: cn,
|
|
8407
|
+
status: gc,
|
|
8408
8408
|
uploadedAt: E().datetime(),
|
|
8409
8409
|
processedAt: E().datetime().optional(),
|
|
8410
8410
|
originalFilename: E(),
|
|
8411
8411
|
fileSize: J().int().positive(),
|
|
8412
8412
|
mimeType: E(),
|
|
8413
8413
|
s3Key: E(),
|
|
8414
|
-
extractedData:
|
|
8414
|
+
extractedData: Oc.optional(),
|
|
8415
8415
|
confidence: J().min(0).max(1),
|
|
8416
|
-
ocrQuality:
|
|
8417
|
-
fraudFlags: Ge(
|
|
8416
|
+
ocrQuality: vc,
|
|
8417
|
+
fraudFlags: Ge(wc),
|
|
8418
8418
|
processingTimeMs: J().int().optional(),
|
|
8419
|
-
ocrProvider:
|
|
8419
|
+
ocrProvider: yc.optional(),
|
|
8420
8420
|
aiModel: E().optional()
|
|
8421
8421
|
});
|
|
8422
8422
|
te({
|
|
@@ -8572,7 +8572,7 @@ var ua = ["payment", "payout", "subscription"], Xt = [
|
|
|
8572
8572
|
],
|
|
8573
8573
|
transform: { type: "trim" }
|
|
8574
8574
|
}
|
|
8575
|
-
],
|
|
8575
|
+
], Cc = [
|
|
8576
8576
|
{
|
|
8577
8577
|
key: "preferred_method",
|
|
8578
8578
|
label: "Preferred Payment Method",
|
|
@@ -8588,7 +8588,7 @@ var ua = ["payment", "payout", "subscription"], Xt = [
|
|
|
8588
8588
|
],
|
|
8589
8589
|
transform: { type: "lowercase" }
|
|
8590
8590
|
}
|
|
8591
|
-
],
|
|
8591
|
+
], Ac = [
|
|
8592
8592
|
{
|
|
8593
8593
|
key: "phone",
|
|
8594
8594
|
label: "Phone Number",
|
|
@@ -8699,7 +8699,7 @@ var ua = ["payment", "payout", "subscription"], Xt = [
|
|
|
8699
8699
|
],
|
|
8700
8700
|
transform: { type: "trim" }
|
|
8701
8701
|
}
|
|
8702
|
-
],
|
|
8702
|
+
], Rc = [
|
|
8703
8703
|
{
|
|
8704
8704
|
key: "shipping_first_name",
|
|
8705
8705
|
label: "Shipping First Name",
|
|
@@ -8764,7 +8764,7 @@ var ua = ["payment", "payout", "subscription"], Xt = [
|
|
|
8764
8764
|
description: "Shipping postal or ZIP code",
|
|
8765
8765
|
transform: { type: "trim" }
|
|
8766
8766
|
}
|
|
8767
|
-
],
|
|
8767
|
+
], jc = [
|
|
8768
8768
|
{
|
|
8769
8769
|
key: "item_description",
|
|
8770
8770
|
label: "Item Description",
|
|
@@ -8806,7 +8806,7 @@ var ua = ["payment", "payout", "subscription"], Xt = [
|
|
|
8806
8806
|
description: "Additional items in JSON format",
|
|
8807
8807
|
transform: { type: "trim" }
|
|
8808
8808
|
}
|
|
8809
|
-
],
|
|
8809
|
+
], Dc = [
|
|
8810
8810
|
{
|
|
8811
8811
|
key: "email_recipients",
|
|
8812
8812
|
label: "Email Recipients",
|
|
@@ -8839,7 +8839,7 @@ var ua = ["payment", "payout", "subscription"], Xt = [
|
|
|
8839
8839
|
description: "Additional notification information",
|
|
8840
8840
|
transform: { type: "trim" }
|
|
8841
8841
|
}
|
|
8842
|
-
],
|
|
8842
|
+
], Pc = [
|
|
8843
8843
|
{
|
|
8844
8844
|
key: "subscription_amount",
|
|
8845
8845
|
label: "Subscription Amount",
|
|
@@ -8948,7 +8948,7 @@ var ua = ["payment", "payout", "subscription"], Xt = [
|
|
|
8948
8948
|
{ type: "date", message: "Must be a valid date/time" }
|
|
8949
8949
|
]
|
|
8950
8950
|
}
|
|
8951
|
-
],
|
|
8951
|
+
], Ic = [
|
|
8952
8952
|
{
|
|
8953
8953
|
key: "return_url",
|
|
8954
8954
|
label: "Return URL",
|
|
@@ -8982,7 +8982,7 @@ var ua = ["payment", "payout", "subscription"], Xt = [
|
|
|
8982
8982
|
],
|
|
8983
8983
|
transform: { type: "trim" }
|
|
8984
8984
|
}
|
|
8985
|
-
],
|
|
8985
|
+
], Nc = [
|
|
8986
8986
|
{
|
|
8987
8987
|
key: "convinience_fee",
|
|
8988
8988
|
label: "Convenience Fee",
|
|
@@ -9019,14 +9019,14 @@ var ua = ["payment", "payout", "subscription"], Xt = [
|
|
|
9019
9019
|
], vi = {
|
|
9020
9020
|
columns: [
|
|
9021
9021
|
...gi,
|
|
9022
|
-
...
|
|
9023
|
-
...
|
|
9024
|
-
...
|
|
9025
|
-
...
|
|
9026
|
-
...
|
|
9027
|
-
...
|
|
9028
|
-
...
|
|
9029
|
-
...
|
|
9022
|
+
...Cc,
|
|
9023
|
+
...Ac,
|
|
9024
|
+
...Rc,
|
|
9025
|
+
...jc,
|
|
9026
|
+
...Dc,
|
|
9027
|
+
...Pc,
|
|
9028
|
+
...Ic,
|
|
9029
|
+
...Nc
|
|
9030
9030
|
],
|
|
9031
9031
|
options: {
|
|
9032
9032
|
allowExtraColumns: !0,
|
|
@@ -9037,7 +9037,7 @@ var ua = ["payment", "payout", "subscription"], Xt = [
|
|
|
9037
9037
|
};
|
|
9038
9038
|
gi.map((t) => t.key);
|
|
9039
9039
|
vi.columns.map((t) => t.key);
|
|
9040
|
-
var
|
|
9040
|
+
var Fc = {
|
|
9041
9041
|
columns: [
|
|
9042
9042
|
{
|
|
9043
9043
|
key: "email",
|
|
@@ -9111,7 +9111,7 @@ var Fl = {
|
|
|
9111
9111
|
name: "Sample Contact Import",
|
|
9112
9112
|
description: "Basic contact information import (email, name, phone, company)",
|
|
9113
9113
|
category: "general",
|
|
9114
|
-
schema:
|
|
9114
|
+
schema: Fc,
|
|
9115
9115
|
version: "1.0.0",
|
|
9116
9116
|
sampleFile: "sample-contact-template.csv"
|
|
9117
9117
|
},
|
|
@@ -9125,21 +9125,21 @@ var Fl = {
|
|
|
9125
9125
|
sampleFile: "payspace-batch-valid.csv"
|
|
9126
9126
|
}
|
|
9127
9127
|
};
|
|
9128
|
-
function
|
|
9128
|
+
function zc(t) {
|
|
9129
9129
|
return Et[t] || null;
|
|
9130
9130
|
}
|
|
9131
9131
|
function xd(t) {
|
|
9132
|
-
const e =
|
|
9132
|
+
const e = zc(t);
|
|
9133
9133
|
return (e == null ? void 0 : e.schema) || null;
|
|
9134
9134
|
}
|
|
9135
9135
|
function wd() {
|
|
9136
9136
|
return Object.keys(Et);
|
|
9137
9137
|
}
|
|
9138
|
-
function
|
|
9138
|
+
function Lc() {
|
|
9139
9139
|
return Object.values(Et);
|
|
9140
9140
|
}
|
|
9141
9141
|
function kd(t) {
|
|
9142
|
-
return
|
|
9142
|
+
return Lc().filter((e) => e.category === t);
|
|
9143
9143
|
}
|
|
9144
9144
|
function _d(t) {
|
|
9145
9145
|
return t in Et;
|
|
@@ -9199,29 +9199,29 @@ export {
|
|
|
9199
9199
|
as as F,
|
|
9200
9200
|
Et as I,
|
|
9201
9201
|
md as L,
|
|
9202
|
-
|
|
9202
|
+
Bc as S,
|
|
9203
9203
|
hd as T,
|
|
9204
9204
|
gd as U,
|
|
9205
9205
|
Sd as V,
|
|
9206
9206
|
vd as X,
|
|
9207
|
-
|
|
9207
|
+
ld as a,
|
|
9208
9208
|
is as b,
|
|
9209
|
-
|
|
9209
|
+
zc as c,
|
|
9210
9210
|
xd as d,
|
|
9211
9211
|
wd as e,
|
|
9212
9212
|
kd as f,
|
|
9213
|
-
|
|
9213
|
+
cd as g,
|
|
9214
9214
|
Me as h,
|
|
9215
9215
|
Dr as i,
|
|
9216
9216
|
bd as j,
|
|
9217
|
-
|
|
9218
|
-
|
|
9217
|
+
sl as k,
|
|
9218
|
+
Lc as l,
|
|
9219
9219
|
yd as m,
|
|
9220
9220
|
pd as n,
|
|
9221
9221
|
ud as o,
|
|
9222
9222
|
fd as p,
|
|
9223
9223
|
dd as q,
|
|
9224
9224
|
_d as t,
|
|
9225
|
-
|
|
9225
|
+
Uc as u
|
|
9226
9226
|
};
|
|
9227
|
-
//# sourceMappingURL=index-
|
|
9227
|
+
//# sourceMappingURL=index-DnkwOjwi.mjs.map
|