sodtrack-web-ui 0.94.1 → 0.95.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/{chunk-W6VM364Q.js → chunk-3BV3G5OZ.js} +1 -1
  2. package/dist/chunk-LU2N5UJD.js +1 -0
  3. package/dist/{chunk-XIDOQZVZ.js → chunk-M2BX7QCF.js} +1 -1
  4. package/dist/{chunk-4DD2WQAV.js → chunk-MR7VESKI.js} +1 -1
  5. package/dist/chunk-R4VAIVAH.js +1 -0
  6. package/dist/{chunk-HOSOIP3T.js → chunk-RIQZQDPY.js} +1 -1
  7. package/dist/{chunk-D3PF6LA3.js → chunk-RR27UNZE.js} +1 -1
  8. package/dist/{chunk-PP3UAZQS.js → chunk-SIBRMPL4.js} +1 -1
  9. package/dist/chunk-VX7MV7TT.js +1 -0
  10. package/dist/{chunk-4XIOT32M.js → chunk-ZXL6PTKT.js} +1 -1
  11. package/dist/components/accordion-form.js +1 -1
  12. package/dist/components/accordion.js +1 -1
  13. package/dist/components/badge-expandable.d.ts +1 -1
  14. package/dist/components/card-expandable.js +1 -1
  15. package/dist/components/data-table.js +1 -1
  16. package/dist/components/drawer.js +1 -1
  17. package/dist/components/dropzone.js +1 -1
  18. package/dist/components/index.d.ts +2 -0
  19. package/dist/components/index.js +1 -1
  20. package/dist/components/list-item-arrow.js +1 -1
  21. package/dist/components/list-item-button.js +1 -1
  22. package/dist/components/list-item-checkbox-left.js +1 -1
  23. package/dist/components/list-item-checkbox.js +1 -1
  24. package/dist/components/list-item.js +1 -1
  25. package/dist/components/select-new.d.ts +1 -1
  26. package/dist/components/sidebar.js +1 -1
  27. package/dist/components/signature-pad.d.ts +1 -1
  28. package/dist/components/step-item.d.ts +11 -0
  29. package/dist/components/step-item.js +1 -0
  30. package/dist/components/time-picker-new.d.ts +1 -1
  31. package/dist/components/tracker-item.d.ts +63 -0
  32. package/dist/components/tracker-item.js +1 -0
  33. package/dist/styles/index.css +1 -1
  34. package/package.json +1 -1
  35. package/dist/chunk-OUYQHB74.js +0 -1
