nfx-ui 0.1.0

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 (119) hide show
  1. package/README.md +235 -0
  2. package/dist/animations.cjs +3 -0
  3. package/dist/animations.d.ts +102 -0
  4. package/dist/animations.mjs +14 -0
  5. package/dist/apis.cjs +5 -0
  6. package/dist/apis.cjs.map +1 -0
  7. package/dist/apis.d.ts +7 -0
  8. package/dist/apis.mjs +18 -0
  9. package/dist/apis.mjs.map +1 -0
  10. package/dist/chunk-BounceLoading-B54QEw0n.mjs +244 -0
  11. package/dist/chunk-BounceLoading-B54QEw0n.mjs.map +1 -0
  12. package/dist/chunk-BounceLoading-C6n4BZVJ.cjs +11 -0
  13. package/dist/chunk-BounceLoading-C6n4BZVJ.cjs.map +1 -0
  14. package/dist/chunk-animations-Brp-bsaE.mjs +1243 -0
  15. package/dist/chunk-animations-Brp-bsaE.mjs.map +1 -0
  16. package/dist/chunk-animations-e2F3zuP9.cjs +190 -0
  17. package/dist/chunk-animations-e2F3zuP9.cjs.map +1 -0
  18. package/dist/chunk-chunk-BFrxaqQT.cjs +1 -0
  19. package/dist/chunk-i18n-Bp6pPM9n.mjs +207 -0
  20. package/dist/chunk-i18n-Bp6pPM9n.mjs.map +1 -0
  21. package/dist/chunk-i18n-_7W7guSV.cjs +3 -0
  22. package/dist/chunk-i18n-_7W7guSV.cjs.map +1 -0
  23. package/dist/chunk-lstorage-BVCD00Ow.mjs +27 -0
  24. package/dist/chunk-lstorage-BVCD00Ow.mjs.map +1 -0
  25. package/dist/chunk-lstorage-BnxLXHgH.cjs +3 -0
  26. package/dist/chunk-lstorage-BnxLXHgH.cjs.map +1 -0
  27. package/dist/chunk-lucide-BhgnmTNo.mjs +158 -0
  28. package/dist/chunk-lucide-BhgnmTNo.mjs.map +1 -0
  29. package/dist/chunk-lucide-CP2lvOPY.cjs +3 -0
  30. package/dist/chunk-lucide-CP2lvOPY.cjs.map +1 -0
  31. package/dist/chunk-preference-CYl68oeU.cjs +3 -0
  32. package/dist/chunk-preference-CYl68oeU.cjs.map +1 -0
  33. package/dist/chunk-preference-DImtu5jI.mjs +51 -0
  34. package/dist/chunk-preference-DImtu5jI.mjs.map +1 -0
  35. package/dist/chunk-types-BE3JCLff.cjs +3 -0
  36. package/dist/chunk-types-BE3JCLff.cjs.map +1 -0
  37. package/dist/chunk-types-BkFxelHl.mjs +20 -0
  38. package/dist/chunk-types-BkFxelHl.mjs.map +1 -0
  39. package/dist/chunk-types-C_opkZGr.cjs +3 -0
  40. package/dist/chunk-types-C_opkZGr.cjs.map +1 -0
  41. package/dist/chunk-types-CkbZrFqZ.cjs +3 -0
  42. package/dist/chunk-types-CkbZrFqZ.cjs.map +1 -0
  43. package/dist/chunk-types-DNPBKfmx.mjs +11 -0
  44. package/dist/chunk-types-DNPBKfmx.mjs.map +1 -0
  45. package/dist/chunk-types-SD4MzUGp.mjs +11 -0
  46. package/dist/chunk-types-SD4MzUGp.mjs.map +1 -0
  47. package/dist/chunk-useLayout-BAJHOIL3.cjs +3 -0
  48. package/dist/chunk-useLayout-BAJHOIL3.cjs.map +1 -0
  49. package/dist/chunk-useLayout-DPxlynT-.mjs +12 -0
  50. package/dist/chunk-useLayout-DPxlynT-.mjs.map +1 -0
  51. package/dist/chunk-useTheme-DgleVMMh.cjs +3 -0
  52. package/dist/chunk-useTheme-DgleVMMh.cjs.map +1 -0
  53. package/dist/chunk-useTheme-oHcq3d0o.mjs +13 -0
  54. package/dist/chunk-useTheme-oHcq3d0o.mjs.map +1 -0
  55. package/dist/components.cjs +8 -0
  56. package/dist/components.cjs.map +1 -0
  57. package/dist/components.d.ts +411 -0
  58. package/dist/components.mjs +1688 -0
  59. package/dist/components.mjs.map +1 -0
  60. package/dist/constants.cjs +5 -0
  61. package/dist/constants.cjs.map +1 -0
  62. package/dist/constants.d.ts +130 -0
  63. package/dist/constants.mjs +85 -0
  64. package/dist/constants.mjs.map +1 -0
  65. package/dist/events.cjs +5 -0
  66. package/dist/events.cjs.map +1 -0
  67. package/dist/events.d.ts +66 -0
  68. package/dist/events.mjs +31 -0
  69. package/dist/events.mjs.map +1 -0
  70. package/dist/hooks.cjs +5 -0
  71. package/dist/hooks.cjs.map +1 -0
  72. package/dist/hooks.d.ts +316 -0
  73. package/dist/hooks.mjs +107 -0
  74. package/dist/hooks.mjs.map +1 -0
  75. package/dist/icons.cjs +3 -0
  76. package/dist/icons.d.ts +218 -0
  77. package/dist/icons.mjs +76 -0
  78. package/dist/languages.cjs +5 -0
  79. package/dist/languages.cjs.map +1 -0
  80. package/dist/languages.d.ts +174 -0
  81. package/dist/languages.mjs +112 -0
  82. package/dist/languages.mjs.map +1 -0
  83. package/dist/layouts.cjs +5 -0
  84. package/dist/layouts.cjs.map +1 -0
  85. package/dist/layouts.d.ts +209 -0
  86. package/dist/layouts.mjs +460 -0
  87. package/dist/layouts.mjs.map +1 -0
  88. package/dist/navigations.cjs +5 -0
  89. package/dist/navigations.cjs.map +1 -0
  90. package/dist/navigations.d.ts +72 -0
  91. package/dist/navigations.mjs +30 -0
  92. package/dist/navigations.mjs.map +1 -0
  93. package/dist/preference.cjs +3 -0
  94. package/dist/preference.d.ts +94 -0
  95. package/dist/preference.mjs +14 -0
  96. package/dist/services.cjs +5 -0
  97. package/dist/services.cjs.map +1 -0
  98. package/dist/services.d.ts +8 -0
  99. package/dist/services.mjs +26 -0
  100. package/dist/services.mjs.map +1 -0
  101. package/dist/stores.cjs +5 -0
  102. package/dist/stores.cjs.map +1 -0
  103. package/dist/stores.d.ts +101 -0
  104. package/dist/stores.mjs +167 -0
  105. package/dist/stores.mjs.map +1 -0
  106. package/dist/themes.cjs +5 -0
  107. package/dist/themes.cjs.map +1 -0
  108. package/dist/themes.d.ts +229 -0
  109. package/dist/themes.mjs +894 -0
  110. package/dist/themes.mjs.map +1 -0
  111. package/dist/types.cjs +2 -0
  112. package/dist/types.d.ts +147 -0
  113. package/dist/types.mjs +2 -0
  114. package/dist/utils.cjs +5 -0
  115. package/dist/utils.cjs.map +1 -0
  116. package/dist/utils.d.ts +374 -0
  117. package/dist/utils.mjs +293 -0
  118. package/dist/utils.mjs.map +1 -0
  119. package/package.json +196 -0
