@jenesei-software/jenesei-kit-react 1.3.35 → 1.3.37

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.
Files changed (165) hide show
  1. package/build/area-preview.cjs.js +1 -1
  2. package/build/area-preview.es.js +1 -1
  3. package/build/area-skeleton.cjs.js +1 -1
  4. package/build/area-skeleton.es.js +1 -1
  5. package/build/build-info.txt +3 -3
  6. package/build/{component-Cao-X0at.cjs → component-Al542qT6.cjs} +2 -2
  7. package/build/{component-Cao-X0at.cjs.map → component-Al542qT6.cjs.map} +1 -1
  8. package/build/{component-DsLJSX6q.cjs → component-B-SJnPIV.cjs} +2 -2
  9. package/build/{component-DsLJSX6q.cjs.map → component-B-SJnPIV.cjs.map} +1 -1
  10. package/build/{component-C6JGm-CG.js → component-B4K-5Uid.js} +2 -2
  11. package/build/{component-C6JGm-CG.js.map → component-B4K-5Uid.js.map} +1 -1
  12. package/build/{component-DZbtSeCS.cjs → component-BI4m1lxA.cjs} +2 -2
  13. package/build/{component-DZbtSeCS.cjs.map → component-BI4m1lxA.cjs.map} +1 -1
  14. package/build/{component-CAWbX2_9.cjs → component-BWf1DkB4.cjs} +2 -2
  15. package/build/{component-CAWbX2_9.cjs.map → component-BWf1DkB4.cjs.map} +1 -1
  16. package/build/{component-BGAYOt_R.cjs → component-BWlNRKFO.cjs} +2 -2
  17. package/build/{component-BGAYOt_R.cjs.map → component-BWlNRKFO.cjs.map} +1 -1
  18. package/build/{component-BTPma8cy.js → component-B_Y6BI1X.js} +2 -2
  19. package/build/{component-BTPma8cy.js.map → component-B_Y6BI1X.js.map} +1 -1
  20. package/build/{component-COXlMHO8.cjs → component-BjSoavQj.cjs} +2 -2
  21. package/build/{component-COXlMHO8.cjs.map → component-BjSoavQj.cjs.map} +1 -1
  22. package/build/component-C21J5f8X.cjs +2 -0
  23. package/build/{component-Co53yylj.cjs.map → component-C21J5f8X.cjs.map} +1 -1
  24. package/build/{component-DHwK4xEP.js → component-C3F1XZOy.js} +3 -3
  25. package/build/{component-DHwK4xEP.js.map → component-C3F1XZOy.js.map} +1 -1
  26. package/build/{component-DcOrj2ff.js → component-CHaQiMJk.js} +3 -3
  27. package/build/{component-DcOrj2ff.js.map → component-CHaQiMJk.js.map} +1 -1
  28. package/build/{component-CEZKgFH6.cjs → component-COS_bXHW.cjs} +2 -2
  29. package/build/{component-CEZKgFH6.cjs.map → component-COS_bXHW.cjs.map} +1 -1
  30. package/build/{component-9fzcSAV7.js → component-D1d3wJ1v.js} +2 -2
  31. package/build/{component-9fzcSAV7.js.map → component-D1d3wJ1v.js.map} +1 -1
  32. package/build/{component-BWvIUzNG.js → component-D96dGS7Z.js} +2 -2
  33. package/build/{component-BWvIUzNG.js.map → component-D96dGS7Z.js.map} +1 -1
  34. package/build/{component-34--WtCE.js → component-DDu2Cdhf.js} +110 -99
  35. package/build/component-DDu2Cdhf.js.map +1 -0
  36. package/build/{component-CwKwQY3p.cjs → component-DNpRC40L.cjs} +2 -2
  37. package/build/{component-CwKwQY3p.cjs.map → component-DNpRC40L.cjs.map} +1 -1
  38. package/build/{component-qR0HPUpL.cjs → component-DSFp1IyF.cjs} +2 -2
  39. package/build/{component-qR0HPUpL.cjs.map → component-DSFp1IyF.cjs.map} +1 -1
  40. package/build/{component-Dcn4OKm7.js → component-DZs-w197.js} +2 -2
  41. package/build/{component-Dcn4OKm7.js.map → component-DZs-w197.js.map} +1 -1
  42. package/build/{component-CHp7GYey.js → component-DzQBSEjg.js} +3 -3
  43. package/build/{component-CHp7GYey.js.map → component-DzQBSEjg.js.map} +1 -1
  44. package/build/{component-BPtJjkt0.cjs → component-KYPJqdFp.cjs} +2 -2
  45. package/build/{component-BPtJjkt0.cjs.map → component-KYPJqdFp.cjs.map} +1 -1
  46. package/build/{component-C9Uf5Bc0.js → component-L0B2qZfu.js} +2 -2
  47. package/build/{component-C9Uf5Bc0.js.map → component-L0B2qZfu.js.map} +1 -1
  48. package/build/component-accordion.cjs.js +1 -1
  49. package/build/component-accordion.es.js +2 -2
  50. package/build/component-button-group.cjs.js +1 -1
  51. package/build/component-button-group.es.js +2 -2
  52. package/build/component-button.cjs.js +1 -1
  53. package/build/component-button.es.js +1 -1
  54. package/build/component-checkbox-group.cjs.js +1 -1
  55. package/build/component-checkbox-group.es.js +2 -2
  56. package/build/component-checkbox.cjs.js +1 -1
  57. package/build/component-checkbox.es.js +2 -2
  58. package/build/component-date-picker.cjs.js +1 -1
  59. package/build/component-date-picker.es.js +2 -2
  60. package/build/component-icon.cjs.js +1 -1
  61. package/build/component-icon.es.js +1 -1
  62. package/build/component-image-button.cjs.js +1 -1
  63. package/build/component-image-button.es.js +1 -1
  64. package/build/component-image-select.cjs.js +1 -1
  65. package/build/component-image-select.es.js +2 -2
  66. package/build/component-image-slider.cjs.js +1 -1
  67. package/build/component-image-slider.es.js +2 -2
  68. package/build/component-image.cjs.js +1 -1
  69. package/build/component-image.es.js +2 -2
  70. package/build/component-input-otp.cjs.js +1 -1
  71. package/build/component-input-otp.es.js +2 -2
  72. package/build/component-input.cjs.js +1 -1
  73. package/build/component-input.es.js +2 -2
  74. package/build/{component-D3jtUpu3.js → component-l5nAOPmU.js} +2 -2
  75. package/build/{component-D3jtUpu3.js.map → component-l5nAOPmU.js.map} +1 -1
  76. package/build/component-pagination.cjs.js +1 -1
  77. package/build/component-pagination.es.js +1 -1
  78. package/build/component-range.cjs.js +1 -1
  79. package/build/component-range.es.js +2 -2
  80. package/build/component-select.cjs.js +1 -1
  81. package/build/component-select.es.js +1 -1
  82. package/build/component-textarea.cjs.js +1 -1
  83. package/build/component-textarea.es.js +1 -1
  84. package/build/component-toggle.cjs.js +1 -1
  85. package/build/component-toggle.es.js +2 -2
  86. package/build/component-tooltip.cjs.js +1 -1
  87. package/build/component-tooltip.es.js +1 -1
  88. package/build/component-typography.cjs.js +1 -1
  89. package/build/component-typography.es.js +1 -1
  90. package/build/{component.constants-DybDxNgw.js → component.constants-BpYppAAQ.js} +49 -29
  91. package/build/component.constants-BpYppAAQ.js.map +1 -0
  92. package/build/{component.constants-CuYFwf5W.cjs → component.constants-Cvek1vXL.cjs} +2 -2
  93. package/build/component.constants-Cvek1vXL.cjs.map +1 -0
  94. package/build/{component.constants-Dulpp7av.js → component.constants-DHHHaT_5.js} +2 -2
  95. package/build/{component.constants-Dulpp7av.js.map → component.constants-DHHHaT_5.js.map} +1 -1
  96. package/build/{component.constants-D80V6i-m.cjs → component.constants-sz4yGy0y.cjs} +2 -2
  97. package/build/{component.constants-D80V6i-m.cjs.map → component.constants-sz4yGy0y.cjs.map} +1 -1
  98. package/build/{component.types-KTSAVZtM.cjs → component.types-CULsdZpM.cjs} +2 -2
  99. package/build/{component.types-KTSAVZtM.cjs.map → component.types-CULsdZpM.cjs.map} +1 -1
  100. package/build/{component.types-BbfCiww_.js → component.types-TeXqILe2.js} +2 -2
  101. package/build/{component.types-BbfCiww_.js.map → component.types-TeXqILe2.js.map} +1 -1
  102. package/build/consts.cjs.js +1 -1
  103. package/build/consts.es.js +1 -1
  104. package/build/context-app.cjs.js +1 -1
  105. package/build/context-app.es.js +2 -2
  106. package/build/context-dialog.cjs.js +1 -1
  107. package/build/context-dialog.d.ts +31 -26
  108. package/build/context-dialog.es.js +2 -2
  109. package/build/context-sonner.cjs.js +1 -1
  110. package/build/context-sonner.es.js +2 -2
  111. package/build/{context.constants-Bh-ajJM2.js → context.constants-4eKvVwha.js} +3 -3
  112. package/build/{context.constants-Bh-ajJM2.js.map → context.constants-4eKvVwha.js.map} +1 -1
  113. package/build/context.constants-CAlZQBvG.cjs +32 -0
  114. package/build/context.constants-CAlZQBvG.cjs.map +1 -0
  115. package/build/{context.constants-CDgzMcxb.cjs → context.constants-D9hGtc0A.cjs} +2 -2
  116. package/build/{context.constants-CDgzMcxb.cjs.map → context.constants-D9hGtc0A.cjs.map} +1 -1
  117. package/build/{context.constants-Nfy-8Qzj.js → context.constants-DRDMvlln.js} +51 -29
  118. package/build/context.constants-DRDMvlln.js.map +1 -0
  119. package/build/{context.hooks-BIfYPHOA.cjs → context.hooks-2SMzc0Vc.cjs} +2 -2
  120. package/build/{context.hooks-BIfYPHOA.cjs.map → context.hooks-2SMzc0Vc.cjs.map} +1 -1
  121. package/build/{context.hooks-Dx80dbrI.js → context.hooks-CZOS7JGV.js} +2 -2
  122. package/build/{context.hooks-Dx80dbrI.js.map → context.hooks-CZOS7JGV.js.map} +1 -1
  123. package/build/context.hooks-CdUNX5DP.cjs +2 -0
  124. package/build/context.hooks-CdUNX5DP.cjs.map +1 -0
  125. package/build/{context.hooks-DGYU76JL.js → context.hooks-CjH6Plw7.js} +18 -15
  126. package/build/context.hooks-CjH6Plw7.js.map +1 -0
  127. package/build/{context.hooks-BG1tp2nc.js → context.hooks-DEfRvBpX.js} +2 -2
  128. package/build/{context.hooks-BG1tp2nc.js.map → context.hooks-DEfRvBpX.js.map} +1 -1
  129. package/build/{context.hooks-BpQriPdQ.cjs → context.hooks-DpBSd_p-.cjs} +2 -2
  130. package/build/{context.hooks-BpQriPdQ.cjs.map → context.hooks-DpBSd_p-.cjs.map} +1 -1
  131. package/build/hooks-use-deep-compare-memoize.cjs.js +1 -1
  132. package/build/hooks-use-deep-compare-memoize.d.ts +1 -1
  133. package/build/hooks-use-deep-compare-memoize.es.js +1 -1
  134. package/build/index.cjs.js +1 -1
  135. package/build/index.d.ts +34 -27
  136. package/build/index.es.js +20 -20
  137. package/build/style-error.cjs.js +1 -1
  138. package/build/style-error.es.js +1 -1
  139. package/build/style-theme.cjs.js +1 -1
  140. package/build/style-theme.es.js +1 -1
  141. package/build/use-C7vngeRk.js +882 -0
  142. package/build/use-C7vngeRk.js.map +1 -0
  143. package/build/use-CtW8HmXH.cjs +16 -0
  144. package/build/use-CtW8HmXH.cjs.map +1 -0
  145. package/build/{use-CGZzVbz2.js → use-Df6UuwJp.js} +59 -45
  146. package/build/{use-CGZzVbz2.js.map → use-Df6UuwJp.js.map} +1 -1
  147. package/build/use-zW3LuRc_.cjs +2 -0
  148. package/build/use-zW3LuRc_.cjs.map +1 -0
  149. package/package.json +3 -1
  150. package/build/component-34--WtCE.js.map +0 -1
  151. package/build/component-Co53yylj.cjs +0 -2
  152. package/build/component.constants-CuYFwf5W.cjs.map +0 -1
  153. package/build/component.constants-DybDxNgw.js.map +0 -1
  154. package/build/context.constants-BWZS-di6.cjs +0 -32
  155. package/build/context.constants-BWZS-di6.cjs.map +0 -1
  156. package/build/context.constants-Nfy-8Qzj.js.map +0 -1
  157. package/build/context.hooks-Biv8ZMzm.cjs +0 -2
  158. package/build/context.hooks-Biv8ZMzm.cjs.map +0 -1
  159. package/build/context.hooks-DGYU76JL.js.map +0 -1
  160. package/build/use-C1l0O0Qo.cjs +0 -2
  161. package/build/use-C1l0O0Qo.cjs.map +0 -1
  162. package/build/use-DEkooQyB.cjs +0 -16
  163. package/build/use-DEkooQyB.cjs.map +0 -1
  164. package/build/use-DT0XgvJT.js +0 -25
  165. package/build/use-DT0XgvJT.js.map +0 -1
