nfx-ui 0.15.0 → 0.16.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.
- package/dist/animations.cjs +1 -1
- package/dist/animations.mjs +1 -1
- package/dist/apis.cjs +1 -1
- package/dist/apis.mjs +1 -1
- package/dist/components.cjs +3 -3
- package/dist/components.cjs.map +1 -1
- package/dist/components.mjs +172 -171
- package/dist/components.mjs.map +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.mjs +1 -1
- package/dist/events.cjs +1 -1
- package/dist/events.mjs +1 -1
- package/dist/hooks.cjs +1 -1
- package/dist/hooks.mjs +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.mjs +1 -1
- package/dist/languages.cjs +1 -1
- package/dist/languages.mjs +1 -1
- package/dist/layouts.cjs +1 -1
- package/dist/layouts.mjs +1 -1
- package/dist/navigations.cjs +1 -1
- package/dist/navigations.mjs +1 -1
- package/dist/pixel-blast.cjs +1 -1
- package/dist/pixel-blast.mjs +1 -1
- package/dist/preference.cjs +1 -1
- package/dist/preference.mjs +1 -1
- package/dist/services.cjs +1 -1
- package/dist/services.mjs +1 -1
- package/dist/src/designs/components/SearchInput/index.d.ts +3 -1
- package/dist/src/designs/components/SearchInput/index.d.ts.map +1 -1
- package/dist/stores.cjs +1 -1
- package/dist/stores.mjs +1 -1
- package/dist/themes.cjs +1 -1
- package/dist/themes.mjs +1 -1
- package/dist/types.cjs +1 -1
- package/dist/types.mjs +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.mjs +1 -1
- package/package.json +31 -30
package/dist/components.cjs
CHANGED
|
@@ -1,8 +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)}.styles-module__loading___bgEAk svg polyline.styles-module__front___hSxig{fill:none;stroke:var(--color-primary);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:var(--radius-button);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-radius:var(--radius-button);border-left:10px solid var(--color-bg);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-radius:var(--radius-button);border-left:4px solid var(--color-bg);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:var(--radius-button);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:"";background:var(--color-bg);width:.5rem;height:.5rem;transform:translate3d(calc(var(--x) - 50%), calc(var(--y) - 50%), 0);will-change:transform;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:var(--color-bg);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}.styles-module__button___RbliA{border-radius:var(--radius-button);cursor:pointer;border:1px solid #0000;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)}.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:var(--color-danger-fg,#fff)}.styles-module__button___RbliA.styles-module__danger___MW-pg:hover:not(:disabled){background:var(--color-danger-light);border-color:var(--color-danger-light);color:var(--color-danger-fg,#fff);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);border-radius:var(--radius-card);cursor:pointer;text-align:left;background:var(--color-bg-2);width:100%;color:var(--color-fg-text);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:var(--color-danger)}.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);border-radius:var(--radius-card);min-width:100%;box-shadow:0 .5rem 1rem var(--color-shadow);z-index:1000;animation:.15s ease-out Dropdown-module__slideDown___sRCmO;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow:hidden}@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);border-radius:var(--radius-input);background:var(--color-bg);width:100%;color:var(--color-fg-text);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), .1)}.styles-module__input___IZDc3::placeholder{color:var(--color-fg-muted);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);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), .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:var(--color-primary-fg)}.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);border-radius:var(--radius-input);width:100%;color:var(--color-fg-text);background:var(--color-bg-2);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);border-radius:var(--radius-button);background:var(--color-bg);color:var(--color-fg-muted);cursor:pointer;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:var(--color-primary-fg);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);color:var(--color-primary-fg)}.styles-module__optionsContainer___LOzlO{background:var(--color-bg-2);border-radius:var(--radius-card);border:1px solid var(--color-border-4);gap:.5rem;padding:.5rem;display:flex}.styles-module__option___abhnC{border:1px solid var(--color-border-4);border-radius:var(--radius-button);background:var(--color-bg);color:var(--color-fg);cursor:pointer;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:var(--color-primary-fg);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);color:var(--color-primary-fg)}.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{border-radius:var(--radius-button);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;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 rgba(var(--color-primary-rgb), .25)}.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 rgba(var(--color-primary-rgb), .25)}.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);border-radius:var(--radius-button);min-width:100%;box-shadow:0 .5rem 1rem var(--color-shadow);z-index:1000;transform-origin:top;visibility:hidden;pointer-events:none;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow:hidden}.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 var(--color-shadow)}}.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{border-radius:var(--radius-badge);background-color:var(--color-bg-3);width:100%;height:.375rem;position:relative;overflow:hidden}.styles-module__sliderRange___U3g0-{background-color:var(--color-primary);border-radius:var(--radius-badge);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), .1), rgba(var(--color-error-rgb), .05));border:2px solid rgba(var(--color-error-rgb), .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);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);border-radius:var(--radius-card);background:var(--color-bg-2);width:100%;transition:all .2s;overflow:hidden}.styles-module__errorDetailsContainer___eywMo:hover{border-color:var(--color-border-hover);background:var(--color-bg-3)}.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);border-top:1px solid var(--color-border);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{border-radius:var(--radius-button);background:var(--color-primary);color:var(--color-primary-fg);cursor:pointer;box-shadow:0 2px 8px var(--color-shadow);border:none;justify-content:center;align-items:center;gap:.5rem;padding:.75rem 2rem;font-size:.9375rem;font-weight:500;transition:all .2s;display:inline-flex}.styles-module__retryButton___TA4jm:hover{box-shadow:0 4px 16px var(--color-shadow);background:var(--color-primary-light);color:var(--color-primary-fg);transform:translateY(-2px)}.styles-module__retryButton___TA4jm:active{box-shadow:0 2px 8px var(--color-shadow);transform:translateY(0)}.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{border-radius:var(--radius-button);color:var(--color-fg-muted);border:1px solid var(--color-border-4);cursor:pointer;background:0 0;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);border-radius:var(--radius-input);background:var(--color-bg);width:100%;color:var(--color-fg-text);resize:vertical;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), .1)}.styles-module__textarea___AjX9N::placeholder{color:var(--color-fg-muted);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);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);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), .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:var(--radius-button);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;min-height:0;display:flex;overflow:hidden}.styles-module__sidebarContent___iAwiw{flex-direction:column;flex:1;min-height:0;padding-top:1rem;display:flex;overflow:hidden}.styles-module__menuWrapper___DKuEv{flex:1;min-height:0;overflow:hidden auto}.styles-module__sidebarFooter___qiPXO{flex-shrink:0;margin-top:auto}.styles-module__menuWrapper___DKuEv::-webkit-scrollbar{width:0;height:0}.styles-module__menuWrapper___DKuEv{scrollbar-width:none;-ms-overflow-style:none}.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;min-height:0!important;display:flex!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-sidebar-container{background-color:var(--color-bg-2)!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{border-radius:var(--radius-button)!important;color:var(--color-fg-text)!important;margin:.125rem .5rem!important;padding:.5rem .75rem!important;font-size:.875rem!important;transition:background-color .2s,color .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:var(--color-primary-fg)!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-icon,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-label,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-submenu-expand-icon{color:var(--color-primary-fg)!important}.styles-module__sidebar___BMt0j .ps-menu-icon{width:1.25rem!important;height:1.25rem!important;color:var(--color-fg-text)!important}.styles-module__sidebar___BMt0j .ps-submenu-content{background-color:var(--color-bg-3)!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}.styles-module__logoutContainer___7NwBL{border-top:1px solid var(--color-separator);padding:.5rem}.styles-module__logoutButton___rfD6u{border-radius:var(--radius-button);width:100%;color:var(--color-fg-text);cursor:pointer;white-space:nowrap;background:0 0;border:none;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: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__hiddenText___z183T{opacity:0;width:0;max-width:0;overflow:hidden}.styles-module__visibleText___lfsv-{opacity:1;width:auto;max-width:200px}.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%;box-shadow:0 .125rem .25rem 0 var(--color-shadow);position:fixed;top:0}.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__sidebarChrome___q0pw5{z-index:101;box-sizing:border-box;position:fixed;left:0}.styles-module__sidebar___ij-8-{height:100%;min-height: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__sidebarChrome___q0pw5{z-index:999}}.styles-module__mainWrapper___AiTAw{flex-direction:row;flex:1;display:flex;position:relative}.styles-module__sidebarContainer___X4yj8{z-index:99;box-sizing:border-box;flex-direction:column;min-height:0;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__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}.style-module__container___Hh3-c{width:100%;height:100%;position:relative;overflow:hidden}
|
|
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)}.styles-module__loading___bgEAk svg polyline.styles-module__front___hSxig{fill:none;stroke:var(--color-primary);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:var(--radius-button);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-radius:var(--radius-button);border-left:10px solid var(--color-bg);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-radius:var(--radius-button);border-left:4px solid var(--color-bg);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:var(--radius-button);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:"";background:var(--color-bg);width:.5rem;height:.5rem;transform:translate3d(calc(var(--x) - 50%), calc(var(--y) - 50%), 0);will-change:transform;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:var(--color-bg);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}.styles-module__button___RbliA{border-radius:var(--radius-button);cursor:pointer;border:1px solid #0000;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)}.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:var(--color-danger-fg,#fff)}.styles-module__button___RbliA.styles-module__danger___MW-pg:hover:not(:disabled){background:var(--color-danger-light);border-color:var(--color-danger-light);color:var(--color-danger-fg,#fff);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);border-radius:var(--radius-card);cursor:pointer;text-align:left;background:var(--color-bg-2);width:100%;color:var(--color-fg-text);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:var(--color-danger)}.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);border-radius:var(--radius-card);min-width:100%;box-shadow:0 .5rem 1rem var(--color-shadow);z-index:1000;animation:.15s ease-out Dropdown-module__slideDown___sRCmO;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow:hidden}@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);border-radius:var(--radius-input);background:var(--color-bg);width:100%;color:var(--color-fg-text);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), .1)}.styles-module__input___IZDc3::placeholder{color:var(--color-fg-muted);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);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), .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:var(--color-primary-fg)}.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__searchContainerFull___cEuNS{max-width:none}.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);border-radius:var(--radius-input);width:100%;color:var(--color-fg-text);background:var(--color-bg-2);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);border-radius:var(--radius-button);background:var(--color-bg);color:var(--color-fg-muted);cursor:pointer;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:var(--color-primary-fg);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);color:var(--color-primary-fg)}.styles-module__optionsContainer___LOzlO{background:var(--color-bg-2);border-radius:var(--radius-card);border:1px solid var(--color-border-4);gap:.5rem;padding:.5rem;display:flex}.styles-module__option___abhnC{border:1px solid var(--color-border-4);border-radius:var(--radius-button);background:var(--color-bg);color:var(--color-fg);cursor:pointer;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:var(--color-primary-fg);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);color:var(--color-primary-fg)}.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{border-radius:var(--radius-button);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;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 rgba(var(--color-primary-rgb), .25)}.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 rgba(var(--color-primary-rgb), .25)}.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);border-radius:var(--radius-button);min-width:100%;box-shadow:0 .5rem 1rem var(--color-shadow);z-index:1000;transform-origin:top;visibility:hidden;pointer-events:none;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow:hidden}.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 var(--color-shadow)}}.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{border-radius:var(--radius-badge);background-color:var(--color-bg-3);width:100%;height:.375rem;position:relative;overflow:hidden}.styles-module__sliderRange___U3g0-{background-color:var(--color-primary);border-radius:var(--radius-badge);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), .1), rgba(var(--color-error-rgb), .05));border:2px solid rgba(var(--color-error-rgb), .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);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);border-radius:var(--radius-card);background:var(--color-bg-2);width:100%;transition:all .2s;overflow:hidden}.styles-module__errorDetailsContainer___eywMo:hover{border-color:var(--color-border-hover);background:var(--color-bg-3)}.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);border-top:1px solid var(--color-border);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{border-radius:var(--radius-button);background:var(--color-primary);color:var(--color-primary-fg);cursor:pointer;box-shadow:0 2px 8px var(--color-shadow);border:none;justify-content:center;align-items:center;gap:.5rem;padding:.75rem 2rem;font-size:.9375rem;font-weight:500;transition:all .2s;display:inline-flex}.styles-module__retryButton___TA4jm:hover{box-shadow:0 4px 16px var(--color-shadow);background:var(--color-primary-light);color:var(--color-primary-fg);transform:translateY(-2px)}.styles-module__retryButton___TA4jm:active{box-shadow:0 2px 8px var(--color-shadow);transform:translateY(0)}.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{border-radius:var(--radius-button);color:var(--color-fg-muted);border:1px solid var(--color-border-4);cursor:pointer;background:0 0;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);border-radius:var(--radius-input);background:var(--color-bg);width:100%;color:var(--color-fg-text);resize:vertical;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), .1)}.styles-module__textarea___AjX9N::placeholder{color:var(--color-fg-muted);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);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);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), .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:var(--radius-button);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;min-height:0;display:flex;overflow:hidden}.styles-module__sidebarContent___iAwiw{flex-direction:column;flex:1;min-height:0;padding-top:1rem;display:flex;overflow:hidden}.styles-module__menuWrapper___DKuEv{flex:1;min-height:0;overflow:hidden auto}.styles-module__sidebarFooter___qiPXO{flex-shrink:0;margin-top:auto}.styles-module__menuWrapper___DKuEv::-webkit-scrollbar{width:0;height:0}.styles-module__menuWrapper___DKuEv{scrollbar-width:none;-ms-overflow-style:none}.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;min-height:0!important;display:flex!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-sidebar-container{background-color:var(--color-bg-2)!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{border-radius:var(--radius-button)!important;color:var(--color-fg-text)!important;margin:.125rem .5rem!important;padding:.5rem .75rem!important;font-size:.875rem!important;transition:background-color .2s,color .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:var(--color-primary-fg)!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-icon,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-label,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-submenu-expand-icon{color:var(--color-primary-fg)!important}.styles-module__sidebar___BMt0j .ps-menu-icon{width:1.25rem!important;height:1.25rem!important;color:var(--color-fg-text)!important}.styles-module__sidebar___BMt0j .ps-submenu-content{background-color:var(--color-bg-3)!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}.styles-module__logoutContainer___7NwBL{border-top:1px solid var(--color-separator);padding:.5rem}.styles-module__logoutButton___rfD6u{border-radius:var(--radius-button);width:100%;color:var(--color-fg-text);cursor:pointer;white-space:nowrap;background:0 0;border:none;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: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__hiddenText___z183T{opacity:0;width:0;max-width:0;overflow:hidden}.styles-module__visibleText___lfsv-{opacity:1;width:auto;max-width:200px}.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%;box-shadow:0 .125rem .25rem 0 var(--color-shadow);position:fixed;top:0}.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__sidebarChrome___q0pw5{z-index:101;box-sizing:border-box;position:fixed;left:0}.styles-module__sidebar___ij-8-{height:100%;min-height: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__sidebarChrome___q0pw5{z-index:999}}.styles-module__mainWrapper___AiTAw{flex-direction:row;flex:1;display:flex;position:relative}.styles-module__sidebarContainer___X4yj8{z-index:99;box-sizing:border-box;flex-direction:column;min-height:0;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__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}.style-module__container___Hh3-c{width:100%;height:100%;position:relative;overflow:hidden}
|
|
2
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 ge=require("./chunk-chunk-BFrxaqQT.cjs"),xe=require("./chunk-useTheme-DgleVMMh.cjs"),be=require("./chunk-layout-D728gccQ.cjs"),je=require("./chunk-lucide-CP2lvOPY.cjs"),we=require("./chunk-useLayout-BAJHOIL3.cjs"),K=require("./chunk-BounceLoading-CwvDT5HF.cjs");let h=require("react");h=ge.__toESM(h,1);let n=require("react/jsx-runtime"),D=require("motion/react"),Se=require("@tanstack/react-query"),Ne=require("react-dom"),W=require("lucide-react");var Ie="styles-module__button___RbliA",Ce="styles-module__small___yK0Yp",Ee="styles-module__medium___eBTch",Le="styles-module__large___pIZkl",Me="styles-module__primary___qsZpA",$e="styles-module__secondary___SCpPv",Oe="styles-module__outline___rrlk9",De="styles-module__ghost___QMoiH",Re="styles-module__danger___MW-pg",Te="styles-module__fullWidth___-dXBR",ze="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",Fe="styles-module__rightIcon___1mpk0",Ve="styles-module__iconOnly___iOv-U",qe="styles-module__iconContainer___bwvE3",Pe="styles-module__layout___WaGy9",Ge="styles-module__horizontal___lKpGq",He="styles-module__topIcon___bzw6s",Ke="styles-module__bottomIcon___suPfa",N={button:Ie,small:Ce,medium:Ee,large:Le,primary:Me,secondary:$e,outline:Oe,ghost:De,danger:Re,fullWidth:Te,loading:ze,spinner:ke,spin:We,content:Ae,leftIcon:Be,rightIcon:Fe,iconOnly:Ve,iconContainer:qe,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:a,iconOnly:o=!1,iconSize:c,loading:d=!1,disabled:u,children:m,className:_="",...f},g)=>{const w=s||r||i||a,x=!o&&m,j=o&&w&&!x,v=i||a||j,y=[N.button,N[l],N[t],e&&N.fullWidth,d&&N.loading,j&&N.iconOnly,_].filter(Boolean).join(" ");return j?(0,n.jsx)("button",{ref:g,type:"button",className:y,disabled:u||d,...f,children:(0,n.jsxs)("span",{className:N.iconContainer,children:[i&&(0,n.jsx)("span",{className:N.topIcon,children:B(i,c)}),s&&(0,n.jsx)("span",{className:N.leftIcon,children:B(s,c)}),r&&(0,n.jsx)("span",{className:N.rightIcon,children:B(r,c)}),a&&(0,n.jsx)("span",{className:N.bottomIcon,children:B(a,c)})]})}):v?(0,n.jsxs)("button",{ref:g,type:"button",className:y,disabled:u||d,...f,children:[d&&(0,n.jsx)("span",{className:N.spinner}),!d&&(0,n.jsxs)("span",{className:N.layout,children:[i&&(0,n.jsx)("span",{className:N.topIcon,children:B(i,c)}),(0,n.jsxs)("span",{className:N.horizontal,children:[s&&(0,n.jsx)("span",{className:N.leftIcon,children:B(s,c)}),x&&(0,n.jsx)("span",{className:N.content,children:m}),r&&(0,n.jsx)("span",{className:N.rightIcon,children:B(r,c)})]}),a&&(0,n.jsx)("span",{className:N.bottomIcon,children:B(a,c)})]})]}):(0,n.jsxs)("button",{ref:g,type:"button",className:y,disabled:u||d,...f,children:[d&&(0,n.jsx)("span",{className:N.spinner}),s&&!d&&(0,n.jsx)("span",{className:N.leftIcon,children:B(s,c)}),m&&(0,n.jsx)("span",{className:N.content,children:m}),r&&!d&&(0,n.jsx)("span",{className:N.rightIcon,children:B(r,c)})]})});U.displayName="Button";var 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",rt="Dropdown-module__optionsList___Be6RN",nt="Dropdown-module__option___q-NgT",lt="Dropdown-module__selected___-OTW-",z={dropdown:Xe,dropdownButton:Ue,disabled:Ze,error:Ye,buttonText:Qe,chevronIcon:Je,open:et,dropdownMenu:tt,slideDown:st,optionsList:rt,option:nt,selected:lt},ne=(0,h.memo)(({options:l,value:t,onChange:e,placeholder:s="Select an option",disabled:r=!1,error:i=!1,className:a=""})=>{const[o,c]=(0,h.useState)(!1),d=(0,h.useRef)(null);(0,h.useEffect)(()=>{const f=g=>{d.current&&!d.current.contains(g.target)&&c(!1)};return document.addEventListener("mousedown",f),()=>{document.removeEventListener("mousedown",f)}},[]);const u=l.find(f=>f.value===t),m=u?u.label:s,_=f=>{e(f),c(!1)};return(0,n.jsxs)("div",{className:`${z.dropdown} ${a}`,ref:d,children:[(0,n.jsxs)("button",{type:"button",className:`${z.dropdownButton} ${i?z.error:""} ${r?z.disabled:""}`,onClick:()=>!r&&c(!o),disabled:r,"aria-expanded":o,"aria-haspopup":"listbox",children:[(0,n.jsx)("span",{className:z.buttonText,children:m}),(0,n.jsx)(W.ChevronDown,{size:16,className:`${z.chevronIcon} ${o?z.open:""}`})]}),o&&!r&&(0,n.jsx)("div",{className:z.dropdownMenu,children:(0,n.jsx)("ul",{className:z.optionsList,role:"listbox",children:l.map(f=>(0,n.jsx)("li",{className:`${z.option} ${f.value===t?z.selected:""}`,onClick:()=>_(f.value),role:"option","aria-selected":f.value===t,children:f.label},f.value))})})]})});ne.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";var it="styles-module__wrapper___COeGm",at="styles-module__fullWidth___lVU49",ot="styles-module__label___gfOA7",dt="styles-module__required___-zOy5",ct="styles-module__inputContainer___wXY53",ut="styles-module__input___IZDc3",_t="styles-module__small___cuGyE",ht="styles-module__medium___JdDPu",mt="styles-module__large___fMmiG",ft="styles-module__filled___EQ5PQ",pt="styles-module__withLeftIcon___NFn6-",vt="styles-module__withRightIcon___mz-hn",yt="styles-module__leftIcon___jEW5H",gt="styles-module__rightIcon___bA3Eo",xt="styles-module__rightIconInteractive___ccypw",bt="styles-module__containerSmall___20ICq",jt="styles-module__containerLarge___IztuN",wt="styles-module__error___946qV",St="styles-module__disabled___sJvLd",Nt="styles-module__errorMessage___5Mn22",It="styles-module__helperText___T2eui",E={wrapper:it,fullWidth:at,label:ot,required:dt,inputContainer:ct,input:ut,small:_t,medium:ht,large:mt,default:"styles-module__default___-eZTG",filled:ft,withLeftIcon:pt,withRightIcon:vt,leftIcon:yt,rightIcon:gt,rightIconInteractive:xt,containerSmall:bt,containerLarge:jt,error:wt,disabled:St,errorMessage:Nt,helperText:It},Z=(0,h.forwardRef)(({label:l,error:t,helperText:e,leftIcon:s,rightIcon:r,rightIconInteractive:i=!1,size:a="medium",variant:o="default",fullWidth:c=!1,className:d="",disabled:u,...m},_)=>{const f=[E.input,E[a],E[o],t&&E.error,u&&E.disabled,d].filter(Boolean).join(" "),g=[E.wrapper,c&&E.fullWidth].filter(Boolean).join(" "),w=[E.inputContainer,s&&E.withLeftIcon,r&&E.withRightIcon,a&&E[`container${a.charAt(0).toUpperCase()+a.slice(1)}`]].filter(Boolean).join(" ");return(0,n.jsxs)("div",{className:g,children:[l&&(0,n.jsxs)("label",{className:E.label,children:[l,m.required&&(0,n.jsx)("span",{className:E.required,children:"*"})]}),(0,n.jsxs)("div",{className:w,children:[s&&(0,n.jsx)("div",{className:E.leftIcon,children:s}),(0,n.jsx)("input",{ref:_,className:f,disabled:u,...m}),r&&(0,n.jsx)("div",{className:`${E.rightIcon} ${i?E.rightIconInteractive:""}`,children:r})]}),t&&(0,n.jsx)("p",{className:E.errorMessage,children:t}),e&&!t&&(0,n.jsx)("p",{className:E.helperText,children:e})]})});Z.displayName="Input";var Ct="styles-module__container___xeg8O",Et="styles-module__label___qhbKe",Lt="styles-module__error___O-7AY",Mt="styles-module__pairs___owGV3",$t="styles-module__pair___G4WFY",Ot="styles-module__keyInput___wl1M1",Dt="styles-module__valueInput___HiwJ5",Rt="styles-module__removeButton___4-X0b",Tt="styles-module__addButton___QFljt",F={container:Ct,label:Et,error:Lt,pairs:Mt,pair:$t,keyInput:Ot,valueInput:Dt,removeButton:Rt,addButton:Tt},ie=(0,h.memo)(({label:l,pairs:t,onChange:e,valueType:s="string",keyPlaceholder:r="Key",valuePlaceholder:i="Value",valueArrayPlaceholder:a="Value (comma-separated)",removeAriaLabel:o="Remove row",addLabel:c="Add",error:d})=>{const u=s==="array"?a:i,[m,_]=(0,h.useState)(t);(0,h.useEffect)(()=>{_(t)},[t]);const f=()=>{const v=[...m,{key:"",value:s==="array"?[]:""}];_(v),e(v)},g=v=>{const y=m.filter((p,b)=>b!==v);_(y),e(y)},w=(v,y)=>{const p=[...m];p[v]={...p[v],key:y},_(p),e(p)},x=(v,y)=>{const p=[...m];if(s==="array"){const b=y.split(",").map(I=>I.trim()).filter(I=>I.length>0);p[v]={...p[v],value:b}}else p[v]={...p[v],value:y};_(p),e(p)},j=v=>Array.isArray(v)?v.join(", "):v;return(0,n.jsxs)("div",{className:F.container,children:[(0,n.jsx)("label",{className:F.label,children:l}),d&&(0,n.jsx)("div",{className:F.error,children:d}),(0,n.jsx)("div",{className:F.pairs,children:m.map((v,y)=>(0,n.jsxs)("div",{className:F.pair,children:[(0,n.jsx)(Z,{placeholder:r,value:v.key,onChange:p=>w(y,p.target.value),className:F.keyInput}),(0,n.jsx)(Z,{placeholder:u,value:j(v.value),onChange:p=>x(y,p.target.value),className:F.valueInput}),(0,n.jsx)(U,{type:"button",variant:"ghost",onClick:()=>g(y),className:F.removeButton,"aria-label":o,children:(0,n.jsx)(W.Trash2,{size:16})})]},y))}),(0,n.jsxs)(U,{type:"button",variant:"secondary",onClick:f,className:F.addButton,children:[(0,n.jsx)(W.Plus,{size:16}),c]})]})});ie.displayName="KeyValueEditor";var zt="styles-module__searchContainer___86TGN",kt="styles-module__searchIcon___ZInry",Wt="styles-module__searchInput___SqZXQ",At="styles-module__clearBtn___7jExr",X={searchContainer:zt,searchIcon:kt,searchInput:Wt,clearBtn:At},ae=(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})})]})});ae.displayName="SearchInput";var Bt="styles-module__container___nGxdM",Ft="styles-module__toggleContainer___VrsKI",Vt="styles-module__toggleButton___IzD6Z",qt="styles-module__enabled___cao0G",Pt="styles-module__optionsContainer___LOzlO",Gt="styles-module__option___abhnC",Ht="styles-module__active___pqmSi",k={container:Bt,toggleContainer:Ft,toggleButton:Vt,enabled:qt,optionsContainer:Pt,option:Gt,active:Ht},oe=(0,h.memo)(({value:l,onChange:t,filterEnabled:e="Filter on",filterDisabled:s="Filter",enableFilterAriaLabel:r="Enable filter",disableFilterAriaLabel:i="Disable filter",all:a="All",show:o="Show",hide:c="Hide"})=>{const d=()=>{t({...l,enabled:!l.enabled})},u=m=>{t({...l,value:m})};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:d,"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:()=>u(null),children:a}),(0,n.jsxs)("button",{type:"button",className:`${k.option} ${l.value===!0?k.active:""}`,onClick:()=>u(!0),children:[(0,n.jsx)(W.Eye,{size:16}),(0,n.jsx)("span",{children:o})]}),(0,n.jsxs)("button",{type:"button",className:`${k.option} ${l.value===!1?k.active:""}`,onClick:()=>u(!1),children:[(0,n.jsx)(W.EyeOff,{size:16}),(0,n.jsx)("span",{children:c})]})]})]})});oe.displayName="ShowFilter";var 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",rs="styles-module__optionsList___AxhVp",ns="styles-module__option___t1SSw",ls="styles-module__selected___azD4A",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:rs,option:ns,selected:ls},is=({value:l,options:t,getDisplayName:e,onChange:s,status:r="primary"})=>{const[i,a]=(0,h.useState)(!1),o=(0,h.useRef)(null);(0,h.useEffect)(()=>{const d=u=>{o.current&&!o.current.contains(u.target)&&a(!1)};return document.addEventListener("mousedown",d),()=>document.removeEventListener("mousedown",d)},[]);const c=d=>{s(d),a(!1)};return(0,n.jsxs)("div",{className:T.nbSelect,ref:o,children:[(0,n.jsxs)("button",{type:"button",className:`${T.selectButton} ${T[r]}`,onClick:()=>a(!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(d=>(0,n.jsxs)("li",{className:`${T.option} ${d===l?T.selected:""}`,onClick:()=>c(d),role:"option","aria-selected":d===l,children:[(0,n.jsx)("span",{children:e(d)}),d===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"})})]},d))})})]})},Q=(0,h.memo)(is);Q.displayName="SlideDownSwitcher";var de=(0,h.memo)(({status:l="primary",getThemeDisplayName:t,handleChangeTheme:e})=>{const{themeName:s,setTheme:r,availableThemes:i}=xe.useTheme(),a=t??(c=>c),o=c=>{r(c),e?.(c)};return(0,n.jsx)(Q,{value:s,options:i,getDisplayName:a,onChange:o,status:l})});de.displayName="ThemeSwitcher";var ce=(0,h.memo)(({status:l="primary",getLayoutDisplayName:t,handleChangeLayoutMode:e})=>{const{layoutMode:s,setLayoutMode:r}=we.useLayout(),i=t??(o=>o),a=o=>{r(o),e?.(o)};return(0,n.jsx)(Q,{value:s,options:be.LAYOUT_MODE_VALUES,getDisplayName:i,onChange:a,status:l})});ce.displayName="LayoutSwitcher";var as="styles-module__sliderContainer___lgpaD",os="styles-module__fullWidth___ZS8W5",ds="styles-module__labelRow___dkVVM",cs="styles-module__label___bXGZs",us="styles-module__required___FuyfE",_s="styles-module__sliderWrapper___1Wdti",hs="styles-module__sliderRoot___yzOjR",ms="styles-module__sliderTrackWrapper___N72WQ",fs="styles-module__sliderTrack___AltcD",ps="styles-module__sliderRange___U3g0-",vs="styles-module__valueIndicator___aLf0I",ys="styles-module__iconWrapper___wL-b8",gs="styles-module__icon___vHsID",xs="styles-module__errorMessage___qFgGe",bs="styles-module__helperText___tgBGl",M={sliderContainer:as,fullWidth:os,labelRow:ds,label:cs,required:us,sliderWrapper:_s,sliderRoot:hs,sliderTrackWrapper:ms,sliderTrack:fs,sliderRange:ps,valueIndicator:vs,iconWrapper:ys,icon:gs,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:a=!1,label:o,error:c,helperText:d,required:u=!1,className:m="",..._},f)=>{const[g,w]=(0,h.useState)(l),x=(0,h.useRef)(null),[j,v]=(0,h.useState)("middle"),y=(0,D.useMotionValue)(0),p=(0,D.useMotionValue)(0);(0,h.useEffect)(()=>{w(l)},[l]),(0,D.useMotionValueEvent)(y,"change",S=>{if(x.current){const{left:C,right:$}=x.current.getBoundingClientRect();let L;S<C?(v("left"),L=C-S):S>$?(v("right"),L=S-$):(v("middle"),L=0),p.jump(js(L,ee))}});const b=S=>{if(S.buttons>0&&x.current){const{left:C,width:$}=x.current.getBoundingClientRect();let L=e+(S.clientX-C)/$*(s-e);r>0&&(L=Math.round(L/r)*r),L=Math.min(Math.max(L,e),s),w(L),t(L),y.jump(S.clientX)}},I=S=>{b(S),S.currentTarget.setPointerCapture(S.pointerId)},A=()=>{(0,D.animate)(p,0,{type:"spring",bounce:.5})},G=()=>{const S=s-e;return S===0?0:(g-e)/S*100};return(0,n.jsxs)("div",{ref:f,className:[M.sliderContainer,a&&M.fullWidth,m].filter(Boolean).join(" "),..._,children:[o&&(0,n.jsx)("div",{className:M.labelRow,children:(0,n.jsxs)("label",{className:M.label,children:[o,u&&(0,n.jsx)("span",{className:M.required,children:"*"})]})}),(0,n.jsxs)(D.motion.div,{className:M.sliderWrapper,children:[(0,n.jsx)(D.motion.div,{animate:{scale:j==="left"?[1,1.4,1]:1,transition:{duration:.25}},style:{x:(0,D.useTransform)(()=>j==="left"?-p.get():0)},className:M.iconWrapper,children:(0,n.jsx)(W.ChevronLeft,{size:20,className:M.icon})}),(0,n.jsx)("div",{ref:x,className:M.sliderRoot,onPointerMove:b,onPointerDown:I,onPointerUp:A,children:(0,n.jsx)(D.motion.div,{style:{scaleX:(0,D.useTransform)(()=>{if(x.current){const{width:S}=x.current.getBoundingClientRect();return 1+p.get()/S}return 1}),scaleY:(0,D.useTransform)(p,[0,ee],[1,.8]),transformOrigin:(0,D.useTransform)(()=>{if(x.current){const{left:S,width:C}=x.current.getBoundingClientRect();return y.get()<S+C/2?"right":"left"}return"center"})},className:M.sliderTrackWrapper,children:(0,n.jsx)("div",{className:M.sliderTrack,children:(0,n.jsx)(D.motion.div,{className:M.sliderRange,initial:!1,animate:{width:`${G()}%`},transition:{type:"spring",stiffness:300,damping:30}})})})}),(0,n.jsx)(D.motion.div,{animate:{scale:j==="right"?[1,1.4,1]:1,transition:{duration:.25}},style:{x:(0,D.useTransform)(()=>j==="right"?p.get():0)},className:M.iconWrapper,children:(0,n.jsx)(W.ChevronRight,{size:20,className:M.icon})}),i&&!o&&(0,n.jsx)("span",{className:M.valueIndicator,children:Math.round(g)})]}),c&&(0,n.jsx)("p",{className:M.errorMessage,children:c}),d&&!c&&(0,n.jsx)("p",{className:M.helperText,children:d})]})}));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";var ws="styles-module__loadingContainer___OMgwS",Ss="styles-module__loadingText___KRZqR",Ns="styles-module__errorContainer___qhAg2",Is="styles-module__errorIconWrapper___IHZrN",Cs="styles-module__pulse___Lju-z",Es="styles-module__errorIcon___oGDIP",Ls="styles-module__errorContent___F55rQ",Ms="styles-module__errorTitle___hC8D-",$s="styles-module__errorDescription___hZtuP",Os="styles-module__errorDetailsWrapper___-sp8b",Ds="styles-module__errorDetailsContainer___eywMo",Rs="styles-module__errorDetailsSummary___hGEoD",Ts="styles-module__errorDetails___tzCT-",zs="styles-module__errorActions___gtqYw",ks="styles-module__retryButton___TA4jm",Ws="styles-module__retryButtonIcon___vzfp-",As="styles-module__clearLocalDataButton___T3B-K",O={loadingContainer:ws,loadingText:Ss,errorContainer:Ns,errorIconWrapper:Is,pulse:Cs,errorIcon:Es,errorContent:Ls,errorTitle:Ms,errorDescription:$s,errorDetailsWrapper:Os,errorDetailsContainer:Ds,errorDetailsSummary:Rs,errorDetails:Ts,errorActions:zs,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:a,loadingClassName:o})=>{if(l)return(0,n.jsx)(n.Fragment,{children:l});const c=()=>{switch(t){case"ecg":return(0,n.jsx)(K.ECGLoading,{size:r,className:o});case"truck":return(0,n.jsx)(K.TruckLoading,{size:r,className:o});case"bounce":return(0,n.jsx)(K.BounceLoading,{size:r,shape:e,className:o});default:return(0,n.jsx)(K.ECGLoading,{size:r,className:o})}};return(0,n.jsxs)("div",{className:`${O.loadingContainer} ${i||""}`,children:[c(),(0,n.jsx)("p",{className:`${O.loadingText} ${a||""}`,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:a="Details",clearLocalDataText:o="Clear local data",onClearLocalData:c,errorContainerClassName:d,errorDetailsClassName:u,showErrorDetails:m=!1})=>{const _=()=>{try{sessionStorage.clear()}catch{}finally{c?.()}};return e?(0,n.jsx)(n.Fragment,{children:e({error:l,retry:t})}):(0,n.jsxs)("div",{className:`${O.errorContainer} ${d||""}`,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}),m&&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:a}),(0,n.jsx)("pre",{className:`${O.errorDetails} ${u||""}`,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:_,children:(0,n.jsx)("span",{children:o})})]})]})]})});he.displayName="ErrorFallback";var me=(0,h.memo)(({fallback:l,test:t,loadingType:e="ecg",loadingShape:s="square",loadingClassName:r,loadingText:i,loadingSize:a="medium",loadingContainerClassName:o,loadingTextClassName:c,children:d,errorFallback:u,errorTitle:m,errorDescription:_,retryText:f,errorDetailsText:g,clearLocalDataText:w,onClearLocalData:x,errorContainerClassName:j,errorDetailsClassName:v,showErrorDetails:y=!1,...p})=>(0,n.jsx)(Se.QueryErrorResetBoundary,{...p,children:({reset:b})=>(0,n.jsx)(Bs,{onReset:b,fallbackRender:({error:I,retry:A})=>(0,n.jsx)(he,{error:I,retry:A,errorFallback:u,errorTitle:m,errorDescription:_,retryText:f,errorDetailsText:g,clearLocalDataText:w,onClearLocalData:x,errorContainerClassName:j,errorDetailsClassName:v,showErrorDetails:y}),children:(0,n.jsx)(h.Suspense,{fallback:(0,n.jsx)(_e,{fallback:l,loadingType:e,loadingShape:s,loadingText:i,loadingSize:a,loadingContainerClassName:o,loadingTextClassName:c,loadingClassName:r}),...p,children:t?(0,n.jsx)(Fs,{}):d})})}));me.displayName="Suspense";var Fs=()=>{throw new Promise(()=>{})},Vs="styles-module__wrapper___jXPV3",qs="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",er="styles-module__error___d8gLK",tr="styles-module__disabled___IzbfE",sr="styles-module__errorText___Nom7x",rr="styles-module__helperText___97Def",R={wrapper:Vs,fullWidth:qs,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:er,disabled:tr,errorText:sr,helperText:rr},fe=(0,h.forwardRef)(({label:l,error:t,helperText:e,leftIcon:s,rightIcon:r,size:i="medium",variant:a="default",fullWidth:o=!1,className:c="",disabled:d,...u},m)=>{const _=[R.textarea,R[i],R[a],t&&R.error,d&&R.disabled,c].filter(Boolean).join(" ");return(0,n.jsxs)("div",{className:[R.wrapper,o&&R.fullWidth].filter(Boolean).join(" "),children:[l&&(0,n.jsxs)("label",{className:R.label,children:[l,u.required&&(0,n.jsx)("span",{className:R.required,children:"*"})]}),(0,n.jsxs)("div",{className:R.inputContainer,children:[s&&(0,n.jsx)("div",{className:R.leftIcon,children:s}),(0,n.jsx)("textarea",{ref:m,className:_,disabled:d,...u}),r&&(0,n.jsx)("div",{className:R.rightIcon,children:r})]}),t&&(0,n.jsx)("span",{className:R.errorText,children:t}),e&&!t&&(0,n.jsx)("span",{className:R.helperText,children:e})]})});fe.displayName="Textarea";function P(l,t,e){let s=e.initialDeps??[],r,i=!0;function a(){var o,c,d;let u;e.key&&((o=e.debug)!=null&&o.call(e))&&(u=Date.now());const m=l();if(!(m.length!==s.length||m.some((f,g)=>s[g]!==f)))return r;s=m;let _;if(e.key&&((c=e.debug)!=null&&c.call(e))&&(_=Date.now()),r=t(...m),e.key&&((d=e.debug)!=null&&d.call(e))){const f=Math.round((Date.now()-u)*100)/100,g=Math.round((Date.now()-_)*100)/100,w=g/16,x=(j,v)=>{for(j=String(j);j.length<v;)j=" "+j;return j};console.info(`%c⏱ ${x(g,5)} /${x(f,5)} ms`,`
|
|
3
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ge=require("./chunk-chunk-BFrxaqQT.cjs"),xe=require("./chunk-useTheme-DgleVMMh.cjs"),be=require("./chunk-layout-D728gccQ.cjs"),je=require("./chunk-lucide-CP2lvOPY.cjs"),we=require("./chunk-useLayout-BAJHOIL3.cjs"),X=require("./chunk-BounceLoading-CwvDT5HF.cjs");let h=require("react");h=ge.__toESM(h,1);let n=require("react/jsx-runtime"),D=require("motion/react"),Se=require("@tanstack/react-query"),Ne=require("react-dom"),W=require("lucide-react");var Ie="styles-module__button___RbliA",Ce="styles-module__small___yK0Yp",Ee="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",Re="styles-module__danger___MW-pg",Te="styles-module__fullWidth___-dXBR",ze="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",Fe="styles-module__rightIcon___1mpk0",Ve="styles-module__iconOnly___iOv-U",qe="styles-module__iconContainer___bwvE3",Pe="styles-module__layout___WaGy9",Ge="styles-module__horizontal___lKpGq",He="styles-module__topIcon___bzw6s",Ke="styles-module__bottomIcon___suPfa",N={button:Ie,small:Ce,medium:Ee,large:Le,primary:$e,secondary:Me,outline:Oe,ghost:De,danger:Re,fullWidth:Te,loading:ze,spinner:ke,spin:We,content:Ae,leftIcon:Be,rightIcon:Fe,iconOnly:Ve,iconContainer:qe,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:a,iconOnly:o=!1,iconSize:c,loading:d=!1,disabled:u,children:m,className:_="",...f},g)=>{const w=s||r||i||a,x=!o&&m,j=o&&w&&!x,v=i||a||j,y=[N.button,N[l],N[t],e&&N.fullWidth,d&&N.loading,j&&N.iconOnly,_].filter(Boolean).join(" ");return j?(0,n.jsx)("button",{ref:g,type:"button",className:y,disabled:u||d,...f,children:(0,n.jsxs)("span",{className:N.iconContainer,children:[i&&(0,n.jsx)("span",{className:N.topIcon,children:B(i,c)}),s&&(0,n.jsx)("span",{className:N.leftIcon,children:B(s,c)}),r&&(0,n.jsx)("span",{className:N.rightIcon,children:B(r,c)}),a&&(0,n.jsx)("span",{className:N.bottomIcon,children:B(a,c)})]})}):v?(0,n.jsxs)("button",{ref:g,type:"button",className:y,disabled:u||d,...f,children:[d&&(0,n.jsx)("span",{className:N.spinner}),!d&&(0,n.jsxs)("span",{className:N.layout,children:[i&&(0,n.jsx)("span",{className:N.topIcon,children:B(i,c)}),(0,n.jsxs)("span",{className:N.horizontal,children:[s&&(0,n.jsx)("span",{className:N.leftIcon,children:B(s,c)}),x&&(0,n.jsx)("span",{className:N.content,children:m}),r&&(0,n.jsx)("span",{className:N.rightIcon,children:B(r,c)})]}),a&&(0,n.jsx)("span",{className:N.bottomIcon,children:B(a,c)})]})]}):(0,n.jsxs)("button",{ref:g,type:"button",className:y,disabled:u||d,...f,children:[d&&(0,n.jsx)("span",{className:N.spinner}),s&&!d&&(0,n.jsx)("span",{className:N.leftIcon,children:B(s,c)}),m&&(0,n.jsx)("span",{className:N.content,children:m}),r&&!d&&(0,n.jsx)("span",{className:N.rightIcon,children:B(r,c)})]})});U.displayName="Button";var 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",rt="Dropdown-module__optionsList___Be6RN",nt="Dropdown-module__option___q-NgT",lt="Dropdown-module__selected___-OTW-",z={dropdown:Xe,dropdownButton:Ue,disabled:Ze,error:Ye,buttonText:Qe,chevronIcon:Je,open:et,dropdownMenu:tt,slideDown:st,optionsList:rt,option:nt,selected:lt},ne=(0,h.memo)(({options:l,value:t,onChange:e,placeholder:s="Select an option",disabled:r=!1,error:i=!1,className:a=""})=>{const[o,c]=(0,h.useState)(!1),d=(0,h.useRef)(null);(0,h.useEffect)(()=>{const f=g=>{d.current&&!d.current.contains(g.target)&&c(!1)};return document.addEventListener("mousedown",f),()=>{document.removeEventListener("mousedown",f)}},[]);const u=l.find(f=>f.value===t),m=u?u.label:s,_=f=>{e(f),c(!1)};return(0,n.jsxs)("div",{className:`${z.dropdown} ${a}`,ref:d,children:[(0,n.jsxs)("button",{type:"button",className:`${z.dropdownButton} ${i?z.error:""} ${r?z.disabled:""}`,onClick:()=>!r&&c(!o),disabled:r,"aria-expanded":o,"aria-haspopup":"listbox",children:[(0,n.jsx)("span",{className:z.buttonText,children:m}),(0,n.jsx)(W.ChevronDown,{size:16,className:`${z.chevronIcon} ${o?z.open:""}`})]}),o&&!r&&(0,n.jsx)("div",{className:z.dropdownMenu,children:(0,n.jsx)("ul",{className:z.optionsList,role:"listbox",children:l.map(f=>(0,n.jsx)("li",{className:`${z.option} ${f.value===t?z.selected:""}`,onClick:()=>_(f.value),role:"option","aria-selected":f.value===t,children:f.label},f.value))})})]})});ne.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";var it="styles-module__wrapper___COeGm",at="styles-module__fullWidth___lVU49",ot="styles-module__label___gfOA7",dt="styles-module__required___-zOy5",ct="styles-module__inputContainer___wXY53",ut="styles-module__input___IZDc3",_t="styles-module__small___cuGyE",ht="styles-module__medium___JdDPu",mt="styles-module__large___fMmiG",ft="styles-module__filled___EQ5PQ",pt="styles-module__withLeftIcon___NFn6-",vt="styles-module__withRightIcon___mz-hn",yt="styles-module__leftIcon___jEW5H",gt="styles-module__rightIcon___bA3Eo",xt="styles-module__rightIconInteractive___ccypw",bt="styles-module__containerSmall___20ICq",jt="styles-module__containerLarge___IztuN",wt="styles-module__error___946qV",St="styles-module__disabled___sJvLd",Nt="styles-module__errorMessage___5Mn22",It="styles-module__helperText___T2eui",E={wrapper:it,fullWidth:at,label:ot,required:dt,inputContainer:ct,input:ut,small:_t,medium:ht,large:mt,default:"styles-module__default___-eZTG",filled:ft,withLeftIcon:pt,withRightIcon:vt,leftIcon:yt,rightIcon:gt,rightIconInteractive:xt,containerSmall:bt,containerLarge:jt,error:wt,disabled:St,errorMessage:Nt,helperText:It},Z=(0,h.forwardRef)(({label:l,error:t,helperText:e,leftIcon:s,rightIcon:r,rightIconInteractive:i=!1,size:a="medium",variant:o="default",fullWidth:c=!1,className:d="",disabled:u,...m},_)=>{const f=[E.input,E[a],E[o],t&&E.error,u&&E.disabled,d].filter(Boolean).join(" "),g=[E.wrapper,c&&E.fullWidth].filter(Boolean).join(" "),w=[E.inputContainer,s&&E.withLeftIcon,r&&E.withRightIcon,a&&E[`container${a.charAt(0).toUpperCase()+a.slice(1)}`]].filter(Boolean).join(" ");return(0,n.jsxs)("div",{className:g,children:[l&&(0,n.jsxs)("label",{className:E.label,children:[l,m.required&&(0,n.jsx)("span",{className:E.required,children:"*"})]}),(0,n.jsxs)("div",{className:w,children:[s&&(0,n.jsx)("div",{className:E.leftIcon,children:s}),(0,n.jsx)("input",{ref:_,className:f,disabled:u,...m}),r&&(0,n.jsx)("div",{className:`${E.rightIcon} ${i?E.rightIconInteractive:""}`,children:r})]}),t&&(0,n.jsx)("p",{className:E.errorMessage,children:t}),e&&!t&&(0,n.jsx)("p",{className:E.helperText,children:e})]})});Z.displayName="Input";var Ct="styles-module__container___xeg8O",Et="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",Rt="styles-module__removeButton___4-X0b",Tt="styles-module__addButton___QFljt",F={container:Ct,label:Et,error:Lt,pairs:$t,pair:Mt,keyInput:Ot,valueInput:Dt,removeButton:Rt,addButton:Tt},ie=(0,h.memo)(({label:l,pairs:t,onChange:e,valueType:s="string",keyPlaceholder:r="Key",valuePlaceholder:i="Value",valueArrayPlaceholder:a="Value (comma-separated)",removeAriaLabel:o="Remove row",addLabel:c="Add",error:d})=>{const u=s==="array"?a:i,[m,_]=(0,h.useState)(t);(0,h.useEffect)(()=>{_(t)},[t]);const f=()=>{const v=[...m,{key:"",value:s==="array"?[]:""}];_(v),e(v)},g=v=>{const y=m.filter((p,b)=>b!==v);_(y),e(y)},w=(v,y)=>{const p=[...m];p[v]={...p[v],key:y},_(p),e(p)},x=(v,y)=>{const p=[...m];if(s==="array"){const b=y.split(",").map(I=>I.trim()).filter(I=>I.length>0);p[v]={...p[v],value:b}}else p[v]={...p[v],value:y};_(p),e(p)},j=v=>Array.isArray(v)?v.join(", "):v;return(0,n.jsxs)("div",{className:F.container,children:[(0,n.jsx)("label",{className:F.label,children:l}),d&&(0,n.jsx)("div",{className:F.error,children:d}),(0,n.jsx)("div",{className:F.pairs,children:m.map((v,y)=>(0,n.jsxs)("div",{className:F.pair,children:[(0,n.jsx)(Z,{placeholder:r,value:v.key,onChange:p=>w(y,p.target.value),className:F.keyInput}),(0,n.jsx)(Z,{placeholder:u,value:j(v.value),onChange:p=>x(y,p.target.value),className:F.valueInput}),(0,n.jsx)(U,{type:"button",variant:"ghost",onClick:()=>g(y),className:F.removeButton,"aria-label":o,children:(0,n.jsx)(W.Trash2,{size:16})})]},y))}),(0,n.jsxs)(U,{type:"button",variant:"secondary",onClick:f,className:F.addButton,children:[(0,n.jsx)(W.Plus,{size:16}),c]})]})});ie.displayName="KeyValueEditor";var zt="styles-module__searchContainer___86TGN",kt="styles-module__searchContainerFull___cEuNS",Wt="styles-module__searchIcon___ZInry",At="styles-module__searchInput___SqZXQ",Bt="styles-module__clearBtn___7jExr",H={searchContainer:zt,searchContainerFull:kt,searchIcon:Wt,searchInput:At,clearBtn:Bt},ae=(0,h.memo)(({value:l,onChange:t,placeholder:e,clearButtonAriaLabel:s="Clear search",fullWidth:r=!1})=>{const i=()=>t("");return(0,n.jsxs)("div",{className:`${H.searchContainer} ${r?H.searchContainerFull:""}`.trim(),children:[(0,n.jsx)(W.Search,{size:18,className:H.searchIcon}),(0,n.jsx)("input",{type:"text",value:l,onChange:a=>t(a.target.value),placeholder:e,className:H.searchInput}),l&&(0,n.jsx)("button",{onClick:i,className:H.clearBtn,"aria-label":s,children:(0,n.jsx)(W.X,{size:16})})]})});ae.displayName="SearchInput";var Ft="styles-module__container___nGxdM",Vt="styles-module__toggleContainer___VrsKI",qt="styles-module__toggleButton___IzD6Z",Pt="styles-module__enabled___cao0G",Gt="styles-module__optionsContainer___LOzlO",Ht="styles-module__option___abhnC",Kt="styles-module__active___pqmSi",k={container:Ft,toggleContainer:Vt,toggleButton:qt,enabled:Pt,optionsContainer:Gt,option:Ht,active:Kt},oe=(0,h.memo)(({value:l,onChange:t,filterEnabled:e="Filter on",filterDisabled:s="Filter",enableFilterAriaLabel:r="Enable filter",disableFilterAriaLabel:i="Disable filter",all:a="All",show:o="Show",hide:c="Hide"})=>{const d=()=>{t({...l,enabled:!l.enabled})},u=m=>{t({...l,value:m})};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:d,"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:()=>u(null),children:a}),(0,n.jsxs)("button",{type:"button",className:`${k.option} ${l.value===!0?k.active:""}`,onClick:()=>u(!0),children:[(0,n.jsx)(W.Eye,{size:16}),(0,n.jsx)("span",{children:o})]}),(0,n.jsxs)("button",{type:"button",className:`${k.option} ${l.value===!1?k.active:""}`,onClick:()=>u(!1),children:[(0,n.jsx)(W.EyeOff,{size:16}),(0,n.jsx)("span",{children:c})]})]})]})});oe.displayName="ShowFilter";var Xt="styles-module__nbSelect___KjxSc",Ut="styles-module__selectButton___AKZe4",Zt="styles-module__primary___HU36a",Yt="styles-module__open___9AKMb",Qt="styles-module__buttonText___QSLO1",Jt="styles-module__chevronIcon___qAHaD",es="styles-module__optionsPanel___NWAp3",ts="styles-module__expandDown___eD4lh",ss="styles-module__closed___bez-q",rs="styles-module__collapseUp___dt1E7",ns="styles-module__optionsList___AxhVp",ls="styles-module__option___t1SSw",is="styles-module__selected___azD4A",T={nbSelect:Xt,selectButton:Ut,primary:Zt,open:Yt,default:"styles-module__default___LedYP",buttonText:Qt,chevronIcon:Jt,optionsPanel:es,expandDown:ts,closed:ss,collapseUp:rs,optionsList:ns,option:ls,selected:is},as=({value:l,options:t,getDisplayName:e,onChange:s,status:r="primary"})=>{const[i,a]=(0,h.useState)(!1),o=(0,h.useRef)(null);(0,h.useEffect)(()=>{const d=u=>{o.current&&!o.current.contains(u.target)&&a(!1)};return document.addEventListener("mousedown",d),()=>document.removeEventListener("mousedown",d)},[]);const c=d=>{s(d),a(!1)};return(0,n.jsxs)("div",{className:T.nbSelect,ref:o,children:[(0,n.jsxs)("button",{type:"button",className:`${T.selectButton} ${T[r]}`,onClick:()=>a(!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(d=>(0,n.jsxs)("li",{className:`${T.option} ${d===l?T.selected:""}`,onClick:()=>c(d),role:"option","aria-selected":d===l,children:[(0,n.jsx)("span",{children:e(d)}),d===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"})})]},d))})})]})},Q=(0,h.memo)(as);Q.displayName="SlideDownSwitcher";var de=(0,h.memo)(({status:l="primary",getThemeDisplayName:t,handleChangeTheme:e})=>{const{themeName:s,setTheme:r,availableThemes:i}=xe.useTheme(),a=t??(c=>c),o=c=>{r(c),e?.(c)};return(0,n.jsx)(Q,{value:s,options:i,getDisplayName:a,onChange:o,status:l})});de.displayName="ThemeSwitcher";var ce=(0,h.memo)(({status:l="primary",getLayoutDisplayName:t,handleChangeLayoutMode:e})=>{const{layoutMode:s,setLayoutMode:r}=we.useLayout(),i=t??(o=>o),a=o=>{r(o),e?.(o)};return(0,n.jsx)(Q,{value:s,options:be.LAYOUT_MODE_VALUES,getDisplayName:i,onChange:a,status:l})});ce.displayName="LayoutSwitcher";var os="styles-module__sliderContainer___lgpaD",ds="styles-module__fullWidth___ZS8W5",cs="styles-module__labelRow___dkVVM",us="styles-module__label___bXGZs",_s="styles-module__required___FuyfE",hs="styles-module__sliderWrapper___1Wdti",ms="styles-module__sliderRoot___yzOjR",fs="styles-module__sliderTrackWrapper___N72WQ",ps="styles-module__sliderTrack___AltcD",vs="styles-module__sliderRange___U3g0-",ys="styles-module__valueIndicator___aLf0I",gs="styles-module__iconWrapper___wL-b8",xs="styles-module__icon___vHsID",bs="styles-module__errorMessage___qFgGe",js="styles-module__helperText___tgBGl",$={sliderContainer:os,fullWidth:ds,labelRow:cs,label:us,required:_s,sliderWrapper:hs,sliderRoot:ms,sliderTrackWrapper:fs,sliderTrack:ps,sliderRange:vs,valueIndicator:ys,iconWrapper:gs,icon:xs,errorMessage:bs,helperText:js},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:a=!1,label:o,error:c,helperText:d,required:u=!1,className:m="",..._},f)=>{const[g,w]=(0,h.useState)(l),x=(0,h.useRef)(null),[j,v]=(0,h.useState)("middle"),y=(0,D.useMotionValue)(0),p=(0,D.useMotionValue)(0);(0,h.useEffect)(()=>{w(l)},[l]),(0,D.useMotionValueEvent)(y,"change",S=>{if(x.current){const{left:C,right:M}=x.current.getBoundingClientRect();let L;S<C?(v("left"),L=C-S):S>M?(v("right"),L=S-M):(v("middle"),L=0),p.jump(ws(L,ee))}});const b=S=>{if(S.buttons>0&&x.current){const{left:C,width:M}=x.current.getBoundingClientRect();let L=e+(S.clientX-C)/M*(s-e);r>0&&(L=Math.round(L/r)*r),L=Math.min(Math.max(L,e),s),w(L),t(L),y.jump(S.clientX)}},I=S=>{b(S),S.currentTarget.setPointerCapture(S.pointerId)},A=()=>{(0,D.animate)(p,0,{type:"spring",bounce:.5})},G=()=>{const S=s-e;return S===0?0:(g-e)/S*100};return(0,n.jsxs)("div",{ref:f,className:[$.sliderContainer,a&&$.fullWidth,m].filter(Boolean).join(" "),..._,children:[o&&(0,n.jsx)("div",{className:$.labelRow,children:(0,n.jsxs)("label",{className:$.label,children:[o,u&&(0,n.jsx)("span",{className:$.required,children:"*"})]})}),(0,n.jsxs)(D.motion.div,{className:$.sliderWrapper,children:[(0,n.jsx)(D.motion.div,{animate:{scale:j==="left"?[1,1.4,1]:1,transition:{duration:.25}},style:{x:(0,D.useTransform)(()=>j==="left"?-p.get():0)},className:$.iconWrapper,children:(0,n.jsx)(W.ChevronLeft,{size:20,className:$.icon})}),(0,n.jsx)("div",{ref:x,className:$.sliderRoot,onPointerMove:b,onPointerDown:I,onPointerUp:A,children:(0,n.jsx)(D.motion.div,{style:{scaleX:(0,D.useTransform)(()=>{if(x.current){const{width:S}=x.current.getBoundingClientRect();return 1+p.get()/S}return 1}),scaleY:(0,D.useTransform)(p,[0,ee],[1,.8]),transformOrigin:(0,D.useTransform)(()=>{if(x.current){const{left:S,width:C}=x.current.getBoundingClientRect();return y.get()<S+C/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:j==="right"?[1,1.4,1]:1,transition:{duration:.25}},style:{x:(0,D.useTransform)(()=>j==="right"?p.get():0)},className:$.iconWrapper,children:(0,n.jsx)(W.ChevronRight,{size:20,className:$.icon})}),i&&!o&&(0,n.jsx)("span",{className:$.valueIndicator,children:Math.round(g)})]}),c&&(0,n.jsx)("p",{className:$.errorMessage,children:c}),d&&!c&&(0,n.jsx)("p",{className:$.helperText,children:d})]})}));function ws(l,t){if(t===0)return 0;const e=l/t;return 2*(1/(1+Math.exp(-e))-.5)*t}ue.displayName="Slider";var Ss="styles-module__loadingContainer___OMgwS",Ns="styles-module__loadingText___KRZqR",Is="styles-module__errorContainer___qhAg2",Cs="styles-module__errorIconWrapper___IHZrN",Es="styles-module__pulse___Lju-z",Ls="styles-module__errorIcon___oGDIP",$s="styles-module__errorContent___F55rQ",Ms="styles-module__errorTitle___hC8D-",Os="styles-module__errorDescription___hZtuP",Ds="styles-module__errorDetailsWrapper___-sp8b",Rs="styles-module__errorDetailsContainer___eywMo",Ts="styles-module__errorDetailsSummary___hGEoD",zs="styles-module__errorDetails___tzCT-",ks="styles-module__errorActions___gtqYw",Ws="styles-module__retryButton___TA4jm",As="styles-module__retryButtonIcon___vzfp-",Bs="styles-module__clearLocalDataButton___T3B-K",O={loadingContainer:Ss,loadingText:Ns,errorContainer:Is,errorIconWrapper:Cs,pulse:Es,errorIcon:Ls,errorContent:$s,errorTitle:Ms,errorDescription:Os,errorDetailsWrapper:Ds,errorDetailsContainer:Rs,errorDetailsSummary:Ts,errorDetails:zs,errorActions:ks,retryButton:Ws,retryButtonIcon:As,clearLocalDataButton:Bs},Fs=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:a,loadingClassName:o})=>{if(l)return(0,n.jsx)(n.Fragment,{children:l});const c=()=>{switch(t){case"ecg":return(0,n.jsx)(X.ECGLoading,{size:r,className:o});case"truck":return(0,n.jsx)(X.TruckLoading,{size:r,className:o});case"bounce":return(0,n.jsx)(X.BounceLoading,{size:r,shape:e,className:o});default:return(0,n.jsx)(X.ECGLoading,{size:r,className:o})}};return(0,n.jsxs)("div",{className:`${O.loadingContainer} ${i||""}`,children:[c(),(0,n.jsx)("p",{className:`${O.loadingText} ${a||""}`,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:a="Details",clearLocalDataText:o="Clear local data",onClearLocalData:c,errorContainerClassName:d,errorDetailsClassName:u,showErrorDetails:m=!1})=>{const _=()=>{try{sessionStorage.clear()}catch{}finally{c?.()}};return e?(0,n.jsx)(n.Fragment,{children:e({error:l,retry:t})}):(0,n.jsxs)("div",{className:`${O.errorContainer} ${d||""}`,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}),m&&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:a}),(0,n.jsx)("pre",{className:`${O.errorDetails} ${u||""}`,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:_,children:(0,n.jsx)("span",{children:o})})]})]})]})});he.displayName="ErrorFallback";var me=(0,h.memo)(({fallback:l,test:t,loadingType:e="ecg",loadingShape:s="square",loadingClassName:r,loadingText:i,loadingSize:a="medium",loadingContainerClassName:o,loadingTextClassName:c,children:d,errorFallback:u,errorTitle:m,errorDescription:_,retryText:f,errorDetailsText:g,clearLocalDataText:w,onClearLocalData:x,errorContainerClassName:j,errorDetailsClassName:v,showErrorDetails:y=!1,...p})=>(0,n.jsx)(Se.QueryErrorResetBoundary,{...p,children:({reset:b})=>(0,n.jsx)(Fs,{onReset:b,fallbackRender:({error:I,retry:A})=>(0,n.jsx)(he,{error:I,retry:A,errorFallback:u,errorTitle:m,errorDescription:_,retryText:f,errorDetailsText:g,clearLocalDataText:w,onClearLocalData:x,errorContainerClassName:j,errorDetailsClassName:v,showErrorDetails:y}),children:(0,n.jsx)(h.Suspense,{fallback:(0,n.jsx)(_e,{fallback:l,loadingType:e,loadingShape:s,loadingText:i,loadingSize:a,loadingContainerClassName:o,loadingTextClassName:c,loadingClassName:r}),...p,children:t?(0,n.jsx)(Vs,{}):d})})}));me.displayName="Suspense";var Vs=()=>{throw new Promise(()=>{})},qs="styles-module__wrapper___jXPV3",Ps="styles-module__fullWidth___eKyGB",Gs="styles-module__label___MyTeo",Hs="styles-module__required___TV-m8",Ks="styles-module__inputContainer___VvGBl",Xs="styles-module__textarea___AjX9N",Us="styles-module__small___zMx0G",Zs="styles-module__medium___tO2Lb",Ys="styles-module__large___3eU2g",Qs="styles-module__filled___TPQgI",Js="styles-module__leftIcon___FHp2R",er="styles-module__rightIcon___dkyvP",tr="styles-module__error___d8gLK",sr="styles-module__disabled___IzbfE",rr="styles-module__errorText___Nom7x",nr="styles-module__helperText___97Def",R={wrapper:qs,fullWidth:Ps,label:Gs,required:Hs,inputContainer:Ks,textarea:Xs,small:Us,medium:Zs,large:Ys,default:"styles-module__default___vsSxX",filled:Qs,leftIcon:Js,rightIcon:er,error:tr,disabled:sr,errorText:rr,helperText:nr},fe=(0,h.forwardRef)(({label:l,error:t,helperText:e,leftIcon:s,rightIcon:r,size:i="medium",variant:a="default",fullWidth:o=!1,className:c="",disabled:d,...u},m)=>{const _=[R.textarea,R[i],R[a],t&&R.error,d&&R.disabled,c].filter(Boolean).join(" ");return(0,n.jsxs)("div",{className:[R.wrapper,o&&R.fullWidth].filter(Boolean).join(" "),children:[l&&(0,n.jsxs)("label",{className:R.label,children:[l,u.required&&(0,n.jsx)("span",{className:R.required,children:"*"})]}),(0,n.jsxs)("div",{className:R.inputContainer,children:[s&&(0,n.jsx)("div",{className:R.leftIcon,children:s}),(0,n.jsx)("textarea",{ref:m,className:_,disabled:d,...u}),r&&(0,n.jsx)("div",{className:R.rightIcon,children:r})]}),t&&(0,n.jsx)("span",{className:R.errorText,children:t}),e&&!t&&(0,n.jsx)("span",{className:R.helperText,children:e})]})});fe.displayName="Textarea";function P(l,t,e){let s=e.initialDeps??[],r,i=!0;function a(){var o,c,d;let u;e.key&&((o=e.debug)!=null&&o.call(e))&&(u=Date.now());const m=l();if(!(m.length!==s.length||m.some((f,g)=>s[g]!==f)))return r;s=m;let _;if(e.key&&((c=e.debug)!=null&&c.call(e))&&(_=Date.now()),r=t(...m),e.key&&((d=e.debug)!=null&&d.call(e))){const f=Math.round((Date.now()-u)*100)/100,g=Math.round((Date.now()-_)*100)/100,w=g/16,x=(j,v)=>{for(j=String(j);j.length<v;)j=" "+j;return j};console.info(`%c⏱ ${x(g,5)} /${x(f,5)} ms`,`
|
|
4
4
|
font-size: .6rem;
|
|
5
5
|
font-weight: bold;
|
|
6
|
-
color: hsl(${Math.max(0,Math.min(120-120*w,120))}deg 100% 31%);`,e?.key)}return e?.onChange&&!(i&&e.skipInitialOnChange)&&e.onChange(r),i=!1,r}return a.updateDeps=o=>{s=o},a}function te(l,t){if(l===void 0)throw new Error(`Unexpected undefined${t?`: ${t}`:""}`);return l}var nr=(l,t)=>Math.abs(l-t)<1.01,pe=(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}},lr=l=>l,ir=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},ar=(l,t)=>{const e=l.scrollElement;if(!e)return;const s=l.targetWindow;if(!s)return;const r=a=>{const{width:o,height:c}=a;t({width:Math.round(o),height:Math.round(c)})};if(r(se(e)),!s.ResizeObserver)return()=>{};const i=new s.ResizeObserver(a=>{const o=()=>{const c=a[0];if(c?.borderBoxSize){const d=c.borderBoxSize[0];if(d){r({width:d.inlineSize,height:d.blockSize});return}}r(se(e))};l.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(o):o()});return i.observe(e,{box:"border-box"}),()=>{i.unobserve(e)}},H={passive:!0},or=(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,dr=(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?()=>{}:pe(s,()=>{t(r,!1)},l.options.isScrollingResetDelay),a=u=>()=>{const{horizontal:m,isRtl:_}=l.options;r=m?e.scrollLeft*(_&&-1||1):e.scrollTop,i(),t(r,u)},o=a(!0),c=a(!1);e.addEventListener("scroll",o,H);const d=l.options.useScrollendEvent&&Y;return d&&e.addEventListener("scrollend",c,H),()=>{e.removeEventListener("scroll",o),d&&e.removeEventListener("scrollend",c)}},cr=(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?()=>{}:pe(s,()=>{t(r,!1)},l.options.isScrollingResetDelay),a=u=>()=>{r=e[l.options.horizontal?"scrollX":"scrollY"],i(),t(r,u)},o=a(!0),c=a(!1);e.addEventListener("scroll",o,H);const d=l.options.useScrollendEvent&&Y;return d&&e.addEventListener("scrollend",c,H),()=>{e.removeEventListener("scroll",o),d&&e.removeEventListener("scrollend",c)}},ur=(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"]},_r=(l,{adjustments:t=0,behavior:e},s)=>{var r,i;const a=l+t;(i=(r=s.scrollElement)==null?void 0:r.scrollTo)==null||i.call(r,{[s.options.horizontal?"left":"top"]:a,behavior:e})},hr=(l,{adjustments:t=0,behavior:e},s)=>{var r,i;const a=l+t;(i=(r=s.scrollElement)==null?void 0:r.scrollTo)==null||i.call(r,{[s.options.horizontal?"left":"top"]:a,behavior:e})},mr=class{constructor(l){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=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.now=()=>{var t,e,s;return((s=(e=(t=this.targetWindow)==null?void 0:t.performance)==null?void 0:e.now)==null?void 0:s.call(e))??Date.now()},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=()=>{const a=r.target,o=this.indexFromElement(a);if(!a.isConnected){this.observer.unobserve(a);return}this.shouldMeasureDuringScroll(o)&&this.resizeItem(o,this.options.measureElement(a,r,this))};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:lr,rangeExtractor:ir,onChange:()=>{},measureElement:ur,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,laneAssignmentMode:"estimate",...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.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,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.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}},this.rafId=null,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 a=t[i];if(s.has(a.lane))continue;const o=r.get(a.lane);if(o==null||a.end>o.end?r.set(a.lane,a):a.end<o.end&&s.set(a.lane,!0),s.size===this.options.lanes)break}return r.size===this.options.lanes?Array.from(r.values()).sort((i,a)=>i.end===a.end?i.index-a.index:i.end-a.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,this.options.laneAssignmentMode],(t,e,s,r,i,a,o)=>(this.prevLanes!==void 0&&this.prevLanes!==a&&(this.lanesChangedFlag=!0),this.prevLanes=a,this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:e,scrollMargin:s,getItemKey:r,enabled:i,lanes:a,laneAssignmentMode:o}),{key:!1}),this.getMeasurements=P(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:e,scrollMargin:s,getItemKey:r,enabled:i,lanes:a,laneAssignmentMode:o},c)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>t)for(const _ of this.laneAssignments.keys())_>=t&&this.laneAssignments.delete(_);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(_=>{this.itemSizeCache.set(_.key,_.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 u=this.measurementsCache.slice(0,d),m=new Array(a).fill(void 0);for(let _=0;_<d;_++){const f=u[_];f&&(m[f.lane]=_)}for(let _=d;_<t;_++){const f=r(_),g=this.laneAssignments.get(_);let w,x;const j=o==="estimate"||c.has(f);if(g!==void 0&&this.options.lanes>1){w=g;const b=m[w],I=b!==void 0?u[b]:void 0;x=I?I.end+this.options.gap:e+s}else{const b=this.options.lanes===1?u[_-1]:this.getFurthestMeasurement(u,_);x=b?b.end+this.options.gap:e+s,w=b?b.lane:_%this.options.lanes,this.options.lanes>1&&j&&this.laneAssignments.set(_,w)}const v=c.get(f),y=typeof v=="number"?v:this.options.estimateSize(_),p=x+y;u[_]={index:_,start:x,size:y,end:p,key:f,lane:w},m[w]=_}return this.measurementsCache=u,u},{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?fr({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.shouldMeasureDuringScroll=t=>{var e;if(!this.scrollState||this.scrollState.behavior!=="smooth")return!0;const s=this.scrollState.index??((e=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))==null?void 0:e.index);if(s!==void 0&&this.range){const r=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),i=Math.max(0,s-r),a=Math.min(this.options.count-1,s+r);return t>=i&&t<=a}return!0},this.measureElement=t=>{if(!t){this.elementsCache.forEach((i,a)=>{i.isConnected||(this.observer.unobserve(i),this.elementsCache.delete(a))});return}const e=this.indexFromElement(t),s=this.options.getItemKey(e),r=this.elementsCache.get(s);r!==t&&(r&&this.observer.unobserve(r),this.observer.observe(t),this.elementsCache.set(s,t)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(e)&&this.resizeItem(e,this.options.measureElement(t,void 0,this))},this.resizeItem=(t,e)=>{var s;const r=this.measurementsCache[t];if(!r)return;const i=e-(this.itemSizeCache.get(r.key)??r.size);i!==0&&(((s=this.scrollState)==null?void 0:s.behavior)!=="smooth"&&(this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(r,i,this):r.start<this.getScrollOffset()+this.scrollAdjustments)&&(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("correction",i),this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=i,behavior:void 0})),this.pendingMeasuredCacheIndexes.push(r.index),this.itemSizeCache=new Map(this.itemSizeCache.set(r.key,e)),this.notify(!1))},this.getVirtualItems=P(()=>[this.getVirtualIndexes(),this.getMeasurements()],(t,e)=>{const s=[];for(let r=0,i=t.length;r<i;r++){const a=e[t[r]];s.push(a)}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[ve(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 a=this.getMaxScrollOffset();return Math.max(Math.min(a,t),0)},this.getOffsetForIndex=(t,e="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));const s=this.getSize(),r=this.getScrollOffset(),i=this.measurementsCache[t];if(!i)return;if(e==="auto")if(i.end>=r+s-this.options.scrollPaddingEnd)e="end";else if(i.start<=r+this.options.scrollPaddingStart)e="start";else return[r,e];if(e==="end"&&t===this.options.count-1)return[this.getMaxScrollOffset(),e];const a=e==="end"?i.end+this.options.scrollPaddingEnd:i.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(a,e,i.size),e]},this.scrollToOffset=(t,{align:e="start",behavior:s="auto"}={})=>{const r=this.getOffsetForAlignment(t,e),i=this.now();this.scrollState={index:null,align:e,behavior:s,startedAt:i,lastTargetOffset:r,stableFrames:0},this._scrollToOffset(r,{adjustments:void 0,behavior:s}),this.scheduleScrollReconcile()},this.scrollToIndex=(t,{align:e="auto",behavior:s="auto"}={})=>{t=Math.max(0,Math.min(t,this.options.count-1));const r=this.getOffsetForIndex(t,e);if(!r)return;const[i,a]=r,o=this.now();this.scrollState={index:t,align:a,behavior:s,startedAt:o,lastTargetOffset:i,stableFrames:0},this._scrollToOffset(i,{adjustments:void 0,behavior:s}),this.scheduleScrollReconcile()},this.scrollBy=(t,{behavior:e="auto"}={})=>{const s=this.getScrollOffset()+t,r=this.now();this.scrollState={index:null,align:"start",behavior:e,startedAt:r,lastTargetOffset:s,stableFrames:0},this._scrollToOffset(s,{adjustments:void 0,behavior:e}),this.scheduleScrollReconcile()},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(a=>a===null);){const a=e[i];r[a.lane]===null&&(r[a.lane]=a.end),i--}s=Math.max(...r.filter(a=>a!==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)}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}this.rafId==null&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}const l=this.scrollState.index!=null?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,t=l?l[0]:this.scrollState.lastTargetOffset,e=1,s=t!==this.scrollState.lastTargetOffset;if(!s&&nr(t,this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=e){this.scrollState=null;return}}else this.scrollState.stableFrames=0,s&&(this.scrollState.lastTargetOffset=t,this.scrollState.behavior="auto",this._scrollToOffset(t,{adjustments:void 0,behavior:"auto"}));this.scheduleScrollReconcile()}},ve=(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 fr({measurements:l,outerSize:t,scrollOffset:e,lanes:s}){const r=l.length-1,i=c=>l[c].start;if(l.length<=s)return{startIndex:0,endIndex:r};let a=ve(0,r,i,e),o=a;if(s===1)for(;o<r&&l[o].end<e+t;)o++;else if(s>1){const c=Array(s).fill(0);for(;o<r&&c.some(u=>u<e+t);){const u=l[o];c[u.lane]=u.end,o++}const d=Array(s).fill(e+t);for(;a>=0&&d.some(u=>u>=e);){const u=l[a];d[u.lane]=u.start,a--}a=Math.max(0,a-a%s),o=Math.min(r,o+(s-1-o%s))}return{startIndex:a,endIndex:o}}var re=typeof document<"u"?h.useLayoutEffect:h.useEffect;function ye({useFlushSync:l=!0,...t}){const e=h.useReducer(()=>({}),{})[1],s={...t,onChange:(i,a)=>{var o;l&&a?(0,Ne.flushSync)(e):e(),(o=t.onChange)==null||o.call(t,i,a)}},[r]=h.useState(()=>new mr(s));return r.setOptions(s),re(()=>r._didMount(),[]),re(()=>r._willUpdate()),r}function pr(l){return ye({observeElementRect:ar,observeElementOffset:dr,scrollToFn:hr,...l})}function vr(l){return ye({getScrollElement:()=>typeof document<"u"?window:null,observeElementRect:or,observeElementOffset:cr,scrollToFn:_r,initialOffset:()=>typeof document<"u"?window.scrollY:0,...l})}var yr="styles-module__virtualList___pM6rN",gr="styles-module__emptyContainer___rm938",xr="styles-module__virtualListInner___HxRzc",br="styles-module__virtualListItems___p19-a",jr="styles-module__loadingMore___zAdLM",wr="styles-module__endOfList___5cYFh",V={virtualList:yr,emptyContainer:gr,virtualListInner:xr,virtualListItems:br,loadingMore:jr,endOfList:wr};function Sr({data:l,hasNextPage:t,isFetchingNextPage:e,fetchNextPage:s,renderItem:r,estimateSize:i=200,overscan:a=5,height:o="600px",getItemKey:c,emptyState:d,loadingIndicator:u,endOfListIndicator:m,emptyText:_="No data",loadingMoreText:f="Loading more...",endOfListText:g="No more items",flexClass:w,outerClass:x,innerClass:j,...v}){const y=(0,h.useRef)(null),p=Array.isArray(l)?l:[],b=p.length,I=pr({count:t?b+1:b,getScrollElement:()=>y.current,estimateSize:typeof i=="number"?()=>i:i,overscan:a,...v}),A=I.getVirtualItems();(0,h.useEffect)(()=>{const[$]=[...A].reverse();$&&$.index>=b-1&&t&&!e&&s&&s()},[t,s,b,e,A]);const G=(0,h.useCallback)(()=>(0,n.jsx)("div",{className:V.virtualList,style:{height:typeof o=="number"?`${o}px`:o},children:d??(0,n.jsx)("div",{className:V.emptyContainer,children:(0,n.jsx)("span",{children:_})})}),[d,o,_]),S=(0,h.useCallback)(()=>u||(0,n.jsx)("div",{className:V.loadingMore,children:(0,n.jsx)("span",{children:f})}),[u,f]),C=(0,h.useCallback)(()=>m||(0,n.jsx)("div",{className:V.endOfList,children:(0,n.jsx)("span",{children:g})}),[m,g]);return b===0?G():(0,n.jsx)("div",{ref:y,className:`${V.virtualList} ${x??""}`,style:{height:typeof o=="number"?`${o}px`:o},children:(0,n.jsx)("div",{className:`${V.virtualListInner} ${j??""}`,style:{height:`${I.getTotalSize()}px`},children:(0,n.jsx)("div",{className:`${V.virtualListItems} ${w??""}`,style:{transform:`translateY(${A[0]?.start??0}px)`,paddingTop:"2px"},children:A.map($=>{const L=$.index>b-1,J=p[$.index];return(0,n.jsx)("div",{"data-index":$.index,ref:I.measureElement,children:L?t?S():C():(0,n.jsx)("div",{children:r(J,$.index)},c(J,$.index))},$.key)})})})})}var Nr=(0,h.memo)(Sr),Ir="styles-module__virtualList___xmj2v",Cr="styles-module__virtualListInner___quD74",Er="styles-module__virtualListItems___-Muml",Lr="styles-module__virtualListRow___h3pzX",Mr="styles-module__emptyContainer___LIy8r",$r="styles-module__loadingMore___Mzf-p",Or="styles-module__endOfList___g5G--",q={virtualList:Ir,virtualListInner:Cr,virtualListItems:Er,virtualListRow:Lr,emptyContainer:Mr,loadingMore:$r,endOfList:Or};function Dr({data:l,hasNextPage:t,isFetchingNextPage:e,fetchNextPage:s,renderItem:r,estimateSize:i=200,overscan:a=5,height:o,getItemKey:c,emptyState:d,loadingIndicator:u,endOfListIndicator:m,emptyText:_="No data",loadingMoreText:f="Loading more...",endOfListText:g="No more items",flexClass:w,outerClass:x,innerClass:j,...v}){const y=Array.isArray(l)?l:[],p=y.length,b=vr({count:t?p+1:p,estimateSize:typeof i=="number"?()=>i:i,overscan:a,...v}),I=b.getVirtualItems();(0,h.useEffect)(()=>{const C=I[I.length-1];C&&C.index>=p&&t&&!e&&s&&s()},[I,t,e,s,p]);const A=(0,h.useCallback)(()=>(0,n.jsx)("div",{className:q.virtualList,style:{height:typeof o=="number"?`${o}px`:o??"auto"},children:d??(0,n.jsx)("div",{className:q.emptyContainer,children:(0,n.jsx)("span",{children:_})})}),[d,o,_]),G=(0,h.useCallback)(()=>u??(0,n.jsx)("div",{className:q.loadingMore,children:(0,n.jsx)("span",{children:f})}),[u,f]),S=(0,h.useCallback)(()=>m??(0,n.jsx)("div",{className:q.endOfList,children:(0,n.jsx)("span",{children:g})}),[m,g]);return p===0?A():(0,n.jsx)("div",{className:`${q.virtualList} ${x??""}`,children:(0,n.jsx)("div",{className:`${q.virtualListInner} ${j??""}`,style:{height:b.getTotalSize()},children:(0,n.jsx)("div",{className:`${q.virtualListItems} ${w??""}`,style:{transform:`translateY(${I[0]?.start??0}px)`},children:I.map(C=>{const $=C.index>=p,L=y[C.index];return(0,n.jsx)("div",{"data-index":C.index,ref:b.measureElement,children:$?t?G():S():L==null?(0,n.jsx)("div",{},`missing-${C.index}`):(0,n.jsx)("div",{children:r(L,C.index)},c(L,C.index))},C.key)})})})})}var Rr=(0,h.memo)(Dr);exports.Button=U;exports.Dropdown=ne;exports.Icon=le;exports.Input=Z;exports.KeyValueEditor=ie;exports.LayoutSwitcher=ce;exports.SearchInput=ae;exports.ShowFilter=oe;exports.SlideDownSwitcher=Q;exports.Slider=ue;exports.Suspense=me;exports.Textarea=fe;exports.ThemeSwitcher=de;exports.VirtualList=Nr;exports.VirtualWindowList=Rr;
|
|
6
|
+
color: hsl(${Math.max(0,Math.min(120-120*w,120))}deg 100% 31%);`,e?.key)}return e?.onChange&&!(i&&e.skipInitialOnChange)&&e.onChange(r),i=!1,r}return a.updateDeps=o=>{s=o},a}function te(l,t){if(l===void 0)throw new Error(`Unexpected undefined${t?`: ${t}`:""}`);return l}var lr=(l,t)=>Math.abs(l-t)<1.01,pe=(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}},ir=l=>l,ar=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},or=(l,t)=>{const e=l.scrollElement;if(!e)return;const s=l.targetWindow;if(!s)return;const r=a=>{const{width:o,height:c}=a;t({width:Math.round(o),height:Math.round(c)})};if(r(se(e)),!s.ResizeObserver)return()=>{};const i=new s.ResizeObserver(a=>{const o=()=>{const c=a[0];if(c?.borderBoxSize){const d=c.borderBoxSize[0];if(d){r({width:d.inlineSize,height:d.blockSize});return}}r(se(e))};l.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(o):o()});return i.observe(e,{box:"border-box"}),()=>{i.unobserve(e)}},K={passive:!0},dr=(l,t)=>{const e=l.scrollElement;if(!e)return;const s=()=>{t({width:e.innerWidth,height:e.innerHeight})};return s(),e.addEventListener("resize",s,K),()=>{e.removeEventListener("resize",s)}},Y=typeof window>"u"?!0:"onscrollend"in window,cr=(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?()=>{}:pe(s,()=>{t(r,!1)},l.options.isScrollingResetDelay),a=u=>()=>{const{horizontal:m,isRtl:_}=l.options;r=m?e.scrollLeft*(_&&-1||1):e.scrollTop,i(),t(r,u)},o=a(!0),c=a(!1);e.addEventListener("scroll",o,K);const d=l.options.useScrollendEvent&&Y;return d&&e.addEventListener("scrollend",c,K),()=>{e.removeEventListener("scroll",o),d&&e.removeEventListener("scrollend",c)}},ur=(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?()=>{}:pe(s,()=>{t(r,!1)},l.options.isScrollingResetDelay),a=u=>()=>{r=e[l.options.horizontal?"scrollX":"scrollY"],i(),t(r,u)},o=a(!0),c=a(!1);e.addEventListener("scroll",o,K);const d=l.options.useScrollendEvent&&Y;return d&&e.addEventListener("scrollend",c,K),()=>{e.removeEventListener("scroll",o),d&&e.removeEventListener("scrollend",c)}},_r=(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"]},hr=(l,{adjustments:t=0,behavior:e},s)=>{var r,i;const a=l+t;(i=(r=s.scrollElement)==null?void 0:r.scrollTo)==null||i.call(r,{[s.options.horizontal?"left":"top"]:a,behavior:e})},mr=(l,{adjustments:t=0,behavior:e},s)=>{var r,i;const a=l+t;(i=(r=s.scrollElement)==null?void 0:r.scrollTo)==null||i.call(r,{[s.options.horizontal?"left":"top"]:a,behavior:e})},fr=class{constructor(l){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=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.now=()=>{var t,e,s;return((s=(e=(t=this.targetWindow)==null?void 0:t.performance)==null?void 0:e.now)==null?void 0:s.call(e))??Date.now()},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=()=>{const a=r.target,o=this.indexFromElement(a);if(!a.isConnected){this.observer.unobserve(a);return}this.shouldMeasureDuringScroll(o)&&this.resizeItem(o,this.options.measureElement(a,r,this))};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:ir,rangeExtractor:ar,onChange:()=>{},measureElement:_r,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,laneAssignmentMode:"estimate",...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.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,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.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}},this.rafId=null,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 a=t[i];if(s.has(a.lane))continue;const o=r.get(a.lane);if(o==null||a.end>o.end?r.set(a.lane,a):a.end<o.end&&s.set(a.lane,!0),s.size===this.options.lanes)break}return r.size===this.options.lanes?Array.from(r.values()).sort((i,a)=>i.end===a.end?i.index-a.index:i.end-a.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,this.options.laneAssignmentMode],(t,e,s,r,i,a,o)=>(this.prevLanes!==void 0&&this.prevLanes!==a&&(this.lanesChangedFlag=!0),this.prevLanes=a,this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:e,scrollMargin:s,getItemKey:r,enabled:i,lanes:a,laneAssignmentMode:o}),{key:!1}),this.getMeasurements=P(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:e,scrollMargin:s,getItemKey:r,enabled:i,lanes:a,laneAssignmentMode:o},c)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>t)for(const _ of this.laneAssignments.keys())_>=t&&this.laneAssignments.delete(_);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(_=>{this.itemSizeCache.set(_.key,_.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 u=this.measurementsCache.slice(0,d),m=new Array(a).fill(void 0);for(let _=0;_<d;_++){const f=u[_];f&&(m[f.lane]=_)}for(let _=d;_<t;_++){const f=r(_),g=this.laneAssignments.get(_);let w,x;const j=o==="estimate"||c.has(f);if(g!==void 0&&this.options.lanes>1){w=g;const b=m[w],I=b!==void 0?u[b]:void 0;x=I?I.end+this.options.gap:e+s}else{const b=this.options.lanes===1?u[_-1]:this.getFurthestMeasurement(u,_);x=b?b.end+this.options.gap:e+s,w=b?b.lane:_%this.options.lanes,this.options.lanes>1&&j&&this.laneAssignments.set(_,w)}const v=c.get(f),y=typeof v=="number"?v:this.options.estimateSize(_),p=x+y;u[_]={index:_,start:x,size:y,end:p,key:f,lane:w},m[w]=_}return this.measurementsCache=u,u},{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?pr({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.shouldMeasureDuringScroll=t=>{var e;if(!this.scrollState||this.scrollState.behavior!=="smooth")return!0;const s=this.scrollState.index??((e=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))==null?void 0:e.index);if(s!==void 0&&this.range){const r=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),i=Math.max(0,s-r),a=Math.min(this.options.count-1,s+r);return t>=i&&t<=a}return!0},this.measureElement=t=>{if(!t){this.elementsCache.forEach((i,a)=>{i.isConnected||(this.observer.unobserve(i),this.elementsCache.delete(a))});return}const e=this.indexFromElement(t),s=this.options.getItemKey(e),r=this.elementsCache.get(s);r!==t&&(r&&this.observer.unobserve(r),this.observer.observe(t),this.elementsCache.set(s,t)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(e)&&this.resizeItem(e,this.options.measureElement(t,void 0,this))},this.resizeItem=(t,e)=>{var s;const r=this.measurementsCache[t];if(!r)return;const i=e-(this.itemSizeCache.get(r.key)??r.size);i!==0&&(((s=this.scrollState)==null?void 0:s.behavior)!=="smooth"&&(this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(r,i,this):r.start<this.getScrollOffset()+this.scrollAdjustments)&&(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("correction",i),this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=i,behavior:void 0})),this.pendingMeasuredCacheIndexes.push(r.index),this.itemSizeCache=new Map(this.itemSizeCache.set(r.key,e)),this.notify(!1))},this.getVirtualItems=P(()=>[this.getVirtualIndexes(),this.getMeasurements()],(t,e)=>{const s=[];for(let r=0,i=t.length;r<i;r++){const a=e[t[r]];s.push(a)}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[ve(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 a=this.getMaxScrollOffset();return Math.max(Math.min(a,t),0)},this.getOffsetForIndex=(t,e="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));const s=this.getSize(),r=this.getScrollOffset(),i=this.measurementsCache[t];if(!i)return;if(e==="auto")if(i.end>=r+s-this.options.scrollPaddingEnd)e="end";else if(i.start<=r+this.options.scrollPaddingStart)e="start";else return[r,e];if(e==="end"&&t===this.options.count-1)return[this.getMaxScrollOffset(),e];const a=e==="end"?i.end+this.options.scrollPaddingEnd:i.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(a,e,i.size),e]},this.scrollToOffset=(t,{align:e="start",behavior:s="auto"}={})=>{const r=this.getOffsetForAlignment(t,e),i=this.now();this.scrollState={index:null,align:e,behavior:s,startedAt:i,lastTargetOffset:r,stableFrames:0},this._scrollToOffset(r,{adjustments:void 0,behavior:s}),this.scheduleScrollReconcile()},this.scrollToIndex=(t,{align:e="auto",behavior:s="auto"}={})=>{t=Math.max(0,Math.min(t,this.options.count-1));const r=this.getOffsetForIndex(t,e);if(!r)return;const[i,a]=r,o=this.now();this.scrollState={index:t,align:a,behavior:s,startedAt:o,lastTargetOffset:i,stableFrames:0},this._scrollToOffset(i,{adjustments:void 0,behavior:s}),this.scheduleScrollReconcile()},this.scrollBy=(t,{behavior:e="auto"}={})=>{const s=this.getScrollOffset()+t,r=this.now();this.scrollState={index:null,align:"start",behavior:e,startedAt:r,lastTargetOffset:s,stableFrames:0},this._scrollToOffset(s,{adjustments:void 0,behavior:e}),this.scheduleScrollReconcile()},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(a=>a===null);){const a=e[i];r[a.lane]===null&&(r[a.lane]=a.end),i--}s=Math.max(...r.filter(a=>a!==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)}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}this.rafId==null&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}const l=this.scrollState.index!=null?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,t=l?l[0]:this.scrollState.lastTargetOffset,e=1,s=t!==this.scrollState.lastTargetOffset;if(!s&&lr(t,this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=e){this.scrollState=null;return}}else this.scrollState.stableFrames=0,s&&(this.scrollState.lastTargetOffset=t,this.scrollState.behavior="auto",this._scrollToOffset(t,{adjustments:void 0,behavior:"auto"}));this.scheduleScrollReconcile()}},ve=(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 pr({measurements:l,outerSize:t,scrollOffset:e,lanes:s}){const r=l.length-1,i=c=>l[c].start;if(l.length<=s)return{startIndex:0,endIndex:r};let a=ve(0,r,i,e),o=a;if(s===1)for(;o<r&&l[o].end<e+t;)o++;else if(s>1){const c=Array(s).fill(0);for(;o<r&&c.some(u=>u<e+t);){const u=l[o];c[u.lane]=u.end,o++}const d=Array(s).fill(e+t);for(;a>=0&&d.some(u=>u>=e);){const u=l[a];d[u.lane]=u.start,a--}a=Math.max(0,a-a%s),o=Math.min(r,o+(s-1-o%s))}return{startIndex:a,endIndex:o}}var re=typeof document<"u"?h.useLayoutEffect:h.useEffect;function ye({useFlushSync:l=!0,...t}){const e=h.useReducer(()=>({}),{})[1],s={...t,onChange:(i,a)=>{var o;l&&a?(0,Ne.flushSync)(e):e(),(o=t.onChange)==null||o.call(t,i,a)}},[r]=h.useState(()=>new fr(s));return r.setOptions(s),re(()=>r._didMount(),[]),re(()=>r._willUpdate()),r}function vr(l){return ye({observeElementRect:or,observeElementOffset:cr,scrollToFn:mr,...l})}function yr(l){return ye({getScrollElement:()=>typeof document<"u"?window:null,observeElementRect:dr,observeElementOffset:ur,scrollToFn:hr,initialOffset:()=>typeof document<"u"?window.scrollY:0,...l})}var gr="styles-module__virtualList___pM6rN",xr="styles-module__emptyContainer___rm938",br="styles-module__virtualListInner___HxRzc",jr="styles-module__virtualListItems___p19-a",wr="styles-module__loadingMore___zAdLM",Sr="styles-module__endOfList___5cYFh",V={virtualList:gr,emptyContainer:xr,virtualListInner:br,virtualListItems:jr,loadingMore:wr,endOfList:Sr};function Nr({data:l,hasNextPage:t,isFetchingNextPage:e,fetchNextPage:s,renderItem:r,estimateSize:i=200,overscan:a=5,height:o="600px",getItemKey:c,emptyState:d,loadingIndicator:u,endOfListIndicator:m,emptyText:_="No data",loadingMoreText:f="Loading more...",endOfListText:g="No more items",flexClass:w,outerClass:x,innerClass:j,...v}){const y=(0,h.useRef)(null),p=Array.isArray(l)?l:[],b=p.length,I=vr({count:t?b+1:b,getScrollElement:()=>y.current,estimateSize:typeof i=="number"?()=>i:i,overscan:a,...v}),A=I.getVirtualItems();(0,h.useEffect)(()=>{const[M]=[...A].reverse();M&&M.index>=b-1&&t&&!e&&s&&s()},[t,s,b,e,A]);const G=(0,h.useCallback)(()=>(0,n.jsx)("div",{className:V.virtualList,style:{height:typeof o=="number"?`${o}px`:o},children:d??(0,n.jsx)("div",{className:V.emptyContainer,children:(0,n.jsx)("span",{children:_})})}),[d,o,_]),S=(0,h.useCallback)(()=>u||(0,n.jsx)("div",{className:V.loadingMore,children:(0,n.jsx)("span",{children:f})}),[u,f]),C=(0,h.useCallback)(()=>m||(0,n.jsx)("div",{className:V.endOfList,children:(0,n.jsx)("span",{children:g})}),[m,g]);return b===0?G():(0,n.jsx)("div",{ref:y,className:`${V.virtualList} ${x??""}`,style:{height:typeof o=="number"?`${o}px`:o},children:(0,n.jsx)("div",{className:`${V.virtualListInner} ${j??""}`,style:{height:`${I.getTotalSize()}px`},children:(0,n.jsx)("div",{className:`${V.virtualListItems} ${w??""}`,style:{transform:`translateY(${A[0]?.start??0}px)`,paddingTop:"2px"},children:A.map(M=>{const L=M.index>b-1,J=p[M.index];return(0,n.jsx)("div",{"data-index":M.index,ref:I.measureElement,children:L?t?S():C():(0,n.jsx)("div",{children:r(J,M.index)},c(J,M.index))},M.key)})})})})}var Ir=(0,h.memo)(Nr),Cr="styles-module__virtualList___xmj2v",Er="styles-module__virtualListInner___quD74",Lr="styles-module__virtualListItems___-Muml",$r="styles-module__virtualListRow___h3pzX",Mr="styles-module__emptyContainer___LIy8r",Or="styles-module__loadingMore___Mzf-p",Dr="styles-module__endOfList___g5G--",q={virtualList:Cr,virtualListInner:Er,virtualListItems:Lr,virtualListRow:$r,emptyContainer:Mr,loadingMore:Or,endOfList:Dr};function Rr({data:l,hasNextPage:t,isFetchingNextPage:e,fetchNextPage:s,renderItem:r,estimateSize:i=200,overscan:a=5,height:o,getItemKey:c,emptyState:d,loadingIndicator:u,endOfListIndicator:m,emptyText:_="No data",loadingMoreText:f="Loading more...",endOfListText:g="No more items",flexClass:w,outerClass:x,innerClass:j,...v}){const y=Array.isArray(l)?l:[],p=y.length,b=yr({count:t?p+1:p,estimateSize:typeof i=="number"?()=>i:i,overscan:a,...v}),I=b.getVirtualItems();(0,h.useEffect)(()=>{const C=I[I.length-1];C&&C.index>=p&&t&&!e&&s&&s()},[I,t,e,s,p]);const A=(0,h.useCallback)(()=>(0,n.jsx)("div",{className:q.virtualList,style:{height:typeof o=="number"?`${o}px`:o??"auto"},children:d??(0,n.jsx)("div",{className:q.emptyContainer,children:(0,n.jsx)("span",{children:_})})}),[d,o,_]),G=(0,h.useCallback)(()=>u??(0,n.jsx)("div",{className:q.loadingMore,children:(0,n.jsx)("span",{children:f})}),[u,f]),S=(0,h.useCallback)(()=>m??(0,n.jsx)("div",{className:q.endOfList,children:(0,n.jsx)("span",{children:g})}),[m,g]);return p===0?A():(0,n.jsx)("div",{className:`${q.virtualList} ${x??""}`,children:(0,n.jsx)("div",{className:`${q.virtualListInner} ${j??""}`,style:{height:b.getTotalSize()},children:(0,n.jsx)("div",{className:`${q.virtualListItems} ${w??""}`,style:{transform:`translateY(${I[0]?.start??0}px)`},children:I.map(C=>{const M=C.index>=p,L=y[C.index];return(0,n.jsx)("div",{"data-index":C.index,ref:b.measureElement,children:M?t?G():S():L==null?(0,n.jsx)("div",{},`missing-${C.index}`):(0,n.jsx)("div",{children:r(L,C.index)},c(L,C.index))},C.key)})})})})}var Tr=(0,h.memo)(Rr);exports.Button=U;exports.Dropdown=ne;exports.Icon=le;exports.Input=Z;exports.KeyValueEditor=ie;exports.LayoutSwitcher=ce;exports.SearchInput=ae;exports.ShowFilter=oe;exports.SlideDownSwitcher=Q;exports.Slider=ue;exports.Suspense=me;exports.Textarea=fe;exports.ThemeSwitcher=de;exports.VirtualList=Ir;exports.VirtualWindowList=Tr;
|
|
7
7
|
|
|
8
8
|
//# sourceMappingURL=components.cjs.map
|