@@ -1,2 +1,2 @@
1
- import {c}from'./chunk-FI6UCH7I.js';import {a as a$2}from'./chunk-SH7GL327.js';import {c as c$2}from'./chunk-SVOYRVJO.js';import {c as c$1}from'./chunk-55Z77FLU.js';import {a}from'./chunk-UZ3SBSKA.js';import {e,w}from'./chunk-QNQELNVU.js';import {a as a$1}from'./chunk-OBZIYJO7.js';import {FileUpload}from'@ark-ui/react';import {getDefaultOptions}from'date-fns';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var I='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.8 9H9.2a.8.8 0 0 0-.8.8v5.6a.8.8 0 0 0 .8.8h5.6a.8.8 0 0 0 .8-.8V9.8a.8.8 0 0 0-.8-.8Z"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m15.6 13.8-2-2-4.4 4.4M10.6 11.8a.6.6 0 1 0 0-1.2.6.6 0 0 0 0 1.2Z"/></svg>';var j='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><g stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" clip-path="url(%23b)"><path d="M12 16.6a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z"/><path d="m11.2 11 2.4 1.6-2.4 1.6V11Z"/></g><defs><clipPath id="b"><path fill="%23fff" d="M7.2 7.8h9.6v9.6H7.2z"/></clipPath></defs></svg>';var z='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M9.6 16.2a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4Z"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M10.8 15V9.8l4.8-.8v5.2"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.4 15.4a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4Z"/></svg>';var L='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%2301A797" d="M15.045 13.178c-.599 0-1.348.105-1.594.141-1.014-1.06-1.303-1.662-1.368-1.822a7.115 7.115 0 0 0 .438-2.189c.021-.552-.096-.965-.347-1.226a.913.913 0 0 0-.643-.282c-.306 0-.818.155-.818 1.19 0 .899.418 1.852.534 2.098-.61 1.776-1.265 2.992-1.404 3.242C7.392 15.253 7.2 16.146 7.2 16.4c0 .454.324.725.866.725 1.317 0 2.52-2.211 2.718-2.595.936-.373 2.188-.604 2.506-.659.913.87 1.97 1.102 2.408 1.102.33 0 1.102 0 1.102-.794 0-.738-.945-1-1.755-1Zm-.064.522c.712 0 .9.235.9.36 0 .077-.03.332-.411.332-.342 0-.933-.197-1.513-.626.242-.032.6-.066 1.024-.066Zm-3.487-5.394c.065 0 .107.02.143.07.204.283.04 1.211-.162 1.937-.193-.623-.339-1.578-.134-1.914.04-.065.086-.093.153-.093Zm-.346 5.557c.258-.52.547-1.279.704-1.708.315.527.738 1.016.983 1.281-.763.16-1.34.321-1.687.427Zm-3.436 2.605c-.017-.02-.02-.063-.007-.113.027-.107.232-.636 1.714-1.3-.212.335-.544.813-.908 1.17-.257.24-.457.361-.594.361-.05 0-.117-.013-.205-.118Z"/></svg>';var P='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14 15H8.4M15.6 13.4H8.4M14 11.8H8.4M15.6 10.2H8.4"/></svg>';var N='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.4 12.6h7.2m-7.2 0V9.8a.8.8 0 0 1 .8-.8h5.6a.8.8 0 0 1 .8.8v2.8H8.4Zm0 0v2.8a.8.8 0 0 0 .8.8h5.6a.8.8 0 0 0 .8-.8v-2.8H8.4Z"/></svg>';var k='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><g clip-path="url(%23b)"><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16 15.4a.8.8 0 0 1-.8.8H8.8a.8.8 0 0 1-.8-.8V9.8a.8.8 0 0 1 .8-.8h2l.8 1.2h3.6a.8.8 0 0 1 .8.8v4.4Z"/></g><defs><clipPath id="b"><path fill="%23fff" d="M7.2 7.8h9.6v9.6H7.2z"/></clipPath></defs></svg>';var H='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/></svg>';var S='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.95 19.067c-.144 0-.282-.017-.413-.053a2.51 2.51 0 0 1-.37-.13v-.782c.113.08.213.148.303.202a.5.5 0 0 0 .26.082c.12 0 .218-.03.292-.092.077-.064.115-.166.115-.307v-2.189h.874v2.228c0 .198-.032.364-.096.499a.836.836 0 0 1-.245.321.873.873 0 0 1-.34.168 1.39 1.39 0 0 1-.38.053Zm2.584-1.08V19h-.869v-3.202h1.503c.377 0 .675.085.893.255.22.17.33.437.33.801 0 .362-.11.642-.33.84-.218.196-.516.293-.893.293h-.634Zm0-.662h.528c.061 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Zm3.81 1.742a1.96 1.96 0 0 1-.825-.163 1.2 1.2 0 0 1-.557-.528c-.131-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.605.062.199.042.39.1.572.173v.782a4.255 4.255 0 0 0-.552-.254 1.382 1.382 0 0 0-.51-.096c-.165 0-.31.03-.431.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .269.311.81.81 0 0 0 .384.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/></svg>';var R='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.023 19.067c-.144 0-.282-.017-.413-.053a2.51 2.51 0 0 1-.37-.13v-.782c.112.08.213.148.303.202a.5.5 0 0 0 .259.082c.121 0 .219-.03.293-.092.076-.064.115-.166.115-.307v-2.189h.873v2.228c0 .198-.032.364-.096.499a.836.836 0 0 1-.244.321.873.873 0 0 1-.341.168 1.39 1.39 0 0 1-.38.053Zm2.584-1.08V19h-.869v-3.202H7.24c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM8.977 19v-3.202h2.232v.663H9.851v.605h1.17v.662H9.847v.61h1.363V19H8.977Zm4.295.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.557-.528c-.13-.246-.196-.571-.196-.974 0-.394.065-.714.196-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.389.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.273.307c-.064.144-.096.347-.096.61 0 .256.033.459.1.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var $='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.633 17.987V19h-.87v-3.202h1.503c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM7.003 19v-3.202h.72l1.574 2.088-.264.557v-2.645h.797V19h-.634l-1.584-2.035.183-.394V19h-.792Zm4.918.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.556-.528c-.132-.246-.197-.571-.197-.974 0-.394.065-.714.197-.96.134-.25.32-.432.556-.548.237-.115.51-.172.821-.172.208 0 .41.02.605.062.198.042.389.1.571.173v.782a4.255 4.255 0 0 0-.552-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.273.307c-.064.144-.096.347-.096.61 0 .256.033.459.1.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.35v1.516a2.84 2.84 0 0 1-.644.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var U='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h18.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m4.37 19-.868-3.202h.95l.485 2.4h-.13l.687-2.4h.658l.69 2.43h-.138l.484-2.43h.956L7.274 19h-.858l-.663-2.194h.149L5.225 19h-.854Zm4.218 0v-3.202h2.232v.663H9.462v.605h1.17v.662H9.458v.61h1.363V19H8.588Zm2.855 0v-3.202h1.42c.225 0 .423.03.596.087a.82.82 0 0 1 .417.278c.106.128.159.304.159.528a.578.578 0 0 1-.116.365.88.88 0 0 1-.278.23 2.274 2.274 0 0 1-.297.13l-.101-.197c.195.007.363.043.504.11.14.065.25.156.326.274.08.115.12.255.12.418 0 .224-.056.41-.168.557a.972.972 0 0 1-.437.321c-.179.067-.376.101-.59.101h-1.555Zm.873-.662h.61a.475.475 0 0 0 .182-.034.27.27 0 0 0 .135-.11.373.373 0 0 0 .053-.207.32.32 0 0 0-.034-.153.248.248 0 0 0-.082-.106.323.323 0 0 0-.12-.058.575.575 0 0 0-.149-.019h-.595v.687Zm-.005-1.306h.586c.045 0 .085-.01.12-.029a.29.29 0 0 0 .096-.091.278.278 0 0 0 .039-.149c0-.112-.03-.19-.092-.235a.347.347 0 0 0-.21-.067h-.538v.571Zm3.263.955V19h-.869v-3.202h1.503c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Z"/></svg>';var q='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h11.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.915 19.067a1.96 1.96 0 0 1-.825-.163 1.2 1.2 0 0 1-.557-.528c-.131-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.388.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.51-.096c-.166 0-.31.03-.431.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .269.311.81.81 0 0 0 .384.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662H6.23v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.673.091ZM6.883 19v-3.202h.874V19h-.874Zm1.528 0v-3.202h2.223v.663H9.28v.686h1.167v.667H9.28V19h-.869Z"/></svg>';var _='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.67 19v-3.202h.878l1.08 1.47-.456.009 1.114-1.479h.854V19h-.868v-2.563l.148.297-1.041 1.373-1.056-1.406.173-.106V19H3.67Zm4.994-1.013V19h-.869v-3.202h1.502c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM12.234 19v-.84h-1.34v-.59l1.417-1.772h.797v1.719h.398v.643h-.398V19h-.874Zm-.62-1.483h.62v-.773l-.62.773Z"/></svg>';var O='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h17.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.513 19v-3.202h.878l1.08 1.47-.456.009 1.114-1.479h.854V19h-.868v-2.563l.148.297-1.041 1.373-1.056-1.406.173-.106V19h-.826Zm4.994-1.013V19h-.869v-3.202H9.14c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM10.877 19v-3.202h2.232v.663h-1.358v.605h1.17v.662h-1.175v.61h1.363V19h-2.232Zm4.295.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.557-.528c-.13-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.388.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var G='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m3.552 19 1.195-3.202h.955L6.806 19h-.892L4.91 15.947l.447-.038L4.358 19h-.806Zm.706-.629.163-.619h1.43l.082.62H4.258Zm3.47.629-1.185-3.202H7.55l.864 2.684h-.279l.86-2.684h.926L8.659 19h-.93Zm2.576 0v-3.202h.873V19h-.873Z"/></svg>';var Y='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.351 19v-3.202h.879l1.08 1.47-.456.009 1.113-1.479h.855V19h-.869v-2.563l.149.297-1.042 1.373-1.056-1.406.173-.106V19h-.826Zm4.96-.95-.316-.504 1.219-1.748h1.094L8.312 18.05Zm-.835.95v-3.202h.874V19h-.874Zm1.565-2.02L10.4 19H9.32l-.95-1.469.671-.552ZM11.726 19l-1.186-3.202h1.008l.864 2.684h-.278l.86-2.684h.926L12.657 19h-.931Z"/></svg>';var W='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23593AD1" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.5 15.45a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.85 14.1V8.25l5.4-.9v5.85"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12.9 14.55a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path fill="%238161FF" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.712 19v-3.202h.879l1.08 1.47-.456.009 1.113-1.479h.855V19h-.87v-2.563l.15.297-1.042 1.373-1.056-1.406.173-.106V19h-.826Zm4.994-1.013V19h-.869v-3.202H9.34c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Zm3.335 1.713c-.173 0-.34-.025-.504-.076a3.162 3.162 0 0 1-.451-.183v-.725c.15.09.3.17.446.24.15.07.31.106.476.106a.753.753 0 0 0 .388-.086.279.279 0 0 0 .144-.255.36.36 0 0 0-.115-.278c-.077-.074-.22-.11-.432-.11h-.5v-.634h.51c.137 0 .236-.03.297-.091a.283.283 0 0 0 .096-.212c0-.086-.022-.152-.067-.196a.381.381 0 0 0-.178-.096.91.91 0 0 0-.23-.03c-.105 0-.216.014-.331.04a1.926 1.926 0 0 0-.442.162v-.643c.122-.064.256-.115.404-.153a1.651 1.651 0 0 1 .854-.015c.137.029.262.079.374.149a.761.761 0 0 1 .326.917.694.694 0 0 1-.278.326.442.442 0 0 1-.163.067c.08.023.157.06.23.11.074.049.14.108.197.178a.81.81 0 0 1 .197.552c0 .18-.037.33-.11.452a.828.828 0 0 1-.293.283c-.122.07-.256.121-.403.153a2.03 2.03 0 0 1-.442.048Z"/></svg>';var K='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 5.7h-4.5a1.2 1.2 0 0 1-1.2-1.2h5.7v1.2Zm-4.5 0a1.2 1.2 0 0 1-1.2-1.2V.6h1.2v5.7ZM20.1.6v5.1V.6Z" mask="url(%23a)"/><path fill="%23593AD1" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.5 15.45a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.85 14.1V8.25l5.4-.9v5.85"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12.9 14.55a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path fill="%238161FF" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m4.488 19-.869-3.202h.95l.485 2.4h-.13l.687-2.4h.658l.691 2.43h-.14l.486-2.43h.955L7.392 19h-.86l-.662-2.194h.15L5.341 19h-.854Zm3.588 0 1.195-3.202h.955L11.33 19h-.893l-1.003-3.053.446-.038L8.882 19h-.806Zm.705-.629.163-.619h1.43l.082.62H8.781Zm3.47.629-1.185-3.202h1.008l.864 2.684h-.278l.859-2.684h.926L13.183 19h-.931Z"/></svg>';var J='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23730D0D" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%23BB3939" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.463 17.987V19h-.869v-3.202h1.503c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM6.833 19v-3.202h1.344c.554 0 .959.136 1.215.408.259.272.389.67.389 1.196 0 .521-.13.918-.39 1.19-.255.272-.66.408-1.214.408H6.833Zm.87-.662h.369c.265 0 .467-.074.605-.221.14-.15.21-.389.21-.715 0-.33-.07-.568-.21-.716-.138-.15-.34-.225-.605-.225h-.37v1.877Zm2.59.662v-3.202h2.222v.663h-1.354v.686h1.167v.667h-1.166V19h-.87Z"/></svg>';var X='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23074856" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%232D9AB2" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.806 19v-3.202H5.15c.554 0 .958.136 1.214.408.26.272.39.67.39 1.196 0 .521-.13.918-.39 1.19-.256.272-.66.408-1.214.408H3.806Zm.869-.662h.37c.265 0 .467-.074.604-.221.141-.15.211-.389.211-.715 0-.33-.07-.568-.21-.716-.138-.15-.34-.225-.606-.225h-.37v1.877Zm4.04.73c-.317 0-.595-.06-.835-.178a1.276 1.276 0 0 1-.557-.548c-.131-.246-.197-.56-.197-.94 0-.55.14-.967.418-1.248.281-.282.672-.423 1.17-.423.318 0 .595.06.831.178.24.118.426.3.557.547.134.243.202.557.202.94 0 .551-.14.967-.418 1.249-.278.281-.669.422-1.171.422Zm0-.702c.144 0 .267-.03.37-.09a.576.576 0 0 0 .235-.303c.057-.144.086-.338.086-.581 0-.24-.029-.43-.086-.571a.552.552 0 0 0-.235-.298.711.711 0 0 0-.37-.091.683.683 0 0 0-.37.096.6.6 0 0 0-.24.302c-.054.141-.081.333-.081.576 0 .24.027.43.081.572a.6.6 0 0 0 .24.297c.103.061.226.091.37.091Zm3.539.701c-.519 0-.915-.134-1.19-.403-.273-.269-.409-.69-.409-1.262 0-.554.13-.972.39-1.253.261-.285.665-.427 1.209-.427.17 0 .34.02.513.062.176.042.348.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.417-.077.938.938 0 0 0-.442.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.033.453.1.6a.613.613 0 0 0 .289.312c.128.058.284.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Z"/></svg>';var Q='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23074856" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%232D9AB2" d="M.6 13.2h17.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.628 19v-3.202h1.344c.553 0 .958.136 1.214.408.26.272.389.67.389 1.196 0 .521-.13.918-.389 1.19-.256.272-.66.408-1.214.408H3.628Zm.869-.662h.37c.265 0 .466-.074.604-.221.14-.15.211-.389.211-.715 0-.33-.07-.568-.211-.716-.138-.15-.34-.225-.605-.225h-.37v1.877Zm4.04.73c-.317 0-.595-.06-.835-.178a1.276 1.276 0 0 1-.557-.548c-.131-.246-.197-.56-.197-.94 0-.55.14-.967.418-1.248.281-.282.672-.423 1.17-.423.318 0 .594.06.831.178.24.118.426.3.557.547.134.243.202.557.202.94 0 .551-.14.967-.418 1.249-.278.281-.669.422-1.171.422Zm0-.702c.144 0 .267-.03.37-.09a.576.576 0 0 0 .235-.303c.057-.144.086-.338.086-.581 0-.24-.029-.43-.086-.571a.552.552 0 0 0-.236-.298.711.711 0 0 0-.37-.091.683.683 0 0 0-.369.096.6.6 0 0 0-.24.302c-.054.141-.081.333-.081.576 0 .24.027.43.081.572a.6.6 0 0 0 .24.297c.103.061.226.091.37.091Zm3.538.701c-.518 0-.915-.134-1.19-.403-.272-.269-.408-.69-.408-1.262 0-.554.13-.972.389-1.253.262-.285.665-.427 1.21-.427.17 0 .34.02.513.062.176.042.347.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.418-.077.938.938 0 0 0-.441.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.033.453.1.6a.613.613 0 0 0 .289.312c.128.058.284.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Zm4.57-.067H15.56l-2.165-3.202h1.085L16.645 19Zm-1.633-2.05.649-1.152h.945l-1.147 1.79-.447-.638Zm.125.735L14.38 19h-.936l1.262-1.92.432.605Z"/></svg>';var e1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23124E46" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%2301756A" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.974 19v-2.54H3.12v-.662h2.587v.663h-.869V19h-.864Zm5.15 0H8.04l-2.164-3.202h1.084L9.124 19Zm-1.632-2.05.648-1.152h.946l-1.147 1.79-.447-.638Zm.125.735L6.86 19h-.936l1.262-1.92.432.605ZM10.147 19v-2.54h-.854v-.662h2.588v.663h-.87V19h-.863Z"/></svg>';var a1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23793304" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path fill="%23E1E7E6" d="M15.1 8.9H8.3v4.25a.425.425 0 0 0 .425.425h5.95a.425.425 0 0 0 .425-.425V8.9Zm.85 4.25a1.275 1.275 0 0 1-1.275 1.275h-1.949l1.4 1.4a.425.425 0 1 1-.601.6L11.7 14.601l-1.824 1.824a.425.425 0 1 1-.601-.6l1.399-1.4H8.725A1.275 1.275 0 0 1 7.45 13.15V8.9a.425.425 0 0 1 0-.85h8.5a.425.425 0 0 1 0 .85v4.25Z"/></g><path fill="%23C66727" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.547 17.987V19H3.68v-3.202H5.18c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.528c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865Zm3.24.662V19h-.87v-3.202H8.42c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.527c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865ZM10.8 19v-2.54h-.854v-.662h2.587v.663h-.87V19H10.8Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 7.2h10.2v10.2H6.6z"/></clipPath></defs></svg>';var t1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23793304" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path fill="%23E1E7E6" d="M15.1 8.9H8.3v4.25a.425.425 0 0 0 .425.425h5.95a.425.425 0 0 0 .425-.425V8.9Zm.85 4.25a1.275 1.275 0 0 1-1.275 1.275h-1.949l1.4 1.4a.425.425 0 1 1-.601.6L11.7 14.601l-1.824 1.824a.425.425 0 1 1-.601-.6l1.399-1.4H8.725A1.275 1.275 0 0 1 7.45 13.15V8.9a.425.425 0 0 1 0-.85h8.5a.425.425 0 0 1 0 .85v4.25Z"/></g><path fill="%23C66727" d="M.6 13.2h16.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.37 17.987V19H3.5v-3.202h1.503c.377 0 .675.085.893.255.22.17.33.437.33.801 0 .362-.11.642-.33.84-.218.196-.516.293-.893.293h-.634Zm0-.662h.527c.061 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03H4.37v.865Zm3.238.662V19H6.74v-3.202h1.502c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.528c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865ZM10.622 19v-2.54h-.855v-.662h2.588v.663h-.87V19h-.863Zm5.15 0h-1.085l-2.165-3.202h1.085L15.772 19Zm-1.632-2.05.648-1.152h.945l-1.147 1.79-.446-.638Zm.125.735L13.506 19h-.936l1.263-1.92.432.605Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 7.2h10.2v10.2H6.6z"/></clipPath></defs></svg>';var l1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M5.107 19.067c-.519 0-.915-.134-1.19-.403-.273-.269-.409-.69-.409-1.262 0-.554.13-.972.39-1.253.262-.285.665-.427 1.209-.427.17 0 .34.02.513.062.176.042.348.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.417-.077.938.938 0 0 0-.442.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.034.453.1.6a.613.613 0 0 0 .289.312c.128.058.285.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Zm2.702 0c-.16 0-.31-.006-.447-.019a2.674 2.674 0 0 1-.384-.062 1.96 1.96 0 0 1-.331-.125v-.816c.16.125.334.217.523.278.189.058.36.087.514.087.121 0 .219-.023.293-.068.073-.044.11-.121.11-.23 0-.074-.037-.133-.11-.178a1.019 1.019 0 0 0-.288-.124 29.641 29.641 0 0 1-.404-.135 2.128 2.128 0 0 1-.264-.115.963.963 0 0 1-.225-.168.768.768 0 0 1-.163-.25.93.93 0 0 1-.063-.36c0-.14.026-.275.077-.403a1.002 1.002 0 0 1 .643-.571c.163-.058.354-.086.571-.086.132 0 .25.008.356.024.105.012.204.035.297.067a2.2 2.2 0 0 1 .288.12v.825a1.89 1.89 0 0 0-.542-.312 1.06 1.06 0 0 0-.307-.067.872.872 0 0 0-.245.024.38.38 0 0 0-.183.091.246.246 0 0 0-.067.183c0 .08.026.144.077.192a.71.71 0 0 0 .22.115c.097.029.202.06.318.091.134.039.256.082.364.13.112.048.208.107.288.177a.73.73 0 0 1 .188.26c.044.099.067.22.067.364 0 .205-.048.388-.144.548-.096.16-.232.286-.408.379a1.33 1.33 0 0 1-.62.134ZM10.406 19 9.22 15.798h1.008l.864 2.684h-.278l.859-2.684h.926L11.337 19h-.931Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var i1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M6.384 19H5.3l-2.165-3.202H4.22L6.384 19Zm-1.632-2.05.648-1.152h.946l-1.147 1.79-.447-.638Zm.125.735L4.12 19h-.936l1.262-1.92.432.605ZM6.765 19v-3.202h.873v2.535h1.335V19H6.765Zm3.799.067c-.16 0-.309-.006-.446-.019a2.674 2.674 0 0 1-.384-.062 1.96 1.96 0 0 1-.332-.125v-.816c.16.125.335.217.524.278.188.058.36.087.513.087.122 0 .22-.023.293-.068.074-.044.11-.121.11-.23 0-.074-.036-.133-.11-.178a1.019 1.019 0 0 0-.288-.124 29.641 29.641 0 0 1-.403-.135 2.127 2.127 0 0 1-.264-.115.963.963 0 0 1-.226-.168.768.768 0 0 1-.163-.25.93.93 0 0 1-.062-.36c0-.14.025-.275.076-.403a1.002 1.002 0 0 1 .644-.571c.163-.058.353-.086.57-.086.132 0 .25.008.356.024.106.012.205.035.298.067a2.2 2.2 0 0 1 .288.12v.825a1.89 1.89 0 0 0-.542-.312 1.06 1.06 0 0 0-.308-.067.872.872 0 0 0-.245.024.38.38 0 0 0-.182.091.246.246 0 0 0-.067.183c0 .08.025.144.076.192a.71.71 0 0 0 .221.115c.096.029.202.06.317.091.134.039.256.082.365.13.112.048.208.107.288.177a.73.73 0 0 1 .187.26c.045.099.067.22.067.364 0 .205-.048.388-.144.548-.096.16-.232.286-.408.379a1.33 1.33 0 0 1-.619.134Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var h1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M6.232 19h-.965l-2.184-3.202h.965L6.232 19Zm-1.589-2.016.696-1.186h.86L5.045 17.56l-.403-.576Zm.13.677L3.962 19h-.84l1.243-1.872.408.533ZM6.624 19v-3.202h.778v2.592h1.392V19h-2.17Zm3.738.067c-.163 0-.31-.008-.442-.024a2.375 2.375 0 0 1-.364-.072 2.017 2.017 0 0 1-.327-.125v-.739c.147.119.314.208.5.269.185.06.361.091.527.091.148 0 .26-.027.336-.081.08-.058.12-.144.12-.26a.24.24 0 0 0-.11-.206.934.934 0 0 0-.283-.14c-.119-.04-.251-.087-.399-.138a1.812 1.812 0 0 1-.273-.11.784.784 0 0 1-.408-.422.944.944 0 0 1-.063-.366c0-.131.024-.258.072-.38a.923.923 0 0 1 .221-.326c.103-.096.232-.17.389-.225a1.6 1.6 0 0 1 .552-.087c.131 0 .246.008.346.024.102.016.2.04.292.072.093.03.188.068.284.116v.748a1.617 1.617 0 0 0-.25-.168 1.53 1.53 0 0 0-.283-.134 1.016 1.016 0 0 0-.576-.029.376.376 0 0 0-.187.11.263.263 0 0 0-.068.188c0 .09.028.16.082.211.054.051.13.094.226.13l.321.105c.131.039.251.082.36.13.112.045.21.102.293.173.083.07.147.156.192.259a.919.919 0 0 1 .067.37c0 .191-.045.367-.134.527a.975.975 0 0 1-.389.375c-.17.09-.378.134-.624.134Zm4.56-.067h-.964l-2.184-3.202h.965L14.923 19Zm-1.588-2.016.696-1.186h.86l-1.153 1.762-.403-.576Zm.13.677L12.652 19h-.84l1.244-1.872.408.533Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var G1=["image","video","audio","pdf","text","spreadsheet","all"],M5=["extended","compact"],Y1={image:I,video:j,audio:z,pdf:L,text:P,spreadsheet:N,all:k},u={jpg:{fileType:"image",mimeType:"image/jpeg",badge:S},jpeg:{fileType:"image",mimeType:"image/jpeg",badge:R},png:{fileType:"image",mimeType:"image/png",badge:$},webp:{fileType:"image",mimeType:"image/webp",badge:U},gif:{fileType:"image",mimeType:"image/gif",badge:q},mp4:{fileType:"video",mimeType:"video/mp4",badge:_},mpeg:{fileType:"video",mimeType:"video/mpeg",badge:O},avi:{fileType:"video",mimeType:"video/x-msvideo",badge:G},mkv:{fileType:"video",mimeType:"video/x-matroska",badge:Y},mp3:{fileType:"audio",mimeType:"audio/mpeg",badge:W},wav:{fileType:"audio",mimeType:"audio/wav",badge:K},pdf:{fileType:"pdf",mimeType:"application/pdf",badge:J},doc:{fileType:"text",mimeType:"application/msword",badge:X},docx:{fileType:"text",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",badge:Q},txt:{fileType:"text",mimeType:"text/plain",badge:e1},ppt:{fileType:"text",mimeType:"application/vnd.ms-powerpoint",badge:a1},pptx:{fileType:"text",mimeType:"application/vnd.openxmlformats-officedocument.presentationml.presentation",badge:t1},csv:{fileType:"spreadsheet",mimeType:"text/csv",badge:l1},xls:{fileType:"spreadsheet",mimeType:"application/vnd.ms-excel",badge:i1},xlsx:{fileType:"spreadsheet",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",badge:h1}},o1=G1.reduce((a,e)=>{let l=Object.values(u).filter(o=>o.fileType===e).map(o=>o.mimeType);return a[e]={mimeTypes:Array.from(new Set(l)),icon:Y1[e]},a},{}),W1=a=>a in u,K1=a=>[...a].sort((o,w)=>o.extension.localeCompare(w.extension))[0]?.badge||H,J1=Object.entries(u).reduce((a,[e,l])=>{let o=l.mimeType.toLowerCase();return a[o]=[...a[o]||[],{extension:e.toLowerCase(),badge:l.badge}],a},{}),X1=Object.entries(J1).reduce((a,[e,l])=>(a[e]=K1(l),a),{}),Q1=a=>{let e=a.lastIndexOf(".");return e<=0||e===a.length-1?"":a.slice(e+1).toLowerCase()},e0=a=>{let e=Q1(a.name),l=W1(e)?u[e].badge:"",o=a.type?X1[a.type.toLowerCase()]:"";return {extension:e,badgeIcon:l||o||H}},a0=a=>a?.startsWith("es")?{loading:"Cargando..",dragText:"Arrastra tus archivos hasta aqu\xED",selectText:"O selecciona desde tu dispositivo",selectButton:"Seleccionar",maxFilesTitle:"L\xEDmite de archivos alcanzado",maxFilesDescription:"Has alcanzado el m\xE1ximo permitido. Elimina un archivo para continuar cargando",maxImagesTitle:"L\xEDmite de im\xE1genes alcanzado",maxImagesDescription:"Has alcanzado el m\xE1ximo permitido. Elimina una imagen para continuar cargando",maxFilesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"archivo":"archivos"}`,maxImagesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"imagen":"im\xE1genes"}`,dragSpreadsheetText:e=>e===1?"Arrastra tu hoja de c\xE1lculo hasta aqu\xED":"Arrastra tus hojas de c\xE1lculo hasta aqu\xED",dragImageText:e=>e===1?"Arrastra tu imagen hasta aqu\xED":"Arrastra tus im\xE1genes hasta aqu\xED"}:a?.startsWith("pt")?{loading:"Carregando..",dragText:"Arraste seus arquivos at\xE9 aqui",selectText:"Ou selecione do seu dispositivo",selectButton:"Selecionar",maxFilesTitle:"Limite de arquivos atingido",maxFilesDescription:"Voc\xEA atingiu o m\xE1ximo permitido. Exclua um arquivo para continuar carregando",maxImagesTitle:"Limite de imagens atingido",maxImagesDescription:"Voc\xEA atingiu o m\xE1ximo permitido. Exclua uma imagem para continuar carregando",maxFilesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"arquivo":"arquivos"}`,maxImagesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"imagem":"imagens"}`,dragSpreadsheetText:e=>e===1?"Arraste sua planilha at\xE9 aqui":"Arraste suas planilhas at\xE9 aqui",dragImageText:e=>e===1?"Arraste sua imagem at\xE9 aqui":"Arraste suas imagens at\xE9 aqui"}:{loading:"Loading..",dragText:"Drag your files here",selectText:"Or select from your device",selectButton:"Select",maxFilesTitle:"File limit reached",maxFilesDescription:"You have reached the maximum allowed. Delete a file to continue uploading",maxImagesTitle:"Maximum images reached",maxImagesDescription:"You have reached the maximum allowed. Delete an image to continue uploading",maxFilesAllowed:e=>`Maximum allowed: ${e} ${e===1?"file":"files"}`,maxImagesAllowed:e=>`Maximum allowed: ${e} ${e===1?"image":"images"}`,dragSpreadsheetText:e=>e===1?"Drag your spreadsheet here":"Drag your spreadsheets here",dragImageText:e=>e===1?"Drag your image here":"Drag your images here"},t0=a=>Array.isArray(a)?a:[a],D=a=>a.length===1?a[0]:null,l0=(a,e)=>D(a)===e,i0=a=>a.flatMap(e=>o1[e]?.mimeTypes||[]),h0=a=>{let e=D(a);return e?o1[e]?.icon||k:k},o0=(a,e,l)=>{let o=D(a);return o==="image"?e.dragImageText(l):o==="spreadsheet"?e.dragSpreadsheetText(l):e.dragText},V5=({acceptedFileTypes:a$3,acceptedFiles:e$1,maxFiles:l=5,maxFileSize:o=15728640,minFileSize:w$1,isLoading:f=false,isDisabled:r1=false,hasError:m=false,label:T,size:p="compact",tooltip:s1,required:d1=false,onFileAccept:n1,onFileReject:m1,onFileChange:p1,className:f1})=>{let v1=Array.isArray(a$3)&&a$3.length===0,Z=t0(a$3),c$3=l0(Z,"image"),b=i0(Z),c1=h0(Z),{locale:g1}=getDefaultOptions(),s=a0(g1?.code),Z1=o0(Z,s,l);return jsxs(FileUpload.Root,{acceptedFiles:e$1,maxFiles:l,maxFileSize:o,minFileSize:w$1,disabled:r1||f,accept:b.length>0?b.join(", "):void 0,validate:v1?()=>["FILE_INVALID_TYPE"]:void 0,onFileAccept:n1,onFileReject:m1,onFileChange:p1,className:f1,children:[T&&jsx(a,{as:FileUpload.Label,label:T,tooltip:s1,required:d1}),jsx(FileUpload.Context,{children:({dragging:v,disabled:r,acceptedFiles:g})=>{let M=g.length>=l,h=r||M;return jsxs(Fragment,{children:[jsxs(FileUpload.Dropzone,{disableClick:h,className:a$1("flex w-full items-center justify-center rounded-lg border border-dashed transition-colors",{"h-52 flex-col px-10":p==="extended","items-center px-4 py-4":p==="compact","border-neutral-500 bg-neutral-100":f,"border-danger-300 bg-danger-50 border-2":!f&&m,"bg-primary-100 ring-primary-400 border-transparent ring-2 ring-inset":!f&&!m&&v&&!h,"cursor-not-allowed border border-neutral-600 bg-neutral-100":!f&&!m&&!v&&h,"pointer-events-none":h,"hover:border-primary-400 hover:bg-primary-50 border-neutral-600 bg-neutral-100":!f&&!m&&!v&&!h}),children:[f&&jsxs("div",{className:a$1("flex items-center gap-3",{"flex-col":p==="extended"}),children:[jsx(c,{size:"lg"}),jsx("span",{className:"text-sm leading-[143%] font-medium text-neutral-800",children:s.loading})]}),!f&&jsxs(Fragment,{children:[jsx("div",{className:a$1("shrink-0 rounded-full p-2 ring ring-inset",{"bg-neutral-200 ring-neutral-300":h,"bg-primary-100 ring-primary-200":!h,"bg-danger-100 ring-danger-200":m}),children:m?jsx(e,{className:"text-danger-600 size-5.5"}):jsx("img",{src:c1,alt:"file type",className:a$1("size-6",h&&"grayscale")})}),jsxs("div",{className:a$1("flex flex-col gap-0.5",{"mt-3":p==="extended","ml-3":p==="compact"}),children:[jsx("span",{className:a$1("font-inter text-sm leading-[143%] font-semibold",{"text-neutral-500":h,"text-neutral-800":!h,"text-neutral-900":m,"text-center":p==="extended"}),children:Z1}),jsx("span",{className:a$1("font-inter text-xs leading-[133%]",{"text-neutral-500":h,"text-neutral-700":!h,"text-neutral-900":m,"text-center":p==="extended"}),children:s.selectText})]}),jsx(c$1,{variant:m?"outlined":"secondary",className:a$1({"mx-auto mt-4":p==="extended","ml-auto":p==="compact"}),size:"sm",disabled:h,children:s.selectButton})]})]}),l>0&&Number.isFinite(l)&&jsx("p",{className:"text-2xs mt-2 leading-[133%] font-medium text-neutral-600",children:c$3?s.maxImagesAllowed(l):s.maxFilesAllowed(l)})]})}}),jsx(FileUpload.Context,{children:({acceptedFiles:v})=>v.length<l?null:jsx(a$2,{hasCloseButton:false,variant:"warning",title:c$3?s.maxImagesTitle:s.maxFilesTitle,description:c$3?s.maxImagesDescription:s.maxFilesDescription,className:"mt-3"})}),jsx(FileUpload.ItemGroup,{className:a$1("mt-3 flex empty:hidden",{"flex-wrap gap-3":c$3,"flex-col gap-3":!c$3}),children:jsx(FileUpload.Context,{children:({acceptedFiles:v})=>jsxs(Fragment,{children:[!c$3&&v.map((r,g)=>{let{badgeIcon:M,extension:h}=e0(r);return jsxs(FileUpload.Item,{file:r,className:"flex h-13 shrink-0 items-center rounded-md bg-neutral-50 pr-2 pl-4 ring ring-neutral-300 ring-inset",children:[jsx(FileUpload.ItemPreview,{type:".*",children:jsx("img",{src:M,alt:h?`${h} file`:"unknown file",className:"size-6"})}),jsxs("div",{className:"mr-6 ml-2 flex flex-col gap-0.5",children:[jsx(FileUpload.ItemName,{className:"font-inter line-clamp-1 text-xs leading-[133%] font-medium text-neutral-900"}),jsx(FileUpload.ItemSizeText,{className:"text-2xs font-inter leading-[133%] text-neutral-700"})]}),jsx(FileUpload.ItemDeleteTrigger,{asChild:true,className:"ml-auto",children:jsx(c$2,{Icon:w,variant:"standard",size:"sm"})})]},`${r.name}-${r.size}-${r.lastModified}-${g}`)}),c$3&&v.map((r,g)=>jsx(FileUpload.Item,{file:r,className:"aspect-square size-16",children:jsxs(FileUpload.ItemPreview,{type:"image",className:"relative h-full w-full",children:[jsx(FileUpload.ItemPreviewImage,{className:"h-full w-full rounded-lg object-cover"}),jsx(FileUpload.ItemDeleteTrigger,{asChild:true,className:"absolute -top-1 -right-1",children:jsx(c$2,{Icon:w,variant:"white",size:"sm"})})]})},`${r.name}-${r.size}-${r.lastModified}-${g}`))]})})}),jsx(FileUpload.HiddenInput,{})]})};
1
+ import {c}from'./chunk-FI6UCH7I.js';import {a}from'./chunk-UZ3SBSKA.js';import {a as a$2}from'./chunk-SH7GL327.js';import {c as c$2}from'./chunk-SVOYRVJO.js';import {c as c$1}from'./chunk-55Z77FLU.js';import {e,w}from'./chunk-QNQELNVU.js';import {a as a$1}from'./chunk-OBZIYJO7.js';import {FileUpload}from'@ark-ui/react';import {getDefaultOptions}from'date-fns';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var I='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.8 9H9.2a.8.8 0 0 0-.8.8v5.6a.8.8 0 0 0 .8.8h5.6a.8.8 0 0 0 .8-.8V9.8a.8.8 0 0 0-.8-.8Z"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m15.6 13.8-2-2-4.4 4.4M10.6 11.8a.6.6 0 1 0 0-1.2.6.6 0 0 0 0 1.2Z"/></svg>';var j='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><g stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" clip-path="url(%23b)"><path d="M12 16.6a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z"/><path d="m11.2 11 2.4 1.6-2.4 1.6V11Z"/></g><defs><clipPath id="b"><path fill="%23fff" d="M7.2 7.8h9.6v9.6H7.2z"/></clipPath></defs></svg>';var z='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M9.6 16.2a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4Z"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M10.8 15V9.8l4.8-.8v5.2"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.4 15.4a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4Z"/></svg>';var L='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%2301A797" d="M15.045 13.178c-.599 0-1.348.105-1.594.141-1.014-1.06-1.303-1.662-1.368-1.822a7.115 7.115 0 0 0 .438-2.189c.021-.552-.096-.965-.347-1.226a.913.913 0 0 0-.643-.282c-.306 0-.818.155-.818 1.19 0 .899.418 1.852.534 2.098-.61 1.776-1.265 2.992-1.404 3.242C7.392 15.253 7.2 16.146 7.2 16.4c0 .454.324.725.866.725 1.317 0 2.52-2.211 2.718-2.595.936-.373 2.188-.604 2.506-.659.913.87 1.97 1.102 2.408 1.102.33 0 1.102 0 1.102-.794 0-.738-.945-1-1.755-1Zm-.064.522c.712 0 .9.235.9.36 0 .077-.03.332-.411.332-.342 0-.933-.197-1.513-.626.242-.032.6-.066 1.024-.066Zm-3.487-5.394c.065 0 .107.02.143.07.204.283.04 1.211-.162 1.937-.193-.623-.339-1.578-.134-1.914.04-.065.086-.093.153-.093Zm-.346 5.557c.258-.52.547-1.279.704-1.708.315.527.738 1.016.983 1.281-.763.16-1.34.321-1.687.427Zm-3.436 2.605c-.017-.02-.02-.063-.007-.113.027-.107.232-.636 1.714-1.3-.212.335-.544.813-.908 1.17-.257.24-.457.361-.594.361-.05 0-.117-.013-.205-.118Z"/></svg>';var P='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14 15H8.4M15.6 13.4H8.4M14 11.8H8.4M15.6 10.2H8.4"/></svg>';var N='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.4 12.6h7.2m-7.2 0V9.8a.8.8 0 0 1 .8-.8h5.6a.8.8 0 0 1 .8.8v2.8H8.4Zm0 0v2.8a.8.8 0 0 0 .8.8h5.6a.8.8 0 0 0 .8-.8v-2.8H8.4Z"/></svg>';var k='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><g clip-path="url(%23b)"><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16 15.4a.8.8 0 0 1-.8.8H8.8a.8.8 0 0 1-.8-.8V9.8a.8.8 0 0 1 .8-.8h2l.8 1.2h3.6a.8.8 0 0 1 .8.8v4.4Z"/></g><defs><clipPath id="b"><path fill="%23fff" d="M7.2 7.8h9.6v9.6H7.2z"/></clipPath></defs></svg>';var H='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/></svg>';var S='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.95 19.067c-.144 0-.282-.017-.413-.053a2.51 2.51 0 0 1-.37-.13v-.782c.113.08.213.148.303.202a.5.5 0 0 0 .26.082c.12 0 .218-.03.292-.092.077-.064.115-.166.115-.307v-2.189h.874v2.228c0 .198-.032.364-.096.499a.836.836 0 0 1-.245.321.873.873 0 0 1-.34.168 1.39 1.39 0 0 1-.38.053Zm2.584-1.08V19h-.869v-3.202h1.503c.377 0 .675.085.893.255.22.17.33.437.33.801 0 .362-.11.642-.33.84-.218.196-.516.293-.893.293h-.634Zm0-.662h.528c.061 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Zm3.81 1.742a1.96 1.96 0 0 1-.825-.163 1.2 1.2 0 0 1-.557-.528c-.131-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.605.062.199.042.39.1.572.173v.782a4.255 4.255 0 0 0-.552-.254 1.382 1.382 0 0 0-.51-.096c-.165 0-.31.03-.431.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .269.311.81.81 0 0 0 .384.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/></svg>';var R='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.023 19.067c-.144 0-.282-.017-.413-.053a2.51 2.51 0 0 1-.37-.13v-.782c.112.08.213.148.303.202a.5.5 0 0 0 .259.082c.121 0 .219-.03.293-.092.076-.064.115-.166.115-.307v-2.189h.873v2.228c0 .198-.032.364-.096.499a.836.836 0 0 1-.244.321.873.873 0 0 1-.341.168 1.39 1.39 0 0 1-.38.053Zm2.584-1.08V19h-.869v-3.202H7.24c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM8.977 19v-3.202h2.232v.663H9.851v.605h1.17v.662H9.847v.61h1.363V19H8.977Zm4.295.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.557-.528c-.13-.246-.196-.571-.196-.974 0-.394.065-.714.196-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.389.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.273.307c-.064.144-.096.347-.096.61 0 .256.033.459.1.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var $='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.633 17.987V19h-.87v-3.202h1.503c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM7.003 19v-3.202h.72l1.574 2.088-.264.557v-2.645h.797V19h-.634l-1.584-2.035.183-.394V19h-.792Zm4.918.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.556-.528c-.132-.246-.197-.571-.197-.974 0-.394.065-.714.197-.96.134-.25.32-.432.556-.548.237-.115.51-.172.821-.172.208 0 .41.02.605.062.198.042.389.1.571.173v.782a4.255 4.255 0 0 0-.552-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.273.307c-.064.144-.096.347-.096.61 0 .256.033.459.1.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.35v1.516a2.84 2.84 0 0 1-.644.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var U='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h18.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m4.37 19-.868-3.202h.95l.485 2.4h-.13l.687-2.4h.658l.69 2.43h-.138l.484-2.43h.956L7.274 19h-.858l-.663-2.194h.149L5.225 19h-.854Zm4.218 0v-3.202h2.232v.663H9.462v.605h1.17v.662H9.458v.61h1.363V19H8.588Zm2.855 0v-3.202h1.42c.225 0 .423.03.596.087a.82.82 0 0 1 .417.278c.106.128.159.304.159.528a.578.578 0 0 1-.116.365.88.88 0 0 1-.278.23 2.274 2.274 0 0 1-.297.13l-.101-.197c.195.007.363.043.504.11.14.065.25.156.326.274.08.115.12.255.12.418 0 .224-.056.41-.168.557a.972.972 0 0 1-.437.321c-.179.067-.376.101-.59.101h-1.555Zm.873-.662h.61a.475.475 0 0 0 .182-.034.27.27 0 0 0 .135-.11.373.373 0 0 0 .053-.207.32.32 0 0 0-.034-.153.248.248 0 0 0-.082-.106.323.323 0 0 0-.12-.058.575.575 0 0 0-.149-.019h-.595v.687Zm-.005-1.306h.586c.045 0 .085-.01.12-.029a.29.29 0 0 0 .096-.091.278.278 0 0 0 .039-.149c0-.112-.03-.19-.092-.235a.347.347 0 0 0-.21-.067h-.538v.571Zm3.263.955V19h-.869v-3.202h1.503c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Z"/></svg>';var q='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h11.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.915 19.067a1.96 1.96 0 0 1-.825-.163 1.2 1.2 0 0 1-.557-.528c-.131-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.388.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.51-.096c-.166 0-.31.03-.431.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .269.311.81.81 0 0 0 .384.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662H6.23v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.673.091ZM6.883 19v-3.202h.874V19h-.874Zm1.528 0v-3.202h2.223v.663H9.28v.686h1.167v.667H9.28V19h-.869Z"/></svg>';var _='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.67 19v-3.202h.878l1.08 1.47-.456.009 1.114-1.479h.854V19h-.868v-2.563l.148.297-1.041 1.373-1.056-1.406.173-.106V19H3.67Zm4.994-1.013V19h-.869v-3.202h1.502c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM12.234 19v-.84h-1.34v-.59l1.417-1.772h.797v1.719h.398v.643h-.398V19h-.874Zm-.62-1.483h.62v-.773l-.62.773Z"/></svg>';var O='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h17.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.513 19v-3.202h.878l1.08 1.47-.456.009 1.114-1.479h.854V19h-.868v-2.563l.148.297-1.041 1.373-1.056-1.406.173-.106V19h-.826Zm4.994-1.013V19h-.869v-3.202H9.14c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM10.877 19v-3.202h2.232v.663h-1.358v.605h1.17v.662h-1.175v.61h1.363V19h-2.232Zm4.295.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.557-.528c-.13-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.388.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var G='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m3.552 19 1.195-3.202h.955L6.806 19h-.892L4.91 15.947l.447-.038L4.358 19h-.806Zm.706-.629.163-.619h1.43l.082.62H4.258Zm3.47.629-1.185-3.202H7.55l.864 2.684h-.279l.86-2.684h.926L8.659 19h-.93Zm2.576 0v-3.202h.873V19h-.873Z"/></svg>';var Y='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.351 19v-3.202h.879l1.08 1.47-.456.009 1.113-1.479h.855V19h-.869v-2.563l.149.297-1.042 1.373-1.056-1.406.173-.106V19h-.826Zm4.96-.95-.316-.504 1.219-1.748h1.094L8.312 18.05Zm-.835.95v-3.202h.874V19h-.874Zm1.565-2.02L10.4 19H9.32l-.95-1.469.671-.552ZM11.726 19l-1.186-3.202h1.008l.864 2.684h-.278l.86-2.684h.926L12.657 19h-.931Z"/></svg>';var W='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23593AD1" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.5 15.45a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.85 14.1V8.25l5.4-.9v5.85"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12.9 14.55a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path fill="%238161FF" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.712 19v-3.202h.879l1.08 1.47-.456.009 1.113-1.479h.855V19h-.87v-2.563l.15.297-1.042 1.373-1.056-1.406.173-.106V19h-.826Zm4.994-1.013V19h-.869v-3.202H9.34c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Zm3.335 1.713c-.173 0-.34-.025-.504-.076a3.162 3.162 0 0 1-.451-.183v-.725c.15.09.3.17.446.24.15.07.31.106.476.106a.753.753 0 0 0 .388-.086.279.279 0 0 0 .144-.255.36.36 0 0 0-.115-.278c-.077-.074-.22-.11-.432-.11h-.5v-.634h.51c.137 0 .236-.03.297-.091a.283.283 0 0 0 .096-.212c0-.086-.022-.152-.067-.196a.381.381 0 0 0-.178-.096.91.91 0 0 0-.23-.03c-.105 0-.216.014-.331.04a1.926 1.926 0 0 0-.442.162v-.643c.122-.064.256-.115.404-.153a1.651 1.651 0 0 1 .854-.015c.137.029.262.079.374.149a.761.761 0 0 1 .326.917.694.694 0 0 1-.278.326.442.442 0 0 1-.163.067c.08.023.157.06.23.11.074.049.14.108.197.178a.81.81 0 0 1 .197.552c0 .18-.037.33-.11.452a.828.828 0 0 1-.293.283c-.122.07-.256.121-.403.153a2.03 2.03 0 0 1-.442.048Z"/></svg>';var K='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 5.7h-4.5a1.2 1.2 0 0 1-1.2-1.2h5.7v1.2Zm-4.5 0a1.2 1.2 0 0 1-1.2-1.2V.6h1.2v5.7ZM20.1.6v5.1V.6Z" mask="url(%23a)"/><path fill="%23593AD1" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.5 15.45a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.85 14.1V8.25l5.4-.9v5.85"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12.9 14.55a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path fill="%238161FF" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m4.488 19-.869-3.202h.95l.485 2.4h-.13l.687-2.4h.658l.691 2.43h-.14l.486-2.43h.955L7.392 19h-.86l-.662-2.194h.15L5.341 19h-.854Zm3.588 0 1.195-3.202h.955L11.33 19h-.893l-1.003-3.053.446-.038L8.882 19h-.806Zm.705-.629.163-.619h1.43l.082.62H8.781Zm3.47.629-1.185-3.202h1.008l.864 2.684h-.278l.859-2.684h.926L13.183 19h-.931Z"/></svg>';var J='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23730D0D" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%23BB3939" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.463 17.987V19h-.869v-3.202h1.503c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM6.833 19v-3.202h1.344c.554 0 .959.136 1.215.408.259.272.389.67.389 1.196 0 .521-.13.918-.39 1.19-.255.272-.66.408-1.214.408H6.833Zm.87-.662h.369c.265 0 .467-.074.605-.221.14-.15.21-.389.21-.715 0-.33-.07-.568-.21-.716-.138-.15-.34-.225-.605-.225h-.37v1.877Zm2.59.662v-3.202h2.222v.663h-1.354v.686h1.167v.667h-1.166V19h-.87Z"/></svg>';var X='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23074856" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%232D9AB2" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.806 19v-3.202H5.15c.554 0 .958.136 1.214.408.26.272.39.67.39 1.196 0 .521-.13.918-.39 1.19-.256.272-.66.408-1.214.408H3.806Zm.869-.662h.37c.265 0 .467-.074.604-.221.141-.15.211-.389.211-.715 0-.33-.07-.568-.21-.716-.138-.15-.34-.225-.606-.225h-.37v1.877Zm4.04.73c-.317 0-.595-.06-.835-.178a1.276 1.276 0 0 1-.557-.548c-.131-.246-.197-.56-.197-.94 0-.55.14-.967.418-1.248.281-.282.672-.423 1.17-.423.318 0 .595.06.831.178.24.118.426.3.557.547.134.243.202.557.202.94 0 .551-.14.967-.418 1.249-.278.281-.669.422-1.171.422Zm0-.702c.144 0 .267-.03.37-.09a.576.576 0 0 0 .235-.303c.057-.144.086-.338.086-.581 0-.24-.029-.43-.086-.571a.552.552 0 0 0-.235-.298.711.711 0 0 0-.37-.091.683.683 0 0 0-.37.096.6.6 0 0 0-.24.302c-.054.141-.081.333-.081.576 0 .24.027.43.081.572a.6.6 0 0 0 .24.297c.103.061.226.091.37.091Zm3.539.701c-.519 0-.915-.134-1.19-.403-.273-.269-.409-.69-.409-1.262 0-.554.13-.972.39-1.253.261-.285.665-.427 1.209-.427.17 0 .34.02.513.062.176.042.348.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.417-.077.938.938 0 0 0-.442.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.033.453.1.6a.613.613 0 0 0 .289.312c.128.058.284.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Z"/></svg>';var Q='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23074856" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%232D9AB2" d="M.6 13.2h17.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.628 19v-3.202h1.344c.553 0 .958.136 1.214.408.26.272.389.67.389 1.196 0 .521-.13.918-.389 1.19-.256.272-.66.408-1.214.408H3.628Zm.869-.662h.37c.265 0 .466-.074.604-.221.14-.15.211-.389.211-.715 0-.33-.07-.568-.211-.716-.138-.15-.34-.225-.605-.225h-.37v1.877Zm4.04.73c-.317 0-.595-.06-.835-.178a1.276 1.276 0 0 1-.557-.548c-.131-.246-.197-.56-.197-.94 0-.55.14-.967.418-1.248.281-.282.672-.423 1.17-.423.318 0 .594.06.831.178.24.118.426.3.557.547.134.243.202.557.202.94 0 .551-.14.967-.418 1.249-.278.281-.669.422-1.171.422Zm0-.702c.144 0 .267-.03.37-.09a.576.576 0 0 0 .235-.303c.057-.144.086-.338.086-.581 0-.24-.029-.43-.086-.571a.552.552 0 0 0-.236-.298.711.711 0 0 0-.37-.091.683.683 0 0 0-.369.096.6.6 0 0 0-.24.302c-.054.141-.081.333-.081.576 0 .24.027.43.081.572a.6.6 0 0 0 .24.297c.103.061.226.091.37.091Zm3.538.701c-.518 0-.915-.134-1.19-.403-.272-.269-.408-.69-.408-1.262 0-.554.13-.972.389-1.253.262-.285.665-.427 1.21-.427.17 0 .34.02.513.062.176.042.347.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.418-.077.938.938 0 0 0-.441.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.033.453.1.6a.613.613 0 0 0 .289.312c.128.058.284.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Zm4.57-.067H15.56l-2.165-3.202h1.085L16.645 19Zm-1.633-2.05.649-1.152h.945l-1.147 1.79-.447-.638Zm.125.735L14.38 19h-.936l1.262-1.92.432.605Z"/></svg>';var e1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23124E46" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%2301756A" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.974 19v-2.54H3.12v-.662h2.587v.663h-.869V19h-.864Zm5.15 0H8.04l-2.164-3.202h1.084L9.124 19Zm-1.632-2.05.648-1.152h.946l-1.147 1.79-.447-.638Zm.125.735L6.86 19h-.936l1.262-1.92.432.605ZM10.147 19v-2.54h-.854v-.662h2.588v.663h-.87V19h-.863Z"/></svg>';var a1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23793304" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path fill="%23E1E7E6" d="M15.1 8.9H8.3v4.25a.425.425 0 0 0 .425.425h5.95a.425.425 0 0 0 .425-.425V8.9Zm.85 4.25a1.275 1.275 0 0 1-1.275 1.275h-1.949l1.4 1.4a.425.425 0 1 1-.601.6L11.7 14.601l-1.824 1.824a.425.425 0 1 1-.601-.6l1.399-1.4H8.725A1.275 1.275 0 0 1 7.45 13.15V8.9a.425.425 0 0 1 0-.85h8.5a.425.425 0 0 1 0 .85v4.25Z"/></g><path fill="%23C66727" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.547 17.987V19H3.68v-3.202H5.18c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.528c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865Zm3.24.662V19h-.87v-3.202H8.42c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.527c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865ZM10.8 19v-2.54h-.854v-.662h2.587v.663h-.87V19H10.8Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 7.2h10.2v10.2H6.6z"/></clipPath></defs></svg>';var t1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23793304" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path fill="%23E1E7E6" d="M15.1 8.9H8.3v4.25a.425.425 0 0 0 .425.425h5.95a.425.425 0 0 0 .425-.425V8.9Zm.85 4.25a1.275 1.275 0 0 1-1.275 1.275h-1.949l1.4 1.4a.425.425 0 1 1-.601.6L11.7 14.601l-1.824 1.824a.425.425 0 1 1-.601-.6l1.399-1.4H8.725A1.275 1.275 0 0 1 7.45 13.15V8.9a.425.425 0 0 1 0-.85h8.5a.425.425 0 0 1 0 .85v4.25Z"/></g><path fill="%23C66727" d="M.6 13.2h16.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.37 17.987V19H3.5v-3.202h1.503c.377 0 .675.085.893.255.22.17.33.437.33.801 0 .362-.11.642-.33.84-.218.196-.516.293-.893.293h-.634Zm0-.662h.527c.061 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03H4.37v.865Zm3.238.662V19H6.74v-3.202h1.502c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.528c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865ZM10.622 19v-2.54h-.855v-.662h2.588v.663h-.87V19h-.863Zm5.15 0h-1.085l-2.165-3.202h1.085L15.772 19Zm-1.632-2.05.648-1.152h.945l-1.147 1.79-.446-.638Zm.125.735L13.506 19h-.936l1.263-1.92.432.605Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 7.2h10.2v10.2H6.6z"/></clipPath></defs></svg>';var l1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M5.107 19.067c-.519 0-.915-.134-1.19-.403-.273-.269-.409-.69-.409-1.262 0-.554.13-.972.39-1.253.262-.285.665-.427 1.209-.427.17 0 .34.02.513.062.176.042.348.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.417-.077.938.938 0 0 0-.442.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.034.453.1.6a.613.613 0 0 0 .289.312c.128.058.285.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Zm2.702 0c-.16 0-.31-.006-.447-.019a2.674 2.674 0 0 1-.384-.062 1.96 1.96 0 0 1-.331-.125v-.816c.16.125.334.217.523.278.189.058.36.087.514.087.121 0 .219-.023.293-.068.073-.044.11-.121.11-.23 0-.074-.037-.133-.11-.178a1.019 1.019 0 0 0-.288-.124 29.641 29.641 0 0 1-.404-.135 2.128 2.128 0 0 1-.264-.115.963.963 0 0 1-.225-.168.768.768 0 0 1-.163-.25.93.93 0 0 1-.063-.36c0-.14.026-.275.077-.403a1.002 1.002 0 0 1 .643-.571c.163-.058.354-.086.571-.086.132 0 .25.008.356.024.105.012.204.035.297.067a2.2 2.2 0 0 1 .288.12v.825a1.89 1.89 0 0 0-.542-.312 1.06 1.06 0 0 0-.307-.067.872.872 0 0 0-.245.024.38.38 0 0 0-.183.091.246.246 0 0 0-.067.183c0 .08.026.144.077.192a.71.71 0 0 0 .22.115c.097.029.202.06.318.091.134.039.256.082.364.13.112.048.208.107.288.177a.73.73 0 0 1 .188.26c.044.099.067.22.067.364 0 .205-.048.388-.144.548-.096.16-.232.286-.408.379a1.33 1.33 0 0 1-.62.134ZM10.406 19 9.22 15.798h1.008l.864 2.684h-.278l.859-2.684h.926L11.337 19h-.931Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var i1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M6.384 19H5.3l-2.165-3.202H4.22L6.384 19Zm-1.632-2.05.648-1.152h.946l-1.147 1.79-.447-.638Zm.125.735L4.12 19h-.936l1.262-1.92.432.605ZM6.765 19v-3.202h.873v2.535h1.335V19H6.765Zm3.799.067c-.16 0-.309-.006-.446-.019a2.674 2.674 0 0 1-.384-.062 1.96 1.96 0 0 1-.332-.125v-.816c.16.125.335.217.524.278.188.058.36.087.513.087.122 0 .22-.023.293-.068.074-.044.11-.121.11-.23 0-.074-.036-.133-.11-.178a1.019 1.019 0 0 0-.288-.124 29.641 29.641 0 0 1-.403-.135 2.127 2.127 0 0 1-.264-.115.963.963 0 0 1-.226-.168.768.768 0 0 1-.163-.25.93.93 0 0 1-.062-.36c0-.14.025-.275.076-.403a1.002 1.002 0 0 1 .644-.571c.163-.058.353-.086.57-.086.132 0 .25.008.356.024.106.012.205.035.298.067a2.2 2.2 0 0 1 .288.12v.825a1.89 1.89 0 0 0-.542-.312 1.06 1.06 0 0 0-.308-.067.872.872 0 0 0-.245.024.38.38 0 0 0-.182.091.246.246 0 0 0-.067.183c0 .08.025.144.076.192a.71.71 0 0 0 .221.115c.096.029.202.06.317.091.134.039.256.082.365.13.112.048.208.107.288.177a.73.73 0 0 1 .187.26c.045.099.067.22.067.364 0 .205-.048.388-.144.548-.096.16-.232.286-.408.379a1.33 1.33 0 0 1-.619.134Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var h1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M6.232 19h-.965l-2.184-3.202h.965L6.232 19Zm-1.589-2.016.696-1.186h.86L5.045 17.56l-.403-.576Zm.13.677L3.962 19h-.84l1.243-1.872.408.533ZM6.624 19v-3.202h.778v2.592h1.392V19h-2.17Zm3.738.067c-.163 0-.31-.008-.442-.024a2.375 2.375 0 0 1-.364-.072 2.017 2.017 0 0 1-.327-.125v-.739c.147.119.314.208.5.269.185.06.361.091.527.091.148 0 .26-.027.336-.081.08-.058.12-.144.12-.26a.24.24 0 0 0-.11-.206.934.934 0 0 0-.283-.14c-.119-.04-.251-.087-.399-.138a1.812 1.812 0 0 1-.273-.11.784.784 0 0 1-.408-.422.944.944 0 0 1-.063-.366c0-.131.024-.258.072-.38a.923.923 0 0 1 .221-.326c.103-.096.232-.17.389-.225a1.6 1.6 0 0 1 .552-.087c.131 0 .246.008.346.024.102.016.2.04.292.072.093.03.188.068.284.116v.748a1.617 1.617 0 0 0-.25-.168 1.53 1.53 0 0 0-.283-.134 1.016 1.016 0 0 0-.576-.029.376.376 0 0 0-.187.11.263.263 0 0 0-.068.188c0 .09.028.16.082.211.054.051.13.094.226.13l.321.105c.131.039.251.082.36.13.112.045.21.102.293.173.083.07.147.156.192.259a.919.919 0 0 1 .067.37c0 .191-.045.367-.134.527a.975.975 0 0 1-.389.375c-.17.09-.378.134-.624.134Zm4.56-.067h-.964l-2.184-3.202h.965L14.923 19Zm-1.588-2.016.696-1.186h.86l-1.153 1.762-.403-.576Zm.13.677L12.652 19h-.84l1.244-1.872.408.533Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var G1=["image","video","audio","pdf","text","spreadsheet","all"],M5=["extended","compact"],Y1={image:I,video:j,audio:z,pdf:L,text:P,spreadsheet:N,all:k},u={jpg:{fileType:"image",mimeType:"image/jpeg",badge:S},jpeg:{fileType:"image",mimeType:"image/jpeg",badge:R},png:{fileType:"image",mimeType:"image/png",badge:$},webp:{fileType:"image",mimeType:"image/webp",badge:U},gif:{fileType:"image",mimeType:"image/gif",badge:q},mp4:{fileType:"video",mimeType:"video/mp4",badge:_},mpeg:{fileType:"video",mimeType:"video/mpeg",badge:O},avi:{fileType:"video",mimeType:"video/x-msvideo",badge:G},mkv:{fileType:"video",mimeType:"video/x-matroska",badge:Y},mp3:{fileType:"audio",mimeType:"audio/mpeg",badge:W},wav:{fileType:"audio",mimeType:"audio/wav",badge:K},pdf:{fileType:"pdf",mimeType:"application/pdf",badge:J},doc:{fileType:"text",mimeType:"application/msword",badge:X},docx:{fileType:"text",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",badge:Q},txt:{fileType:"text",mimeType:"text/plain",badge:e1},ppt:{fileType:"text",mimeType:"application/vnd.ms-powerpoint",badge:a1},pptx:{fileType:"text",mimeType:"application/vnd.openxmlformats-officedocument.presentationml.presentation",badge:t1},csv:{fileType:"spreadsheet",mimeType:"text/csv",badge:l1},xls:{fileType:"spreadsheet",mimeType:"application/vnd.ms-excel",badge:i1},xlsx:{fileType:"spreadsheet",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",badge:h1}},o1=G1.reduce((a,e)=>{let l=Object.values(u).filter(o=>o.fileType===e).map(o=>o.mimeType);return a[e]={mimeTypes:Array.from(new Set(l)),icon:Y1[e]},a},{}),W1=a=>a in u,K1=a=>[...a].sort((o,w)=>o.extension.localeCompare(w.extension))[0]?.badge||H,J1=Object.entries(u).reduce((a,[e,l])=>{let o=l.mimeType.toLowerCase();return a[o]=[...a[o]||[],{extension:e.toLowerCase(),badge:l.badge}],a},{}),X1=Object.entries(J1).reduce((a,[e,l])=>(a[e]=K1(l),a),{}),Q1=a=>{let e=a.lastIndexOf(".");return e<=0||e===a.length-1?"":a.slice(e+1).toLowerCase()},e0=a=>{let e=Q1(a.name),l=W1(e)?u[e].badge:"",o=a.type?X1[a.type.toLowerCase()]:"";return {extension:e,badgeIcon:l||o||H}},a0=a=>a?.startsWith("es")?{loading:"Cargando..",dragText:"Arrastra tus archivos hasta aqu\xED",selectText:"O selecciona desde tu dispositivo",selectButton:"Seleccionar",maxFilesTitle:"L\xEDmite de archivos alcanzado",maxFilesDescription:"Has alcanzado el m\xE1ximo permitido. Elimina un archivo para continuar cargando",maxImagesTitle:"L\xEDmite de im\xE1genes alcanzado",maxImagesDescription:"Has alcanzado el m\xE1ximo permitido. Elimina una imagen para continuar cargando",maxFilesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"archivo":"archivos"}`,maxImagesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"imagen":"im\xE1genes"}`,dragSpreadsheetText:e=>e===1?"Arrastra tu hoja de c\xE1lculo hasta aqu\xED":"Arrastra tus hojas de c\xE1lculo hasta aqu\xED",dragImageText:e=>e===1?"Arrastra tu imagen hasta aqu\xED":"Arrastra tus im\xE1genes hasta aqu\xED"}:a?.startsWith("pt")?{loading:"Carregando..",dragText:"Arraste seus arquivos at\xE9 aqui",selectText:"Ou selecione do seu dispositivo",selectButton:"Selecionar",maxFilesTitle:"Limite de arquivos atingido",maxFilesDescription:"Voc\xEA atingiu o m\xE1ximo permitido. Exclua um arquivo para continuar carregando",maxImagesTitle:"Limite de imagens atingido",maxImagesDescription:"Voc\xEA atingiu o m\xE1ximo permitido. Exclua uma imagem para continuar carregando",maxFilesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"arquivo":"arquivos"}`,maxImagesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"imagem":"imagens"}`,dragSpreadsheetText:e=>e===1?"Arraste sua planilha at\xE9 aqui":"Arraste suas planilhas at\xE9 aqui",dragImageText:e=>e===1?"Arraste sua imagem at\xE9 aqui":"Arraste suas imagens at\xE9 aqui"}:{loading:"Loading..",dragText:"Drag your files here",selectText:"Or select from your device",selectButton:"Select",maxFilesTitle:"File limit reached",maxFilesDescription:"You have reached the maximum allowed. Delete a file to continue uploading",maxImagesTitle:"Maximum images reached",maxImagesDescription:"You have reached the maximum allowed. Delete an image to continue uploading",maxFilesAllowed:e=>`Maximum allowed: ${e} ${e===1?"file":"files"}`,maxImagesAllowed:e=>`Maximum allowed: ${e} ${e===1?"image":"images"}`,dragSpreadsheetText:e=>e===1?"Drag your spreadsheet here":"Drag your spreadsheets here",dragImageText:e=>e===1?"Drag your image here":"Drag your images here"},t0=a=>Array.isArray(a)?a:[a],D=a=>a.length===1?a[0]:null,l0=(a,e)=>D(a)===e,i0=a=>a.flatMap(e=>o1[e]?.mimeTypes||[]),h0=a=>{let e=D(a);return e?o1[e]?.icon||k:k},o0=(a,e,l)=>{let o=D(a);return o==="image"?e.dragImageText(l):o==="spreadsheet"?e.dragSpreadsheetText(l):e.dragText},V5=({acceptedFileTypes:a$3,acceptedFiles:e$1,maxFiles:l=5,maxFileSize:o=15728640,minFileSize:w$1,isLoading:f=false,isDisabled:r1=false,hasError:m=false,label:T,size:p="compact",tooltip:s1,required:d1=false,onFileAccept:n1,onFileReject:m1,onFileChange:p1,className:f1})=>{let v1=Array.isArray(a$3)&&a$3.length===0,Z=t0(a$3),c$3=l0(Z,"image"),b=i0(Z),c1=h0(Z),{locale:g1}=getDefaultOptions(),s=a0(g1?.code),Z1=o0(Z,s,l);return jsxs(FileUpload.Root,{acceptedFiles:e$1,maxFiles:l,maxFileSize:o,minFileSize:w$1,disabled:r1||f,accept:b.length>0?b.join(", "):void 0,validate:v1?()=>["FILE_INVALID_TYPE"]:void 0,onFileAccept:n1,onFileReject:m1,onFileChange:p1,className:f1,children:[T&&jsx(a,{as:FileUpload.Label,label:T,tooltip:s1,required:d1}),jsx(FileUpload.Context,{children:({dragging:v,disabled:r,acceptedFiles:g})=>{let M=g.length>=l,h=r||M;return jsxs(Fragment,{children:[jsxs(FileUpload.Dropzone,{disableClick:h,className:a$1("flex w-full items-center justify-center rounded-lg border border-dashed transition-colors",{"h-52 flex-col px-10":p==="extended","items-center px-4 py-4":p==="compact","border-neutral-500 bg-neutral-100":f,"border-danger-300 bg-danger-50 border-2":!f&&m,"bg-primary-100 ring-primary-400 border-transparent ring-2 ring-inset":!f&&!m&&v&&!h,"cursor-not-allowed border border-neutral-600 bg-neutral-100":!f&&!m&&!v&&h,"pointer-events-none":h,"hover:border-primary-400 hover:bg-primary-50 border-neutral-600 bg-neutral-100":!f&&!m&&!v&&!h}),children:[f&&jsxs("div",{className:a$1("flex items-center gap-3",{"flex-col":p==="extended"}),children:[jsx(c,{size:"lg"}),jsx("span",{className:"text-sm leading-[143%] font-medium text-neutral-800",children:s.loading})]}),!f&&jsxs(Fragment,{children:[jsx("div",{className:a$1("shrink-0 rounded-full p-2 ring ring-inset",{"bg-neutral-200 ring-neutral-300":h,"bg-primary-100 ring-primary-200":!h,"bg-danger-100 ring-danger-200":m}),children:m?jsx(e,{className:"text-danger-600 size-5.5"}):jsx("img",{src:c1,alt:"file type",className:a$1("size-6",h&&"grayscale")})}),jsxs("div",{className:a$1("flex flex-col gap-0.5",{"mt-3":p==="extended","ml-3":p==="compact"}),children:[jsx("span",{className:a$1("font-inter text-sm leading-[143%] font-semibold",{"text-neutral-500":h,"text-neutral-800":!h,"text-neutral-900":m,"text-center":p==="extended"}),children:Z1}),jsx("span",{className:a$1("font-inter text-xs leading-[133%]",{"text-neutral-500":h,"text-neutral-700":!h,"text-neutral-900":m,"text-center":p==="extended"}),children:s.selectText})]}),jsx(c$1,{variant:m?"outlined":"secondary",className:a$1({"mx-auto mt-4":p==="extended","ml-auto":p==="compact"}),size:"sm",disabled:h,children:s.selectButton})]})]}),l>0&&Number.isFinite(l)&&jsx("p",{className:"text-2xs mt-2 leading-[133%] font-medium text-neutral-600",children:c$3?s.maxImagesAllowed(l):s.maxFilesAllowed(l)})]})}}),jsx(FileUpload.Context,{children:({acceptedFiles:v})=>v.length<l?null:jsx(a$2,{hasCloseButton:false,variant:"warning",title:c$3?s.maxImagesTitle:s.maxFilesTitle,description:c$3?s.maxImagesDescription:s.maxFilesDescription,className:"mt-3"})}),jsx(FileUpload.ItemGroup,{className:a$1("mt-3 flex empty:hidden",{"flex-wrap gap-3":c$3,"flex-col gap-3":!c$3}),children:jsx(FileUpload.Context,{children:({acceptedFiles:v})=>jsxs(Fragment,{children:[!c$3&&v.map((r,g)=>{let{badgeIcon:M,extension:h}=e0(r);return jsxs(FileUpload.Item,{file:r,className:"flex h-13 shrink-0 items-center rounded-md bg-neutral-50 pr-2 pl-4 ring ring-neutral-300 ring-inset",children:[jsx(FileUpload.ItemPreview,{type:".*",children:jsx("img",{src:M,alt:h?`${h} file`:"unknown file",className:"size-6"})}),jsxs("div",{className:"mr-6 ml-2 flex flex-col gap-0.5",children:[jsx(FileUpload.ItemName,{className:"font-inter line-clamp-1 text-xs leading-[133%] font-medium text-neutral-900"}),jsx(FileUpload.ItemSizeText,{className:"text-2xs font-inter leading-[133%] text-neutral-700"})]}),jsx(FileUpload.ItemDeleteTrigger,{asChild:true,className:"ml-auto",children:jsx(c$2,{Icon:w,variant:"standard",size:"sm"})})]},`${r.name}-${r.size}-${r.lastModified}-${g}`)}),c$3&&v.map((r,g)=>jsx(FileUpload.Item,{file:r,className:"aspect-square size-16",children:jsxs(FileUpload.ItemPreview,{type:"image",className:"relative h-full w-full",children:[jsx(FileUpload.ItemPreviewImage,{className:"h-full w-full rounded-lg object-cover"}),jsx(FileUpload.ItemDeleteTrigger,{asChild:true,className:"absolute -top-1 -right-1",children:jsx(c$2,{Icon:w,variant:"white",size:"sm"})})]})},`${r.name}-${r.size}-${r.lastModified}-${g}`))]})})}),jsx(FileUpload.HiddenInput,{})]})};
2
2
  export{G1 as a,M5 as b,V5 as c};