@@ -0,0 +1,32 @@
1
+ "use strict";const e=require("./style-Drq-Q1Im.cjs"),o=require("framer-motion"),t=require("styled-components"),n=require("./jsx-runtime-C6yv_9g1.cjs"),i=require("./area-DxKLtDFZ.cjs"),r=require("react");require("./use-zW3LuRc_.cjs");const s=r.createContext(null),l=r.memo(e=>{var o,t,s,l,d,a,p,u,x,m,g;const[E,R]=r.useState(!0),h=r.useMemo(()=>{var o,t;return(null==(t=null==(o=e.props)?void 0:o.propsDialog)?void 0:t.isRemoveOnOutsideClick)??!0},[null==(t=null==(o=e.props)?void 0:o.propsDialog)?void 0:t.isRemoveOnOutsideClick]),O=r.useMemo(()=>{var o,t;return null==(t=null==(o=e.props)?void 0:o.content)?void 0:t.call(o,e.onRemove,E,e.props.propsCustom)},[null==(s=e.props)?void 0:s.content,E,null==(l=null==e?void 0:e.props)?void 0:l.propsCustom,e.onRemove]);return n.jsxRuntimeExports.jsx(i.Outside,{onOutsideClick:()=>{var o;return h&&(null==(o=e.onRemove)?void 0:o.call(e))},children:n.jsxRuntimeExports.jsx(c,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},onAnimationComplete:()=>R(!1),transition:{type:"spring",duration:v,delay:D},style:{zIndex:-e.index},$isDisabledOutline:null==(a=null==(d=e.props)?void 0:d.propsOutline)?void 0:a.isDisabledOutline,$isOutlineBoxShadow:null==(u=null==(p=e.props)?void 0:p.propsOutline)?void 0:u.isOutlineBoxShadow,$isReadOnly:null==(m=null==(x=e.props)?void 0:x.propsOutline)?void 0:m.isReadOnly,$propsDialog:null==(g=e.props)?void 0:g.propsDialog,children:O},e.id)})}),d=[];for(let f=0;f<256;++f)d.push((f+256).toString(16).slice(1));let a;const p=new Uint8Array(16);const u={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};const x=t(o.motion.div)`
2
+ position: fixed;
3
+ flex: 1;
4
+ width: 100%;
5
+ height: 100%;
6
+ background-color: ${e=>e.theme.palette.black50};
7
+ z-index: ${e=>e.$zIndex};
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: center;
11
+ overflow: hidden;
12
+ `,c=t(o.motion.dialog)`
13
+ ${e.addOutline};
14
+ max-width: ${e=>{var o;return(null==(o=e.$propsDialog)?void 0:o.maxWidth)||E}};
15
+ max-height: ${e=>{var o;return(null==(o=e.$propsDialog)?void 0:o.maxHeight)||g}};
16
+ border-radius: ${e=>{var o;return(null==(o=e.$propsDialog)?void 0:o.borderRadius)||R}};
17
+ background: ${e=>{var o;return(null==(o=e.$propsDialog)?void 0:o.background)?e.theme.palette[e.$propsDialog.background]:e.theme.palette[O]}};
18
+ padding: ${e=>{var o;return(null==(o=e.$propsDialog)?void 0:o.padding)||h}};
19
+ width: max-content;
20
+ height: max-content;
21
+ border: 0;
22
+ display: flex;
23
+ flex-direction: column;
24
+ gap: 10px;
25
+ align-items: flex-start;
26
+ justify-content: flex-start;
27
+ flex-shrink: 0;
28
+ position: relative;
29
+ box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.2);
30
+ overflow: hidden;
31
+ `,m=t(o.motion.div)``,v=.3,D=.4,g="max-content",E="max-content",R="12px",h="20px",O="whiteStandard";exports.DEFAULT_PROVIDER_DIALOG_DURATION_ELEMENT=v,exports.DEFAULT_PROVIDER_DIALOG_DURATION_LAYOUT=D,exports.DEFAULT_PROVIDER_DIALOG_ELEMENT_BACKGROUND=O,exports.DEFAULT_PROVIDER_DIALOG_ELEMENT_BORDER_RADIUS=R,exports.DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_HEIGHT=g,exports.DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_WIDTH=E,exports.DEFAULT_PROVIDER_DIALOG_ELEMENT_PADDING=h,exports.DialogContent=m,exports.DialogContext=s,exports.DialogElementWrapper=c,exports.DialogLayout=x,exports.ProviderDialog=e=>{const[t,i]=r.useState([]),d=r.useCallback(e=>{i(o=>{const t=o.find(o=>o.id===e);if(void 0===t)return o;const n=t.index;if(void 0===n)return o;return o.filter(o=>o.id!==e).map(e=>{const o=e.index;return void 0===o?e:{...e,index:o>n?o-1:e.index}})})},[]),a=r.useCallback(e=>{i(o=>o.map(o=>o.id===e.id?{...o,...e}:o))},[]),p=r.useCallback(e=>{const o=e.id;i(t=>{const n=t.findIndex(e=>e.id===o);let i;if(-1!==n)i=[...t],i[n]={...e,id:o,index:t[n].index};else{i=t.map(e=>{const o=e.index;return void 0===o?e:{...e,index:o+1}});const n={...e,id:o,index:0};i.unshift(n)}return i})},[]),u=r.useMemo(()=>t.length,[t.length]),c=r.useMemo(()=>e.zIndex,[e.zIndex]);return n.jsxRuntimeExports.jsxs(s.Provider,{value:{add:p,remove:d,update:a,dialogHistory:t},children:[n.jsxRuntimeExports.jsx(o.AnimatePresence,{children:u&&n.jsxRuntimeExports.jsx(x,{$zIndex:c,initial:{opacity:0},exit:{opacity:0},animate:{opacity:1},transition:{type:"spring",duration:D},children:t.map(e=>n.jsxRuntimeExports.jsx(l,{index:e.index,props:e.props,id:e.id,onRemove:e.onRemove},e.id))})}),e.children]})},exports.v4=function(e,o,t){var n;if(u.randomUUID&&!e)return u.randomUUID();const i=(e=e||{}).random??(null==(n=e.rng)?void 0:n.call(e))??function(){if(!a){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");a=crypto.getRandomValues.bind(crypto)}return a(p)}();if(i.length<16)throw new Error("Random bytes length must be >= 16");return i[6]=15&i[6]|64,i[8]=63&i[8]|128,function(e,o=0){return(d[e[o+0]]+d[e[o+1]]+d[e[o+2]]+d[e[o+3]]+"-"+d[e[o+4]]+d[e[o+5]]+"-"+d[e[o+6]]+d[e[o+7]]+"-"+d[e[o+8]]+d[e[o+9]]+"-"+d[e[o+10]]+d[e[o+11]]+d[e[o+12]]+d[e[o+13]]+d[e[o+14]]+d[e[o+15]]).toLowerCase()}(i)};
32
+ //# sourceMappingURL=context.constants-CAlZQBvG.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.constants-CAlZQBvG.cjs","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","../src/contexts/context-dialog/context.styles.tsx","../src/contexts/context-dialog/context.constants.ts","../node_modules/uuid/dist/esm-browser/v4.js"],"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 (\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 { 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_ELEMENT_BACKGROUND: IThemePaletteKeys = 'whiteStandard';\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"],"names":["DialogContext","createContext","MemoizedDialogElement","memo","props","isAnimating","setIsAnimating","useState","isRemoveOnOutsideClick","useMemo","_b","_a","propsDialog","children","content","call","onRemove","propsCustom","_c","_d","Outside","onOutsideClick","jsx","DialogElementWrapper","initial","opacity","scale","animate","onAnimationComplete","transition","type","duration","DEFAULT_PROVIDER_DIALOG_DURATION_ELEMENT","delay","DEFAULT_PROVIDER_DIALOG_DURATION_LAYOUT","style","zIndex","index","$isDisabledOutline","_f","_e","propsOutline","isDisabledOutline","$isOutlineBoxShadow","_h","_g","isOutlineBoxShadow","$isReadOnly","_j","_i","isReadOnly","$propsDialog","_k","id","byteToHex","i","push","toString","slice","getRandomValues","rnds8","Uint8Array","native","randomUUID","crypto","bind","DialogLayout","styled","motion","div","theme","palette","black50","$zIndex","dialog","addOutline","maxWidth","DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_WIDTH","maxHeight","DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_HEIGHT","borderRadius","DEFAULT_PROVIDER_DIALOG_ELEMENT_BORDER_RADIUS","background","DEFAULT_PROVIDER_DIALOG_ELEMENT_BACKGROUND","padding","DEFAULT_PROVIDER_DIALOG_ELEMENT_PADDING","DialogContent","dialogHistory","setDialogHistory","remove","useCallback","prev","itemToRemove","find","item","indexToRemove","filter","map","update","add","existingIndex","findIndex","updatedHistory","newContent","unshift","dialogHistoryLength","length","jsxs","Provider","value","AnimatePresence","exit","options","buf","offset","rnds","random","rng","Error","arr","toLowerCase","unsafeStringify"],"mappings":"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","x_google_ignoreList":[1,2,3,6]}
@@ -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-C1l0O0Qo.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-BWZS-di6.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-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`
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-CDgzMcxb.cjs.map
1742
+ //# sourceMappingURL=context.constants-D9hGtc0A.cjs.map