lawgic-dev-kit 0.2.4 → 0.3.4
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/_virtual/_commonjsHelpers.js +8 -0
- package/dist/_virtual/client.js +5 -0
- package/dist/_virtual/client2.js +4 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/index3.js +5 -0
- package/dist/_virtual/index4.js +5 -0
- package/dist/_virtual/index5.js +7 -0
- package/dist/_virtual/index6.js +4 -0
- package/dist/_virtual/index7.js +4 -0
- package/dist/_virtual/index8.js +4 -0
- package/dist/_virtual/jsx-runtime.js +5 -0
- package/dist/_virtual/jsx-runtime2.js +4 -0
- package/dist/_virtual/lodash.js +5 -0
- package/dist/_virtual/lodash2.js +4 -0
- package/dist/_virtual/react-dom-client.development.js +4 -0
- package/dist/_virtual/react-dom-client.production.js +4 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/react-jsx-runtime.development.js +4 -0
- package/dist/_virtual/react-jsx-runtime.production.js +4 -0
- package/dist/_virtual/scheduler.development.js +4 -0
- package/dist/_virtual/scheduler.production.js +4 -0
- package/dist/components/atoms/ActionButton/ActionButton.js +51 -0
- package/dist/components/atoms/AsyncToast/index.js +33 -0
- package/dist/components/atoms/Avatar/Avatar.js +100 -0
- package/dist/components/atoms/BoxContainer/BoxContainer.js +18 -0
- package/dist/components/atoms/Button/Button.js +25 -0
- package/dist/components/atoms/Button/Button.styles.js +43 -0
- package/dist/components/atoms/CenterModal/CenterModal.js +79 -0
- package/dist/components/atoms/CountrySelectInput/CountryDropdown.js +256 -0
- package/dist/components/atoms/Divider/Divider.js +5 -0
- package/dist/components/atoms/FullLogo/FullLogo.js +21 -0
- package/dist/components/atoms/IconButton/IconButton.js +35 -0
- package/dist/components/atoms/IconButton/IconButton.styles.js +34 -0
- package/dist/components/atoms/ImageProfileInput/ImageProfileInput.js +115 -0
- package/dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js +8 -0
- package/dist/components/atoms/InfoCard/InfoCard.js +17 -0
- package/dist/components/atoms/LoadingSpinner/LoadingSpinner.js +20 -0
- package/dist/components/atoms/PasswordInput/PasswordInput.js +91 -0
- package/dist/components/atoms/ProgressBar/ProgressBar.js +23 -0
- package/dist/components/atoms/SearchBar/index.js +44 -0
- package/dist/components/atoms/SectionButton/SectionButton.js +10 -0
- package/dist/components/atoms/SectionButton/desktop/SectionButton.js +60 -0
- package/dist/components/atoms/SectionButton/desktop/SectionButton.styles.js +11 -0
- package/dist/components/atoms/SectionButton/mobile/MobileSectionButton.styles.js +19 -0
- package/dist/components/atoms/SectionButton/mobile/SectionButton.js +59 -0
- package/dist/components/atoms/SelectDropdown/SelectDropdown.js +178 -0
- package/dist/components/atoms/Tab/Tab.js +23 -0
- package/dist/components/atoms/Tab/Tab.styles.js +15 -0
- package/dist/components/atoms/TextButton/TextButton.js +23 -0
- package/dist/components/atoms/TextButton/TextButton.styles.js +13 -0
- package/dist/components/atoms/TextInput/TextInput.js +81 -0
- package/dist/components/atoms/Toast/Toast.js +113 -0
- package/dist/components/atoms/UncontrolledSelector/UncontrolledSelector.js +58 -0
- package/dist/components/atoms/UncontrolledTextInput/UncontrolledTextInput.js +80 -0
- package/dist/components/atoms/UploadContainer/UploadContainer.js +115 -0
- package/dist/components/molecules/AlertModal/AlertModal.js +112 -0
- package/dist/components/molecules/CalendarSelector/CalendarSelector.js +221 -0
- package/dist/components/molecules/CalendarSelector/PeriodToggle.js +51 -0
- package/dist/components/molecules/CalendarSelector/TimeDisplay.js +16 -0
- package/dist/components/molecules/DateInput/DateInput.js +73 -0
- package/dist/components/molecules/DialogModal/DialogModal.js +125 -0
- package/dist/components/molecules/Dropdown/Dropdown.js +77 -0
- package/dist/components/molecules/FileUpload/FileUpload.js +121 -0
- package/dist/components/molecules/FileUpload/FileUpload.types.js +8 -0
- package/dist/components/molecules/FloatingMenu/FloatingMenu.js +82 -0
- package/dist/components/molecules/SearchModal/SearchModal.js +64 -0
- package/dist/components/molecules/Stepper/Stepper.js +225 -0
- package/dist/components/molecules/Tabs/Tabs.js +36 -0
- package/dist/components/organisms/index.js +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +106 -0
- package/dist/lawgic-dev-kit.css +1 -0
- package/dist/lawgic-dev-kit.umd.js +136 -136
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +428 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +393 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +586 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +55 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +199 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +131 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +128 -0
- package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js +2661 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.js +23 -0
- package/dist/node_modules/@fortawesome/pro-light-svg-icons/index.js +73 -0
- package/dist/node_modules/@fortawesome/pro-regular-svg-icons/index.js +13 -0
- package/dist/node_modules/@fortawesome/pro-solid-svg-icons/index.js +28 -0
- package/dist/node_modules/@fortawesome/react-fontawesome/index.es.js +266 -0
- package/dist/node_modules/clsx/dist/clsx.js +17 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js +583 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +11 -0
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +8 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +20 -0
- package/dist/node_modules/date-fns/addMonths.js +20 -0
- package/dist/node_modules/date-fns/constants.js +6 -0
- package/dist/node_modules/date-fns/constructFrom.js +8 -0
- package/dist/node_modules/date-fns/constructNow.js +8 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +16 -0
- package/dist/node_modules/date-fns/eachDayOfInterval.js +17 -0
- package/dist/node_modules/date-fns/endOfMonth.js +9 -0
- package/dist/node_modules/date-fns/endOfWeek.js +11 -0
- package/dist/node_modules/date-fns/format.js +59 -0
- package/dist/node_modules/date-fns/getDayOfYear.js +11 -0
- package/dist/node_modules/date-fns/getISOWeek.js +12 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js +15 -0
- package/dist/node_modules/date-fns/getWeek.js +12 -0
- package/dist/node_modules/date-fns/getWeekYear.js +17 -0
- package/dist/node_modules/date-fns/isDate.js +7 -0
- package/dist/node_modules/date-fns/isSameDay.js +14 -0
- package/dist/node_modules/date-fns/isSameMonth.js +13 -0
- package/dist/node_modules/date-fns/isToday.js +13 -0
- package/dist/node_modules/date-fns/isValid.js +9 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
- package/dist/node_modules/date-fns/locale/en-US.js +21 -0
- package/dist/node_modules/date-fns/locale/es/_lib/formatDistance.js +70 -0
- package/dist/node_modules/date-fns/locale/es/_lib/formatLong.js +33 -0
- package/dist/node_modules/date-fns/locale/es/_lib/formatRelative.js +18 -0
- package/dist/node_modules/date-fns/locale/es/_lib/localize.js +143 -0
- package/dist/node_modules/date-fns/locale/es/_lib/match.js +116 -0
- package/dist/node_modules/date-fns/locale/es.js +21 -0
- package/dist/node_modules/date-fns/setHours.js +9 -0
- package/dist/node_modules/date-fns/setMinutes.js +9 -0
- package/dist/node_modules/date-fns/setSeconds.js +9 -0
- package/dist/node_modules/date-fns/startOfDay.js +9 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js +8 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -0
- package/dist/node_modules/date-fns/startOfMonth.js +9 -0
- package/dist/node_modules/date-fns/startOfWeek.js +11 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js +13 -0
- package/dist/node_modules/date-fns/startOfYear.js +9 -0
- package/dist/node_modules/date-fns/subMonths.js +8 -0
- package/dist/node_modules/date-fns/toDate.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +205 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +83 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +147 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +37 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +92 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +47 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +46 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +33 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +53 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +45 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/easing/back.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/easing/circ.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/easing/ease.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +256 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +68 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +85 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +75 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +59 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +65 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +53 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +38 -0
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +33 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +36 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +608 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/state.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +59 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +229 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +66 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +37 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/parse-transform.js +64 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/render/store.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +48 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +26 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/measure.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +77 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +128 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/utils/clamp.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/delay.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/pipe.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +49 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +9 -0
- package/dist/node_modules/lodash/lodash.js +3677 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animate/single-value.js +10 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +204 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/BaseAnimation.js +82 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +147 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/utils/can-animate.js +23 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/waapi/index.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/inertia.js +37 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/keyframes.js +30 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/spring/defaults.js +32 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/spring/find.js +52 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/spring/index.js +91 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/utils/velocity.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/interfaces/motion-value.js +46 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/interfaces/visual-element-target.js +45 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +33 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/interfaces/visual-element.js +22 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/default-transitions.js +22 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/is-animatable.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/is-animation-controls.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/is-keyframes-target.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/is-none.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/is-transition-defined.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/PopChild.js +53 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +41 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js +45 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/use-presence.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/utils.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionContext/create.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionContext/index.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionContext/utils.js +15 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/PresenceContext.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/anticipate.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/back.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/circ.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/cubic-bezier.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/ease.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/modifiers/mirror.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/modifiers/reverse.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/utils/is-easing-array.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/utils/map.js +32 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/events/add-dom-event.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/events/add-pointer-event.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/events/event-info.js +14 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +256 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/drag/index.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/drag/utils/constraints.js +67 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/focus.js +28 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/hover.js +21 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/pan/PanSession.js +84 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/pan/index.js +43 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/press.js +23 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/Feature.js +10 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/animation/exit.js +27 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/animation/index.js +34 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/animations.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/definitions.js +27 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/drag.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/gestures.js +21 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +74 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/layout.js +11 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/load-features.js +11 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/viewport/index.js +44 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/viewport/observers.js +21 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/index.js +59 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/symbol.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/use-motion-ref.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/use-visual-element.js +64 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/use-visual-state.js +53 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/valid-prop.js +38 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/animation/mix-values.js +32 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/conversion.js +25 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/copy.js +14 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/delta-apply.js +52 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/delta-calc.js +36 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/delta-remove.js +25 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/models.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/utils.js +34 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +25 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js +607 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/state.js +15 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/shared/stack.js +58 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/styles/scale-border-radius.js +21 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/styles/scale-box-shadow.js +16 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/styles/scale-correction.js +10 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/styles/transform.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/utils/each-axis.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/utils/has-transform.js +20 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/utils/measure.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/VisualElement.js +228 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/components/create-factory.js +20 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/components/create-proxy.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/create.js +15 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +66 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/DOMVisualElement.js +27 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/use-render.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +31 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js +20 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/is-css-variable.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/is-svg-component.js +24 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/is-svg-element.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js +31 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/animatable-none.js +10 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/defaults.js +24 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/dimensions.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/find.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/get-as-type.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/number-browser.js +41 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/number.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/test.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/transform.js +31 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-auto.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/HTMLVisualElement.js +37 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/config-motion.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/use-props.js +27 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/build-styles.js +29 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/build-transform.js +31 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-position.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js +23 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/make-none-animatable.js +16 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/parse-transform.js +64 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/render.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/store.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/SVGVisualElement.js +47 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/config-motion.js +43 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/lowercase-elements.js +30 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/use-props.js +22 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/build-attrs.js +26 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +28 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/create-render-state.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/measure.js +15 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/path.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/render.js +11 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/transform-origin.js +11 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/KeyframesResolver.js +76 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/animation-state.js +128 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/compare-by-depth.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/flat-tree.js +19 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/get-variant-context.js +20 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/is-controlling-variants.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/is-variant-label.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/motion-values.js +26 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/resolve-variants.js +20 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/setters.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/variant-props.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/clamp.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/delay.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/distance.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/get-context-window.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/hsla-to-rgba.js +22 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/interpolate.js +41 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/is-browser.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/is-numerical-string.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/is-ref-object.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/is-zero-value-string.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/color.js +29 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/complex.js +52 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/immediate.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/index.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/number.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/visibility.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/offsets/default.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/offsets/fill.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/offsets/time.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/pipe.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/reduced-motion/index.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/reduced-motion/state.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/resolve-value.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/shallow-compare.js +14 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/use-constant.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/use-isomorphic-effect.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hex.js +19 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hsla.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/index.js +11 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js +16 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/utils.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js +24 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/index.js +49 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/color-regex.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/float-regex.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/is-nullish.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/sanitize.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/single-color-regex.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/use-will-change/add-will-change.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/use-will-change/is.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/utils/is-motion-value.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/utils/resolve-motion-value.js +9 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/controls/BaseGroup.js +74 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/controls/Group.js +9 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/generators/utils/calc-duration.js +13 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/utils/get-value-transition.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/waapi/utils/easing.js +27 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/waapi/utils/linear.js +11 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/batcher.js +26 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/frame.js +9 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/microtask.js +5 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/order.js +17 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/render-step.js +42 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/sync-time.js +15 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/drag/state/is-active.js +11 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/drag/state/set-active.js +11 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/hover.js +24 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/press/index.js +32 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +13 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/press/utils/keyboard.js +27 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/utils/is-node-or-child.js +4 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +4 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/utils/setup.js +12 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/stats/buffer.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/is-bezier-definition.js +4 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/resolve-elements.js +14 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/supports/flags.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/supports/linear-easing.js +12 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/supports/memo.js +12 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/supports/scroll-timeline.js +5 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/value/index.js +201 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/array.js +11 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js +12 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/global-config.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/memo.js +8 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/noop.js +4 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/progress.js +7 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/subscription-manager.js +29 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/time-conversion.js +5 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/velocity-per-second.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/warn-once.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +74 -0
- package/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js +202 -0
- package/dist/node_modules/motion-utils/dist/es/array.js +11 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js +12 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +29 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +7 -0
- package/dist/node_modules/object-assign/index.js +54 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +54 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
- package/dist/node_modules/prop-types/index.js +17 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js +7 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +95 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +78 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/property-expr/index.js +82 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +247 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +35 -0
- package/dist/node_modules/react/jsx-runtime.js +10 -0
- package/dist/node_modules/react-dom/cjs/react-dom-client.development.js +15314 -0
- package/dist/node_modules/react-dom/cjs/react-dom-client.production.js +9408 -0
- package/dist/node_modules/react-dom/client.js +23 -0
- package/dist/node_modules/react-hook-form/dist/index.esm.js +203 -0
- package/dist/node_modules/scheduler/cjs/scheduler.development.js +236 -0
- package/dist/node_modules/scheduler/cjs/scheduler.production.js +233 -0
- package/dist/node_modules/scheduler/index.js +10 -0
- package/dist/node_modules/tiny-case/index.js +22 -0
- package/dist/node_modules/toposort/index.js +66 -0
- package/dist/node_modules/yup/index.esm.js +1359 -0
- package/dist/providers/ThemeProvider.js +19 -0
- package/dist/themes/default.js +9 -0
- package/dist/utils/dates.js +14 -0
- package/dist/utils/files.js +29 -0
- package/dist/utils/images.js +4 -0
- package/dist/utils/modal.js +87 -0
- package/dist/utils/renderContentOptions.js +15 -0
- package/dist/utils/strings.js +16 -0
- package/dist/utils/toast.js +114 -0
- package/package.json +15 -14
- package/dist/lawgic-dev-kit.es.js +0 -50777
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { __module as e } from "../../_virtual/client2.js";
|
|
2
|
+
import { __require as t } from "./cjs/react-dom-client.production.js";
|
|
3
|
+
import { __require as i } from "./cjs/react-dom-client.development.js";
|
|
4
|
+
var _;
|
|
5
|
+
function O() {
|
|
6
|
+
if (_) return e.exports;
|
|
7
|
+
_ = 1;
|
|
8
|
+
function r() {
|
|
9
|
+
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
|
|
10
|
+
if (process.env.NODE_ENV !== "production")
|
|
11
|
+
throw new Error("^_^");
|
|
12
|
+
try {
|
|
13
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r);
|
|
14
|
+
} catch (o) {
|
|
15
|
+
console.error(o);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return process.env.NODE_ENV === "production" ? (r(), e.exports = t()) : e.exports = i(), e.exports;
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
O as __require
|
|
23
|
+
};
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import o from "react";
|
|
2
|
+
var D = (e) => e.type === "checkbox", R = (e) => e instanceof Date, O = (e) => e == null;
|
|
3
|
+
const B = (e) => typeof e == "object";
|
|
4
|
+
var g = (e) => !O(e) && !Array.isArray(e) && B(e) && !R(e), L = (e) => g(e) && e.target ? D(e.target) ? e.target.checked : e.target.value : e, U = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, M = (e, s) => e.has(U(s)), I = (e) => {
|
|
5
|
+
const s = e.constructor && e.constructor.prototype;
|
|
6
|
+
return g(s) && s.hasOwnProperty("isPrototypeOf");
|
|
7
|
+
}, T = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
8
|
+
function w(e) {
|
|
9
|
+
let s;
|
|
10
|
+
const t = Array.isArray(e), n = typeof FileList < "u" ? e instanceof FileList : !1;
|
|
11
|
+
if (e instanceof Date)
|
|
12
|
+
s = new Date(e);
|
|
13
|
+
else if (e instanceof Set)
|
|
14
|
+
s = new Set(e);
|
|
15
|
+
else if (!(T && (e instanceof Blob || n)) && (t || g(e)))
|
|
16
|
+
if (s = t ? [] : {}, !t && !I(e))
|
|
17
|
+
s = e;
|
|
18
|
+
else
|
|
19
|
+
for (const r in e)
|
|
20
|
+
e.hasOwnProperty(r) && (s[r] = w(e[r]));
|
|
21
|
+
else
|
|
22
|
+
return e;
|
|
23
|
+
return s;
|
|
24
|
+
}
|
|
25
|
+
var P = (e) => Array.isArray(e) ? e.filter(Boolean) : [], v = (e) => e === void 0, c = (e, s, t) => {
|
|
26
|
+
if (!s || !g(e))
|
|
27
|
+
return t;
|
|
28
|
+
const n = P(s.split(/[,[\].]+?/)).reduce((r, i) => O(r) ? r : r[i], e);
|
|
29
|
+
return v(n) || n === e ? v(e[s]) ? t : e[s] : n;
|
|
30
|
+
}, V = (e) => typeof e == "boolean", H = (e) => /^\w*$/.test(e), W = (e) => P(e.replace(/["|']|\]/g, "").split(/\.|\[/)), x = (e, s, t) => {
|
|
31
|
+
let n = -1;
|
|
32
|
+
const r = H(s) ? [s] : W(s), i = r.length, l = i - 1;
|
|
33
|
+
for (; ++n < i; ) {
|
|
34
|
+
const u = r[n];
|
|
35
|
+
let a = t;
|
|
36
|
+
if (n !== l) {
|
|
37
|
+
const f = e[u];
|
|
38
|
+
a = g(f) || Array.isArray(f) ? f : isNaN(+r[n + 1]) ? {} : [];
|
|
39
|
+
}
|
|
40
|
+
if (u === "__proto__" || u === "constructor" || u === "prototype")
|
|
41
|
+
return;
|
|
42
|
+
e[u] = a, e = e[u];
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
const k = {
|
|
46
|
+
BLUR: "blur",
|
|
47
|
+
CHANGE: "change"
|
|
48
|
+
}, E = {
|
|
49
|
+
all: "all"
|
|
50
|
+
}, G = o.createContext(null), h = () => o.useContext(G);
|
|
51
|
+
var $ = (e, s, t, n = !0) => {
|
|
52
|
+
const r = {
|
|
53
|
+
defaultValues: s._defaultValues
|
|
54
|
+
};
|
|
55
|
+
for (const i in e)
|
|
56
|
+
Object.defineProperty(r, i, {
|
|
57
|
+
get: () => {
|
|
58
|
+
const l = i;
|
|
59
|
+
return s._proxyFormState[l] !== E.all && (s._proxyFormState[l] = !n || E.all), t && (t[l] = !0), e[l];
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
return r;
|
|
63
|
+
};
|
|
64
|
+
function j(e) {
|
|
65
|
+
const s = h(), { control: t = s.control, disabled: n, name: r, exact: i } = e || {}, [l, u] = o.useState(t._formState), a = o.useRef({
|
|
66
|
+
isDirty: !1,
|
|
67
|
+
isLoading: !1,
|
|
68
|
+
dirtyFields: !1,
|
|
69
|
+
touchedFields: !1,
|
|
70
|
+
validatingFields: !1,
|
|
71
|
+
isValidating: !1,
|
|
72
|
+
isValid: !1,
|
|
73
|
+
errors: !1
|
|
74
|
+
}), f = o.useRef(r);
|
|
75
|
+
return f.current = r, o.useEffect(() => t._subscribe({
|
|
76
|
+
name: f.current,
|
|
77
|
+
formState: a.current,
|
|
78
|
+
exact: i,
|
|
79
|
+
callback: (y) => {
|
|
80
|
+
!n && u({
|
|
81
|
+
...t._formState,
|
|
82
|
+
...y
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
}), [t, n, i]), o.useEffect(() => {
|
|
86
|
+
a.current.isValid && t._setValid(!0);
|
|
87
|
+
}, [t]), o.useMemo(() => $(l, t, a.current, !1), [l, t]);
|
|
88
|
+
}
|
|
89
|
+
var K = (e) => typeof e == "string", q = (e, s, t, n, r) => K(e) ? c(t, e, r) : Array.isArray(e) ? e.map((i) => c(t, i)) : t;
|
|
90
|
+
function z(e) {
|
|
91
|
+
const s = h(), { control: t = s.control, name: n, defaultValue: r, disabled: i, exact: l } = e || {}, u = o.useRef(n), a = o.useRef(r);
|
|
92
|
+
u.current = n, o.useEffect(() => t._subscribe({
|
|
93
|
+
name: u.current,
|
|
94
|
+
formState: {
|
|
95
|
+
values: !0
|
|
96
|
+
},
|
|
97
|
+
exact: l,
|
|
98
|
+
callback: (b) => !i && y(q(u.current, t._names, b.values || t._formValues, !1, a.current))
|
|
99
|
+
}), [t, i, l]);
|
|
100
|
+
const [f, y] = o.useState(t._getWatch(n, r));
|
|
101
|
+
return o.useEffect(() => t._removeUnmounted()), f;
|
|
102
|
+
}
|
|
103
|
+
function J(e) {
|
|
104
|
+
const s = h(), { name: t, disabled: n, control: r = s.control, shouldUnregister: i } = e, l = M(r._names.array, t), u = z({
|
|
105
|
+
control: r,
|
|
106
|
+
name: t,
|
|
107
|
+
defaultValue: c(r._formValues, t, c(r._defaultValues, t, e.defaultValue)),
|
|
108
|
+
exact: !0
|
|
109
|
+
}), a = j({
|
|
110
|
+
control: r,
|
|
111
|
+
name: t,
|
|
112
|
+
exact: !0
|
|
113
|
+
}), f = o.useRef(e), y = o.useRef(r.register(t, {
|
|
114
|
+
...e.rules,
|
|
115
|
+
value: u,
|
|
116
|
+
...V(e.disabled) ? { disabled: e.disabled } : {}
|
|
117
|
+
})), b = o.useMemo(() => Object.defineProperties({}, {
|
|
118
|
+
invalid: {
|
|
119
|
+
enumerable: !0,
|
|
120
|
+
get: () => !!c(a.errors, t)
|
|
121
|
+
},
|
|
122
|
+
isDirty: {
|
|
123
|
+
enumerable: !0,
|
|
124
|
+
get: () => !!c(a.dirtyFields, t)
|
|
125
|
+
},
|
|
126
|
+
isTouched: {
|
|
127
|
+
enumerable: !0,
|
|
128
|
+
get: () => !!c(a.touchedFields, t)
|
|
129
|
+
},
|
|
130
|
+
isValidating: {
|
|
131
|
+
enumerable: !0,
|
|
132
|
+
get: () => !!c(a.validatingFields, t)
|
|
133
|
+
},
|
|
134
|
+
error: {
|
|
135
|
+
enumerable: !0,
|
|
136
|
+
get: () => c(a.errors, t)
|
|
137
|
+
}
|
|
138
|
+
}), [a, t]), F = o.useCallback((d) => y.current.onChange({
|
|
139
|
+
target: {
|
|
140
|
+
value: L(d),
|
|
141
|
+
name: t
|
|
142
|
+
},
|
|
143
|
+
type: k.CHANGE
|
|
144
|
+
}), [t]), A = o.useCallback(() => y.current.onBlur({
|
|
145
|
+
target: {
|
|
146
|
+
value: c(r._formValues, t),
|
|
147
|
+
name: t
|
|
148
|
+
},
|
|
149
|
+
type: k.BLUR
|
|
150
|
+
}), [t, r._formValues]), C = o.useCallback((d) => {
|
|
151
|
+
const m = c(r._fields, t);
|
|
152
|
+
m && d && (m._f.ref = {
|
|
153
|
+
focus: () => d.focus(),
|
|
154
|
+
select: () => d.select(),
|
|
155
|
+
setCustomValidity: (_) => d.setCustomValidity(_),
|
|
156
|
+
reportValidity: () => d.reportValidity()
|
|
157
|
+
});
|
|
158
|
+
}, [r._fields, t]), S = o.useMemo(() => ({
|
|
159
|
+
name: t,
|
|
160
|
+
value: u,
|
|
161
|
+
...V(n) || a.disabled ? { disabled: a.disabled || n } : {},
|
|
162
|
+
onChange: F,
|
|
163
|
+
onBlur: A,
|
|
164
|
+
ref: C
|
|
165
|
+
}), [t, n, a.disabled, F, A, C, u]);
|
|
166
|
+
return o.useEffect(() => {
|
|
167
|
+
const d = r._options.shouldUnregister || i;
|
|
168
|
+
r.register(t, {
|
|
169
|
+
...f.current.rules,
|
|
170
|
+
...V(f.current.disabled) ? { disabled: f.current.disabled } : {}
|
|
171
|
+
});
|
|
172
|
+
const m = (_, N) => {
|
|
173
|
+
const p = c(r._fields, _);
|
|
174
|
+
p && p._f && (p._f.mount = N);
|
|
175
|
+
};
|
|
176
|
+
if (m(t, !0), d) {
|
|
177
|
+
const _ = w(c(r._options.defaultValues, t));
|
|
178
|
+
x(r._defaultValues, t, _), v(c(r._formValues, t)) && x(r._formValues, t, _);
|
|
179
|
+
}
|
|
180
|
+
return !l && r.register(t), () => {
|
|
181
|
+
(l ? d && !r._state.action : d) ? r.unregister(t) : m(t, !1);
|
|
182
|
+
};
|
|
183
|
+
}, [t, r, l, i]), o.useEffect(() => {
|
|
184
|
+
r._setDisabledField({
|
|
185
|
+
disabled: n,
|
|
186
|
+
name: t
|
|
187
|
+
});
|
|
188
|
+
}, [n, t, r]), o.useMemo(() => ({
|
|
189
|
+
field: S,
|
|
190
|
+
formState: a,
|
|
191
|
+
fieldState: b
|
|
192
|
+
}), [S, a, b]);
|
|
193
|
+
}
|
|
194
|
+
const X = (e) => e.render(J(e));
|
|
195
|
+
export {
|
|
196
|
+
X as Controller,
|
|
197
|
+
c as get,
|
|
198
|
+
x as set,
|
|
199
|
+
J as useController,
|
|
200
|
+
h as useFormContext,
|
|
201
|
+
j as useFormState,
|
|
202
|
+
z as useWatch
|
|
203
|
+
};
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
import { __exports as H } from "../../../_virtual/scheduler.development.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license React
|
|
4
|
+
* scheduler.development.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/
|
|
11
|
+
var N;
|
|
12
|
+
function z() {
|
|
13
|
+
return N ? H : (N = 1, function(a) {
|
|
14
|
+
process.env.NODE_ENV !== "production" && function() {
|
|
15
|
+
function P() {
|
|
16
|
+
if (g = !1, _) {
|
|
17
|
+
var e = a.unstable_now();
|
|
18
|
+
q = e;
|
|
19
|
+
var l = !0;
|
|
20
|
+
try {
|
|
21
|
+
e: {
|
|
22
|
+
b = !1, d && (d = !1, V(v), v = -1), A = !0;
|
|
23
|
+
var n = t;
|
|
24
|
+
try {
|
|
25
|
+
n: {
|
|
26
|
+
for (k(e), f = i(o); f !== null && !(f.expirationTime > e && R()); ) {
|
|
27
|
+
var u = f.callback;
|
|
28
|
+
if (typeof u == "function") {
|
|
29
|
+
f.callback = null, t = f.priorityLevel;
|
|
30
|
+
var r = u(
|
|
31
|
+
f.expirationTime <= e
|
|
32
|
+
);
|
|
33
|
+
if (e = a.unstable_now(), typeof r == "function") {
|
|
34
|
+
f.callback = r, k(e), l = !0;
|
|
35
|
+
break n;
|
|
36
|
+
}
|
|
37
|
+
f === i(o) && y(o), k(e);
|
|
38
|
+
} else y(o);
|
|
39
|
+
f = i(o);
|
|
40
|
+
}
|
|
41
|
+
if (f !== null) l = !0;
|
|
42
|
+
else {
|
|
43
|
+
var T = i(s);
|
|
44
|
+
T !== null && C(
|
|
45
|
+
S,
|
|
46
|
+
T.startTime - e
|
|
47
|
+
), l = !1;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
break e;
|
|
51
|
+
} finally {
|
|
52
|
+
f = null, t = n, A = !1;
|
|
53
|
+
}
|
|
54
|
+
l = void 0;
|
|
55
|
+
}
|
|
56
|
+
} finally {
|
|
57
|
+
l ? O() : _ = !1;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function E(e, l) {
|
|
62
|
+
var n = e.length;
|
|
63
|
+
e.push(l);
|
|
64
|
+
e: for (; 0 < n; ) {
|
|
65
|
+
var u = n - 1 >>> 1, r = e[u];
|
|
66
|
+
if (0 < m(r, l))
|
|
67
|
+
e[u] = l, e[n] = r, n = u;
|
|
68
|
+
else break e;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
function i(e) {
|
|
72
|
+
return e.length === 0 ? null : e[0];
|
|
73
|
+
}
|
|
74
|
+
function y(e) {
|
|
75
|
+
if (e.length === 0) return null;
|
|
76
|
+
var l = e[0], n = e.pop();
|
|
77
|
+
if (n !== l) {
|
|
78
|
+
e[0] = n;
|
|
79
|
+
e: for (var u = 0, r = e.length, T = r >>> 1; u < T; ) {
|
|
80
|
+
var w = 2 * (u + 1) - 1, D = e[w], c = w + 1, L = e[c];
|
|
81
|
+
if (0 > m(D, n))
|
|
82
|
+
c < r && 0 > m(L, D) ? (e[u] = L, e[c] = n, u = c) : (e[u] = D, e[w] = n, u = w);
|
|
83
|
+
else if (c < r && 0 > m(L, n))
|
|
84
|
+
e[u] = L, e[c] = n, u = c;
|
|
85
|
+
else break e;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return l;
|
|
89
|
+
}
|
|
90
|
+
function m(e, l) {
|
|
91
|
+
var n = e.sortIndex - l.sortIndex;
|
|
92
|
+
return n !== 0 ? n : e.id - l.id;
|
|
93
|
+
}
|
|
94
|
+
function k(e) {
|
|
95
|
+
for (var l = i(s); l !== null; ) {
|
|
96
|
+
if (l.callback === null) y(s);
|
|
97
|
+
else if (l.startTime <= e)
|
|
98
|
+
y(s), l.sortIndex = l.expirationTime, E(o, l);
|
|
99
|
+
else break;
|
|
100
|
+
l = i(s);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
function S(e) {
|
|
104
|
+
if (d = !1, k(e), !b)
|
|
105
|
+
if (i(o) !== null)
|
|
106
|
+
b = !0, _ || (_ = !0, O());
|
|
107
|
+
else {
|
|
108
|
+
var l = i(s);
|
|
109
|
+
l !== null && C(
|
|
110
|
+
S,
|
|
111
|
+
l.startTime - e
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
function R() {
|
|
116
|
+
return g ? !0 : !(a.unstable_now() - q < K);
|
|
117
|
+
}
|
|
118
|
+
function C(e, l) {
|
|
119
|
+
v = I(function() {
|
|
120
|
+
e(a.unstable_now());
|
|
121
|
+
}, l);
|
|
122
|
+
}
|
|
123
|
+
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()), a.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
|
|
124
|
+
var U = performance;
|
|
125
|
+
a.unstable_now = function() {
|
|
126
|
+
return U.now();
|
|
127
|
+
};
|
|
128
|
+
} else {
|
|
129
|
+
var B = Date, j = B.now();
|
|
130
|
+
a.unstable_now = function() {
|
|
131
|
+
return B.now() - j;
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
var o = [], s = [], F = 1, f = null, t = 3, A = !1, b = !1, d = !1, g = !1, I = typeof setTimeout == "function" ? setTimeout : null, V = typeof clearTimeout == "function" ? clearTimeout : null, G = typeof setImmediate < "u" ? setImmediate : null, _ = !1, v = -1, K = 5, q = -1;
|
|
135
|
+
if (typeof G == "function")
|
|
136
|
+
var O = function() {
|
|
137
|
+
G(P);
|
|
138
|
+
};
|
|
139
|
+
else if (typeof MessageChannel < "u") {
|
|
140
|
+
var M = new MessageChannel(), Q = M.port2;
|
|
141
|
+
M.port1.onmessage = P, O = function() {
|
|
142
|
+
Q.postMessage(null);
|
|
143
|
+
};
|
|
144
|
+
} else
|
|
145
|
+
O = function() {
|
|
146
|
+
I(P, 0);
|
|
147
|
+
};
|
|
148
|
+
a.unstable_IdlePriority = 5, a.unstable_ImmediatePriority = 1, a.unstable_LowPriority = 4, a.unstable_NormalPriority = 3, a.unstable_Profiling = null, a.unstable_UserBlockingPriority = 2, a.unstable_cancelCallback = function(e) {
|
|
149
|
+
e.callback = null;
|
|
150
|
+
}, a.unstable_forceFrameRate = function(e) {
|
|
151
|
+
0 > e || 125 < e ? console.error(
|
|
152
|
+
"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
|
|
153
|
+
) : K = 0 < e ? Math.floor(1e3 / e) : 5;
|
|
154
|
+
}, a.unstable_getCurrentPriorityLevel = function() {
|
|
155
|
+
return t;
|
|
156
|
+
}, a.unstable_next = function(e) {
|
|
157
|
+
switch (t) {
|
|
158
|
+
case 1:
|
|
159
|
+
case 2:
|
|
160
|
+
case 3:
|
|
161
|
+
var l = 3;
|
|
162
|
+
break;
|
|
163
|
+
default:
|
|
164
|
+
l = t;
|
|
165
|
+
}
|
|
166
|
+
var n = t;
|
|
167
|
+
t = l;
|
|
168
|
+
try {
|
|
169
|
+
return e();
|
|
170
|
+
} finally {
|
|
171
|
+
t = n;
|
|
172
|
+
}
|
|
173
|
+
}, a.unstable_requestPaint = function() {
|
|
174
|
+
g = !0;
|
|
175
|
+
}, a.unstable_runWithPriority = function(e, l) {
|
|
176
|
+
switch (e) {
|
|
177
|
+
case 1:
|
|
178
|
+
case 2:
|
|
179
|
+
case 3:
|
|
180
|
+
case 4:
|
|
181
|
+
case 5:
|
|
182
|
+
break;
|
|
183
|
+
default:
|
|
184
|
+
e = 3;
|
|
185
|
+
}
|
|
186
|
+
var n = t;
|
|
187
|
+
t = e;
|
|
188
|
+
try {
|
|
189
|
+
return l();
|
|
190
|
+
} finally {
|
|
191
|
+
t = n;
|
|
192
|
+
}
|
|
193
|
+
}, a.unstable_scheduleCallback = function(e, l, n) {
|
|
194
|
+
var u = a.unstable_now();
|
|
195
|
+
switch (typeof n == "object" && n !== null ? (n = n.delay, n = typeof n == "number" && 0 < n ? u + n : u) : n = u, e) {
|
|
196
|
+
case 1:
|
|
197
|
+
var r = -1;
|
|
198
|
+
break;
|
|
199
|
+
case 2:
|
|
200
|
+
r = 250;
|
|
201
|
+
break;
|
|
202
|
+
case 5:
|
|
203
|
+
r = 1073741823;
|
|
204
|
+
break;
|
|
205
|
+
case 4:
|
|
206
|
+
r = 1e4;
|
|
207
|
+
break;
|
|
208
|
+
default:
|
|
209
|
+
r = 5e3;
|
|
210
|
+
}
|
|
211
|
+
return r = n + r, e = {
|
|
212
|
+
id: F++,
|
|
213
|
+
callback: l,
|
|
214
|
+
priorityLevel: e,
|
|
215
|
+
startTime: n,
|
|
216
|
+
expirationTime: r,
|
|
217
|
+
sortIndex: -1
|
|
218
|
+
}, n > u ? (e.sortIndex = n, E(s, e), i(o) === null && e === i(s) && (d ? (V(v), v = -1) : d = !0, C(S, n - u))) : (e.sortIndex = r, E(o, e), b || A || (b = !0, _ || (_ = !0, O()))), e;
|
|
219
|
+
}, a.unstable_shouldYield = R, a.unstable_wrapCallback = function(e) {
|
|
220
|
+
var l = t;
|
|
221
|
+
return function() {
|
|
222
|
+
var n = t;
|
|
223
|
+
t = l;
|
|
224
|
+
try {
|
|
225
|
+
return e.apply(this, arguments);
|
|
226
|
+
} finally {
|
|
227
|
+
t = n;
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
}, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
231
|
+
}();
|
|
232
|
+
}(H), H);
|
|
233
|
+
}
|
|
234
|
+
export {
|
|
235
|
+
z as __require
|
|
236
|
+
};
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { __exports as U } from "../../../_virtual/scheduler.production.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license React
|
|
4
|
+
* scheduler.production.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/
|
|
11
|
+
var A;
|
|
12
|
+
function V() {
|
|
13
|
+
return A ? U : (A = 1, function(l) {
|
|
14
|
+
function g(e, a) {
|
|
15
|
+
var n = e.length;
|
|
16
|
+
e.push(a);
|
|
17
|
+
e: for (; 0 < n; ) {
|
|
18
|
+
var u = n - 1 >>> 1, r = e[u];
|
|
19
|
+
if (0 < m(r, a))
|
|
20
|
+
e[u] = a, e[n] = r, n = u;
|
|
21
|
+
else break e;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function i(e) {
|
|
25
|
+
return e.length === 0 ? null : e[0];
|
|
26
|
+
}
|
|
27
|
+
function k(e) {
|
|
28
|
+
if (e.length === 0) return null;
|
|
29
|
+
var a = e[0], n = e.pop();
|
|
30
|
+
if (n !== a) {
|
|
31
|
+
e[0] = n;
|
|
32
|
+
e: for (var u = 0, r = e.length, P = r >>> 1; u < P; ) {
|
|
33
|
+
var T = 2 * (u + 1) - 1, I = e[T], o = T + 1, C = e[o];
|
|
34
|
+
if (0 > m(I, n))
|
|
35
|
+
o < r && 0 > m(C, I) ? (e[u] = C, e[o] = n, u = o) : (e[u] = I, e[T] = n, u = T);
|
|
36
|
+
else if (o < r && 0 > m(C, n))
|
|
37
|
+
e[u] = C, e[o] = n, u = o;
|
|
38
|
+
else break e;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return a;
|
|
42
|
+
}
|
|
43
|
+
function m(e, a) {
|
|
44
|
+
var n = e.sortIndex - a.sortIndex;
|
|
45
|
+
return n !== 0 ? n : e.id - a.id;
|
|
46
|
+
}
|
|
47
|
+
if (l.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
|
|
48
|
+
var E = performance;
|
|
49
|
+
l.unstable_now = function() {
|
|
50
|
+
return E.now();
|
|
51
|
+
};
|
|
52
|
+
} else {
|
|
53
|
+
var j = Date, G = j.now();
|
|
54
|
+
l.unstable_now = function() {
|
|
55
|
+
return j.now() - G;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
var s = [], c = [], J = 1, f = null, t = 3, S = !1, d = !1, _ = !1, q = !1, F = typeof setTimeout == "function" ? setTimeout : null, Q = typeof clearTimeout == "function" ? clearTimeout : null, Y = typeof setImmediate < "u" ? setImmediate : null;
|
|
59
|
+
function w(e) {
|
|
60
|
+
for (var a = i(c); a !== null; ) {
|
|
61
|
+
if (a.callback === null) k(c);
|
|
62
|
+
else if (a.startTime <= e)
|
|
63
|
+
k(c), a.sortIndex = a.expirationTime, g(s, a);
|
|
64
|
+
else break;
|
|
65
|
+
a = i(c);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
function H(e) {
|
|
69
|
+
if (_ = !1, w(e), !d)
|
|
70
|
+
if (i(s) !== null)
|
|
71
|
+
d = !0, b || (b = !0, v());
|
|
72
|
+
else {
|
|
73
|
+
var a = i(c);
|
|
74
|
+
a !== null && D(H, a.startTime - e);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
var b = !1, y = -1, B = 5, M = -1;
|
|
78
|
+
function N() {
|
|
79
|
+
return q ? !0 : !(l.unstable_now() - M < B);
|
|
80
|
+
}
|
|
81
|
+
function R() {
|
|
82
|
+
if (q = !1, b) {
|
|
83
|
+
var e = l.unstable_now();
|
|
84
|
+
M = e;
|
|
85
|
+
var a = !0;
|
|
86
|
+
try {
|
|
87
|
+
e: {
|
|
88
|
+
d = !1, _ && (_ = !1, Q(y), y = -1), S = !0;
|
|
89
|
+
var n = t;
|
|
90
|
+
try {
|
|
91
|
+
n: {
|
|
92
|
+
for (w(e), f = i(s); f !== null && !(f.expirationTime > e && N()); ) {
|
|
93
|
+
var u = f.callback;
|
|
94
|
+
if (typeof u == "function") {
|
|
95
|
+
f.callback = null, t = f.priorityLevel;
|
|
96
|
+
var r = u(
|
|
97
|
+
f.expirationTime <= e
|
|
98
|
+
);
|
|
99
|
+
if (e = l.unstable_now(), typeof r == "function") {
|
|
100
|
+
f.callback = r, w(e), a = !0;
|
|
101
|
+
break n;
|
|
102
|
+
}
|
|
103
|
+
f === i(s) && k(s), w(e);
|
|
104
|
+
} else k(s);
|
|
105
|
+
f = i(s);
|
|
106
|
+
}
|
|
107
|
+
if (f !== null) a = !0;
|
|
108
|
+
else {
|
|
109
|
+
var P = i(c);
|
|
110
|
+
P !== null && D(
|
|
111
|
+
H,
|
|
112
|
+
P.startTime - e
|
|
113
|
+
), a = !1;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
break e;
|
|
117
|
+
} finally {
|
|
118
|
+
f = null, t = n, S = !1;
|
|
119
|
+
}
|
|
120
|
+
a = void 0;
|
|
121
|
+
}
|
|
122
|
+
} finally {
|
|
123
|
+
a ? v() : b = !1;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
var v;
|
|
128
|
+
if (typeof Y == "function")
|
|
129
|
+
v = function() {
|
|
130
|
+
Y(R);
|
|
131
|
+
};
|
|
132
|
+
else if (typeof MessageChannel < "u") {
|
|
133
|
+
var z = new MessageChannel(), K = z.port2;
|
|
134
|
+
z.port1.onmessage = R, v = function() {
|
|
135
|
+
K.postMessage(null);
|
|
136
|
+
};
|
|
137
|
+
} else
|
|
138
|
+
v = function() {
|
|
139
|
+
F(R, 0);
|
|
140
|
+
};
|
|
141
|
+
function D(e, a) {
|
|
142
|
+
y = F(function() {
|
|
143
|
+
e(l.unstable_now());
|
|
144
|
+
}, a);
|
|
145
|
+
}
|
|
146
|
+
l.unstable_IdlePriority = 5, l.unstable_ImmediatePriority = 1, l.unstable_LowPriority = 4, l.unstable_NormalPriority = 3, l.unstable_Profiling = null, l.unstable_UserBlockingPriority = 2, l.unstable_cancelCallback = function(e) {
|
|
147
|
+
e.callback = null;
|
|
148
|
+
}, l.unstable_forceFrameRate = function(e) {
|
|
149
|
+
0 > e || 125 < e ? console.error(
|
|
150
|
+
"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
|
|
151
|
+
) : B = 0 < e ? Math.floor(1e3 / e) : 5;
|
|
152
|
+
}, l.unstable_getCurrentPriorityLevel = function() {
|
|
153
|
+
return t;
|
|
154
|
+
}, l.unstable_next = function(e) {
|
|
155
|
+
switch (t) {
|
|
156
|
+
case 1:
|
|
157
|
+
case 2:
|
|
158
|
+
case 3:
|
|
159
|
+
var a = 3;
|
|
160
|
+
break;
|
|
161
|
+
default:
|
|
162
|
+
a = t;
|
|
163
|
+
}
|
|
164
|
+
var n = t;
|
|
165
|
+
t = a;
|
|
166
|
+
try {
|
|
167
|
+
return e();
|
|
168
|
+
} finally {
|
|
169
|
+
t = n;
|
|
170
|
+
}
|
|
171
|
+
}, l.unstable_requestPaint = function() {
|
|
172
|
+
q = !0;
|
|
173
|
+
}, l.unstable_runWithPriority = function(e, a) {
|
|
174
|
+
switch (e) {
|
|
175
|
+
case 1:
|
|
176
|
+
case 2:
|
|
177
|
+
case 3:
|
|
178
|
+
case 4:
|
|
179
|
+
case 5:
|
|
180
|
+
break;
|
|
181
|
+
default:
|
|
182
|
+
e = 3;
|
|
183
|
+
}
|
|
184
|
+
var n = t;
|
|
185
|
+
t = e;
|
|
186
|
+
try {
|
|
187
|
+
return a();
|
|
188
|
+
} finally {
|
|
189
|
+
t = n;
|
|
190
|
+
}
|
|
191
|
+
}, l.unstable_scheduleCallback = function(e, a, n) {
|
|
192
|
+
var u = l.unstable_now();
|
|
193
|
+
switch (typeof n == "object" && n !== null ? (n = n.delay, n = typeof n == "number" && 0 < n ? u + n : u) : n = u, e) {
|
|
194
|
+
case 1:
|
|
195
|
+
var r = -1;
|
|
196
|
+
break;
|
|
197
|
+
case 2:
|
|
198
|
+
r = 250;
|
|
199
|
+
break;
|
|
200
|
+
case 5:
|
|
201
|
+
r = 1073741823;
|
|
202
|
+
break;
|
|
203
|
+
case 4:
|
|
204
|
+
r = 1e4;
|
|
205
|
+
break;
|
|
206
|
+
default:
|
|
207
|
+
r = 5e3;
|
|
208
|
+
}
|
|
209
|
+
return r = n + r, e = {
|
|
210
|
+
id: J++,
|
|
211
|
+
callback: a,
|
|
212
|
+
priorityLevel: e,
|
|
213
|
+
startTime: n,
|
|
214
|
+
expirationTime: r,
|
|
215
|
+
sortIndex: -1
|
|
216
|
+
}, n > u ? (e.sortIndex = n, g(c, e), i(s) === null && e === i(c) && (_ ? (Q(y), y = -1) : _ = !0, D(H, n - u))) : (e.sortIndex = r, g(s, e), d || S || (d = !0, b || (b = !0, v()))), e;
|
|
217
|
+
}, l.unstable_shouldYield = N, l.unstable_wrapCallback = function(e) {
|
|
218
|
+
var a = t;
|
|
219
|
+
return function() {
|
|
220
|
+
var n = t;
|
|
221
|
+
t = a;
|
|
222
|
+
try {
|
|
223
|
+
return e.apply(this, arguments);
|
|
224
|
+
} finally {
|
|
225
|
+
t = n;
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
}(U), U);
|
|
230
|
+
}
|
|
231
|
+
export {
|
|
232
|
+
V as __require
|
|
233
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __module as e } from "../../_virtual/index2.js";
|
|
2
|
+
import { __require as o } from "./cjs/scheduler.production.js";
|
|
3
|
+
import { __require as u } from "./cjs/scheduler.development.js";
|
|
4
|
+
var r;
|
|
5
|
+
function p() {
|
|
6
|
+
return r ? e.exports : (r = 1, process.env.NODE_ENV === "production" ? e.exports = o() : e.exports = u(), e.exports);
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
p as __require
|
|
10
|
+
};
|