@@ -0,0 +1 @@
1
+ import {tv}from'tailwind-variants';import {jsx}from'react/jsx-runtime';var a=tv({base:"font-jakarta text-2xs flex size-5 shrink-0 items-center justify-center rounded-full border font-medium ring-1 ring-offset-1 ring-offset-white",variants:{state:{wait:"border-neutral-400 bg-neutral-100 text-neutral-600 ring-neutral-300",active:"border-primary-400 bg-primary-50 text-primary-500 ring-primary-300",success:"border-success-500 bg-success-300 text-success-800 ring-success-300"}},defaultVariants:{state:"wait"}}),c=({state:t,stepNumber:e,className:r,...s})=>jsx("div",{className:a({state:t,className:r}),...s,children:e});export{c as a};
@@ -1 +1 @@
1
- import {d}from'./chunk-MP4CHZ2K.js';import {a as a$1}from'./chunk-F6SA7OTV.js';import {g}from'./chunk-QNQELNVU.js';import {a}from'./chunk-OBZIYJO7.js';import*as n from'react';import*as e from'@radix-ui/react-accordion';import {jsx,jsxs}from'react/jsx-runtime';var b=["sm","md"],w=n.forwardRef(({className:i,children:o,size:r="md",...a$1},d)=>jsx(e.Root,{"data-size":r,className:a("group/root space-y-2",i),...a$1,ref:d,children:o})),y=n.forwardRef(({className:i,...o},r)=>jsx(e.Item,{ref:r,className:i,...o}));y.displayName="AccordionFormItem";var R=n.forwardRef(({className:i,title:o,onEndButtonClick:r,StartIcon:a$2,children:d$1,badgeNumber:p,chipStatus:c,...g$1},u)=>jsx(e.Header,{className:"flex",children:jsxs(e.Trigger,{title:o,ref:u,className:a("group flex h-8 items-center gap-4 [&[data-state=open]>div>.chevron-icon]:rotate-180",i),...g$1,children:[jsxs("div",{className:"group flex items-center",children:[a$2&&jsx(a$2,{className:"mr-2 h-4.5 w-4.5 shrink-0 text-primary-500 transition-colors group-enabled:group-hover:text-primary-700 group-disabled:text-neutral-500 group-data-[size=sm]/root:h-3.5 group-data-[size=sm]/root:w-3.5"}),jsx("div",{children:jsx("p",{className:"line-clamp-1 text-left text-base font-semibold leading-[130%]! text-primary-500 transition-colors group-enabled:group-hover:text-primary-700 group-disabled:text-neutral-500 group-data-[size=sm]/root:text-sm",children:o})})]}),jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[c&&jsx(d,{variant:c.variant,type:c.type,size:"xs",className:"shrink-0",children:c.text}),p?.toString()&&jsx(a$1,{variant:"alert",size:"md",content:p.toString()}),jsx(g,{className:"chevron-icon h-4.5 w-4.5 shrink-0 text-primary-500 transition-transform group-enabled:group-hover:text-primary-700 group-disabled:text-neutral-500"})]})]})}));R.displayName=e.Trigger.displayName;var A=n.forwardRef(({className:i,children:o,...r},a)=>jsx(e.Content,{ref:a,className:"overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...r,children:jsx("div",{className:i,children:o})}));A.displayName=e.Content.displayName;export{b as a,w as b,y as c,R as d,A as e};
1
+ import {a as a$1}from'./chunk-F6SA7OTV.js';import {d}from'./chunk-MP4CHZ2K.js';import {g}from'./chunk-QNQELNVU.js';import {a}from'./chunk-OBZIYJO7.js';import*as n from'react';import*as e from'@radix-ui/react-accordion';import {jsx,jsxs}from'react/jsx-runtime';var b=["sm","md"],w=n.forwardRef(({className:i,children:o,size:r="md",...a$1},d)=>jsx(e.Root,{"data-size":r,className:a("group/root space-y-2",i),...a$1,ref:d,children:o})),y=n.forwardRef(({className:i,...o},r)=>jsx(e.Item,{ref:r,className:i,...o}));y.displayName="AccordionFormItem";var R=n.forwardRef(({className:i,title:o,onEndButtonClick:r,StartIcon:a$2,children:d$1,badgeNumber:p,chipStatus:c,...g$1},u)=>jsx(e.Header,{className:"flex",children:jsxs(e.Trigger,{title:o,ref:u,className:a("group flex h-8 items-center gap-4 [&[data-state=open]>div>.chevron-icon]:rotate-180",i),...g$1,children:[jsxs("div",{className:"group flex items-center",children:[a$2&&jsx(a$2,{className:"mr-2 h-4.5 w-4.5 shrink-0 text-primary-500 transition-colors group-enabled:group-hover:text-primary-700 group-disabled:text-neutral-500 group-data-[size=sm]/root:h-3.5 group-data-[size=sm]/root:w-3.5"}),jsx("div",{children:jsx("p",{className:"line-clamp-1 text-left text-base font-semibold leading-[130%]! text-primary-500 transition-colors group-enabled:group-hover:text-primary-700 group-disabled:text-neutral-500 group-data-[size=sm]/root:text-sm",children:o})})]}),jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[c&&jsx(d,{variant:c.variant,type:c.type,size:"xs",className:"shrink-0",children:c.text}),p?.toString()&&jsx(a$1,{variant:"alert",size:"md",content:p.toString()}),jsx(g,{className:"chevron-icon h-4.5 w-4.5 shrink-0 text-primary-500 transition-transform group-enabled:group-hover:text-primary-700 group-disabled:text-neutral-500"})]})]})}));R.displayName=e.Trigger.displayName;var A=n.forwardRef(({className:i,children:o,...r},a)=>jsx(e.Content,{ref:a,className:"overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...r,children:jsx("div",{className:i,children:o})}));A.displayName=e.Content.displayName;export{b as a,w as b,y as c,R as d,A as e};
@@ -1 +1 @@
1
- import {d}from'./chunk-3Q4SUKIS.js';import {a as a$5}from'./chunk-GFVJRSZI.js';import {a as a$4}from'./chunk-EQ7UBF2K.js';import {b}from'./chunk-YZ6RG6HH.js';import {c as c$3}from'./chunk-JYNJHAGL.js';import {d as d$1}from'./chunk-MP4CHZ2K.js';import {a as a$3}from'./chunk-F6SA7OTV.js';import {a as a$1}from'./chunk-4CM257A2.js';import {c as c$2}from'./chunk-SVOYRVJO.js';import {c}from'./chunk-55Z77FLU.js';import {a}from'./chunk-D223PRU5.js';import {c as c$1,h}from'./chunk-QNQELNVU.js';import {a as a$2}from'./chunk-OBZIYJO7.js';import ye,{createContext,useMemo,useCallback,forwardRef,useRef,useContext,useEffect,useId,useState}from'react';import*as Xe from'@radix-ui/react-portal';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {LexicalComposer}from'@lexical/react/LexicalComposer';import {RichTextPlugin}from'@lexical/react/LexicalRichTextPlugin';import {ContentEditable}from'@lexical/react/LexicalContentEditable';import {HistoryPlugin}from'@lexical/react/LexicalHistoryPlugin';import {ListPlugin}from'@lexical/react/LexicalListPlugin';import {AutoFocusPlugin}from'@lexical/react/LexicalAutoFocusPlugin';import {OnChangePlugin}from'@lexical/react/LexicalOnChangePlugin';import {LexicalErrorBoundary}from'@lexical/react/LexicalErrorBoundary';import {HeadingNode,$isHeadingNode,$createHeadingNode}from'@lexical/rich-text';import {ListNode,ListItemNode,$isListNode,REMOVE_LIST_COMMAND,INSERT_UNORDERED_LIST_COMMAND,INSERT_ORDERED_LIST_COMMAND}from'@lexical/list';import {useLexicalComposerContext}from'@lexical/react/LexicalComposerContext';import {$generateHtmlFromNodes,$generateNodesFromDOM}from'@lexical/html';import {$getSelection,$isRangeSelection,$isElementNode,SELECTION_CHANGE_COMMAND,CAN_UNDO_COMMAND,CAN_REDO_COMMAND,UNDO_COMMAND,REDO_COMMAND,OUTDENT_CONTENT_COMMAND,INDENT_CONTENT_COMMAND,FORMAT_ELEMENT_COMMAND,$createParagraphNode,FORMAT_TEXT_COMMAND,$getRoot,$insertNodes}from'lexical';import {$setBlocksType}from'@lexical/selection';import {$findMatchingParent,mergeRegister}from'@lexical/utils';import {AlignJustifyIcon,AlignRightIcon,AlignCenterIcon,AlignLeftIcon,UnderlineIcon,ItalicIcon,BoldIcon,UndoIcon,RedoIcon,ListIcon,ListOrderedIcon,IndentDecreaseIcon,IndentIncreaseIcon}from'lucide-react';var Ot=ye.memo(({handleSelect:e,NoResultsIcon:t,noResultsLabel:o,noResultsDescription:i,noResultsDescriptionLines:r,noResultsAsColumn:n,noResultsButtonOnClick:l,optionDescriptionLines:c$1,noResultsButtonLabel:s,filteredOptions:m,inputRect:a$3,inputRef:x,popoverPosition:h,optionsListRef:u,selectedOption:g,options:v,setFilteredOptions:M})=>jsx(Xe.Root,{asChild:true,children:jsxs("div",{ref:u,className:"elevation-8 pointer-events-auto fixed z-50 mb-2 hidden max-h-[336px] w-full flex-col overflow-y-auto rounded-lg bg-neutral-50",style:a$3?{width:`${a$3.width}px`,left:a$3.left,top:h==="bottom"?`${a$3.bottom}px`:void 0,bottom:h==="top"?`${window.innerHeight-a$3.top}px`:void 0}:void 0,children:[m.length===0&&jsxs("div",{className:"elevation-8 max-h-88 flex flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(a,{title:o,description:i,Icon:t,iconAsColumn:n,descriptionLines:r}),l&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(c,{variant:"ghost",className:"my-3 w-fit self-center",onClick:L=>{u.current.style.display="none",x.current.value="",M(v),l();},children:s})]})]}),m.map(L=>jsx(Je,{title:L.label,disabled:L.disabled,description:L.description,descriptionLines:c$1,onClick:()=>e(L),className:a$2(g?.value===L.value&&"bg-primary-200")},L.key??L.value))]})})),Ye=Ot;var wt=336,ln=({options:e,defaultSelectedOption:t,onSelect:o,onClick:i,onInputChange:r,error:n,helperText:l,label:c,placeholder:s,value:m,size:a="md",optionDescriptionLines:x=1,noResultsLabel:h,noResultsIcon:u,noResultsDescription:g,noResultsDescriptionLines:v,noResultsAsColumn:M,noResultsButtonOnClick:L,noResultsButtonLabel:E,className:R,disabled:I})=>{let[f,T]=useState(t??null),O=useRef(null),C=useRef(null),[K,_]=useState(),[re,$]=useState([]),[d,y]=useState("bottom"),[N,U]=useState(),W=wt,G=useCallback(A=>{O.current.style.display="none",C.current.value=A.label,T(A),o?.(A);},[o]),k=useCallback(()=>{if(!C?.current)return;let A=C.current.getBoundingClientRect();_(A);let D=N?N.height:W,F=window.innerHeight-A.bottom>D,he=A.top>D;y(F?"bottom":he?"top":"bottom");},[N?.height]),le=useCallback(()=>{let A=e.filter(D=>D.label.toLowerCase().includes(C?.current?.value.toLowerCase()??""));if($(A),O?.current){let D=O.current.getBoundingClientRect();U(D);}},[e]);return useEffect(()=>{$(e);},[e]),useEffect(()=>{if(!m){T(null),C.current&&(C.current.value="");return}(!C.current?.value||f?.value!==m.value)&&(T(m),C.current.value=m.label);},[m]),a$5(O,()=>{O.current.style.display="none",f&&C.current&&(C.current.value=f.label);}),useEffect(()=>{if(C?.current)return k(),C.current.addEventListener("mousedown",k),C.current.addEventListener("input",le),window.addEventListener("scroll",k,true),window.addEventListener("resize",k),()=>{C.current?.removeEventListener("mousedown",k),C.current?.removeEventListener("input",le),window.removeEventListener("scroll",k,true),window.removeEventListener("resize",k);}},[k,le]),jsxs("div",{className:a$2("relative",R),children:[jsx(a$4,{ref:C,autoComplete:"off",list:"",selectMode:true,onChange:A=>{A.target.value||(T(null),o?.(null)),r?.(A);},onClean:()=>{T(null),$(e),o?.(null);},onClick:A=>{O.current.style.display="flex",i?.(A);},onBlur:()=>{f&&C.current&&(C.current.value=f.label);},label:c,helperText:l,placeholder:s,size:a,error:n,disabled:I}),jsx(Ye,{handleSelect:G,noResultsLabel:h,NoResultsIcon:u,optionDescriptionLines:x,noResultsAsColumn:M,noResultsButtonLabel:E,noResultsButtonOnClick:L,noResultsDescription:g,noResultsDescriptionLines:v,filteredOptions:re,inputRect:K,inputRef:C,popoverPosition:d,optionsListRef:O,selectedOption:f,options:e,setFilteredOptions:$})]})};var Ht=({children:e,title:t,titleLines:o,description:i="",descriptionLines:r,disabled:n=false,className:l,...c})=>jsxs("div",{className:"flex w-full flex-col gap-1",...c,children:[jsx("p",{className:a$2("break-all text-sm leading-[130%]",!!i&&"font-medium"),style:o?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:o}:void 0,children:t}),i&&jsx("p",{className:a$2("text-xs leading-[130%]",n?"text-neutral-400":"text-neutral-700"),style:r?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:r}:void 0,children:i})]}),j=Ht;var xn=({children:e,title:t,titleLines:o,description:i="",descriptionLines:r,startIcon:n,badgeContent:l,hasDivider:c=false,disabled:s=false,onSelect:m,className:a,...x})=>jsxs(B,{hasDescription:!!i,disabled:s,onClick:m,hasDivider:c,className:a$2(!s&&"cursor-pointer",a),...x,children:[n&&ye.cloneElement(n,{className:"shrink-0 mr-2 h-4.5 w-4.5"}),jsx(j,{title:t,titleLines:o,description:i,descriptionLines:r,disabled:s}),jsxs("div",{className:"ml-4 flex gap-2",children:[l&&jsx(a$3,{content:l,size:"lg",variant:"alert",className:a$2("self-center",s&&"bg-neutral-400")}),jsx(h,{className:"h-4.5 w-4.5 self-center"})]})]});var nt=({children:e,title:t,titleLines:o=1,description:i="",descriptionLines:r,startIcon:n,hasDivider:l=false,disabled:c=false,checked:s,onCheckedChange:m,className:a,...x})=>jsxs(B,{hasDescription:!!i,disabled:c,hasDivider:l,...x,className:a$2("pr-6",a),children:[n&&ye.cloneElement(n,{className:"shrink-0 w-4.5 h-4.5 mr-2"}),jsx(j,{title:t,titleLines:o,description:i,descriptionLines:r,disabled:c}),jsx(b,{checked:s,onCheckedChange:m,className:"ml-4 self-center",disabled:c})]});var q=336,lt=createContext({inputRef:null,optionsListRef:null,autocompleteId:"",inputRect:void 0,showChips:false,filteredOptions:[],currentFocus:-1,popoverPosition:"bottom",setFilteredOptions:()=>{},setCurrentFocus:()=>{},setShowChips:()=>{},setPopoverPosition:()=>{},setInputRect:()=>{},optionsListHeight:q,setOptionsListHeight:()=>{},optionsListRect:void 0,setOptionsListRect:()=>{}}),z=()=>{let e=useContext(lt);if(e===null)throw new Error("useAutocompleteMultipleContext must be used within a AutocompleteMultipleProvider");return e},st=({children:e})=>{let t=useRef(null),o=useRef(null),i=useId(),[r,n]=useState(),[l,c]=useState(true),[s,m]=useState([]),[a,x]=useState(-1),[h,u]=useState("bottom"),[g,v]=useState(),[M,L]=useState(q);return jsx(lt.Provider,{value:{optionsListRef:t,inputRef:o,autocompleteId:i,inputRect:r,showChips:l,filteredOptions:s,currentFocus:a,popoverPosition:h,setFilteredOptions:m,setCurrentFocus:x,setShowChips:c,setPopoverPosition:u,setInputRect:n,optionsListHeight:M,optionsListRect:g,setOptionsListRect:v,setOptionsListHeight:L},children:e})};var Vt=({option:e,onMountWidth:t,size:o})=>{let i=useRef(null);return useEffect(()=>{i.current&&t?.(i.current.clientWidth);},[]),jsx(d,{type:"fill",variant:"standard",ref:i,className:"shrink-0",size:o==="md"?"xs":"sm",hasCloseIcon:false,children:e.label})},at=Vt;var jt=150,Kt=ye.memo(({selectedOptions:e,error:t,onCleanSelectedOptions:o,disabled:i,size:r})=>{let{autocompleteId:n,inputRect:l,inputRef:c,optionsListRef:s}=z(),m=ye.useRef(null),[a,x]=ye.useState(new Map),h=useMemo(()=>{if(!l?.width)return [];let g=0,v=l.width-jt,M=0;for(let L=0;L<e.length&&(M+=a.get(L)??0,!(M>v));L++)g++;return e.slice(0,g)},[l?.width,e,a]),u=useCallback(()=>{i||(c?.current?.focus(),s.current.style.display="flex");},[i]);return jsxs("div",{onClick:u,className:a$2("absolute top-0 z-30 flex w-full cursor-pointer flex-nowrap items-center gap-2 pl-3 pr-12",i&&"cursor-not-allowed"),style:{maxWidth:l?.width?l?.width:void 0,height:l?.height?l?.height:void 0},children:[jsx("div",{className:"flex flex-1 gap-1 overflow-hidden",ref:m,children:h.map((g,v)=>jsx(at,{option:g,onMountWidth:M=>x(L=>new Map(L).set(v,M)),size:r},`chip-input-${n}-${g.value}`))}),e.length>h.length&&jsx("span",{className:"text-base",children:"..."}),e.length>0&&!t&&jsx(a$3,{content:String(e.length),size:r}),t&&e.length>0&&jsx(c$1,{className:"h-6 w-6 text-error-700",onClick:g=>{g.stopPropagation(),o();}})]})}),ct=Kt;var Jt=ye.memo(({option:e,index:t,onPressOption:o,isSelected:i,optionDescriptionLines:r})=>{let{currentFocus:n,inputRef:l}=z();return jsx(nt,{title:e.label,checked:i,disabled:e.disabled,className:n===t?"bg-primary-200":void 0,onMouseDown:c=>{e.disabled||(l?.current?.value&&c.preventDefault(),o?.(e,c));},description:e.description,descriptionLines:r})}),Ie=Jt;var io=ye.memo(({selectedOptions:e,handleSelect:t,NoResultsIcon:o,noResultsLabel:i,noResultsDescription:r,noResultsDescriptionLines:n,noResultsAsColumn:l,noResultsButtonOnClick:c$1,optionDescriptionLines:s,noResultsButtonLabel:m})=>{let{popoverPosition:a$2,optionsListRef:x,filteredOptions:h,inputRect:u,autocompleteId:g,inputRef:v,optionsListHeight:M}=z(),L=useCallback(R=>e.some(I=>I.value===R.value),[e]),E=useMemo(()=>e.filter(R=>R.label.toLowerCase().includes(v?.current?.value.toLowerCase()??"")),[e,v?.current?.value]);return jsx(Xe.Root,{asChild:true,children:jsxs("div",{ref:x,className:"elevation-8 pointer-events-auto fixed z-50 mb-2 hidden w-full flex-col overflow-y-auto rounded-lg bg-neutral-50",style:u?{width:`${u.width}px`,left:u.left,top:a$2==="bottom"?`${u.bottom}px`:void 0,bottom:a$2==="top"?`${window.innerHeight-u.top}px`:void 0,maxHeight:M+"px"}:void 0,children:[h.length===0&&jsxs("div",{className:"elevation-8 max-h-88 flex flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(a,{title:i,description:r,Icon:o,iconAsColumn:l,descriptionLines:n}),c$1&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(c,{variant:"ghost",className:"my-3 w-fit self-center",onClick:R=>{x.current.style.display="none",v.current.value="",c$1();},children:m})]})]}),E.map((R,I)=>jsx(Ie,{option:R,index:I,onPressOption:f=>t(f),isSelected:L(R),optionDescriptionLines:s},`autocomplete-option-${g}-${R.key??R.value}`)),h.map((R,I)=>!e.some(f=>f.value===R.value)&&jsx(Ie,{option:R,index:I,onPressOption:f=>t(f),isSelected:L(R),optionDescriptionLines:s},`autocomplete-option-${g}-${R.key??R.value}`))]})})}),pt=io;var lo=ye.memo(({selectedOptions:e,onSelect:t,error:o,helperText:i,label:r,placeholder:n,options:l,onInputChange:c,size:s,disabled:m})=>{let{setCurrentFocus:a,setFilteredOptions:x,optionsListRef:h,inputRef:u}=z();return jsx(a$4,{ref:u,autoComplete:"off",list:"",disabled:m,selectMode:true,onChange:g=>{a(-1),c?.(g.target.value);},onClean:()=>{a(-1),x(l),t?.(null,e);},onClick:()=>{m||(h.current.style.display="flex");},error:o,helperText:i,label:r,placeholder:n,fixedTopLabel:e.length>0,size:s})}),ut=lo;var dt=({options:e,defaultSelectedOptions:t,onSelect:o,error:i,helperText:r,label:n,placeholder:l,noResultsLabel:c,noResultsIcon:s,noResultsDescription:m,noResultsDescriptionLines:a,noResultsAsColumn:x,noResultsButtonOnClick:h,noResultsButtonLabel:u,className:g,onInputChange:v,value:M,loading:L,size:E="md",optionDescriptionLines:R=1,disabled:I})=>{let{inputRef:f,optionsListRef:T,setFilteredOptions:O,setShowChips:C,setInputRect:K,setPopoverPosition:_,setCurrentFocus:re,showChips:$,setOptionsListRect:d,optionsListRect:y,setOptionsListHeight:N}=z(),U=useRef(false),[W,G]=useState(t??[]),k=useCallback(P=>{G(S=>{let Q,se=S.findIndex(yt=>yt.value===P.value);return se===-1?(Q=S.concat(P),o?.(P,Q),Q):(Q=S.toSpliced(se,1),o?.(P,Q),Q)});},[o]),le=useCallback(()=>{G([]),O(e),o?.(null,[]);},[]),A=useCallback(()=>{C(false);},[]),D=useCallback(()=>{C(true);},[]),F=useCallback(()=>{if(!f?.current)return;let P=f.current.getBoundingClientRect();K(P);let S=y?y.height>q?q:y.height:q,Q=window.innerHeight-P.bottom>S,se=P.top>S;_(Q?"bottom":se?"top":"bottom"),N(se?q:window.innerHeight-P.bottom>q?q:window.innerHeight-P.bottom);},[y?.height]),he=useCallback(()=>{let P=e.filter(S=>S.label.toLowerCase().includes(f?.current?.value.toLowerCase()??""));if(O(P),T?.current){let S=T.current.getBoundingClientRect();d(S);}},[e,T?.current]);return useEffect(()=>{O(e);},[e]),a$5(T,()=>{T.current.style.display="none",re(-1);}),useEffect(()=>{if(f?.current)return F(),f.current.addEventListener("mousedown",F),f.current.addEventListener("input",he),f.current.addEventListener("focusin",A),f.current.addEventListener("focusout",D),window.addEventListener("scroll",F,true),window.addEventListener("resize",F),()=>{f.current?.removeEventListener("mousedown",F),f.current?.removeEventListener("input",F),f.current?.removeEventListener("focusout",D),f.current?.removeEventListener("focusin",A),window.removeEventListener("scroll",F,true),window.removeEventListener("resize",F);}},[F,D,A,he]),useEffect(()=>{M&&(G(M),C(true));},[M]),useEffect(()=>{L||t&&t.length&&!U.current&&(G(t),U.current=true,C(true));},[t,L]),jsxs("div",{className:a$2("relative",g),children:[jsx(ut,{selectedOptions:W,onSelect:o,error:i,helperText:r,label:n,placeholder:l,handleSelect:k,options:e,onInputChange:v,size:E,disabled:I}),$&&jsx(ct,{selectedOptions:W,disabled:I,error:i,onCleanSelectedOptions:le,size:E}),jsx(pt,{handleSelect:k,selectedOptions:W,noResultsLabel:c,NoResultsIcon:s,optionDescriptionLines:R,noResultsAsColumn:x,noResultsButtonLabel:u,noResultsButtonOnClick:h,noResultsDescription:m,noResultsDescriptionLines:a})]})};var Pr=e=>jsx(st,{children:jsx(dt,{...e})});var $r=({children:e,title:t,titleLines:o=1,description:i,descriptionLines:r=1,StartIcon:n,hasDivider:l=false,disabled:c$1=false,actionButton:s,isSelected:m=false,className:a,...x})=>jsxs(B,{hasDescription:!!i,disabled:c$1,hasDivider:l,isSelected:m,...x,className:a,children:[n&&jsx(n,{className:"mr-2 h-4.5 w-4.5 shrink-0 grow-0"}),jsx(j,{title:t,titleLines:o,description:i,descriptionLines:r,disabled:c$1}),s&&jsx(Fragment,{children:s.isIcon?jsx(c$2,{...s,className:"ml-4 self-center",variant:"ghost",size:"sm",disabled:c$1??s.disabled}):jsx(c,{...s,className:"ml-4 self-center",size:"sm",variant:"ghost",disabled:c$1??s.disabled})})]});var Jr=({title:e,description:t="",descriptionLines:o,hasDivider:i=false,disabled:r=false,checked:n,onCheckedChange:l,className:c,chipStatus:s,chipExpandable:m,...a})=>jsxs(B,{hasDescription:!!t,disabled:r,hasDivider:i,...a,className:a$2("pr-6",c),children:[jsx(b,{checked:n,onCheckedChange:l,className:"mr-4 self-center",disabled:r}),jsxs("div",{className:"flex-1",children:[jsxs("div",{className:"flex items-center justify-between gap-2",children:[jsx("p",{className:a$2("line-clamp-1 text-sm leading-[130%] break-all",!!t&&"font-medium"),children:e}),m&&jsx("div",{className:"ml-auto flex min-w-0 flex-shrink-0 items-center justify-end",children:jsx(c$3,{...m})}),s&&jsx("div",{className:"ml-4 flex shrink-0 items-center gap-1",children:jsx(d$1,{...s,size:"xs",className:"shrink-0"})})]}),t&&jsx("p",{className:a$2("text-xs leading-[130%]",r?"text-neutral-400":"text-neutral-700",{"line-clamp-1":o===1,"line-clamp-2":o===2,"line-clamp-3":o===3,"line-clamp-4":o===4}),children:t})]})]});var Pe={paragraph:"m-0",ltr:"text-left",rtl:"text-right",heading:{h1:"mb-2 text-2xl leading-[130%] font-semibold text-neutral-900",h2:"mb-2 text-xl leading-[130%] font-semibold text-neutral-900",h3:"mb-2 text-lg leading-[130%] font-semibold text-neutral-900",h4:"mb-2 text-base leading-[130%] font-semibold text-neutral-900",h5:"mb-2 text-sm leading-[130%] font-semibold text-neutral-900",h6:"mb-2 text-xs leading-[130%] font-semibold text-neutral-900"},list:{ul:"my-2 list-disc pl-5",ol:"my-2 list-decimal pl-5",listitem:"my-1",nested:{listitem:"my-1"}},text:{bold:"font-semibold",italic:"italic",underline:"underline",strikethrough:"line-through",code:"rounded bg-neutral-100 px-1 py-0.5 font-mono text-xs"},code:"rounded bg-neutral-100 p-2 font-mono text-xs",quote:"border-l-2 border-neutral-300 pl-3 italic text-neutral-700",link:"text-primary-700 underline hover:text-primary-800"},He={headings:["h1","h2","h3"],textFormat:["bold","italic","underline"],lists:true,indent:true,alignment:["left","center","right","justify"],undoRedo:true};var ke=({readOnly:e})=>{let[t]=useLexicalComposerContext();return useEffect(()=>{t.setEditable(!e);},[t,e]),null};var Fe=({editorRef:e})=>{let[t]=useLexicalComposerContext();return useEffect(()=>(e.current=t,()=>{e.current===t&&(e.current=null);}),[t,e]),null};var xo={"ql-align-left":"left","ql-align-center":"center","ql-align-right":"right","ql-align-justify":"justify"},Lo={center:"ql-align-center",right:"ql-align-right",justify:"ql-align-justify"},Co=()=>typeof window<"u"&&typeof window.DOMParser<"u",ht=e=>Co()?new DOMParser().parseFromString(e,"text/html"):null,Ro=e=>(e??"").replace(/\s+/g," ").trim(),Se=e=>{let t=0;for(let o of Array.from(e.classList)){let i=o.match(/^ql-indent-(\d+)$/);if(!i)continue;let r=Number.parseInt(i[1],10);Number.isFinite(r)&&(t=Math.max(t,r)),e.classList.remove(o);}return t},vo=e=>{let t=e.querySelectorAll("[class*='ql-align-']");for(let o of Array.from(t))for(let i of Array.from(o.classList)){let r=xo[i];r&&(r!=="left"&&(o.style.textAlign=r),o.classList.remove(i));}},To=e=>{let t=e.querySelectorAll("[class*='ql-indent-']");for(let o of Array.from(t)){if(o.tagName==="LI")continue;let i=Se(o);i>0&&(o.style.paddingInlineStart=`${i*3}em`);}},Mo=(e,t)=>{let o=e.getAttribute("data-list");return o==="bullet"?"ul":o==="ordered"?"ol":t},Ao=e=>{let t=e.cloneNode(true);return t.removeAttribute("data-list"),t.removeAttribute("data-checked"),t.removeAttribute("data-indent"),Se(t),t},De=(e,t)=>e.createElement(t),Eo=(e,t)=>{let o=Array.from(e.children).filter(s=>s.tagName==="LI");if(o.length===0||!o.some(s=>s.hasAttribute("data-list")?true:Array.from(s.classList).some(m=>/^ql-indent-\d+$/.test(m))))return;let r=[],n=[],l=e.tagName==="UL"?"ul":"ol";for(let s of o){let m=Se(s),a=Mo(s,l),x=Ao(s);for(;n.length>0&&n[n.length-1].level>m;)n.pop();if(n.length===0){let u=De(t,a);r.push(u),n.push({level:0,kind:a,listElement:u});}let h=n[n.length-1];for(;h.level<m;){let u=h.listElement.lastElementChild;if(!u||u.tagName!=="LI")break;let g=De(t,a);u.appendChild(g),h={level:h.level+1,kind:a,listElement:g},n.push(h);}if(h=n[n.length-1],h.kind!==a){let u=De(t,a);if(n.length===1)r.push(u),n[0]={level:0,kind:a,listElement:u};else {let v=n[n.length-2].listElement.lastElementChild;v&&v.tagName==="LI"?(v.appendChild(u),n[n.length-1]={level:h.level,kind:a,listElement:u}):(r.push(u),n.length=1,n[0]={level:0,kind:a,listElement:u});}h=n[n.length-1];}h.listElement.appendChild(x);}if(r.length===0)return;let c=t.createDocumentFragment();for(let s of r)c.appendChild(s);e.replaceWith(c);},yo=(e,t)=>{let o=Array.from(e.querySelectorAll("ol, ul"));for(let i of o)Eo(i,t);},gt=(e,t)=>{let o=e.tagName==="UL"?"bullet":"ordered",i=Array.from(e.children).filter(r=>r.tagName==="LI");for(let r of i){r.setAttribute("data-list",o);for(let l of Array.from(r.classList))/^ql-indent-\d+$/.test(l)&&r.classList.remove(l);t>0&&r.classList.add(`ql-indent-${t}`);let n=Array.from(r.children).filter(l=>l.tagName==="UL"||l.tagName==="OL");for(let l of n)gt(l,t+1);}},Io=e=>{let t=e.querySelectorAll("p, h1, h2, h3, h4, h5, h6, li");for(let o of Array.from(t)){let i=o;for(let l of Array.from(i.classList))l.startsWith("ql-align-")&&i.classList.remove(l);let r=i.style.textAlign.trim().toLowerCase(),n=Lo[r];n&&i.classList.add(n);}},oe=e=>Ro(e).replace(/>\s+</g,"><").replace(/&nbsp;/g," "),Be=e=>{let t=e??"";if(!t.trim())return "";let o=ht(t);if(!o)return t;let{body:i}=o;return vo(i),To(i),yo(i,o),i.innerHTML},ze=e=>{if(!e.trim())return "";let t=ht(e);if(!t)return e;let{body:o}=t,i=Array.from(o.querySelectorAll("ul, ol"));for(let r of i)gt(r,0);return Io(o),o.innerHTML};var ve=e=>{let t="";return e.getEditorState().read(()=>{t=$generateHtmlFromNodes(e,null);}),ze(t)},Do=(e,t)=>{let o=Be(t);e.update(()=>{let i=$getRoot();if(i.clear(),!o.trim()){i.append($createParagraphNode());return}let n=new DOMParser().parseFromString(o,"text/html"),l=$generateNodesFromDOM(e,n);if(l.length===0){i.append($createParagraphNode());return}i.select(),$insertNodes(l);});},_e=({value:e,isSyncingRef:t})=>{let[o]=useLexicalComposerContext(),i=useRef(null);return useEffect(()=>{let r=e??"";if(i.current!==null&&oe(r)===oe(i.current))return;let n=ve(o);oe(n)!==oe(r)&&(t.current=true,Do(o,r),queueMicrotask(()=>{t.current=false;})),i.current=r;},[o,t,e]),null};var xt=["left","center","right","justify"];var Lt=["bold","italic","underline","strikethrough","code"];var xi={bold:"bold",italic:"italic",underline:"underline",strikethrough:"strikethrough",code:"code"},Li={left:jsx(AlignLeftIcon,{className:"size-4"}),center:jsx(AlignCenterIcon,{className:"size-4"}),right:jsx(AlignRightIcon,{className:"size-4"}),justify:jsx(AlignJustifyIcon,{className:"size-4"})},Ci={left:"Align left",center:"Align center",right:"Align right",justify:"Align justify"},ue={bold:jsx(BoldIcon,{className:"size-4"}),italic:jsx(ItalicIcon,{className:"size-4"}),underline:jsx(UnderlineIcon,{className:"size-4"}),strikethrough:jsx("span",{className:"text-xs font-semibold",children:"S"}),code:jsx("span",{className:"font-mono text-xs",children:"</>"})},de={bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",code:"Inline code"},Ri=e=>{let t=e.textFormat;return t===false?[]:Array.isArray(t)?Lt.filter(o=>t.includes(o)):["bold","italic","underline"]},vi=e=>{let t=e.alignment;return t===false?[]:Array.isArray(t)?xt.filter(o=>t.includes(o)):["left","center","right","justify"]},Ti=e=>{if(e.headings===false)return [];let t=Array.isArray(e.headings)?e.headings:["h1","h2","h3"];return [{value:"paragraph",label:"Normal"},...t.map(o=>({value:o,label:o.toUpperCase()}))]},fe=()=>jsx("div",{className:"mx-1 h-5 w-px bg-neutral-300"}),H=({label:e,onClick:t,icon:o,active:i=false,disabled:r=false})=>jsx("button",{type:"button","aria-label":e,title:e,disabled:r,onClick:t,className:a$2("inline-flex size-8 items-center justify-center rounded-md border border-transparent text-neutral-700 transition-colors","focus-visible:ring-primary-800 hover:bg-neutral-200 focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:outline-none","disabled:cursor-not-allowed disabled:opacity-40",i&&"border-neutral-300 bg-neutral-200 text-neutral-900"),children:o}),qe=({config:e,className:t})=>{let[o]=useLexicalComposerContext(),i=useId(),[r,n]=useState(false),[l,c]=useState(false),[s,m]=useState(false),[a,x]=useState(false),[h,u]=useState(false),[g,v]=useState(false),[M,L]=useState(false),[E,R]=useState("paragraph"),[I,f]=useState("left"),T=useMemo(()=>Ri(e),[e]),O=useMemo(()=>vi(e),[e]),C=useMemo(()=>Ti(e),[e]),K=useCallback(()=>{let d=$getSelection();if(!$isRangeSelection(d))return;m(d.hasFormat("bold")),x(d.hasFormat("italic")),u(d.hasFormat("underline")),v(d.hasFormat("strikethrough")),L(d.hasFormat("code"));let y=d.anchor.getNode(),N=y.getKey()==="root"?y:y.getTopLevelElementOrThrow();if($isListNode(N))R(N.getListType()==="number"?"ol":"ul");else {let W=$findMatchingParent(N,G=>$isListNode(G));$isListNode(W)?R(W.getListType()==="number"?"ol":"ul"):R($isHeadingNode(N)?N.getTag():N.getType());}let U=$isElementNode(N)?N.getFormatType():"";f(U==="center"||U==="right"||U==="justify"?U:"left");},[]);useEffect(()=>mergeRegister(o.registerUpdateListener(({editorState:d})=>{d.read(()=>{K();});}),o.registerCommand(SELECTION_CHANGE_COMMAND,()=>(K(),false),1),o.registerCommand(CAN_UNDO_COMMAND,d=>(n(d),false),1),o.registerCommand(CAN_REDO_COMMAND,d=>(c(d),false),1)),[o,K]);let _=d=>{o.dispatchCommand(FORMAT_TEXT_COMMAND,xi[d]);},re=d=>{o.update(()=>{let y=$getSelection();if($isRangeSelection(y)){if(d==="paragraph"){$setBlocksType(y,()=>$createParagraphNode());return}$setBlocksType(y,()=>$createHeadingNode(d));}});},$=d=>{if(E===(d==="bullet"?"ul":"ol")){o.dispatchCommand(REMOVE_LIST_COMMAND,void 0);return}o.dispatchCommand(d==="bullet"?INSERT_UNORDERED_LIST_COMMAND:INSERT_ORDERED_LIST_COMMAND,void 0);};return jsxs("div",{className:a$2("flex flex-wrap items-center gap-1 border-b border-neutral-300 bg-neutral-100 px-2 py-1.5",t),children:[e.undoRedo!==false&&jsxs(Fragment,{children:[jsx(H,{label:"Undo",onClick:()=>o.dispatchCommand(UNDO_COMMAND,void 0),disabled:!r,icon:jsx(UndoIcon,{className:"size-4"})}),jsx(H,{label:"Redo",onClick:()=>o.dispatchCommand(REDO_COMMAND,void 0),disabled:!l,icon:jsx(RedoIcon,{className:"size-4"})}),jsx(fe,{})]}),C.length>0&&jsxs(Fragment,{children:[jsx("label",{className:"sr-only",htmlFor:i,children:"Text style"}),jsx("select",{id:i,value:E.startsWith("h")?E:"paragraph",onChange:d=>re(d.target.value),className:a$2("h-8 rounded-md border border-neutral-300 bg-white px-2 text-xs font-medium text-neutral-800","focus-visible:ring-primary-800 focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:outline-none"),children:C.map(d=>jsx("option",{value:d.value,children:d.label},d.value))}),jsx(fe,{})]}),T.length>0&&jsxs(Fragment,{children:[T.includes("bold")&&jsx(H,{label:de.bold,onClick:()=>_("bold"),icon:ue.bold,active:s}),T.includes("italic")&&jsx(H,{label:de.italic,onClick:()=>_("italic"),icon:ue.italic,active:a}),T.includes("underline")&&jsx(H,{label:de.underline,onClick:()=>_("underline"),icon:ue.underline,active:h}),T.includes("strikethrough")&&jsx(H,{label:de.strikethrough,onClick:()=>_("strikethrough"),icon:ue.strikethrough,active:g}),T.includes("code")&&jsx(H,{label:de.code,onClick:()=>_("code"),icon:ue.code,active:M}),jsx(fe,{})]}),e.lists!==false&&jsxs(Fragment,{children:[jsx(H,{label:"Bulleted list",onClick:()=>$("bullet"),icon:jsx(ListIcon,{className:"size-4"}),active:E==="ul"}),jsx(H,{label:"Numbered list",onClick:()=>$("number"),icon:jsx(ListOrderedIcon,{className:"size-4"}),active:E==="ol"}),jsx(fe,{})]}),e.indent!==false&&jsxs(Fragment,{children:[jsx(H,{label:"Decrease indent",onClick:()=>o.dispatchCommand(OUTDENT_CONTENT_COMMAND,void 0),icon:jsx(IndentDecreaseIcon,{className:"size-4"})}),jsx(H,{label:"Increase indent",onClick:()=>o.dispatchCommand(INDENT_CONTENT_COMMAND,void 0),icon:jsx(IndentIncreaseIcon,{className:"size-4"})}),jsx(fe,{})]}),O.length>0&&jsx(Fragment,{children:O.map(d=>jsx(H,{label:Ci[d],onClick:()=>o.dispatchCommand(FORMAT_ELEMENT_COMMAND,d),icon:Li[d],active:I===d},d))})]})};var Tt=e=>{if(e!==void 0)return typeof e=="number"?`${e}px`:e},Bi=forwardRef(({value:e,onChange:t,onBlur:o,onError:i,placeholder:r="Write your content...",readOnly:n=false,showToolbar:l=true,toolbarConfig:c=He,className:s,editorClassName:m,toolbarClassName:a,autoFocus:x=false,minHeight:h=160,maxHeight:u,error:g=false,errorMessage:v,editorRef:M},L)=>{let E=useRef(false),R=useMemo(()=>({namespace:"SodtrackRichTextEditor",theme:Pe,onError:(f,T)=>{if(i){i(f,T);return}console.error("RichTextEditor error",f);},nodes:[HeadingNode,ListNode,ListItemNode]}),[i]),I={minHeight:Tt(h),maxHeight:Tt(u),overflowY:u?"auto":void 0};return jsx(LexicalComposer,{initialConfig:R,children:jsxs("div",{className:"w-full",children:[jsxs("div",{ref:L,className:a$2("group flex w-full flex-col overflow-hidden rounded-lg border bg-white transition-colors","focus-within:ring-primary-800 focus-within:ring-2 focus-within:ring-offset-0",g?"border-error-500 focus-within:border-error-500 focus-within:ring-error-500":"border-neutral-500",n&&"border-neutral-300 bg-neutral-50 focus-within:ring-0",s),"data-error":g,"data-readonly":n,children:[l&&!n&&jsx(qe,{config:c,className:a}),jsx(RichTextPlugin,{contentEditable:jsx(ContentEditable,{className:a$2("relative w-full px-4 py-3 text-sm leading-[142%] text-neutral-900 outline-none","[&_h1]:mt-2 [&_h1]:mb-2 [&_h2]:mt-2 [&_h2]:mb-2 [&_h3]:mt-2 [&_h3]:mb-2","[&_ol]:my-2 [&_ul]:my-2 [&_li]:my-1","[&_a]:text-primary-700 [&_a]:underline",n&&"cursor-default",m),style:I,onBlur:o,"aria-invalid":g}),placeholder:n?null:jsx("div",{className:"pointer-events-none absolute top-3 left-4 text-sm text-neutral-500",children:r}),ErrorBoundary:LexicalErrorBoundary}),jsx(HistoryPlugin,{}),jsx(ListPlugin,{}),jsx(ke,{readOnly:n}),jsx(_e,{value:e,isSyncingRef:E}),x&&!n&&jsx(AutoFocusPlugin,{}),M&&jsx(Fe,{editorRef:M}),jsx(OnChangePlugin,{ignoreSelectionChange:true,onChange:(f,T)=>{!t||E.current||t(ve(T),f);}})]}),g&&v&&jsx("p",{className:"mt-1 text-xs leading-[133%] text-error-500",children:v})]})})});Bi.displayName="RichTextEditor";var zi=({children:e,hasDescription:t=false,disabled:o=false,hasDivider:i=false,className:r,isSelected:n,onClick:l,...c})=>jsxs(Fragment,{children:[jsx("div",{className:a$2("flex flex-row px-3 py-4 text-neutral-900 transition-colors",t?"py-3":"py-3.5",o?"cursor-not-allowed text-neutral-400":"hover:bg-primary-100 focus:bg-primary-200",n&&"bg-primary-200",r),onClick:s=>{o||l?.(s);},...c,children:e}),i&&jsx(a$1,{})]}),B=zi;var Je=({children:e,title:t,titleLines:o,description:i="",descriptionLines:r,startIcon:n,endIcon:l,hasDivider:c=false,disabled:s=false,isSelected:m=false,className:a,...x})=>jsxs(B,{hasDescription:!!i,disabled:s,hasDivider:c,className:a,isSelected:m,...x,children:[n&&ye.cloneElement(n,{className:"shrink-0 mr-2 h-4.5 w-4.5"}),jsx(j,{title:t,titleLines:o,description:i,descriptionLines:r,disabled:s}),l&&ye.cloneElement(l,{className:"min-h-4.5 min-w-4.5 self-center ml-4"})]});export{ln as a,Je as b,xn as c,nt as d,Pr as e,$r as f,Jr as g,Pe as h,He as i,oe as j,Be as k,ze as l,Bi as m};
1
+ import {a as a$5}from'./chunk-GFVJRSZI.js';import {a as a$4}from'./chunk-EQ7UBF2K.js';import {d}from'./chunk-3Q4SUKIS.js';import {b}from'./chunk-YZ6RG6HH.js';import {c as c$3}from'./chunk-JYNJHAGL.js';import {a}from'./chunk-D223PRU5.js';import {a as a$3}from'./chunk-F6SA7OTV.js';import {d as d$1}from'./chunk-MP4CHZ2K.js';import {a as a$1}from'./chunk-4CM257A2.js';import {c as c$2}from'./chunk-SVOYRVJO.js';import {c}from'./chunk-55Z77FLU.js';import {c as c$1,h}from'./chunk-QNQELNVU.js';import {a as a$2}from'./chunk-OBZIYJO7.js';import ye,{createContext,useMemo,useCallback,forwardRef,useRef,useContext,useEffect,useId,useState}from'react';import*as Xe from'@radix-ui/react-portal';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {LexicalComposer}from'@lexical/react/LexicalComposer';import {RichTextPlugin}from'@lexical/react/LexicalRichTextPlugin';import {ContentEditable}from'@lexical/react/LexicalContentEditable';import {HistoryPlugin}from'@lexical/react/LexicalHistoryPlugin';import {ListPlugin}from'@lexical/react/LexicalListPlugin';import {AutoFocusPlugin}from'@lexical/react/LexicalAutoFocusPlugin';import {OnChangePlugin}from'@lexical/react/LexicalOnChangePlugin';import {LexicalErrorBoundary}from'@lexical/react/LexicalErrorBoundary';import {HeadingNode,$isHeadingNode,$createHeadingNode}from'@lexical/rich-text';import {ListNode,ListItemNode,$isListNode,REMOVE_LIST_COMMAND,INSERT_UNORDERED_LIST_COMMAND,INSERT_ORDERED_LIST_COMMAND}from'@lexical/list';import {useLexicalComposerContext}from'@lexical/react/LexicalComposerContext';import {$generateHtmlFromNodes,$generateNodesFromDOM}from'@lexical/html';import {$getSelection,$isRangeSelection,$isElementNode,SELECTION_CHANGE_COMMAND,CAN_UNDO_COMMAND,CAN_REDO_COMMAND,UNDO_COMMAND,REDO_COMMAND,OUTDENT_CONTENT_COMMAND,INDENT_CONTENT_COMMAND,FORMAT_ELEMENT_COMMAND,$createParagraphNode,FORMAT_TEXT_COMMAND,$getRoot,$insertNodes}from'lexical';import {$setBlocksType}from'@lexical/selection';import {$findMatchingParent,mergeRegister}from'@lexical/utils';import {AlignJustifyIcon,AlignRightIcon,AlignCenterIcon,AlignLeftIcon,UnderlineIcon,ItalicIcon,BoldIcon,UndoIcon,RedoIcon,ListIcon,ListOrderedIcon,IndentDecreaseIcon,IndentIncreaseIcon}from'lucide-react';var Ot=ye.memo(({handleSelect:e,NoResultsIcon:t,noResultsLabel:o,noResultsDescription:i,noResultsDescriptionLines:r,noResultsAsColumn:n,noResultsButtonOnClick:l,optionDescriptionLines:c$1,noResultsButtonLabel:s,filteredOptions:m,inputRect:a$3,inputRef:x,popoverPosition:h,optionsListRef:u,selectedOption:g,options:v,setFilteredOptions:M})=>jsx(Xe.Root,{asChild:true,children:jsxs("div",{ref:u,className:"elevation-8 pointer-events-auto fixed z-50 mb-2 hidden max-h-[336px] w-full flex-col overflow-y-auto rounded-lg bg-neutral-50",style:a$3?{width:`${a$3.width}px`,left:a$3.left,top:h==="bottom"?`${a$3.bottom}px`:void 0,bottom:h==="top"?`${window.innerHeight-a$3.top}px`:void 0}:void 0,children:[m.length===0&&jsxs("div",{className:"elevation-8 max-h-88 flex flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(a,{title:o,description:i,Icon:t,iconAsColumn:n,descriptionLines:r}),l&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(c,{variant:"ghost",className:"my-3 w-fit self-center",onClick:L=>{u.current.style.display="none",x.current.value="",M(v),l();},children:s})]})]}),m.map(L=>jsx(Je,{title:L.label,disabled:L.disabled,description:L.description,descriptionLines:c$1,onClick:()=>e(L),className:a$2(g?.value===L.value&&"bg-primary-200")},L.key??L.value))]})})),Ye=Ot;var wt=336,ln=({options:e,defaultSelectedOption:t,onSelect:o,onClick:i,onInputChange:r,error:n,helperText:l,label:c,placeholder:s,value:m,size:a="md",optionDescriptionLines:x=1,noResultsLabel:h,noResultsIcon:u,noResultsDescription:g,noResultsDescriptionLines:v,noResultsAsColumn:M,noResultsButtonOnClick:L,noResultsButtonLabel:E,className:R,disabled:I})=>{let[f,T]=useState(t??null),O=useRef(null),C=useRef(null),[K,_]=useState(),[re,$]=useState([]),[d,y]=useState("bottom"),[N,U]=useState(),W=wt,G=useCallback(A=>{O.current.style.display="none",C.current.value=A.label,T(A),o?.(A);},[o]),k=useCallback(()=>{if(!C?.current)return;let A=C.current.getBoundingClientRect();_(A);let D=N?N.height:W,F=window.innerHeight-A.bottom>D,he=A.top>D;y(F?"bottom":he?"top":"bottom");},[N?.height]),le=useCallback(()=>{let A=e.filter(D=>D.label.toLowerCase().includes(C?.current?.value.toLowerCase()??""));if($(A),O?.current){let D=O.current.getBoundingClientRect();U(D);}},[e]);return useEffect(()=>{$(e);},[e]),useEffect(()=>{if(!m){T(null),C.current&&(C.current.value="");return}(!C.current?.value||f?.value!==m.value)&&(T(m),C.current.value=m.label);},[m]),a$5(O,()=>{O.current.style.display="none",f&&C.current&&(C.current.value=f.label);}),useEffect(()=>{if(C?.current)return k(),C.current.addEventListener("mousedown",k),C.current.addEventListener("input",le),window.addEventListener("scroll",k,true),window.addEventListener("resize",k),()=>{C.current?.removeEventListener("mousedown",k),C.current?.removeEventListener("input",le),window.removeEventListener("scroll",k,true),window.removeEventListener("resize",k);}},[k,le]),jsxs("div",{className:a$2("relative",R),children:[jsx(a$4,{ref:C,autoComplete:"off",list:"",selectMode:true,onChange:A=>{A.target.value||(T(null),o?.(null)),r?.(A);},onClean:()=>{T(null),$(e),o?.(null);},onClick:A=>{O.current.style.display="flex",i?.(A);},onBlur:()=>{f&&C.current&&(C.current.value=f.label);},label:c,helperText:l,placeholder:s,size:a,error:n,disabled:I}),jsx(Ye,{handleSelect:G,noResultsLabel:h,NoResultsIcon:u,optionDescriptionLines:x,noResultsAsColumn:M,noResultsButtonLabel:E,noResultsButtonOnClick:L,noResultsDescription:g,noResultsDescriptionLines:v,filteredOptions:re,inputRect:K,inputRef:C,popoverPosition:d,optionsListRef:O,selectedOption:f,options:e,setFilteredOptions:$})]})};var Ht=({children:e,title:t,titleLines:o,description:i="",descriptionLines:r,disabled:n=false,className:l,...c})=>jsxs("div",{className:"flex w-full flex-col gap-1",...c,children:[jsx("p",{className:a$2("break-all text-sm leading-[130%]",!!i&&"font-medium"),style:o?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:o}:void 0,children:t}),i&&jsx("p",{className:a$2("text-xs leading-[130%]",n?"text-neutral-400":"text-neutral-700"),style:r?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:r}:void 0,children:i})]}),j=Ht;var xn=({children:e,title:t,titleLines:o,description:i="",descriptionLines:r,startIcon:n,badgeContent:l,hasDivider:c=false,disabled:s=false,onSelect:m,className:a,...x})=>jsxs(B,{hasDescription:!!i,disabled:s,onClick:m,hasDivider:c,className:a$2(!s&&"cursor-pointer",a),...x,children:[n&&ye.cloneElement(n,{className:"shrink-0 mr-2 h-4.5 w-4.5"}),jsx(j,{title:t,titleLines:o,description:i,descriptionLines:r,disabled:s}),jsxs("div",{className:"ml-4 flex gap-2",children:[l&&jsx(a$3,{content:l,size:"lg",variant:"alert",className:a$2("self-center",s&&"bg-neutral-400")}),jsx(h,{className:"h-4.5 w-4.5 self-center"})]})]});var nt=({children:e,title:t,titleLines:o=1,description:i="",descriptionLines:r,startIcon:n,hasDivider:l=false,disabled:c=false,checked:s,onCheckedChange:m,className:a,...x})=>jsxs(B,{hasDescription:!!i,disabled:c,hasDivider:l,...x,className:a$2("pr-6",a),children:[n&&ye.cloneElement(n,{className:"shrink-0 w-4.5 h-4.5 mr-2"}),jsx(j,{title:t,titleLines:o,description:i,descriptionLines:r,disabled:c}),jsx(b,{checked:s,onCheckedChange:m,className:"ml-4 self-center",disabled:c})]});var q=336,lt=createContext({inputRef:null,optionsListRef:null,autocompleteId:"",inputRect:void 0,showChips:false,filteredOptions:[],currentFocus:-1,popoverPosition:"bottom",setFilteredOptions:()=>{},setCurrentFocus:()=>{},setShowChips:()=>{},setPopoverPosition:()=>{},setInputRect:()=>{},optionsListHeight:q,setOptionsListHeight:()=>{},optionsListRect:void 0,setOptionsListRect:()=>{}}),z=()=>{let e=useContext(lt);if(e===null)throw new Error("useAutocompleteMultipleContext must be used within a AutocompleteMultipleProvider");return e},st=({children:e})=>{let t=useRef(null),o=useRef(null),i=useId(),[r,n]=useState(),[l,c]=useState(true),[s,m]=useState([]),[a,x]=useState(-1),[h,u]=useState("bottom"),[g,v]=useState(),[M,L]=useState(q);return jsx(lt.Provider,{value:{optionsListRef:t,inputRef:o,autocompleteId:i,inputRect:r,showChips:l,filteredOptions:s,currentFocus:a,popoverPosition:h,setFilteredOptions:m,setCurrentFocus:x,setShowChips:c,setPopoverPosition:u,setInputRect:n,optionsListHeight:M,optionsListRect:g,setOptionsListRect:v,setOptionsListHeight:L},children:e})};var Vt=({option:e,onMountWidth:t,size:o})=>{let i=useRef(null);return useEffect(()=>{i.current&&t?.(i.current.clientWidth);},[]),jsx(d,{type:"fill",variant:"standard",ref:i,className:"shrink-0",size:o==="md"?"xs":"sm",hasCloseIcon:false,children:e.label})},at=Vt;var jt=150,Kt=ye.memo(({selectedOptions:e,error:t,onCleanSelectedOptions:o,disabled:i,size:r})=>{let{autocompleteId:n,inputRect:l,inputRef:c,optionsListRef:s}=z(),m=ye.useRef(null),[a,x]=ye.useState(new Map),h=useMemo(()=>{if(!l?.width)return [];let g=0,v=l.width-jt,M=0;for(let L=0;L<e.length&&(M+=a.get(L)??0,!(M>v));L++)g++;return e.slice(0,g)},[l?.width,e,a]),u=useCallback(()=>{i||(c?.current?.focus(),s.current.style.display="flex");},[i]);return jsxs("div",{onClick:u,className:a$2("absolute top-0 z-30 flex w-full cursor-pointer flex-nowrap items-center gap-2 pl-3 pr-12",i&&"cursor-not-allowed"),style:{maxWidth:l?.width?l?.width:void 0,height:l?.height?l?.height:void 0},children:[jsx("div",{className:"flex flex-1 gap-1 overflow-hidden",ref:m,children:h.map((g,v)=>jsx(at,{option:g,onMountWidth:M=>x(L=>new Map(L).set(v,M)),size:r},`chip-input-${n}-${g.value}`))}),e.length>h.length&&jsx("span",{className:"text-base",children:"..."}),e.length>0&&!t&&jsx(a$3,{content:String(e.length),size:r}),t&&e.length>0&&jsx(c$1,{className:"h-6 w-6 text-error-700",onClick:g=>{g.stopPropagation(),o();}})]})}),ct=Kt;var Jt=ye.memo(({option:e,index:t,onPressOption:o,isSelected:i,optionDescriptionLines:r})=>{let{currentFocus:n,inputRef:l}=z();return jsx(nt,{title:e.label,checked:i,disabled:e.disabled,className:n===t?"bg-primary-200":void 0,onMouseDown:c=>{e.disabled||(l?.current?.value&&c.preventDefault(),o?.(e,c));},description:e.description,descriptionLines:r})}),Ie=Jt;var io=ye.memo(({selectedOptions:e,handleSelect:t,NoResultsIcon:o,noResultsLabel:i,noResultsDescription:r,noResultsDescriptionLines:n,noResultsAsColumn:l,noResultsButtonOnClick:c$1,optionDescriptionLines:s,noResultsButtonLabel:m})=>{let{popoverPosition:a$2,optionsListRef:x,filteredOptions:h,inputRect:u,autocompleteId:g,inputRef:v,optionsListHeight:M}=z(),L=useCallback(R=>e.some(I=>I.value===R.value),[e]),E=useMemo(()=>e.filter(R=>R.label.toLowerCase().includes(v?.current?.value.toLowerCase()??"")),[e,v?.current?.value]);return jsx(Xe.Root,{asChild:true,children:jsxs("div",{ref:x,className:"elevation-8 pointer-events-auto fixed z-50 mb-2 hidden w-full flex-col overflow-y-auto rounded-lg bg-neutral-50",style:u?{width:`${u.width}px`,left:u.left,top:a$2==="bottom"?`${u.bottom}px`:void 0,bottom:a$2==="top"?`${window.innerHeight-u.top}px`:void 0,maxHeight:M+"px"}:void 0,children:[h.length===0&&jsxs("div",{className:"elevation-8 max-h-88 flex flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(a,{title:i,description:r,Icon:o,iconAsColumn:l,descriptionLines:n}),c$1&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(c,{variant:"ghost",className:"my-3 w-fit self-center",onClick:R=>{x.current.style.display="none",v.current.value="",c$1();},children:m})]})]}),E.map((R,I)=>jsx(Ie,{option:R,index:I,onPressOption:f=>t(f),isSelected:L(R),optionDescriptionLines:s},`autocomplete-option-${g}-${R.key??R.value}`)),h.map((R,I)=>!e.some(f=>f.value===R.value)&&jsx(Ie,{option:R,index:I,onPressOption:f=>t(f),isSelected:L(R),optionDescriptionLines:s},`autocomplete-option-${g}-${R.key??R.value}`))]})})}),pt=io;var lo=ye.memo(({selectedOptions:e,onSelect:t,error:o,helperText:i,label:r,placeholder:n,options:l,onInputChange:c,size:s,disabled:m})=>{let{setCurrentFocus:a,setFilteredOptions:x,optionsListRef:h,inputRef:u}=z();return jsx(a$4,{ref:u,autoComplete:"off",list:"",disabled:m,selectMode:true,onChange:g=>{a(-1),c?.(g.target.value);},onClean:()=>{a(-1),x(l),t?.(null,e);},onClick:()=>{m||(h.current.style.display="flex");},error:o,helperText:i,label:r,placeholder:n,fixedTopLabel:e.length>0,size:s})}),ut=lo;var dt=({options:e,defaultSelectedOptions:t,onSelect:o,error:i,helperText:r,label:n,placeholder:l,noResultsLabel:c,noResultsIcon:s,noResultsDescription:m,noResultsDescriptionLines:a,noResultsAsColumn:x,noResultsButtonOnClick:h,noResultsButtonLabel:u,className:g,onInputChange:v,value:M,loading:L,size:E="md",optionDescriptionLines:R=1,disabled:I})=>{let{inputRef:f,optionsListRef:T,setFilteredOptions:O,setShowChips:C,setInputRect:K,setPopoverPosition:_,setCurrentFocus:re,showChips:$,setOptionsListRect:d,optionsListRect:y,setOptionsListHeight:N}=z(),U=useRef(false),[W,G]=useState(t??[]),k=useCallback(P=>{G(S=>{let Q,se=S.findIndex(yt=>yt.value===P.value);return se===-1?(Q=S.concat(P),o?.(P,Q),Q):(Q=S.toSpliced(se,1),o?.(P,Q),Q)});},[o]),le=useCallback(()=>{G([]),O(e),o?.(null,[]);},[]),A=useCallback(()=>{C(false);},[]),D=useCallback(()=>{C(true);},[]),F=useCallback(()=>{if(!f?.current)return;let P=f.current.getBoundingClientRect();K(P);let S=y?y.height>q?q:y.height:q,Q=window.innerHeight-P.bottom>S,se=P.top>S;_(Q?"bottom":se?"top":"bottom"),N(se?q:window.innerHeight-P.bottom>q?q:window.innerHeight-P.bottom);},[y?.height]),he=useCallback(()=>{let P=e.filter(S=>S.label.toLowerCase().includes(f?.current?.value.toLowerCase()??""));if(O(P),T?.current){let S=T.current.getBoundingClientRect();d(S);}},[e,T?.current]);return useEffect(()=>{O(e);},[e]),a$5(T,()=>{T.current.style.display="none",re(-1);}),useEffect(()=>{if(f?.current)return F(),f.current.addEventListener("mousedown",F),f.current.addEventListener("input",he),f.current.addEventListener("focusin",A),f.current.addEventListener("focusout",D),window.addEventListener("scroll",F,true),window.addEventListener("resize",F),()=>{f.current?.removeEventListener("mousedown",F),f.current?.removeEventListener("input",F),f.current?.removeEventListener("focusout",D),f.current?.removeEventListener("focusin",A),window.removeEventListener("scroll",F,true),window.removeEventListener("resize",F);}},[F,D,A,he]),useEffect(()=>{M&&(G(M),C(true));},[M]),useEffect(()=>{L||t&&t.length&&!U.current&&(G(t),U.current=true,C(true));},[t,L]),jsxs("div",{className:a$2("relative",g),children:[jsx(ut,{selectedOptions:W,onSelect:o,error:i,helperText:r,label:n,placeholder:l,handleSelect:k,options:e,onInputChange:v,size:E,disabled:I}),$&&jsx(ct,{selectedOptions:W,disabled:I,error:i,onCleanSelectedOptions:le,size:E}),jsx(pt,{handleSelect:k,selectedOptions:W,noResultsLabel:c,NoResultsIcon:s,optionDescriptionLines:R,noResultsAsColumn:x,noResultsButtonLabel:u,noResultsButtonOnClick:h,noResultsDescription:m,noResultsDescriptionLines:a})]})};var Pr=e=>jsx(st,{children:jsx(dt,{...e})});var $r=({children:e,title:t,titleLines:o=1,description:i,descriptionLines:r=1,StartIcon:n,hasDivider:l=false,disabled:c$1=false,actionButton:s,isSelected:m=false,className:a,...x})=>jsxs(B,{hasDescription:!!i,disabled:c$1,hasDivider:l,isSelected:m,...x,className:a,children:[n&&jsx(n,{className:"mr-2 h-4.5 w-4.5 shrink-0 grow-0"}),jsx(j,{title:t,titleLines:o,description:i,descriptionLines:r,disabled:c$1}),s&&jsx(Fragment,{children:s.isIcon?jsx(c$2,{...s,className:"ml-4 self-center",variant:"ghost",size:"sm",disabled:c$1??s.disabled}):jsx(c,{...s,className:"ml-4 self-center",size:"sm",variant:"ghost",disabled:c$1??s.disabled})})]});var Jr=({title:e,description:t="",descriptionLines:o,hasDivider:i=false,disabled:r=false,checked:n,onCheckedChange:l,className:c,chipStatus:s,chipExpandable:m,...a})=>jsxs(B,{hasDescription:!!t,disabled:r,hasDivider:i,...a,className:a$2("pr-6",c),children:[jsx(b,{checked:n,onCheckedChange:l,className:"mr-4 self-center",disabled:r}),jsxs("div",{className:"flex-1",children:[jsxs("div",{className:"flex items-center justify-between gap-2",children:[jsx("p",{className:a$2("line-clamp-1 text-sm leading-[130%] break-all",!!t&&"font-medium"),children:e}),m&&jsx("div",{className:"ml-auto flex min-w-0 flex-shrink-0 items-center justify-end",children:jsx(c$3,{...m})}),s&&jsx("div",{className:"ml-4 flex shrink-0 items-center gap-1",children:jsx(d$1,{...s,size:"xs",className:"shrink-0"})})]}),t&&jsx("p",{className:a$2("text-xs leading-[130%]",r?"text-neutral-400":"text-neutral-700",{"line-clamp-1":o===1,"line-clamp-2":o===2,"line-clamp-3":o===3,"line-clamp-4":o===4}),children:t})]})]});var Pe={paragraph:"m-0",ltr:"text-left",rtl:"text-right",heading:{h1:"mb-2 text-2xl leading-[130%] font-semibold text-neutral-900",h2:"mb-2 text-xl leading-[130%] font-semibold text-neutral-900",h3:"mb-2 text-lg leading-[130%] font-semibold text-neutral-900",h4:"mb-2 text-base leading-[130%] font-semibold text-neutral-900",h5:"mb-2 text-sm leading-[130%] font-semibold text-neutral-900",h6:"mb-2 text-xs leading-[130%] font-semibold text-neutral-900"},list:{ul:"my-2 list-disc pl-5",ol:"my-2 list-decimal pl-5",listitem:"my-1",nested:{listitem:"my-1"}},text:{bold:"font-semibold",italic:"italic",underline:"underline",strikethrough:"line-through",code:"rounded bg-neutral-100 px-1 py-0.5 font-mono text-xs"},code:"rounded bg-neutral-100 p-2 font-mono text-xs",quote:"border-l-2 border-neutral-300 pl-3 italic text-neutral-700",link:"text-primary-700 underline hover:text-primary-800"},He={headings:["h1","h2","h3"],textFormat:["bold","italic","underline"],lists:true,indent:true,alignment:["left","center","right","justify"],undoRedo:true};var ke=({readOnly:e})=>{let[t]=useLexicalComposerContext();return useEffect(()=>{t.setEditable(!e);},[t,e]),null};var Fe=({editorRef:e})=>{let[t]=useLexicalComposerContext();return useEffect(()=>(e.current=t,()=>{e.current===t&&(e.current=null);}),[t,e]),null};var xo={"ql-align-left":"left","ql-align-center":"center","ql-align-right":"right","ql-align-justify":"justify"},Lo={center:"ql-align-center",right:"ql-align-right",justify:"ql-align-justify"},Co=()=>typeof window<"u"&&typeof window.DOMParser<"u",ht=e=>Co()?new DOMParser().parseFromString(e,"text/html"):null,Ro=e=>(e??"").replace(/\s+/g," ").trim(),Se=e=>{let t=0;for(let o of Array.from(e.classList)){let i=o.match(/^ql-indent-(\d+)$/);if(!i)continue;let r=Number.parseInt(i[1],10);Number.isFinite(r)&&(t=Math.max(t,r)),e.classList.remove(o);}return t},vo=e=>{let t=e.querySelectorAll("[class*='ql-align-']");for(let o of Array.from(t))for(let i of Array.from(o.classList)){let r=xo[i];r&&(r!=="left"&&(o.style.textAlign=r),o.classList.remove(i));}},To=e=>{let t=e.querySelectorAll("[class*='ql-indent-']");for(let o of Array.from(t)){if(o.tagName==="LI")continue;let i=Se(o);i>0&&(o.style.paddingInlineStart=`${i*3}em`);}},Mo=(e,t)=>{let o=e.getAttribute("data-list");return o==="bullet"?"ul":o==="ordered"?"ol":t},Ao=e=>{let t=e.cloneNode(true);return t.removeAttribute("data-list"),t.removeAttribute("data-checked"),t.removeAttribute("data-indent"),Se(t),t},De=(e,t)=>e.createElement(t),Eo=(e,t)=>{let o=Array.from(e.children).filter(s=>s.tagName==="LI");if(o.length===0||!o.some(s=>s.hasAttribute("data-list")?true:Array.from(s.classList).some(m=>/^ql-indent-\d+$/.test(m))))return;let r=[],n=[],l=e.tagName==="UL"?"ul":"ol";for(let s of o){let m=Se(s),a=Mo(s,l),x=Ao(s);for(;n.length>0&&n[n.length-1].level>m;)n.pop();if(n.length===0){let u=De(t,a);r.push(u),n.push({level:0,kind:a,listElement:u});}let h=n[n.length-1];for(;h.level<m;){let u=h.listElement.lastElementChild;if(!u||u.tagName!=="LI")break;let g=De(t,a);u.appendChild(g),h={level:h.level+1,kind:a,listElement:g},n.push(h);}if(h=n[n.length-1],h.kind!==a){let u=De(t,a);if(n.length===1)r.push(u),n[0]={level:0,kind:a,listElement:u};else {let v=n[n.length-2].listElement.lastElementChild;v&&v.tagName==="LI"?(v.appendChild(u),n[n.length-1]={level:h.level,kind:a,listElement:u}):(r.push(u),n.length=1,n[0]={level:0,kind:a,listElement:u});}h=n[n.length-1];}h.listElement.appendChild(x);}if(r.length===0)return;let c=t.createDocumentFragment();for(let s of r)c.appendChild(s);e.replaceWith(c);},yo=(e,t)=>{let o=Array.from(e.querySelectorAll("ol, ul"));for(let i of o)Eo(i,t);},gt=(e,t)=>{let o=e.tagName==="UL"?"bullet":"ordered",i=Array.from(e.children).filter(r=>r.tagName==="LI");for(let r of i){r.setAttribute("data-list",o);for(let l of Array.from(r.classList))/^ql-indent-\d+$/.test(l)&&r.classList.remove(l);t>0&&r.classList.add(`ql-indent-${t}`);let n=Array.from(r.children).filter(l=>l.tagName==="UL"||l.tagName==="OL");for(let l of n)gt(l,t+1);}},Io=e=>{let t=e.querySelectorAll("p, h1, h2, h3, h4, h5, h6, li");for(let o of Array.from(t)){let i=o;for(let l of Array.from(i.classList))l.startsWith("ql-align-")&&i.classList.remove(l);let r=i.style.textAlign.trim().toLowerCase(),n=Lo[r];n&&i.classList.add(n);}},oe=e=>Ro(e).replace(/>\s+</g,"><").replace(/&nbsp;/g," "),Be=e=>{let t=e??"";if(!t.trim())return "";let o=ht(t);if(!o)return t;let{body:i}=o;return vo(i),To(i),yo(i,o),i.innerHTML},ze=e=>{if(!e.trim())return "";let t=ht(e);if(!t)return e;let{body:o}=t,i=Array.from(o.querySelectorAll("ul, ol"));for(let r of i)gt(r,0);return Io(o),o.innerHTML};var ve=e=>{let t="";return e.getEditorState().read(()=>{t=$generateHtmlFromNodes(e,null);}),ze(t)},Do=(e,t)=>{let o=Be(t);e.update(()=>{let i=$getRoot();if(i.clear(),!o.trim()){i.append($createParagraphNode());return}let n=new DOMParser().parseFromString(o,"text/html"),l=$generateNodesFromDOM(e,n);if(l.length===0){i.append($createParagraphNode());return}i.select(),$insertNodes(l);});},_e=({value:e,isSyncingRef:t})=>{let[o]=useLexicalComposerContext(),i=useRef(null);return useEffect(()=>{let r=e??"";if(i.current!==null&&oe(r)===oe(i.current))return;let n=ve(o);oe(n)!==oe(r)&&(t.current=true,Do(o,r),queueMicrotask(()=>{t.current=false;})),i.current=r;},[o,t,e]),null};var xt=["left","center","right","justify"];var Lt=["bold","italic","underline","strikethrough","code"];var xi={bold:"bold",italic:"italic",underline:"underline",strikethrough:"strikethrough",code:"code"},Li={left:jsx(AlignLeftIcon,{className:"size-4"}),center:jsx(AlignCenterIcon,{className:"size-4"}),right:jsx(AlignRightIcon,{className:"size-4"}),justify:jsx(AlignJustifyIcon,{className:"size-4"})},Ci={left:"Align left",center:"Align center",right:"Align right",justify:"Align justify"},ue={bold:jsx(BoldIcon,{className:"size-4"}),italic:jsx(ItalicIcon,{className:"size-4"}),underline:jsx(UnderlineIcon,{className:"size-4"}),strikethrough:jsx("span",{className:"text-xs font-semibold",children:"S"}),code:jsx("span",{className:"font-mono text-xs",children:"</>"})},de={bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",code:"Inline code"},Ri=e=>{let t=e.textFormat;return t===false?[]:Array.isArray(t)?Lt.filter(o=>t.includes(o)):["bold","italic","underline"]},vi=e=>{let t=e.alignment;return t===false?[]:Array.isArray(t)?xt.filter(o=>t.includes(o)):["left","center","right","justify"]},Ti=e=>{if(e.headings===false)return [];let t=Array.isArray(e.headings)?e.headings:["h1","h2","h3"];return [{value:"paragraph",label:"Normal"},...t.map(o=>({value:o,label:o.toUpperCase()}))]},fe=()=>jsx("div",{className:"mx-1 h-5 w-px bg-neutral-300"}),H=({label:e,onClick:t,icon:o,active:i=false,disabled:r=false})=>jsx("button",{type:"button","aria-label":e,title:e,disabled:r,onClick:t,className:a$2("inline-flex size-8 items-center justify-center rounded-md border border-transparent text-neutral-700 transition-colors","focus-visible:ring-primary-800 hover:bg-neutral-200 focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:outline-none","disabled:cursor-not-allowed disabled:opacity-40",i&&"border-neutral-300 bg-neutral-200 text-neutral-900"),children:o}),qe=({config:e,className:t})=>{let[o]=useLexicalComposerContext(),i=useId(),[r,n]=useState(false),[l,c]=useState(false),[s,m]=useState(false),[a,x]=useState(false),[h,u]=useState(false),[g,v]=useState(false),[M,L]=useState(false),[E,R]=useState("paragraph"),[I,f]=useState("left"),T=useMemo(()=>Ri(e),[e]),O=useMemo(()=>vi(e),[e]),C=useMemo(()=>Ti(e),[e]),K=useCallback(()=>{let d=$getSelection();if(!$isRangeSelection(d))return;m(d.hasFormat("bold")),x(d.hasFormat("italic")),u(d.hasFormat("underline")),v(d.hasFormat("strikethrough")),L(d.hasFormat("code"));let y=d.anchor.getNode(),N=y.getKey()==="root"?y:y.getTopLevelElementOrThrow();if($isListNode(N))R(N.getListType()==="number"?"ol":"ul");else {let W=$findMatchingParent(N,G=>$isListNode(G));$isListNode(W)?R(W.getListType()==="number"?"ol":"ul"):R($isHeadingNode(N)?N.getTag():N.getType());}let U=$isElementNode(N)?N.getFormatType():"";f(U==="center"||U==="right"||U==="justify"?U:"left");},[]);useEffect(()=>mergeRegister(o.registerUpdateListener(({editorState:d})=>{d.read(()=>{K();});}),o.registerCommand(SELECTION_CHANGE_COMMAND,()=>(K(),false),1),o.registerCommand(CAN_UNDO_COMMAND,d=>(n(d),false),1),o.registerCommand(CAN_REDO_COMMAND,d=>(c(d),false),1)),[o,K]);let _=d=>{o.dispatchCommand(FORMAT_TEXT_COMMAND,xi[d]);},re=d=>{o.update(()=>{let y=$getSelection();if($isRangeSelection(y)){if(d==="paragraph"){$setBlocksType(y,()=>$createParagraphNode());return}$setBlocksType(y,()=>$createHeadingNode(d));}});},$=d=>{if(E===(d==="bullet"?"ul":"ol")){o.dispatchCommand(REMOVE_LIST_COMMAND,void 0);return}o.dispatchCommand(d==="bullet"?INSERT_UNORDERED_LIST_COMMAND:INSERT_ORDERED_LIST_COMMAND,void 0);};return jsxs("div",{className:a$2("flex flex-wrap items-center gap-1 border-b border-neutral-300 bg-neutral-100 px-2 py-1.5",t),children:[e.undoRedo!==false&&jsxs(Fragment,{children:[jsx(H,{label:"Undo",onClick:()=>o.dispatchCommand(UNDO_COMMAND,void 0),disabled:!r,icon:jsx(UndoIcon,{className:"size-4"})}),jsx(H,{label:"Redo",onClick:()=>o.dispatchCommand(REDO_COMMAND,void 0),disabled:!l,icon:jsx(RedoIcon,{className:"size-4"})}),jsx(fe,{})]}),C.length>0&&jsxs(Fragment,{children:[jsx("label",{className:"sr-only",htmlFor:i,children:"Text style"}),jsx("select",{id:i,value:E.startsWith("h")?E:"paragraph",onChange:d=>re(d.target.value),className:a$2("h-8 rounded-md border border-neutral-300 bg-white px-2 text-xs font-medium text-neutral-800","focus-visible:ring-primary-800 focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:outline-none"),children:C.map(d=>jsx("option",{value:d.value,children:d.label},d.value))}),jsx(fe,{})]}),T.length>0&&jsxs(Fragment,{children:[T.includes("bold")&&jsx(H,{label:de.bold,onClick:()=>_("bold"),icon:ue.bold,active:s}),T.includes("italic")&&jsx(H,{label:de.italic,onClick:()=>_("italic"),icon:ue.italic,active:a}),T.includes("underline")&&jsx(H,{label:de.underline,onClick:()=>_("underline"),icon:ue.underline,active:h}),T.includes("strikethrough")&&jsx(H,{label:de.strikethrough,onClick:()=>_("strikethrough"),icon:ue.strikethrough,active:g}),T.includes("code")&&jsx(H,{label:de.code,onClick:()=>_("code"),icon:ue.code,active:M}),jsx(fe,{})]}),e.lists!==false&&jsxs(Fragment,{children:[jsx(H,{label:"Bulleted list",onClick:()=>$("bullet"),icon:jsx(ListIcon,{className:"size-4"}),active:E==="ul"}),jsx(H,{label:"Numbered list",onClick:()=>$("number"),icon:jsx(ListOrderedIcon,{className:"size-4"}),active:E==="ol"}),jsx(fe,{})]}),e.indent!==false&&jsxs(Fragment,{children:[jsx(H,{label:"Decrease indent",onClick:()=>o.dispatchCommand(OUTDENT_CONTENT_COMMAND,void 0),icon:jsx(IndentDecreaseIcon,{className:"size-4"})}),jsx(H,{label:"Increase indent",onClick:()=>o.dispatchCommand(INDENT_CONTENT_COMMAND,void 0),icon:jsx(IndentIncreaseIcon,{className:"size-4"})}),jsx(fe,{})]}),O.length>0&&jsx(Fragment,{children:O.map(d=>jsx(H,{label:Ci[d],onClick:()=>o.dispatchCommand(FORMAT_ELEMENT_COMMAND,d),icon:Li[d],active:I===d},d))})]})};var Tt=e=>{if(e!==void 0)return typeof e=="number"?`${e}px`:e},Bi=forwardRef(({value:e,onChange:t,onBlur:o,onError:i,placeholder:r="Write your content...",readOnly:n=false,showToolbar:l=true,toolbarConfig:c=He,className:s,editorClassName:m,toolbarClassName:a,autoFocus:x=false,minHeight:h=160,maxHeight:u,error:g=false,errorMessage:v,editorRef:M},L)=>{let E=useRef(false),R=useMemo(()=>({namespace:"SodtrackRichTextEditor",theme:Pe,onError:(f,T)=>{if(i){i(f,T);return}console.error("RichTextEditor error",f);},nodes:[HeadingNode,ListNode,ListItemNode]}),[i]),I={minHeight:Tt(h),maxHeight:Tt(u),overflowY:u?"auto":void 0};return jsx(LexicalComposer,{initialConfig:R,children:jsxs("div",{className:"w-full",children:[jsxs("div",{ref:L,className:a$2("group flex w-full flex-col overflow-hidden rounded-lg border bg-white transition-colors","focus-within:ring-primary-800 focus-within:ring-2 focus-within:ring-offset-0",g?"border-error-500 focus-within:border-error-500 focus-within:ring-error-500":"border-neutral-500",n&&"border-neutral-300 bg-neutral-50 focus-within:ring-0",s),"data-error":g,"data-readonly":n,children:[l&&!n&&jsx(qe,{config:c,className:a}),jsx(RichTextPlugin,{contentEditable:jsx(ContentEditable,{className:a$2("relative w-full px-4 py-3 text-sm leading-[142%] text-neutral-900 outline-none","[&_h1]:mt-2 [&_h1]:mb-2 [&_h2]:mt-2 [&_h2]:mb-2 [&_h3]:mt-2 [&_h3]:mb-2","[&_ol]:my-2 [&_ul]:my-2 [&_li]:my-1","[&_a]:text-primary-700 [&_a]:underline",n&&"cursor-default",m),style:I,onBlur:o,"aria-invalid":g}),placeholder:n?null:jsx("div",{className:"pointer-events-none absolute top-3 left-4 text-sm text-neutral-500",children:r}),ErrorBoundary:LexicalErrorBoundary}),jsx(HistoryPlugin,{}),jsx(ListPlugin,{}),jsx(ke,{readOnly:n}),jsx(_e,{value:e,isSyncingRef:E}),x&&!n&&jsx(AutoFocusPlugin,{}),M&&jsx(Fe,{editorRef:M}),jsx(OnChangePlugin,{ignoreSelectionChange:true,onChange:(f,T)=>{!t||E.current||t(ve(T),f);}})]}),g&&v&&jsx("p",{className:"mt-1 text-xs leading-[133%] text-error-500",children:v})]})})});Bi.displayName="RichTextEditor";var zi=({children:e,hasDescription:t=false,disabled:o=false,hasDivider:i=false,className:r,isSelected:n,onClick:l,...c})=>jsxs(Fragment,{children:[jsx("div",{className:a$2("flex flex-row px-3 py-4 text-neutral-900 transition-colors",t?"py-3":"py-3.5",o?"cursor-not-allowed text-neutral-400":"hover:bg-primary-100 focus:bg-primary-200",n&&"bg-primary-200",r),onClick:s=>{o||l?.(s);},...c,children:e}),i&&jsx(a$1,{})]}),B=zi;var Je=({children:e,title:t,titleLines:o,description:i="",descriptionLines:r,startIcon:n,endIcon:l,hasDivider:c=false,disabled:s=false,isSelected:m=false,className:a,...x})=>jsxs(B,{hasDescription:!!i,disabled:s,hasDivider:c,className:a,isSelected:m,...x,children:[n&&ye.cloneElement(n,{className:"shrink-0 mr-2 h-4.5 w-4.5"}),jsx(j,{title:t,titleLines:o,description:i,descriptionLines:r,disabled:s}),l&&ye.cloneElement(l,{className:"min-h-4.5 min-w-4.5 self-center ml-4"})]});export{ln as a,Je as b,xn as c,nt as d,Pr as e,$r as f,Jr as g,Pe as h,He as i,oe as j,Be as k,ze as l,Bi as m};
@@ -0,0 +1 @@
1
+ import {a as a$1}from'./chunk-LU2N5UJD.js';import {a as a$2}from'./chunk-UIZFLYFP.js';import {c}from'./chunk-55Z77FLU.js';import {h}from'./chunk-QNQELNVU.js';import {a}from'./chunk-OBZIYJO7.js';import {createContext,forwardRef,useMemo,useCallback,useContext}from'react';import {Collapsible}from'@ark-ui/react/collapsible';import {jsxs,jsx}from'react/jsx-runtime';var N=createContext(null),L=()=>{let t=useContext(N);if(!t)throw new Error("TrackerItem components must be used within TrackerItem");return t},M=({state:t,children:r})=>jsxs("div",{className:"relative",children:[jsx("div",{className:a("absolute top-1/2 z-10 h-[70%] w-0.5 -translate-y-1/2 rounded-sm",t==="active"&&"bg-primary-400",t==="success"&&"bg-success-500",t==="wait"&&"bg-neutral-400")}),r]}),D=forwardRef(({label:t,badgeStatus:r,details:a$3,className:s,...i},l)=>{let{state:n,stepNumber:p,trigger:d}=L();return jsxs("div",{ref:l,className:a("flex min-h-10 items-start gap-3 py-2 pr-1 pl-3",s),...i,children:[jsxs("div",{className:a("flex flex-1 gap-2",!r&&(!a$3||a$3.length===0)&&"self-center"),children:[jsx(a$1,{state:n,stepNumber:p}),jsxs("div",{className:"mt-0.5 flex min-w-0 flex-1 flex-col gap-1",children:[jsx("span",{className:a("font-jakarta text-xs leading-snug font-medium",n==="wait"?"text-neutral-500":"text-neutral-900"),children:t}),r&&r.visible!==false&&(()=>{let{visible:u,...m}=r;return jsx(a$2,{...m})})(),a$3&&jsx("div",{className:"text-2xs flex flex-col gap-1.5 text-neutral-700",children:a$3.map(({Icon:u,text:m},I)=>jsxs("div",{className:"flex items-center gap-1.5",children:[jsx(u,{className:"size-3 shrink-0"}),jsx("span",{className:"font-inter",children:m})]},I))})]})]}),d]})});D.displayName="TrackerItemHeader";var E=forwardRef(({children:t,className:r,...a$1},s)=>jsx(Collapsible.Content,{className:"data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up overflow-hidden",children:jsx("div",{ref:s,className:a("border-t border-neutral-300 px-3 py-2",r),...a$1,children:t})}));E.displayName="TrackerItemExpandableContent";var w=forwardRef(({buttons:t=[],className:r,...a$1},s)=>jsx("div",{ref:s,className:a("flex justify-end gap-2 border-t border-neutral-300 px-3 py-2",r),...a$1,children:t.map(({visible:i=true,...l},n)=>i?jsx(c,{className:"w-1/3",...l,size:"sm"},n):null)}));w.displayName="TrackerItemFooter";var x="overflow-hidden rounded-sm border border-neutral-300 bg-neutral-50",S=forwardRef(({state:t,stepNumber:r,expandable:a$1=false,defaultExpanded:s,onExpandedChange:i,className:l,children:n,...p},d)=>{let u=a$1?jsx(Collapsible.Trigger,{asChild:true,children:jsx("button",{className:"mt-0.5 shrink-0 p-0.5",children:jsx(h,{className:"size-4.5 text-neutral-900 transition-transform duration-200 group-data-[state=open]/tracker-item:rotate-90"})})}):null,m=useMemo(()=>({state:t,stepNumber:r,trigger:u}),[t,r,a$1]),I=useCallback(C=>{i?.(C.open);},[i]);return jsx(N.Provider,{value:m,children:jsx(M,{state:t,children:a$1?jsx(Collapsible.Root,{ref:d,defaultOpen:s??false,onOpenChange:I,className:a("group/tracker-item",x,l),...p,children:n}):jsx("div",{ref:d,className:a(x,l),...p,children:n})})})});S.displayName="TrackerItem";export{L as a,D as b,E as c,w as d,S as e};
@@ -1 +1 @@
1
- import {e,i,f,a,b,c,g,h,d,j}from'./chunk-UYLC2YR2.js';import {b as b$1}from'./chunk-YZ6RG6HH.js';import {a as a$1}from'./chunk-CM6ALMTT.js';import {e as e$1}from'./chunk-QNQELNVU.js';import {a as a$3}from'./chunk-KTD2GEB6.js';import {a as a$2}from'./chunk-OBZIYJO7.js';import {memo,useMemo,useState,useCallback,useRef,useEffect}from'react';import {flexRender,useReactTable,getCoreRowModel}from'@tanstack/react-table';import {jsx,jsxs}from'react/jsx-runtime';var je=l=>({id:"__select__",size:54,enableResizing:false,header:({table:a})=>{let u=a.getRowModel().rows.some(r=>r.getCanSelect()),s=a.getIsAllPageRowsSelected()?true:a.getIsSomePageRowsSelected()?"indeterminate":false;return jsx(b$1,{checked:s,disabled:!u,className:"ml-1",onCheckedChange:r=>a.toggleAllPageRowsSelected(r===true)})},cell:({row:a})=>{let u=a.getCanSelect(),s=u?a.getIsSelected():typeof l.setDisabledRowState=="function"?l.setDisabledRowState(a.original):l.setDisabledRowState??false,r=jsx(b$1,{checked:s,onCheckedChange:w=>a.toggleSelected(w===true),disabled:!u}),c=l.rowSelectionTooltip?.content(a.original);return c?jsx(a$1,{className:"w-fit",content:c,positioning:l.rowSelectionTooltip?.positioning??{placement:"right"},children:r}):r},enableSorting:false}),B=["w-3/4","w-1/2","w-2/3","w-5/6","w-3/5"],ye=({columns:l,rows:a$1,hasSelection:u,hasPagination:s,className:r,...c$1})=>jsxs(a,{className:r,...c$1,children:[jsxs(b,{children:[jsx(c,{children:jsxs(g,{children:[u&&jsx(h,{className:"w-13.5",children:jsx(a$3,{className:"bg-primary-300 m-0.5 ml-1.5 size-4.5 rounded-sm"})}),Array.from({length:l},(w,f)=>jsx(h,{children:jsx(a$3,{className:"bg-primary-300 h-3 w-16"})},f))]})}),jsx(d,{className:"[&>tr:not(:last-child)>td]:shadow-[inset_0_-1px_0_0_var(--color-primary-200)]",children:Array.from({length:a$1},(w,f)=>jsxs(e,{children:[u&&jsx(i,{className:"align-middle",children:jsx(a$3,{className:"m-0.5 size-4.5 rounded-sm"})}),Array.from({length:l},(x,z)=>jsx(i,{children:jsx(a$3,{className:a$2("h-4",B[(f+z)%B.length])})},z))]},f))})]}),s&&jsxs("div",{className:"border-t-primary-200 grid min-h-12 grid-cols-3 items-center gap-6 border-t px-4.5",children:[jsx(a$3,{className:"h-3.5 w-20"}),jsxs("div",{className:"flex items-center justify-center gap-2",children:[jsx(a$3,{className:"size-8 rounded-lg"}),jsx(a$3,{className:"size-8 rounded-lg"})]}),jsx("div",{className:"flex justify-end",children:jsx(a$3,{className:"h-3.5 w-28"})})]})]});ye.displayName="DataTableFullSkeleton";var we=memo(({row:l,isSelected:a,resizable:u})=>jsx(e,{"data-state":a&&"selected",children:l.getVisibleCells().map(s=>jsx(i,{style:u?{minWidth:`calc(var(--col-${s.column.id}-size) * 1px)`,maxWidth:`calc(var(--col-${s.column.id}-size) * 1px)`}:void 0,children:flexRender(s.column.columnDef.cell,s.getContext())},s.id))}),(l,a)=>l.isSelected===a.isSelected&&l.row.original===a.row.original&&l.resizable===a.resizable);we.displayName="DataTableRow";var De="dt-col-ratios-",Be=l=>{try{let a=localStorage.getItem(`${De}${l}`);return a?JSON.parse(a):{}}catch{return {}}},Fe=(l,a)=>{try{localStorage.setItem(`${De}${l}`,JSON.stringify(a));}catch{}},ze=(l,a,u)=>{let s={},r=a,c=[];for(let i of l)i.canResize?c.push(i):(s[i.id]=i.defaultSize,r-=i.defaultSize);if(c.length===0||r<=0)return s;let w=new Set(c.map(i=>i.id)),f={};for(let[i,m]of Object.entries(u))w.has(i)&&(f[i]=m);let x=c.filter(i=>!(i.id in f)),z={};if(Object.keys(f).length===0){let i=c.reduce((m,D)=>m+D.defaultSize,0);for(let m of c)z[m.id]=m.defaultSize/i;}else if(x.length===0){let i=Object.values(f).reduce((m,D)=>m+D,0);for(let m of c)z[m.id]=f[m.id]/i;}else {let i=c.reduce((b,y)=>b+y.defaultSize,0),D=x.reduce((b,y)=>b+y.defaultSize,0)/i,P=Object.values(f).reduce((b,y)=>b+y,0),$=(1-D)/P;for(let b of c)b.id in f?z[b.id]=f[b.id]*$:z[b.id]=b.defaultSize/i;}for(let i of c)s[i.id]=Math.max(Math.round(z[i.id]*r),i.defaultSize);let I=c.reduce((i,m)=>i+s[m.id],0)-r;if(I!==0&&c.length>0){let i=c[c.length-1];s[i.id]=Math.max(s[i.id]-I,i.defaultSize);}return s},he=(l,a)=>{let u=0;for(let r of a)u+=l[r]??0;if(u===0)return {};let s={};for(let r of a)l[r]!=null&&(s[r]=l[r]/u);return s};function gt({columns:l,data:a$4,rowsCount:u,pagination:s,onPaginationChange:r,noResults:c$1,onNextPageClick:w,onPreviousPageClick:f$1,disableNextPage:x,disablePreviousPage:z,className:F,onRowsPerPageChange:I,columnOrder:i$1,columnVisibility:m,rowsPerPageOptions:D,enableRowSelection:P=false,rowSelection:$,onRowSelectionChange:b$1,getRowId:y,rowSelectionTooltip:te,setDisabledRowState:oe,tableId:C,isLoading:v,isInitialLoading:ne,skeletonRowCount:Pe,skeletonColumns:ke=6,...ae}){let J=typeof P=="function"||P===true,Ne=useMemo(()=>J?[je({rowSelectionTooltip:te,setDisabledRowState:oe}),...l]:l,[J,l,te,oe]),[E,xe]=useState(null),ve=useCallback(e=>xe(e),[]),_=useRef({}),K=useRef(null),[L,U]=useState({}),_e=e=>{U(n=>{let o=typeof e=="function"?e(n):e,g=K.current;if(!g)return o;let S=g.getState().columnSizingInfo.isResizingColumn;if(!S)return o;let p=g.getVisibleLeafColumns(),h=p.findIndex(N=>N.id===S);if(h===-1)return o;let k=null;for(let N=h+1;N<p.length;N++)if(p[N].getCanResize()){k=p[N];break}if(!k)return o;let A=p[h].columnDef.size??150,X=n[S]??A,Me=o[S]??X,re=Math.max(Me,A),ce=re-X;if(ce===0)return {...o,[S]:re};let ue=k.id,Ie=k.columnDef.size??150,de=n[ue]??k.columnDef.size??150,me=Math.max(de-ce,Ie),$e=de-me,Ee=X+$e;return {...o,[S]:Ee,[ue]:me}});},d$1=useReactTable({data:a$4,columns:Ne,rowCount:u,state:{pagination:s,columnOrder:i$1,columnVisibility:m,...$!==void 0&&{rowSelection:$},...C&&{columnSizing:L}},onPaginationChange:r,onRowSelectionChange:b$1,...C&&{columnResizeMode:"onChange",onColumnSizingChange:_e,defaultColumn:{minSize:20}},manualPagination:true,getCoreRowModel:getCoreRowModel(),enableRowSelection:typeof P=="function"?e=>P(e.original):P,getRowId:y?(e,n)=>y(e):void 0});K.current=d$1;let Oe=d$1.getVisibleLeafColumns().map(e=>e.id).join(","),He=()=>d$1.getVisibleLeafColumns().map(e=>({id:e.id,defaultSize:e.columnDef.size??150,canResize:e.getCanResize()})),ie=()=>new Set(d$1.getVisibleLeafColumns().filter(e=>e.getCanResize()).map(e=>e.id));useEffect(()=>{if(!C||!E)return;(o=>{let g=Object.keys(_.current).length>0?_.current:Be(C),S=He(),p=ze(S,o,g);_.current=he(p,ie()),U(p);})(E.clientWidth);let n=new ResizeObserver(([o])=>{if(!o)return;let g=K.current;if(!g||g.getState().columnSizingInfo.isResizingColumn)return;let S=g.getVisibleLeafColumns().map(h=>({id:h.id,defaultSize:h.columnDef.size??150,canResize:h.getCanResize()})),p=ze(S,o.contentRect.width,_.current);U(p);});return n.observe(E),()=>n.disconnect()},[C,Oe,E]);let O=useMemo(()=>{if(!C||Object.keys(L).length===0)return;let e=d$1.getFlatHeaders(),n={};for(let o of e)n[`--header-${o.id}-size`]=o.getSize(),n[`--col-${o.column.id}-size`]=o.column.getSize();return n},[C,d$1.getState().columnSizingInfo,d$1.getState().columnSizing]),le=d$1.getState().columnSizingInfo.isResizingColumn;useEffect(()=>{if(C&&!le&&Object.keys(L).length>0){let e=ie(),n=he(L,e);_.current=n,Fe(C,n);}},[C,le]);let se=Pe??s?.pageSize??10;return ne?jsx(ye,{columns:ke,rows:se,hasSelection:J,hasPagination:!!s,className:F,...ae}):!v&&!ne&&!d$1.getRowModel().rows?.length?jsx(f,{...c$1}):jsxs(a,{ref:ve,className:F,...ae,children:[jsxs(b,{style:O?{...O,width:d$1.getTotalSize()}:void 0,children:[!O&&jsx("colgroup",{children:(()=>{let e=d$1.getHeaderGroups()[0].headers,n=e.reduce((o,g)=>o+g.getSize(),0);return e.map(o=>jsx("col",{span:1,style:{width:`${o.column.getSize()/n*100}%`,minWidth:`${o.column.getSize()}px`}},o.id))})()}),jsx(c,{children:d$1.getHeaderGroups().map(e=>jsx(g,{children:e.headers.map(n=>{if(n.isPlaceholder)return jsx(h,{style:O?{minWidth:`calc(var(--header-${n.id}-size) * 1px)`,maxWidth:`calc(var(--header-${n.id}-size) * 1px)`}:void 0},n.id);let o=n.column.columnDef,g=flexRender(o.header,n.getContext()),S=n.column.id!=="__select__"&&o.headerTooltip!==false,p=o.headerTooltip&&typeof o.headerTooltip!="boolean"?o.headerTooltip:g,h$1=jsx("span",{className:"font-inter line-clamp-1 text-xs leading-[133%] text-neutral-900 uppercase",children:g});return jsxs(h,{className:C?"group/resize relative overflow-clip":void 0,style:O?{minWidth:`calc(var(--header-${n.id}-size) * 1px)`,maxWidth:`calc(var(--header-${n.id}-size) * 1px)`}:void 0,children:[jsxs("div",{className:"flex items-center",children:[S?jsx(a$1,{content:p,contentClassName:"font-normal normal-case",children:h$1}):h$1,o.headerInfoTooltip&&jsx(a$1,{content:o.headerInfoTooltip,contentClassName:"font-normal normal-case",children:jsx(e$1,{className:"ml-1 w-[0.875rem] shrink-0"})})]}),C&&n.column.getCanResize()&&e.headers.some((k,A)=>A>e.headers.indexOf(n)&&k.column.getCanResize())&&jsx("div",{onMouseDown:n.getResizeHandler(),onTouchStart:n.getResizeHandler(),className:a$2("absolute right-0 top-0 h-full w-1 cursor-col-resize select-none touch-none","bg-primary-400 opacity-0 transition-opacity group-hover/resize:opacity-100",n.column.getIsResizing()&&"bg-primary-600 opacity-100")})]},n.id)})},e.id))}),jsx(d,{className:"[&>tr:not(:last-child)>td]:shadow-[inset_0_-1px_0_0_var(--color-primary-200)]",children:v?Array.from({length:se},(e$1,n)=>jsx(e,{children:d$1.getVisibleLeafColumns().map((o,g)=>{let S=o.columnDef;return jsx(i,{className:o.id==="__select__"?"align-middle":void 0,children:o.id==="__select__"?jsx(a$3,{className:"m-0.5 size-4.5 rounded-sm"}):S.skeleton!=null?S.skeleton:jsx(a$3,{className:a$2("h-4",B[(n+g)%B.length])})},o.id)})},n)):d$1.getRowModel().rows.map(e=>jsx(we,{row:e,isSelected:e.getIsSelected(),resizable:!!C},e.id))})]}),s&&r&&(a$4.length>0||v)&&jsx(j,{rowsPerPageOptions:D,rowsCount:u,pagination:s,onPageSizeChange:e=>{d$1.setPagination({pageIndex:0,pageSize:e}),I?.(e);},onPreviousPageClick:f$1,onNextPageClick:w,isDisableNextPageButton:v||x||!!u&&!d$1.getCanNextPage(),isDisablePreviousPageButton:v||z||!!u&&!d$1.getCanPreviousPage(),onPageChange:e=>{d$1.setPageIndex(e-1);}})]})}export{gt as a};
1
+ import {e,i,f,a,b,c,g,h,d,j}from'./chunk-UYLC2YR2.js';import {b as b$1}from'./chunk-YZ6RG6HH.js';import {a as a$1}from'./chunk-CM6ALMTT.js';import {a as a$3}from'./chunk-KTD2GEB6.js';import {e as e$1}from'./chunk-QNQELNVU.js';import {a as a$2}from'./chunk-OBZIYJO7.js';import {memo,useMemo,useState,useCallback,useRef,useEffect}from'react';import {flexRender,useReactTable,getCoreRowModel}from'@tanstack/react-table';import {jsx,jsxs}from'react/jsx-runtime';var je=l=>({id:"__select__",size:54,enableResizing:false,header:({table:a})=>{let u=a.getRowModel().rows.some(r=>r.getCanSelect()),s=a.getIsAllPageRowsSelected()?true:a.getIsSomePageRowsSelected()?"indeterminate":false;return jsx(b$1,{checked:s,disabled:!u,className:"ml-1",onCheckedChange:r=>a.toggleAllPageRowsSelected(r===true)})},cell:({row:a})=>{let u=a.getCanSelect(),s=u?a.getIsSelected():typeof l.setDisabledRowState=="function"?l.setDisabledRowState(a.original):l.setDisabledRowState??false,r=jsx(b$1,{checked:s,onCheckedChange:w=>a.toggleSelected(w===true),disabled:!u}),c=l.rowSelectionTooltip?.content(a.original);return c?jsx(a$1,{className:"w-fit",content:c,positioning:l.rowSelectionTooltip?.positioning??{placement:"right"},children:r}):r},enableSorting:false}),B=["w-3/4","w-1/2","w-2/3","w-5/6","w-3/5"],ye=({columns:l,rows:a$1,hasSelection:u,hasPagination:s,className:r,...c$1})=>jsxs(a,{className:r,...c$1,children:[jsxs(b,{children:[jsx(c,{children:jsxs(g,{children:[u&&jsx(h,{className:"w-13.5",children:jsx(a$3,{className:"bg-primary-300 m-0.5 ml-1.5 size-4.5 rounded-sm"})}),Array.from({length:l},(w,f)=>jsx(h,{children:jsx(a$3,{className:"bg-primary-300 h-3 w-16"})},f))]})}),jsx(d,{className:"[&>tr:not(:last-child)>td]:shadow-[inset_0_-1px_0_0_var(--color-primary-200)]",children:Array.from({length:a$1},(w,f)=>jsxs(e,{children:[u&&jsx(i,{className:"align-middle",children:jsx(a$3,{className:"m-0.5 size-4.5 rounded-sm"})}),Array.from({length:l},(x,z)=>jsx(i,{children:jsx(a$3,{className:a$2("h-4",B[(f+z)%B.length])})},z))]},f))})]}),s&&jsxs("div",{className:"border-t-primary-200 grid min-h-12 grid-cols-3 items-center gap-6 border-t px-4.5",children:[jsx(a$3,{className:"h-3.5 w-20"}),jsxs("div",{className:"flex items-center justify-center gap-2",children:[jsx(a$3,{className:"size-8 rounded-lg"}),jsx(a$3,{className:"size-8 rounded-lg"})]}),jsx("div",{className:"flex justify-end",children:jsx(a$3,{className:"h-3.5 w-28"})})]})]});ye.displayName="DataTableFullSkeleton";var we=memo(({row:l,isSelected:a,resizable:u})=>jsx(e,{"data-state":a&&"selected",children:l.getVisibleCells().map(s=>jsx(i,{style:u?{minWidth:`calc(var(--col-${s.column.id}-size) * 1px)`,maxWidth:`calc(var(--col-${s.column.id}-size) * 1px)`}:void 0,children:flexRender(s.column.columnDef.cell,s.getContext())},s.id))}),(l,a)=>l.isSelected===a.isSelected&&l.row.original===a.row.original&&l.resizable===a.resizable);we.displayName="DataTableRow";var De="dt-col-ratios-",Be=l=>{try{let a=localStorage.getItem(`${De}${l}`);return a?JSON.parse(a):{}}catch{return {}}},Fe=(l,a)=>{try{localStorage.setItem(`${De}${l}`,JSON.stringify(a));}catch{}},ze=(l,a,u)=>{let s={},r=a,c=[];for(let i of l)i.canResize?c.push(i):(s[i.id]=i.defaultSize,r-=i.defaultSize);if(c.length===0||r<=0)return s;let w=new Set(c.map(i=>i.id)),f={};for(let[i,m]of Object.entries(u))w.has(i)&&(f[i]=m);let x=c.filter(i=>!(i.id in f)),z={};if(Object.keys(f).length===0){let i=c.reduce((m,D)=>m+D.defaultSize,0);for(let m of c)z[m.id]=m.defaultSize/i;}else if(x.length===0){let i=Object.values(f).reduce((m,D)=>m+D,0);for(let m of c)z[m.id]=f[m.id]/i;}else {let i=c.reduce((b,y)=>b+y.defaultSize,0),D=x.reduce((b,y)=>b+y.defaultSize,0)/i,P=Object.values(f).reduce((b,y)=>b+y,0),$=(1-D)/P;for(let b of c)b.id in f?z[b.id]=f[b.id]*$:z[b.id]=b.defaultSize/i;}for(let i of c)s[i.id]=Math.max(Math.round(z[i.id]*r),i.defaultSize);let I=c.reduce((i,m)=>i+s[m.id],0)-r;if(I!==0&&c.length>0){let i=c[c.length-1];s[i.id]=Math.max(s[i.id]-I,i.defaultSize);}return s},he=(l,a)=>{let u=0;for(let r of a)u+=l[r]??0;if(u===0)return {};let s={};for(let r of a)l[r]!=null&&(s[r]=l[r]/u);return s};function gt({columns:l,data:a$4,rowsCount:u,pagination:s,onPaginationChange:r,noResults:c$1,onNextPageClick:w,onPreviousPageClick:f$1,disableNextPage:x,disablePreviousPage:z,className:F,onRowsPerPageChange:I,columnOrder:i$1,columnVisibility:m,rowsPerPageOptions:D,enableRowSelection:P=false,rowSelection:$,onRowSelectionChange:b$1,getRowId:y,rowSelectionTooltip:te,setDisabledRowState:oe,tableId:C,isLoading:v,isInitialLoading:ne,skeletonRowCount:Pe,skeletonColumns:ke=6,...ae}){let J=typeof P=="function"||P===true,Ne=useMemo(()=>J?[je({rowSelectionTooltip:te,setDisabledRowState:oe}),...l]:l,[J,l,te,oe]),[E,xe]=useState(null),ve=useCallback(e=>xe(e),[]),_=useRef({}),K=useRef(null),[L,U]=useState({}),_e=e=>{U(n=>{let o=typeof e=="function"?e(n):e,g=K.current;if(!g)return o;let S=g.getState().columnSizingInfo.isResizingColumn;if(!S)return o;let p=g.getVisibleLeafColumns(),h=p.findIndex(N=>N.id===S);if(h===-1)return o;let k=null;for(let N=h+1;N<p.length;N++)if(p[N].getCanResize()){k=p[N];break}if(!k)return o;let A=p[h].columnDef.size??150,X=n[S]??A,Me=o[S]??X,re=Math.max(Me,A),ce=re-X;if(ce===0)return {...o,[S]:re};let ue=k.id,Ie=k.columnDef.size??150,de=n[ue]??k.columnDef.size??150,me=Math.max(de-ce,Ie),$e=de-me,Ee=X+$e;return {...o,[S]:Ee,[ue]:me}});},d$1=useReactTable({data:a$4,columns:Ne,rowCount:u,state:{pagination:s,columnOrder:i$1,columnVisibility:m,...$!==void 0&&{rowSelection:$},...C&&{columnSizing:L}},onPaginationChange:r,onRowSelectionChange:b$1,...C&&{columnResizeMode:"onChange",onColumnSizingChange:_e,defaultColumn:{minSize:20}},manualPagination:true,getCoreRowModel:getCoreRowModel(),enableRowSelection:typeof P=="function"?e=>P(e.original):P,getRowId:y?(e,n)=>y(e):void 0});K.current=d$1;let Oe=d$1.getVisibleLeafColumns().map(e=>e.id).join(","),He=()=>d$1.getVisibleLeafColumns().map(e=>({id:e.id,defaultSize:e.columnDef.size??150,canResize:e.getCanResize()})),ie=()=>new Set(d$1.getVisibleLeafColumns().filter(e=>e.getCanResize()).map(e=>e.id));useEffect(()=>{if(!C||!E)return;(o=>{let g=Object.keys(_.current).length>0?_.current:Be(C),S=He(),p=ze(S,o,g);_.current=he(p,ie()),U(p);})(E.clientWidth);let n=new ResizeObserver(([o])=>{if(!o)return;let g=K.current;if(!g||g.getState().columnSizingInfo.isResizingColumn)return;let S=g.getVisibleLeafColumns().map(h=>({id:h.id,defaultSize:h.columnDef.size??150,canResize:h.getCanResize()})),p=ze(S,o.contentRect.width,_.current);U(p);});return n.observe(E),()=>n.disconnect()},[C,Oe,E]);let O=useMemo(()=>{if(!C||Object.keys(L).length===0)return;let e=d$1.getFlatHeaders(),n={};for(let o of e)n[`--header-${o.id}-size`]=o.getSize(),n[`--col-${o.column.id}-size`]=o.column.getSize();return n},[C,d$1.getState().columnSizingInfo,d$1.getState().columnSizing]),le=d$1.getState().columnSizingInfo.isResizingColumn;useEffect(()=>{if(C&&!le&&Object.keys(L).length>0){let e=ie(),n=he(L,e);_.current=n,Fe(C,n);}},[C,le]);let se=Pe??s?.pageSize??10;return ne?jsx(ye,{columns:ke,rows:se,hasSelection:J,hasPagination:!!s,className:F,...ae}):!v&&!ne&&!d$1.getRowModel().rows?.length?jsx(f,{...c$1}):jsxs(a,{ref:ve,className:F,...ae,children:[jsxs(b,{style:O?{...O,width:d$1.getTotalSize()}:void 0,children:[!O&&jsx("colgroup",{children:(()=>{let e=d$1.getHeaderGroups()[0].headers,n=e.reduce((o,g)=>o+g.getSize(),0);return e.map(o=>jsx("col",{span:1,style:{width:`${o.column.getSize()/n*100}%`,minWidth:`${o.column.getSize()}px`}},o.id))})()}),jsx(c,{children:d$1.getHeaderGroups().map(e=>jsx(g,{children:e.headers.map(n=>{if(n.isPlaceholder)return jsx(h,{style:O?{minWidth:`calc(var(--header-${n.id}-size) * 1px)`,maxWidth:`calc(var(--header-${n.id}-size) * 1px)`}:void 0},n.id);let o=n.column.columnDef,g=flexRender(o.header,n.getContext()),S=n.column.id!=="__select__"&&o.headerTooltip!==false,p=o.headerTooltip&&typeof o.headerTooltip!="boolean"?o.headerTooltip:g,h$1=jsx("span",{className:"font-inter line-clamp-1 text-xs leading-[133%] text-neutral-900 uppercase",children:g});return jsxs(h,{className:C?"group/resize relative overflow-clip":void 0,style:O?{minWidth:`calc(var(--header-${n.id}-size) * 1px)`,maxWidth:`calc(var(--header-${n.id}-size) * 1px)`}:void 0,children:[jsxs("div",{className:"flex items-center",children:[S?jsx(a$1,{content:p,contentClassName:"font-normal normal-case",children:h$1}):h$1,o.headerInfoTooltip&&jsx(a$1,{content:o.headerInfoTooltip,contentClassName:"font-normal normal-case",children:jsx(e$1,{className:"ml-1 w-[0.875rem] shrink-0"})})]}),C&&n.column.getCanResize()&&e.headers.some((k,A)=>A>e.headers.indexOf(n)&&k.column.getCanResize())&&jsx("div",{onMouseDown:n.getResizeHandler(),onTouchStart:n.getResizeHandler(),className:a$2("absolute right-0 top-0 h-full w-1 cursor-col-resize select-none touch-none","bg-primary-400 opacity-0 transition-opacity group-hover/resize:opacity-100",n.column.getIsResizing()&&"bg-primary-600 opacity-100")})]},n.id)})},e.id))}),jsx(d,{className:"[&>tr:not(:last-child)>td]:shadow-[inset_0_-1px_0_0_var(--color-primary-200)]",children:v?Array.from({length:se},(e$1,n)=>jsx(e,{children:d$1.getVisibleLeafColumns().map((o,g)=>{let S=o.columnDef;return jsx(i,{className:o.id==="__select__"?"align-middle":void 0,children:o.id==="__select__"?jsx(a$3,{className:"m-0.5 size-4.5 rounded-sm"}):S.skeleton!=null?S.skeleton:jsx(a$3,{className:a$2("h-4",B[(n+g)%B.length])})},o.id)})},n)):d$1.getRowModel().rows.map(e=>jsx(we,{row:e,isSelected:e.getIsSelected(),resizable:!!C},e.id))})]}),s&&r&&(a$4.length>0||v)&&jsx(j,{rowsPerPageOptions:D,rowsCount:u,pagination:s,onPageSizeChange:e=>{d$1.setPagination({pageIndex:0,pageSize:e}),I?.(e);},onPreviousPageClick:f$1,onNextPageClick:w,isDisableNextPageButton:v||x||!!u&&!d$1.getCanNextPage(),isDisablePreviousPageButton:v||z||!!u&&!d$1.getCanPreviousPage(),onPageChange:e=>{d$1.setPageIndex(e-1);}})]})}export{gt as a};