@fileflow/sdk 0.1.16 → 0.1.17
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-B7BsndHa.mjs → ImportWizard-Cn8RiCyW.mjs} +2 -2
- package/dist/{ImportWizard-B7BsndHa.mjs.map → ImportWizard-Cn8RiCyW.mjs.map} +1 -1
- package/dist/{ImportWizard-DWuVE2Tg.js → ImportWizard-CrWMalmb.js} +2 -2
- package/dist/{ImportWizard-DWuVE2Tg.js.map → ImportWizard-CrWMalmb.js.map} +1 -1
- package/dist/{KYCWizard-Awl-EaVn.mjs → KYCWizard-C6KmAQmd.mjs} +2 -2
- package/dist/{KYCWizard-Awl-EaVn.mjs.map → KYCWizard-C6KmAQmd.mjs.map} +1 -1
- package/dist/{KYCWizard-B1PHk85F.js → KYCWizard-w_q7ZqUm.js} +2 -2
- package/dist/{KYCWizard-B1PHk85F.js.map → KYCWizard-w_q7ZqUm.js.map} +1 -1
- package/dist/import.js +1 -1
- package/dist/import.mjs +1 -1
- package/dist/{index-D7j5dhUO.mjs → index-S6qm6fPa.mjs} +216 -216
- package/dist/{index-D7j5dhUO.mjs.map → index-S6qm6fPa.mjs.map} +1 -1
- package/dist/{index-CmC4zviB.js → index-pKcPB1CY.js} +32 -32
- package/dist/{index-CmC4zviB.js.map → index-pKcPB1CY.js.map} +1 -1
- 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 +265 -277
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as ur } from "react/jsx-runtime";
|
|
2
|
-
import ct, { useRef as nt, useState as pn, useCallback as
|
|
2
|
+
import ct, { 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 = `@layer ff-reset,ff-base,ff-components;.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}}@layer ff-base{.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: }}@layer ff-reset{.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}}@layer ff-base{.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}}@layer ff-components{.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"}.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)}.ff-table{width:100%;font-size:.875rem;line-height:1.25rem}.ff-table thead{position:sticky;top:0;z-index:10;background-color:var(--ff-bg-secondary)}.ff-table thead tr:first-child th:first-child{border-top-left-radius:1rem}.ff-table thead tr:first-child th:last-child{border-top-right-radius:1rem}.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)}.ff-table td{padding:.75rem 1rem;color:var(--ff-text-primary);border-bottom:1px solid var(--ff-border-light)}.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}.ff-table tbody tr:hover{background-color:var(--ff-bg-secondary)}.ff-cell-error{border-left-width:4px;background-color:var(--ff-error-light);border-left-color:var(--ff-error)}.ff-cell-warning{border-left-width:4px;background-color:var(--ff-warning-light);border-left-color:var(--ff-warning)}.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)}.ff-cell-success{background-color:var(--ff-success-light)}.ff-row-error{background-color:#d433381a}.ff-edit-btn{color:var(--ff-text-muted)}.ff-edit-btn:hover{color:var(--ff-text-secondary)}.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}.ff-input::-moz-placeholder{color:var(--ff-text-muted)}.ff-input::placeholder{color:var(--ff-text-muted)}.ff-input:hover{border-color:var(--ff-border-dark)}.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)}.ff-input-error{border-color:var(--ff-error)}.ff-input-error:focus{border-color:var(--ff-error);--tw-ring-color: rgba(212, 51, 56, .2)}.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}.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}.ff-btn:focus{outline:2px solid transparent;outline-offset:2px}.ff-btn:disabled{cursor:not-allowed;opacity:.5}.ff-btn-primary{background-color:var(--ff-primary-110);color:var(--ff-gray-white)}.ff-btn-primary:hover:not(:disabled){background-color:var(--ff-primary-120);transform:translateY(-1px);box-shadow:0 4px 12px -2px #0003}.ff-btn-primary:active:not(:disabled){background-color:var(--ff-primary-130);transform:translateY(0)}.ff-btn-primary:focus-visible{box-shadow:0 0 0 3px var(--ff-focus-ring)}.ff-btn-secondary{background-color:var(--ff-bg-primary);color:var(--ff-text-primary);border-color:var(--ff-border-default)}.ff-btn-secondary:hover:not(:disabled){background-color:var(--ff-bg-secondary);border-color:var(--ff-border-dark)}.ff-btn-secondary:active:not(:disabled){background-color:var(--ff-bg-tertiary)}.ff-btn-secondary:focus-visible{box-shadow:0 0 0 3px var(--ff-focus-ring)}.ff-btn-ghost{background-color:transparent;color:var(--ff-text-secondary)}.ff-btn-ghost:hover:not(:disabled){background-color:var(--ff-bg-secondary);color:var(--ff-text-primary)}.ff-btn-accent{background-color:var(--ff-accent-500);color:var(--ff-text-inverse)}.ff-btn-accent:hover:not(:disabled){background-color:var(--ff-accent-600);transform:translateY(-1px);box-shadow:0 4px 12px -2px #a855f74d}.ff-btn-accent:active:not(:disabled){background-color:var(--ff-accent-700);transform:translateY(0)}.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)}.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))}.ff-btn-danger:hover:not(:disabled){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1));transform:translateY(-1px)}.ff-btn-link{background-color:transparent;color:var(--ff-primary-text);padding:.25rem .5rem}.ff-btn-link:hover:not(:disabled){color:#4a2a10;text-decoration:underline}.ff-btn-sm{border-radius:.375rem;padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem}.ff-btn-lg{border-radius:1rem;padding:.75rem 1.5rem;font-size:1rem;line-height:1.5rem}.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)}.ff-checkbox:hover{border-color:var(--ff-primary-400)}.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")}.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)}.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)}.ff-radio:checked{border-color:var(--ff-primary-500);border-width:6px}.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)}.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)}.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}.ff-toggle:checked{background-color:var(--ff-primary-500)}.ff-toggle:checked:after{transform:translate(1.25rem)}.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}.ff-dropzone *{pointer-events:none}.ff-dropzone input{pointer-events:auto}.ff-dropzone:hover{border-color:var(--ff-primary-70);background-color:var(--ff-primary-10)}.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))}.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}.ff-dropzone-active .ff-dropzone-icon-wrapper{background-color:var(--ff-primary-30)}.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}.ff-dropzone-active .ff-dropzone-icon{color:var(--ff-primary-110)}.ff-dropzone-text{margin-bottom:.25rem;font-size:1rem;line-height:1.5rem;font-weight:600;color:var(--ff-text-primary)}.ff-dropzone-hint{margin-bottom:1rem;font-size:.875rem;line-height:1.25rem;color:var(--ff-text-muted)}.ff-dropzone-formats{margin-top:.75rem;font-size:.75rem;line-height:1rem;color:var(--ff-text-muted)}.ff-badge{display:inline-flex;align-items:center;border-radius:9999px;padding:.25rem .625rem;font-size:.75rem;line-height:1rem;font-weight:600}.ff-badge-error{background-color:var(--ff-error-light);color:var(--ff-error)}.ff-badge-warning{background-color:var(--ff-warning-light);color:var(--ff-warning)}.ff-badge-success{background-color:var(--ff-success-light);color:var(--ff-success)}.ff-badge-info{background-color:var(--ff-primary-20);color:var(--ff-primary-90)}.ff-badge-neutral{background-color:var(--ff-bg-tertiary);color:var(--ff-text-secondary)}.ff-badge-primary{background-color:var(--ff-primary-100);color:var(--ff-primary-700)}.ff-badge-accent{background-color:var(--ff-accent-100);color:var(--ff-accent-700)}.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}}.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}.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}.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)}.ff-embed .ff-modal-header{border-top-left-radius:1rem;border-top-right-radius:1rem}.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)}}.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}.ff-modal-header-left{display:flex;align-items:center;gap:1rem}.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)}.ff-modal-icon svg{height:1.25rem;width:1.25rem;color:var(--ff-primary-90)}.ff-modal-title{font-size:1.125rem;line-height:1.75rem;font-weight:600;color:var(--ff-text-primary)}.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}.ff-modal-close:hover{color:var(--ff-text-primary);background-color:var(--ff-bg-tertiary)}.ff-modal-body{flex:1 1 0%;overflow-y:auto;padding:1.5rem}.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}.ff-steps{display:flex;align-items:center;gap:.5rem}.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}.ff-step-pending{background-color:var(--ff-bg-tertiary);color:var(--ff-text-muted)}.ff-step-active{background-color:var(--ff-primary-50);color:var(--ff-primary-90);box-shadow:0 0 0 4px var(--ff-primary-20)}.ff-step-complete{background-color:var(--ff-success);color:#fff}.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}.ff-step-connector-complete{background-color:var(--ff-success)}.ff-progress{height:.5rem;overflow:hidden;border-radius:9999px;background-color:var(--ff-bg-tertiary)}.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)}.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}}.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}.ff-tooltip-visible{visibility:visible;opacity:1}.ff-spinner{height:1.25rem;width:1.25rem}@keyframes ff-spin{to{transform:rotate(360deg)}}.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)}.ff-spinner-lg{height:2rem;width:2rem;border-width:3px}.ff-document-preview{position:relative;overflow:hidden;border-radius:1rem;background-color:var(--ff-bg-tertiary)}.ff-document-preview img{height:auto;width:100%;-o-object-fit:contain;object-fit:contain}.ff-mapping-header{margin-bottom:1rem;display:flex;align-items:center;justify-content:space-between}.ff-mapping-title{font-size:1.125rem;line-height:1.75rem;font-weight:600;color:var(--ff-text-primary)}.ff-mapping-subtitle{font-size:.875rem;line-height:1.25rem;color:var(--ff-text-muted)}.ff-mapping-legend{display:flex;align-items:center;gap:1rem;font-size:.875rem;line-height:1.25rem}.ff-mapping-legend-item{display:flex;align-items:center;gap:.375rem}.ff-mapping-legend-dot{height:.5rem;width:.5rem;border-radius:9999px}.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)}.ff-mapping-row:hover{border-color:var(--ff-border-default);background-color:var(--ff-bg-secondary)}.ff-mapping-row-success{border-color:var(--ff-success-light);background-color:#e7f5e480}.ff-mapping-row-warning{border-color:var(--ff-warning-light);background-color:#ffe6c180}.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)}.ff-mapping-arrow{flex-shrink:0;color:var(--ff-text-muted)}.ff-mapping-target{flex:1 1 0%}.ff-mapping-status{display:flex;width:2rem;justify-content:center}.ff-confidence{display:inline-flex;align-items:center;gap:.375rem;font-size:.75rem;line-height:1rem;font-weight:500}.ff-confidence-high{color:var(--ff-success)}.ff-confidence-medium{color:var(--ff-warning)}.ff-confidence-low{color:var(--ff-error)}.ff-confidence-bar{height:.375rem;border-radius:9999px;background-color:var(--ff-bg-tertiary)}.ff-confidence-bar-fill{height:100%;border-radius:9999px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.ff-validation-summary{border-radius:1rem;border-width:1px;padding:1rem}.ff-validation-summary-error{background-color:var(--ff-error-light);border-color:var(--ff-error)}.ff-validation-summary-warning{background-color:var(--ff-warning-light);border-color:var(--ff-warning)}.ff-validation-summary-success{background-color:var(--ff-success-light);border-color:var(--ff-success)}.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}.ff-card-hover{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.ff-card-hover:hover{border-color:var(--ff-border-default);box-shadow:0 8px 24px -4px #00000014;transform:translateY(-2px)}.ff-status{display:inline-flex;align-items:center;gap:.5rem}.ff-status-dot{height:.5rem;width:.5rem;border-radius:9999px}.ff-status-dot-success{background-color:var(--ff-success)}.ff-status-dot-warning{background-color:var(--ff-warning)}.ff-status-dot-error{background-color:var(--ff-error)}.ff-status-dot-pending{background-color:var(--ff-text-muted)}.ff-status-dot-processing{animation:ff-pulse 2s cubic-bezier(.4,0,.6,1) infinite;background-color:var(--ff-primary-90)}.ff-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:3rem;padding-bottom:3rem;text-align:center}.ff-empty-state-icon{margin-bottom:1rem;height:4rem;width:4rem;color:var(--ff-border-default)}.ff-empty-state-title{margin-bottom:.5rem;font-size:1.125rem;line-height:1.75rem;font-weight:600;color:var(--ff-text-primary)}.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}}.ff-skeleton{animation:ff-pulse 2s cubic-bezier(.4,0,.6,1) infinite;border-radius:.5rem;background-color:var(--ff-bg-tertiary)}.ff-skeleton-text{height:1rem;border-radius:.5rem}.ff-skeleton-title{height:1.5rem;width:75%;border-radius:.5rem}.ff-skeleton-avatar{height:2.5rem;width:2.5rem;border-radius:9999px}.ff-pagination{display:flex;align-items:center;gap:.25rem}.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)}.ff-pagination-btn:hover{background-color:var(--ff-bg-secondary);color:var(--ff-text-primary)}.ff-pagination-btn-active{background-color:var(--ff-primary-500);color:var(--ff-text-inverse)}.ff-pagination-btn-active:hover{background-color:var(--ff-primary-600);color:var(--ff-text-inverse)}.ff-selector-group{display:inline-flex;flex-wrap:wrap;gap:.5rem}.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)}.ff-selector-item:hover{background-color:var(--ff-bg-tertiary);border-color:var(--ff-border-default)}.ff-selector-item-active{background-color:var(--ff-primary-500);color:var(--ff-text-inverse);border-color:var(--ff-primary-500)}.ff-selector-item-active:hover{background-color:var(--ff-primary-600);border-color:var(--ff-primary-600)}.ff-fade-in{animation:fadeIn .3s ease-out}.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)}}.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)}.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";
|
|
5
5
|
let mr = !1;
|
|
6
6
|
function Dr() {
|
|
7
7
|
if (mr || typeof document > "u") return;
|
|
@@ -29,7 +29,7 @@ const Bl = ({
|
|
|
29
29
|
theme: r,
|
|
30
30
|
useShadowDom: n = !1
|
|
31
31
|
}) => {
|
|
32
|
-
const a = nt(null), i = nt(null), [o, s] = pn(!1), [d, c] = pn(!1), l =
|
|
32
|
+
const a = nt(null), i = nt(null), [o, s] = pn(!1), [d, c] = pn(!1), l = _e(() => {
|
|
33
33
|
if (!(!n || !a.current || i.current))
|
|
34
34
|
try {
|
|
35
35
|
i.current = a.current.attachShadow({ mode: "open" }), Ti(i.current), c(!0);
|
|
@@ -137,9 +137,9 @@ function wa(t, e) {
|
|
|
137
137
|
return a;
|
|
138
138
|
return null;
|
|
139
139
|
}
|
|
140
|
-
const Ue = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global,
|
|
140
|
+
const Ue = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, ka = (t) => !at(t) && t !== Ue;
|
|
141
141
|
function Pr() {
|
|
142
|
-
const { caseless: t, skipUndefined: e } =
|
|
142
|
+
const { caseless: t, skipUndefined: e } = ka(this) && this || {}, r = {}, n = (a, i) => {
|
|
143
143
|
const o = t && wa(r, i) || i;
|
|
144
144
|
Pt(r[o]) && Pt(a) ? r[o] = Pr(r[o], a) : Pt(a) ? r[o] = Pr({}, a) : lt(a) ? r[o] = a.slice() : (!e || !at(a)) && (r[o] = a);
|
|
145
145
|
};
|
|
@@ -194,14 +194,14 @@ const Vi = (t, e, r, { allOwnKeys: n } = {}) => (wt(e, (a, i) => {
|
|
|
194
194
|
function(r, n, a) {
|
|
195
195
|
return n.toUpperCase() + a;
|
|
196
196
|
}
|
|
197
|
-
), un = (({ hasOwnProperty: t }) => (e, r) => t.call(e, r))(Object.prototype), ro = Ce("RegExp"),
|
|
197
|
+
), un = (({ hasOwnProperty: t }) => (e, r) => t.call(e, r))(Object.prototype), ro = Ce("RegExp"), _a = (t, e) => {
|
|
198
198
|
const r = Object.getOwnPropertyDescriptors(t), n = {};
|
|
199
199
|
wt(r, (a, i) => {
|
|
200
200
|
let o;
|
|
201
201
|
(o = e(a, i, t)) !== !1 && (n[i] = o || a);
|
|
202
202
|
}), Object.defineProperties(t, n);
|
|
203
203
|
}, no = (t) => {
|
|
204
|
-
|
|
204
|
+
_a(t, (e, r) => {
|
|
205
205
|
if (ye(t) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
|
|
206
206
|
return !1;
|
|
207
207
|
const n = t[r];
|
|
@@ -296,7 +296,7 @@ const co = (t) => {
|
|
|
296
296
|
hasOwnProperty: un,
|
|
297
297
|
hasOwnProp: un,
|
|
298
298
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
299
|
-
reduceDescriptors:
|
|
299
|
+
reduceDescriptors: _a,
|
|
300
300
|
freezeMethods: no,
|
|
301
301
|
toObjectSet: ao,
|
|
302
302
|
toCamelCase: to,
|
|
@@ -304,7 +304,7 @@ const co = (t) => {
|
|
|
304
304
|
toFiniteNumber: oo,
|
|
305
305
|
findKey: wa,
|
|
306
306
|
global: Ue,
|
|
307
|
-
isContextDefined:
|
|
307
|
+
isContextDefined: ka,
|
|
308
308
|
isSpecCompliantForm: so,
|
|
309
309
|
toJSONObject: co,
|
|
310
310
|
isAsyncFn: lo,
|
|
@@ -559,12 +559,12 @@ const Ra = {
|
|
|
559
559
|
Blob: xo
|
|
560
560
|
},
|
|
561
561
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
562
|
-
}, en = typeof window < "u" && typeof document < "u", Nr = typeof navigator == "object" && navigator || void 0,
|
|
562
|
+
}, en = typeof window < "u" && typeof document < "u", Nr = typeof navigator == "object" && navigator || void 0, ko = en && (!Nr || ["ReactNative", "NativeScript", "NS"].indexOf(Nr.product) < 0), _o = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
563
563
|
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", So = en && window.location.href || "http://localhost", Eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
564
564
|
__proto__: null,
|
|
565
565
|
hasBrowserEnv: en,
|
|
566
|
-
hasStandardBrowserEnv:
|
|
567
|
-
hasStandardBrowserWebWorkerEnv:
|
|
566
|
+
hasStandardBrowserEnv: ko,
|
|
567
|
+
hasStandardBrowserWebWorkerEnv: _o,
|
|
568
568
|
navigator: Nr,
|
|
569
569
|
origin: So
|
|
570
570
|
}, Symbol.toStringTag, { value: "Module" })), ue = {
|
|
@@ -616,7 +616,7 @@ function Ao(t, e, r) {
|
|
|
616
616
|
}
|
|
617
617
|
return (r || JSON.stringify)(t);
|
|
618
618
|
}
|
|
619
|
-
const
|
|
619
|
+
const kt = {
|
|
620
620
|
transitional: Ra,
|
|
621
621
|
adapter: ["xhr", "http", "fetch"],
|
|
622
622
|
transformRequest: [function(e, r) {
|
|
@@ -645,7 +645,7 @@ const _t = {
|
|
|
645
645
|
return i || a ? (r.setContentType("application/json", !1), Ao(e)) : e;
|
|
646
646
|
}],
|
|
647
647
|
transformResponse: [function(e) {
|
|
648
|
-
const r = this.transitional ||
|
|
648
|
+
const r = this.transitional || kt.transitional, n = r && r.forcedJSONParsing, a = this.responseType === "json";
|
|
649
649
|
if (p.isResponse(e) || p.isReadableStream(e))
|
|
650
650
|
return e;
|
|
651
651
|
if (e && p.isString(e) && (n && !this.responseType || a)) {
|
|
@@ -683,7 +683,7 @@ const _t = {
|
|
|
683
683
|
}
|
|
684
684
|
};
|
|
685
685
|
p.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
|
|
686
|
-
|
|
686
|
+
kt.headers[t] = {};
|
|
687
687
|
});
|
|
688
688
|
const Ro = p.toObjectSet([
|
|
689
689
|
"age",
|
|
@@ -887,7 +887,7 @@ p.reduceDescriptors(be.prototype, ({ value: t }, e) => {
|
|
|
887
887
|
});
|
|
888
888
|
p.freezeMethods(be);
|
|
889
889
|
function gr(t, e) {
|
|
890
|
-
const r = this ||
|
|
890
|
+
const r = this || kt, n = e || r, a = be.from(n.headers);
|
|
891
891
|
let i = n.data;
|
|
892
892
|
return p.forEach(t, function(s) {
|
|
893
893
|
i = s.call(r, i, a.normalize(), e ? e.status : void 0);
|
|
@@ -1236,11 +1236,11 @@ const Na = (t) => {
|
|
|
1236
1236
|
}, {
|
|
1237
1237
|
highWaterMark: 2
|
|
1238
1238
|
});
|
|
1239
|
-
},
|
|
1239
|
+
}, kn = 64 * 1024, { isFunction: At } = p, Ko = (({ Request: t, Response: e }) => ({
|
|
1240
1240
|
Request: t,
|
|
1241
1241
|
Response: e
|
|
1242
1242
|
}))(p.global), {
|
|
1243
|
-
ReadableStream:
|
|
1243
|
+
ReadableStream: _n,
|
|
1244
1244
|
TextEncoder: Sn
|
|
1245
1245
|
} = p.global, En = (t, ...e) => {
|
|
1246
1246
|
try {
|
|
@@ -1255,10 +1255,10 @@ 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(
|
|
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())), c = i && s && En(() => {
|
|
1259
1259
|
let f = !1;
|
|
1260
1260
|
const m = new r(ue.origin, {
|
|
1261
|
-
body: new
|
|
1261
|
+
body: new _n(),
|
|
1262
1262
|
method: "POST",
|
|
1263
1263
|
get duplex() {
|
|
1264
1264
|
return f = !0, "half";
|
|
@@ -1317,17 +1317,17 @@ const Na = (t) => {
|
|
|
1317
1317
|
let ce;
|
|
1318
1318
|
try {
|
|
1319
1319
|
if ($ && c && h !== "get" && h !== "head" && (ce = await x(pe, A)) !== 0) {
|
|
1320
|
-
let
|
|
1320
|
+
let k = new r(m, {
|
|
1321
1321
|
method: "POST",
|
|
1322
1322
|
body: A,
|
|
1323
1323
|
duplex: "half"
|
|
1324
1324
|
}), D;
|
|
1325
|
-
if (p.isFormData(A) && (D =
|
|
1325
|
+
if (p.isFormData(A) && (D = k.headers.get("content-type")) && pe.setContentType(D), k.body) {
|
|
1326
1326
|
const [z, C] = yn(
|
|
1327
1327
|
ce,
|
|
1328
1328
|
Ft(bn($))
|
|
1329
1329
|
);
|
|
1330
|
-
A = wn(
|
|
1330
|
+
A = wn(k.body, kn, z, C);
|
|
1331
1331
|
}
|
|
1332
1332
|
}
|
|
1333
1333
|
p.isString(ge) || (ge = ge ? "include" : "omit");
|
|
@@ -1344,25 +1344,25 @@ const Na = (t) => {
|
|
|
1344
1344
|
let fe = await (i ? Ae(ve, Se) : Ae(m, xe));
|
|
1345
1345
|
const ie = l && (B === "stream" || B === "response");
|
|
1346
1346
|
if (l && (y || ie && G)) {
|
|
1347
|
-
const
|
|
1347
|
+
const k = {};
|
|
1348
1348
|
["status", "statusText", "headers"].forEach((U) => {
|
|
1349
|
-
|
|
1349
|
+
k[U] = fe[U];
|
|
1350
1350
|
});
|
|
1351
1351
|
const D = p.toFiniteNumber(fe.headers.get("content-length")), [z, C] = y && yn(
|
|
1352
1352
|
D,
|
|
1353
1353
|
Ft(bn(y), !0)
|
|
1354
1354
|
) || [];
|
|
1355
1355
|
fe = new n(
|
|
1356
|
-
wn(fe.body,
|
|
1356
|
+
wn(fe.body, kn, z, () => {
|
|
1357
1357
|
C && C(), G && G();
|
|
1358
1358
|
}),
|
|
1359
|
-
|
|
1359
|
+
k
|
|
1360
1360
|
);
|
|
1361
1361
|
}
|
|
1362
1362
|
B = B || "text";
|
|
1363
1363
|
let v = await u[p.findKey(u, B) || "text"](fe, f);
|
|
1364
|
-
return !ie && G && G(), await new Promise((
|
|
1365
|
-
Pa(
|
|
1364
|
+
return !ie && G && G(), await new Promise((k, D) => {
|
|
1365
|
+
Pa(k, D, {
|
|
1366
1366
|
data: v,
|
|
1367
1367
|
headers: be.from(fe.headers),
|
|
1368
1368
|
status: fe.status,
|
|
@@ -1458,7 +1458,7 @@ function On(t) {
|
|
|
1458
1458
|
return vr(t), t.headers = be.from(t.headers), t.data = gr.call(
|
|
1459
1459
|
t,
|
|
1460
1460
|
t.transformRequest
|
|
1461
|
-
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), za.getAdapter(t.adapter ||
|
|
1461
|
+
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), za.getAdapter(t.adapter || kt.adapter, t)(t).then(function(n) {
|
|
1462
1462
|
return vr(t), n.data = gr.call(
|
|
1463
1463
|
t,
|
|
1464
1464
|
t.transformResponse,
|
|
@@ -1806,7 +1806,7 @@ function Ma(t) {
|
|
|
1806
1806
|
return Ma(Ve(t, a));
|
|
1807
1807
|
}, r;
|
|
1808
1808
|
}
|
|
1809
|
-
const ae = Ma(
|
|
1809
|
+
const ae = Ma(kt);
|
|
1810
1810
|
ae.Axios = Ze;
|
|
1811
1811
|
ae.CanceledError = dt;
|
|
1812
1812
|
ae.CancelToken = ts;
|
|
@@ -2053,7 +2053,7 @@ function ss() {
|
|
|
2053
2053
|
function v(w) {
|
|
2054
2054
|
return N(w) === c;
|
|
2055
2055
|
}
|
|
2056
|
-
function
|
|
2056
|
+
function k(w) {
|
|
2057
2057
|
return N(w) === s;
|
|
2058
2058
|
}
|
|
2059
2059
|
function D(w) {
|
|
@@ -2086,7 +2086,7 @@ function ss() {
|
|
|
2086
2086
|
function le(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 = ce, Q.StrictMode = re, Q.Suspense = xe, Q.isAsyncMode = ie, Q.isConcurrentMode = v, Q.isContextConsumer =
|
|
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 = ce, 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 = le, Q.isValidElementType = R, Q.typeOf = N;
|
|
2090
2090
|
}()), Q;
|
|
2091
2091
|
}
|
|
2092
2092
|
var jn;
|
|
@@ -2204,9 +2204,9 @@ function ls() {
|
|
|
2204
2204
|
process.env.NODE_ENV !== "production" && (r = {});
|
|
2205
2205
|
}, wr = a, wr;
|
|
2206
2206
|
}
|
|
2207
|
-
var
|
|
2207
|
+
var kr, Fn;
|
|
2208
2208
|
function ds() {
|
|
2209
|
-
if (Fn) return
|
|
2209
|
+
if (Fn) return kr;
|
|
2210
2210
|
Fn = 1;
|
|
2211
2211
|
var t = Ba(), e = cs(), r = rn(), n = Ua(), a = ls(), i = function() {
|
|
2212
2212
|
};
|
|
@@ -2221,12 +2221,12 @@ function ds() {
|
|
|
2221
2221
|
function o() {
|
|
2222
2222
|
return null;
|
|
2223
2223
|
}
|
|
2224
|
-
return
|
|
2224
|
+
return kr = function(s, d) {
|
|
2225
2225
|
var c = typeof Symbol == "function" && Symbol.iterator, l = "@@iterator";
|
|
2226
2226
|
function u(v) {
|
|
2227
|
-
var
|
|
2228
|
-
if (typeof
|
|
2229
|
-
return
|
|
2227
|
+
var k = v && (c && v[c] || v[l]);
|
|
2228
|
+
if (typeof k == "function")
|
|
2229
|
+
return k;
|
|
2230
2230
|
}
|
|
2231
2231
|
var b = "<<anonymous>>", x = {
|
|
2232
2232
|
array: A("array"),
|
|
@@ -2249,16 +2249,16 @@ function ds() {
|
|
|
2249
2249
|
shape: Ee,
|
|
2250
2250
|
exact: ve
|
|
2251
2251
|
};
|
|
2252
|
-
function f(v,
|
|
2253
|
-
return v ===
|
|
2252
|
+
function f(v, k) {
|
|
2253
|
+
return v === k ? v !== 0 || 1 / v === 1 / k : v !== v && k !== k;
|
|
2254
2254
|
}
|
|
2255
|
-
function m(v,
|
|
2256
|
-
this.message = v, this.data =
|
|
2255
|
+
function m(v, k) {
|
|
2256
|
+
this.message = v, this.data = k && typeof k == "object" ? k : {}, this.stack = "";
|
|
2257
2257
|
}
|
|
2258
2258
|
m.prototype = Error.prototype;
|
|
2259
2259
|
function h(v) {
|
|
2260
2260
|
if (process.env.NODE_ENV !== "production")
|
|
2261
|
-
var
|
|
2261
|
+
var k = {}, D = 0;
|
|
2262
2262
|
function z(U, F, M, H, Y, Z, le) {
|
|
2263
2263
|
if (H = H || b, Z = Z || M, le !== r) {
|
|
2264
2264
|
if (d) {
|
|
@@ -2268,10 +2268,10 @@ function ds() {
|
|
|
2268
2268
|
throw w.name = "Invariant Violation", w;
|
|
2269
2269
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
2270
2270
|
var we = H + ":" + M;
|
|
2271
|
-
!
|
|
2271
|
+
!k[we] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
2272
2272
|
D < 3 && (i(
|
|
2273
2273
|
"You are manually calling a React.PropTypes validation function for the `" + Z + "` prop on `" + H + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
2274
|
-
),
|
|
2274
|
+
), k[we] = !0, D++);
|
|
2275
2275
|
}
|
|
2276
2276
|
}
|
|
2277
2277
|
return F[M] == null ? U ? F[M] === null ? new m("The " + Y + " `" + Z + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new m("The " + Y + " `" + Z + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : v(F, M, H, Y, Z);
|
|
@@ -2280,7 +2280,7 @@ function ds() {
|
|
|
2280
2280
|
return C.isRequired = z.bind(null, !0), C;
|
|
2281
2281
|
}
|
|
2282
2282
|
function A(v) {
|
|
2283
|
-
function
|
|
2283
|
+
function k(D, z, C, U, F, M) {
|
|
2284
2284
|
var H = D[z], Y = re(H);
|
|
2285
2285
|
if (Y !== v) {
|
|
2286
2286
|
var Z = xe(H);
|
|
@@ -2291,13 +2291,13 @@ function ds() {
|
|
|
2291
2291
|
}
|
|
2292
2292
|
return null;
|
|
2293
2293
|
}
|
|
2294
|
-
return h(
|
|
2294
|
+
return h(k);
|
|
2295
2295
|
}
|
|
2296
2296
|
function K() {
|
|
2297
2297
|
return h(o);
|
|
2298
2298
|
}
|
|
2299
2299
|
function R(v) {
|
|
2300
|
-
function
|
|
2300
|
+
function k(D, z, C, U, F) {
|
|
2301
2301
|
if (typeof v != "function")
|
|
2302
2302
|
return new m("Property `" + F + "` of component `" + C + "` has invalid PropType notation inside arrayOf.");
|
|
2303
2303
|
var M = D[z];
|
|
@@ -2312,11 +2312,11 @@ function ds() {
|
|
|
2312
2312
|
}
|
|
2313
2313
|
return null;
|
|
2314
2314
|
}
|
|
2315
|
-
return h(
|
|
2315
|
+
return h(k);
|
|
2316
2316
|
}
|
|
2317
2317
|
function N() {
|
|
2318
|
-
function v(
|
|
2319
|
-
var F =
|
|
2318
|
+
function v(k, D, z, C, U) {
|
|
2319
|
+
var F = k[D];
|
|
2320
2320
|
if (!s(F)) {
|
|
2321
2321
|
var M = re(F);
|
|
2322
2322
|
return new m("Invalid " + C + " `" + U + "` of type " + ("`" + M + "` supplied to `" + z + "`, expected a single ReactElement."));
|
|
@@ -2326,8 +2326,8 @@ function ds() {
|
|
|
2326
2326
|
return h(v);
|
|
2327
2327
|
}
|
|
2328
2328
|
function y() {
|
|
2329
|
-
function v(
|
|
2330
|
-
var F =
|
|
2329
|
+
function v(k, D, z, C, U) {
|
|
2330
|
+
var F = k[D];
|
|
2331
2331
|
if (!t.isValidElementType(F)) {
|
|
2332
2332
|
var M = re(F);
|
|
2333
2333
|
return new m("Invalid " + C + " `" + U + "` of type " + ("`" + M + "` supplied to `" + z + "`, expected a single ReactElement type."));
|
|
@@ -2337,21 +2337,21 @@ function ds() {
|
|
|
2337
2337
|
return h(v);
|
|
2338
2338
|
}
|
|
2339
2339
|
function $(v) {
|
|
2340
|
-
function
|
|
2340
|
+
function k(D, z, C, U, F) {
|
|
2341
2341
|
if (!(D[z] instanceof v)) {
|
|
2342
2342
|
var M = v.name || b, H = ie(D[z]);
|
|
2343
2343
|
return new m("Invalid " + U + " `" + F + "` of type " + ("`" + H + "` supplied to `" + C + "`, expected ") + ("instance of `" + M + "`."));
|
|
2344
2344
|
}
|
|
2345
2345
|
return null;
|
|
2346
2346
|
}
|
|
2347
|
-
return h(
|
|
2347
|
+
return h(k);
|
|
2348
2348
|
}
|
|
2349
2349
|
function B(v) {
|
|
2350
2350
|
if (!Array.isArray(v))
|
|
2351
2351
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
2352
2352
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
2353
2353
|
) : i("Invalid argument supplied to oneOf, expected an array.")), o;
|
|
2354
|
-
function
|
|
2354
|
+
function k(D, z, C, U, F) {
|
|
2355
2355
|
for (var M = D[z], H = 0; H < v.length; H++)
|
|
2356
2356
|
if (f(M, v[H]))
|
|
2357
2357
|
return null;
|
|
@@ -2361,10 +2361,10 @@ function ds() {
|
|
|
2361
2361
|
});
|
|
2362
2362
|
return new m("Invalid " + U + " `" + F + "` of value `" + String(M) + "` " + ("supplied to `" + C + "`, expected one of " + Y + "."));
|
|
2363
2363
|
}
|
|
2364
|
-
return h(
|
|
2364
|
+
return h(k);
|
|
2365
2365
|
}
|
|
2366
2366
|
function pe(v) {
|
|
2367
|
-
function
|
|
2367
|
+
function k(D, z, C, U, F) {
|
|
2368
2368
|
if (typeof v != "function")
|
|
2369
2369
|
return new m("Property `" + F + "` of component `" + C + "` has invalid PropType notation inside objectOf.");
|
|
2370
2370
|
var M = D[z], H = re(M);
|
|
@@ -2378,16 +2378,16 @@ function ds() {
|
|
|
2378
2378
|
}
|
|
2379
2379
|
return null;
|
|
2380
2380
|
}
|
|
2381
|
-
return h(
|
|
2381
|
+
return h(k);
|
|
2382
2382
|
}
|
|
2383
2383
|
function ge(v) {
|
|
2384
2384
|
if (!Array.isArray(v))
|
|
2385
2385
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), o;
|
|
2386
|
-
for (var
|
|
2387
|
-
var D = v[
|
|
2386
|
+
for (var k = 0; k < v.length; k++) {
|
|
2387
|
+
var D = v[k];
|
|
2388
2388
|
if (typeof D != "function")
|
|
2389
2389
|
return i(
|
|
2390
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + fe(D) + " at index " +
|
|
2390
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + fe(D) + " at index " + k + "."
|
|
2391
2391
|
), o;
|
|
2392
2392
|
}
|
|
2393
2393
|
function z(C, U, F, M, H) {
|
|
@@ -2403,18 +2403,18 @@ function ds() {
|
|
|
2403
2403
|
return h(z);
|
|
2404
2404
|
}
|
|
2405
2405
|
function Se() {
|
|
2406
|
-
function v(
|
|
2407
|
-
return G(
|
|
2406
|
+
function v(k, D, z, C, U) {
|
|
2407
|
+
return G(k[D]) ? null : new m("Invalid " + C + " `" + U + "` supplied to " + ("`" + z + "`, expected a ReactNode."));
|
|
2408
2408
|
}
|
|
2409
2409
|
return h(v);
|
|
2410
2410
|
}
|
|
2411
|
-
function Ae(v,
|
|
2411
|
+
function Ae(v, k, D, z, C) {
|
|
2412
2412
|
return new m(
|
|
2413
|
-
(v || "React class") + ": " +
|
|
2413
|
+
(v || "React class") + ": " + k + " type `" + D + "." + z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + C + "`."
|
|
2414
2414
|
);
|
|
2415
2415
|
}
|
|
2416
2416
|
function Ee(v) {
|
|
2417
|
-
function
|
|
2417
|
+
function k(D, z, C, U, F) {
|
|
2418
2418
|
var M = D[z], H = re(M);
|
|
2419
2419
|
if (H !== "object")
|
|
2420
2420
|
return new m("Invalid " + U + " `" + F + "` of type `" + H + "` " + ("supplied to `" + C + "`, expected `object`."));
|
|
@@ -2428,10 +2428,10 @@ function ds() {
|
|
|
2428
2428
|
}
|
|
2429
2429
|
return null;
|
|
2430
2430
|
}
|
|
2431
|
-
return h(
|
|
2431
|
+
return h(k);
|
|
2432
2432
|
}
|
|
2433
2433
|
function ve(v) {
|
|
2434
|
-
function
|
|
2434
|
+
function k(D, z, C, U, F) {
|
|
2435
2435
|
var M = D[z], H = re(M);
|
|
2436
2436
|
if (H !== "object")
|
|
2437
2437
|
return new m("Invalid " + U + " `" + F + "` of type `" + H + "` " + ("supplied to `" + C + "`, expected `object`."));
|
|
@@ -2451,7 +2451,7 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
2451
2451
|
}
|
|
2452
2452
|
return null;
|
|
2453
2453
|
}
|
|
2454
|
-
return h(
|
|
2454
|
+
return h(k);
|
|
2455
2455
|
}
|
|
2456
2456
|
function G(v) {
|
|
2457
2457
|
switch (typeof v) {
|
|
@@ -2466,10 +2466,10 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
2466
2466
|
return v.every(G);
|
|
2467
2467
|
if (v === null || s(v))
|
|
2468
2468
|
return !0;
|
|
2469
|
-
var
|
|
2470
|
-
if (
|
|
2471
|
-
var D =
|
|
2472
|
-
if (
|
|
2469
|
+
var k = u(v);
|
|
2470
|
+
if (k) {
|
|
2471
|
+
var D = k.call(v), z;
|
|
2472
|
+
if (k !== v.entries) {
|
|
2473
2473
|
for (; !(z = D.next()).done; )
|
|
2474
2474
|
if (!G(z.value))
|
|
2475
2475
|
return !1;
|
|
@@ -2486,55 +2486,55 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
2486
2486
|
return !1;
|
|
2487
2487
|
}
|
|
2488
2488
|
}
|
|
2489
|
-
function ce(v,
|
|
2490
|
-
return v === "symbol" ? !0 :
|
|
2489
|
+
function ce(v, k) {
|
|
2490
|
+
return v === "symbol" ? !0 : k ? k["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && k instanceof Symbol : !1;
|
|
2491
2491
|
}
|
|
2492
2492
|
function re(v) {
|
|
2493
|
-
var
|
|
2494
|
-
return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" : ce(
|
|
2493
|
+
var k = typeof v;
|
|
2494
|
+
return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" : ce(k, v) ? "symbol" : k;
|
|
2495
2495
|
}
|
|
2496
2496
|
function xe(v) {
|
|
2497
2497
|
if (typeof v > "u" || v === null)
|
|
2498
2498
|
return "" + v;
|
|
2499
|
-
var
|
|
2500
|
-
if (
|
|
2499
|
+
var k = re(v);
|
|
2500
|
+
if (k === "object") {
|
|
2501
2501
|
if (v instanceof Date)
|
|
2502
2502
|
return "date";
|
|
2503
2503
|
if (v instanceof RegExp)
|
|
2504
2504
|
return "regexp";
|
|
2505
2505
|
}
|
|
2506
|
-
return
|
|
2506
|
+
return k;
|
|
2507
2507
|
}
|
|
2508
2508
|
function fe(v) {
|
|
2509
|
-
var
|
|
2510
|
-
switch (
|
|
2509
|
+
var k = xe(v);
|
|
2510
|
+
switch (k) {
|
|
2511
2511
|
case "array":
|
|
2512
2512
|
case "object":
|
|
2513
|
-
return "an " +
|
|
2513
|
+
return "an " + k;
|
|
2514
2514
|
case "boolean":
|
|
2515
2515
|
case "date":
|
|
2516
2516
|
case "regexp":
|
|
2517
|
-
return "a " +
|
|
2517
|
+
return "a " + k;
|
|
2518
2518
|
default:
|
|
2519
|
-
return
|
|
2519
|
+
return k;
|
|
2520
2520
|
}
|
|
2521
2521
|
}
|
|
2522
2522
|
function ie(v) {
|
|
2523
2523
|
return !v.constructor || !v.constructor.name ? b : v.constructor.name;
|
|
2524
2524
|
}
|
|
2525
2525
|
return x.checkPropTypes = a, x.resetWarningCache = a.resetWarningCache, x.PropTypes = x, x;
|
|
2526
|
-
},
|
|
2526
|
+
}, kr;
|
|
2527
2527
|
}
|
|
2528
|
-
var
|
|
2528
|
+
var _r, zn;
|
|
2529
2529
|
function ps() {
|
|
2530
|
-
if (zn) return
|
|
2530
|
+
if (zn) return _r;
|
|
2531
2531
|
zn = 1;
|
|
2532
2532
|
var t = rn();
|
|
2533
2533
|
function e() {
|
|
2534
2534
|
}
|
|
2535
2535
|
function r() {
|
|
2536
2536
|
}
|
|
2537
|
-
return r.resetWarningCache = e,
|
|
2537
|
+
return r.resetWarningCache = e, _r = function() {
|
|
2538
2538
|
function n(o, s, d, c, l, u) {
|
|
2539
2539
|
if (u !== t) {
|
|
2540
2540
|
var b = new Error(
|
|
@@ -2571,7 +2571,7 @@ function ps() {
|
|
|
2571
2571
|
resetWarningCache: e
|
|
2572
2572
|
};
|
|
2573
2573
|
return i.PropTypes = i, i;
|
|
2574
|
-
},
|
|
2574
|
+
}, _r;
|
|
2575
2575
|
}
|
|
2576
2576
|
if (process.env.NODE_ENV !== "production") {
|
|
2577
2577
|
var fs = Ba(), us = !0;
|
|
@@ -3844,7 +3844,7 @@ const vs = [
|
|
|
3844
3844
|
];
|
|
3845
3845
|
function ys(t) {
|
|
3846
3846
|
return Je(this, void 0, void 0, function* () {
|
|
3847
|
-
return Lt(t) && bs(t.dataTransfer) ?
|
|
3847
|
+
return Lt(t) && bs(t.dataTransfer) ? _s(t.dataTransfer, t.type) : xs(t) ? ws(t) : Array.isArray(t) && t.every((e) => "getFile" in e && typeof e.getFile == "function") ? ks(t) : [];
|
|
3848
3848
|
});
|
|
3849
3849
|
}
|
|
3850
3850
|
function bs(t) {
|
|
@@ -3859,12 +3859,12 @@ function Lt(t) {
|
|
|
3859
3859
|
function ws(t) {
|
|
3860
3860
|
return Lr(t.target.files).map((e) => it(e));
|
|
3861
3861
|
}
|
|
3862
|
-
function
|
|
3862
|
+
function ks(t) {
|
|
3863
3863
|
return Je(this, void 0, void 0, function* () {
|
|
3864
3864
|
return (yield Promise.all(t.map((r) => r.getFile()))).map((r) => it(r));
|
|
3865
3865
|
});
|
|
3866
3866
|
}
|
|
3867
|
-
function
|
|
3867
|
+
function _s(t, e) {
|
|
3868
3868
|
return Je(this, void 0, void 0, function* () {
|
|
3869
3869
|
if (t.items) {
|
|
3870
3870
|
const r = Lr(t.items).filter((a) => a.kind === "file");
|
|
@@ -4270,7 +4270,7 @@ function oc(t, e) {
|
|
|
4270
4270
|
}
|
|
4271
4271
|
var nn = /* @__PURE__ */ Gr(function(t, e) {
|
|
4272
4272
|
var r = t.children, n = Mt(t, Ks), a = sc(n), i = a.open, o = Mt(a, Js);
|
|
4273
|
-
return
|
|
4273
|
+
return _i(e, function() {
|
|
4274
4274
|
return {
|
|
4275
4275
|
open: i
|
|
4276
4276
|
};
|
|
@@ -4482,8 +4482,8 @@ 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), ce = nt(null), re =
|
|
4486
|
-
!D.current &&
|
|
4485
|
+
}, [m]), G = nt(null), ce = nt(null), re = ki(cc, 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
|
+
!D.current && k && setTimeout(function() {
|
|
4487
4487
|
if (ce.current) {
|
|
4488
4488
|
var j = ce.current.files;
|
|
4489
4489
|
j.length || (ie({
|
|
@@ -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
|
-
}, [ce,
|
|
4499
|
+
}, [ce, 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
|
};
|
|
@@ -4508,9 +4508,9 @@ function sc() {
|
|
|
4508
4508
|
return !n && K && G.current && G.current.focus(), function() {
|
|
4509
4509
|
};
|
|
4510
4510
|
}, [G, K, n]);
|
|
4511
|
-
var F =
|
|
4511
|
+
var F = _e(function(S) {
|
|
4512
4512
|
pe ? pe(S) : console.error(S);
|
|
4513
|
-
}, [pe]), M =
|
|
4513
|
+
}, [pe]), M = _e(function(S) {
|
|
4514
4514
|
S.preventDefault(), S.persist(), Ot(S), C.current = [].concat(Qs(C.current), [S.target]), jt(S) && Promise.resolve(a(S)).then(function(j) {
|
|
4515
4515
|
if (!(qt(S) && !B)) {
|
|
4516
4516
|
var oe = j.length, de = oe > 0 && Ms({
|
|
@@ -4521,10 +4521,10 @@ function sc() {
|
|
|
4521
4521
|
multiple: s,
|
|
4522
4522
|
maxFiles: d,
|
|
4523
4523
|
validator: ge
|
|
4524
|
-
}),
|
|
4524
|
+
}), ke = oe > 0 && !de;
|
|
4525
4525
|
ie({
|
|
4526
4526
|
isDragAccept: de,
|
|
4527
|
-
isDragReject:
|
|
4527
|
+
isDragReject: ke,
|
|
4528
4528
|
isDragActive: !0,
|
|
4529
4529
|
type: "setDraggedFiles"
|
|
4530
4530
|
}), c && c(S);
|
|
@@ -4532,7 +4532,7 @@ function sc() {
|
|
|
4532
4532
|
}).catch(function(j) {
|
|
4533
4533
|
return F(j);
|
|
4534
4534
|
});
|
|
4535
|
-
}, [a, c, F, B, Se, o, i, s, d, ge]), H =
|
|
4535
|
+
}, [a, c, 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)
|
|
@@ -4541,7 +4541,7 @@ function sc() {
|
|
|
4541
4541
|
} catch {
|
|
4542
4542
|
}
|
|
4543
4543
|
return j && u && u(S), !1;
|
|
4544
|
-
}, [u, B]), Y =
|
|
4544
|
+
}, [u, B]), Y = _e(function(S) {
|
|
4545
4545
|
S.preventDefault(), S.persist(), Ot(S);
|
|
4546
4546
|
var j = C.current.filter(function(de) {
|
|
4547
4547
|
return G.current && G.current.contains(de);
|
|
@@ -4552,24 +4552,24 @@ function sc() {
|
|
|
4552
4552
|
isDragAccept: !1,
|
|
4553
4553
|
isDragReject: !1
|
|
4554
4554
|
}), jt(S) && l && l(S));
|
|
4555
|
-
}, [G, l, B]), Z =
|
|
4555
|
+
}, [G, l, B]), Z = _e(function(S, j) {
|
|
4556
4556
|
var oe = [], de = [];
|
|
4557
|
-
S.forEach(function(
|
|
4558
|
-
var ft = Ya(
|
|
4557
|
+
S.forEach(function(ke) {
|
|
4558
|
+
var ft = Ya(ke, Se), Qe = Er(ft, 2), or = Qe[0], sr = Qe[1], cr = Ka(ke, o, i), Ct = Er(cr, 2), lr = Ct[0], dr = Ct[1], pr = ge ? ge(ke) : null;
|
|
4559
4559
|
if (or && lr && !pr)
|
|
4560
|
-
oe.push(
|
|
4560
|
+
oe.push(ke);
|
|
4561
4561
|
else {
|
|
4562
4562
|
var fr = [sr, dr];
|
|
4563
4563
|
pr && (fr = fr.concat(pr)), de.push({
|
|
4564
|
-
file:
|
|
4564
|
+
file: ke,
|
|
4565
4565
|
errors: fr.filter(function(wi) {
|
|
4566
4566
|
return wi;
|
|
4567
4567
|
})
|
|
4568
4568
|
});
|
|
4569
4569
|
}
|
|
4570
|
-
}), (!s && oe.length > 1 || s && d >= 1 && oe.length > d) && (oe.forEach(function(
|
|
4570
|
+
}), (!s && oe.length > 1 || s && d >= 1 && oe.length > d) && (oe.forEach(function(ke) {
|
|
4571
4571
|
de.push({
|
|
4572
|
-
file:
|
|
4572
|
+
file: ke,
|
|
4573
4573
|
errors: [qs]
|
|
4574
4574
|
});
|
|
4575
4575
|
}), oe.splice(0)), ie({
|
|
@@ -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]), le =
|
|
4581
|
+
}, [ie, s, Se, o, i, d, b, x, f, ge]), le = _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) {
|
|
@@ -4586,7 +4586,7 @@ function sc() {
|
|
|
4586
4586
|
}), ie({
|
|
4587
4587
|
type: "reset"
|
|
4588
4588
|
});
|
|
4589
|
-
}, [a, Z, F, B]), w =
|
|
4589
|
+
}, [a, Z, F, B]), w = _e(function() {
|
|
4590
4590
|
if (D.current) {
|
|
4591
4591
|
ie({
|
|
4592
4592
|
type: "openDialog"
|
|
@@ -4611,17 +4611,17 @@ function sc() {
|
|
|
4611
4611
|
ce.current && (ie({
|
|
4612
4612
|
type: "openDialog"
|
|
4613
4613
|
}), Ee(), ce.current.value = null, ce.current.click());
|
|
4614
|
-
}, [ie, Ee, ve, A, Z, F, Ae, s]), we =
|
|
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
|
-
}, [G, w]), $e =
|
|
4616
|
+
}, [G, w]), $e = _e(function() {
|
|
4617
4617
|
ie({
|
|
4618
4618
|
type: "focus"
|
|
4619
4619
|
});
|
|
4620
|
-
}, []), pt =
|
|
4620
|
+
}, []), pt = _e(function() {
|
|
4621
4621
|
ie({
|
|
4622
4622
|
type: "blur"
|
|
4623
4623
|
});
|
|
4624
|
-
}, []), dn =
|
|
4624
|
+
}, []), dn = _e(function() {
|
|
4625
4625
|
N || (Us() ? setTimeout(w, 0) : w());
|
|
4626
4626
|
}, [N, w]), Xe = function(j) {
|
|
4627
4627
|
return n ? null : j;
|
|
@@ -4633,9 +4633,9 @@ 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,
|
|
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, cr = S.onDragOver, Ct = S.onDragLeave, lr = S.onDrop, dr = Mt(S, Gs);
|
|
4637
4637
|
return ne(ne($r({
|
|
4638
|
-
onKeyDown: ir(je(
|
|
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)),
|
|
@@ -4648,11 +4648,11 @@ function sc() {
|
|
|
4648
4648
|
tabIndex: 0
|
|
4649
4649
|
} : {}), dr);
|
|
4650
4650
|
};
|
|
4651
|
-
}, [G, we, $e, pt, dn, M, H, Y, le, y, $, n]), bi =
|
|
4651
|
+
}, [G, we, $e, pt, dn, M, H, Y, le, y, $, n]), bi = _e(function(S) {
|
|
4652
4652
|
S.stopPropagation();
|
|
4653
4653
|
}, []), xi = et(function() {
|
|
4654
4654
|
return function() {
|
|
4655
|
-
var S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = S.refKey, oe = j === void 0 ? "ref" : j, de = S.onChange,
|
|
4655
|
+
var S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = S.refKey, oe = j === void 0 ? "ref" : j, de = S.onChange, ke = S.onClick, ft = Mt(S, Xs), Qe = $r({
|
|
4656
4656
|
accept: Se,
|
|
4657
4657
|
multiple: s,
|
|
4658
4658
|
type: "file",
|
|
@@ -4669,7 +4669,7 @@ function sc() {
|
|
|
4669
4669
|
whiteSpace: "nowrap"
|
|
4670
4670
|
},
|
|
4671
4671
|
onChange: Xe(je(de, le)),
|
|
4672
|
-
onClick: Xe(je(
|
|
4672
|
+
onClick: Xe(je(ke, bi)),
|
|
4673
4673
|
tabIndex: -1
|
|
4674
4674
|
}, oe, ce);
|
|
4675
4675
|
return ne(ne({}, Qe), ft);
|
|
@@ -4938,7 +4938,7 @@ 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 kc = {}, Jn = (t) => {
|
|
4942
4942
|
let e;
|
|
4943
4943
|
const r = /* @__PURE__ */ new Set(), n = (l, u) => {
|
|
4944
4944
|
const b = typeof l == "function" ? l(e) : l;
|
|
@@ -4947,12 +4947,12 @@ const _c = {}, Jn = (t) => {
|
|
|
4947
4947
|
e = u ?? (typeof b != "object" || b === null) ? b : Object.assign({}, e, b), r.forEach((f) => f(e, x));
|
|
4948
4948
|
}
|
|
4949
4949
|
}, a = () => e, d = { setState: n, getState: a, getInitialState: () => c, subscribe: (l) => (r.add(l), () => r.delete(l)), destroy: () => {
|
|
4950
|
-
(
|
|
4950
|
+
(kc ? "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
|
} }, c = e = t(n, a, d);
|
|
4954
4954
|
return d;
|
|
4955
|
-
},
|
|
4955
|
+
}, _c = (t) => t ? Jn(t) : Jn;
|
|
4956
4956
|
var Ur = { exports: {} }, Tr = {}, Dt = { exports: {} }, Or = {};
|
|
4957
4957
|
/**
|
|
4958
4958
|
* @license React
|
|
@@ -5215,7 +5215,7 @@ 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" ? _c(t) : t, r = (n, a) => Pc(e, n, a);
|
|
5219
5219
|
return Object.assign(r, e), r;
|
|
5220
5220
|
}, bd = (t) => t ? na(t) : na;
|
|
5221
5221
|
var W;
|
|
@@ -5468,7 +5468,7 @@ const Fc = (t) => {
|
|
|
5468
5468
|
message: s
|
|
5469
5469
|
};
|
|
5470
5470
|
};
|
|
5471
|
-
function
|
|
5471
|
+
function _(t, e) {
|
|
5472
5472
|
const r = Nc(), n = Fc({
|
|
5473
5473
|
issueData: e,
|
|
5474
5474
|
data: t.data,
|
|
@@ -5827,7 +5827,7 @@ class Ne extends V {
|
|
|
5827
5827
|
_parse(e) {
|
|
5828
5828
|
if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !== T.string) {
|
|
5829
5829
|
const i = this._getOrReturnCtx(e);
|
|
5830
|
-
return
|
|
5830
|
+
return _(i, {
|
|
5831
5831
|
code: g.invalid_type,
|
|
5832
5832
|
expected: T.string,
|
|
5833
5833
|
received: i.parsedType
|
|
@@ -5837,7 +5837,7 @@ class Ne extends V {
|
|
|
5837
5837
|
let a;
|
|
5838
5838
|
for (const i of this._def.checks)
|
|
5839
5839
|
if (i.kind === "min")
|
|
5840
|
-
e.data.length < i.value && (a = this._getOrReturnCtx(e, a),
|
|
5840
|
+
e.data.length < i.value && (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5841
5841
|
code: g.too_small,
|
|
5842
5842
|
minimum: i.value,
|
|
5843
5843
|
type: "string",
|
|
@@ -5846,7 +5846,7 @@ class Ne extends V {
|
|
|
5846
5846
|
message: i.message
|
|
5847
5847
|
}), n.dirty());
|
|
5848
5848
|
else if (i.kind === "max")
|
|
5849
|
-
e.data.length > i.value && (a = this._getOrReturnCtx(e, a),
|
|
5849
|
+
e.data.length > i.value && (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5850
5850
|
code: g.too_big,
|
|
5851
5851
|
maximum: i.value,
|
|
5852
5852
|
type: "string",
|
|
@@ -5856,14 +5856,14 @@ class Ne extends V {
|
|
|
5856
5856
|
}), n.dirty());
|
|
5857
5857
|
else if (i.kind === "length") {
|
|
5858
5858
|
const o = e.data.length > i.value, s = e.data.length < i.value;
|
|
5859
|
-
(o || s) && (a = this._getOrReturnCtx(e, a), o ?
|
|
5859
|
+
(o || s) && (a = this._getOrReturnCtx(e, a), o ? _(a, {
|
|
5860
5860
|
code: g.too_big,
|
|
5861
5861
|
maximum: i.value,
|
|
5862
5862
|
type: "string",
|
|
5863
5863
|
inclusive: !0,
|
|
5864
5864
|
exact: !0,
|
|
5865
5865
|
message: i.message
|
|
5866
|
-
}) : s &&
|
|
5866
|
+
}) : s && _(a, {
|
|
5867
5867
|
code: g.too_small,
|
|
5868
5868
|
minimum: i.value,
|
|
5869
5869
|
type: "string",
|
|
@@ -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
|
-
Zc.test(e.data) || (a = this._getOrReturnCtx(e, a),
|
|
5875
|
+
Zc.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(Vc, "u")), Rr.test(e.data) || (a = this._getOrReturnCtx(e, a),
|
|
5881
|
+
Rr || (Rr = new RegExp(Vc, "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
|
-
Mc.test(e.data) || (a = this._getOrReturnCtx(e, a),
|
|
5887
|
+
Mc.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
|
-
$c.test(e.data) || (a = this._getOrReturnCtx(e, a),
|
|
5893
|
+
$c.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
|
-
zc.test(e.data) || (a = this._getOrReturnCtx(e, a),
|
|
5899
|
+
zc.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
|
-
Lc.test(e.data) || (a = this._getOrReturnCtx(e, a),
|
|
5905
|
+
Lc.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
|
-
qc.test(e.data) || (a = this._getOrReturnCtx(e, a),
|
|
5911
|
+
qc.test(e.data) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5912
5912
|
validation: "ulid",
|
|
5913
5913
|
code: g.invalid_string,
|
|
5914
5914
|
message: i.message
|
|
@@ -5917,61 +5917,61 @@ class Ne extends V {
|
|
|
5917
5917
|
try {
|
|
5918
5918
|
new URL(e.data);
|
|
5919
5919
|
} catch {
|
|
5920
|
-
a = this._getOrReturnCtx(e, a),
|
|
5920
|
+
a = this._getOrReturnCtx(e, a), _(a, {
|
|
5921
5921
|
validation: "url",
|
|
5922
5922
|
code: g.invalid_string,
|
|
5923
5923
|
message: i.message
|
|
5924
5924
|
}), n.dirty();
|
|
5925
5925
|
}
|
|
5926
|
-
else i.kind === "regex" ? (i.regex.lastIndex = 0, i.regex.test(e.data) || (a = this._getOrReturnCtx(e, a),
|
|
5926
|
+
else i.kind === "regex" ? (i.regex.lastIndex = 0, i.regex.test(e.data) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5927
5927
|
validation: "regex",
|
|
5928
5928
|
code: g.invalid_string,
|
|
5929
5929
|
message: i.message
|
|
5930
|
-
}), n.dirty())) : i.kind === "trim" ? e.data = e.data.trim() : i.kind === "includes" ? e.data.includes(i.value, i.position) || (a = this._getOrReturnCtx(e, a),
|
|
5930
|
+
}), n.dirty())) : i.kind === "trim" ? e.data = e.data.trim() : i.kind === "includes" ? e.data.includes(i.value, i.position) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5931
5931
|
code: g.invalid_string,
|
|
5932
5932
|
validation: { includes: i.value, position: i.position },
|
|
5933
5933
|
message: i.message
|
|
5934
|
-
}), n.dirty()) : i.kind === "toLowerCase" ? e.data = e.data.toLowerCase() : i.kind === "toUpperCase" ? e.data = e.data.toUpperCase() : i.kind === "startsWith" ? e.data.startsWith(i.value) || (a = this._getOrReturnCtx(e, a),
|
|
5934
|
+
}), n.dirty()) : i.kind === "toLowerCase" ? e.data = e.data.toLowerCase() : i.kind === "toUpperCase" ? e.data = e.data.toUpperCase() : i.kind === "startsWith" ? e.data.startsWith(i.value) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5935
5935
|
code: g.invalid_string,
|
|
5936
5936
|
validation: { startsWith: i.value },
|
|
5937
5937
|
message: i.message
|
|
5938
|
-
}), n.dirty()) : i.kind === "endsWith" ? e.data.endsWith(i.value) || (a = this._getOrReturnCtx(e, a),
|
|
5938
|
+
}), n.dirty()) : i.kind === "endsWith" ? e.data.endsWith(i.value) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5939
5939
|
code: g.invalid_string,
|
|
5940
5940
|
validation: { endsWith: i.value },
|
|
5941
5941
|
message: i.message
|
|
5942
|
-
}), n.dirty()) : i.kind === "datetime" ? el(i).test(e.data) || (a = this._getOrReturnCtx(e, a),
|
|
5942
|
+
}), n.dirty()) : i.kind === "datetime" ? el(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" ? Xc.test(e.data) || (a = this._getOrReturnCtx(e, a),
|
|
5946
|
+
}), n.dirty()) : i.kind === "date" ? Xc.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" ? Qc(i).test(e.data) || (a = this._getOrReturnCtx(e, a),
|
|
5950
|
+
}), n.dirty()) : i.kind === "time" ? Qc(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" ? Uc.test(e.data) || (a = this._getOrReturnCtx(e, a),
|
|
5954
|
+
}), n.dirty()) : i.kind === "duration" ? Uc.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" ? tl(e.data, i.version) || (a = this._getOrReturnCtx(e, a),
|
|
5958
|
+
}), n.dirty()) : i.kind === "ip" ? tl(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" ? rl(e.data, i.alg) || (a = this._getOrReturnCtx(e, a),
|
|
5962
|
+
}), n.dirty()) : i.kind === "jwt" ? rl(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" ? nl(e.data, i.version) || (a = this._getOrReturnCtx(e, a),
|
|
5966
|
+
}), n.dirty()) : i.kind === "cidr" ? nl(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" ? Jc.test(e.data) || (a = this._getOrReturnCtx(e, a),
|
|
5970
|
+
}), n.dirty()) : i.kind === "base64" ? Jc.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" ? Gc.test(e.data) || (a = this._getOrReturnCtx(e, a),
|
|
5974
|
+
}), n.dirty()) : i.kind === "base64url" ? Gc.test(e.data) || (a = this._getOrReturnCtx(e, a), _(a, {
|
|
5975
5975
|
validation: "base64url",
|
|
5976
5976
|
code: g.invalid_string,
|
|
5977
5977
|
message: i.message
|
|
@@ -6217,7 +6217,7 @@ class st extends V {
|
|
|
6217
6217
|
_parse(e) {
|
|
6218
6218
|
if (this._def.coerce && (e.data = Number(e.data)), this._getType(e) !== T.number) {
|
|
6219
6219
|
const i = this._getOrReturnCtx(e);
|
|
6220
|
-
return
|
|
6220
|
+
return _(i, {
|
|
6221
6221
|
code: g.invalid_type,
|
|
6222
6222
|
expected: T.number,
|
|
6223
6223
|
received: i.parsedType
|
|
@@ -6226,30 +6226,30 @@ class st extends V {
|
|
|
6226
6226
|
let n;
|
|
6227
6227
|
const a = new me();
|
|
6228
6228
|
for (const i of this._def.checks)
|
|
6229
|
-
i.kind === "int" ? W.isInteger(e.data) || (n = this._getOrReturnCtx(e, n),
|
|
6229
|
+
i.kind === "int" ? W.isInteger(e.data) || (n = this._getOrReturnCtx(e, n), _(n, {
|
|
6230
6230
|
code: g.invalid_type,
|
|
6231
6231
|
expected: "integer",
|
|
6232
6232
|
received: "float",
|
|
6233
6233
|
message: i.message
|
|
6234
|
-
}), a.dirty()) : i.kind === "min" ? (i.inclusive ? e.data < i.value : e.data <= i.value) && (n = this._getOrReturnCtx(e, n),
|
|
6234
|
+
}), a.dirty()) : i.kind === "min" ? (i.inclusive ? e.data < i.value : e.data <= i.value) && (n = this._getOrReturnCtx(e, n), _(n, {
|
|
6235
6235
|
code: g.too_small,
|
|
6236
6236
|
minimum: i.value,
|
|
6237
6237
|
type: "number",
|
|
6238
6238
|
inclusive: i.inclusive,
|
|
6239
6239
|
exact: !1,
|
|
6240
6240
|
message: i.message
|
|
6241
|
-
}), a.dirty()) : i.kind === "max" ? (i.inclusive ? e.data > i.value : e.data >= i.value) && (n = this._getOrReturnCtx(e, n),
|
|
6241
|
+
}), a.dirty()) : i.kind === "max" ? (i.inclusive ? e.data > i.value : e.data >= i.value) && (n = this._getOrReturnCtx(e, n), _(n, {
|
|
6242
6242
|
code: g.too_big,
|
|
6243
6243
|
maximum: i.value,
|
|
6244
6244
|
type: "number",
|
|
6245
6245
|
inclusive: i.inclusive,
|
|
6246
6246
|
exact: !1,
|
|
6247
6247
|
message: i.message
|
|
6248
|
-
}), a.dirty()) : i.kind === "multipleOf" ? al(e.data, i.value) !== 0 && (n = this._getOrReturnCtx(e, n),
|
|
6248
|
+
}), a.dirty()) : i.kind === "multipleOf" ? al(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
|
|
6252
|
-
}), a.dirty()) : i.kind === "finite" ? Number.isFinite(e.data) || (n = this._getOrReturnCtx(e, n),
|
|
6252
|
+
}), a.dirty()) : i.kind === "finite" ? Number.isFinite(e.data) || (n = this._getOrReturnCtx(e, n), _(n, {
|
|
6253
6253
|
code: g.not_finite,
|
|
6254
6254
|
message: i.message
|
|
6255
6255
|
}), a.dirty()) : W.assertNever(i);
|
|
@@ -6398,19 +6398,19 @@ class vt extends V {
|
|
|
6398
6398
|
let n;
|
|
6399
6399
|
const a = new me();
|
|
6400
6400
|
for (const i of this._def.checks)
|
|
6401
|
-
i.kind === "min" ? (i.inclusive ? e.data < i.value : e.data <= i.value) && (n = this._getOrReturnCtx(e, n),
|
|
6401
|
+
i.kind === "min" ? (i.inclusive ? e.data < i.value : e.data <= i.value) && (n = this._getOrReturnCtx(e, n), _(n, {
|
|
6402
6402
|
code: g.too_small,
|
|
6403
6403
|
type: "bigint",
|
|
6404
6404
|
minimum: i.value,
|
|
6405
6405
|
inclusive: i.inclusive,
|
|
6406
6406
|
message: i.message
|
|
6407
|
-
}), a.dirty()) : i.kind === "max" ? (i.inclusive ? e.data > i.value : e.data >= i.value) && (n = this._getOrReturnCtx(e, n),
|
|
6407
|
+
}), a.dirty()) : i.kind === "max" ? (i.inclusive ? e.data > i.value : e.data >= i.value) && (n = this._getOrReturnCtx(e, n), _(n, {
|
|
6408
6408
|
code: g.too_big,
|
|
6409
6409
|
type: "bigint",
|
|
6410
6410
|
maximum: i.value,
|
|
6411
6411
|
inclusive: i.inclusive,
|
|
6412
6412
|
message: i.message
|
|
6413
|
-
}), a.dirty()) : i.kind === "multipleOf" ? e.data % i.value !== BigInt(0) && (n = this._getOrReturnCtx(e, n),
|
|
6413
|
+
}), a.dirty()) : i.kind === "multipleOf" ? e.data % i.value !== BigInt(0) && (n = this._getOrReturnCtx(e, n), _(n, {
|
|
6414
6414
|
code: g.not_multiple_of,
|
|
6415
6415
|
multipleOf: i.value,
|
|
6416
6416
|
message: i.message
|
|
@@ -6419,7 +6419,7 @@ class vt extends V {
|
|
|
6419
6419
|
}
|
|
6420
6420
|
_getInvalidInput(e) {
|
|
6421
6421
|
const r = this._getOrReturnCtx(e);
|
|
6422
|
-
return
|
|
6422
|
+
return _(r, {
|
|
6423
6423
|
code: g.invalid_type,
|
|
6424
6424
|
expected: T.bigint,
|
|
6425
6425
|
received: r.parsedType
|
|
@@ -6519,7 +6519,7 @@ class Vr extends V {
|
|
|
6519
6519
|
_parse(e) {
|
|
6520
6520
|
if (this._def.coerce && (e.data = !!e.data), this._getType(e) !== T.boolean) {
|
|
6521
6521
|
const n = this._getOrReturnCtx(e);
|
|
6522
|
-
return
|
|
6522
|
+
return _(n, {
|
|
6523
6523
|
code: g.invalid_type,
|
|
6524
6524
|
expected: T.boolean,
|
|
6525
6525
|
received: n.parsedType
|
|
@@ -6537,7 +6537,7 @@ class Bt extends V {
|
|
|
6537
6537
|
_parse(e) {
|
|
6538
6538
|
if (this._def.coerce && (e.data = new Date(e.data)), this._getType(e) !== T.date) {
|
|
6539
6539
|
const i = this._getOrReturnCtx(e);
|
|
6540
|
-
return
|
|
6540
|
+
return _(i, {
|
|
6541
6541
|
code: g.invalid_type,
|
|
6542
6542
|
expected: T.date,
|
|
6543
6543
|
received: i.parsedType
|
|
@@ -6545,21 +6545,21 @@ class Bt extends V {
|
|
|
6545
6545
|
}
|
|
6546
6546
|
if (Number.isNaN(e.data.getTime())) {
|
|
6547
6547
|
const i = this._getOrReturnCtx(e);
|
|
6548
|
-
return
|
|
6548
|
+
return _(i, {
|
|
6549
6549
|
code: g.invalid_date
|
|
6550
6550
|
}), P;
|
|
6551
6551
|
}
|
|
6552
6552
|
const n = new me();
|
|
6553
6553
|
let a;
|
|
6554
6554
|
for (const i of this._def.checks)
|
|
6555
|
-
i.kind === "min" ? e.data.getTime() < i.value && (a = this._getOrReturnCtx(e, a),
|
|
6555
|
+
i.kind === "min" ? e.data.getTime() < i.value && (a = this._getOrReturnCtx(e, a), _(a, {
|
|
6556
6556
|
code: g.too_small,
|
|
6557
6557
|
message: i.message,
|
|
6558
6558
|
inclusive: !0,
|
|
6559
6559
|
exact: !1,
|
|
6560
6560
|
minimum: i.value,
|
|
6561
6561
|
type: "date"
|
|
6562
|
-
}), n.dirty()) : i.kind === "max" ? e.data.getTime() > i.value && (a = this._getOrReturnCtx(e, a),
|
|
6562
|
+
}), n.dirty()) : i.kind === "max" ? e.data.getTime() > i.value && (a = this._getOrReturnCtx(e, a), _(a, {
|
|
6563
6563
|
code: g.too_big,
|
|
6564
6564
|
message: i.message,
|
|
6565
6565
|
inclusive: !0,
|
|
@@ -6615,7 +6615,7 @@ class ca extends V {
|
|
|
6615
6615
|
_parse(e) {
|
|
6616
6616
|
if (this._getType(e) !== T.symbol) {
|
|
6617
6617
|
const n = this._getOrReturnCtx(e);
|
|
6618
|
-
return
|
|
6618
|
+
return _(n, {
|
|
6619
6619
|
code: g.invalid_type,
|
|
6620
6620
|
expected: T.symbol,
|
|
6621
6621
|
received: n.parsedType
|
|
@@ -6632,7 +6632,7 @@ class Hr extends V {
|
|
|
6632
6632
|
_parse(e) {
|
|
6633
6633
|
if (this._getType(e) !== T.undefined) {
|
|
6634
6634
|
const n = this._getOrReturnCtx(e);
|
|
6635
|
-
return
|
|
6635
|
+
return _(n, {
|
|
6636
6636
|
code: g.invalid_type,
|
|
6637
6637
|
expected: T.undefined,
|
|
6638
6638
|
received: n.parsedType
|
|
@@ -6649,7 +6649,7 @@ class Ut extends V {
|
|
|
6649
6649
|
_parse(e) {
|
|
6650
6650
|
if (this._getType(e) !== T.null) {
|
|
6651
6651
|
const n = this._getOrReturnCtx(e);
|
|
6652
|
-
return
|
|
6652
|
+
return _(n, {
|
|
6653
6653
|
code: g.invalid_type,
|
|
6654
6654
|
expected: T.null,
|
|
6655
6655
|
received: n.parsedType
|
|
@@ -6689,7 +6689,7 @@ Wr.create = (t) => new Wr({
|
|
|
6689
6689
|
class qe extends V {
|
|
6690
6690
|
_parse(e) {
|
|
6691
6691
|
const r = this._getOrReturnCtx(e);
|
|
6692
|
-
return
|
|
6692
|
+
return _(r, {
|
|
6693
6693
|
code: g.invalid_type,
|
|
6694
6694
|
expected: T.never,
|
|
6695
6695
|
received: r.parsedType
|
|
@@ -6704,7 +6704,7 @@ class da extends V {
|
|
|
6704
6704
|
_parse(e) {
|
|
6705
6705
|
if (this._getType(e) !== T.undefined) {
|
|
6706
6706
|
const n = this._getOrReturnCtx(e);
|
|
6707
|
-
return
|
|
6707
|
+
return _(n, {
|
|
6708
6708
|
code: g.invalid_type,
|
|
6709
6709
|
expected: T.void,
|
|
6710
6710
|
received: n.parsedType
|
|
@@ -6721,14 +6721,14 @@ class De extends V {
|
|
|
6721
6721
|
_parse(e) {
|
|
6722
6722
|
const { ctx: r, status: n } = this._processInputParams(e), a = this._def;
|
|
6723
6723
|
if (r.parsedType !== T.array)
|
|
6724
|
-
return
|
|
6724
|
+
return _(r, {
|
|
6725
6725
|
code: g.invalid_type,
|
|
6726
6726
|
expected: T.array,
|
|
6727
6727
|
received: r.parsedType
|
|
6728
6728
|
}), P;
|
|
6729
6729
|
if (a.exactLength !== null) {
|
|
6730
6730
|
const o = r.data.length > a.exactLength.value, s = r.data.length < a.exactLength.value;
|
|
6731
|
-
(o || s) && (
|
|
6731
|
+
(o || s) && (_(r, {
|
|
6732
6732
|
code: o ? g.too_big : g.too_small,
|
|
6733
6733
|
minimum: s ? a.exactLength.value : void 0,
|
|
6734
6734
|
maximum: o ? a.exactLength.value : void 0,
|
|
@@ -6738,14 +6738,14 @@ class De extends V {
|
|
|
6738
6738
|
message: a.exactLength.message
|
|
6739
6739
|
}), n.dirty());
|
|
6740
6740
|
}
|
|
6741
|
-
if (a.minLength !== null && r.data.length < a.minLength.value && (
|
|
6741
|
+
if (a.minLength !== null && r.data.length < a.minLength.value && (_(r, {
|
|
6742
6742
|
code: g.too_small,
|
|
6743
6743
|
minimum: a.minLength.value,
|
|
6744
6744
|
type: "array",
|
|
6745
6745
|
inclusive: !0,
|
|
6746
6746
|
exact: !1,
|
|
6747
6747
|
message: a.minLength.message
|
|
6748
|
-
}), n.dirty()), a.maxLength !== null && r.data.length > a.maxLength.value && (
|
|
6748
|
+
}), n.dirty()), a.maxLength !== null && r.data.length > a.maxLength.value && (_(r, {
|
|
6749
6749
|
code: g.too_big,
|
|
6750
6750
|
maximum: a.maxLength.value,
|
|
6751
6751
|
type: "array",
|
|
@@ -6819,7 +6819,7 @@ class se extends V {
|
|
|
6819
6819
|
_parse(e) {
|
|
6820
6820
|
if (this._getType(e) !== T.object) {
|
|
6821
6821
|
const c = this._getOrReturnCtx(e);
|
|
6822
|
-
return
|
|
6822
|
+
return _(c, {
|
|
6823
6823
|
code: g.invalid_type,
|
|
6824
6824
|
expected: T.object,
|
|
6825
6825
|
received: c.parsedType
|
|
@@ -6847,7 +6847,7 @@ class se extends V {
|
|
|
6847
6847
|
value: { status: "valid", value: a.data[l] }
|
|
6848
6848
|
});
|
|
6849
6849
|
else if (c === "strict")
|
|
6850
|
-
s.length > 0 && (
|
|
6850
|
+
s.length > 0 && (_(a, {
|
|
6851
6851
|
code: g.unrecognized_keys,
|
|
6852
6852
|
keys: s
|
|
6853
6853
|
}), n.dirty());
|
|
@@ -7105,7 +7105,7 @@ class Zt extends V {
|
|
|
7105
7105
|
if (s.result.status === "dirty")
|
|
7106
7106
|
return r.common.issues.push(...s.ctx.common.issues), s.result;
|
|
7107
7107
|
const o = i.map((s) => new ze(s.ctx.common.issues));
|
|
7108
|
-
return
|
|
7108
|
+
return _(r, {
|
|
7109
7109
|
code: g.invalid_union,
|
|
7110
7110
|
unionErrors: o
|
|
7111
7111
|
}), P;
|
|
@@ -7152,7 +7152,7 @@ class Zt extends V {
|
|
|
7152
7152
|
if (i)
|
|
7153
7153
|
return r.common.issues.push(...i.ctx.common.issues), i.result;
|
|
7154
7154
|
const s = o.map((d) => new ze(d));
|
|
7155
|
-
return
|
|
7155
|
+
return _(r, {
|
|
7156
7156
|
code: g.invalid_union,
|
|
7157
7157
|
unionErrors: s
|
|
7158
7158
|
}), P;
|
|
@@ -7172,7 +7172,7 @@ class an extends V {
|
|
|
7172
7172
|
_parse(e) {
|
|
7173
7173
|
const { ctx: r } = this._processInputParams(e);
|
|
7174
7174
|
if (r.parsedType !== T.object)
|
|
7175
|
-
return
|
|
7175
|
+
return _(r, {
|
|
7176
7176
|
code: g.invalid_type,
|
|
7177
7177
|
expected: T.object,
|
|
7178
7178
|
received: r.parsedType
|
|
@@ -7186,7 +7186,7 @@ class an extends V {
|
|
|
7186
7186
|
data: r.data,
|
|
7187
7187
|
path: r.path,
|
|
7188
7188
|
parent: r
|
|
7189
|
-
}) : (
|
|
7189
|
+
}) : (_(r, {
|
|
7190
7190
|
code: g.invalid_union_discriminator,
|
|
7191
7191
|
options: Array.from(this.optionsMap.keys()),
|
|
7192
7192
|
path: [n]
|
|
@@ -7262,7 +7262,7 @@ class Vt extends V {
|
|
|
7262
7262
|
if (ia(i) || ia(o))
|
|
7263
7263
|
return P;
|
|
7264
7264
|
const s = Yr(i.value, o.value);
|
|
7265
|
-
return s.valid ? ((oa(i) || oa(o)) && r.dirty(), { status: r.value, value: s.data }) : (
|
|
7265
|
+
return s.valid ? ((oa(i) || oa(o)) && r.dirty(), { status: r.value, value: s.data }) : (_(n, {
|
|
7266
7266
|
code: g.invalid_intersection_types
|
|
7267
7267
|
}), P);
|
|
7268
7268
|
};
|
|
@@ -7298,20 +7298,20 @@ class He extends V {
|
|
|
7298
7298
|
_parse(e) {
|
|
7299
7299
|
const { status: r, ctx: n } = this._processInputParams(e);
|
|
7300
7300
|
if (n.parsedType !== T.array)
|
|
7301
|
-
return
|
|
7301
|
+
return _(n, {
|
|
7302
7302
|
code: g.invalid_type,
|
|
7303
7303
|
expected: T.array,
|
|
7304
7304
|
received: n.parsedType
|
|
7305
7305
|
}), P;
|
|
7306
7306
|
if (n.data.length < this._def.items.length)
|
|
7307
|
-
return
|
|
7307
|
+
return _(n, {
|
|
7308
7308
|
code: g.too_small,
|
|
7309
7309
|
minimum: this._def.items.length,
|
|
7310
7310
|
inclusive: !0,
|
|
7311
7311
|
exact: !1,
|
|
7312
7312
|
type: "array"
|
|
7313
7313
|
}), P;
|
|
7314
|
-
!this._def.rest && n.data.length > this._def.items.length && (
|
|
7314
|
+
!this._def.rest && n.data.length > this._def.items.length && (_(n, {
|
|
7315
7315
|
code: g.too_big,
|
|
7316
7316
|
maximum: this._def.items.length,
|
|
7317
7317
|
inclusive: !0,
|
|
@@ -7354,7 +7354,7 @@ class Ht extends V {
|
|
|
7354
7354
|
_parse(e) {
|
|
7355
7355
|
const { status: r, ctx: n } = this._processInputParams(e);
|
|
7356
7356
|
if (n.parsedType !== T.object)
|
|
7357
|
-
return
|
|
7357
|
+
return _(n, {
|
|
7358
7358
|
code: g.invalid_type,
|
|
7359
7359
|
expected: T.object,
|
|
7360
7360
|
received: n.parsedType
|
|
@@ -7395,7 +7395,7 @@ class pa extends V {
|
|
|
7395
7395
|
_parse(e) {
|
|
7396
7396
|
const { status: r, ctx: n } = this._processInputParams(e);
|
|
7397
7397
|
if (n.parsedType !== T.map)
|
|
7398
|
-
return
|
|
7398
|
+
return _(n, {
|
|
7399
7399
|
code: g.invalid_type,
|
|
7400
7400
|
expected: T.map,
|
|
7401
7401
|
received: n.parsedType
|
|
@@ -7437,20 +7437,20 @@ class yt extends V {
|
|
|
7437
7437
|
_parse(e) {
|
|
7438
7438
|
const { status: r, ctx: n } = this._processInputParams(e);
|
|
7439
7439
|
if (n.parsedType !== T.set)
|
|
7440
|
-
return
|
|
7440
|
+
return _(n, {
|
|
7441
7441
|
code: g.invalid_type,
|
|
7442
7442
|
expected: T.set,
|
|
7443
7443
|
received: n.parsedType
|
|
7444
7444
|
}), P;
|
|
7445
7445
|
const a = this._def;
|
|
7446
|
-
a.minSize !== null && n.data.size < a.minSize.value && (
|
|
7446
|
+
a.minSize !== null && n.data.size < a.minSize.value && (_(n, {
|
|
7447
7447
|
code: g.too_small,
|
|
7448
7448
|
minimum: a.minSize.value,
|
|
7449
7449
|
type: "set",
|
|
7450
7450
|
inclusive: !0,
|
|
7451
7451
|
exact: !1,
|
|
7452
7452
|
message: a.minSize.message
|
|
7453
|
-
}), r.dirty()), a.maxSize !== null && n.data.size > a.maxSize.value && (
|
|
7453
|
+
}), r.dirty()), a.maxSize !== null && n.data.size > a.maxSize.value && (_(n, {
|
|
7454
7454
|
code: g.too_big,
|
|
7455
7455
|
maximum: a.maxSize.value,
|
|
7456
7456
|
type: "set",
|
|
@@ -7515,7 +7515,7 @@ class Wt extends V {
|
|
|
7515
7515
|
_parse(e) {
|
|
7516
7516
|
if (e.data !== this._def.value) {
|
|
7517
7517
|
const r = this._getOrReturnCtx(e);
|
|
7518
|
-
return
|
|
7518
|
+
return _(r, {
|
|
7519
7519
|
received: r.data,
|
|
7520
7520
|
code: g.invalid_literal,
|
|
7521
7521
|
expected: this._def.value
|
|
@@ -7543,7 +7543,7 @@ class We extends V {
|
|
|
7543
7543
|
_parse(e) {
|
|
7544
7544
|
if (typeof e.data != "string") {
|
|
7545
7545
|
const r = this._getOrReturnCtx(e), n = this._def.values;
|
|
7546
|
-
return
|
|
7546
|
+
return _(r, {
|
|
7547
7547
|
expected: W.joinValues(n),
|
|
7548
7548
|
received: r.parsedType,
|
|
7549
7549
|
code: g.invalid_type
|
|
@@ -7551,7 +7551,7 @@ class We extends V {
|
|
|
7551
7551
|
}
|
|
7552
7552
|
if (this._cache || (this._cache = new Set(this._def.values)), !this._cache.has(e.data)) {
|
|
7553
7553
|
const r = this._getOrReturnCtx(e), n = this._def.values;
|
|
7554
|
-
return
|
|
7554
|
+
return _(r, {
|
|
7555
7555
|
received: r.data,
|
|
7556
7556
|
code: g.invalid_enum_value,
|
|
7557
7557
|
options: n
|
|
@@ -7599,7 +7599,7 @@ class Jr extends V {
|
|
|
7599
7599
|
const r = W.getValidEnumValues(this._def.values), n = this._getOrReturnCtx(e);
|
|
7600
7600
|
if (n.parsedType !== T.string && n.parsedType !== T.number) {
|
|
7601
7601
|
const a = W.objectValues(r);
|
|
7602
|
-
return
|
|
7602
|
+
return _(n, {
|
|
7603
7603
|
expected: W.joinValues(a),
|
|
7604
7604
|
received: n.parsedType,
|
|
7605
7605
|
code: g.invalid_type
|
|
@@ -7607,7 +7607,7 @@ class Jr extends V {
|
|
|
7607
7607
|
}
|
|
7608
7608
|
if (this._cache || (this._cache = new Set(W.getValidEnumValues(this._def.values))), !this._cache.has(e.data)) {
|
|
7609
7609
|
const a = W.objectValues(r);
|
|
7610
|
-
return
|
|
7610
|
+
return _(n, {
|
|
7611
7611
|
received: n.data,
|
|
7612
7612
|
code: g.invalid_enum_value,
|
|
7613
7613
|
options: a
|
|
@@ -7631,7 +7631,7 @@ class Yt extends V {
|
|
|
7631
7631
|
_parse(e) {
|
|
7632
7632
|
const { ctx: r } = this._processInputParams(e);
|
|
7633
7633
|
if (r.parsedType !== T.promise && r.common.async === !1)
|
|
7634
|
-
return
|
|
7634
|
+
return _(r, {
|
|
7635
7635
|
code: g.invalid_type,
|
|
7636
7636
|
expected: T.promise,
|
|
7637
7637
|
received: r.parsedType
|
|
@@ -7658,7 +7658,7 @@ class Ye extends V {
|
|
|
7658
7658
|
_parse(e) {
|
|
7659
7659
|
const { status: r, ctx: n } = this._processInputParams(e), a = this._def.effect || null, i = {
|
|
7660
7660
|
addIssue: (o) => {
|
|
7661
|
-
|
|
7661
|
+
_(n, o), o.fatal ? r.abort() : r.dirty();
|
|
7662
7662
|
},
|
|
7663
7663
|
get path() {
|
|
7664
7664
|
return n.path;
|
|
@@ -7833,7 +7833,7 @@ class fa extends V {
|
|
|
7833
7833
|
_parse(e) {
|
|
7834
7834
|
if (this._getType(e) !== T.nan) {
|
|
7835
7835
|
const n = this._getOrReturnCtx(e);
|
|
7836
|
-
return
|
|
7836
|
+
return _(n, {
|
|
7837
7837
|
code: g.invalid_type,
|
|
7838
7838
|
expected: T.nan,
|
|
7839
7839
|
received: n.parsedType
|
|
@@ -7917,7 +7917,7 @@ var I;
|
|
|
7917
7917
|
(function(t) {
|
|
7918
7918
|
t.ZodString = "ZodString", t.ZodNumber = "ZodNumber", t.ZodNaN = "ZodNaN", t.ZodBigInt = "ZodBigInt", t.ZodBoolean = "ZodBoolean", t.ZodDate = "ZodDate", t.ZodSymbol = "ZodSymbol", t.ZodUndefined = "ZodUndefined", t.ZodNull = "ZodNull", t.ZodAny = "ZodAny", t.ZodUnknown = "ZodUnknown", t.ZodNever = "ZodNever", t.ZodVoid = "ZodVoid", t.ZodArray = "ZodArray", t.ZodObject = "ZodObject", t.ZodUnion = "ZodUnion", t.ZodDiscriminatedUnion = "ZodDiscriminatedUnion", t.ZodIntersection = "ZodIntersection", t.ZodTuple = "ZodTuple", t.ZodRecord = "ZodRecord", t.ZodMap = "ZodMap", t.ZodSet = "ZodSet", t.ZodFunction = "ZodFunction", t.ZodLazy = "ZodLazy", t.ZodLiteral = "ZodLiteral", t.ZodEnum = "ZodEnum", t.ZodEffects = "ZodEffects", t.ZodNativeEnum = "ZodNativeEnum", t.ZodOptional = "ZodOptional", t.ZodNullable = "ZodNullable", t.ZodDefault = "ZodDefault", t.ZodCatch = "ZodCatch", t.ZodPromise = "ZodPromise", t.ZodBranded = "ZodBranded", t.ZodPipeline = "ZodPipeline", t.ZodReadonly = "ZodReadonly";
|
|
7919
7919
|
})(I || (I = {}));
|
|
7920
|
-
const E = Ne.create, J = st.create, Oe = Vr.create, sn = Ut.create,
|
|
7920
|
+
const E = Ne.create, J = st.create, Oe = Vr.create, sn = Ut.create, _t = Wr.create;
|
|
7921
7921
|
qe.create;
|
|
7922
7922
|
const Ge = De.create, te = se.create, cn = Zt.create, il = an.create;
|
|
7923
7923
|
Vt.create;
|
|
@@ -8026,7 +8026,7 @@ var ol = he([
|
|
|
8026
8026
|
"custom"
|
|
8027
8027
|
]), li = he(["error", "warning", "info"]), sl = te({
|
|
8028
8028
|
type: ci,
|
|
8029
|
-
params: St(
|
|
8029
|
+
params: St(_t()).optional(),
|
|
8030
8030
|
message: E().optional(),
|
|
8031
8031
|
severity: li.optional().default("error")
|
|
8032
8032
|
}), cl = he([
|
|
@@ -8041,7 +8041,7 @@ var ol = he([
|
|
|
8041
8041
|
"custom"
|
|
8042
8042
|
]), ll = te({
|
|
8043
8043
|
type: cl,
|
|
8044
|
-
params: St(
|
|
8044
|
+
params: St(_t()).optional()
|
|
8045
8045
|
}), dl = te({
|
|
8046
8046
|
key: E().min(1).max(100),
|
|
8047
8047
|
label: E().min(1).max(200),
|
|
@@ -8077,7 +8077,7 @@ he([
|
|
|
8077
8077
|
]);
|
|
8078
8078
|
te({
|
|
8079
8079
|
schema: fl,
|
|
8080
|
-
metadata: St(
|
|
8080
|
+
metadata: St(_t()).optional()
|
|
8081
8081
|
});
|
|
8082
8082
|
var ul = te({
|
|
8083
8083
|
sourceColumn: E(),
|
|
@@ -8277,8 +8277,8 @@ var pi = he([
|
|
|
8277
8277
|
severity: xl,
|
|
8278
8278
|
message: E(),
|
|
8279
8279
|
field: E().optional(),
|
|
8280
|
-
details: St(
|
|
8281
|
-
}),
|
|
8280
|
+
details: St(_t()).optional()
|
|
8281
|
+
}), kl = 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,7 +8287,7 @@ 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
|
+
}), _l = te({
|
|
8291
8291
|
documentType: ar("passport"),
|
|
8292
8292
|
fullName: E().min(1),
|
|
8293
8293
|
givenNames: E().min(1),
|
|
@@ -8302,7 +8302,7 @@ var pi = he([
|
|
|
8302
8302
|
photoBase64: E().optional(),
|
|
8303
8303
|
mrzLine1: E().optional(),
|
|
8304
8304
|
mrzLine2: E().optional(),
|
|
8305
|
-
confidence:
|
|
8305
|
+
confidence: kl
|
|
8306
8306
|
}), Sl = te({
|
|
8307
8307
|
fullName: J().min(0).max(1),
|
|
8308
8308
|
licenseNumber: J().min(0).max(1),
|
|
@@ -8379,7 +8379,7 @@ hi.refine(
|
|
|
8379
8379
|
}
|
|
8380
8380
|
);
|
|
8381
8381
|
var Ol = il("documentType", [
|
|
8382
|
-
|
|
8382
|
+
_l,
|
|
8383
8383
|
mi,
|
|
8384
8384
|
hi
|
|
8385
8385
|
]);
|
|
@@ -8394,7 +8394,7 @@ he([
|
|
|
8394
8394
|
]);
|
|
8395
8395
|
te({
|
|
8396
8396
|
requiredDocuments: Ge(ln).min(1),
|
|
8397
|
-
metadata: St(
|
|
8397
|
+
metadata: St(_t()).optional()
|
|
8398
8398
|
});
|
|
8399
8399
|
te({
|
|
8400
8400
|
sessionId: E().uuid(),
|
|
@@ -9138,10 +9138,10 @@ function wd() {
|
|
|
9138
9138
|
function Ll() {
|
|
9139
9139
|
return Object.values(Et);
|
|
9140
9140
|
}
|
|
9141
|
-
function
|
|
9141
|
+
function kd(t) {
|
|
9142
9142
|
return Ll().filter((e) => e.category === t);
|
|
9143
9143
|
}
|
|
9144
|
-
function
|
|
9144
|
+
function _d(t) {
|
|
9145
9145
|
return t in Et;
|
|
9146
9146
|
}
|
|
9147
9147
|
var Sd = Object.keys(Et), Ed = {
|
|
@@ -9209,7 +9209,7 @@ export {
|
|
|
9209
9209
|
zl as c,
|
|
9210
9210
|
xd as d,
|
|
9211
9211
|
wd as e,
|
|
9212
|
-
|
|
9212
|
+
kd as f,
|
|
9213
9213
|
ld as g,
|
|
9214
9214
|
Me as h,
|
|
9215
9215
|
Dr as i,
|
|
@@ -9221,7 +9221,7 @@ export {
|
|
|
9221
9221
|
ud as o,
|
|
9222
9222
|
fd as p,
|
|
9223
9223
|
dd as q,
|
|
9224
|
-
|
|
9224
|
+
_d as t,
|
|
9225
9225
|
Ul as u
|
|
9226
9226
|
};
|
|
9227
|
-
//# sourceMappingURL=index-
|
|
9227
|
+
//# sourceMappingURL=index-S6qm6fPa.mjs.map
|