@jenesei-software/jenesei-kit-react 1.3.37 → 1.3.38
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/build/area-preview.cjs.js +1 -1
- package/build/area-preview.es.js +1 -1
- package/build/area-skeleton.cjs.js +1 -1
- package/build/area-skeleton.es.js +1 -1
- package/build/build-info.txt +3 -3
- package/build/{component-DNpRC40L.cjs → component-B0PbrKuJ.cjs} +2 -2
- package/build/{component-DNpRC40L.cjs.map → component-B0PbrKuJ.cjs.map} +1 -1
- package/build/{component-DZs-w197.js → component-BBrKC5hB.js} +2 -2
- package/build/{component-DZs-w197.js.map → component-BBrKC5hB.js.map} +1 -1
- package/build/{component-DzQBSEjg.js → component-BlEglNo9.js} +3 -3
- package/build/{component-DzQBSEjg.js.map → component-BlEglNo9.js.map} +1 -1
- package/build/{component-BWf1DkB4.cjs → component-CONSm7hH.cjs} +2 -2
- package/build/{component-BWf1DkB4.cjs.map → component-CONSm7hH.cjs.map} +1 -1
- package/build/{component-C3F1XZOy.js → component-CPVG0orB.js} +3 -3
- package/build/{component-C3F1XZOy.js.map → component-CPVG0orB.js.map} +1 -1
- package/build/{component-l5nAOPmU.js → component-CTrSBI75.js} +2 -2
- package/build/{component-l5nAOPmU.js.map → component-CTrSBI75.js.map} +1 -1
- package/build/{component-DDu2Cdhf.js → component-CWawez-M.js} +6 -6
- package/build/{component-DDu2Cdhf.js.map → component-CWawez-M.js.map} +1 -1
- package/build/{component-L0B2qZfu.js → component-CZM5p4mC.js} +2 -2
- package/build/{component-L0B2qZfu.js.map → component-CZM5p4mC.js.map} +1 -1
- package/build/{component-B4K-5Uid.js → component-DGpaKn6_.js} +2 -2
- package/build/{component-B4K-5Uid.js.map → component-DGpaKn6_.js.map} +1 -1
- package/build/{component-D96dGS7Z.js → component-DKzHmIUP.js} +2 -2
- package/build/{component-D96dGS7Z.js.map → component-DKzHmIUP.js.map} +1 -1
- package/build/{component-COS_bXHW.cjs → component-Dkw50gzn.cjs} +2 -2
- package/build/{component-COS_bXHW.cjs.map → component-Dkw50gzn.cjs.map} +1 -1
- package/build/{component-BjSoavQj.cjs → component-Dy66XPIf.cjs} +2 -2
- package/build/{component-BjSoavQj.cjs.map → component-Dy66XPIf.cjs.map} +1 -1
- package/build/{component-Al542qT6.cjs → component-DyLdklDO.cjs} +2 -2
- package/build/{component-Al542qT6.cjs.map → component-DyLdklDO.cjs.map} +1 -1
- package/build/{component-BI4m1lxA.cjs → component-LG-duo2b.cjs} +2 -2
- package/build/{component-BI4m1lxA.cjs.map → component-LG-duo2b.cjs.map} +1 -1
- package/build/{component-KYPJqdFp.cjs → component-PZe4p8qh.cjs} +2 -2
- package/build/{component-KYPJqdFp.cjs.map → component-PZe4p8qh.cjs.map} +1 -1
- package/build/{component-B_Y6BI1X.js → component-RlcwDmkg.js} +2 -2
- package/build/{component-B_Y6BI1X.js.map → component-RlcwDmkg.js.map} +1 -1
- package/build/{component-B-SJnPIV.cjs → component-ZdZUAyaP.cjs} +2 -2
- package/build/{component-B-SJnPIV.cjs.map → component-ZdZUAyaP.cjs.map} +1 -1
- package/build/component-accordion.cjs.js +1 -1
- package/build/component-accordion.es.js +2 -2
- package/build/{component-BWlNRKFO.cjs → component-buGvmEo6.cjs} +2 -2
- package/build/{component-BWlNRKFO.cjs.map → component-buGvmEo6.cjs.map} +1 -1
- package/build/component-button-group.cjs.js +1 -1
- package/build/component-button-group.es.js +2 -2
- package/build/component-button.cjs.js +1 -1
- package/build/component-button.es.js +1 -1
- package/build/component-checkbox-group.cjs.js +1 -1
- package/build/component-checkbox-group.es.js +2 -2
- package/build/component-checkbox.cjs.js +1 -1
- package/build/component-checkbox.es.js +2 -2
- package/build/component-date-picker.cjs.js +1 -1
- package/build/component-date-picker.es.js +2 -2
- package/build/component-icon.cjs.js +1 -1
- package/build/component-icon.es.js +1 -1
- package/build/component-image-button.cjs.js +1 -1
- package/build/component-image-button.es.js +1 -1
- package/build/component-image-select.cjs.js +1 -1
- package/build/component-image-select.es.js +2 -2
- package/build/component-image-slider.cjs.js +1 -1
- package/build/component-image-slider.es.js +2 -2
- package/build/component-image.cjs.js +1 -1
- package/build/component-image.es.js +2 -2
- package/build/component-input-otp.cjs.js +1 -1
- package/build/component-input-otp.es.js +2 -2
- package/build/component-input.cjs.js +1 -1
- package/build/component-input.es.js +2 -2
- package/build/component-pagination.cjs.js +1 -1
- package/build/component-pagination.es.js +1 -1
- package/build/component-range.cjs.js +1 -1
- package/build/component-range.es.js +2 -2
- package/build/{component-D1d3wJ1v.js → component-sNGsB3JK.js} +2 -2
- package/build/{component-D1d3wJ1v.js.map → component-sNGsB3JK.js.map} +1 -1
- package/build/{component-DSFp1IyF.cjs → component-sVzC5XUR.cjs} +2 -2
- package/build/{component-DSFp1IyF.cjs.map → component-sVzC5XUR.cjs.map} +1 -1
- package/build/component-select.cjs.js +1 -1
- package/build/component-select.es.js +1 -1
- package/build/component-textarea.cjs.js +1 -1
- package/build/component-textarea.es.js +1 -1
- package/build/component-toggle.cjs.js +1 -1
- package/build/component-toggle.es.js +2 -2
- package/build/component-tooltip.cjs.js +1 -1
- package/build/component-tooltip.es.js +1 -1
- package/build/component-typography.cjs.js +1 -1
- package/build/component-typography.es.js +1 -1
- package/build/{component-CHaQiMJk.js → component-wOmehMbn.js} +3 -3
- package/build/{component-CHaQiMJk.js.map → component-wOmehMbn.js.map} +1 -1
- package/build/{component-C21J5f8X.cjs → component-zLIAB2HV.cjs} +2 -2
- package/build/{component-C21J5f8X.cjs.map → component-zLIAB2HV.cjs.map} +1 -1
- package/build/{component.constants-BpYppAAQ.js → component.constants-CJcoXCFC.js} +5 -5
- package/build/{component.constants-BpYppAAQ.js.map → component.constants-CJcoXCFC.js.map} +1 -1
- package/build/{component.constants-sz4yGy0y.cjs → component.constants-Ctj7PsM8.cjs} +2 -2
- package/build/{component.constants-sz4yGy0y.cjs.map → component.constants-Ctj7PsM8.cjs.map} +1 -1
- package/build/{component.constants-Cvek1vXL.cjs → component.constants-CzKFXlYT.cjs} +2 -2
- package/build/{component.constants-Cvek1vXL.cjs.map → component.constants-CzKFXlYT.cjs.map} +1 -1
- package/build/{component.constants-DHHHaT_5.js → component.constants-DjzlauTL.js} +2 -2
- package/build/{component.constants-DHHHaT_5.js.map → component.constants-DjzlauTL.js.map} +1 -1
- package/build/{component.types-TeXqILe2.js → component.types-CryJGkU7.js} +2 -2
- package/build/{component.types-TeXqILe2.js.map → component.types-CryJGkU7.js.map} +1 -1
- package/build/{component.types-CULsdZpM.cjs → component.types-Drt-O54w.cjs} +2 -2
- package/build/{component.types-CULsdZpM.cjs.map → component.types-Drt-O54w.cjs.map} +1 -1
- package/build/consts.cjs.js +1 -1
- package/build/consts.es.js +1 -1
- package/build/context-app.cjs.js +1 -1
- package/build/context-app.es.js +2 -2
- package/build/context-dialog.cjs.js +1 -1
- package/build/context-dialog.es.js +2 -2
- package/build/context-sonner.cjs.js +1 -1
- package/build/context-sonner.es.js +2 -2
- package/build/{context.constants-CAlZQBvG.cjs → context.constants-Bzn9Rcey.cjs} +2 -2
- package/build/context.constants-Bzn9Rcey.cjs.map +1 -0
- package/build/{context.constants-4eKvVwha.js → context.constants-D0UjboYX.js} +2 -2
- package/build/{context.constants-4eKvVwha.js.map → context.constants-D0UjboYX.js.map} +1 -1
- package/build/{context.constants-DRDMvlln.js → context.constants-DUVlJghM.js} +2 -2
- package/build/context.constants-DUVlJghM.js.map +1 -0
- package/build/{context.constants-D9hGtc0A.cjs → context.constants-gXk1ewxx.cjs} +2 -2
- package/build/{context.constants-D9hGtc0A.cjs.map → context.constants-gXk1ewxx.cjs.map} +1 -1
- package/build/context.hooks-Bkj1PSKe.cjs +2 -0
- package/build/context.hooks-Bkj1PSKe.cjs.map +1 -0
- package/build/{context.hooks-DEfRvBpX.js → context.hooks-CCLq09Ra.js} +2 -2
- package/build/{context.hooks-DEfRvBpX.js.map → context.hooks-CCLq09Ra.js.map} +1 -1
- package/build/{context.hooks-DpBSd_p-.cjs → context.hooks-CDvi20Bm.cjs} +2 -2
- package/build/{context.hooks-DpBSd_p-.cjs.map → context.hooks-CDvi20Bm.cjs.map} +1 -1
- package/build/{context.hooks-2SMzc0Vc.cjs → context.hooks-CUXDpPaG.cjs} +2 -2
- package/build/{context.hooks-2SMzc0Vc.cjs.map → context.hooks-CUXDpPaG.cjs.map} +1 -1
- package/build/{context.hooks-CZOS7JGV.js → context.hooks-Djt5R2yX.js} +2 -2
- package/build/{context.hooks-CZOS7JGV.js.map → context.hooks-Djt5R2yX.js.map} +1 -1
- package/build/{context.hooks-CjH6Plw7.js → context.hooks-v8uZ7dfO.js} +16 -13
- package/build/context.hooks-v8uZ7dfO.js.map +1 -0
- package/build/index.cjs.js +1 -1
- package/build/index.es.js +19 -19
- package/build/style-error.cjs.js +1 -1
- package/build/style-error.es.js +1 -1
- package/build/style-theme.cjs.js +1 -1
- package/build/style-theme.es.js +1 -1
- package/build/{use-CtW8HmXH.cjs → use-BNuSnUSV.cjs} +2 -2
- package/build/{use-CtW8HmXH.cjs.map → use-BNuSnUSV.cjs.map} +1 -1
- package/build/{use-Df6UuwJp.js → use-D8uozTND.js} +5 -5
- package/build/{use-Df6UuwJp.js.map → use-D8uozTND.js.map} +1 -1
- package/package.json +1 -1
- package/build/context.constants-CAlZQBvG.cjs.map +0 -1
- package/build/context.constants-DRDMvlln.js.map +0 -1
- package/build/context.hooks-CdUNX5DP.cjs +0 -2
- package/build/context.hooks-CdUNX5DP.cjs.map +0 -1
- package/build/context.hooks-CjH6Plw7.js.map +0 -1
|
@@ -109,7 +109,7 @@ const DialogElement = (props) => {
|
|
|
109
109
|
},
|
|
110
110
|
[(_c = props.props) == null ? void 0 : _c.content, isAnimating, (_d = props == null ? void 0 : props.props) == null ? void 0 : _d.propsCustom, props.onRemove]
|
|
111
111
|
);
|
|
112
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Outside, { onOutsideClick: () => {
|
|
112
|
+
return props.index !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Outside, { onOutsideClick: () => {
|
|
113
113
|
var _a2;
|
|
114
114
|
return isRemoveOnOutsideClick && ((_a2 = props.onRemove) == null ? void 0 : _a2.call(props));
|
|
115
115
|
}, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -246,4 +246,4 @@ export {
|
|
|
246
246
|
DEFAULT_PROVIDER_DIALOG_ELEMENT_BACKGROUND as j,
|
|
247
247
|
v4 as v
|
|
248
248
|
};
|
|
249
|
-
//# sourceMappingURL=context.constants-
|
|
249
|
+
//# sourceMappingURL=context.constants-DUVlJghM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.constants-DUVlJghM.js","sources":["../src/contexts/context-dialog/context.tsx","../node_modules/uuid/dist/esm-browser/stringify.js","../node_modules/uuid/dist/esm-browser/rng.js","../node_modules/uuid/dist/esm-browser/native.js","../node_modules/uuid/dist/esm-browser/v4.js","../src/contexts/context-dialog/context.styles.tsx","../src/contexts/context-dialog/context.constants.ts"],"sourcesContent":["import { Outside } from '@local/areas/outside';\n\nimport { AnimatePresence } from 'framer-motion';\nimport { createContext, FC, memo, useCallback, useMemo, useState } from 'react';\n\nimport {\n DEFAULT_PROVIDER_DIALOG_DURATION_ELEMENT,\n DEFAULT_PROVIDER_DIALOG_DURATION_LAYOUT,\n DialogContentProps,\n DialogContextProps,\n DialogElementProps,\n DialogElementWrapper,\n DialogLayout,\n ProviderDialogProps,\n} from '.';\n\nexport const DialogContext = createContext<DialogContextProps | null>(null);\n\nexport const ProviderDialog: FC<ProviderDialogProps> = (props) => {\n const [dialogHistory, setDialogHistory] = useState<DialogContentProps[]>([]);\n\n const remove: DialogContextProps['remove'] = useCallback((id) => {\n setDialogHistory((prev) => {\n const itemToRemove = prev.find((item) => item.id === id);\n\n if (itemToRemove === undefined) return prev;\n\n const indexToRemove = itemToRemove.index;\n\n if (indexToRemove === undefined) return prev;\n\n const updatedHistory = prev\n .filter((item) => item.id !== id)\n .map((item) => {\n const index = item.index;\n if (index === undefined) return item;\n\n return {\n ...item,\n index: index > indexToRemove ? index - 1 : item.index,\n };\n });\n\n return updatedHistory;\n });\n }, []);\n\n const update: DialogContextProps['update'] = useCallback((dialog) => {\n setDialogHistory((prev) => {\n return prev.map((item) => {\n if (item.id === dialog.id) {\n return { ...item, ...dialog };\n }\n return item;\n });\n });\n }, []);\n\n const add: DialogContextProps['add'] = useCallback((dialog) => {\n const id = dialog.id;\n\n setDialogHistory((prev) => {\n const existingIndex = prev.findIndex((item) => item.id === id);\n\n let updatedHistory: DialogContentProps[];\n\n if (existingIndex !== -1) {\n updatedHistory = [...prev];\n updatedHistory[existingIndex] = { ...dialog, id, index: prev[existingIndex].index };\n } else {\n updatedHistory = prev.map((item) => {\n const index = item.index;\n if (index === undefined) return item;\n\n return {\n ...item,\n index: index + 1,\n };\n });\n const newContent = { ...dialog, id, index: 0 };\n updatedHistory.unshift(newContent);\n }\n\n return updatedHistory;\n });\n }, []);\n\n const dialogHistoryLength = useMemo(() => dialogHistory.length, [dialogHistory.length]);\n const zIndex = useMemo(() => props.zIndex, [props.zIndex]);\n\n return (\n <DialogContext.Provider value={{ add, remove, update, dialogHistory }}>\n <AnimatePresence>\n {dialogHistoryLength && (\n <DialogLayout\n $zIndex={zIndex}\n initial={{\n opacity: 0,\n }}\n exit={{\n opacity: 0,\n }}\n animate={{\n opacity: 1,\n }}\n transition={{ type: 'spring', duration: DEFAULT_PROVIDER_DIALOG_DURATION_LAYOUT }}\n >\n {dialogHistory.map((dialog) => {\n return (\n <MemoizedDialogElement\n key={dialog.id}\n index={dialog.index}\n props={dialog.props}\n id={dialog.id}\n onRemove={dialog.onRemove}\n />\n );\n })}\n </DialogLayout>\n )}\n </AnimatePresence>\n\n {props.children}\n </DialogContext.Provider>\n );\n};\n\nconst DialogElement = <T extends object>(props: DialogElementProps<T>) => {\n const [isAnimating, setIsAnimating] = useState(true);\n const isRemoveOnOutsideClick = useMemo(\n () => props.props?.propsDialog?.isRemoveOnOutsideClick ?? true,\n [props.props?.propsDialog?.isRemoveOnOutsideClick],\n );\n const children = useMemo(\n () => props.props?.content?.(props.onRemove, isAnimating, props.props.propsCustom),\n [props.props?.content, isAnimating, props?.props?.propsCustom, props.onRemove],\n );\n return props.index !== undefined && (\n <Outside onOutsideClick={() => isRemoveOnOutsideClick && props.onRemove?.()}>\n <DialogElementWrapper\n key={props.id}\n initial={{\n opacity: 0,\n scale: 0.8,\n }}\n animate={{\n opacity: 1,\n scale: 1,\n }}\n onAnimationComplete={() => setIsAnimating(false)}\n transition={{\n type: 'spring',\n duration: DEFAULT_PROVIDER_DIALOG_DURATION_ELEMENT,\n delay: DEFAULT_PROVIDER_DIALOG_DURATION_LAYOUT,\n }}\n style={{\n zIndex: -props.index,\n }}\n $isDisabledOutline={props.props?.propsOutline?.isDisabledOutline}\n $isOutlineBoxShadow={props.props?.propsOutline?.isOutlineBoxShadow}\n $isReadOnly={props.props?.propsOutline?.isReadOnly}\n $propsDialog={props.props?.propsDialog}\n >\n {children}\n </DialogElementWrapper>\n </Outside>\n );\n};\nconst MemoizedDialogElement = memo(DialogElement);\n","import validate from './validate.js';\nconst byteToHex = [];\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\nexport function unsafeStringify(arr, offset = 0) {\n return (byteToHex[arr[offset + 0]] +\n byteToHex[arr[offset + 1]] +\n byteToHex[arr[offset + 2]] +\n byteToHex[arr[offset + 3]] +\n '-' +\n byteToHex[arr[offset + 4]] +\n byteToHex[arr[offset + 5]] +\n '-' +\n byteToHex[arr[offset + 6]] +\n byteToHex[arr[offset + 7]] +\n '-' +\n byteToHex[arr[offset + 8]] +\n byteToHex[arr[offset + 9]] +\n '-' +\n byteToHex[arr[offset + 10]] +\n byteToHex[arr[offset + 11]] +\n byteToHex[arr[offset + 12]] +\n byteToHex[arr[offset + 13]] +\n byteToHex[arr[offset + 14]] +\n byteToHex[arr[offset + 15]]).toLowerCase();\n}\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset);\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n return uuid;\n}\nexport default stringify;\n","let getRandomValues;\nconst rnds8 = new Uint8Array(16);\nexport default function rng() {\n if (!getRandomValues) {\n if (typeof crypto === 'undefined' || !crypto.getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n getRandomValues = crypto.getRandomValues.bind(crypto);\n }\n return getRandomValues(rnds8);\n}\n","const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default { randomUUID };\n","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n options = options || {};\n const rnds = options.random ?? options.rng?.() ?? rng();\n if (rnds.length < 16) {\n throw new Error('Random bytes length must be >= 16');\n }\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n if (buf) {\n offset = offset || 0;\n if (offset < 0 || offset + 16 > buf.length) {\n throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);\n }\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n return buf;\n }\n return unsafeStringify(rnds);\n}\nexport default v4;\n","import { addOutline } from '@local/styles/add';\n\nimport { motion } from 'framer-motion';\nimport styled from 'styled-components';\n\nimport {\n DEFAULT_PROVIDER_DIALOG_ELEMENT_BACKGROUND,\n DEFAULT_PROVIDER_DIALOG_ELEMENT_BORDER_RADIUS,\n DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_HEIGHT,\n DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_WIDTH,\n DEFAULT_PROVIDER_DIALOG_ELEMENT_PADDING,\n DialogElementWrapperProps,\n DialogLayoutProps,\n} from '.';\n\nexport const DialogLayout = styled(motion.div)<DialogLayoutProps>`\n position: fixed;\n flex: 1;\n width: 100%;\n height: 100%;\n background-color: ${(props) => props.theme.palette.black50};\n z-index: ${(props) => props.$zIndex};\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n`;\n\nexport const DialogElementWrapper = styled(motion.dialog)<DialogElementWrapperProps<object>>`\n ${addOutline};\n max-width: ${(props) => props.$propsDialog?.maxWidth || DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_WIDTH};\n max-height: ${(props) => props.$propsDialog?.maxHeight || DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_HEIGHT};\n border-radius: ${(props) => props.$propsDialog?.borderRadius || DEFAULT_PROVIDER_DIALOG_ELEMENT_BORDER_RADIUS};\n background: ${(props) =>\n props.$propsDialog?.background\n ? props.theme.palette[props.$propsDialog.background]\n : props.theme.palette[DEFAULT_PROVIDER_DIALOG_ELEMENT_BACKGROUND]};\n padding: ${(props) => props.$propsDialog?.padding || DEFAULT_PROVIDER_DIALOG_ELEMENT_PADDING};\n width: max-content;\n height: max-content;\n border: 0;\n display: flex;\n flex-direction: column;\n gap: 10px;\n align-items: flex-start;\n justify-content: flex-start;\n flex-shrink: 0;\n position: relative;\n box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.2);\n overflow: hidden;\n`;\nexport const DialogContent = styled(motion.div)``;\n","import { IThemePaletteKeys } from '@local/theme';\n\nexport const DEFAULT_PROVIDER_DIALOG_DURATION_ELEMENT = 0.3;\nexport const DEFAULT_PROVIDER_DIALOG_DURATION_LAYOUT = 0.4;\nexport const DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_HEIGHT: string = 'max-content';\nexport const DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_WIDTH: string = 'max-content';\nexport const DEFAULT_PROVIDER_DIALOG_ELEMENT_BORDER_RADIUS: string = '12px';\nexport const DEFAULT_PROVIDER_DIALOG_ELEMENT_PADDING: string = '20px';\nexport const DEFAULT_PROVIDER_DIALOG_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A;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAcvF,MAAM,gBAAgB,OAAO,OAAO,GAAG;ACjDvC,MAAM,2CAA2C;AACjD,MAAM,0CAA0C;AAChD,MAAM,6CAAqD;AAC3D,MAAM,4CAAoD;AAC1D,MAAM,gDAAwD;AAC9D,MAAM,0CAAkD;AACxD,MAAM,6CAAgE;","x_google_ignoreList":[1,2,3,4]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("./jsx-runtime-C6yv_9g1.cjs"),t=require("./component.styles-BX2Aiqp_.cjs"),r=require("react"),n=require("styled-components"),o=require("./style-Drq-Q1Im.cjs"),i=require("./style-fRZ6xrVp.cjs"),s=require("./functions.cjs.js"),a=require("./component-CoOTSdM5.cjs"),l=require("framer-motion");require("./area.styles-Cpx4H0gc.cjs");const c=require("./motion-DrSN18V7.cjs"),d=require("./context.hooks-DDD8ffJI.cjs"),u=require("./use-zW3LuRc_.cjs"),h=require("@tanstack/react-router"),f=require("react-dom"),p=require("./consts.cjs.js"),m=require("@tanstack/react-virtual"),g=require("./component-DqV_-YxZ.cjs"),x=require("./context.constants-CAlZQBvG.cjs");function v(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const r in e)if("default"!==r){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}return t.default=e,Object.freeze(t)}require("./component.styles-CD6ZzRrk.cjs"),require("./context-DyTE2I_6.cjs"),require("./context-B8kTBKjt.cjs"),require("./context-B1id3uai.cjs"),require("./context.hooks-DpwnIiRj.cjs");const b=v(r),y=v(f),$=t=>{const o=n.useTheme(),i=r.useMemo(()=>o.icon.getIconId({type:t.type,name:t.name}),[t.name,t.type,o.icon.getIconId]),s=r.useMemo(()=>o.icon.getSpriteUrl({type:t.type}),[t.type,o.icon.getSpriteUrl]),{loaded:a,error:l}=S(s);return!a||l?e.jsxRuntimeExports.jsx(U,{$size:t.size,$order:t.order,color:t.color??void 0,className:t.className,visible:!0}):e.jsxRuntimeExports.jsx(V,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",$size:t.size,$turn:t.turn,$order:t.order,$color:t.color??void 0,$sx:t.sx,className:t.className,onClick:t.onClick,tabIndex:t.tabIndex,children:e.jsxRuntimeExports.jsx("use",{href:i})})};function w(t){var r,n;return null==(n=null==(r=t.icons??[])?void 0:r.filter(e=>!e.isHidden))?void 0:n.map((r,n)=>e.jsxRuntimeExports.jsx($,{size:(null==r?void 0:r.size)??t.size,...r},`${r.type}-${r.name}-${n}`))}const k=new Map;function S(e){const[t,n]=r.useState(!1),[o,i]=r.useState(null);return r.useEffect(()=>{let t,r=!0,o=k.get(e);return(null==o?void 0:o.loaded)?(n(!0),void i(o.error??null)):(o?t=o.promise:(t=(async()=>{try{const r=await fetch(e);if(!r.ok)throw new Error(`Failed to load sprite: ${e}`);const n=await r.text(),o=document.createElement("div");o.style.display="none",o.innerHTML=n,document.body.prepend(o),k.set(e,{promise:t,loaded:!0})}catch(n){const o=n instanceof Error?n:new Error(String(n));throw k.set(e,{promise:t,loaded:!0,error:o}),r&&i(o),n}})(),k.set(e,{promise:t,loaded:!1})),t.then(()=>{if(!r)return;const t=k.get(e);n((null==t?void 0:t.loaded)??!0),i((null==t?void 0:t.error)??null)}).catch(()=>{}),()=>{r=!1})},[e]),{loaded:t,error:o}}const _=["Close","Biometry","Qr","Search","Folder","Wallet","Graph","Bookmark","Browser","Category","Home","Notification","Chat","Heart","Paper","Plus","Minus","PaperPlus","PaperNegative","PaperFail","PaperDownload","PaperUpload","Send","Password","Swap","Work","Arrow1","Arrow2","Arrow3","Arrow4","ArrowMini1","ArrowMini2","Scan","Activity","Calendar","Message","PlusMini","ChartMini","Game","Bag1","Bag2","TicketStar","MoreCircle","MoreSquare","Discount","Buy","Web","InfoMini","DangerMini","CloseMini","TickMini","Video","Discovery","Location","Document","Setting","Time","VolumeUp","VolumeDown","VolumeOff","Star","Select","Ticket","Camera","Profile","AddUser","TwoUser","ThreeUser","Login","Logout","Download","Upload","Voice1","Voice2","Delete","Edit","PlayMini","ShieldDone","ShieldFail","Show","Hide","Filter1","Filter2","Image","Call","Calling","CallMissed","CallSilent","Lock","Unlock","Resources","Language"],D=["Radio-true","Radio-false","Square-true","Square-false","Heart-true","Heart-false","Arrow"],C=["Line","Circle","Blocks","Balls"],M=["MapCluster","HomeLikes","HomeManagement","UserSettings","User"],z=["Jenesei","BustMarket"],O=["Card","Delivery","Heart","Reviews","Search","Menu"],T={currentColor:"currentColor",inherit:"inherit",transparent:"transparent",black100:"#000000",black80:"#000000CC",black60:"#00000099",black50:"#00000080",black40:"#00000066",black10:"#0000001A",black05:"#0000000D",black04:"#0000000A",blackHelena:"#181818",blackJanice:"#373740",grayJanice:"#f2f2f7",grayKaren:"#e5e5ea",grayMonica:"#c7c7cc",graySandra:"#d1d1d6",grayPatricia:"#484848",graySarah:"#737373",grayStassie:"#8D8D8F",grayAdriana:"#90909033",grayBarbara:"#EBEEEA",grayStephanie:"#6c7a91",grayTina:"#182433",grayFrances:"#dce1e7",whiteStandard:"#ffffff",whiteJanice:"#F7FAFF",greenGoogle:"#34a853",green100:"#34a853",green25:"#34A85340",green50:"#34A85380",green10:"#34A8531A",green10Background:"#EFFFF3",yellowGoogle:"#fbbc04",yellow100:"#e4bc1b",yellow50:"#E4BC1B80",yellow25:"#E4BC1B40",yellow10:"#E4BC1B1A",yellow10Background:"#FFFBEA",redGoogle:"#ea4335",red100:"#ff4141",red50:"#FF414180",red25:"#FF414140",red10:"#FF41411A",red10Background:"#FFEDED",blueGoogle:"#4285f4",blueRest:"#4195d2",blueActive:"#4195D21A",blueHover:"#1769A5CC",blueFocus:"#1769a5",blueBr:"#0975a6",blueKaren:"#2A77EE",blueMonica:"#174899",violetStephanie:"#a75afa",violetJanice:"#be83fd",amnezia:"#222224"},E={"bustmarket-gray-violet":{background:{rest:T.transparent,hover:T.black04},color:{rest:T.violetStephanie,hover:T.violetJanice,placeholder:T.violetJanice},border:{rest:T.transparent,hover:T.transparent}},"bustmarket-gray":{background:{rest:T.transparent,hover:T.black04},color:{rest:T.grayStephanie,hover:T.grayTina,placeholder:T.grayTina},border:{rest:T.transparent,hover:T.transparent}},"bustmarket-violet":{background:{rest:T.violetStephanie,hover:T.violetJanice},color:{rest:T.whiteStandard,hover:T.whiteStandard,placeholder:T.whiteStandard},border:{rest:T.transparent,hover:T.transparent}},"bustmarket-white-violet":{background:{rest:T.whiteStandard,hover:T.violetJanice},color:{rest:T.blackJanice,hover:T.whiteStandard,placeholder:T.whiteStandard},border:{rest:T.grayFrances,hover:T.grayFrances}},"realebail-white":{background:{rest:T.whiteJanice,hover:T.whiteJanice},color:{rest:T.blueKaren,hover:T.blueMonica,placeholder:T.blueKaren},border:{rest:T.transparent,hover:T.transparent}},"realebail-product":{background:{rest:T.blueKaren,hover:T.blueMonica},color:{rest:T.whiteJanice,hover:T.whiteJanice,placeholder:T.whiteJanice},border:{rest:T.transparent,hover:T.transparent}},"realebail-gray":{background:{rest:T.grayAdriana,hover:T.graySarah},color:{rest:T.blackHelena,hover:T.blackHelena,placeholder:T.blackHelena},border:{rest:T.transparent,hover:T.transparent}},white:{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.black80,hover:T.black60,placeholder:T.black80},border:{rest:T.transparent,hover:T.transparent}},product:{background:{rest:T.blueRest,hover:T.blueHover},color:{rest:T.whiteStandard,hover:T.whiteStandard,placeholder:T.whiteStandard},border:{rest:T.transparent,hover:T.transparent}},productBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.blueRest,hover:T.blueHover,placeholder:T.blueRest},border:{rest:T.blueRest,hover:T.blueHover}},gray:{background:{rest:T.black10,hover:T.graySandra},color:{rest:T.black60,hover:T.black60,placeholder:T.black80},border:{rest:T.transparent,hover:T.transparent}},grayBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.black60,hover:T.black60,placeholder:T.black80},border:{rest:T.black10,hover:T.graySandra}},black:{background:{rest:T.black100,hover:T.black60},color:{rest:T.whiteStandard,hover:T.whiteStandard,placeholder:T.whiteStandard},border:{rest:T.transparent,hover:T.transparent}},blackBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.black100,hover:T.black60,placeholder:T.black100},border:{rest:T.black100,hover:T.black60}},greenTransparent:{background:{rest:T.green10,hover:T.green25},color:{rest:T.green100,hover:T.green100,placeholder:T.green100},border:{rest:T.transparent,hover:T.transparent}},yellowTransparent:{background:{rest:T.yellow10,hover:T.yellow25},color:{rest:T.yellow100,hover:T.yellow100,placeholder:T.yellow100},border:{rest:T.transparent,hover:T.transparent}},redTransparent:{background:{rest:T.red10,hover:T.red25},color:{rest:T.red100,hover:T.red100,placeholder:T.red100},border:{rest:T.transparent,hover:T.transparent}}},R={icon:{map:{id:_,checkbox:D,loading:C,realebail:M,logo:z,bustmarket:O},getIconId:e=>`#${e.type}-${e.name}`,getSpriteUrl:e=>`https://id.assets.jenesei.ru/icons/${e.type}.svg?v=${p.LIBRARY_VERSION}`},transition:{duration:"0.3s",timingFunction:"ease",default:"0.3s ease",icon:"0.05s ease"},scrollbar:{width:4,background:T.black05,thumb:T.black10,thumbBorder:T.black05},font:{family:"Inter",weight:400,lineHeight:1.2,sizeDefault:{default:16,mobile:12,tablet:14},sizeHeading:{h1:2.5,h2:2.25,h3:2,h4:1.75,h5:1.5,h6:1.25,h7:1,h8:.75,h9:.5}},screens:{default:{width:1920},tablet:{width:1290},mobile:{width:850}},effects:{input:"inset 0px 0px 4px rgba(0, 0, 0, 0.20)",button:"0px 0px 4px 0px rgba(0, 0, 0, 0.25) inset, 0px 4px 4px 0px rgba(0, 0, 0, 0.25)"},palette:T,background:T,states:{focus:T.black60,danger:T.redGoogle},colors:{range:{"bustmarket-gray":{track:{background:{rest:T.grayBarbara},gradient:{rest:T.blueKaren}},thumb:{background:{rest:T.whiteStandard,hover:T.whiteStandard},border:{rest:T.blueRest,hover:T.blueRest}}},"realebail-white":{track:{background:{rest:T.grayBarbara},gradient:{rest:T.blueKaren}},thumb:{background:{rest:T.whiteStandard,hover:T.whiteStandard},border:{rest:T.blueRest,hover:T.blueRest}}},gray:{track:{background:{rest:T.grayJanice},gradient:{rest:T.black60}},thumb:{background:{rest:T.grayBarbara,hover:T.grayBarbara},border:{rest:T.black60,hover:T.black60}}},blackBorder:{track:{background:{rest:T.graySandra},gradient:{rest:T.black80}},thumb:{background:{rest:T.graySandra,hover:T.graySandra},border:{rest:T.black80,hover:T.black80}}},grayBorder:{track:{background:{rest:T.graySandra},gradient:{rest:T.black60}},thumb:{background:{rest:T.whiteStandard,hover:T.whiteStandard},border:{rest:T.black40,hover:T.black40}}}},sonner:{black:{button:{genre:"black"},wrapper:{background:T.whiteStandard,borderColor:T.grayKaren,boxShadow:"0px 10px 30px 0px rgba(0, 0, 0, 0.2)",boxShadowHover:"0px 10px 30px 0px rgba(0, 0, 0, 0.5)"},icon:{color:T.black100},title:{color:T.black100},description:{color:T.grayPatricia}},greenTransparent:{button:{genre:"greenTransparent"},wrapper:{background:T.green10Background,borderColor:T.green25,boxShadow:`0px 10px 30px 0px ${T.green25}`,boxShadowHover:`0px 10px 30px 0px ${T.green50}`},icon:{color:T.green100},title:{color:T.green100},description:{color:T.greenGoogle}},redTransparent:{button:{genre:"redTransparent"},wrapper:{background:T.red10Background,borderColor:T.red25,boxShadow:`0px 10px 30px 0px ${T.red25}`,boxShadowHover:`0px 10px 30px 0px ${T.red50}`},icon:{color:T.red100},title:{color:T.red100},description:{color:T.redGoogle}},yellowTransparent:{button:{genre:"yellowTransparent"},wrapper:{background:T.yellow10Background,borderColor:T.yellow25,boxShadow:`0px 10px 30px 0px ${T.yellow25}`,boxShadowHover:`0px 10px 30px 0px ${T.yellow50}`},icon:{color:"yellow100"},title:{color:T.yellow100},description:{color:T.yellowGoogle}}},button:E,date:{"realebail-white":{background:{rest:T.whiteJanice,hover:T.whiteJanice,today:T.blueKaren,weekend:T.whiteJanice,choice:T.blueKaren,line:T.whiteJanice},color:{rest:T.blueKaren,hover:T.blueMonica,placeholder:T.blueKaren,today:T.whiteStandard,weekend:T.blueMonica,choice:T.whiteStandard,line:T.transparent},border:{rest:T.transparent,hover:T.transparent,today:T.transparent,weekend:T.transparent,choice:T.transparent,line:T.transparent}},blackBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard,today:T.black80,weekend:T.black10,choice:T.graySarah,line:T.whiteStandard},color:{rest:T.black80,hover:T.black80,placeholder:T.black40,today:T.whiteStandard,weekend:T.black100,choice:T.whiteStandard,line:T.transparent},border:{rest:T.black10,hover:T.graySandra,today:T.transparent,weekend:T.transparent,choice:T.transparent,line:T.transparent}},gray:{background:{rest:T.grayJanice,hover:T.graySandra,today:T.graySarah,weekend:T.black10,choice:T.graySarah,line:T.transparent},color:{rest:T.black60,hover:T.black60,placeholder:T.black80,today:T.whiteStandard,weekend:T.grayJanice,choice:T.whiteStandard,line:T.transparent},border:{rest:T.transparent,hover:T.transparent,today:T.transparent,weekend:T.transparent,choice:T.transparent,line:T.transparent}},grayBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard,today:T.black60,weekend:T.black10,line:T.transparent,choice:T.black60},color:{rest:T.black60,hover:T.black60,placeholder:T.black80,today:T.whiteStandard,choice:T.whiteStandard,weekend:T.black80,line:T.transparent},border:{rest:T.black10,hover:T.graySandra,today:T.transparent,weekend:T.black10,line:T.transparent,choice:T.transparent}}},toggle:{product:{active:{rest:{border:T.transparent,track:T.blueRest,thumb:T.whiteStandard,thumbBoxShadow:"0px 0px 10px 1px rgba(0, 0, 0, 0.1)"},hover:{border:T.transparent,track:T.blueHover,thumb:T.whiteStandard,thumbBoxShadow:"0px 0px 10px 0px rgba(0, 0, 0, 0.6)"}},unActive:{rest:{border:T.transparent,track:T.black10,thumb:T.whiteStandard,thumbBoxShadow:"0px 0px 10px 1px rgba(0, 0, 0, 0.1)"},hover:{border:T.transparent,track:T.graySandra,thumb:T.whiteStandard,thumbBoxShadow:"0px 0px 10px 0px rgba(0, 0, 0, 0.6)"}}}},checkbox:E,input:{"bustmarket-gray":{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.grayTina,hover:T.black80,placeholder:T.black40},border:{rest:T.grayFrances,hover:T.grayBarbara}},"realebail-white":{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.black80,hover:T.black80,placeholder:T.black40},border:{rest:T.grayBarbara,hover:T.grayBarbara}},gray:{background:{rest:T.grayJanice,hover:T.graySandra},color:{rest:T.black60,hover:T.black60,placeholder:T.black80},border:{rest:T.transparent,hover:T.transparent}},blackBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.black80,hover:T.black80,placeholder:T.black40},border:{rest:T.black100,hover:T.black80}},grayBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.black60,hover:T.black60,placeholder:T.black40},border:{rest:T.black10,hover:T.graySandra}}},imageSelect:{"realebail-white":{background:{rest:T.whiteJanice,hover:T.whiteJanice},color:{rest:T.blueKaren,hover:T.blueMonica,placeholder:T.blueKaren},border:{rest:T.blueKaren,hover:T.blackHelena}},gray:{background:{rest:T.black10,hover:T.graySandra},color:{rest:T.black60,hover:T.black60,placeholder:T.black80},border:{rest:T.transparent,hover:T.transparent}},grayBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.black60,hover:T.black60,placeholder:T.black80},border:{rest:T.black10,hover:T.graySandra}},blackBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.black100,hover:T.black60,placeholder:T.black100},border:{rest:T.black100,hover:T.black60}}},select:{"realebail-white":{background:{rest:T.whiteJanice,hover:T.whiteJanice,select:""},color:{rest:T.blueKaren,hover:T.blueMonica,placeholder:T.blueKaren,select:""},border:{rest:T.transparent,hover:T.transparent,select:""}},gray:{background:{rest:T.grayJanice,hover:T.graySandra,select:""},color:{rest:T.black60,hover:T.black60,placeholder:T.black80,select:""},border:{rest:T.transparent,hover:T.transparent,select:""}},blackBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard,select:T.blueActive},color:{rest:T.black80,hover:T.black80,placeholder:T.black40,select:T.black100},border:{rest:T.black100,hover:T.black80,select:T.blueRest}},grayBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard,select:""},color:{rest:T.black60,hover:T.black60,placeholder:T.black40,select:""},border:{rest:T.black10,hover:T.graySandra,select:""}}}},getContrastYIQ:s.getContrastYIQ},j=R,I={large:{height:46,heightIcon:24,radius:6,padding:16,font:20},largeMedium:{height:42,heightIcon:22,radius:6,padding:14,font:18},medium:{height:38,heightIcon:20,radius:6,padding:12,font:16},mediumSmall:{height:34,heightIcon:18,radius:6,padding:10,font:14},small:{height:30,heightIcon:16,radius:8,padding:8,font:12}},H={large:{height:46,width:92,padding:3,thumb:40},largeMedium:{height:42,width:84,padding:2,thumb:38},medium:{height:38,width:76,padding:2,thumb:34},mediumSmall:{height:34,width:68,padding:2,thumb:30},small:{height:30,width:60,padding:2,thumb:26}};var A,N,Y=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},L=n.css(A||(A=Y(["\n/* http://meyerweb.com/eric/tools/css/reset/\n v5.0.1 | 20191019\n License: none (public domain)\n*/\n\nhtml, body, div, span, applet, object, iframe,\nh1, h2, h3, h4, h5, h6, p, blockquote, pre,\na, abbr, acronym, address, big, cite, code,\ndel, dfn, em, img, ins, kbd, q, s, samp,\nsmall, strike, strong, sub, sup, tt, var,\nb, u, i, center,\ndl, dt, dd, menu, ol, ul, li,\nfieldset, form, label, legend,\ntable, caption, tbody, tfoot, thead, tr, th, td,\narticle, aside, canvas, details, embed,\nfigure, figcaption, footer, header, hgroup,\nmain, menu, nav, output, ruby, section, summary,\ntime, mark, audio, video {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n}\n/* HTML5 display-role reset for older browsers */\narticle, aside, details, figcaption, figure,\nfooter, header, hgroup, main, menu, nav, section {\n display: block;\n}\n/* HTML5 hidden-attribute fix for newer browsers */\n*[hidden] {\n display: none;\n}\nbody {\n line-height: 1;\n}\nmenu, ol, ul {\n list-style: none;\n}\nblockquote, q {\n quotes: none;\n}\nblockquote:before, blockquote:after,\nq:before, q:after {\n content: '';\n content: none;\n}\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n"],["\n/* http://meyerweb.com/eric/tools/css/reset/\n v5.0.1 | 20191019\n License: none (public domain)\n*/\n\nhtml, body, div, span, applet, object, iframe,\nh1, h2, h3, h4, h5, h6, p, blockquote, pre,\na, abbr, acronym, address, big, cite, code,\ndel, dfn, em, img, ins, kbd, q, s, samp,\nsmall, strike, strong, sub, sup, tt, var,\nb, u, i, center,\ndl, dt, dd, menu, ol, ul, li,\nfieldset, form, label, legend,\ntable, caption, tbody, tfoot, thead, tr, th, td,\narticle, aside, canvas, details, embed,\nfigure, figcaption, footer, header, hgroup,\nmain, menu, nav, output, ruby, section, summary,\ntime, mark, audio, video {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n}\n/* HTML5 display-role reset for older browsers */\narticle, aside, details, figcaption, figure,\nfooter, header, hgroup, main, menu, nav, section {\n display: block;\n}\n/* HTML5 hidden-attribute fix for newer browsers */\n*[hidden] {\n display: none;\n}\nbody {\n line-height: 1;\n}\nmenu, ol, ul {\n list-style: none;\n}\nblockquote, q {\n quotes: none;\n}\nblockquote:before, blockquote:after,\nq:before, q:after {\n content: '';\n content: none;\n}\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n"])));n.createGlobalStyle(N||(N=Y(["",""],["",""])),L);const B=n.createGlobalStyle`
|
|
1
|
+
"use strict";const e=require("./jsx-runtime-C6yv_9g1.cjs"),t=require("./component.styles-BX2Aiqp_.cjs"),r=require("react"),n=require("styled-components"),o=require("./style-Drq-Q1Im.cjs"),i=require("./style-fRZ6xrVp.cjs"),s=require("./functions.cjs.js"),a=require("./component-CoOTSdM5.cjs"),l=require("framer-motion");require("./area.styles-Cpx4H0gc.cjs");const c=require("./motion-DrSN18V7.cjs"),d=require("./context.hooks-DDD8ffJI.cjs"),u=require("./use-zW3LuRc_.cjs"),h=require("@tanstack/react-router"),f=require("react-dom"),p=require("./consts.cjs.js"),m=require("@tanstack/react-virtual"),g=require("./component-DqV_-YxZ.cjs"),x=require("./context.constants-Bzn9Rcey.cjs");function v(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const r in e)if("default"!==r){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}return t.default=e,Object.freeze(t)}require("./component.styles-CD6ZzRrk.cjs"),require("./context-DyTE2I_6.cjs"),require("./context-B8kTBKjt.cjs"),require("./context-B1id3uai.cjs"),require("./context.hooks-DpwnIiRj.cjs");const b=v(r),y=v(f),$=t=>{const o=n.useTheme(),i=r.useMemo(()=>o.icon.getIconId({type:t.type,name:t.name}),[t.name,t.type,o.icon.getIconId]),s=r.useMemo(()=>o.icon.getSpriteUrl({type:t.type}),[t.type,o.icon.getSpriteUrl]),{loaded:a,error:l}=S(s);return!a||l?e.jsxRuntimeExports.jsx(U,{$size:t.size,$order:t.order,color:t.color??void 0,className:t.className,visible:!0}):e.jsxRuntimeExports.jsx(V,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",$size:t.size,$turn:t.turn,$order:t.order,$color:t.color??void 0,$sx:t.sx,className:t.className,onClick:t.onClick,tabIndex:t.tabIndex,children:e.jsxRuntimeExports.jsx("use",{href:i})})};function w(t){var r,n;return null==(n=null==(r=t.icons??[])?void 0:r.filter(e=>!e.isHidden))?void 0:n.map((r,n)=>e.jsxRuntimeExports.jsx($,{size:(null==r?void 0:r.size)??t.size,...r},`${r.type}-${r.name}-${n}`))}const k=new Map;function S(e){const[t,n]=r.useState(!1),[o,i]=r.useState(null);return r.useEffect(()=>{let t,r=!0,o=k.get(e);return(null==o?void 0:o.loaded)?(n(!0),void i(o.error??null)):(o?t=o.promise:(t=(async()=>{try{const r=await fetch(e);if(!r.ok)throw new Error(`Failed to load sprite: ${e}`);const n=await r.text(),o=document.createElement("div");o.style.display="none",o.innerHTML=n,document.body.prepend(o),k.set(e,{promise:t,loaded:!0})}catch(n){const o=n instanceof Error?n:new Error(String(n));throw k.set(e,{promise:t,loaded:!0,error:o}),r&&i(o),n}})(),k.set(e,{promise:t,loaded:!1})),t.then(()=>{if(!r)return;const t=k.get(e);n((null==t?void 0:t.loaded)??!0),i((null==t?void 0:t.error)??null)}).catch(()=>{}),()=>{r=!1})},[e]),{loaded:t,error:o}}const _=["Close","Biometry","Qr","Search","Folder","Wallet","Graph","Bookmark","Browser","Category","Home","Notification","Chat","Heart","Paper","Plus","Minus","PaperPlus","PaperNegative","PaperFail","PaperDownload","PaperUpload","Send","Password","Swap","Work","Arrow1","Arrow2","Arrow3","Arrow4","ArrowMini1","ArrowMini2","Scan","Activity","Calendar","Message","PlusMini","ChartMini","Game","Bag1","Bag2","TicketStar","MoreCircle","MoreSquare","Discount","Buy","Web","InfoMini","DangerMini","CloseMini","TickMini","Video","Discovery","Location","Document","Setting","Time","VolumeUp","VolumeDown","VolumeOff","Star","Select","Ticket","Camera","Profile","AddUser","TwoUser","ThreeUser","Login","Logout","Download","Upload","Voice1","Voice2","Delete","Edit","PlayMini","ShieldDone","ShieldFail","Show","Hide","Filter1","Filter2","Image","Call","Calling","CallMissed","CallSilent","Lock","Unlock","Resources","Language"],D=["Radio-true","Radio-false","Square-true","Square-false","Heart-true","Heart-false","Arrow"],C=["Line","Circle","Blocks","Balls"],M=["MapCluster","HomeLikes","HomeManagement","UserSettings","User"],z=["Jenesei","BustMarket"],O=["Card","Delivery","Heart","Reviews","Search","Menu"],T={currentColor:"currentColor",inherit:"inherit",transparent:"transparent",black100:"#000000",black80:"#000000CC",black60:"#00000099",black50:"#00000080",black40:"#00000066",black10:"#0000001A",black05:"#0000000D",black04:"#0000000A",blackHelena:"#181818",blackJanice:"#373740",grayJanice:"#f2f2f7",grayKaren:"#e5e5ea",grayMonica:"#c7c7cc",graySandra:"#d1d1d6",grayPatricia:"#484848",graySarah:"#737373",grayStassie:"#8D8D8F",grayAdriana:"#90909033",grayBarbara:"#EBEEEA",grayStephanie:"#6c7a91",grayTina:"#182433",grayFrances:"#dce1e7",whiteStandard:"#ffffff",whiteJanice:"#F7FAFF",greenGoogle:"#34a853",green100:"#34a853",green25:"#34A85340",green50:"#34A85380",green10:"#34A8531A",green10Background:"#EFFFF3",yellowGoogle:"#fbbc04",yellow100:"#e4bc1b",yellow50:"#E4BC1B80",yellow25:"#E4BC1B40",yellow10:"#E4BC1B1A",yellow10Background:"#FFFBEA",redGoogle:"#ea4335",red100:"#ff4141",red50:"#FF414180",red25:"#FF414140",red10:"#FF41411A",red10Background:"#FFEDED",blueGoogle:"#4285f4",blueRest:"#4195d2",blueActive:"#4195D21A",blueHover:"#1769A5CC",blueFocus:"#1769a5",blueBr:"#0975a6",blueKaren:"#2A77EE",blueMonica:"#174899",violetStephanie:"#a75afa",violetJanice:"#be83fd",amnezia:"#222224"},E={"bustmarket-gray-violet":{background:{rest:T.transparent,hover:T.black04},color:{rest:T.violetStephanie,hover:T.violetJanice,placeholder:T.violetJanice},border:{rest:T.transparent,hover:T.transparent}},"bustmarket-gray":{background:{rest:T.transparent,hover:T.black04},color:{rest:T.grayStephanie,hover:T.grayTina,placeholder:T.grayTina},border:{rest:T.transparent,hover:T.transparent}},"bustmarket-violet":{background:{rest:T.violetStephanie,hover:T.violetJanice},color:{rest:T.whiteStandard,hover:T.whiteStandard,placeholder:T.whiteStandard},border:{rest:T.transparent,hover:T.transparent}},"bustmarket-white-violet":{background:{rest:T.whiteStandard,hover:T.violetJanice},color:{rest:T.blackJanice,hover:T.whiteStandard,placeholder:T.whiteStandard},border:{rest:T.grayFrances,hover:T.grayFrances}},"realebail-white":{background:{rest:T.whiteJanice,hover:T.whiteJanice},color:{rest:T.blueKaren,hover:T.blueMonica,placeholder:T.blueKaren},border:{rest:T.transparent,hover:T.transparent}},"realebail-product":{background:{rest:T.blueKaren,hover:T.blueMonica},color:{rest:T.whiteJanice,hover:T.whiteJanice,placeholder:T.whiteJanice},border:{rest:T.transparent,hover:T.transparent}},"realebail-gray":{background:{rest:T.grayAdriana,hover:T.graySarah},color:{rest:T.blackHelena,hover:T.blackHelena,placeholder:T.blackHelena},border:{rest:T.transparent,hover:T.transparent}},white:{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.black80,hover:T.black60,placeholder:T.black80},border:{rest:T.transparent,hover:T.transparent}},product:{background:{rest:T.blueRest,hover:T.blueHover},color:{rest:T.whiteStandard,hover:T.whiteStandard,placeholder:T.whiteStandard},border:{rest:T.transparent,hover:T.transparent}},productBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.blueRest,hover:T.blueHover,placeholder:T.blueRest},border:{rest:T.blueRest,hover:T.blueHover}},gray:{background:{rest:T.black10,hover:T.graySandra},color:{rest:T.black60,hover:T.black60,placeholder:T.black80},border:{rest:T.transparent,hover:T.transparent}},grayBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.black60,hover:T.black60,placeholder:T.black80},border:{rest:T.black10,hover:T.graySandra}},black:{background:{rest:T.black100,hover:T.black60},color:{rest:T.whiteStandard,hover:T.whiteStandard,placeholder:T.whiteStandard},border:{rest:T.transparent,hover:T.transparent}},blackBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.black100,hover:T.black60,placeholder:T.black100},border:{rest:T.black100,hover:T.black60}},greenTransparent:{background:{rest:T.green10,hover:T.green25},color:{rest:T.green100,hover:T.green100,placeholder:T.green100},border:{rest:T.transparent,hover:T.transparent}},yellowTransparent:{background:{rest:T.yellow10,hover:T.yellow25},color:{rest:T.yellow100,hover:T.yellow100,placeholder:T.yellow100},border:{rest:T.transparent,hover:T.transparent}},redTransparent:{background:{rest:T.red10,hover:T.red25},color:{rest:T.red100,hover:T.red100,placeholder:T.red100},border:{rest:T.transparent,hover:T.transparent}}},R={icon:{map:{id:_,checkbox:D,loading:C,realebail:M,logo:z,bustmarket:O},getIconId:e=>`#${e.type}-${e.name}`,getSpriteUrl:e=>`https://id.assets.jenesei.ru/icons/${e.type}.svg?v=${p.LIBRARY_VERSION}`},transition:{duration:"0.3s",timingFunction:"ease",default:"0.3s ease",icon:"0.05s ease"},scrollbar:{width:4,background:T.black05,thumb:T.black10,thumbBorder:T.black05},font:{family:"Inter",weight:400,lineHeight:1.2,sizeDefault:{default:16,mobile:12,tablet:14},sizeHeading:{h1:2.5,h2:2.25,h3:2,h4:1.75,h5:1.5,h6:1.25,h7:1,h8:.75,h9:.5}},screens:{default:{width:1920},tablet:{width:1290},mobile:{width:850}},effects:{input:"inset 0px 0px 4px rgba(0, 0, 0, 0.20)",button:"0px 0px 4px 0px rgba(0, 0, 0, 0.25) inset, 0px 4px 4px 0px rgba(0, 0, 0, 0.25)"},palette:T,background:T,states:{focus:T.black60,danger:T.redGoogle},colors:{range:{"bustmarket-gray":{track:{background:{rest:T.grayBarbara},gradient:{rest:T.blueKaren}},thumb:{background:{rest:T.whiteStandard,hover:T.whiteStandard},border:{rest:T.blueRest,hover:T.blueRest}}},"realebail-white":{track:{background:{rest:T.grayBarbara},gradient:{rest:T.blueKaren}},thumb:{background:{rest:T.whiteStandard,hover:T.whiteStandard},border:{rest:T.blueRest,hover:T.blueRest}}},gray:{track:{background:{rest:T.grayJanice},gradient:{rest:T.black60}},thumb:{background:{rest:T.grayBarbara,hover:T.grayBarbara},border:{rest:T.black60,hover:T.black60}}},blackBorder:{track:{background:{rest:T.graySandra},gradient:{rest:T.black80}},thumb:{background:{rest:T.graySandra,hover:T.graySandra},border:{rest:T.black80,hover:T.black80}}},grayBorder:{track:{background:{rest:T.graySandra},gradient:{rest:T.black60}},thumb:{background:{rest:T.whiteStandard,hover:T.whiteStandard},border:{rest:T.black40,hover:T.black40}}}},sonner:{black:{button:{genre:"black"},wrapper:{background:T.whiteStandard,borderColor:T.grayKaren,boxShadow:"0px 10px 30px 0px rgba(0, 0, 0, 0.2)",boxShadowHover:"0px 10px 30px 0px rgba(0, 0, 0, 0.5)"},icon:{color:T.black100},title:{color:T.black100},description:{color:T.grayPatricia}},greenTransparent:{button:{genre:"greenTransparent"},wrapper:{background:T.green10Background,borderColor:T.green25,boxShadow:`0px 10px 30px 0px ${T.green25}`,boxShadowHover:`0px 10px 30px 0px ${T.green50}`},icon:{color:T.green100},title:{color:T.green100},description:{color:T.greenGoogle}},redTransparent:{button:{genre:"redTransparent"},wrapper:{background:T.red10Background,borderColor:T.red25,boxShadow:`0px 10px 30px 0px ${T.red25}`,boxShadowHover:`0px 10px 30px 0px ${T.red50}`},icon:{color:T.red100},title:{color:T.red100},description:{color:T.redGoogle}},yellowTransparent:{button:{genre:"yellowTransparent"},wrapper:{background:T.yellow10Background,borderColor:T.yellow25,boxShadow:`0px 10px 30px 0px ${T.yellow25}`,boxShadowHover:`0px 10px 30px 0px ${T.yellow50}`},icon:{color:"yellow100"},title:{color:T.yellow100},description:{color:T.yellowGoogle}}},button:E,date:{"realebail-white":{background:{rest:T.whiteJanice,hover:T.whiteJanice,today:T.blueKaren,weekend:T.whiteJanice,choice:T.blueKaren,line:T.whiteJanice},color:{rest:T.blueKaren,hover:T.blueMonica,placeholder:T.blueKaren,today:T.whiteStandard,weekend:T.blueMonica,choice:T.whiteStandard,line:T.transparent},border:{rest:T.transparent,hover:T.transparent,today:T.transparent,weekend:T.transparent,choice:T.transparent,line:T.transparent}},blackBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard,today:T.black80,weekend:T.black10,choice:T.graySarah,line:T.whiteStandard},color:{rest:T.black80,hover:T.black80,placeholder:T.black40,today:T.whiteStandard,weekend:T.black100,choice:T.whiteStandard,line:T.transparent},border:{rest:T.black10,hover:T.graySandra,today:T.transparent,weekend:T.transparent,choice:T.transparent,line:T.transparent}},gray:{background:{rest:T.grayJanice,hover:T.graySandra,today:T.graySarah,weekend:T.black10,choice:T.graySarah,line:T.transparent},color:{rest:T.black60,hover:T.black60,placeholder:T.black80,today:T.whiteStandard,weekend:T.grayJanice,choice:T.whiteStandard,line:T.transparent},border:{rest:T.transparent,hover:T.transparent,today:T.transparent,weekend:T.transparent,choice:T.transparent,line:T.transparent}},grayBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard,today:T.black60,weekend:T.black10,line:T.transparent,choice:T.black60},color:{rest:T.black60,hover:T.black60,placeholder:T.black80,today:T.whiteStandard,choice:T.whiteStandard,weekend:T.black80,line:T.transparent},border:{rest:T.black10,hover:T.graySandra,today:T.transparent,weekend:T.black10,line:T.transparent,choice:T.transparent}}},toggle:{product:{active:{rest:{border:T.transparent,track:T.blueRest,thumb:T.whiteStandard,thumbBoxShadow:"0px 0px 10px 1px rgba(0, 0, 0, 0.1)"},hover:{border:T.transparent,track:T.blueHover,thumb:T.whiteStandard,thumbBoxShadow:"0px 0px 10px 0px rgba(0, 0, 0, 0.6)"}},unActive:{rest:{border:T.transparent,track:T.black10,thumb:T.whiteStandard,thumbBoxShadow:"0px 0px 10px 1px rgba(0, 0, 0, 0.1)"},hover:{border:T.transparent,track:T.graySandra,thumb:T.whiteStandard,thumbBoxShadow:"0px 0px 10px 0px rgba(0, 0, 0, 0.6)"}}}},checkbox:E,input:{"bustmarket-gray":{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.grayTina,hover:T.black80,placeholder:T.black40},border:{rest:T.grayFrances,hover:T.grayBarbara}},"realebail-white":{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.black80,hover:T.black80,placeholder:T.black40},border:{rest:T.grayBarbara,hover:T.grayBarbara}},gray:{background:{rest:T.grayJanice,hover:T.graySandra},color:{rest:T.black60,hover:T.black60,placeholder:T.black80},border:{rest:T.transparent,hover:T.transparent}},blackBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.black80,hover:T.black80,placeholder:T.black40},border:{rest:T.black100,hover:T.black80}},grayBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.black60,hover:T.black60,placeholder:T.black40},border:{rest:T.black10,hover:T.graySandra}}},imageSelect:{"realebail-white":{background:{rest:T.whiteJanice,hover:T.whiteJanice},color:{rest:T.blueKaren,hover:T.blueMonica,placeholder:T.blueKaren},border:{rest:T.blueKaren,hover:T.blackHelena}},gray:{background:{rest:T.black10,hover:T.graySandra},color:{rest:T.black60,hover:T.black60,placeholder:T.black80},border:{rest:T.transparent,hover:T.transparent}},grayBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.black60,hover:T.black60,placeholder:T.black80},border:{rest:T.black10,hover:T.graySandra}},blackBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard},color:{rest:T.black100,hover:T.black60,placeholder:T.black100},border:{rest:T.black100,hover:T.black60}}},select:{"realebail-white":{background:{rest:T.whiteJanice,hover:T.whiteJanice,select:""},color:{rest:T.blueKaren,hover:T.blueMonica,placeholder:T.blueKaren,select:""},border:{rest:T.transparent,hover:T.transparent,select:""}},gray:{background:{rest:T.grayJanice,hover:T.graySandra,select:""},color:{rest:T.black60,hover:T.black60,placeholder:T.black80,select:""},border:{rest:T.transparent,hover:T.transparent,select:""}},blackBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard,select:T.blueActive},color:{rest:T.black80,hover:T.black80,placeholder:T.black40,select:T.black100},border:{rest:T.black100,hover:T.black80,select:T.blueRest}},grayBorder:{background:{rest:T.whiteStandard,hover:T.whiteStandard,select:""},color:{rest:T.black60,hover:T.black60,placeholder:T.black40,select:""},border:{rest:T.black10,hover:T.graySandra,select:""}}}},getContrastYIQ:s.getContrastYIQ},j=R,I={large:{height:46,heightIcon:24,radius:6,padding:16,font:20},largeMedium:{height:42,heightIcon:22,radius:6,padding:14,font:18},medium:{height:38,heightIcon:20,radius:6,padding:12,font:16},mediumSmall:{height:34,heightIcon:18,radius:6,padding:10,font:14},small:{height:30,heightIcon:16,radius:8,padding:8,font:12}},H={large:{height:46,width:92,padding:3,thumb:40},largeMedium:{height:42,width:84,padding:2,thumb:38},medium:{height:38,width:76,padding:2,thumb:34},mediumSmall:{height:34,width:68,padding:2,thumb:30},small:{height:30,width:60,padding:2,thumb:26}};var A,N,Y=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},L=n.css(A||(A=Y(["\n/* http://meyerweb.com/eric/tools/css/reset/\n v5.0.1 | 20191019\n License: none (public domain)\n*/\n\nhtml, body, div, span, applet, object, iframe,\nh1, h2, h3, h4, h5, h6, p, blockquote, pre,\na, abbr, acronym, address, big, cite, code,\ndel, dfn, em, img, ins, kbd, q, s, samp,\nsmall, strike, strong, sub, sup, tt, var,\nb, u, i, center,\ndl, dt, dd, menu, ol, ul, li,\nfieldset, form, label, legend,\ntable, caption, tbody, tfoot, thead, tr, th, td,\narticle, aside, canvas, details, embed,\nfigure, figcaption, footer, header, hgroup,\nmain, menu, nav, output, ruby, section, summary,\ntime, mark, audio, video {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n}\n/* HTML5 display-role reset for older browsers */\narticle, aside, details, figcaption, figure,\nfooter, header, hgroup, main, menu, nav, section {\n display: block;\n}\n/* HTML5 hidden-attribute fix for newer browsers */\n*[hidden] {\n display: none;\n}\nbody {\n line-height: 1;\n}\nmenu, ol, ul {\n list-style: none;\n}\nblockquote, q {\n quotes: none;\n}\nblockquote:before, blockquote:after,\nq:before, q:after {\n content: '';\n content: none;\n}\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n"],["\n/* http://meyerweb.com/eric/tools/css/reset/\n v5.0.1 | 20191019\n License: none (public domain)\n*/\n\nhtml, body, div, span, applet, object, iframe,\nh1, h2, h3, h4, h5, h6, p, blockquote, pre,\na, abbr, acronym, address, big, cite, code,\ndel, dfn, em, img, ins, kbd, q, s, samp,\nsmall, strike, strong, sub, sup, tt, var,\nb, u, i, center,\ndl, dt, dd, menu, ol, ul, li,\nfieldset, form, label, legend,\ntable, caption, tbody, tfoot, thead, tr, th, td,\narticle, aside, canvas, details, embed,\nfigure, figcaption, footer, header, hgroup,\nmain, menu, nav, output, ruby, section, summary,\ntime, mark, audio, video {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n}\n/* HTML5 display-role reset for older browsers */\narticle, aside, details, figcaption, figure,\nfooter, header, hgroup, main, menu, nav, section {\n display: block;\n}\n/* HTML5 hidden-attribute fix for newer browsers */\n*[hidden] {\n display: none;\n}\nbody {\n line-height: 1;\n}\nmenu, ol, ul {\n list-style: none;\n}\nblockquote, q {\n quotes: none;\n}\nblockquote:before, blockquote:after,\nq:before, q:after {\n content: '';\n content: none;\n}\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n"])));n.createGlobalStyle(N||(N=Y(["",""],["",""])),L);const B=n.createGlobalStyle`
|
|
2
2
|
${L};
|
|
3
3
|
/* &:focus-visible {
|
|
4
4
|
background: gray;
|
|
@@ -1739,4 +1739,4 @@ ${e=>e.$isOnlyColorInSelectListOption?n.css`
|
|
|
1739
1739
|
justify-content: flex-start;
|
|
1740
1740
|
${o.addFont};
|
|
1741
1741
|
`,Lc=n.div``,Bc=100,Fc=.04,Pc=100,Wc=.3,Vc="black",Uc=60,Gc={content:"Undo",onClick:()=>{}};exports.AccordionDetails=K,exports.AccordionStyledIcon=X,exports.AccordionSummary=J,exports.AccordionSummaryContent=Z,exports.AccordionWrapper=q,exports.AppContext=pc,exports.Button=_r,exports.ButtonGroupWrapper=Mr,exports.ButtonList=Ra,exports.CheckboxChildren=Vr,exports.CheckboxGenre=Hr,exports.CheckboxGroupItem=Pr,exports.CheckboxGroupLabel=Wr,exports.CheckboxGroupSize=Lr,exports.CheckboxGroupSizeConstructor=Br,exports.CheckboxGroupWrapper=Fr,exports.CheckboxSize=jr,exports.CheckboxSizeConstructor=Ir,exports.CheckboxWrapper=Yr,exports.ContainerDropdownListOption=aa,exports.ContainerSelectListOption=la,exports.DEFAULT_PROVIDER_SONNER_BUTTON=Gc,exports.DEFAULT_PROVIDER_SONNER_DURATION=Wc,exports.DEFAULT_PROVIDER_SONNER_GENRE=Vc,exports.DEFAULT_PROVIDER_SONNER_MARGIN_BOTTOM=Uc,exports.DEFAULT_PROVIDER_SONNER_SCALE=Fc,exports.DEFAULT_PROVIDER_SONNER_Y=Pc,exports.DEFAULT_PROVIDER_SONNER_Z_INDEX=Bc,exports.DEFAULT_TOOLTIP_OFFSET_FALLBACK=cr,exports.DEFAULT_TOOLTIP_PLACEMENT_FALLBACK=lr,exports.DateDropdownDay=Hl,exports.DateDropdownDayOfWeek=Al,exports.DateDropdownDays=jl,exports.DateDropdownList=Rl,exports.DateDropdownListParent=El,exports.DateInput=Ll,exports.DateInputButton=Vl,exports.DateInputButtonClear=Gl,exports.DateInputWrapper=Pl,exports.DateWrapper=Tl,exports.DropdownList=Sa,exports.DropdownListOption=Ca,exports.DropdownListOptionIcon=za,exports.DropdownListParent=ka,exports.ErrorMessage=Rr,exports.ErrorMessageComponent=Tr,exports.Icon=$,exports.ImageIMG=ql,exports.ImageSelectListSize=Zl,exports.ImageSelectListSizeConstructor=Kl,exports.ImageSelectListWrapper=tc,exports.ImageSelectSize=Xl,exports.ImageSelectSizeConstructor=Ql,exports.ImageSelectWrapper=ec,exports.InputOTPSize=oc,exports.InputOTPSizeConstructor=ic,exports.InputOTPWrapper=sc,exports.InputPostfixChildren=Ol,exports.InputPrefixChildren=zl,exports.InputSize=$l,exports.InputSizeConstructor=wl,exports.JeneseiGlobalStyles=B,exports.JeneseiPalette=T,exports.KEY_SIZE_DATA=I,exports.KEY_SIZE_DATA_TOGGLE=H,exports.Popover=qt,exports.Preview=G,exports.ProviderApp=t=>{var r,n,o,i,s,a,l,c,u,h,f,p,m,g,x,v,b,y,$,w,k,S,_,D;const{bgColor:C,changeBgColor:M,historyBgColor:z,setDefaultBgColor:O}=gc(t.defaultBgColor),{statusBarColor:E,changeStatusBarColor:R,historyStatusBarColor:j,setDefaultStatusBarColor:I}=xc(t.defaultStatusBarColor),{bgImage:H,changeBgImage:A,historyBgImage:N,setDefaultBgImage:Y}=vc(t.defaultBgImage||null),{title:L,changeTitle:B,setHistoryTitle:F,setDefaultTitle:P}=bc(t.defaultTitle||null),{description:W,changeDescription:V,historyDescription:U,setDefaultDescription:q}=yc(t.defaultDescription),{changePreview:J,previewProps:Z}=mc(t.defaultPreview),{screenActual:K}=d.useScreenWidth();return e.jsxRuntimeExports.jsxs(pc.Provider,{value:{changePreview:J,changeStatusBarColor:R,changeBgColor:M,changeBgImage:A,changeTitle:B,changeDescription:V,historyStatusBarColor:j,historyBgColor:z,historyBgImage:N,setHistoryTitle:F,historyDescription:U,setDefaultStatusBarColor:I,setDefaultBgColor:O,setDefaultBgImage:Y,setDefaultTitle:P,setDefaultDescription:q},children:[e.jsxRuntimeExports.jsx("title",{children:L}),e.jsxRuntimeExports.jsx("meta",{name:"description",content:W}),e.jsxRuntimeExports.jsx("meta",{name:"theme-color",content:T[E]}),e.jsxRuntimeExports.jsx("meta",{name:"apple-mobile-web-app-status-bar-style",content:"default"}),e.jsxRuntimeExports.jsx("meta",{name:"mobile-web-app-capable",content:"yes"}),e.jsxRuntimeExports.jsx(G,{...Z,children:e.jsxRuntimeExports.jsx($c,{$bgColor:C,$bgImage:H,children:e.jsxRuntimeExports.jsxs(Sc,{$isScrollOutlet:t.isScrollOutlet,$footer:t.footer,$notification:t.notification,$header:t.header,$nav:t.nav,$leftAside:t.leftAside,$rightAside:t.rightAside,children:[(null==(r=t.notification)?void 0:r.length)&&(null==(o=null==(n=t.notification)?void 0:n.length)?void 0:o[K])?e.jsxRuntimeExports.jsx(Dc,{$notification:t.notification,children:(null==(i=t.notification)?void 0:i.component)||null}):null,(null==(s=t.header)?void 0:s.length)&&(null==(l=null==(a=t.header)?void 0:a.length)?void 0:l[K])?e.jsxRuntimeExports.jsx(Cc,{$header:t.header,children:(null==(c=t.header)?void 0:c.component)||null}):null,(null==(u=t.nav)?void 0:u.length)&&(null==(f=null==(h=t.nav)?void 0:h.length)?void 0:f[K])?e.jsxRuntimeExports.jsx(zc,{$nav:t.nav,children:(null==(p=t.nav)?void 0:p.component)||null}):null,(null==(m=t.leftAside)?void 0:m.length)&&(null==(x=null==(g=t.leftAside)?void 0:g.length)?void 0:x[K])?e.jsxRuntimeExports.jsx(Oc,{$leftAside:t.leftAside,children:(null==(v=t.leftAside)?void 0:v.component)||null}):null,e.jsxRuntimeExports.jsx(_c,{$isScrollOutlet:t.isScrollOutlet,$main:t.main,children:t.children}),(null==(b=t.rightAside)?void 0:b.length)&&(null==($=null==(y=t.rightAside)?void 0:y.length)?void 0:$[K])?e.jsxRuntimeExports.jsx(Tc,{$rightAside:t.rightAside,children:(null==(w=t.rightAside)?void 0:w.component)||null}):null,(null==(k=t.footer)?void 0:k.length)&&(null==(_=null==(S=t.footer)?void 0:S.length)?void 0:_[K])?e.jsxRuntimeExports.jsx(Mc,{$footer:t.footer,children:(null==(D=t.footer)?void 0:D.component)||null}):null]})})})]})},exports.ProviderAppOutlet=Sc,exports.ProviderAppOutletChildren=_c,exports.ProviderAppOutletFooter=Mc,exports.ProviderAppOutletHeader=Cc,exports.ProviderAppOutletLeftAside=Oc,exports.ProviderAppOutletNav=zc,exports.ProviderAppOutletNotification=Dc,exports.ProviderAppOutletRightAside=Tc,exports.ProviderAppWrapper=$c,exports.ProviderSonner=t=>{var o,i,s,a,c,d;const u=r.useMemo(()=>t.visibleToasts,[t.visibleToasts]),h=r.useMemo(()=>{var e;return null==(e=null==t?void 0:t.default)?void 0:e.description},[null==(o=null==t?void 0:t.default)?void 0:o.description]),f=r.useMemo(()=>{var e;return null==(e=null==t?void 0:t.default)?void 0:e.title},[null==(i=null==t?void 0:t.default)?void 0:i.title]),p=r.useMemo(()=>{var e;return null==(e=null==t?void 0:t.default)?void 0:e.button},[null==(s=null==t?void 0:t.default)?void 0:s.button]),m=r.useMemo(()=>{var e;return null==(e=null==t?void 0:t.default)?void 0:e.hidingTime},[null==(a=null==t?void 0:t.default)?void 0:a.hidingTime]),g=r.useMemo(()=>{var e;return(null==(e=null==t?void 0:t.default)?void 0:e.hidingMode)??"clickOnButton"},[null==(c=null==t?void 0:t.default)?void 0:c.hidingMode]),v=r.useMemo(()=>{var e;return(null==(e=null==t?void 0:t.default)?void 0:e.genre)??Vc},[null==(d=null==t?void 0:t.default)?void 0:d.genre]),b=r.useMemo(()=>t.position.includes("top"),[t.position]),[y,$]=r.useState([]),[w,k]=r.useState(!1),S=r.useCallback(()=>{k(!0)},[]),_=r.useCallback(()=>{k(!1)},[]),D=r.useCallback(e=>{$(t=>{const r=t.find(t=>t.id===e);if(!r)return t;const n=r.index,o=t.filter(t=>t.id!==e).map(e=>({...e,index:e.index>n?e.index-1:e.index}));return 0===o.length&&_(),o})},[_]),C=r.useCallback(e=>{const t=e.id??x.v4(),r=e.hidingTime??m;$(r=>{const n=r.findIndex(e=>e.id===t);let o;if(-1!==n)o=[...r],o[n]={...e,id:t,index:r[n].index};else{o=r.map(e=>({...e,index:e.index+1}));const n={...e,id:t,index:0};o.unshift(n)}return o}),void 0!==r&&setTimeout(()=>{D(t)},r)},[m,D]),M=r.useCallback((e,t,r)=>{const n=x.v4();return C({...t,id:n,isLoading:!0}),e.then(e=>{C({...r(e,void 0),id:n})}).catch(e=>{C({...r(void 0,e),id:n})})},[C]),z=r.useCallback(e=>{D(e)},[D]),O=n.useTheme();return e.jsxRuntimeExports.jsxs(Ec.Provider,{value:{toast:C,promise:M,remove:D,contentHistory:y},children:[e.jsxRuntimeExports.jsx(jc,{$zIndex:t.zIndex??Bc,$position:t.position,$gap:t.gap,onMouseEnter:S,onMouseLeave:_,children:e.jsxRuntimeExports.jsx(l.AnimatePresence,{children:y.map(t=>{const r=t.index,n=!!u&&r>u,o=!!u&&r>u-1,i=!!u&&r===u-1,s=t.genre??v,a=O.colors.sonner[s].button.genre,l=t.hidingMode??g,c="content"in t&&t.content,d="title"in t&&t.title,m="description"in t&&t.description;return e.jsxRuntimeExports.jsx(Rc,{isMoreThanLastViewIndexPlusOne:n,isMoreThanLastViewIndex:o,isLastViewIndex:i,isTop:b,id:t.id,icon:t.icon,isLoading:t.isLoading,index:r,buttonGenre:a,hidingMode:l,isHovered:w,genre:s,content:c,title:d||f,description:m||h,button:t.button??p??Gc,handleOnClick:z},t.id)})})}),t.children]})},exports.RangeThumb=cc,exports.RangeTrack=lc,exports.RangeWrapper=ac,exports.Select=sa,exports.SelectLanguage=t=>{const{value:n,onChange:o}=t,i=p.LIST_LANGUAGE,[s]=r.useState(i),a=r.useMemo(()=>{const e=i.find(e=>e.value===n);return e?[e]:[]},[i,n]);return e.jsxRuntimeExports.jsx(sa,{...t,option:s,value:a,onChange:e=>{0===e.length?o(null):o(e[0].value.toString())}})},exports.SelectList=Ta,exports.SelectListOption=Ha,exports.SelectMonth=t=>{const{value:n,onChange:o,dateMin:i,dateMax:s,monthsLocale:a,isShortLabel:l}=t,c=qr(n).utc().year(),d=r.useMemo(()=>a.map(e=>{const t=qr().month(e.value).month(),r=qr.utc().year(c).month(t).startOf("month"),n=i&&r.isBefore(qr.utc(i),"month")||s&&r.isAfter(qr.utc(s),"month");return{value:r.valueOf(),label:l?e.localeShort:e.localeLong,placeholder:l?e.localeShort:e.localeLong,search:`${e.localeLong.toLowerCase()}, ${t+1}`,isDisabled:!!n,monthValue:e.value}}),[a,c,i,s,l]),u=r.useMemo(()=>{const e=d.find(e=>e.value===n);return e?[e]:[]},[n,d]);return e.jsxRuntimeExports.jsx(sa,{...t,option:d,value:u,onChange:e=>{0===e.length&&o(null),o(+e[0].value)}})},exports.SelectMonths=t=>{const{value:n,onChange:o,dateMin:i,dateMax:s,monthsLocale:a,isShortLabel:l}=t,c=qr(n).utc().year(),d=r.useMemo(()=>a.map(e=>{const t=qr().month(e.value).month(),r=qr.utc().year(c).month(t).startOf("month"),n=i&&r.isBefore(qr.utc(i),"month")||s&&r.isAfter(qr.utc(s),"month");return{value:r.valueOf(),label:l?e.localeShort:e.localeLong,placeholder:l?e.localeShort:e.localeLong,search:`${e.localeLong.toLowerCase()}, ${t+1}`,isDisabled:!!n,monthValue:e.value}}),[a,c,i,s,l]),[u,h]=r.useState(d);r.useEffect(()=>{h(d)},[d]);const f=r.useMemo(()=>n&&0!==n.length?n.map(e=>d.find(t=>t.value===e)).filter(Boolean):[],[n,d]),[p,m]=r.useState(""),g=r.useCallback(e=>{if(m(e),""===e)h(d);else{const t=d.filter(t=>Object.values(t).some(t=>null==t?void 0:t.toString().toLowerCase().includes(e.toLowerCase())));h(t)}},[d]);return e.jsxRuntimeExports.jsx(sa,{...t,valueSearch:p,onChangeSearch:g,optionAllLength:d.length,option:u,minViewDropdown:1,isMulti:!0,value:f,onChange:e=>{0===e.length&&o([]),o(e.map(e=>+e.value))},onChangeAll:(e,t)=>{o(t?u.map(e=>+e.value):[])}})},exports.SelectTextArea=Aa,exports.SelectWrapper=$a,exports.SelectYear=t=>{const{value:n,onChange:o,dateMin:i,dateMax:s,sortOrder:a="desc"}=t,l=qr(i).utc().year(),c=qr(s).utc().year(),d=r.useMemo(()=>{const e=Array.from({length:c-l+1},(e,t)=>{const r=l+t;return{value:qr().year(r).utc().startOf("year").valueOf(),label:qr().year(r).utc().format("YYYY"),placeholder:qr().year(r).utc().format("YYYY"),search:`${qr().year(r).utc().format("YYYY").toLowerCase()}`}});return"asc"===a?e.sort((e,t)=>e.value-t.value):e.sort((e,t)=>t.value-e.value)},[c,l,a]),u=r.useMemo(()=>{const e=d.find(e=>e.value===n);return e?[e]:[]},[n,d]);return e.jsxRuntimeExports.jsx(sa,{...t,option:d,value:u,onChange:e=>{0===e.length&&o(null),o(+e[0].value)}})},exports.Skeleton=W,exports.SliderDot=nc,exports.SliderImage=rc,exports.SonnerButtonWrapper=Lc,exports.SonnerContent=Hc,exports.SonnerContentDescription=Yc,exports.SonnerContentTitle=Nc,exports.SonnerContext=Ec,exports.SonnerElementWrapper=Ic,exports.SonnerIcon=Ac,exports.SonnerLayout=jc,exports.StyledButton=kr,exports.StyledButtonIconsWrapper=Sr,exports.StyledIcon=V,exports.StyledIconSkeleton=U,exports.StyledInput=_l,exports.StyledInputCSS=Sl,exports.StyledInputNumeric=Ml,exports.StyledInputPattern=Cl,exports.StyledInputWrapper=xl,exports.StyledMotionInput=Dl,exports.StyledSkeleton=P,exports.StyledTextArea=va,exports.TextArea=ca,exports.TextAreaWrapper=fa,exports.ThemeBlack=j,exports.ThemeLight=R,exports.ThemeMapBustmarket=O,exports.ThemeMapCheckbox=D,exports.ThemeMapId=_,exports.ThemeMapLoading=C,exports.ThemeMapLogo=z,exports.ThemeMapRealebail=M,exports.Title=ne,exports.ToggleCenter=fc,exports.ToggleWrapper=hc,exports.Tooltip=sr,exports.TooltipBox=ir,exports.TooltipContainer=rr,exports.TooltipContent=ar,exports.Typography=ur,exports.TypographyLink=fr,exports.TypographyTooltip=pr,exports.addDateDropdownDaySize=Il,exports.addDateInputButtonClearSize=Ul,exports.addDateInputButtonSize=Wl,exports.addDateInputWrapperSize=Fl,exports.addError=Er,exports.addInputIsInputEffect=kl,exports.addInputPlaceholder=vl,exports.addInputPlaceholderNiceNumber=bl,exports.addSXTypography=te,exports.addTextArea=xa,exports.addTooltipBoxSize=nr,exports.addTooltipBoxSizeConstructor=or,exports.getIconComponents=w,exports.hooks=qr,exports.useBgColor=gc,exports.useBgImage=vc,exports.useDescription=yc,exports.useInjectSprites=function(e){r.useEffect(()=>{const t=[];return e.forEach(async e=>{try{const r=await fetch(e);if(!r.ok)return void console.error(`Failed to load sprite: ${e}`);const n=await r.text(),o=document.createElement("div");o.style.display="none",o.innerHTML=n,document.body.prepend(o),t.push(o)}catch(r){console.error(`Error loading sprite ${e}`,r)}}),()=>{t.forEach(e=>e.remove())}},[e])},exports.useLazyInjectSprite=S,exports.usePopover=Jt,exports.useStatusBarColor=xc;
|
|
1742
|
-
//# sourceMappingURL=context.constants-
|
|
1742
|
+
//# sourceMappingURL=context.constants-gXk1ewxx.cjs.map
|