@@ -0,0 +1,8 @@
1
+ (function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`.styles-module__loading___bgEAk{justify-content:center;align-items:center;display:inline-flex}.styles-module__loading___bgEAk svg polyline{fill:none;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.styles-module__loading___bgEAk svg polyline.styles-module__back___XLPvD{fill:none;stroke:var(--color-primary-alpha,#ff4d5033)}.styles-module__loading___bgEAk svg polyline.styles-module__front___hSxig{fill:none;stroke:var(--color-primary,#ff4d4f);stroke-dasharray:48 144;stroke-dashoffset:192px;animation:1.4s linear infinite styles-module__dash_682___AQzo6}@keyframes styles-module__dash_682___AQzo6{72.5%{opacity:0}to{stroke-dashoffset:0}}.styles-module__loader___E7OIM{justify-content:center;align-items:center;width:fit-content;height:fit-content;display:flex}.styles-module__truckWrapper___Sk4zX{flex-direction:column;justify-content:flex-end;align-items:center;width:100%;height:100%;display:flex;position:relative;overflow-x:hidden}.styles-module__truckBody___j7w2C{width:65%;height:fit-content;margin-bottom:6px;animation:1s linear infinite styles-module__motion___IiNlW}@keyframes styles-module__motion___IiNlW{0%{transform:translateY(0)}50%{transform:translateY(3px)}to{transform:translateY(0)}}.styles-module__truckTires___4ncTl{justify-content:space-between;align-items:center;width:65%;height:fit-content;padding:0 10px 0 15px;display:flex;position:absolute;bottom:0}.styles-module__tiresvg___IBQcN{width:24px}.styles-module__road___sxx-E{background-color:var(--color-fg-heading);border-radius:3px;align-self:flex-end;width:100%;height:1.5px;position:relative;bottom:0}.styles-module__road___sxx-E:before{content:"";background-color:var(--color-fg-heading);border-left:10px solid var(--color-bg);border-radius:3px;width:20px;height:100%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;right:-50%}.styles-module__road___sxx-E:after{content:"";background-color:var(--color-fg-heading);border-left:4px solid var(--color-bg);border-radius:3px;width:10px;height:100%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;right:-65%}.styles-module__lampPost___okcN5{height:45%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;bottom:0;right:-90%}@keyframes styles-module__roadAnimation___yvrHP{0%{transform:translate(0)}to{transform:translate(-350px)}}.styles-module__loader___pFUzL{justify-content:center;align-items:center;display:inline-flex;position:relative}.styles-module__loader___pFUzL:before{content:"";background:var(--color-primary);opacity:.3;border-radius:50%;width:100%;height:5px;animation:.5s linear infinite styles-module__shadow324___sutUe;position:absolute;top:calc(100% + 12px);left:0}.styles-module__loader___pFUzL:after{content:"";background:var(--color-primary);width:100%;height:100%;position:absolute;top:0;left:0}.styles-module__square___GKjhm:after{border-radius:4px;animation:.5s linear infinite styles-module__jump7456Square___Z-D9b}.styles-module__circle___bUpSN:after{border-radius:50%;animation:.5s linear infinite styles-module__jump7456Circle___2AfF7}@keyframes styles-module__jump7456Square___Z-D9b{15%{border-bottom-right-radius:3px}25%{transform:translateY(9px)rotate(22.5deg)}50%{border-bottom-right-radius:40px;transform:translateY(18px)scaleY(.9)rotate(45deg)}75%{transform:translateY(9px)rotate(67.5deg)}to{transform:translateY(0)rotate(90deg)}}@keyframes styles-module__jump7456Circle___2AfF7{15%{border-bottom-right-radius:50%}25%{transform:translateY(9px)rotate(22.5deg)}50%{border-bottom-right-radius:40px;transform:translateY(18px)scaleY(.9)rotate(45deg)}75%{transform:translateY(9px)rotate(67.5deg)}to{transform:translateY(0)rotate(90deg)}}@keyframes styles-module__shadow324___sutUe{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}.style-module__waves___oR3u7{width:100%;height:100%;margin:0;padding:0;position:absolute;top:0;left:0;overflow:hidden}.style-module__waves___oR3u7:before{content:"";width:.5rem;height:.5rem;transform:translate3d(calc(var(--x) - 50%), calc(var(--y) - 50%), 0);will-change:transform;background:#160000;border-radius:50%;position:absolute;top:0;left:0}.style-module__wavesCanvas___zkhTC{width:100%;height:100%;display:block}.style-module__squaresCanvas___22kMc{border:none;width:100%;height:100%;display:block}.style-module__container___HkxIe{background-color:#000;width:100%;height:100%;position:relative;overflow:hidden}.style-module__canvas___MR9JX{width:100%;height:100%;display:block}.style-module__outerVignette___i75nw{pointer-events:none;background:radial-gradient(circle,#0000 60%,#000 100%);width:100%;height:100%;position:absolute;top:0;left:0}.style-module__centerVignette___n9uVG{pointer-events:none;background:radial-gradient(circle,#000c 0%,#0000 60%);width:100%;height:100%;position:absolute;top:0;left:0}.style-module__container___Hh3-c{width:100%;height:100%;position:relative;overflow:hidden}.styles-module__button___RbliA{cursor:pointer;border:1px solid #0000;border-radius:.5rem;outline:none;justify-content:center;align-items:center;gap:.5rem;font-family:inherit;font-weight:500;transition:all .2s;display:inline-flex;position:relative}.styles-module__button___RbliA:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.styles-module__button___RbliA:disabled{cursor:not-allowed;opacity:.6}.styles-module__button___RbliA.styles-module__small___yK0Yp{min-height:2rem;padding:.5rem 1rem;font-size:.8125rem}.styles-module__button___RbliA.styles-module__medium___eBTch{min-height:2.5rem;padding:.75rem 1.5rem;font-size:.875rem}.styles-module__button___RbliA.styles-module__large___pIZkl{min-height:3rem;padding:1rem 2rem;font-size:1rem}.styles-module__button___RbliA.styles-module__primary___qsZpA{background:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-fg,#fff)}.styles-module__button___RbliA.styles-module__primary___qsZpA:hover:not(:disabled){background:var(--color-primary-light);border-color:var(--color-primary-light);transform:translateY(-1px)}.styles-module__button___RbliA.styles-module__primary___qsZpA:active:not(:disabled){transform:translateY(0)}.styles-module__button___RbliA.styles-module__secondary___SCpPv{background:var(--color-bg-2);border-color:var(--color-border-4);color:var(--color-fg-text)}.styles-module__button___RbliA.styles-module__secondary___SCpPv:hover:not(:disabled){background:var(--color-bg-3);border-color:var(--color-primary)}.styles-module__button___RbliA.styles-module__outline___rrlk9{border-color:var(--color-border-4);color:var(--color-fg-text);background:0 0}.styles-module__button___RbliA.styles-module__outline___rrlk9:hover:not(:disabled){background:var(--color-bg-2);border-color:var(--color-primary)}.styles-module__button___RbliA.styles-module__ghost___QMoiH{color:var(--color-fg-text);background:0 0;border-color:#0000}.styles-module__button___RbliA.styles-module__ghost___QMoiH:hover:not(:disabled){background:var(--color-bg-2)}.styles-module__button___RbliA.styles-module__danger___MW-pg{background:var(--color-danger);border-color:var(--color-danger);color:#fff}.styles-module__button___RbliA.styles-module__danger___MW-pg:hover:not(:disabled){background:var(--color-danger-light);border-color:var(--color-danger-light);transform:translateY(-1px)}.styles-module__button___RbliA.styles-module__danger___MW-pg:active:not(:disabled){transform:translateY(0)}.styles-module__button___RbliA.styles-module__fullWidth___-dXBR{width:100%}.styles-module__button___RbliA.styles-module__loading___UWw6V{pointer-events:none}.styles-module__spinner___KpJ-L{border:2px solid;border-top-color:#0000;border-radius:50%;flex-shrink:0;width:1rem;height:1rem;animation:.6s linear infinite styles-module__spin___ntZKM}@keyframes styles-module__spin___ntZKM{to{transform:rotate(360deg)}}.styles-module__button___RbliA.styles-module__small___yK0Yp .styles-module__spinner___KpJ-L{border-width:1.5px;width:.875rem;height:.875rem}.styles-module__button___RbliA.styles-module__large___pIZkl .styles-module__spinner___KpJ-L{border-width:2.5px;width:1.25rem;height:1.25rem}.styles-module__content___oyZRO{align-items:center;display:flex}.styles-module__leftIcon___cDktv,.styles-module__rightIcon___1mpk0{flex-shrink:0;align-items:center;display:flex}.styles-module__leftIcon___cDktv{margin-right:-.25rem}.styles-module__rightIcon___1mpk0{margin-left:-.25rem}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U{aspect-ratio:1;min-width:2.5rem;min-height:2.5rem;padding:0}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U.styles-module__small___yK0Yp{min-width:2rem;min-height:2rem}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U.styles-module__large___pIZkl{min-width:3rem;min-height:3rem}.styles-module__iconContainer___bwvE3{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.styles-module__layout___WaGy9{flex-direction:column;justify-content:center;align-items:center;gap:.25rem;width:100%;display:flex}.styles-module__horizontal___lKpGq{justify-content:center;align-items:center;gap:.5rem;width:100%;display:flex}.styles-module__topIcon___bzw6s,.styles-module__bottomIcon___suPfa{flex-shrink:0;justify-content:center;align-items:center;display:flex}.styles-module__iconOnly___iOv-U .styles-module__iconContainer___bwvE3 .styles-module__leftIcon___cDktv,.styles-module__iconOnly___iOv-U .styles-module__iconContainer___bwvE3 .styles-module__rightIcon___1mpk0{margin:0}.Dropdown-module__dropdown___c9wIp{width:100%;display:inline-block;position:relative}.Dropdown-module__dropdownButton___suNh-{border:1px solid var(--color-separator);cursor:pointer;text-align:left;background:var(--color-bg-2);width:100%;color:var(--color-fg-text);border-radius:8px;outline:none;justify-content:space-between;align-items:center;padding:.75rem 2.5rem .75rem 1rem;font-family:inherit;font-size:1rem;font-weight:400;line-height:1.5rem;transition:all .2s ease-in-out;display:flex;position:relative}.Dropdown-module__dropdownButton___suNh-:hover:not(:disabled){border-color:var(--color-primary);background:var(--color-bg-1)}.Dropdown-module__dropdownButton___suNh-:focus{border-color:var(--color-primary);background:var(--color-bg-1);box-shadow:0 0 0 2px var(--color-primary-transparent)}.Dropdown-module__dropdownButton___suNh-.Dropdown-module__disabled___Rz0pX{cursor:not-allowed;opacity:.6;background:var(--color-bg-3)}.Dropdown-module__dropdownButton___suNh-.Dropdown-module__error___F7dDu{border-color:#ef4444}.Dropdown-module__buttonText___D2zxn{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.Dropdown-module__chevronIcon___uyawp{color:var(--color-fg-highlight);flex-shrink:0;transition:transform .15s;position:absolute;right:1rem}.Dropdown-module__chevronIcon___uyawp.Dropdown-module__open___APoXd{transform:rotate(180deg)}.Dropdown-module__dropdownMenu___WJ-QO{background:var(--color-bg);border:1px solid var(--color-border-4);z-index:1000;border-radius:8px;min-width:100%;animation:.15s ease-out Dropdown-module__slideDown___sRCmO;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow:hidden;box-shadow:0 .5rem 1rem #0000002d}@keyframes Dropdown-module__slideDown___sRCmO{0%{opacity:0;transform:translateY(-.5rem)}to{opacity:1;transform:translateY(0)}}.Dropdown-module__optionsList___Be6RN{margin:0;padding:.5rem 0;list-style:none}.Dropdown-module__option___q-NgT{cursor:pointer;color:var(--color-fg-text);align-items:center;padding:.75rem 1rem;font-size:.875rem;transition:all .15s;display:flex}.Dropdown-module__option___q-NgT:hover{background-color:var(--color-bg-2)}.Dropdown-module__option___q-NgT.Dropdown-module__selected___-OTW-{background-color:var(--color-bg-3);color:var(--color-fg-highlight);font-weight:600}@media (width<=768px){.Dropdown-module__dropdownButton___suNh-{padding:.625rem 2.25rem .625rem .875rem;font-size:.875rem}.Dropdown-module__chevronIcon___uyawp{right:.875rem}.Dropdown-module__option___q-NgT{padding:.625rem .875rem;font-size:.8125rem}}.styles-module__wrapper___COeGm{flex-direction:column;gap:.5rem;display:flex}.styles-module__wrapper___COeGm.styles-module__fullWidth___lVU49{width:100%}.styles-module__label___gfOA7{color:var(--color-fg-heading);align-items:center;gap:.25rem;font-size:.875rem;font-weight:500;display:flex}.styles-module__required___-zOy5{color:var(--color-danger)}.styles-module__inputContainer___wXY53{align-items:center;width:100%;display:flex;position:relative}.styles-module__input___IZDc3{border:1px solid var(--color-border-4);background:var(--color-bg);width:100%;color:var(--color-fg-text);border-radius:.5rem;outline:none;font-family:inherit;font-size:.875rem;transition:all .2s}.styles-module__input___IZDc3[type=password]::-webkit-credentials-auto-fill-button{visibility:hidden!important;opacity:0!important;pointer-events:none!important;appearance:none!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-webkit-strong-password-toggle-button{visibility:hidden!important;opacity:0!important;pointer-events:none!important;appearance:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-ms-reveal{visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-ms-clear{visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb,102, 126, 234), .1)}.styles-module__input___IZDc3::placeholder{color:var(--color-fg-muted,var(--color-fg-text));opacity:.5}.styles-module__input___IZDc3.styles-module__small___cuGyE{padding:.5rem .75rem;font-size:.8125rem}.styles-module__input___IZDc3.styles-module__medium___JdDPu{padding:.75rem;font-size:.875rem}.styles-module__input___IZDc3.styles-module__large___fMmiG{padding:1rem;font-size:1rem}.styles-module__input___IZDc3.styles-module__default___-eZTG{background:var(--color-bg);border-color:var(--color-border-4)}.styles-module__input___IZDc3.styles-module__filled___EQ5PQ{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3{padding-left:2.5rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3{padding-right:2.5rem}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3.styles-module__small___cuGyE{padding-left:2rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3.styles-module__small___cuGyE{padding-right:2rem}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3.styles-module__large___fMmiG{padding-left:3rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3.styles-module__large___fMmiG{padding-right:3rem}.styles-module__leftIcon___jEW5H,.styles-module__rightIcon___bA3Eo{color:var(--color-fg-muted,var(--color-fg-text));pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute}.styles-module__leftIcon___jEW5H{left:.75rem}.styles-module__rightIcon___bA3Eo{right:.75rem}.styles-module__rightIcon___bA3Eo.styles-module__rightIconInteractive___ccypw{pointer-events:auto}.styles-module__inputContainer___wXY53.styles-module__containerSmall___20ICq .styles-module__leftIcon___jEW5H{left:.5rem}.styles-module__inputContainer___wXY53.styles-module__containerSmall___20ICq .styles-module__rightIcon___bA3Eo{right:.5rem}.styles-module__inputContainer___wXY53.styles-module__containerLarge___IztuN .styles-module__leftIcon___jEW5H{left:1rem}.styles-module__inputContainer___wXY53.styles-module__containerLarge___IztuN .styles-module__rightIcon___bA3Eo{right:1rem}.styles-module__input___IZDc3.styles-module__error___946qV{border-color:var(--color-danger)}.styles-module__input___IZDc3.styles-module__error___946qV:focus{border-color:var(--color-danger);box-shadow:0 0 0 3px rgba(var(--color-danger-rgb,244, 67, 54), .1)}.styles-module__input___IZDc3.styles-module__disabled___sJvLd{background:var(--color-bg-3);border-color:var(--color-border-5);color:var(--color-fg-muted);cursor:not-allowed;opacity:.6}.styles-module__errorMessage___5Mn22{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___T2eui{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__container___xeg8O{flex-direction:column;gap:1rem;display:flex}.styles-module__label___qhbKe{color:var(--color-fg-text);font-size:.875rem;font-weight:500}.styles-module__error___O-7AY{color:var(--color-error);font-size:.875rem}.styles-module__pairs___owGV3{flex-direction:column;gap:.75rem;display:flex}.styles-module__pair___G4WFY{grid-template-columns:1fr 2fr auto;align-items:start;gap:.75rem;display:grid}.styles-module__keyInput___wl1M1,.styles-module__valueInput___HiwJ5{flex:1}.styles-module__removeButton___4-X0b{min-width:auto;color:var(--color-error);padding:.5rem}.styles-module__removeButton___4-X0b:hover{background-color:var(--color-error);color:#fff}.styles-module__addButton___QFljt{align-self:flex-start}@media (width<=768px){.styles-module__pair___G4WFY{grid-template-columns:1fr}.styles-module__removeButton___4-X0b{align-self:flex-end}}.styles-module__searchContainer___86TGN{width:100%;max-width:400px;position:relative}.styles-module__searchIcon___ZInry{color:var(--color-fg-muted);pointer-events:none;position:absolute;top:50%;left:1rem;transform:translateY(-50%)}.styles-module__searchInput___SqZXQ{border:1px solid var(--color-border);width:100%;color:var(--color-fg-text);background:var(--color-bg-2);border-radius:.5rem;padding:.75rem 3rem;font-size:1rem;transition:all .2s}.styles-module__searchInput___SqZXQ:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-bg);outline:none}.styles-module__searchInput___SqZXQ::placeholder{color:var(--color-fg-muted)}.styles-module__clearBtn___7jExr{width:1.5rem;height:1.5rem;color:var(--color-fg-muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;transition:all .2s;display:flex;position:absolute;top:50%;right:.75rem;transform:translateY(-50%)}.styles-module__clearBtn___7jExr:hover{color:var(--color-fg-text)}@media (width<=768px){.styles-module__searchContainer___86TGN{max-width:100%}}.styles-module__container___nGxdM{flex-direction:column;gap:.75rem;display:flex}.styles-module__toggleContainer___VrsKI{align-items:center;display:flex}.styles-module__toggleButton___IzD6Z{border:1px solid var(--color-border-4);background:var(--color-bg);color:var(--color-fg-muted);cursor:pointer;border-radius:.5rem;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;transition:all .2s;display:flex}.styles-module__toggleButton___IzD6Z:hover{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__toggleButton___IzD6Z.styles-module__enabled___cao0G{background:var(--color-primary);color:#fff;border-color:var(--color-primary)}.styles-module__toggleButton___IzD6Z.styles-module__enabled___cao0G:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover)}.styles-module__optionsContainer___LOzlO{background:var(--color-bg-2);border:1px solid var(--color-border-4);border-radius:.5rem;gap:.5rem;padding:.5rem;display:flex}.styles-module__option___abhnC{border:1px solid var(--color-border-4);background:var(--color-bg);color:var(--color-fg);cursor:pointer;border-radius:.375rem;flex:1;justify-content:center;align-items:center;gap:.375rem;padding:.5rem .875rem;font-size:.875rem;font-weight:500;transition:all .2s;display:flex}.styles-module__option___abhnC:hover{background:var(--color-bg-3);border-color:var(--color-border-3)}.styles-module__option___abhnC.styles-module__active___pqmSi{background:var(--color-primary);color:#fff;border-color:var(--color-primary)}.styles-module__option___abhnC.styles-module__active___pqmSi:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover)}.styles-module__nbSelect___KjxSc{font-family:inherit;font-size:.9375rem;font-weight:600;line-height:1.5rem;display:inline-block;position:relative}.styles-module__selectButton___AKZe4{cursor:pointer;text-align:left;width:100%;min-width:8rem;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;appearance:none;border:1px solid;border-radius:.25rem;outline:none;justify-content:space-between;align-items:center;padding:.4375rem 2.2rem .4375rem 1.125rem;transition:all .15s ease-in-out;display:flex;position:relative}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a{background-color:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-fg)}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a:hover:not(:disabled){background-color:var(--color-primary-light);border-color:var(--color-primary-light)}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a:focus,.styles-module__selectButton___AKZe4.styles-module__primary___HU36a.styles-module__open___9AKMb{background-color:var(--color-primary-light);border-color:var(--color-primary-light);box-shadow:0 0 0 .125rem #8f9bb340}.styles-module__selectButton___AKZe4.styles-module__default___LedYP{background-color:var(--color-bg);border-color:var(--color-border-4);color:var(--color-fg-text)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP:hover:not(:disabled){background-color:var(--color-bg-2);border-color:var(--color-primary)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP:focus,.styles-module__selectButton___AKZe4.styles-module__default___LedYP.styles-module__open___9AKMb{background-color:var(--color-bg-2);border-color:var(--color-primary);box-shadow:0 0 0 .125rem #8f9bb340}.styles-module__selectButton___AKZe4:disabled{cursor:not-allowed;opacity:.6}.styles-module__buttonText___QSLO1{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.styles-module__chevronIcon___qAHaD{flex-shrink:0;width:1.5rem;height:1.5rem;transition:transform .15s;position:absolute;right:.41rem}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a .styles-module__chevronIcon___qAHaD{color:var(--color-primary-fg)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP .styles-module__chevronIcon___qAHaD{color:var(--color-fg)}.styles-module__chevronIcon___qAHaD.styles-module__open___9AKMb{transform:rotate(180deg)}.styles-module__optionsPanel___NWAp3{background-color:var(--color-bg);border:1px solid var(--color-border-4);z-index:1000;transform-origin:top;visibility:hidden;pointer-events:none;border-radius:.25rem;min-width:100%;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow:hidden;box-shadow:0 .5rem 1rem #00000026}.styles-module__optionsPanel___NWAp3.styles-module__open___9AKMb{visibility:visible;pointer-events:auto;animation:.25s ease-out styles-module__expandDown___eD4lh}.styles-module__optionsPanel___NWAp3.styles-module__closed___bez-q{visibility:hidden;pointer-events:none;animation:.25s ease-out styles-module__collapseUp___dt1E7}@keyframes styles-module__expandDown___eD4lh{0%{opacity:0;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}@keyframes styles-module__collapseUp___dt1E7{0%{opacity:1;transform:scaleY(1)}to{opacity:0;transform:scaleY(0)}}.styles-module__optionsPanel___NWAp3.styles-module__primary___HU36a{border-color:var(--color-primary)}.styles-module__optionsPanel___NWAp3.styles-module__default___LedYP{border-color:var(--color-border-4)}.styles-module__optionsList___AxhVp{margin:0;padding:.5rem 0;list-style:none}.styles-module__option___t1SSw{cursor:pointer;color:var(--color-fg-text);justify-content:space-between;align-items:center;padding:.75rem 1.125rem;transition:all .15s;display:flex}.styles-module__option___t1SSw:hover{background-color:var(--color-bg-2)}.styles-module__option___t1SSw.styles-module__selected___azD4A{background-color:var(--color-primary);color:var(--color-primary-fg);font-weight:700}@media (prefers-color-scheme:dark){.styles-module__optionsPanel___NWAp3{box-shadow:0 .5rem 1rem #0000004d}}.styles-module__sliderContainer___lgpaD{flex-direction:column;gap:.5rem;display:flex}.styles-module__sliderContainer___lgpaD.styles-module__fullWidth___ZS8W5{width:100%}.styles-module__labelRow___dkVVM{justify-content:space-between;align-items:center;min-height:1.5rem;margin-bottom:.5rem;display:flex}.styles-module__label___bXGZs{color:var(--color-fg-text);font-size:.875rem;font-weight:500}.styles-module__required___FuyfE{color:var(--color-danger);margin-left:.25rem}.styles-module__sliderWrapper___1Wdti{touch-action:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;gap:.75rem;width:100%;display:flex}.styles-module__sliderRoot___yzOjR{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;flex-grow:1;align-items:center;width:100%;padding:.75rem 0;display:flex;position:relative}.styles-module__sliderRoot___yzOjR:active{cursor:grabbing}.styles-module__sliderTrackWrapper___N72WQ{flex-grow:1;display:flex;position:relative}.styles-module__sliderTrack___AltcD{background-color:var(--color-bg-3);border-radius:9999px;width:100%;height:.375rem;position:relative;overflow:hidden}.styles-module__sliderRange___U3g0-{background-color:var(--color-primary);border-radius:9999px;height:100%;position:absolute}.styles-module__valueIndicator___aLf0I{color:var(--color-primary);text-align:center;flex-shrink:0;min-width:2rem;font-size:.875rem;font-weight:600;line-height:1}.styles-module__iconWrapper___wL-b8{flex-shrink:0;justify-content:center;align-items:center;display:flex}.styles-module__icon___vHsID{width:20px;height:20px;color:var(--color-fg-muted)}.styles-module__errorMessage___qFgGe{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___tgBGl{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__loadingContainer___OMgwS{flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;min-height:60vh;display:flex}.styles-module__loadingText___KRZqR{color:var(--color-fg-muted);font-size:1rem}.styles-module__errorContainer___qhAg2{text-align:center;min-height:60vh;color:var(--color-fg-text);flex-direction:column;justify-content:center;align-items:center;gap:2rem;padding:3rem 2rem;display:flex}.styles-module__errorIconWrapper___IHZrN{background:linear-gradient(135deg, rgba(var(--color-error-rgb,239, 68, 68), .1), rgba(var(--color-error-rgb,239, 68, 68), .05));border:2px solid rgba(var(--color-error-rgb,239, 68, 68), .2);border-radius:50%;justify-content:center;align-items:center;width:120px;height:120px;animation:2s ease-in-out infinite styles-module__pulse___Lju-z;display:flex}@keyframes styles-module__pulse___Lju-z{0%,to{opacity:1;transform:scale(1)}50%{opacity:.9;transform:scale(1.05)}}.styles-module__errorIcon___oGDIP{color:var(--color-error,#ef4444);stroke-width:1.5px}.styles-module__errorContent___F55rQ{flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:600px;display:flex}.styles-module__errorTitle___hC8D-{color:var(--color-fg-heading);letter-spacing:-.02em;margin:0;font-size:1.75rem;font-weight:700;line-height:1.2}.styles-module__errorDescription___hZtuP{color:var(--color-fg-muted);max-width:480px;margin:0;font-size:1rem;line-height:1.6}.styles-module__errorDetailsWrapper___-sp8b{width:100%;max-width:600px;margin-top:.5rem}.styles-module__errorDetailsContainer___eywMo{text-align:left;border:1px solid var(--color-border,#0000001a);background:var(--color-bg-2,#00000005);border-radius:.75rem;width:100%;transition:all .2s;overflow:hidden}.styles-module__errorDetailsContainer___eywMo:hover{border-color:var(--color-border-hover,#00000026);background:var(--color-bg-3,#00000008)}.styles-module__errorDetailsSummary___hGEoD{cursor:pointer;color:var(--color-fg-muted);-webkit-user-select:none;user-select:none;padding:.875rem 1.25rem;font-size:.875rem;font-weight:500;list-style:none;transition:color .2s}.styles-module__errorDetailsSummary___hGEoD:hover{color:var(--color-fg-text)}.styles-module__errorDetailsSummary___hGEoD::-webkit-details-marker{display:none}.styles-module__errorDetailsSummary___hGEoD:before{content:"▶";margin-right:.5rem;font-size:.75rem;transition:transform .2s;display:inline-block}.styles-module__errorDetailsContainer___eywMo[open] .styles-module__errorDetailsSummary___hGEoD:before{transform:rotate(90deg)}.styles-module__errorDetails___tzCT-{background:var(--color-bg-3,#00000008);border-top:1px solid var(--color-border,#0000001a);max-width:100%;color:var(--color-fg-muted);white-space:pre-wrap;word-break:break-word;margin:0;padding:1rem 1.25rem;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:.8125rem;line-height:1.6;overflow-x:auto}.styles-module__errorActions___gtqYw{flex-wrap:wrap;justify-content:center;align-items:center;gap:.75rem;margin-top:1rem;display:flex}.styles-module__retryButton___TA4jm{background:var(--color-primary);color:var(--color-primary-fg);cursor:pointer;border:none;border-radius:.5rem;justify-content:center;align-items:center;gap:.5rem;padding:.75rem 2rem;font-size:.9375rem;font-weight:500;transition:all .2s;display:inline-flex;box-shadow:0 2px 8px #00000014}.styles-module__retryButton___TA4jm:hover{background:var(--color-primary-hover,var(--color-primary));transform:translateY(-2px);box-shadow:0 4px 16px #0000001f}.styles-module__retryButton___TA4jm:active{transform:translateY(0);box-shadow:0 2px 8px #00000014}.styles-module__retryButtonIcon___vzfp-{font-size:1.125rem;line-height:1;transition:transform .3s;display:inline-block}.styles-module__retryButton___TA4jm:hover .styles-module__retryButtonIcon___vzfp-{transform:rotate(180deg)}.styles-module__clearLocalDataButton___T3B-K{color:var(--color-fg-muted);border:1px solid var(--color-border-4);cursor:pointer;background:0 0;border-radius:.5rem;justify-content:center;align-items:center;padding:.75rem 1.5rem;font-size:.9375rem;font-weight:500;transition:all .2s;display:inline-flex}.styles-module__clearLocalDataButton___T3B-K:hover{color:var(--color-fg-text);border-color:var(--color-border-3);background:var(--color-bg-secondary)}.styles-module__wrapper___jXPV3{flex-direction:column;gap:.5rem;display:flex}.styles-module__wrapper___jXPV3.styles-module__fullWidth___eKyGB{width:100%}.styles-module__label___MyTeo{color:var(--color-fg-heading);align-items:center;gap:.25rem;font-size:.875rem;font-weight:500;display:flex}.styles-module__required___TV-m8{color:var(--color-danger)}.styles-module__inputContainer___VvGBl{align-items:flex-start;width:100%;display:flex;position:relative}.styles-module__textarea___AjX9N{border:1px solid var(--color-border-4);background:var(--color-bg);width:100%;color:var(--color-fg-text);resize:vertical;border-radius:.5rem;outline:none;min-height:4rem;font-family:inherit;font-size:.875rem;transition:all .2s}.styles-module__textarea___AjX9N:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb,102, 126, 234), .1)}.styles-module__textarea___AjX9N::placeholder{color:var(--color-fg-muted,var(--color-fg-text));opacity:.5}.styles-module__textarea___AjX9N.styles-module__small___zMx0G{min-height:3rem;padding:.5rem .75rem;font-size:.8125rem}.styles-module__textarea___AjX9N.styles-module__medium___tO2Lb{min-height:4rem;padding:.75rem;font-size:.875rem}.styles-module__textarea___AjX9N.styles-module__large___3eU2g{min-height:5rem;padding:1rem;font-size:1rem}.styles-module__textarea___AjX9N.styles-module__default___vsSxX{background:var(--color-bg);border-color:var(--color-border-4)}.styles-module__textarea___AjX9N.styles-module__filled___TPQgI{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__inputContainer___VvGBl .styles-module__leftIcon___FHp2R{color:var(--color-fg-muted,var(--color-fg-text));pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute;top:.75rem;left:.75rem}.styles-module__inputContainer___VvGBl .styles-module__rightIcon___dkyvP{color:var(--color-fg-muted,var(--color-fg-text));pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute;top:.75rem;right:.75rem}.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__small___zMx0G+.styles-module__leftIcon___FHp2R,.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__small___zMx0G+.styles-module__rightIcon___dkyvP{top:.5rem}.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__large___3eU2g+.styles-module__leftIcon___FHp2R,.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__large___3eU2g+.styles-module__rightIcon___dkyvP{top:1rem}.styles-module__textarea___AjX9N.styles-module__error___d8gLK{border-color:var(--color-danger)}.styles-module__textarea___AjX9N.styles-module__error___d8gLK:focus{border-color:var(--color-danger);box-shadow:0 0 0 3px rgba(var(--color-danger-rgb,244, 67, 54), .1)}.styles-module__textarea___AjX9N.styles-module__disabled___IzbfE{background:var(--color-bg-3);border-color:var(--color-border-5);color:var(--color-fg-muted);cursor:not-allowed;opacity:.6}.styles-module__errorText___Nom7x{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___97Def{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__virtualList___pM6rN{contain:strict;width:100%;padding-bottom:300px;position:relative;overflow:auto}.styles-module__emptyContainer___rm938{height:100%;color:var(--color-fg-muted);justify-content:center;align-items:center;display:flex}.styles-module__virtualListInner___HxRzc{width:100%;position:relative}.styles-module__virtualListItems___p19-a{width:100%;position:absolute;top:0;left:0}.styles-module__loadingMore___zAdLM{color:var(--color-fg-muted);justify-content:center;align-items:center;gap:.75rem;padding:2rem 0;font-size:.875rem;display:flex}.styles-module__endOfList___5cYFh{color:var(--color-fg-muted);border-top:1px solid var(--color-border-3);justify-content:center;margin-top:1rem;padding:2rem 0;font-size:.875rem;display:flex}.styles-module__endOfList___5cYFh span{background-color:var(--color-bg-2);border-radius:.25rem;padding:.5rem 1rem}.styles-module__virtualList___xmj2v{width:100%;padding-bottom:300px;position:relative;overflow:visible}.styles-module__virtualListInner___quD74{width:100%;position:relative}.styles-module__virtualListItems___-Muml{width:100%;position:absolute;top:0;left:0}.styles-module__virtualListRow___h3pzX{width:100%}.styles-module__emptyContainer___LIy8r{color:var(--color-fg-muted);justify-content:center;align-items:center;padding:2rem 0;display:flex}.styles-module__loadingMore___Mzf-p{color:var(--color-fg-muted);justify-content:center;align-items:center;padding:1.5rem 0;display:flex}.styles-module__endOfList___g5G--{color:var(--color-fg-muted);border-top:1px solid var(--color-border-3);justify-content:center;padding:1.5rem 0;display:flex}.styles-module__sidebar___BMt0j{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.styles-module__sidebarContent___iAwiw{flex-direction:column;height:100%;min-height:0;padding-top:1rem;display:flex;overflow:hidden}.styles-module__menuWrapper___DKuEv{flex:1;min-height:0;overflow:hidden auto}.styles-module__sidebarContent___iAwiw::-webkit-scrollbar{width:0}.styles-module__sidebarContent___iAwiw::-webkit-scrollbar-track{background:0 0}.styles-module__sidebarContent___iAwiw::-webkit-scrollbar-thumb{background:0 0}.styles-module__sidebarContent___iAwiw::-webkit-scrollbar-thumb:hover{background:0 0}.styles-module__sidebar___BMt0j a{margin-left:0}.styles-module__sidebar___BMt0j .ps-sidebar-root{background-color:var(--color-bg-2)!important;border-right:1px solid var(--color-separator)!important;flex-direction:column!important;height:100%!important;min-height:0!important;display:flex!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-sidebar-container{background-color:var(--color-bg-2)!important;height:100%!important;min-height:0!important;color:var(--color-fg-text)!important;flex-direction:column!important;flex:1!important;display:flex!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-menu-button{color:var(--color-fg-text)!important;border-radius:.375rem!important;margin:.125rem .5rem!important;padding:.5rem .75rem!important;font-size:.875rem!important;transition:all .2s!important}.styles-module__sidebar___BMt0j .ps-menu-button:hover{background-color:var(--color-bg-3)!important;color:var(--color-fg-text)!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active{background-color:var(--color-primary)!important;color:#fff!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active *,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-icon,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-label{color:#fff!important}.styles-module__sidebar___BMt0j .ps-menu-icon{width:1.25rem!important;height:1.25rem!important;color:var(--color-fg-text)!important;margin-right:.5rem!important}.styles-module__sidebar___BMt0j .ps-submenu-content{background-color:var(--color-bg-3)!important;padding-left:.5rem!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-submenu-content .ps-menu-button{margin:.125rem .25rem!important;padding:.375rem .5rem!important;font-size:.8125rem!important;transition:all .2s!important}.styles-module__sidebar___BMt0j .ps-menu-label{color:var(--color-fg-text)!important;font-weight:500!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active span,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active div,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-icon,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-label{color:#fff!important}.styles-module__logoutContainer___7NwBL{border-top:1px solid var(--color-separator);writing-mode:horizontal-tb;text-orientation:mixed;flex-shrink:0;margin-top:auto;padding:.5rem}.styles-module__logoutButton___rfD6u{width:100%;color:var(--color-fg-text);cursor:pointer;white-space:nowrap;writing-mode:horizontal-tb;text-orientation:mixed;direction:ltr;background:0 0;border:none;border-radius:.375rem;justify-content:flex-start;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.875rem;transition:background-color .2s,color .2s;display:flex;overflow:hidden}.styles-module__logoutButton___rfD6u span{opacity:1;max-width:200px;transition:opacity .3s,max-width .3s;display:inline-block;writing-mode:horizontal-tb!important;text-orientation:mixed!important;direction:ltr!important;transform:none!important}.styles-module__logoutButton___rfD6u .styles-module__hiddenText___z183T{opacity:0;width:0;max-width:0;overflow:hidden}.styles-module__logoutButton___rfD6u .styles-module__visibleText___lfsv-{opacity:1;width:auto;max-width:200px}.styles-module__logoutButton___rfD6u:hover{background-color:var(--color-bg-3)}.styles-module__logoutButton___rfD6u:active{transform:scale(.98)}.styles-module__logoutButton___rfD6u svg{color:inherit;flex-shrink:0}.styles-module__footer___g-hY7{background:var(--color-bg-2);width:100%;padding:0 2rem}.styles-module__footerContent___Oen5n{justify-content:space-between;align-items:center;max-width:100%;margin:0 auto;display:flex}.styles-module__copyright___1R2o3{color:var(--color-fg-text);font-size:.875rem}.styles-module__links___dQyvB{gap:1.5rem;display:flex}.styles-module__link___UWfyK{color:var(--color-fg-text);font-size:.875rem;text-decoration:none;transition:color .3s}.styles-module__link___UWfyK:hover{color:var(--color-primary)}@media (width<=768px){.styles-module__footerContent___Oen5n{flex-direction:column;gap:1rem}.styles-module__links___dQyvB{gap:1rem}}.styles-module__header___4Uc8h{width:100%;padding:.5rem 2rem;display:flex}.styles-module__header___4Uc8h>:first-child{flex:1;justify-content:flex-start;align-items:center;display:flex}.styles-module__header___4Uc8h>:last-child{flex:1;justify-content:flex-end;align-items:center;display:flex}.styles-module__layout___ZQKU7{background:var(--color-bg);flex-direction:column;width:100%;height:100vh;display:flex;position:relative}.styles-module__header___XIaFb{z-index:100;background:var(--color-bg);width:100%;position:fixed;top:0;box-shadow:0 .125rem .25rem #2c33491a}.styles-module__footer___r8ASO{z-index:100;width:100%;position:fixed;bottom:0}.styles-module__mainWrapper___i4tEI{flex:1;display:flex;position:relative}.styles-module__sidebar___ij-8-{position:fixed;top:0}.styles-module__content___mTgUr{background:var(--color-bg);flex:1;min-height:calc(100vh - 10rem);margin:0;padding-top:0;padding-bottom:0;overflow:hidden auto}@media (width<=768px){.styles-module__content___mTgUr{width:100%}.styles-module__sidebar___ij-8-{z-index:999;height:100vh;position:fixed;top:0;left:0}}.styles-module__mainWrapper___AiTAw{flex-direction:row;flex:1;display:flex;position:relative}.styles-module__sidebarContainer___X4yj8{z-index:99;flex-direction:column;display:flex;position:fixed;left:0;overflow:hidden}.styles-module__sidebar___VQTlH{flex-shrink:0;top:0;left:0}.styles-module__content___htJlH{background:var(--color-bg);flex:1;margin:0;padding-top:0;padding-bottom:0;overflow:hidden auto}@media (width<=1024px){.styles-module__content___htJlH{padding:1.5rem}}@media (width<=768px){.styles-module__content___htJlH{width:100%}.styles-module__sidebar___VQTlH{z-index:999;height:100vh;position:fixed;top:0;left:0}}.styles-module__wavesWrapper___TK7DI{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__wavesWrapper___TK7DI>*{pointer-events:auto}.styles-module__squaresWrapper___P25uF{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__squaresWrapper___P25uF>*{pointer-events:auto}.styles-module__letterGlitchWrapper___KWtWU{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__letterGlitchWrapper___KWtWU>*{pointer-events:auto}.styles-module__pixelBlastWrapper___YptHh{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__pixelBlastWrapper___YptHh>*{pointer-events:auto}
2
+ /*$vite$:1*/`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
3
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ve=require("./chunk-chunk-BFrxaqQT.cjs"),xe=require("./chunk-useTheme-DgleVMMh.cjs"),be=require("./chunk-types-C_opkZGr.cjs"),je=require("./chunk-lucide-CP2lvOPY.cjs"),we=require("./chunk-useLayout-BAJHOIL3.cjs"),K=require("./chunk-BounceLoading-C6n4BZVJ.cjs");let h=require("react");h=ve.__toESM(h);let n=require("react/jsx-runtime"),D=require("motion/react"),Ne=require("@tanstack/react-query"),Ce=require("react-dom"),W=require("lucide-react");const Ee="styles-module__button___RbliA",Ie="styles-module__small___yK0Yp",Se="styles-module__medium___eBTch",Le="styles-module__large___pIZkl",$e="styles-module__primary___qsZpA",Me="styles-module__secondary___SCpPv",Oe="styles-module__outline___rrlk9",De="styles-module__ghost___QMoiH",ze="styles-module__danger___MW-pg",Te="styles-module__fullWidth___-dXBR",Re="styles-module__loading___UWw6V",ke="styles-module__spinner___KpJ-L",We="styles-module__spin___ntZKM",Ae="styles-module__content___oyZRO",Be="styles-module__leftIcon___cDktv",Ve="styles-module__rightIcon___1mpk0",qe="styles-module__iconOnly___iOv-U",Fe="styles-module__iconContainer___bwvE3",Pe="styles-module__layout___WaGy9",Ge="styles-module__horizontal___lKpGq",He="styles-module__topIcon___bzw6s",Ke="styles-module__bottomIcon___suPfa";var w={button:Ee,small:Ie,medium:Se,large:Le,primary:$e,secondary:Me,outline:Oe,ghost:De,danger:ze,fullWidth:Te,loading:Re,spinner:ke,spin:We,content:Ae,leftIcon:Be,rightIcon:Ve,iconOnly:qe,iconContainer:Fe,layout:Pe,horizontal:Ge,topIcon:He,bottomIcon:Ke};function B(l,t){return l?t&&(0,h.isValidElement)(l)&&typeof l.type!="string"?(0,h.cloneElement)(l,{...l.props&&typeof l.props=="object"?l.props:{},size:t}):l:null}var U=(0,h.forwardRef)(({variant:l="primary",size:t="medium",fullWidth:e=!1,leftIcon:s,rightIcon:r,topIcon:i,bottomIcon:o,iconOnly:a=!1,iconSize:d,loading:c=!1,disabled:_,children:u,className:m="",...p},g)=>{const N=s||r||i||o,x=!a&&u,b=a&&N&&!x,v=i||o||b,y=[w.button,w[l],w[t],e&&w.fullWidth,c&&w.loading,b&&w.iconOnly,m].filter(Boolean).join(" ");return b?(0,n.jsx)("button",{ref:g,type:"button",className:y,disabled:_||c,...p,children:(0,n.jsxs)("span",{className:w.iconContainer,children:[i&&(0,n.jsx)("span",{className:w.topIcon,children:B(i,d)}),s&&(0,n.jsx)("span",{className:w.leftIcon,children:B(s,d)}),r&&(0,n.jsx)("span",{className:w.rightIcon,children:B(r,d)}),o&&(0,n.jsx)("span",{className:w.bottomIcon,children:B(o,d)})]})}):v?(0,n.jsxs)("button",{ref:g,type:"button",className:y,disabled:_||c,...p,children:[c&&(0,n.jsx)("span",{className:w.spinner}),!c&&(0,n.jsxs)("span",{className:w.layout,children:[i&&(0,n.jsx)("span",{className:w.topIcon,children:B(i,d)}),(0,n.jsxs)("span",{className:w.horizontal,children:[s&&(0,n.jsx)("span",{className:w.leftIcon,children:B(s,d)}),x&&(0,n.jsx)("span",{className:w.content,children:u}),r&&(0,n.jsx)("span",{className:w.rightIcon,children:B(r,d)})]}),o&&(0,n.jsx)("span",{className:w.bottomIcon,children:B(o,d)})]})]}):(0,n.jsxs)("button",{ref:g,type:"button",className:y,disabled:_||c,...p,children:[c&&(0,n.jsx)("span",{className:w.spinner}),s&&!c&&(0,n.jsx)("span",{className:w.leftIcon,children:B(s,d)}),u&&(0,n.jsx)("span",{className:w.content,children:u}),r&&!c&&(0,n.jsx)("span",{className:w.rightIcon,children:B(r,d)})]})});U.displayName="Button";const Xe="Dropdown-module__dropdown___c9wIp",Ue="Dropdown-module__dropdownButton___suNh-",Ze="Dropdown-module__disabled___Rz0pX",Ye="Dropdown-module__error___F7dDu",Qe="Dropdown-module__buttonText___D2zxn",Je="Dropdown-module__chevronIcon___uyawp",et="Dropdown-module__open___APoXd",tt="Dropdown-module__dropdownMenu___WJ-QO",st="Dropdown-module__slideDown___sRCmO",nt="Dropdown-module__optionsList___Be6RN",rt="Dropdown-module__option___q-NgT",lt="Dropdown-module__selected___-OTW-";var R={dropdown:Xe,dropdownButton:Ue,disabled:Ze,error:Ye,buttonText:Qe,chevronIcon:Je,open:et,dropdownMenu:tt,slideDown:st,optionsList:nt,option:rt,selected:lt},re=(0,h.memo)(({options:l,value:t,onChange:e,placeholder:s="Select an option",disabled:r=!1,error:i=!1,className:o=""})=>{const[a,d]=(0,h.useState)(!1),c=(0,h.useRef)(null);(0,h.useEffect)(()=>{const p=g=>{c.current&&!c.current.contains(g.target)&&d(!1)};return document.addEventListener("mousedown",p),()=>{document.removeEventListener("mousedown",p)}},[]);const _=l.find(p=>p.value===t),u=_?_.label:s,m=p=>{e(p),d(!1)};return(0,n.jsxs)("div",{className:`${R.dropdown} ${o}`,ref:c,children:[(0,n.jsxs)("button",{type:"button",className:`${R.dropdownButton} ${i?R.error:""} ${r?R.disabled:""}`,onClick:()=>!r&&d(!a),disabled:r,"aria-expanded":a,"aria-haspopup":"listbox",children:[(0,n.jsx)("span",{className:R.buttonText,children:u}),(0,n.jsx)(W.ChevronDown,{size:16,className:`${R.chevronIcon} ${a?R.open:""}`})]}),a&&!r&&(0,n.jsx)("div",{className:R.dropdownMenu,children:(0,n.jsx)("ul",{className:R.optionsList,role:"listbox",children:l.map(p=>(0,n.jsx)("li",{className:`${R.option} ${p.value===t?R.selected:""}`,onClick:()=>m(p.value),role:"option","aria-selected":p.value===t,children:p.label},p.value))})})]})});re.displayName="Dropdown";var le=(0,h.memo)(({name:l,...t})=>{const e=je.lucide_exports[l];return e?(0,n.jsx)(e,{...t}):(console.warn(`Icon "${l}" not found in lucide-react`),null)});le.displayName="Icon";const ot="styles-module__wrapper___COeGm",it="styles-module__fullWidth___lVU49",at="styles-module__label___gfOA7",ct="styles-module__required___-zOy5",dt="styles-module__inputContainer___wXY53",ut="styles-module__input___IZDc3",_t="styles-module__small___cuGyE",ht="styles-module__medium___JdDPu",mt="styles-module__large___fMmiG",pt="styles-module__filled___EQ5PQ",ft="styles-module__withLeftIcon___NFn6-",yt="styles-module__withRightIcon___mz-hn",gt="styles-module__leftIcon___jEW5H",vt="styles-module__rightIcon___bA3Eo",xt="styles-module__rightIconInteractive___ccypw",bt="styles-module__containerSmall___20ICq",jt="styles-module__containerLarge___IztuN",wt="styles-module__error___946qV",Nt="styles-module__disabled___sJvLd",Ct="styles-module__errorMessage___5Mn22",Et="styles-module__helperText___T2eui";var I={wrapper:ot,fullWidth:it,label:at,required:ct,inputContainer:dt,input:ut,small:_t,medium:ht,large:mt,default:"styles-module__default___-eZTG",filled:pt,withLeftIcon:ft,withRightIcon:yt,leftIcon:gt,rightIcon:vt,rightIconInteractive:xt,containerSmall:bt,containerLarge:jt,error:wt,disabled:Nt,errorMessage:Ct,helperText:Et},Z=(0,h.forwardRef)(({label:l,error:t,helperText:e,leftIcon:s,rightIcon:r,rightIconInteractive:i=!1,size:o="medium",variant:a="default",fullWidth:d=!1,className:c="",disabled:_,...u},m)=>{const p=[I.input,I[o],I[a],t&&I.error,_&&I.disabled,c].filter(Boolean).join(" "),g=[I.wrapper,d&&I.fullWidth].filter(Boolean).join(" "),N=[I.inputContainer,s&&I.withLeftIcon,r&&I.withRightIcon,o&&I[`container${o.charAt(0).toUpperCase()+o.slice(1)}`]].filter(Boolean).join(" ");return(0,n.jsxs)("div",{className:g,children:[l&&(0,n.jsxs)("label",{className:I.label,children:[l,u.required&&(0,n.jsx)("span",{className:I.required,children:"*"})]}),(0,n.jsxs)("div",{className:N,children:[s&&(0,n.jsx)("div",{className:I.leftIcon,children:s}),(0,n.jsx)("input",{ref:m,className:p,disabled:_,...u}),r&&(0,n.jsx)("div",{className:`${I.rightIcon} ${i?I.rightIconInteractive:""}`,children:r})]}),t&&(0,n.jsx)("p",{className:I.errorMessage,children:t}),e&&!t&&(0,n.jsx)("p",{className:I.helperText,children:e})]})});Z.displayName="Input";const It="styles-module__container___xeg8O",St="styles-module__label___qhbKe",Lt="styles-module__error___O-7AY",$t="styles-module__pairs___owGV3",Mt="styles-module__pair___G4WFY",Ot="styles-module__keyInput___wl1M1",Dt="styles-module__valueInput___HiwJ5",zt="styles-module__removeButton___4-X0b",Tt="styles-module__addButton___QFljt";var V={container:It,label:St,error:Lt,pairs:$t,pair:Mt,keyInput:Ot,valueInput:Dt,removeButton:zt,addButton:Tt},oe=(0,h.memo)(({label:l,pairs:t,onChange:e,valueType:s="string",keyPlaceholder:r="Key",valuePlaceholder:i="Value",valueArrayPlaceholder:o="Value (comma-separated)",removeAriaLabel:a="Remove row",addLabel:d="Add",error:c})=>{const _=s==="array"?o:i,[u,m]=(0,h.useState)(t);(0,h.useEffect)(()=>{m(t)},[t]);const p=()=>{const v=[...u,{key:"",value:s==="array"?[]:""}];m(v),e(v)},g=v=>{const y=u.filter((f,C)=>C!==v);m(y),e(y)},N=(v,y)=>{const f=[...u];f[v]={...f[v],key:y},m(f),e(f)},x=(v,y)=>{const f=[...u];if(s==="array"){const C=y.split(",").map(S=>S.trim()).filter(S=>S.length>0);f[v]={...f[v],value:C}}else f[v]={...f[v],value:y};m(f),e(f)},b=v=>Array.isArray(v)?v.join(", "):v;return(0,n.jsxs)("div",{className:V.container,children:[(0,n.jsx)("label",{className:V.label,children:l}),c&&(0,n.jsx)("div",{className:V.error,children:c}),(0,n.jsx)("div",{className:V.pairs,children:u.map((v,y)=>(0,n.jsxs)("div",{className:V.pair,children:[(0,n.jsx)(Z,{placeholder:r,value:v.key,onChange:f=>N(y,f.target.value),className:V.keyInput}),(0,n.jsx)(Z,{placeholder:_,value:b(v.value),onChange:f=>x(y,f.target.value),className:V.valueInput}),(0,n.jsx)(U,{type:"button",variant:"ghost",onClick:()=>g(y),className:V.removeButton,"aria-label":a,children:(0,n.jsx)(W.Trash2,{size:16})})]},y))}),(0,n.jsxs)(U,{type:"button",variant:"secondary",onClick:p,className:V.addButton,children:[(0,n.jsx)(W.Plus,{size:16}),d]})]})});oe.displayName="KeyValueEditor";const Rt="styles-module__searchContainer___86TGN",kt="styles-module__searchIcon___ZInry",Wt="styles-module__searchInput___SqZXQ",At="styles-module__clearBtn___7jExr";var X={searchContainer:Rt,searchIcon:kt,searchInput:Wt,clearBtn:At},ie=(0,h.memo)(({value:l,onChange:t,placeholder:e,clearButtonAriaLabel:s="Clear search"})=>{const r=()=>t("");return(0,n.jsxs)("div",{className:X.searchContainer,children:[(0,n.jsx)(W.Search,{size:18,className:X.searchIcon}),(0,n.jsx)("input",{type:"text",value:l,onChange:i=>t(i.target.value),placeholder:e,className:X.searchInput}),l&&(0,n.jsx)("button",{onClick:r,className:X.clearBtn,"aria-label":s,children:(0,n.jsx)(W.X,{size:16})})]})});ie.displayName="SearchInput";const Bt="styles-module__container___nGxdM",Vt="styles-module__toggleContainer___VrsKI",qt="styles-module__toggleButton___IzD6Z",Ft="styles-module__enabled___cao0G",Pt="styles-module__optionsContainer___LOzlO",Gt="styles-module__option___abhnC",Ht="styles-module__active___pqmSi";var k={container:Bt,toggleContainer:Vt,toggleButton:qt,enabled:Ft,optionsContainer:Pt,option:Gt,active:Ht},ae=(0,h.memo)(({value:l,onChange:t,filterEnabled:e="Filter on",filterDisabled:s="Filter",enableFilterAriaLabel:r="Enable filter",disableFilterAriaLabel:i="Disable filter",all:o="All",show:a="Show",hide:d="Hide"})=>{const c=()=>{t({...l,enabled:!l.enabled})},_=u=>{t({...l,value:u})};return(0,n.jsxs)("div",{className:k.container,children:[(0,n.jsx)("div",{className:k.toggleContainer,children:(0,n.jsxs)("button",{type:"button",className:`${k.toggleButton} ${l.enabled?k.enabled:""}`,onClick:c,"aria-label":l.enabled?i:r,children:[(0,n.jsx)(W.Filter,{size:16}),(0,n.jsx)("span",{children:l.enabled?e:s})]})}),l.enabled&&(0,n.jsxs)("div",{className:k.optionsContainer,children:[(0,n.jsx)("button",{type:"button",className:`${k.option} ${l.value===null?k.active:""}`,onClick:()=>_(null),children:o}),(0,n.jsxs)("button",{type:"button",className:`${k.option} ${l.value===!0?k.active:""}`,onClick:()=>_(!0),children:[(0,n.jsx)(W.Eye,{size:16}),(0,n.jsx)("span",{children:a})]}),(0,n.jsxs)("button",{type:"button",className:`${k.option} ${l.value===!1?k.active:""}`,onClick:()=>_(!1),children:[(0,n.jsx)(W.EyeOff,{size:16}),(0,n.jsx)("span",{children:d})]})]})]})});ae.displayName="ShowFilter";const Kt="styles-module__nbSelect___KjxSc",Xt="styles-module__selectButton___AKZe4",Ut="styles-module__primary___HU36a",Zt="styles-module__open___9AKMb",Yt="styles-module__buttonText___QSLO1",Qt="styles-module__chevronIcon___qAHaD",Jt="styles-module__optionsPanel___NWAp3",es="styles-module__expandDown___eD4lh",ts="styles-module__closed___bez-q",ss="styles-module__collapseUp___dt1E7",ns="styles-module__optionsList___AxhVp",rs="styles-module__option___t1SSw",ls="styles-module__selected___azD4A";var T={nbSelect:Kt,selectButton:Xt,primary:Ut,open:Zt,default:"styles-module__default___LedYP",buttonText:Yt,chevronIcon:Qt,optionsPanel:Jt,expandDown:es,closed:ts,collapseUp:ss,optionsList:ns,option:rs,selected:ls},os=({value:l,options:t,getDisplayName:e,onChange:s,status:r="primary"})=>{const[i,o]=(0,h.useState)(!1),a=(0,h.useRef)(null);(0,h.useEffect)(()=>{const c=_=>{a.current&&!a.current.contains(_.target)&&o(!1)};return document.addEventListener("mousedown",c),()=>document.removeEventListener("mousedown",c)},[]);const d=c=>{s(c),o(!1)};return(0,n.jsxs)("div",{className:T.nbSelect,ref:a,children:[(0,n.jsxs)("button",{type:"button",className:`${T.selectButton} ${T[r]}`,onClick:()=>o(!i),"aria-expanded":i,"aria-haspopup":"listbox",children:[(0,n.jsx)("span",{className:T.buttonText,children:e(l)}),(0,n.jsx)("svg",{className:`${T.chevronIcon} ${i?T.open:""}`,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,n.jsx)("path",{d:"m6 9 6 6 6-6",strokeLinecap:"round",strokeLinejoin:"round"})})]}),(0,n.jsx)("div",{className:`${T.optionsPanel} ${T[r]} ${i?T.open:T.closed}`,role:"listbox",children:(0,n.jsx)("ul",{className:T.optionsList,children:t.map(c=>(0,n.jsxs)("li",{className:`${T.option} ${c===l?T.selected:""}`,onClick:()=>d(c),role:"option","aria-selected":c===l,children:[(0,n.jsx)("span",{children:e(c)}),c===l&&(0,n.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,n.jsx)("path",{d:"M20 6L9 17l-5-5",strokeLinecap:"round",strokeLinejoin:"round"})})]},c))})})]})},Q=(0,h.memo)(os);Q.displayName="SlideDownSwitcher";var ce=(0,h.memo)(({status:l="primary",getThemeDisplayName:t,handleChangeTheme:e})=>{const{themeName:s,setTheme:r,availableThemes:i}=xe.useTheme(),o=t??(d=>d),a=d=>{r(d),e?.(d)};return(0,n.jsx)(Q,{value:s,options:i,getDisplayName:o,onChange:a,status:l})});ce.displayName="ThemeSwitcher";var de=(0,h.memo)(({status:l="primary",getLayoutDisplayName:t,handleChangeLayoutMode:e})=>{const{layoutMode:s,setLayoutMode:r}=we.useLayout(),i=t??(a=>a),o=a=>{r(a),e?.(a)};return(0,n.jsx)(Q,{value:s,options:be.LAYOUT_MODE_VALUES,getDisplayName:i,onChange:o,status:l})});de.displayName="LayoutSwitcher";const is="styles-module__sliderContainer___lgpaD",as="styles-module__fullWidth___ZS8W5",cs="styles-module__labelRow___dkVVM",ds="styles-module__label___bXGZs",us="styles-module__required___FuyfE",_s="styles-module__sliderWrapper___1Wdti",hs="styles-module__sliderRoot___yzOjR",ms="styles-module__sliderTrackWrapper___N72WQ",ps="styles-module__sliderTrack___AltcD",fs="styles-module__sliderRange___U3g0-",ys="styles-module__valueIndicator___aLf0I",gs="styles-module__iconWrapper___wL-b8",vs="styles-module__icon___vHsID",xs="styles-module__errorMessage___qFgGe",bs="styles-module__helperText___tgBGl";var $={sliderContainer:is,fullWidth:as,labelRow:cs,label:ds,required:us,sliderWrapper:_s,sliderRoot:hs,sliderTrackWrapper:ms,sliderTrack:ps,sliderRange:fs,valueIndicator:ys,iconWrapper:gs,icon:vs,errorMessage:xs,helperText:bs},ee=50,ue=(0,h.memo)((0,h.forwardRef)(({value:l,onChange:t,min:e=0,max:s=10,step:r=1,showValue:i=!0,fullWidth:o=!1,label:a,error:d,helperText:c,required:_=!1,className:u="",...m},p)=>{const[g,N]=(0,h.useState)(l),x=(0,h.useRef)(null),[b,v]=(0,h.useState)("middle"),y=(0,D.useMotionValue)(0),f=(0,D.useMotionValue)(0);(0,h.useEffect)(()=>{N(l)},[l]),(0,D.useMotionValueEvent)(y,"change",j=>{if(x.current){const{left:E,right:M}=x.current.getBoundingClientRect();let L;j<E?(v("left"),L=E-j):j>M?(v("right"),L=j-M):(v("middle"),L=0),f.jump(js(L,ee))}});const C=j=>{if(j.buttons>0&&x.current){const{left:E,width:M}=x.current.getBoundingClientRect();let L=e+(j.clientX-E)/M*(s-e);r>0&&(L=Math.round(L/r)*r),L=Math.min(Math.max(L,e),s),N(L),t(L),y.jump(j.clientX)}},S=j=>{C(j),j.currentTarget.setPointerCapture(j.pointerId)},A=()=>{(0,D.animate)(f,0,{type:"spring",bounce:.5})},G=()=>{const j=s-e;return j===0?0:(g-e)/j*100};return(0,n.jsxs)("div",{ref:p,className:[$.sliderContainer,o&&$.fullWidth,u].filter(Boolean).join(" "),...m,children:[a&&(0,n.jsx)("div",{className:$.labelRow,children:(0,n.jsxs)("label",{className:$.label,children:[a,_&&(0,n.jsx)("span",{className:$.required,children:"*"})]})}),(0,n.jsxs)(D.motion.div,{className:$.sliderWrapper,children:[(0,n.jsx)(D.motion.div,{animate:{scale:b==="left"?[1,1.4,1]:1,transition:{duration:.25}},style:{x:(0,D.useTransform)(()=>b==="left"?-f.get():0)},className:$.iconWrapper,children:(0,n.jsx)(W.ChevronLeft,{size:20,className:$.icon})}),(0,n.jsx)("div",{ref:x,className:$.sliderRoot,onPointerMove:C,onPointerDown:S,onPointerUp:A,children:(0,n.jsx)(D.motion.div,{style:{scaleX:(0,D.useTransform)(()=>{if(x.current){const{width:j}=x.current.getBoundingClientRect();return 1+f.get()/j}return 1}),scaleY:(0,D.useTransform)(f,[0,ee],[1,.8]),transformOrigin:(0,D.useTransform)(()=>{if(x.current){const{left:j,width:E}=x.current.getBoundingClientRect();return y.get()<j+E/2?"right":"left"}return"center"})},className:$.sliderTrackWrapper,children:(0,n.jsx)("div",{className:$.sliderTrack,children:(0,n.jsx)(D.motion.div,{className:$.sliderRange,initial:!1,animate:{width:`${G()}%`},transition:{type:"spring",stiffness:300,damping:30}})})})}),(0,n.jsx)(D.motion.div,{animate:{scale:b==="right"?[1,1.4,1]:1,transition:{duration:.25}},style:{x:(0,D.useTransform)(()=>b==="right"?f.get():0)},className:$.iconWrapper,children:(0,n.jsx)(W.ChevronRight,{size:20,className:$.icon})}),i&&!a&&(0,n.jsx)("span",{className:$.valueIndicator,children:Math.round(g)})]}),d&&(0,n.jsx)("p",{className:$.errorMessage,children:d}),c&&!d&&(0,n.jsx)("p",{className:$.helperText,children:c})]})}));function js(l,t){if(t===0)return 0;const e=l/t;return 2*(1/(1+Math.exp(-e))-.5)*t}ue.displayName="Slider";const ws="styles-module__loadingContainer___OMgwS",Ns="styles-module__loadingText___KRZqR",Cs="styles-module__errorContainer___qhAg2",Es="styles-module__errorIconWrapper___IHZrN",Is="styles-module__pulse___Lju-z",Ss="styles-module__errorIcon___oGDIP",Ls="styles-module__errorContent___F55rQ",$s="styles-module__errorTitle___hC8D-",Ms="styles-module__errorDescription___hZtuP",Os="styles-module__errorDetailsWrapper___-sp8b",Ds="styles-module__errorDetailsContainer___eywMo",zs="styles-module__errorDetailsSummary___hGEoD",Ts="styles-module__errorDetails___tzCT-",Rs="styles-module__errorActions___gtqYw",ks="styles-module__retryButton___TA4jm",Ws="styles-module__retryButtonIcon___vzfp-",As="styles-module__clearLocalDataButton___T3B-K";var O={loadingContainer:ws,loadingText:Ns,errorContainer:Cs,errorIconWrapper:Es,pulse:Is,errorIcon:Ss,errorContent:Ls,errorTitle:$s,errorDescription:Ms,errorDetailsWrapper:Os,errorDetailsContainer:Ds,errorDetailsSummary:zs,errorDetails:Ts,errorActions:Rs,retryButton:ks,retryButtonIcon:Ws,clearLocalDataButton:As},Bs=class extends h.Component{state={hasError:!1,error:null};static getDerivedStateFromError(l){return{hasError:!0,error:l}}componentDidCatch(l){}handleReset=()=>{this.setState({hasError:!1,error:null},()=>{this.props.onReset?.()})};render(){return this.state.hasError?this.props.fallbackRender({error:this.state.error,retry:this.handleReset}):this.props.children}},_e=(0,h.memo)(({fallback:l,loadingType:t="ecg",loadingShape:e="square",loadingText:s="Loading...",loadingSize:r="medium",loadingContainerClassName:i,loadingTextClassName:o,loadingClassName:a})=>{if(l)return(0,n.jsx)(n.Fragment,{children:l});const d=()=>{switch(t){case"ecg":return(0,n.jsx)(K.ECGLoading,{size:r,className:a});case"truck":return(0,n.jsx)(K.TruckLoading,{size:r,className:a});case"bounce":return(0,n.jsx)(K.BounceLoading,{size:r,shape:e,className:a});default:return(0,n.jsx)(K.ECGLoading,{size:r,className:a})}};return(0,n.jsxs)("div",{className:`${O.loadingContainer} ${i||""}`,children:[d(),(0,n.jsx)("p",{className:`${O.loadingText} ${o||""}`,children:s})]})});_e.displayName="LoadingFallback";var he=(0,h.memo)(({error:l,retry:t,errorFallback:e,errorTitle:s="Error",errorDescription:r="Something went wrong. Please try again.",retryText:i="Retry",errorDetailsText:o="Details",clearLocalDataText:a="Clear local data",onClearLocalData:d,errorContainerClassName:c,errorDetailsClassName:_,showErrorDetails:u=!1})=>{const m=()=>{try{sessionStorage.clear()}catch{}finally{d?.()}};return e?(0,n.jsx)(n.Fragment,{children:e({error:l,retry:t})}):(0,n.jsxs)("div",{className:`${O.errorContainer} ${c||""}`,children:[(0,n.jsx)("div",{className:O.errorIconWrapper,children:(0,n.jsx)(W.AlertCircle,{className:O.errorIcon,size:64})}),(0,n.jsxs)("div",{className:O.errorContent,children:[(0,n.jsx)("h3",{className:O.errorTitle,children:s}),(0,n.jsx)("p",{className:O.errorDescription,children:r}),u&&l&&(0,n.jsx)("div",{className:O.errorDetailsWrapper,children:(0,n.jsxs)("details",{className:O.errorDetailsContainer,children:[(0,n.jsx)("summary",{className:O.errorDetailsSummary,children:o}),(0,n.jsx)("pre",{className:`${O.errorDetails} ${_||""}`,children:l.message})]})}),(0,n.jsxs)("div",{className:O.errorActions,children:[(0,n.jsxs)("button",{type:"button",className:O.retryButton,onClick:t,children:[(0,n.jsx)("span",{className:O.retryButtonIcon,children:"↻"}),(0,n.jsx)("span",{children:i})]}),(0,n.jsx)("button",{type:"button",className:O.clearLocalDataButton,onClick:m,children:(0,n.jsx)("span",{children:a})})]})]})]})});he.displayName="ErrorFallback";var me=(0,h.memo)(({fallback:l,test:t,loadingType:e="ecg",loadingShape:s="square",loadingClassName:r,loadingText:i,loadingSize:o="medium",loadingContainerClassName:a,loadingTextClassName:d,children:c,errorFallback:_,errorTitle:u,errorDescription:m,retryText:p,errorDetailsText:g,clearLocalDataText:N,onClearLocalData:x,errorContainerClassName:b,errorDetailsClassName:v,showErrorDetails:y=!1,...f})=>(0,n.jsx)(Ne.QueryErrorResetBoundary,{...f,children:({reset:C})=>(0,n.jsx)(Bs,{onReset:C,fallbackRender:({error:S,retry:A})=>(0,n.jsx)(he,{error:S,retry:A,errorFallback:_,errorTitle:u,errorDescription:m,retryText:p,errorDetailsText:g,clearLocalDataText:N,onClearLocalData:x,errorContainerClassName:b,errorDetailsClassName:v,showErrorDetails:y}),children:(0,n.jsx)(h.Suspense,{fallback:(0,n.jsx)(_e,{fallback:l,loadingType:e,loadingShape:s,loadingText:i,loadingSize:o,loadingContainerClassName:a,loadingTextClassName:d,loadingClassName:r}),...f,children:t?(0,n.jsx)(Vs,{}):c})})}));me.displayName="Suspense";var Vs=()=>{throw new Promise(()=>{})};const qs="styles-module__wrapper___jXPV3",Fs="styles-module__fullWidth___eKyGB",Ps="styles-module__label___MyTeo",Gs="styles-module__required___TV-m8",Hs="styles-module__inputContainer___VvGBl",Ks="styles-module__textarea___AjX9N",Xs="styles-module__small___zMx0G",Us="styles-module__medium___tO2Lb",Zs="styles-module__large___3eU2g",Ys="styles-module__filled___TPQgI",Qs="styles-module__leftIcon___FHp2R",Js="styles-module__rightIcon___dkyvP",en="styles-module__error___d8gLK",tn="styles-module__disabled___IzbfE",sn="styles-module__errorText___Nom7x",nn="styles-module__helperText___97Def";var z={wrapper:qs,fullWidth:Fs,label:Ps,required:Gs,inputContainer:Hs,textarea:Ks,small:Xs,medium:Us,large:Zs,default:"styles-module__default___vsSxX",filled:Ys,leftIcon:Qs,rightIcon:Js,error:en,disabled:tn,errorText:sn,helperText:nn},pe=(0,h.forwardRef)(({label:l,error:t,helperText:e,leftIcon:s,rightIcon:r,size:i="medium",variant:o="default",fullWidth:a=!1,className:d="",disabled:c,..._},u)=>{const m=[z.textarea,z[i],z[o],t&&z.error,c&&z.disabled,d].filter(Boolean).join(" ");return(0,n.jsxs)("div",{className:[z.wrapper,a&&z.fullWidth].filter(Boolean).join(" "),children:[l&&(0,n.jsxs)("label",{className:z.label,children:[l,_.required&&(0,n.jsx)("span",{className:z.required,children:"*"})]}),(0,n.jsxs)("div",{className:z.inputContainer,children:[s&&(0,n.jsx)("div",{className:z.leftIcon,children:s}),(0,n.jsx)("textarea",{ref:u,className:m,disabled:c,..._}),r&&(0,n.jsx)("div",{className:z.rightIcon,children:r})]}),t&&(0,n.jsx)("span",{className:z.errorText,children:t}),e&&!t&&(0,n.jsx)("span",{className:z.helperText,children:e})]})});pe.displayName="Textarea";function P(l,t,e){let s=e.initialDeps??[],r,i=!0;function o(){var a,d,c;let _;e.key&&((a=e.debug)!=null&&a.call(e))&&(_=Date.now());const u=l();if(!(u.length!==s.length||u.some((p,g)=>s[g]!==p)))return r;s=u;let m;if(e.key&&((d=e.debug)!=null&&d.call(e))&&(m=Date.now()),r=t(...u),e.key&&((c=e.debug)!=null&&c.call(e))){const p=Math.round((Date.now()-_)*100)/100,g=Math.round((Date.now()-m)*100)/100,N=g/16,x=(b,v)=>{for(b=String(b);b.length<v;)b=" "+b;return b};console.info(`%c⏱ ${x(g,5)} /${x(p,5)} ms`,`
4
+ font-size: .6rem;
5
+ font-weight: bold;
6
+ color: hsl(${Math.max(0,Math.min(120-120*N,120))}deg 100% 31%);`,e?.key)}return e?.onChange&&!(i&&e.skipInitialOnChange)&&e.onChange(r),i=!1,r}return o.updateDeps=a=>{s=a},o}function te(l,t){if(l===void 0)throw new Error(`Unexpected undefined${t?`: ${t}`:""}`);return l}var rn=(l,t)=>Math.abs(l-t)<1.01,fe=(l,t,e)=>{let s;return function(...r){l.clearTimeout(s),s=l.setTimeout(()=>t.apply(this,r),e)}},se=l=>{const{offsetWidth:t,offsetHeight:e}=l;return{width:t,height:e}},ln=l=>l,on=l=>{const t=Math.max(l.startIndex-l.overscan,0),e=Math.min(l.endIndex+l.overscan,l.count-1),s=[];for(let r=t;r<=e;r++)s.push(r);return s},an=(l,t)=>{const e=l.scrollElement;if(!e)return;const s=l.targetWindow;if(!s)return;const r=o=>{const{width:a,height:d}=o;t({width:Math.round(a),height:Math.round(d)})};if(r(se(e)),!s.ResizeObserver)return()=>{};const i=new s.ResizeObserver(o=>{const a=()=>{const d=o[0];if(d?.borderBoxSize){const c=d.borderBoxSize[0];if(c){r({width:c.inlineSize,height:c.blockSize});return}}r(se(e))};l.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(a):a()});return i.observe(e,{box:"border-box"}),()=>{i.unobserve(e)}},H={passive:!0},cn=(l,t)=>{const e=l.scrollElement;if(!e)return;const s=()=>{t({width:e.innerWidth,height:e.innerHeight})};return s(),e.addEventListener("resize",s,H),()=>{e.removeEventListener("resize",s)}},Y=typeof window>"u"?!0:"onscrollend"in window,dn=(l,t)=>{const e=l.scrollElement;if(!e)return;const s=l.targetWindow;if(!s)return;let r=0;const i=l.options.useScrollendEvent&&Y?()=>{}:fe(s,()=>{t(r,!1)},l.options.isScrollingResetDelay),o=_=>()=>{const{horizontal:u,isRtl:m}=l.options;r=u?e.scrollLeft*(m&&-1||1):e.scrollTop,i(),t(r,_)},a=o(!0),d=o(!1);e.addEventListener("scroll",a,H);const c=l.options.useScrollendEvent&&Y;return c&&e.addEventListener("scrollend",d,H),()=>{e.removeEventListener("scroll",a),c&&e.removeEventListener("scrollend",d)}},un=(l,t)=>{const e=l.scrollElement;if(!e)return;const s=l.targetWindow;if(!s)return;let r=0;const i=l.options.useScrollendEvent&&Y?()=>{}:fe(s,()=>{t(r,!1)},l.options.isScrollingResetDelay),o=_=>()=>{r=e[l.options.horizontal?"scrollX":"scrollY"],i(),t(r,_)},a=o(!0),d=o(!1);e.addEventListener("scroll",a,H);const c=l.options.useScrollendEvent&&Y;return c&&e.addEventListener("scrollend",d,H),()=>{e.removeEventListener("scroll",a),c&&e.removeEventListener("scrollend",d)}},_n=(l,t,e)=>{if(t?.borderBoxSize){const s=t.borderBoxSize[0];if(s)return Math.round(s[e.options.horizontal?"inlineSize":"blockSize"])}return l[e.options.horizontal?"offsetWidth":"offsetHeight"]},hn=(l,{adjustments:t=0,behavior:e},s)=>{var r,i;const o=l+t;(i=(r=s.scrollElement)==null?void 0:r.scrollTo)==null||i.call(r,{[s.options.horizontal?"left":"top"]:o,behavior:e})},mn=(l,{adjustments:t=0,behavior:e},s)=>{var r,i;const o=l+t;(i=(r=s.scrollElement)==null?void 0:r.scrollTo)==null||i.call(r,{[s.options.horizontal?"left":"top"]:o,behavior:e})},pn=class{constructor(l){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.currentScrollToIndex=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.laneAssignments=new Map,this.pendingMeasuredCacheIndexes=[],this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let t=null;const e=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(s=>{s.forEach(r=>{const i=()=>{this._measureElement(r.target,r)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(i):i()})}));return{disconnect:()=>{var s;(s=e())==null||s.disconnect(),t=null},observe:s=>{var r;return(r=e())==null?void 0:r.observe(s,{box:"border-box"})},unobserve:s=>{var r;return(r=e())==null?void 0:r.unobserve(s)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([e,s])=>{typeof s>"u"&&delete t[e]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:ln,rangeExtractor:on,onChange:()=>{},measureElement:_n,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...t}},this.notify=t=>{var e,s;(s=(e=this.options).onChange)==null||s.call(e,this,t)},this.maybeNotify=P(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),t=>{this.notify(t)},{key:process.env.NODE_ENV!=="production"&&"maybeNotify",debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(t=>t()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var t;const e=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==e){if(this.cleanup(),!e){this.maybeNotify();return}this.scrollElement=e,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((t=this.scrollElement)==null?void 0:t.window)??null,this.elementsCache.forEach(s=>{this.observer.observe(s)}),this.unsubs.push(this.options.observeElementRect(this,s=>{this.scrollRect=s,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(s,r)=>{this.scrollAdjustments=0,this.scrollDirection=r?this.getScrollOffset()<s?"forward":"backward":null,this.scrollOffset=s,this.isScrolling=r,this.maybeNotify()})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(t,e)=>{const s=new Map,r=new Map;for(let i=e-1;i>=0;i--){const o=t[i];if(s.has(o.lane))continue;const a=r.get(o.lane);if(a==null||o.end>a.end?r.set(o.lane,o):o.end<a.end&&s.set(o.lane,!0),s.size===this.options.lanes)break}return r.size===this.options.lanes?Array.from(r.values()).sort((i,o)=>i.end===o.end?i.index-o.index:i.end-o.end)[0]:void 0},this.getMeasurementOptions=P(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes],(t,e,s,r,i,o)=>(this.prevLanes!==void 0&&this.prevLanes!==o&&(this.lanesChangedFlag=!0),this.prevLanes=o,this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:e,scrollMargin:s,getItemKey:r,enabled:i,lanes:o}),{key:!1}),this.getMeasurements=P(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:e,scrollMargin:s,getItemKey:r,enabled:i,lanes:o},a)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>t)for(const u of this.laneAssignments.keys())u>=t&&this.laneAssignments.delete(u);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMeasuredCacheIndexes=[]),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(u=>{this.itemSizeCache.set(u.key,u.size)}));const d=this.lanesSettling?0:this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[],this.lanesSettling&&this.measurementsCache.length===t&&(this.lanesSettling=!1);const c=this.measurementsCache.slice(0,d),_=new Array(o).fill(void 0);for(let u=0;u<d;u++){const m=c[u];m&&(_[m.lane]=u)}for(let u=d;u<t;u++){const m=r(u),p=this.laneAssignments.get(u);let g,N;if(p!==void 0&&this.options.lanes>1){g=p;const y=_[g],f=y!==void 0?c[y]:void 0;N=f?f.end+this.options.gap:e+s}else{const y=this.options.lanes===1?c[u-1]:this.getFurthestMeasurement(c,u);N=y?y.end+this.options.gap:e+s,g=y?y.lane:u%this.options.lanes,this.options.lanes>1&&this.laneAssignments.set(u,g)}const x=a.get(m),b=typeof x=="number"?x:this.options.estimateSize(u),v=N+b;c[u]={index:u,start:N,size:b,end:v,key:m,lane:g},_[g]=u}return this.measurementsCache=c,c},{key:process.env.NODE_ENV!=="production"&&"getMeasurements",debug:()=>this.options.debug}),this.calculateRange=P(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(t,e,s,r)=>this.range=t.length>0&&e>0?fn({measurements:t,outerSize:e,scrollOffset:s,lanes:r}):null,{key:process.env.NODE_ENV!=="production"&&"calculateRange",debug:()=>this.options.debug}),this.getVirtualIndexes=P(()=>{let t=null,e=null;const s=this.calculateRange();return s&&(t=s.startIndex,e=s.endIndex),this.maybeNotify.updateDeps([this.isScrolling,t,e]),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,e]},(t,e,s,r,i)=>r===null||i===null?[]:t({startIndex:r,endIndex:i,overscan:e,count:s}),{key:process.env.NODE_ENV!=="production"&&"getVirtualIndexes",debug:()=>this.options.debug}),this.indexFromElement=t=>{const e=this.options.indexAttribute,s=t.getAttribute(e);return s?parseInt(s,10):(console.warn(`Missing attribute name '${e}={index}' on measured element.`),-1)},this._measureElement=(t,e)=>{const s=this.indexFromElement(t),r=this.measurementsCache[s];if(!r)return;const i=r.key,o=this.elementsCache.get(i);o!==t&&(o&&this.observer.unobserve(o),this.observer.observe(t),this.elementsCache.set(i,t)),t.isConnected&&this.resizeItem(s,this.options.measureElement(t,e,this))},this.resizeItem=(t,e)=>{const s=this.measurementsCache[t];if(!s)return;const r=e-(this.itemSizeCache.get(s.key)??s.size);r!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(s,r,this):s.start<this.getScrollOffset()+this.scrollAdjustments)&&(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("correction",r),this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=r,behavior:void 0})),this.pendingMeasuredCacheIndexes.push(s.index),this.itemSizeCache=new Map(this.itemSizeCache.set(s.key,e)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((e,s)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(s))});return}this._measureElement(t,void 0)},this.getVirtualItems=P(()=>[this.getVirtualIndexes(),this.getMeasurements()],(t,e)=>{const s=[];for(let r=0,i=t.length;r<i;r++){const o=e[t[r]];s.push(o)}return s},{key:process.env.NODE_ENV!=="production"&&"getVirtualItems",debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{const e=this.getMeasurements();if(e.length!==0)return te(e[ye(0,e.length-1,s=>te(e[s]).start,t)])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{const t=this.scrollElement.document.documentElement;return this.options.horizontal?t.scrollWidth-this.scrollElement.innerWidth:t.scrollHeight-this.scrollElement.innerHeight}},this.getOffsetForAlignment=(t,e,s=0)=>{if(!this.scrollElement)return 0;const r=this.getSize(),i=this.getScrollOffset();e==="auto"&&(e=t>=i+r?"end":"start"),e==="center"?t+=(s-r)/2:e==="end"&&(t-=r);const o=this.getMaxScrollOffset();return Math.max(Math.min(o,t),0)},this.getOffsetForIndex=(t,e="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));const s=this.measurementsCache[t];if(!s)return;const r=this.getSize(),i=this.getScrollOffset();if(e==="auto")if(s.end>=i+r-this.options.scrollPaddingEnd)e="end";else if(s.start<=i+this.options.scrollPaddingStart)e="start";else return[i,e];if(e==="end"&&t===this.options.count-1)return[this.getMaxScrollOffset(),e];const o=e==="end"?s.end+this.options.scrollPaddingEnd:s.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(o,e,s.size),e]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(t,{align:e="start",behavior:s}={})=>{s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,e),{adjustments:void 0,behavior:s})},this.scrollToIndex=(t,{align:e="auto",behavior:s}={})=>{s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),t=Math.max(0,Math.min(t,this.options.count-1)),this.currentScrollToIndex=t;let r=0;const i=10,o=d=>{if(!this.targetWindow)return;const c=this.getOffsetForIndex(t,d);if(!c){console.warn("Failed to get offset for index:",t);return}const[_,u]=c;this._scrollToOffset(_,{adjustments:void 0,behavior:s}),this.targetWindow.requestAnimationFrame(()=>{if(!this.targetWindow)return;const m=()=>{if(this.currentScrollToIndex!==t)return;const p=this.getScrollOffset(),g=this.getOffsetForIndex(t,u);if(!g){console.warn("Failed to get offset for index:",t);return}rn(g[0],p)||a(u)};this.isDynamicMode()?this.targetWindow.requestAnimationFrame(m):m()})},a=d=>{this.targetWindow&&this.currentScrollToIndex===t&&(r++,r<i?(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("Schedule retry",r,i),this.targetWindow.requestAnimationFrame(()=>o(d))):console.warn(`Failed to scroll to index ${t} after ${i} attempts.`))};o(e)},this.scrollBy=(t,{behavior:e}={})=>{e==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+t,{adjustments:void 0,behavior:e})},this.getTotalSize=()=>{var t;const e=this.getMeasurements();let s;if(e.length===0)s=this.options.paddingStart;else if(this.options.lanes===1)s=((t=e[e.length-1])==null?void 0:t.end)??0;else{const r=Array(this.options.lanes).fill(null);let i=e.length-1;for(;i>=0&&r.some(o=>o===null);){const o=e[i];r[o.lane]===null&&(r[o.lane]=o.end),i--}s=Math.max(...r.filter(o=>o!==null))}return Math.max(s-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:e,behavior:s})=>{this.options.scrollToFn(t,{behavior:s,adjustments:e},this)},this.measure=()=>{this.itemSizeCache=new Map,this.laneAssignments=new Map,this.notify(!1)},this.setOptions(l)}},ye=(l,t,e,s)=>{for(;l<=t;){const r=(l+t)/2|0,i=e(r);if(i<s)l=r+1;else if(i>s)t=r-1;else return r}return l>0?l-1:0};function fn({measurements:l,outerSize:t,scrollOffset:e,lanes:s}){const r=l.length-1,i=d=>l[d].start;if(l.length<=s)return{startIndex:0,endIndex:r};let o=ye(0,r,i,e),a=o;if(s===1)for(;a<r&&l[a].end<e+t;)a++;else if(s>1){const d=Array(s).fill(0);for(;a<r&&d.some(_=>_<e+t);){const _=l[a];d[_.lane]=_.end,a++}const c=Array(s).fill(e+t);for(;o>=0&&c.some(_=>_>=e);){const _=l[o];c[_.lane]=_.start,o--}o=Math.max(0,o-o%s),a=Math.min(r,a+(s-1-a%s))}return{startIndex:o,endIndex:a}}var ne=typeof document<"u"?h.useLayoutEffect:h.useEffect;function ge({useFlushSync:l=!0,...t}){const e=h.useReducer(()=>({}),{})[1],s={...t,onChange:(i,o)=>{var a;l&&o?(0,Ce.flushSync)(e):e(),(a=t.onChange)==null||a.call(t,i,o)}},[r]=h.useState(()=>new pn(s));return r.setOptions(s),ne(()=>r._didMount(),[]),ne(()=>r._willUpdate()),r}function yn(l){return ge({observeElementRect:an,observeElementOffset:dn,scrollToFn:mn,...l})}function gn(l){return ge({getScrollElement:()=>typeof document<"u"?window:null,observeElementRect:cn,observeElementOffset:un,scrollToFn:hn,initialOffset:()=>typeof document<"u"?window.scrollY:0,...l})}const vn="styles-module__virtualList___pM6rN",xn="styles-module__emptyContainer___rm938",bn="styles-module__virtualListInner___HxRzc",jn="styles-module__virtualListItems___p19-a",wn="styles-module__loadingMore___zAdLM",Nn="styles-module__endOfList___5cYFh";var q={virtualList:vn,emptyContainer:xn,virtualListInner:bn,virtualListItems:jn,loadingMore:wn,endOfList:Nn};function Cn({data:l,hasNextPage:t,isFetchingNextPage:e,fetchNextPage:s,renderItem:r,estimateSize:i=200,overscan:o=5,height:a="600px",getItemKey:d,emptyState:c,loadingIndicator:_,endOfListIndicator:u,emptyText:m="No data",loadingMoreText:p="Loading more...",endOfListText:g="No more items",flexClass:N,outerClass:x,innerClass:b,...v}){const y=(0,h.useRef)(null),f=Array.isArray(l)?l:[],C=f.length,S=yn({count:t?C+1:C,getScrollElement:()=>y.current,estimateSize:typeof i=="number"?()=>i:i,overscan:o,...v}),A=S.getVirtualItems();(0,h.useEffect)(()=>{const[M]=[...A].reverse();M&&M.index>=C-1&&t&&!e&&s&&s()},[t,s,C,e,A]);const G=(0,h.useCallback)(()=>(0,n.jsx)("div",{className:q.virtualList,style:{height:typeof a=="number"?`${a}px`:a},children:c??(0,n.jsx)("div",{className:q.emptyContainer,children:(0,n.jsx)("span",{children:m})})}),[c,a,m]),j=(0,h.useCallback)(()=>_||(0,n.jsx)("div",{className:q.loadingMore,children:(0,n.jsx)("span",{children:p})}),[_,p]),E=(0,h.useCallback)(()=>u||(0,n.jsx)("div",{className:q.endOfList,children:(0,n.jsx)("span",{children:g})}),[u,g]);return C===0?G():(0,n.jsx)("div",{ref:y,className:`${q.virtualList} ${x??""}`,style:{height:typeof a=="number"?`${a}px`:a},children:(0,n.jsx)("div",{className:`${q.virtualListInner} ${b??""}`,style:{height:`${S.getTotalSize()}px`},children:(0,n.jsx)("div",{className:`${q.virtualListItems} ${N??""}`,style:{transform:`translateY(${A[0]?.start??0}px)`,paddingTop:"2px"},children:A.map(M=>{const L=M.index>C-1,J=f[M.index];return(0,n.jsx)("div",{"data-index":M.index,ref:S.measureElement,children:L?t?j():E():(0,n.jsx)("div",{children:r(J,M.index)},d(J,M.index))},M.key)})})})})}var En=(0,h.memo)(Cn);const In="styles-module__virtualList___xmj2v",Sn="styles-module__virtualListInner___quD74",Ln="styles-module__virtualListItems___-Muml",$n="styles-module__virtualListRow___h3pzX",Mn="styles-module__emptyContainer___LIy8r",On="styles-module__loadingMore___Mzf-p",Dn="styles-module__endOfList___g5G--";var F={virtualList:In,virtualListInner:Sn,virtualListItems:Ln,virtualListRow:$n,emptyContainer:Mn,loadingMore:On,endOfList:Dn};function zn({data:l,hasNextPage:t,isFetchingNextPage:e,fetchNextPage:s,renderItem:r,estimateSize:i=200,overscan:o=5,height:a,getItemKey:d,emptyState:c,loadingIndicator:_,endOfListIndicator:u,emptyText:m="No data",loadingMoreText:p="Loading more...",endOfListText:g="No more items",flexClass:N,outerClass:x,innerClass:b,...v}){const y=Array.isArray(l)?l:[],f=y.length,C=gn({count:t?f+1:f,estimateSize:typeof i=="number"?()=>i:i,overscan:o,...v}),S=C.getVirtualItems();(0,h.useEffect)(()=>{const E=S[S.length-1];E&&E.index>=f&&t&&!e&&s&&s()},[S,t,e,s,f]);const A=(0,h.useCallback)(()=>(0,n.jsx)("div",{className:F.virtualList,style:{height:typeof a=="number"?`${a}px`:a??"auto"},children:c??(0,n.jsx)("div",{className:F.emptyContainer,children:(0,n.jsx)("span",{children:m})})}),[c,a,m]),G=(0,h.useCallback)(()=>_??(0,n.jsx)("div",{className:F.loadingMore,children:(0,n.jsx)("span",{children:p})}),[_,p]),j=(0,h.useCallback)(()=>u??(0,n.jsx)("div",{className:F.endOfList,children:(0,n.jsx)("span",{children:g})}),[u,g]);return f===0?A():(0,n.jsx)("div",{className:`${F.virtualList} ${x??""}`,children:(0,n.jsx)("div",{className:`${F.virtualListInner} ${b??""}`,style:{height:C.getTotalSize()},children:(0,n.jsx)("div",{className:`${F.virtualListItems} ${N??""}`,style:{transform:`translateY(${S[0]?.start??0}px)`},children:S.map(E=>{const M=E.index>=f,L=y[E.index];return(0,n.jsx)("div",{"data-index":E.index,ref:C.measureElement,children:M?t?G():j():L==null?(0,n.jsx)("div",{},`missing-${E.index}`):(0,n.jsx)("div",{children:r(L,E.index)},d(L,E.index))},E.key)})})})})}var Tn=(0,h.memo)(zn);exports.Button=U;exports.Dropdown=re;exports.Icon=le;exports.Input=Z;exports.KeyValueEditor=oe;exports.LayoutSwitcher=de;exports.SearchInput=ie;exports.ShowFilter=ae;exports.SlideDownSwitcher=Q;exports.Slider=ue;exports.Suspense=me;exports.Textarea=pe;exports.ThemeSwitcher=ce;exports.VirtualList=En;exports.VirtualWindowList=Tn;
7
+
8
+ //# sourceMappingURL=components.cjs.map