@xjur-ui/react 4.0.4 → 4.2.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 (136) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/components/accordion/accordion-tab-header.js +1 -1
  3. package/dist/components/accordion/accordion-trigger.js +1 -1
  4. package/dist/components/accordion/index.js +1 -1
  5. package/dist/components/breadcrumb/breadcrumb-ellipsis.js +1 -1
  6. package/dist/components/breadcrumb/breadcrumb-separator.js +1 -1
  7. package/dist/components/breadcrumb/index.js +1 -1
  8. package/dist/components/carousel/carousel-action.js +1 -1
  9. package/dist/components/carousel/index.js +1 -1
  10. package/dist/components/chip/chip-close.js +1 -1
  11. package/dist/components/chip/chip-icon.js +1 -1
  12. package/dist/components/chip/index.js +1 -1
  13. package/dist/components/controls/calendar.js +1 -1
  14. package/dist/components/controls/checkbox.js +1 -1
  15. package/dist/components/controls/date-picker/date-picker-icon.js +1 -1
  16. package/dist/components/controls/date-picker/index.js +1 -1
  17. package/dist/components/controls/input/index.js +1 -1
  18. package/dist/components/controls/input/input-icon.js +1 -1
  19. package/dist/components/controls/input/input-numeric-stepper.js +1 -1
  20. package/dist/components/controls/rating.js +1 -1
  21. package/dist/components/controls/search-selector.js +1 -1
  22. package/dist/components/controls/select/index.js +1 -1
  23. package/dist/components/controls/select/select-icon.js +1 -1
  24. package/dist/components/controls/text-area/index.js +1 -1
  25. package/dist/components/controls/text-area/text-area-caption.js +1 -1
  26. package/dist/components/controls/text-area/text-area-content.js +1 -1
  27. package/dist/components/controls/text-area/text-area-editor.js +1 -1
  28. package/dist/components/controls/text-area/text-area-fullscreen-button.js +1 -1
  29. package/dist/components/controls/text-area/text-area-heading-button.js +1 -1
  30. package/dist/components/controls/text-area/text-area-root.js +1 -1
  31. package/dist/components/controls/text-area/text-area-toggle-button.js +1 -1
  32. package/dist/components/controls/text-area/text-area-toolbar.js +1 -1
  33. package/dist/components/custom/andamento-timeline/andamento-timeline.js +1 -1
  34. package/dist/components/custom/andamento-timeline/index.js +1 -1
  35. package/dist/components/custom/centro-custo/centro-custo-add-button.js +1 -1
  36. package/dist/components/custom/centro-custo/centro-custo-body.js +1 -1
  37. package/dist/components/custom/centro-custo/centro-custo-close-button.js +1 -1
  38. package/dist/components/custom/centro-custo/centro-custo-content.js +1 -1
  39. package/dist/components/custom/centro-custo/centro-custo-footer.js +1 -1
  40. package/dist/components/custom/centro-custo/centro-custo-header.js +1 -1
  41. package/dist/components/custom/centro-custo/centro-custo-trigger.js +1 -1
  42. package/dist/components/custom/centro-custo/centro-custo.js +1 -1
  43. package/dist/components/custom/centro-custo/index.js +1 -1
  44. package/dist/components/custom/empresa/empresa-add-button.js +1 -1
  45. package/dist/components/custom/empresa/empresa-body.js +1 -1
  46. package/dist/components/custom/empresa/empresa-close-button.js +1 -1
  47. package/dist/components/custom/empresa/empresa-content.js +1 -1
  48. package/dist/components/custom/empresa/empresa-footer.js +1 -1
  49. package/dist/components/custom/empresa/empresa-header.js +1 -1
  50. package/dist/components/custom/empresa/empresa-table.js +1 -1
  51. package/dist/components/custom/empresa/empresa-trigger.js +1 -1
  52. package/dist/components/custom/empresa/empresa.js +1 -1
  53. package/dist/components/custom/empresa/index.js +1 -1
  54. package/dist/components/custom/lista-nivelada/hierarchical-navigation.js +1 -1
  55. package/dist/components/custom/lista-nivelada/index.js +1 -1
  56. package/dist/components/custom/lista-nivelada/lista-nivelada-body.js +1 -1
  57. package/dist/components/custom/lista-nivelada/lista-nivelada-close-button.js +1 -1
  58. package/dist/components/custom/lista-nivelada/lista-nivelada-content.js +1 -1
  59. package/dist/components/custom/lista-nivelada/lista-nivelada-footer.js +1 -1
  60. package/dist/components/custom/lista-nivelada/lista-nivelada-header.js +1 -1
  61. package/dist/components/custom/lista-nivelada/lista-nivelada-trigger.js +1 -1
  62. package/dist/components/custom/lista-nivelada/lista-nivelada.js +1 -1
  63. package/dist/components/custom/lista-nivelada/navigation-button.js +1 -1
  64. package/dist/components/custom/lista-nivelada/navigation-grid.js +1 -1
  65. package/dist/components/custom/lista-nivelada/radio-selection.js +1 -1
  66. package/dist/components/custom/pessoa/index.js +1 -1
  67. package/dist/components/custom/pessoa/pessoa-add-button.js +1 -1
  68. package/dist/components/custom/pessoa/pessoa-body.js +1 -1
  69. package/dist/components/custom/pessoa/pessoa-close-button.js +1 -1
  70. package/dist/components/custom/pessoa/pessoa-content.js +1 -1
  71. package/dist/components/custom/pessoa/pessoa-footer.js +1 -1
  72. package/dist/components/custom/pessoa/pessoa-header.js +1 -1
  73. package/dist/components/custom/pessoa/pessoa-trigger.js +1 -1
  74. package/dist/components/custom/pessoa/pessoa.js +1 -1
  75. package/dist/components/dialog/delete-dialog.js +1 -1
  76. package/dist/components/dialog/dialog-content.js +1 -1
  77. package/dist/components/dialog/index.js +1 -1
  78. package/dist/components/full-calendar/calendar-add-event.js +1 -1
  79. package/dist/components/full-calendar/calendar-cell.js +1 -1
  80. package/dist/components/full-calendar/calendar-day-view.js +1 -1
  81. package/dist/components/full-calendar/calendar-month-view.js +1 -1
  82. package/dist/components/full-calendar/calendar-navigator.js +1 -1
  83. package/dist/components/full-calendar/calendar-toggle-view.js +1 -1
  84. package/dist/components/full-calendar/calendar-view-renderer.js +1 -1
  85. package/dist/components/full-calendar/calendar-week-view.js +1 -1
  86. package/dist/components/full-calendar/index.js +1 -1
  87. package/dist/components/icon/components/agenda.js +1 -1
  88. package/dist/components/icon/components/audiencia.d.ts +1 -0
  89. package/dist/components/icon/components/audiencia.js +1 -0
  90. package/dist/components/icon/components/compliance.js +1 -1
  91. package/dist/components/icon/components/consultivo.js +1 -1
  92. package/dist/components/icon/components/contencioso.js +1 -1
  93. package/dist/components/icon/components/contrato.js +1 -1
  94. package/dist/components/icon/components/custom-contrato.d.ts +1 -0
  95. package/dist/components/icon/components/custom-contrato.js +1 -0
  96. package/dist/components/icon/components/custom-icon.js +1 -1
  97. package/dist/components/icon/components/filial.d.ts +1 -0
  98. package/dist/components/icon/components/filial.js +1 -0
  99. package/dist/components/icon/components/ged.js +1 -1
  100. package/dist/components/icon/components/imobiliario.js +1 -1
  101. package/dist/components/icon/components/marcas-e-patentes.js +1 -1
  102. package/dist/components/icon/components/pericia.d.ts +1 -0
  103. package/dist/components/icon/components/pericia.js +1 -0
  104. package/dist/components/icon/components/procuracao.js +1 -1
  105. package/dist/components/icon/components/regulatorio.js +1 -1
  106. package/dist/components/icon/components/societario.d.ts +1 -0
  107. package/dist/components/icon/components/societario.js +1 -0
  108. package/dist/components/icon/components/xlearning.d.ts +1 -0
  109. package/dist/components/icon/components/xlearning.js +1 -0
  110. package/dist/components/icon/components/xpay.js +1 -1
  111. package/dist/components/icon/components/xsigner.js +1 -1
  112. package/dist/components/icon/index.js +1 -1
  113. package/dist/components/message/index.js +1 -1
  114. package/dist/components/message/message-close.js +1 -1
  115. package/dist/components/message/message-icon.js +1 -1
  116. package/dist/components/selection-bar/index.js +1 -1
  117. package/dist/components/selection-bar/selection-bar-close.js +1 -1
  118. package/dist/components/sheet/index.js +1 -1
  119. package/dist/components/sheet/sheet-close.js +1 -1
  120. package/dist/components/table/index.js +1 -1
  121. package/dist/components/table/table-row.js +1 -1
  122. package/dist/components/table/table-sort.js +1 -1
  123. package/dist/components/tag/index.js +1 -1
  124. package/dist/components/tag/tag-close.js +1 -1
  125. package/dist/components/tag/tag-icon.js +1 -1
  126. package/dist/components/timeline-card/index.js +1 -1
  127. package/dist/components/timeline-card/timeline-card.js +1 -1
  128. package/dist/components/toast/index.js +1 -1
  129. package/dist/components/toast/toast-component.js +1 -1
  130. package/dist/components/toast/toast.js +1 -1
  131. package/dist/components/upload/index.js +1 -1
  132. package/dist/components/upload/upload-icon.js +1 -1
  133. package/dist/index.css +1 -1
  134. package/dist/resources/icons.d.ts +2 -2
  135. package/dist/resources/icons.js +1 -1
  136. package/package.json +3 -3
@@ -1 +1 @@
1
- import{Slot as G}from"@radix-ui/react-slot";import{cva as q,cx as $}from"@xjur-ui/util";import{jsx as K}from"react/jsx-runtime";var J=q(["outline-none inline-flex items-center justify-center rounded-circle gap-small cursor-pointer disabled:opacity-38 disabled:pointer-events-none transition-colors"],{variants:{size:{md:"py-small_1x-alt px-medium text-size-body-md",sm:"py-small-1x px-small text-size-label-sm",icon_md:"p-small text-size-body-md h-large-4x w-large-4x",icon_sm:"p-small-1x text-size-label-sm h-large-2x w-large-2x"},variant:{primary:"",secondary:"",tertiary:"",destructive:"",outlined:"bg-layer-2-idle border border-border-layer-2 hover:bg-layer-2-hover active:bg-layer-2-pressed"},appearance:{solid:"",ghost:"bg-transparent"}},compoundVariants:[{variant:"primary",appearance:"solid",class:"bg-primary-idle text-neutral-label hover:bg-primary-hover active:bg-primary-pressed"},{variant:"primary",appearance:"ghost",class:"text-primary-idle hover:bg-primary-alt-idle active:bg-primary-alt-pressed"},{variant:"secondary",appearance:"solid",class:"bg-layer-1-hover text-neutral-dark hover:bg-layer-1-pressed active:bg-layer-1-active"},{variant:"secondary",appearance:"ghost",class:"hover:bg-layer-1-hover active:bg-layer-1-pressed"},{variant:"tertiary",appearance:"solid",class:"bg-layer-2-hover text-neutral-dark hover:bg-layer-2-pressed active:bg-layer-2-active"},{variant:"tertiary",appearance:"ghost",class:"hover:bg-layer-2-hover active:bg-layer-2-pressed"},{variant:"destructive",appearance:"solid",class:"bg-danger-idle text-neutral-label hover:bg-danger-hover active:bg-danger-pressed"},{variant:"destructive",appearance:"ghost",class:"text-danger-label-idle hover:bg-danger-alt-idle active:bg-danger-alt-pressed"}],defaultVariants:{size:"md",variant:"primary",appearance:"solid"}});function C({asChild:n,className:h,variant:s="primary",size:u="md",appearance:I="solid",...X}){return K(n?G:"button",{className:$(J({variant:s,appearance:I,size:u}),h),...X})}import"react";import*as Q from"@radix-ui/react-dialog";import{jsx as L1}from"react/jsx-runtime";import*as o1 from"@radix-ui/react-dialog";import{tv as S1}from"@xjur-ui/util";import*as U from"@radix-ui/react-dialog";import{jsx as M1}from"react/jsx-runtime";import*as Y from"@radix-ui/react-dialog";import{cx as x1}from"@xjur-ui/util";import{jsx as P1}from"react/jsx-runtime";import{jsx as j1,jsxs as R1}from"react/jsx-runtime";import*as B from"@radix-ui/react-dialog";import{jsx as r1}from"react/jsx-runtime";function g({...n}){return r1(B.Trigger,{"data-slot":"sheet-trigger",...n})}import{cx as F1}from"@xjur-ui/util";import*as i1 from"@radix-ui/react-dialog";import{jsx as W1}from"react/jsx-runtime";import{cx as G1}from"@xjur-ui/util";import{jsx as $1}from"react/jsx-runtime";import*as c1 from"@radix-ui/react-dialog";import{cx as p1}from"@xjur-ui/util";var Z=["agenda","contencioso","contrato","consultivo","xsigner","procuracao","xpay","imobiliario","marcasepatentes","ged","regulatorio","compliance"];import{jsx as t,jsxs as n1}from"react/jsx-runtime";function v(){return n1("svg",{fill:"none",height:"22",viewBox:"0 0 22 22",width:"22",xmlns:"http://www.w3.org/2000/svg",children:[t("path",{d:"M6.58375 12.5205H5.25168C4.7443 12.5205 4.33301 12.1092 4.33301 11.6018V10.2697C4.33301 9.76236 4.7443 9.35107 5.25168 9.35107H6.58375C7.09113 9.35107 7.50242 9.76236 7.50242 10.2697V11.6018C7.50246 12.1092 7.09113 12.5205 6.58375 12.5205Z",fill:"#E87D30"}),t("path",{d:"M11.4196 12.5205H10.0876C9.58023 12.5205 9.16895 12.1092 9.16895 11.6018V10.2697C9.16895 9.76236 9.58023 9.35107 10.0876 9.35107H11.4197C11.9271 9.35107 12.3384 9.76236 12.3384 10.2697V11.6018C12.3384 12.1092 11.927 12.5205 11.4196 12.5205Z",fill:"#E87D30"}),t("path",{d:"M16.2566 12.5205H14.9245C14.4171 12.5205 14.0059 12.1092 14.0059 11.6018V10.2697C14.0059 9.76236 14.4171 9.35107 14.9245 9.35107H16.2566C16.764 9.35107 17.1753 9.76236 17.1753 10.2697V11.6018C17.1753 12.1092 16.7639 12.5205 16.2566 12.5205Z",fill:"#E87D30"}),t("path",{d:"M6.58375 17.3564H5.25168C4.7443 17.3564 4.33301 16.9451 4.33301 16.4378V15.1057C4.33301 14.5983 4.7443 14.187 5.25168 14.187H6.58375C7.09113 14.187 7.50242 14.5983 7.50242 15.1057V16.4378C7.50246 16.9451 7.09113 17.3564 6.58375 17.3564Z",fill:"#E87D30"}),t("path",{d:"M16.2566 17.3564H14.9245C14.4171 17.3564 14.0059 16.9451 14.0059 16.4378V15.1057C14.0059 14.5983 14.4171 14.187 14.9245 14.187H16.2566C16.764 14.187 17.1753 14.5983 17.1753 15.1057V16.4378C17.1753 16.9451 16.7639 17.3564 16.2566 17.3564Z",fill:"#E87D30"}),t("path",{d:"M11.4196 17.3564H10.0876C9.58023 17.3564 9.16895 16.9451 9.16895 16.4378V15.1057C9.16895 14.5983 9.58023 14.187 10.0876 14.187H11.4197C11.9271 14.187 12.3384 14.5983 12.3384 15.1057V16.4378C12.3384 16.9451 11.927 17.3564 11.4196 17.3564Z",fill:"#E87D30"}),t("path",{d:"M5.47641 4.66531C4.87727 4.66531 4.3916 4.17965 4.3916 3.58051V2.58188C4.3916 1.98277 4.87727 1.49707 5.47641 1.49707C6.07551 1.49707 6.56121 1.98273 6.56121 2.58188V3.58051C6.56117 4.17965 6.07551 4.66531 5.47641 4.66531Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),t("path",{d:"M16.5243 4.66531C15.9252 4.66531 15.4395 4.17965 15.4395 3.58051V2.58188C15.4395 1.98277 15.9251 1.49707 16.5243 1.49707C17.1234 1.49707 17.6091 1.98273 17.6091 2.58188V3.58051C17.609 4.17965 17.1234 4.66531 16.5243 4.66531Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),t("path",{d:"M15.3309 2.96387H6.74414",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),t("path",{d:"M4.1143 2.96387H2.98582C2.12641 2.96387 1.42969 3.66059 1.42969 4.52004V6.73563H20.5703V4.52004C20.5703 3.66059 19.8736 2.96391 19.0142 2.96391H17.9235",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),t("path",{d:"M20.5703 6.26904V18.9471C20.5703 19.8065 19.8736 20.5032 19.0142 20.5032H2.98582C2.12641 20.5032 1.42969 19.8065 1.42969 18.9471V6.26904",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),t("path",{d:"M1.58301 6.73584H20.5014",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as r,jsxs as j}from"react/jsx-runtime";function L(){return j("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[j("g",{clipPath:"url(#clip0_19548_42822)",children:[r("path",{d:"M2.34375 16.0938V11.5625",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),r("path",{d:"M2.34375 8.4375V3.90625",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),r("path",{d:"M17.6562 3.90625H8.4375C7.57457 3.90625 6.875 3.20668 6.875 2.34375C6.875 1.48082 7.57457 0.78125 8.4375 0.78125H17.6562C18.5192 0.78125 19.2188 1.48082 19.2188 2.34375C19.2188 3.20668 18.5192 3.90625 17.6562 3.90625Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),r("path",{d:"M17.6562 11.5625H8.4375C7.57457 11.5625 6.875 10.8629 6.875 10C6.875 9.13707 7.57457 8.4375 8.4375 8.4375H17.6562C18.5192 8.4375 19.2188 9.13707 19.2188 10C19.2188 10.8629 18.5192 11.5625 17.6562 11.5625Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),r("path",{d:"M17.6562 19.2188H8.4375C7.57457 19.2188 6.875 18.5192 6.875 17.6562C6.875 16.7933 7.57457 16.0938 8.4375 16.0938H17.6562C18.5192 16.0938 19.2188 16.7933 19.2188 17.6562C19.2188 18.5192 18.5192 19.2188 17.6562 19.2188Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),r("path",{d:"M2.34375 3.90625C3.20669 3.90625 3.90625 3.20669 3.90625 2.34375C3.90625 1.48081 3.20669 0.78125 2.34375 0.78125C1.48081 0.78125 0.78125 1.48081 0.78125 2.34375C0.78125 3.20669 1.48081 3.90625 2.34375 3.90625Z",stroke:"#E53C4D",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),r("path",{d:"M2.34375 11.5625C3.20669 11.5625 3.90625 10.8629 3.90625 10C3.90625 9.13706 3.20669 8.4375 2.34375 8.4375C1.48081 8.4375 0.78125 9.13706 0.78125 10C0.78125 10.8629 1.48081 11.5625 2.34375 11.5625Z",stroke:"#DF9F20",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),r("path",{d:"M2.34375 19.2188C3.20669 19.2188 3.90625 18.5192 3.90625 17.6562C3.90625 16.7933 3.20669 16.0938 2.34375 16.0938C1.48081 16.0938 0.78125 16.7933 0.78125 17.6562C0.78125 18.5192 1.48081 19.2188 2.34375 19.2188Z",stroke:"#169C55",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]}),r("defs",{children:r("clipPath",{id:"clip0_19548_42822",children:r("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as f,jsxs as a1}from"react/jsx-runtime";function w(){return a1("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[f("path",{d:"M13.6137 17.9167V19.5703H0.429688V4.04336L4.00367 0.429688H13.6137V2.91667",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),f("path",{d:"M14.1667 12.5L19.2212 17.5367C19.6866 18.0021 19.6866 18.756 19.2212 19.2214C18.9885 19.454 18.6837 19.5704 18.3789 19.5704C18.0741 19.5704 17.7693 19.454 17.5366 19.2214L12.5 14.1667",fill:"#9944E4"}),f("path",{d:"M0.429688 4.04336H4.00367V0.429688",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),f("path",{d:"M10 5.08301C12.746 5.08322 14.9961 7.31131 14.9961 10.04C14.9959 12.7686 12.7458 14.9959 10 14.9961C7.26268 14.9961 5.04318 12.7773 5.04297 10.04C5.04297 7.30256 7.26252 5.08301 10 5.08301Z",stroke:"#9944E4",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"2"})]})}import{jsx as e,jsxs as R}from"react/jsx-runtime";function _(){return R("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[R("g",{clipPath:"url(#clip0_19548_42667)",children:[e("path",{d:"M5.85656 10.9769C5.85656 12.4754 4.64172 13.6903 3.14312 13.6903C1.64453 13.6903 0.429688 12.4754 0.429688 10.9769M5.85656 10.9769L3.14312 4.49072L0.429688 10.9769M5.85656 10.9769H0.429688",stroke:"#377BD4",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),e("path",{d:"M2.91699 13.7501C1.25033 13.7501 0.555881 11.8056 0.416992 10.8334C2.22255 10.6945 5.83366 10.5834 5.83366 11.2501C5.83366 12.0834 5.00033 13.7501 2.91699 13.7501Z",fill:"#377BD4"}),e("path",{d:"M16.667 13.7501C15.0003 13.7501 14.3059 11.8056 14.167 10.8334C15.9725 10.6945 19.5837 10.5834 19.5837 11.2501C19.5837 12.0834 18.7503 13.7501 16.667 13.7501Z",fill:"#377BD4"}),e("path",{d:"M14.1436 10.9769C14.1436 12.4754 15.3584 13.6903 16.857 13.6903C18.3556 13.6903 19.5704 12.4754 19.5704 10.9769M14.1436 10.9769L16.857 4.49072L19.5704 10.9769M14.1436 10.9769H19.5704",stroke:"#377BD4",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),e("path",{d:"M9.02344 13.5156V1.40625C9.02344 0.869141 9.46289 0.429688 10 0.429688C10.5371 0.429688 10.9766 0.869141 10.9766 1.40625V13.5156",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),e("path",{d:"M8.70012 2.38281H7.07113L5.15879 4.29512H1.12746L0.429688 3.59734",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),e("path",{clipRule:"evenodd",d:"M5.3125 19.5703H14.6875V18.0078L13.9062 17.2266H6.09371L5.3125 18.0078V19.5703Z",fillRule:"evenodd",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),e("path",{d:"M12.8947 17.0313V14.4922L12.1134 13.7109H7.88672L7.10547 14.4922V17.0313",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),e("path",{d:"M9.21875 3.43164H10.7812",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),e("path",{d:"M11.2998 2.38281H12.9288L14.8411 4.29512H18.8725L19.5702 3.59734",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"})]}),e("defs",{children:e("clipPath",{id:"clip0_19548_42667",children:e("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as l,jsxs as s1}from"react/jsx-runtime";function M(){return s1("svg",{fill:"none",height:"20",viewBox:"0 0 16 20",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M12.7851 2.98193C12.7851 2.98193 13.4231 2.98193 14.0612 2.98193C14.7659 2.98193 15.3372 3.5533 15.3372 4.25799C15.3372 7.34791 15.3372 15.2045 15.3372 18.2944C15.3372 18.9991 14.7659 19.5705 14.0612 19.5705C11.7324 19.5705 6.81965 19.5705 4.49086 19.5705C4.15238 19.5705 3.82797 19.4362 3.58871 19.1966C3.34914 18.9574 3.21484 18.6329 3.21484 18.2945C3.21484 17.6565 3.21484 17.0184 3.21484 17.0184",fill:"#EA5081"}),l("path",{d:"M12.7851 2.98193C12.7851 2.98193 13.4231 2.98193 14.0612 2.98193C14.7659 2.98193 15.3372 3.5533 15.3372 4.25799C15.3372 7.34791 15.3372 15.2045 15.3372 18.2944C15.3372 18.9991 14.7659 19.5705 14.0612 19.5705C11.7324 19.5705 6.81965 19.5705 4.49086 19.5705C4.15238 19.5705 3.82797 19.4362 3.58871 19.1966C3.34914 18.9574 3.21484 18.6329 3.21484 18.2945C3.21484 17.6565 3.21484 17.0184 3.21484 17.0184",stroke:"#EA5081",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),l("path",{d:"M0.663086 4.25781L4.49121 0.429688C4.49121 0.429688 9.18352 0.429688 11.5095 0.429688C12.2141 0.429688 12.7855 1.00105 12.7855 1.70574C12.7855 4.79566 12.7855 12.6523 12.7855 15.7422C12.7855 16.4469 12.2142 17.0182 11.5095 17.0182C9.18067 17.0182 4.26793 17.0182 1.93914 17.0182C1.23445 17.0182 0.663086 16.4469 0.663086 15.7422C0.663086 12.5103 0.663086 4.25781 0.663086 4.25781Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),l("path",{d:"M0.663086 4.89586C0.663086 4.89586 2.53313 4.89586 3.8532 4.89586C4.55789 4.89586 5.12926 4.32449 5.12926 3.6198C5.12926 2.29973 5.12926 0.429688 5.12926 0.429688",stroke:"#3D3D47",strokeMiterlimit:"10"}),l("path",{d:"M3.85352 8.08594H9.5957",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),l("path",{d:"M3.85352 10.6382H9.5957",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),l("path",{d:"M3.85352 13.1899H7.04363",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]})}import{jsx as p,jsxs as E}from"react/jsx-runtime";function y(){return E("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[E("g",{clipPath:"url(#clip0_19548_42803)",children:[p("path",{d:"M19.5703 4.8957V15.1043C19.5703 13.9613 19.1344 12.8184 18.2621 11.9461C16.518 10.202 13.6902 10.202 11.9461 11.9461C10.5742 13.318 10.2812 15.3602 11.068 17.0184H1.70586C1.36719 17.0184 1.04258 16.8836 0.803516 16.6445C0.564453 16.4055 0.429688 16.0805 0.429688 15.7422V1.70586C0.429688 1.36719 0.564062 1.04258 0.803516 0.803516C1.04258 0.564062 1.36719 0.429688 1.70586 0.429688H8.08594L11.2762 3.61992H18.2941C18.9988 3.61992 19.5703 4.19102 19.5703 4.8957Z",fill:"#F7BC0F"}),p("path",{d:"M15.1047 19.5702C17.5712 19.5702 19.5707 17.5707 19.5707 15.1042C19.5707 12.6377 17.5712 10.6382 15.1047 10.6382C12.6382 10.6382 10.6387 12.6377 10.6387 15.1042C10.6387 17.5707 12.6382 19.5702 15.1047 19.5702Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round"}),p("path",{d:"M13.5098 15.1043L14.7859 16.3801L16.7 13.8281",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round"})]}),p("defs",{children:p("clipPath",{id:"clip0_19548_42803",children:p("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as d,jsxs as T}from"react/jsx-runtime";function b(){return T("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[T("g",{clipPath:"url(#clip0_19548_42782)",children:[d("path",{d:"M0.429688 11.5007L10.1218 0.511719L19.5703 11.3059",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),d("path",{d:"M17.3304 8.78764V19.4883H2.89551V8.66553",stroke:"#3D3D47",strokeLinejoin:"round",strokeMiterlimit:"10"}),d("path",{d:"M6.93305 12.366L9.96977 16.1929L13.0492 12.3751C13.4256 11.7457 13.6244 11.026 13.6244 10.2927C13.6244 8.28998 12.0009 6.6665 9.99824 6.6665C7.99555 6.6665 6.37207 8.28998 6.37207 10.2927V10.3077C6.37207 11.0316 6.56574 11.7422 6.93305 12.366Z",fill:"#EB3B3B",stroke:"#EB3B3B",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),d("path",{d:"M9.97016 11.6454C10.6769 11.6454 11.2499 11.0724 11.2499 10.3657C11.2499 9.65889 10.6769 9.08594 9.97016 9.08594C9.26338 9.08594 8.69043 9.65889 8.69043 10.3657C8.69043 11.0724 9.26338 11.6454 9.97016 11.6454Z",fill:"white",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]}),d("defs",{children:d("clipPath",{id:"clip0_19548_42782",children:d("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as k,jsxs as l1}from"react/jsx-runtime";function x(){return l1("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[k("path",{d:"M4.60834 12L2 17.7972L4.86637 17.5931L6.55798 20L9.5 14",fill:"#3CA4E5"}),k("path",{d:"M10 14L12.7909 20L14.7241 17.2923L18 17.5218L15 11.5",fill:"#3CA4E5"}),k("path",{d:"M9.5 14C13.0899 14 16 11.0899 16 7.5C16 3.91015 13.0899 1 9.5 1C5.91015 1 3 3.91015 3 7.5C3 11.0899 5.91015 14 9.5 14Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),k("path",{d:"M9.5 11C11.433 11 13 9.433 13 7.5C13 5.567 11.433 4 9.5 4C7.567 4 6 5.567 6 7.5C6 9.433 7.567 11 9.5 11Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]})}import{jsx as a,jsxs as z}from"react/jsx-runtime";function D(){return z("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_19548_42757)",children:[a("path",{d:"M11.6672 0.429688H3.44824V6.25L16.5006 13",fill:"#649EFE"}),a("path",{d:"M11.667 0.416504L16.5524 4.9022V13.4998",fill:"#4787F2"}),a("path",{d:"M16.667 4.99984H11.667V0.416504",fill:"#B5D1FF"}),a("path",{d:"M16.5528 19.5699H3.44816C2.7902 19.5699 2.25684 19.0366 2.25684 18.3786L2.25684 7.89006C2.25684 7.23209 2.7902 6.69873 3.44816 6.69873H6.56918C6.86094 6.69873 7.14258 6.8058 7.36066 6.99963L17.3442 14.1785C17.5986 14.4046 17.7441 14.7286 17.7441 15.0689V18.3786C17.7441 19.0366 17.2107 19.5699 16.5528 19.5699Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),a("path",{d:"M8.21363 14.7256H4.63965V17.1877H8.21363V14.7256Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]}),a("defs",{children:a("clipPath",{id:"clip0_19548_42757",children:a("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as c,jsxs as A}from"react/jsx-runtime";function P(){return A("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[A("g",{clipPath:"url(#clip0_19548_42810)",children:[c("path",{d:"M14.5393 4.17742C13.2871 3.19988 11.7117 2.61719 10 2.61719C5.92258 2.61719 2.61719 5.92258 2.61719 10C2.61719 14.0774 5.92258 17.3828 10 17.3828C14.0774 17.3828 17.3828 14.0774 17.3828 10C17.3828 8.8416 17.1157 7.74566 16.6402 6.77",stroke:"#3D3D47",strokeLinejoin:"round",strokeMiterlimit:"10"}),c("path",{d:"M16.0952 2.62152C14.4398 1.25246 12.316 0.429688 10 0.429688C4.71445 0.429688 0.429688 4.71445 0.429688 10C0.429688 15.2855 4.71445 19.5703 10 19.5703C15.2855 19.5703 19.5703 15.2855 19.5703 10C19.5703 8.23215 19.0904 6.57668 18.2546 5.15562",stroke:"#3D3D47",strokeLinejoin:"round",strokeMiterlimit:"10"}),c("path",{d:"M16.8242 0.891113C17.217 0.570748 17.796 0.593369 18.1621 0.959473L20.5088 3.30615C20.8993 3.69668 20.8993 4.32969 20.5088 4.72021L10.6074 14.6216C10.4199 14.8091 10.1656 14.9145 9.90039 14.9146C9.63517 14.9146 9.3809 14.8091 9.19336 14.6216L4.29297 9.72217C3.90245 9.33165 3.90245 8.69765 4.29297 8.30713L6.63965 5.96045L6.71289 5.89404C6.8908 5.74831 7.11469 5.6675 7.34668 5.66748C7.61178 5.66748 7.8662 5.77307 8.05371 5.96045L9.90039 7.80713L16.748 0.959473L16.8242 0.891113Z",fill:"#3FCDBC",stroke:"white",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"2"})]}),c("defs",{children:c("clipPath",{id:"clip0_19548_42810",children:c("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as i,jsxs as F}from"react/jsx-runtime";function H(){return F("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[F("g",{clipPath:"url(#clip0_21377_57335)",children:[i("path",{d:"M0.429688 5.64217V3.30264C0.429688 2.68541 0.930156 2.18506 1.54754 2.18506H18.4525C19.0698 2.18506 19.5703 2.68541 19.5703 3.30264V5.64217",fill:"#4DA971"}),i("path",{d:"M0.429688 5.64217V3.30264C0.429688 2.68541 0.930156 2.18506 1.54754 2.18506H18.4525C19.0698 2.18506 19.5703 2.68541 19.5703 3.30264V5.64217",stroke:"#4DA971",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),i("path",{d:"M18.4526 17.8147H1.54738C0.930117 17.8147 0.429688 17.3142 0.429688 16.697V5.88112C0.429688 5.26382 0.930117 4.76343 1.54738 4.76343H18.4526C19.0699 4.76343 19.5703 5.26386 19.5703 5.88112V16.6969C19.5703 17.3142 19.0699 17.8147 18.4526 17.8147Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),i("path",{d:"M17.5117 14.2162V8.36195C16.6652 8.36195 15.979 7.67437 15.979 6.82617H4.02098C4.02098 7.67434 3.33477 8.36195 2.48828 8.36195V14.2162C3.33477 14.2162 4.02098 14.9037 4.02098 15.752H15.979C15.979 14.9037 16.6652 14.2162 17.5117 14.2162Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),i("path",{d:"M9.99953 13.2399C11.0747 13.2399 11.9463 12.3665 11.9463 11.2891C11.9463 10.2118 11.0747 9.33838 9.99953 9.33838C8.92434 9.33838 8.05273 10.2118 8.05273 11.2891C8.05273 12.3665 8.92434 13.2399 9.99953 13.2399Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),i("ellipse",{cx:"14.4277",cy:"11.2891",fill:"#3D3D47",rx:"0.429688",ry:"0.429687"}),i("ellipse",{cx:"5.57227",cy:"11.2891",fill:"#3D3D47",rx:"0.429688",ry:"0.429687"})]}),i("defs",{children:i("clipPath",{id:"clip0_21377_57335",children:i("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as m,jsxs as d1}from"react/jsx-runtime";function V(){return d1("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[m("path",{d:"M14.2862 6.43053L18.3624 3.85093C19.172 1.9095 19.564 0.436523 19.564 0.436523C19.564 0.436523 13.8492 1.38946 9.38516 5.85347L6.32865 8.90994C5.59048 9.64811 5.04572 10.5569 4.74258 11.5559L3.12988 16.8706L8.44457 15.2579C9.44353 14.9547 10.3523 14.41 11.0905 13.6718L14.147 10.6153C15.3515 9.41085 16.3467 7.90827 17.1411 6.43049L14.2862 6.43053Z",fill:"#A9B3BA"}),m("path",{d:"M11.8957 8.104L0.436523 19.5632",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),m("path",{d:"M10 13.333H12.5",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),m("path",{d:"M8.33301 5.83301L8.33301 8.33301",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),m("path",{d:"M5.58902 17.5465H2.4541V14.4116",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]})}import{jsx as o}from"react/jsx-runtime";function N({name:n}){switch(n){case"agenda":return o(v,{});case"contencioso":return o(_,{});case"contrato":return o(M,{});case"consultivo":return o(w,{});case"xsigner":return o(V,{});case"procuracao":return o(D,{});case"xpay":return o(H,{});case"imobiliario":return o(b,{});case"marcasepatentes":return o(x,{});case"ged":return o(y,{});case"regulatorio":return o(P,{});case"compliance":return o(L,{});default:return null}}import{jsx as W}from"react/jsx-runtime";function S({className:n,filled:h=!1,name:s,...u}){return Z.includes(s)?W(N,{name:s}):W("span",{...u,className:p1("material-symbols-outlined","text-size-body-lg select-none",n),style:{fontVariationSettings:`'FILL' ${h?1:0}, 'wght' 600, 'GRAD' 0, 'opsz' 20`,...u.style},children:s})}import{jsx as Xe}from"react/jsx-runtime";import{cx as $e}from"@xjur-ui/util";import{jsx as Ke}from"react/jsx-runtime";import{cx as Ye}from"@xjur-ui/util";import{jsx as tt}from"react/jsx-runtime";import{jsx as O,jsxs as h1}from"react/jsx-runtime";function yt({children:n=h1(C,{appearance:"ghost",className:"border-border-layer-2 border",variant:"secondary",children:[O(S,{className:"text-icon-neutral-3",name:"add"}),"Adicionar"]}),asChild:h=!0,...s}){return O(g,{asChild:h,...s,children:n})}export{yt as EmpresaTrigger};
1
+ import{Slot as s1}from"@radix-ui/react-slot";import{cva as l1,cx as d1}from"@xjur-ui/util";import{jsx as c1}from"react/jsx-runtime";var p1=l1(["outline-none inline-flex items-center justify-center rounded-circle gap-small cursor-pointer disabled:opacity-38 disabled:pointer-events-none transition-colors"],{variants:{size:{md:"py-small_1x-alt px-medium text-size-body-md",sm:"py-small-1x px-small text-size-label-sm",icon_md:"p-small text-size-body-md h-large-4x w-large-4x",icon_sm:"p-small-1x text-size-label-sm h-large-2x w-large-2x"},variant:{primary:"",secondary:"",tertiary:"",destructive:"",outlined:"bg-layer-2-idle border border-border-layer-2 hover:bg-layer-2-hover active:bg-layer-2-pressed"},appearance:{solid:"",ghost:"bg-transparent"}},compoundVariants:[{variant:"primary",appearance:"solid",class:"bg-primary-idle text-neutral-label hover:bg-primary-hover active:bg-primary-pressed"},{variant:"primary",appearance:"ghost",class:"text-primary-idle hover:bg-primary-alt-idle active:bg-primary-alt-pressed"},{variant:"secondary",appearance:"solid",class:"bg-layer-1-hover text-neutral-dark hover:bg-layer-1-pressed active:bg-layer-1-active"},{variant:"secondary",appearance:"ghost",class:"hover:bg-layer-1-hover active:bg-layer-1-pressed"},{variant:"tertiary",appearance:"solid",class:"bg-layer-2-hover text-neutral-dark hover:bg-layer-2-pressed active:bg-layer-2-active"},{variant:"tertiary",appearance:"ghost",class:"hover:bg-layer-2-hover active:bg-layer-2-pressed"},{variant:"destructive",appearance:"solid",class:"bg-danger-idle text-neutral-label hover:bg-danger-hover active:bg-danger-pressed"},{variant:"destructive",appearance:"ghost",class:"text-danger-label-idle hover:bg-danger-alt-idle active:bg-danger-alt-pressed"}],defaultVariants:{size:"md",variant:"primary",appearance:"solid"}});function _({asChild:t,className:c,variant:a="primary",size:u="md",appearance:j="solid",...a1}){return c1(t?s1:"button",{className:d1(p1({variant:a,appearance:j,size:u}),c),...a1})}import"react";import*as h1 from"@radix-ui/react-dialog";import{jsx as D1}from"react/jsx-runtime";import*as g1 from"@radix-ui/react-dialog";import{tv as $1}from"@xjur-ui/util";import*as C1 from"@radix-ui/react-dialog";import{jsx as N1}from"react/jsx-runtime";import*as m1 from"@radix-ui/react-dialog";import{cx as O1}from"@xjur-ui/util";import{jsx as G1}from"react/jsx-runtime";import{jsx as Y1,jsxs as e2}from"react/jsx-runtime";import*as O from"@radix-ui/react-dialog";import{jsx as k1}from"react/jsx-runtime";function x({...t}){return k1(O.Trigger,{"data-slot":"sheet-trigger",...t})}import{cx as n2}from"@xjur-ui/util";import*as v1 from"@radix-ui/react-dialog";import{jsx as s2}from"react/jsx-runtime";import{cx as p2}from"@xjur-ui/util";import{jsx as h2}from"react/jsx-runtime";import*as H1 from"@radix-ui/react-dialog";import{cx as V1}from"@xjur-ui/util";var X=["agenda","contencioso","contrato","consultivo","xsigner","procuracao","xpay","imobiliario","marcasepatentes","ged","regulatorio","compliance","xlearning","societario","audiencia","pericia","custom_contrato","filial"];import{jsx as f,jsxs as w1}from"react/jsx-runtime";function y(){return w1("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[f("path",{d:"M15.7875 3H3.3008C2.5824 3 2 3.58652 2 4.31005V9.01705H18V4.31005C18 3.58652 17.4176 3.00003 16.6992 3.00003L15.7875 3Z",fill:"#FFCEAD",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),f("path",{d:"M18 7.01697V17.6898C18 18.4133 17.4176 18.9998 16.6992 18.9998H3.3008C2.5824 18.9998 2 18.4133 2 17.6898V7.01697",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),f("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"5.42832",x2:"5.42832",y1:"5.4",y2:"0.599997"}),f("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"14.3648",x2:"14.3648",y1:"5.4",y2:"0.599997"})]})}import{jsx as o,jsxs as G}from"react/jsx-runtime";function L(){return G("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[G("g",{clipPath:"url(#clip0_21552_71650)",children:[o("path",{d:"M3 4.9812C4.10457 4.9812 5 4.08577 5 2.9812C5 1.87663 4.10457 0.981201 3 0.981201C1.89543 0.981201 1 1.87663 1 2.9812C1 4.08577 1.89543 4.9812 3 4.9812Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),o("path",{d:"M17.6562 4.5437H9.4375C8.57457 4.5437 7.875 3.84413 7.875 2.9812C7.875 2.11827 8.57457 1.4187 9.4375 1.4187H17.6562C18.5192 1.4187 19.2187 2.11827 19.2187 2.9812C19.2187 3.84413 18.5192 4.5437 17.6562 4.5437Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),o("path",{d:"M3 12C4.10457 12 5 11.1046 5 10C5 8.89543 4.10457 8 3 8C1.89543 8 1 8.89543 1 10C1 11.1046 1.89543 12 3 12Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),o("path",{d:"M17.6562 11.5625H9.4375C8.57457 11.5625 7.875 10.8629 7.875 10C7.875 9.13707 8.57457 8.4375 9.4375 8.4375H17.6562C18.5192 8.4375 19.2187 9.13707 19.2187 10C19.2187 10.8629 18.5192 11.5625 17.6562 11.5625Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),o("path",{d:"M3 19.1C4.10457 19.1 5 18.2045 5 17.1C5 15.9954 4.10457 15.1 3 15.1C1.89543 15.1 1 15.9954 1 17.1C1 18.2045 1.89543 19.1 3 19.1Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),o("path",{d:"M17.6562 18.6625H9.4375C8.57457 18.6625 7.875 17.9629 7.875 17.1C7.875 16.237 8.57457 15.5375 9.4375 15.5375H17.6562C18.5192 15.5375 19.2187 16.237 19.2187 17.1C19.2187 17.9629 18.5192 18.6625 17.6562 18.6625Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),o("defs",{children:o("clipPath",{id:"clip0_21552_71650",children:o("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as g,jsxs as _1}from"react/jsx-runtime";function M(){return _1("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[g("path",{d:"M9.85352 0.65332C9.93553 0.58296 10.0643 0.582237 10.1465 0.652344C12.0919 2.4217 14.3958 3.32823 17.2881 3.47949C17.9164 3.51234 18.3483 3.9816 18.3564 4.48242C18.3601 4.71041 18.3663 4.94321 18.3779 5.18164C18.4292 7.71562 18.4747 10.5595 17.4619 13.1299C16.4662 15.6568 14.4201 17.976 10.1338 19.3789C10.1172 19.3844 10.0987 19.3889 10.0791 19.3926C10.0273 19.4023 9.97265 19.4023 9.9209 19.3926L9.86621 19.3789C5.56766 17.9759 3.52294 15.6506 2.53027 13.1211C1.52052 10.5478 1.57173 7.70475 1.62305 5.18164C1.6346 4.94331 1.64092 4.71049 1.64453 4.48242C1.65264 3.98173 2.08381 3.51252 2.71191 3.47949C5.60393 3.32832 7.90727 2.42121 9.85254 0.652344L9.85352 0.65332Z",fill:"#E5C8FF",stroke:"#771DC5",strokeMiterlimit:"10",strokeWidth:"1.2"}),g("path",{d:"M10 4.40039C13.0928 4.40039 15.5996 6.90721 15.5996 10C15.5996 13.0928 13.0928 15.5996 10 15.5996C6.90721 15.5996 4.40039 13.0928 4.40039 10C4.40039 6.90721 6.90721 4.40039 10 4.40039Z",fill:"white",stroke:"#771DC5",strokeMiterlimit:"10",strokeWidth:"1.2"}),g("path",{d:"M12.4915 8.88L9.13148 12.24",stroke:"#771DC5",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),g("path",{d:"M7.36005 10.5645L9.13144 12.2399",stroke:"#771DC5",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as k,jsxs as x1}from"react/jsx-runtime";function b(){return x1("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[k("path",{d:"M15.7875 3H3.3008C2.5824 3 2 3.58652 2 4.31005V9.01705H18V4.31005C18 3.58652 17.4176 3.00003 16.6992 3.00003L15.7875 3Z",fill:"#FFCEAD",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),k("path",{d:"M18 7.01697V17.6898C18 18.4133 17.4176 18.9998 16.6992 18.9998H3.3008C2.5824 18.9998 2 18.4133 2 17.6898V7.01697",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),k("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"5.42832",x2:"5.42832",y1:"5.4",y2:"0.599997"}),k("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"14.3648",x2:"14.3648",y1:"5.4",y2:"0.599997"})]})}import{jsx as d,jsxs as y1}from"react/jsx-runtime";function P(){return y1("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[d("path",{d:"M14.3062 3.28357C14.3062 3.28357 15.6681 3.28357 16.2787 3.28357C16.9531 3.28357 17.4998 3.83035 17.4998 4.50472C17.4998 7.4617 17.4998 14.9803 17.4998 17.9373C17.4998 18.6116 16.9531 19.1584 16.2787 19.1584C14.0501 19.1584 9.34873 19.1584 7.12013 19.1584C6.79622 19.1584 6.48576 19.0299 6.2568 18.8006C6.02754 18.5717 5.89902 18.2612 5.89902 17.9373C5.89902 17.3267 5.89902 16.7161 5.89902 16.7161",fill:"#FFBACF"}),d("path",{d:"M14.3062 3.28357C14.3062 3.28357 15.6681 3.28357 16.2787 3.28357C16.9531 3.28357 17.4998 3.83035 17.4998 4.50472C17.4998 7.4617 17.4998 14.9803 17.4998 17.9373C17.4998 18.6116 16.9531 19.1584 16.2787 19.1584C14.0501 19.1584 9.34873 19.1584 7.12013 19.1584C6.79622 19.1584 6.48576 19.0299 6.2568 18.8006C6.02754 18.5717 5.89902 18.2612 5.89902 17.9373C5.89902 17.3267 5.89902 16.7161 5.89902 16.7161",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),d("path",{d:"M2.49985 4.50473L6.16327 0.841309C6.16327 0.841309 10.6537 0.841309 12.8796 0.841309C13.5539 0.841309 14.1007 1.38809 14.1007 2.06246C14.1007 5.01944 14.1007 12.538 14.1007 15.495C14.1007 16.1694 13.554 16.7162 12.8796 16.7162C10.651 16.7162 5.9496 16.7162 3.721 16.7162C3.04663 16.7162 2.49985 16.1694 2.49985 15.495C2.49985 12.4022 2.49985 4.50473 2.49985 4.50473Z",fill:"white",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),d("path",{d:"M2.49985 5.11533C2.49985 5.11533 4.28943 5.11533 5.55271 5.11533C6.22708 5.11533 6.77387 4.56854 6.77387 3.89417C6.77387 2.63089 6.77387 0.841309 6.77387 0.841309",stroke:"#C72F5F",strokeMiterlimit:"10",strokeWidth:"1.2"}),d("path",{d:"M5.49985 10H10.4998",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),d("path",{d:"M5.49985 13H9.49985",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as v,jsxs as L1}from"react/jsx-runtime";function V(){return L1("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[v("path",{d:"M1 17V2.30005H6.8L8.99999 4.50005H15.5V7.90005H4V17L2.5 17.6001L1 17Z",fill:"#F6DD92"}),v("path",{d:"M4 8.00012C4 11.6633 4 16.0001 4 16.0001C4 17.0001 3.5 17.6931 2.5 17.6931C1.5 17.6931 1 17.0001 1 16.0001V2.30725H3.24067",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),v("path",{d:"M3.24076 2.30713H6.47454L8.7458 4.37844H15.5797V8.00006H19.0001V16.5727C19.0001 17.1915 18.4985 17.6931 17.8798 17.6931H2.12042",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),v("path",{d:"M4 8H16",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as s,jsxs as q}from"react/jsx-runtime";function H(){return q("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[q("g",{clipPath:"url(#clip0_21559_72048)",children:[s("path",{d:"M17.4506 8.94043V18.3304C17.4506 18.9598 16.9425 19.4699 16.3157 19.4699H3.68428C3.05748 19.4699 2.54932 18.9598 2.54932 18.3304V8.94043",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),s("path",{d:"M7.05865 19.2548V11.9867H12.9413V19.2548",fill:"#FDC6C6"}),s("path",{d:"M7.05865 19.2548V11.9867H12.9413V19.2548",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),s("path",{d:"M17.3634 8.67363C17.5986 8.83359 17.8726 8.91816 18.1557 8.91812C18.6259 8.91812 19.0639 8.68503 19.3274 8.29464C19.7648 7.64652 19.5954 6.76199 18.9499 6.32285L17.0724 5.0457L14.2483 3.12457L10.7936 0.774526C10.5586 0.614683 10.2843 0.530151 10.0004 0.530151C9.71652 0.530151 9.44222 0.614644 9.20722 0.774526L1.05105 6.32285C0.738314 6.53558 0.526868 6.85781 0.45554 7.23023C0.384212 7.60265 0.461634 7.9807 0.673509 8.29464C0.936986 8.68503 1.37503 8.91812 1.84523 8.91812C2.12839 8.91812 2.40234 8.83359 2.63745 8.67367L10.0004 3.66492L17.3634 8.67363Z",fill:"#FDC6C6",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),s("defs",{children:s("clipPath",{id:"clip0_21559_72048",children:s("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as h,jsxs as U}from"react/jsx-runtime";function I(){return U("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[U("g",{clipPath:"url(#clip0_21561_72217)",children:[h("path",{d:"M9.98145 0.599609C15.1635 0.608044 19.4004 4.83852 19.4004 10C19.4004 15.1615 15.1636 19.3909 9.98145 19.3994C-2.5284 18.8998 -2.52587 1.09731 9.98145 0.599609Z",fill:"#DBF1FF",stroke:"#2C729E",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),h("path",{d:"M13.4527 13.5208C11.5082 15.4654 8.35554 15.4654 6.41101 13.5208C1.91808 8.68266 8.61718 1.98702 13.4527 6.47909",stroke:"#2C729E",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),h("defs",{children:h("clipPath",{id:"clip0_21561_72217",children:h("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as r,jsxs as $}from"react/jsx-runtime";function S(){return $("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_21563_1851)",children:[r("path",{d:"M13.4002 19H2.40024C1.84795 19 1.40024 18.5523 1.40024 18V2C1.40024 1.44772 1.84795 1 2.40024 1H13.4002C13.9525 1 14.4002 1.44772 14.4002 2V18C14.4002 18.5523 13.9525 19 13.4002 19Z",fill:"#D4E4F9",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),r("path",{clipRule:"evenodd",d:"M9.59316 13.357H12.2247V11.694C12.2247 10.9283 11.8327 10.2335 11.5394 9.78628C11.2875 9.40237 11.1412 8.94427 11.1412 8.45234C11.1412 7.09791 12.25 6 13.6179 6C14.9858 6 16.0947 7.09791 16.0947 8.45234C16.0947 8.94427 15.9483 9.40237 15.6965 9.78628C15.4031 10.2335 15.0111 10.9283 15.0111 11.694V13.357H17.6427C18.4089 13.357 19.0358 13.9778 19.0358 14.7364V16.1159H8.20004V14.7364C8.20004 13.9778 8.82695 13.357 9.59316 13.357Z",fill:"white",fillRule:"evenodd",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),r("path",{clipRule:"evenodd",d:"M8.78256 16.6364V17.8182C8.78256 18.4682 9.43078 19 10.2231 19C15.2886 19 11.56 19 16.6255 19C17.4177 19 18.066 18.4682 18.066 17.8182V16.6364",fill:"white",fillRule:"evenodd"}),r("path",{d:"M8.78256 16.6364V17.8182C8.78256 18.4682 9.43078 19 10.2231 19C15.2886 19 11.56 19 16.6255 19C17.4177 19 18.066 18.4682 18.066 17.8182V16.6364",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),r("line",{stroke:"#446EA6",strokeLinecap:"round",strokeWidth:"1.2",x1:"4.59994",x2:"7.39994",y1:"5.4",y2:"5.4"}),r("line",{stroke:"#446EA6",strokeLinecap:"round",strokeWidth:"1.2",x1:"4.60006",x2:"7.40006",y1:"9.4",y2:"9.4"})]}),r("defs",{children:r("clipPath",{id:"clip0_21563_1851",children:r("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as i,jsxs as J}from"react/jsx-runtime";function A(){return J("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[J("g",{clipPath:"url(#clip0_21561_72299)",children:[i("path",{d:"M1.80017 4.25781L5.6283 0.429688C5.6283 0.429688 11.8221 0.429688 14.5606 0.429688C14.899 0.429688 15.2236 0.563984 15.4629 0.803555C15.7022 1.04281 15.8367 1.36727 15.8367 1.7057C15.8367 5.18578 15.8367 14.8142 15.8367 18.2943C15.8367 18.6327 15.7022 18.9571 15.4629 19.1964C15.2236 19.436 14.899 19.5703 14.5606 19.5703C11.8914 19.5703 5.74541 19.5703 3.07623 19.5703C2.3715 19.5703 1.80017 18.9989 1.80017 18.2943C1.80017 14.6167 1.80017 4.25781 1.80017 4.25781Z",fill:"#CEF0EC",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),i("path",{d:"M1.80017 4.89586C1.80017 4.89586 3.67033 4.89586 4.99029 4.89586C5.69501 4.89586 6.26634 4.32449 6.26634 3.6198C6.26634 2.29973 6.26634 0.429688 6.26634 0.429688",fill:"white"}),i("path",{d:"M1.80017 4.89586C1.80017 4.89586 3.67033 4.89586 4.99029 4.89586C5.69501 4.89586 6.26634 4.32449 6.26634 3.6198C6.26634 2.29973 6.26634 0.429688 6.26634 0.429688",stroke:"#1A8377",strokeMiterlimit:"10",strokeWidth:"1.2"}),i("path",{d:"M12.5098 16.3826C15.653 16.3826 18.201 13.8345 18.201 10.6913C18.201 7.54807 15.653 5 12.5098 5C9.36656 5 6.81848 7.54807 6.81848 10.6913C6.81848 13.8345 9.36656 16.3826 12.5098 16.3826Z",fill:"white",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),i("path",{d:"M10.1386 11.1655L12.0357 13.0626L14.8813 9.26843",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),i("defs",{children:i("clipPath",{id:"clip0_21561_72299",children:i("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as p,jsxs as K}from"react/jsx-runtime";function W(){return K("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[K("g",{clipPath:"url(#clip0_21561_73080)",children:[p("path",{d:"M10 0.599609C15.1915 0.599609 19.4004 4.80852 19.4004 10C19.4004 15.1915 15.1915 19.4004 10 19.4004C4.80852 19.4004 0.599609 15.1915 0.599609 10C0.599609 4.80852 4.80852 0.599609 10 0.599609Z",fill:"#ADDFC0",stroke:"#278D50",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),p("path",{d:"M10 16C13.3137 16 16 13.3137 16 10C16 6.68629 13.3137 4 10 4C6.68629 4 4 6.68629 4 10C4 13.3137 6.68629 16 10 16Z",fill:"white"}),p("path",{d:"M9.36046 16.0641V14.6227C8.73046 14.486 8.19534 14.2016 7.75511 13.7693C7.31499 13.3369 7.00701 12.7998 6.83118 12.1581L8.27653 11.584C8.36891 12.0238 8.60641 12.4106 8.98903 12.7441C9.37165 13.0778 9.76278 13.2447 10.1624 13.2447C10.6181 13.2447 10.9856 13.132 11.2647 12.9066C11.5438 12.6814 11.6833 12.3911 11.6833 12.0357C11.6833 11.6985 11.548 11.4115 11.2772 11.1748C11.0065 10.9382 10.5347 10.7051 9.86189 10.4756C8.94475 10.1479 8.26903 9.7783 7.83475 9.36663C7.40046 8.95508 7.18332 8.42812 7.18332 7.78574C7.18332 7.20193 7.3732 6.68859 7.75296 6.24574C8.13284 5.803 8.66868 5.50758 9.36046 5.35949V3.93591H10.7101V5.35949C11.5787 5.51377 12.1631 5.85252 12.4633 6.37573C12.7634 6.89907 12.9223 7.18401 12.9399 7.23056L11.5747 7.79109C11.4822 7.48728 11.2924 7.23276 11.0053 7.02752C10.7183 6.82228 10.4064 6.71966 10.0696 6.71966C9.6729 6.71966 9.34689 6.81829 9.09153 7.01556C8.8363 7.2127 8.70868 7.45324 8.70868 7.73716C8.70868 8.02681 8.84677 8.27746 9.12296 8.48913C9.39927 8.70079 9.94784 8.94639 10.7687 9.22591C11.6134 9.50544 12.2313 9.86901 12.6222 10.3166C13.0132 10.7642 13.2087 11.3373 13.2087 12.0357C13.2087 12.7257 12.9856 13.3071 12.5394 13.7798C12.0932 14.2527 11.4834 14.5515 10.7101 14.6763V16.0641H9.36046Z",fill:"#278D50"})]}),p("defs",{children:p("clipPath",{id:"clip0_21561_73080",children:p("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as l,jsxs as Q}from"react/jsx-runtime";function Z(){return Q("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Q("g",{clipPath:"url(#clip0_21559_72026)",children:[l("path",{d:"M6.3189 13.681L0.999756 19.0002",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),l("path",{d:"M7.62981 14.224C8.65376 14.224 9.48383 13.394 9.48383 12.37C9.48383 11.3461 8.65376 10.516 7.62981 10.516C6.60586 10.516 5.77579 11.3461 5.77579 12.37C5.77579 13.394 6.60586 14.224 7.62981 14.224Z",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),l("path",{d:"M19 7.8011L12.1988 0.999878L9.57689 3.62181L16.3781 10.423L19 7.8011Z",fill:"#AAE2E2",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),l("path",{d:"M10.1661 4.21118L3.08118 7.82115L0.999878 19.0001L12.1789 16.9188L15.7888 9.83387",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),l("defs",{children:l("clipPath",{id:"clip0_21559_72026",children:l("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as n,jsxs as F}from"react/jsx-runtime";function B(){return F("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[F("g",{clipPath:"url(#clip0_21656_82540)",children:[n("mask",{height:"20",id:"mask0_21656_82540",maskUnits:"userSpaceOnUse",style:{maskType:"luminance"},width:"20",x:"0",y:"0",children:n("path",{d:"M0 1.90735e-06H20V20H0V1.90735e-06Z",fill:"white"})}),F("g",{mask:"url(#mask0_21656_82540)",children:[n("path",{d:"M10.0001 18.827C14.8749 18.827 18.8262 14.8747 18.8262 9.99988C18.8262 5.1251 14.8748 1.17375 10.0001 1.17371C5.12521 1.17371 1.17296 5.12507 1.17291 9.99988C1.17291 14.8747 5.12518 18.827 10.0001 18.827Z",stroke:"#69697A",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),n("path",{d:"M7.34192 7.93171C7.34192 6.42577 8.59129 5.21167 10.1101 5.26933C11.491 5.32179 12.6162 6.44698 12.6686 7.82792C12.7047 8.7771 12.244 9.62104 11.5257 10.1206C10.5611 10.7915 10.0063 11.9097 10.0063 13.0847",stroke:"#69697A",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),n("path",{d:"M10.5859 15.157H9.41406V13.9851H10.5859V15.157Z",fill:"#69697A"})]})]}),n("defs",{children:n("clipPath",{id:"clip0_21656_82540",children:n("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as C,jsxs as Y}from"react/jsx-runtime";function R(){return Y("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Y("g",{clipPath:"url(#clip0_21595_70787)",children:[C("path",{d:"M12.1139 11.8496C13.0146 11.8496 13.8963 11.9394 14.7594 12.1182L15.1285 12.2002C15.986 12.4045 16.8238 12.6979 17.6422 13.082L17.9918 13.2529C18.4171 13.4698 18.7568 13.7804 19.0162 14.1963V14.1973C19.2708 14.6054 19.4 15.06 19.4 15.5752V18.0518H4.82776V15.5752C4.82781 15.0771 4.95662 14.6275 5.2135 14.2139C5.47352 13.7953 5.81235 13.4814 6.23792 13.2637C7.06633 12.8536 7.9074 12.5337 8.76038 12.3008L9.12756 12.2061C10.1077 11.9683 11.1028 11.8496 12.1139 11.8496ZM12.1139 2.59961C13.1111 2.59961 13.9421 2.94229 14.6403 3.63672C15.3374 4.33011 15.6803 5.15737 15.6803 6.15332C15.6803 7.14942 15.3367 7.97938 14.6383 8.67773C13.9399 9.37601 13.11 9.71973 12.1139 9.71973C11.1178 9.71968 10.2878 9.37609 9.58948 8.67773C8.89112 7.97938 8.54753 7.14942 8.54749 6.15332C8.54749 5.15723 8.8912 4.33018 9.5885 3.63672C10.2866 2.94233 11.1168 2.59965 12.1139 2.59961Z",fill:"#FCCAB1",stroke:"#A7512A",strokeLinejoin:"round",strokeWidth:"1.2"}),C("path",{d:"M7.88574 11.8496C8.78645 11.8496 9.66812 11.9394 10.5312 12.1182L10.9004 12.2002C11.7578 12.4045 12.5957 12.6979 13.4141 13.082L13.7637 13.2529C14.189 13.4698 14.5286 13.7804 14.7881 14.1963V14.1973C15.0427 14.6054 15.1719 15.06 15.1719 15.5752V18.0518H0.599609V15.5752C0.599656 15.0771 0.728473 14.6275 0.985352 14.2139C1.24537 13.7953 1.5842 13.4814 2.00977 13.2637C2.83818 12.8536 3.67925 12.5337 4.53223 12.3008L4.89941 12.2061C5.87953 11.9683 6.87468 11.8496 7.88574 11.8496ZM7.88574 2.59961C8.88296 2.59961 9.71395 2.94229 10.4121 3.63672C11.1092 4.33011 11.4521 5.15737 11.4521 6.15332C11.4521 7.14942 11.1085 7.97938 10.4102 8.67773C9.71179 9.37601 8.88183 9.71973 7.88574 9.71973C6.88964 9.71968 6.05969 9.37609 5.36133 8.67773C4.66297 7.97938 4.31938 7.14942 4.31934 6.15332C4.31934 5.15723 4.66305 4.33018 5.36035 3.63672C6.05847 2.94233 6.88861 2.59965 7.88574 2.59961Z",fill:"white",stroke:"#A7512A",strokeLinejoin:"round",strokeWidth:"1.2"})]}),C("defs",{children:C("clipPath",{id:"clip0_21595_70787",children:C("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as w,jsxs as M1}from"react/jsx-runtime";function D(){return M1("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[w("path",{d:"M14.7422 7.52306C14.5682 7.24589 14.3361 7.03318 14.0461 6.88493C13.5175 6.61422 12.9632 6.4144 12.4024 6.27904C11.8352 6.14368 11.2615 6.07922 10.6685 6.07922C10.0755 6.07922 9.51474 6.14368 8.95396 6.28549C8.74125 6.33705 8.52854 6.39506 8.32228 6.47241C8.58656 6.97517 8.72836 7.53595 8.72836 8.1354C8.72836 8.8702 8.5221 9.55989 8.12247 10.14H15V8.45124C15 8.10961 14.9162 7.80022 14.7422 7.52306Z",fill:"currentColor"}),w("path",{d:"M12.2929 1.66391C11.8417 1.21915 11.3067 1 10.6686 1C10.0304 1 9.49544 1.21915 9.05069 1.66391C8.60594 2.10866 8.38034 2.64365 8.38034 3.28177C8.38034 3.91989 8.60594 4.45489 9.05069 4.89964C9.49544 5.34439 10.0369 5.56999 10.6686 5.56999C11.3002 5.56999 11.8417 5.34439 12.2929 4.89964C12.7376 4.45489 12.9568 3.91345 12.9568 3.28177C12.9568 2.65009 12.7376 2.10866 12.2929 1.66391Z",fill:"currentColor"}),w("path",{d:"M3.54608 9.75962C3.10133 9.31487 2.87573 8.77343 2.87573 8.13531C2.87573 7.49719 3.10133 6.96864 3.54608 6.52389C3.99084 6.07914 4.53227 5.85999 5.16395 5.85999C5.79563 5.85999 6.33707 6.07914 6.78182 6.52389C6.92362 6.6657 7.04609 6.82039 7.14278 6.98798C7.34904 7.3296 7.45217 7.7099 7.45217 8.13531C7.45217 8.77343 7.22657 9.31487 6.78182 9.75962C6.64646 9.89498 6.49821 10.011 6.34351 10.1012C5.99544 10.3204 5.60226 10.4235 5.16395 10.4235C4.53227 10.4235 3.99084 10.2044 3.54608 9.75962Z",fill:"currentColor"}),w("path",{d:"M9.49546 13.3112V15H0.832458V13.3112C0.832458 12.976 0.922698 12.6731 1.09673 12.3895C1.27077 12.1123 1.49636 11.8996 1.78642 11.7514C2.32786 11.4806 2.88219 11.2808 3.44296 11.139C4.01018 11.0037 4.58385 10.9392 5.16396 10.9392C5.74407 10.9392 6.33063 11.0037 6.89785 11.139C7.45862 11.2744 8.00651 11.4742 8.5415 11.7449C8.82511 11.8867 9.05715 12.0994 9.23119 12.383C9.40522 12.6602 9.49546 12.9696 9.49546 13.3112Z",fill:"currentColor"})]})}import{jsx as m,jsxs as e1}from"react/jsx-runtime";function T(){return e1("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[e1("g",{clipPath:"url(#clip0_21669_68418)",children:[m("path",{d:"M13.1869 12.1386C13.2272 12.1789 13.2742 12.2191 13.3211 12.246V13.4202C13.3211 14.3194 12.5964 15.0508 11.6973 15.0508H2.42386C1.5247 15.0508 0.800003 14.3194 0.800003 13.4202V4.14681C0.800003 3.24765 1.5247 2.52295 2.42386 2.52295H4.16179C3.81286 3.23422 3.6384 4.0126 3.6384 4.86479C3.6384 6.28063 4.16179 7.56898 5.14818 8.58892C6.14128 9.60215 7.42292 10.139 8.8656 10.139C9.37557 10.139 9.8587 10.0719 10.3083 9.93095C10.4962 9.87727 10.6706 9.81688 10.8384 9.74307L13.1869 12.1386Z",fill:"currentColor"}),m("path",{d:"M13.3144 8.2333L12.2744 7.1731L12.1871 7.08586L12.261 6.98521C12.469 6.68325 12.63 6.35446 12.724 5.97869C12.8313 5.60963 12.8783 5.24728 12.8783 4.85809C12.8783 4.02604 12.6501 3.26779 12.214 2.61019C12.0731 2.38876 11.9053 2.17403 11.704 1.97273C10.9189 1.17422 9.98621 0.785034 8.85891 0.785034C7.7316 0.785034 6.79889 1.18764 6.0138 1.97944C5.84605 2.1539 5.69843 2.33508 5.56422 2.52296C5.0878 3.20069 4.84624 3.97906 4.84624 4.8648C4.84624 5.97869 5.24885 6.94495 6.0138 7.73675C6.79218 8.52854 7.74502 8.92444 8.85891 8.92444C9.24809 8.92444 9.61715 8.87076 9.95266 8.77011C10.315 8.66275 10.6371 8.50841 10.9525 8.28698L11.0464 8.21988L11.1336 8.30711L13.3144 10.5349L14.0593 11.2864L15.2 10.1524L13.3144 8.2333ZM10.5633 6.5826C10.0869 7.05231 9.5165 7.28717 8.85891 7.28717C8.20131 7.28717 7.63095 7.05231 7.16795 6.5826C6.71166 6.10618 6.47009 5.52911 6.47009 4.85809C6.47009 4.18708 6.71166 3.59659 7.16795 3.13359C7.44306 2.83834 7.77186 2.63703 8.13421 2.52296C8.35564 2.44915 8.60392 2.4156 8.85891 2.4156C9.11389 2.4156 9.36217 2.44915 9.5836 2.52296C9.94595 2.63703 10.2747 2.83834 10.5633 3.13359C11.0129 3.6033 11.2477 4.18708 11.2477 4.85809C11.2477 5.52911 11.0129 6.10618 10.5633 6.5826Z",fill:"currentColor"})]}),m("defs",{children:m("clipPath",{id:"clip0_21669_68418",children:m("rect",{fill:"white",height:"16",width:"16"})})})]})}import{jsx as t1,jsxs as b1}from"react/jsx-runtime";function E(){return b1("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[t1("path",{d:"M10.3852 1.31957C10.0455 0.973222 9.62592 0.800049 9.13305 0.800049H3.36504C2.87216 0.800049 2.45921 0.973222 2.11287 1.31957C1.77318 1.65925 1.60001 2.07886 1.60001 2.56508V10.3379C1.60001 10.8241 1.77318 11.2437 2.11287 11.5834C2.45255 11.9231 2.87216 12.1029 3.36504 12.1029H9.13305C9.62592 12.1029 10.0455 11.9297 10.3852 11.5834C10.7316 11.2437 10.8981 10.8241 10.8981 10.3379V2.56508C10.8981 2.07886 10.7316 1.65925 10.3852 1.31957ZM7.36135 9.72512H3.63146V8.39302H7.36135V9.72512ZM8.87329 7.1142H3.63146V5.7821H8.87329V7.1142ZM8.87329 4.50995H3.63146V3.17785H8.87329V4.50995Z",fill:"currentColor"}),t1("path",{d:"M4.69714 15.2001V13.435H12.2302V3.89722H13.9952V13.4284C13.9952 13.9213 13.822 14.3342 13.4824 14.6806C13.1427 15.0202 12.7231 15.1934 12.2302 15.1934H4.69714V15.2001Z",fill:"currentColor"})]})}import{jsx as o1,jsxs as P1}from"react/jsx-runtime";function N(){return P1("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[o1("path",{clipRule:"evenodd",d:"M9.11003 0.226492C8.74585 -0.0186302 8.28362 -0.0676546 7.87742 0.0934257L1.83341 2.51663C1.32916 2.71273 1 3.20298 1 3.74225V15.319C1 15.6342 1.25913 15.8863 1.56728 15.8863H9.12404C9.43919 15.8863 9.69132 15.6342 9.69132 15.319V1.32604C9.69132 0.884821 9.47421 0.471614 9.11003 0.226492ZM7.6323 13.0569H3.06603V11.5301H7.6323V13.0569ZM7.6323 10.0244H3.06603V8.50462H7.6323V10.0244ZM7.6323 6.97786H3.06603V5.4581H7.6323V6.97786Z",fill:"currentColor",fillRule:"evenodd"}),o1("path",{clipRule:"evenodd",d:"M11.2181 4.17651V15.3261C11.2181 15.5292 11.1761 15.7183 11.092 15.8934H14.4327C14.7479 15.8934 15 15.6412 15 15.3261V5.50017C15 4.77181 14.4047 4.17651 13.6763 4.17651H11.2181Z",fill:"currentColor",fillRule:"evenodd"})]})}import{jsx as e}from"react/jsx-runtime";function r1({name:t}){switch(t){case"agenda":return e(y,{});case"contencioso":return e(b,{});case"contrato":return e(P,{});case"consultivo":return e(M,{});case"xsigner":return e(Z,{});case"procuracao":return e(S,{});case"xpay":return e(W,{});case"imobiliario":return e(H,{});case"marcasepatentes":return e(I,{});case"ged":return e(V,{});case"regulatorio":return e(A,{});case"compliance":return e(L,{});case"xlearning":return e(B,{});case"societario":return e(R,{});case"audiencia":return e(D,{});case"pericia":return e(T,{});case"custom_contrato":return e(E,{});case"filial":return e(N,{});default:return null}}import{jsx as i1}from"react/jsx-runtime";function z({className:t,filled:c=!1,name:a,...u}){return X.includes(a)?i1(r1,{name:a}):i1("span",{...u,className:V1("material-symbols-outlined","text-size-body-lg select-none",t),style:{fontVariationSettings:`'FILL' ${c?1:0}, 'wght' 600, 'GRAD' 0, 'opsz' 20`,...u.style},children:a})}import{jsx as Pe}from"react/jsx-runtime";import{cx as Ie}from"@xjur-ui/util";import{jsx as Ae}from"react/jsx-runtime";import{cx as Fe}from"@xjur-ui/util";import{jsx as Re}from"react/jsx-runtime";import{jsx as n1,jsxs as I1}from"react/jsx-runtime";function at({children:t=I1(_,{appearance:"ghost",className:"border-border-layer-2 border",variant:"secondary",children:[n1(z,{className:"text-icon-neutral-3",name:"add"}),"Adicionar"]}),asChild:c=!0,...a}){return n1(x,{asChild:c,...a,children:t})}export{at as EmpresaTrigger};
@@ -1 +1 @@
1
- import"react";import"react";import*as u from"@radix-ui/react-dialog";import{jsx as g}from"react/jsx-runtime";function a({...t}){return g(u.Root,{"data-slot":"sheet",...t})}import*as M from"@radix-ui/react-dialog";import{tv as W}from"@xjur-ui/util";import*as v from"@radix-ui/react-dialog";import{jsx as R}from"react/jsx-runtime";import*as w from"@radix-ui/react-dialog";import{cx as F}from"@xjur-ui/util";import{jsx as z}from"react/jsx-runtime";import{jsx as q,jsxs as $}from"react/jsx-runtime";import*as x from"@radix-ui/react-dialog";import{jsx as Q}from"react/jsx-runtime";import{cx as e1}from"@xjur-ui/util";import*as y from"@radix-ui/react-dialog";import{jsx as o1}from"react/jsx-runtime";import{cx as n1}from"@xjur-ui/util";import{jsx as s1}from"react/jsx-runtime";import*as D from"@radix-ui/react-dialog";import{Slot as d1}from"@radix-ui/react-slot";import{cva as b,cx as h1}from"@xjur-ui/util";import{jsx as C1}from"react/jsx-runtime";var m1=b(["outline-none inline-flex items-center justify-center rounded-circle gap-small cursor-pointer disabled:opacity-38 disabled:pointer-events-none transition-colors"],{variants:{size:{md:"py-small_1x-alt px-medium text-size-body-md",sm:"py-small-1x px-small text-size-label-sm",icon_md:"p-small text-size-body-md h-large-4x w-large-4x",icon_sm:"p-small-1x text-size-label-sm h-large-2x w-large-2x"},variant:{primary:"",secondary:"",tertiary:"",destructive:"",outlined:"bg-layer-2-idle border border-border-layer-2 hover:bg-layer-2-hover active:bg-layer-2-pressed"},appearance:{solid:"",ghost:"bg-transparent"}},compoundVariants:[{variant:"primary",appearance:"solid",class:"bg-primary-idle text-neutral-label hover:bg-primary-hover active:bg-primary-pressed"},{variant:"primary",appearance:"ghost",class:"text-primary-idle hover:bg-primary-alt-idle active:bg-primary-alt-pressed"},{variant:"secondary",appearance:"solid",class:"bg-layer-1-hover text-neutral-dark hover:bg-layer-1-pressed active:bg-layer-1-active"},{variant:"secondary",appearance:"ghost",class:"hover:bg-layer-1-hover active:bg-layer-1-pressed"},{variant:"tertiary",appearance:"solid",class:"bg-layer-2-hover text-neutral-dark hover:bg-layer-2-pressed active:bg-layer-2-active"},{variant:"tertiary",appearance:"ghost",class:"hover:bg-layer-2-hover active:bg-layer-2-pressed"},{variant:"destructive",appearance:"solid",class:"bg-danger-idle text-neutral-label hover:bg-danger-hover active:bg-danger-pressed"},{variant:"destructive",appearance:"ghost",class:"text-danger-label-idle hover:bg-danger-alt-idle active:bg-danger-alt-pressed"}],defaultVariants:{size:"md",variant:"primary",appearance:"solid"}});import{cx as We}from"@xjur-ui/util";import{jsx as v1,jsxs as w1}from"react/jsx-runtime";import{jsx as M1,jsxs as x1}from"react/jsx-runtime";import{jsx as D1,jsxs as P1}from"react/jsx-runtime";import{jsx as S1,jsxs as I1}from"react/jsx-runtime";import{jsx as R1,jsxs as Z1}from"react/jsx-runtime";import{jsx as T1,jsxs as z1}from"react/jsx-runtime";import{jsx as W1,jsxs as O1}from"react/jsx-runtime";import{jsx as q1,jsxs as $1}from"react/jsx-runtime";import{jsx as Q1,jsxs as U1}from"react/jsx-runtime";import{jsx as te,jsxs as oe}from"react/jsx-runtime";import{jsx as ne,jsxs as ae}from"react/jsx-runtime";import{jsx as pe,jsxs as de}from"react/jsx-runtime";import{jsx as je}from"react/jsx-runtime";import{jsx as qe}from"react/jsx-runtime";import{jsx as tt}from"react/jsx-runtime";import{cx as it}from"@xjur-ui/util";import{jsx as at}from"react/jsx-runtime";import{cx as pt}from"@xjur-ui/util";import{jsx as ct}from"react/jsx-runtime";import{createContext as P,useCallback as C,useContext as It,useState as s,useMemo as V}from"react";import{jsx as H}from"react/jsx-runtime";var l=P({});function f({children:t}){let[e,r]=s("list"),[o,i]=s(!1),[d,c]=s([]),h=C(n=>{r(n)},[]),m=C(()=>{i(n=>!n)},[]),k=V(()=>({currentView:e,changeCurrentView:h,isFullscreen:o,changeIsFullscreen:m,empresas:d,setEmpresas:c}),[e,h,o,m,d,c]);return H(l.Provider,{value:k,children:t})}import{jsx as p}from"react/jsx-runtime";function Ft({onOpenChange:t,children:e,...r}){return p(f,{children:p(l.Consumer,{children:o=>p(a,{onOpenChange:i=>{o.changeCurrentView("list"),t?.(i)},...r,children:typeof e=="function"?e(o):e})})})}export{Ft as EmpresaRoot};
1
+ import"react";import"react";import*as m from"@radix-ui/react-dialog";import{jsx as k}from"react/jsx-runtime";function a({...t}){return k(m.Root,{"data-slot":"sheet",...t})}import*as y from"@radix-ui/react-dialog";import{tv as O}from"@xjur-ui/util";import*as v from"@radix-ui/react-dialog";import{jsx as Z}from"react/jsx-runtime";import*as w from"@radix-ui/react-dialog";import{cx as B}from"@xjur-ui/util";import{jsx as T}from"react/jsx-runtime";import{jsx as q,jsxs as U}from"react/jsx-runtime";import*as L from"@radix-ui/react-dialog";import{jsx as K}from"react/jsx-runtime";import{cx as e1}from"@xjur-ui/util";import*as M from"@radix-ui/react-dialog";import{jsx as o1}from"react/jsx-runtime";import{cx as n1}from"@xjur-ui/util";import{jsx as s1}from"react/jsx-runtime";import*as P from"@radix-ui/react-dialog";import{Slot as p1}from"@radix-ui/react-slot";import{cva as b,cx as C1}from"@xjur-ui/util";import{jsx as u1}from"react/jsx-runtime";var h1=b(["outline-none inline-flex items-center justify-center rounded-circle gap-small cursor-pointer disabled:opacity-38 disabled:pointer-events-none transition-colors"],{variants:{size:{md:"py-small_1x-alt px-medium text-size-body-md",sm:"py-small-1x px-small text-size-label-sm",icon_md:"p-small text-size-body-md h-large-4x w-large-4x",icon_sm:"p-small-1x text-size-label-sm h-large-2x w-large-2x"},variant:{primary:"",secondary:"",tertiary:"",destructive:"",outlined:"bg-layer-2-idle border border-border-layer-2 hover:bg-layer-2-hover active:bg-layer-2-pressed"},appearance:{solid:"",ghost:"bg-transparent"}},compoundVariants:[{variant:"primary",appearance:"solid",class:"bg-primary-idle text-neutral-label hover:bg-primary-hover active:bg-primary-pressed"},{variant:"primary",appearance:"ghost",class:"text-primary-idle hover:bg-primary-alt-idle active:bg-primary-alt-pressed"},{variant:"secondary",appearance:"solid",class:"bg-layer-1-hover text-neutral-dark hover:bg-layer-1-pressed active:bg-layer-1-active"},{variant:"secondary",appearance:"ghost",class:"hover:bg-layer-1-hover active:bg-layer-1-pressed"},{variant:"tertiary",appearance:"solid",class:"bg-layer-2-hover text-neutral-dark hover:bg-layer-2-pressed active:bg-layer-2-active"},{variant:"tertiary",appearance:"ghost",class:"hover:bg-layer-2-hover active:bg-layer-2-pressed"},{variant:"destructive",appearance:"solid",class:"bg-danger-idle text-neutral-label hover:bg-danger-hover active:bg-danger-pressed"},{variant:"destructive",appearance:"ghost",class:"text-danger-label-idle hover:bg-danger-alt-idle active:bg-danger-alt-pressed"}],defaultVariants:{size:"md",variant:"primary",appearance:"solid"}});import{cx as Mt}from"@xjur-ui/util";import{jsx as v1,jsxs as w1}from"react/jsx-runtime";import{jsx as y1,jsxs as L1}from"react/jsx-runtime";import{jsx as P1,jsxs as V1}from"react/jsx-runtime";import{jsx as I1,jsxs as A1}from"react/jsx-runtime";import{jsx as Z1,jsxs as R1}from"react/jsx-runtime";import{jsx as D1,jsxs as T1}from"react/jsx-runtime";import{jsx as O1,jsxs as j1}from"react/jsx-runtime";import{jsx as q1,jsxs as U1}from"react/jsx-runtime";import{jsx as K1,jsxs as Q1}from"react/jsx-runtime";import{jsx as te,jsxs as oe}from"react/jsx-runtime";import{jsx as ne,jsxs as ae}from"react/jsx-runtime";import{jsx as de,jsxs as pe}from"react/jsx-runtime";import{jsx as he,jsxs as me}from"react/jsx-runtime";import{jsx as ge,jsxs as ke}from"react/jsx-runtime";import{jsx as _e,jsxs as xe}from"react/jsx-runtime";import{jsx as Me,jsxs as be}from"react/jsx-runtime";import{jsx as He,jsxs as Se}from"react/jsx-runtime";import{jsx as Fe,jsxs as We}from"react/jsx-runtime";import{jsx as vt}from"react/jsx-runtime";import{jsx as Ht}from"react/jsx-runtime";import{jsx as Et}from"react/jsx-runtime";import{cx as Tt}from"@xjur-ui/util";import{jsx as zt}from"react/jsx-runtime";import{cx as Xt}from"@xjur-ui/util";import{jsx as qt}from"react/jsx-runtime";import{createContext as V,useCallback as u,useContext as m2,useState as s,useMemo as H}from"react";import{jsx as S}from"react/jsx-runtime";var l=V({});function f({children:t}){let[e,r]=s("list"),[o,i]=s(!1),[p,c]=s([]),C=u(n=>{r(n)},[]),h=u(()=>{i(n=>!n)},[]),g=H(()=>({currentView:e,changeCurrentView:C,isFullscreen:o,changeIsFullscreen:h,empresas:p,setEmpresas:c}),[e,C,o,h,p,c]);return S(l.Provider,{value:g,children:t})}import{jsx as d}from"react/jsx-runtime";function w2({onOpenChange:t,children:e,...r}){return d(f,{children:d(l.Consumer,{children:o=>d(a,{onOpenChange:i=>{o.changeCurrentView("list"),t?.(i)},...r,children:typeof e=="function"?e(o):e})})})}export{w2 as EmpresaRoot};
@@ -1 +1 @@
1
- import"react";import"react";import*as ct from"@radix-ui/react-dialog";import{jsx as eo}from"react/jsx-runtime";function ke({...e}){return eo(ct.Root,{"data-slot":"sheet",...e})}import*as ht from"@radix-ui/react-dialog";import{tv as ao}from"@xjur-ui/util";import*as mt from"@radix-ui/react-dialog";import{jsx as to}from"react/jsx-runtime";function we({...e}){return to(mt.Portal,{"data-slot":"sheet-portal",...e})}import*as ut from"@radix-ui/react-dialog";import{cx as oo}from"@xjur-ui/util";import{jsx as ro}from"react/jsx-runtime";function Pe({className:e,...t}){return ro(ut.Overlay,{className:oo("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50",e),"data-slot":"sheet-overlay",...t})}import{jsx as ft,jsxs as io}from"react/jsx-runtime";function Se({className:e,children:t,side:r="right",overlay:o=!1,...i}){let n=ao({base:["border-border-layer-2 bg-layer-2-idle shadow-elevation-2 fixed z-50 flex flex-col gap-medium","data-[state=open]:animate-in data-[state=closed]:animate-out transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500"],variants:{side:{right:"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full border-l sm:max-w-sm",left:"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full border-r sm:max-w-sm",top:"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",bottom:"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t"}},defaultVariants:{side:"right"}});return io(we,{children:[o&&ft(Pe,{}),ft(ht.Content,{className:n({side:r,className:e}),"data-slot":"sheet-content",...i,children:t})]})}import*as gt from"@radix-ui/react-dialog";import{jsx as no}from"react/jsx-runtime";function Le({...e}){return no(gt.Trigger,{"data-slot":"sheet-trigger",...e})}import{cx as lo}from"@xjur-ui/util";import*as Ct from"@radix-ui/react-dialog";import{jsx as so}from"react/jsx-runtime";function Te({className:e,...t}){return so(Ct.Title,{className:lo("text-size-title-lg font-normal",e),"data-slot":"sheet-title",...t})}import{cx as po}from"@xjur-ui/util";import{jsx as co}from"react/jsx-runtime";function Me({className:e,...t}){return co("div",{className:po("py-large px-large-2x border-b-border-layer-2 border-b",e),"data-slot":"sheet-header",...t})}import*as Mt from"@radix-ui/react-dialog";import{Slot as mo}from"@radix-ui/react-slot";import{cva as uo,cx as fo}from"@xjur-ui/util";import{jsx as go}from"react/jsx-runtime";var ho=uo(["outline-none inline-flex items-center justify-center rounded-circle gap-small cursor-pointer disabled:opacity-38 disabled:pointer-events-none transition-colors"],{variants:{size:{md:"py-small_1x-alt px-medium text-size-body-md",sm:"py-small-1x px-small text-size-label-sm",icon_md:"p-small text-size-body-md h-large-4x w-large-4x",icon_sm:"p-small-1x text-size-label-sm h-large-2x w-large-2x"},variant:{primary:"",secondary:"",tertiary:"",destructive:"",outlined:"bg-layer-2-idle border border-border-layer-2 hover:bg-layer-2-hover active:bg-layer-2-pressed"},appearance:{solid:"",ghost:"bg-transparent"}},compoundVariants:[{variant:"primary",appearance:"solid",class:"bg-primary-idle text-neutral-label hover:bg-primary-hover active:bg-primary-pressed"},{variant:"primary",appearance:"ghost",class:"text-primary-idle hover:bg-primary-alt-idle active:bg-primary-alt-pressed"},{variant:"secondary",appearance:"solid",class:"bg-layer-1-hover text-neutral-dark hover:bg-layer-1-pressed active:bg-layer-1-active"},{variant:"secondary",appearance:"ghost",class:"hover:bg-layer-1-hover active:bg-layer-1-pressed"},{variant:"tertiary",appearance:"solid",class:"bg-layer-2-hover text-neutral-dark hover:bg-layer-2-pressed active:bg-layer-2-active"},{variant:"tertiary",appearance:"ghost",class:"hover:bg-layer-2-hover active:bg-layer-2-pressed"},{variant:"destructive",appearance:"solid",class:"bg-danger-idle text-neutral-label hover:bg-danger-hover active:bg-danger-pressed"},{variant:"destructive",appearance:"ghost",class:"text-danger-label-idle hover:bg-danger-alt-idle active:bg-danger-alt-pressed"}],defaultVariants:{size:"md",variant:"primary",appearance:"solid"}});function V({asChild:e,className:t,variant:r="primary",size:o="md",appearance:i="solid",...n}){return go(e?mo:"button",{className:fo(ho({variant:r,appearance:i,size:o}),t),...n})}import{cx as ko}from"@xjur-ui/util";var bt=["agenda","contencioso","contrato","consultivo","xsigner","procuracao","xpay","imobiliario","marcasepatentes","ged","regulatorio","compliance"];import{jsx as L,jsxs as Co}from"react/jsx-runtime";function _e(){return Co("svg",{fill:"none",height:"22",viewBox:"0 0 22 22",width:"22",xmlns:"http://www.w3.org/2000/svg",children:[L("path",{d:"M6.58375 12.5205H5.25168C4.7443 12.5205 4.33301 12.1092 4.33301 11.6018V10.2697C4.33301 9.76236 4.7443 9.35107 5.25168 9.35107H6.58375C7.09113 9.35107 7.50242 9.76236 7.50242 10.2697V11.6018C7.50246 12.1092 7.09113 12.5205 6.58375 12.5205Z",fill:"#E87D30"}),L("path",{d:"M11.4196 12.5205H10.0876C9.58023 12.5205 9.16895 12.1092 9.16895 11.6018V10.2697C9.16895 9.76236 9.58023 9.35107 10.0876 9.35107H11.4197C11.9271 9.35107 12.3384 9.76236 12.3384 10.2697V11.6018C12.3384 12.1092 11.927 12.5205 11.4196 12.5205Z",fill:"#E87D30"}),L("path",{d:"M16.2566 12.5205H14.9245C14.4171 12.5205 14.0059 12.1092 14.0059 11.6018V10.2697C14.0059 9.76236 14.4171 9.35107 14.9245 9.35107H16.2566C16.764 9.35107 17.1753 9.76236 17.1753 10.2697V11.6018C17.1753 12.1092 16.7639 12.5205 16.2566 12.5205Z",fill:"#E87D30"}),L("path",{d:"M6.58375 17.3564H5.25168C4.7443 17.3564 4.33301 16.9451 4.33301 16.4378V15.1057C4.33301 14.5983 4.7443 14.187 5.25168 14.187H6.58375C7.09113 14.187 7.50242 14.5983 7.50242 15.1057V16.4378C7.50246 16.9451 7.09113 17.3564 6.58375 17.3564Z",fill:"#E87D30"}),L("path",{d:"M16.2566 17.3564H14.9245C14.4171 17.3564 14.0059 16.9451 14.0059 16.4378V15.1057C14.0059 14.5983 14.4171 14.187 14.9245 14.187H16.2566C16.764 14.187 17.1753 14.5983 17.1753 15.1057V16.4378C17.1753 16.9451 16.7639 17.3564 16.2566 17.3564Z",fill:"#E87D30"}),L("path",{d:"M11.4196 17.3564H10.0876C9.58023 17.3564 9.16895 16.9451 9.16895 16.4378V15.1057C9.16895 14.5983 9.58023 14.187 10.0876 14.187H11.4197C11.9271 14.187 12.3384 14.5983 12.3384 15.1057V16.4378C12.3384 16.9451 11.927 17.3564 11.4196 17.3564Z",fill:"#E87D30"}),L("path",{d:"M5.47641 4.66531C4.87727 4.66531 4.3916 4.17965 4.3916 3.58051V2.58188C4.3916 1.98277 4.87727 1.49707 5.47641 1.49707C6.07551 1.49707 6.56121 1.98273 6.56121 2.58188V3.58051C6.56117 4.17965 6.07551 4.66531 5.47641 4.66531Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),L("path",{d:"M16.5243 4.66531C15.9252 4.66531 15.4395 4.17965 15.4395 3.58051V2.58188C15.4395 1.98277 15.9251 1.49707 16.5243 1.49707C17.1234 1.49707 17.6091 1.98273 17.6091 2.58188V3.58051C17.609 4.17965 17.1234 4.66531 16.5243 4.66531Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),L("path",{d:"M15.3309 2.96387H6.74414",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),L("path",{d:"M4.1143 2.96387H2.98582C2.12641 2.96387 1.42969 3.66059 1.42969 4.52004V6.73563H20.5703V4.52004C20.5703 3.66059 19.8736 2.96391 19.0142 2.96391H17.9235",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),L("path",{d:"M20.5703 6.26904V18.9471C20.5703 19.8065 19.8736 20.5032 19.0142 20.5032H2.98582C2.12641 20.5032 1.42969 19.8065 1.42969 18.9471V6.26904",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),L("path",{d:"M1.58301 6.73584H20.5014",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as R,jsxs as vt}from"react/jsx-runtime";function Re(){return vt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[vt("g",{clipPath:"url(#clip0_19548_42822)",children:[R("path",{d:"M2.34375 16.0938V11.5625",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),R("path",{d:"M2.34375 8.4375V3.90625",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),R("path",{d:"M17.6562 3.90625H8.4375C7.57457 3.90625 6.875 3.20668 6.875 2.34375C6.875 1.48082 7.57457 0.78125 8.4375 0.78125H17.6562C18.5192 0.78125 19.2188 1.48082 19.2188 2.34375C19.2188 3.20668 18.5192 3.90625 17.6562 3.90625Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),R("path",{d:"M17.6562 11.5625H8.4375C7.57457 11.5625 6.875 10.8629 6.875 10C6.875 9.13707 7.57457 8.4375 8.4375 8.4375H17.6562C18.5192 8.4375 19.2188 9.13707 19.2188 10C19.2188 10.8629 18.5192 11.5625 17.6562 11.5625Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),R("path",{d:"M17.6562 19.2188H8.4375C7.57457 19.2188 6.875 18.5192 6.875 17.6562C6.875 16.7933 7.57457 16.0938 8.4375 16.0938H17.6562C18.5192 16.0938 19.2188 16.7933 19.2188 17.6562C19.2188 18.5192 18.5192 19.2188 17.6562 19.2188Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),R("path",{d:"M2.34375 3.90625C3.20669 3.90625 3.90625 3.20669 3.90625 2.34375C3.90625 1.48081 3.20669 0.78125 2.34375 0.78125C1.48081 0.78125 0.78125 1.48081 0.78125 2.34375C0.78125 3.20669 1.48081 3.90625 2.34375 3.90625Z",stroke:"#E53C4D",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),R("path",{d:"M2.34375 11.5625C3.20669 11.5625 3.90625 10.8629 3.90625 10C3.90625 9.13706 3.20669 8.4375 2.34375 8.4375C1.48081 8.4375 0.78125 9.13706 0.78125 10C0.78125 10.8629 1.48081 11.5625 2.34375 11.5625Z",stroke:"#DF9F20",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),R("path",{d:"M2.34375 19.2188C3.20669 19.2188 3.90625 18.5192 3.90625 17.6562C3.90625 16.7933 3.20669 16.0938 2.34375 16.0938C1.48081 16.0938 0.78125 16.7933 0.78125 17.6562C0.78125 18.5192 1.48081 19.2188 2.34375 19.2188Z",stroke:"#169C55",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]}),R("defs",{children:R("clipPath",{id:"clip0_19548_42822",children:R("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as ne,jsxs as bo}from"react/jsx-runtime";function Ve(){return bo("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[ne("path",{d:"M13.6137 17.9167V19.5703H0.429688V4.04336L4.00367 0.429688H13.6137V2.91667",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),ne("path",{d:"M14.1667 12.5L19.2212 17.5367C19.6866 18.0021 19.6866 18.756 19.2212 19.2214C18.9885 19.454 18.6837 19.5704 18.3789 19.5704C18.0741 19.5704 17.7693 19.454 17.5366 19.2214L12.5 14.1667",fill:"#9944E4"}),ne("path",{d:"M0.429688 4.04336H4.00367V0.429688",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),ne("path",{d:"M10 5.08301C12.746 5.08322 14.9961 7.31131 14.9961 10.04C14.9959 12.7686 12.7458 14.9959 10 14.9961C7.26268 14.9961 5.04318 12.7773 5.04297 10.04C5.04297 7.30256 7.26252 5.08301 10 5.08301Z",stroke:"#9944E4",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"2"})]})}import{jsx as w,jsxs as xt}from"react/jsx-runtime";function Ne(){return xt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[xt("g",{clipPath:"url(#clip0_19548_42667)",children:[w("path",{d:"M5.85656 10.9769C5.85656 12.4754 4.64172 13.6903 3.14312 13.6903C1.64453 13.6903 0.429688 12.4754 0.429688 10.9769M5.85656 10.9769L3.14312 4.49072L0.429688 10.9769M5.85656 10.9769H0.429688",stroke:"#377BD4",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),w("path",{d:"M2.91699 13.7501C1.25033 13.7501 0.555881 11.8056 0.416992 10.8334C2.22255 10.6945 5.83366 10.5834 5.83366 11.2501C5.83366 12.0834 5.00033 13.7501 2.91699 13.7501Z",fill:"#377BD4"}),w("path",{d:"M16.667 13.7501C15.0003 13.7501 14.3059 11.8056 14.167 10.8334C15.9725 10.6945 19.5837 10.5834 19.5837 11.2501C19.5837 12.0834 18.7503 13.7501 16.667 13.7501Z",fill:"#377BD4"}),w("path",{d:"M14.1436 10.9769C14.1436 12.4754 15.3584 13.6903 16.857 13.6903C18.3556 13.6903 19.5704 12.4754 19.5704 10.9769M14.1436 10.9769L16.857 4.49072L19.5704 10.9769M14.1436 10.9769H19.5704",stroke:"#377BD4",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),w("path",{d:"M9.02344 13.5156V1.40625C9.02344 0.869141 9.46289 0.429688 10 0.429688C10.5371 0.429688 10.9766 0.869141 10.9766 1.40625V13.5156",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),w("path",{d:"M8.70012 2.38281H7.07113L5.15879 4.29512H1.12746L0.429688 3.59734",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),w("path",{clipRule:"evenodd",d:"M5.3125 19.5703H14.6875V18.0078L13.9062 17.2266H6.09371L5.3125 18.0078V19.5703Z",fillRule:"evenodd",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),w("path",{d:"M12.8947 17.0313V14.4922L12.1134 13.7109H7.88672L7.10547 14.4922V17.0313",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),w("path",{d:"M9.21875 3.43164H10.7812",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),w("path",{d:"M11.2998 2.38281H12.9288L14.8411 4.29512H18.8725L19.5702 3.59734",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"})]}),w("defs",{children:w("clipPath",{id:"clip0_19548_42667",children:w("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as E,jsxs as vo}from"react/jsx-runtime";function ze(){return vo("svg",{fill:"none",height:"20",viewBox:"0 0 16 20",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[E("path",{d:"M12.7851 2.98193C12.7851 2.98193 13.4231 2.98193 14.0612 2.98193C14.7659 2.98193 15.3372 3.5533 15.3372 4.25799C15.3372 7.34791 15.3372 15.2045 15.3372 18.2944C15.3372 18.9991 14.7659 19.5705 14.0612 19.5705C11.7324 19.5705 6.81965 19.5705 4.49086 19.5705C4.15238 19.5705 3.82797 19.4362 3.58871 19.1966C3.34914 18.9574 3.21484 18.6329 3.21484 18.2945C3.21484 17.6565 3.21484 17.0184 3.21484 17.0184",fill:"#EA5081"}),E("path",{d:"M12.7851 2.98193C12.7851 2.98193 13.4231 2.98193 14.0612 2.98193C14.7659 2.98193 15.3372 3.5533 15.3372 4.25799C15.3372 7.34791 15.3372 15.2045 15.3372 18.2944C15.3372 18.9991 14.7659 19.5705 14.0612 19.5705C11.7324 19.5705 6.81965 19.5705 4.49086 19.5705C4.15238 19.5705 3.82797 19.4362 3.58871 19.1966C3.34914 18.9574 3.21484 18.6329 3.21484 18.2945C3.21484 17.6565 3.21484 17.0184 3.21484 17.0184",stroke:"#EA5081",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),E("path",{d:"M0.663086 4.25781L4.49121 0.429688C4.49121 0.429688 9.18352 0.429688 11.5095 0.429688C12.2141 0.429688 12.7855 1.00105 12.7855 1.70574C12.7855 4.79566 12.7855 12.6523 12.7855 15.7422C12.7855 16.4469 12.2142 17.0182 11.5095 17.0182C9.18067 17.0182 4.26793 17.0182 1.93914 17.0182C1.23445 17.0182 0.663086 16.4469 0.663086 15.7422C0.663086 12.5103 0.663086 4.25781 0.663086 4.25781Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),E("path",{d:"M0.663086 4.89586C0.663086 4.89586 2.53313 4.89586 3.8532 4.89586C4.55789 4.89586 5.12926 4.32449 5.12926 3.6198C5.12926 2.29973 5.12926 0.429688 5.12926 0.429688",stroke:"#3D3D47",strokeMiterlimit:"10"}),E("path",{d:"M3.85352 8.08594H9.5957",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),E("path",{d:"M3.85352 10.6382H9.5957",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),E("path",{d:"M3.85352 13.1899H7.04363",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]})}import{jsx as A,jsxs as yt}from"react/jsx-runtime";function He(){return yt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[yt("g",{clipPath:"url(#clip0_19548_42803)",children:[A("path",{d:"M19.5703 4.8957V15.1043C19.5703 13.9613 19.1344 12.8184 18.2621 11.9461C16.518 10.202 13.6902 10.202 11.9461 11.9461C10.5742 13.318 10.2812 15.3602 11.068 17.0184H1.70586C1.36719 17.0184 1.04258 16.8836 0.803516 16.6445C0.564453 16.4055 0.429688 16.0805 0.429688 15.7422V1.70586C0.429688 1.36719 0.564062 1.04258 0.803516 0.803516C1.04258 0.564062 1.36719 0.429688 1.70586 0.429688H8.08594L11.2762 3.61992H18.2941C18.9988 3.61992 19.5703 4.19102 19.5703 4.8957Z",fill:"#F7BC0F"}),A("path",{d:"M15.1047 19.5702C17.5712 19.5702 19.5707 17.5707 19.5707 15.1042C19.5707 12.6377 17.5712 10.6382 15.1047 10.6382C12.6382 10.6382 10.6387 12.6377 10.6387 15.1042C10.6387 17.5707 12.6382 19.5702 15.1047 19.5702Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round"}),A("path",{d:"M13.5098 15.1043L14.7859 16.3801L16.7 13.8281",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round"})]}),A("defs",{children:A("clipPath",{id:"clip0_19548_42803",children:A("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as O,jsxs as kt}from"react/jsx-runtime";function De(){return kt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[kt("g",{clipPath:"url(#clip0_19548_42782)",children:[O("path",{d:"M0.429688 11.5007L10.1218 0.511719L19.5703 11.3059",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),O("path",{d:"M17.3304 8.78764V19.4883H2.89551V8.66553",stroke:"#3D3D47",strokeLinejoin:"round",strokeMiterlimit:"10"}),O("path",{d:"M6.93305 12.366L9.96977 16.1929L13.0492 12.3751C13.4256 11.7457 13.6244 11.026 13.6244 10.2927C13.6244 8.28998 12.0009 6.6665 9.99824 6.6665C7.99555 6.6665 6.37207 8.28998 6.37207 10.2927V10.3077C6.37207 11.0316 6.56574 11.7422 6.93305 12.366Z",fill:"#EB3B3B",stroke:"#EB3B3B",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),O("path",{d:"M9.97016 11.6454C10.6769 11.6454 11.2499 11.0724 11.2499 10.3657C11.2499 9.65889 10.6769 9.08594 9.97016 9.08594C9.26338 9.08594 8.69043 9.65889 8.69043 10.3657C8.69043 11.0724 9.26338 11.6454 9.97016 11.6454Z",fill:"white",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]}),O("defs",{children:O("clipPath",{id:"clip0_19548_42782",children:O("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as le,jsxs as xo}from"react/jsx-runtime";function Ie(){return xo("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[le("path",{d:"M4.60834 12L2 17.7972L4.86637 17.5931L6.55798 20L9.5 14",fill:"#3CA4E5"}),le("path",{d:"M10 14L12.7909 20L14.7241 17.2923L18 17.5218L15 11.5",fill:"#3CA4E5"}),le("path",{d:"M9.5 14C13.0899 14 16 11.0899 16 7.5C16 3.91015 13.0899 1 9.5 1C5.91015 1 3 3.91015 3 7.5C3 11.0899 5.91015 14 9.5 14Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),le("path",{d:"M9.5 11C11.433 11 13 9.433 13 7.5C13 5.567 11.433 4 9.5 4C7.567 4 6 5.567 6 7.5C6 9.433 7.567 11 9.5 11Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]})}import{jsx as H,jsxs as wt}from"react/jsx-runtime";function Ee(){return wt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[wt("g",{clipPath:"url(#clip0_19548_42757)",children:[H("path",{d:"M11.6672 0.429688H3.44824V6.25L16.5006 13",fill:"#649EFE"}),H("path",{d:"M11.667 0.416504L16.5524 4.9022V13.4998",fill:"#4787F2"}),H("path",{d:"M16.667 4.99984H11.667V0.416504",fill:"#B5D1FF"}),H("path",{d:"M16.5528 19.5699H3.44816C2.7902 19.5699 2.25684 19.0366 2.25684 18.3786L2.25684 7.89006C2.25684 7.23209 2.7902 6.69873 3.44816 6.69873H6.56918C6.86094 6.69873 7.14258 6.8058 7.36066 6.99963L17.3442 14.1785C17.5986 14.4046 17.7441 14.7286 17.7441 15.0689V18.3786C17.7441 19.0366 17.2107 19.5699 16.5528 19.5699Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),H("path",{d:"M8.21363 14.7256H4.63965V17.1877H8.21363V14.7256Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]}),H("defs",{children:H("clipPath",{id:"clip0_19548_42757",children:H("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as Z,jsxs as Pt}from"react/jsx-runtime";function Oe(){return Pt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Pt("g",{clipPath:"url(#clip0_19548_42810)",children:[Z("path",{d:"M14.5393 4.17742C13.2871 3.19988 11.7117 2.61719 10 2.61719C5.92258 2.61719 2.61719 5.92258 2.61719 10C2.61719 14.0774 5.92258 17.3828 10 17.3828C14.0774 17.3828 17.3828 14.0774 17.3828 10C17.3828 8.8416 17.1157 7.74566 16.6402 6.77",stroke:"#3D3D47",strokeLinejoin:"round",strokeMiterlimit:"10"}),Z("path",{d:"M16.0952 2.62152C14.4398 1.25246 12.316 0.429688 10 0.429688C4.71445 0.429688 0.429688 4.71445 0.429688 10C0.429688 15.2855 4.71445 19.5703 10 19.5703C15.2855 19.5703 19.5703 15.2855 19.5703 10C19.5703 8.23215 19.0904 6.57668 18.2546 5.15562",stroke:"#3D3D47",strokeLinejoin:"round",strokeMiterlimit:"10"}),Z("path",{d:"M16.8242 0.891113C17.217 0.570748 17.796 0.593369 18.1621 0.959473L20.5088 3.30615C20.8993 3.69668 20.8993 4.32969 20.5088 4.72021L10.6074 14.6216C10.4199 14.8091 10.1656 14.9145 9.90039 14.9146C9.63517 14.9146 9.3809 14.8091 9.19336 14.6216L4.29297 9.72217C3.90245 9.33165 3.90245 8.69765 4.29297 8.30713L6.63965 5.96045L6.71289 5.89404C6.8908 5.74831 7.11469 5.6675 7.34668 5.66748C7.61178 5.66748 7.8662 5.77307 8.05371 5.96045L9.90039 7.80713L16.748 0.959473L16.8242 0.891113Z",fill:"#3FCDBC",stroke:"white",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"2"})]}),Z("defs",{children:Z("clipPath",{id:"clip0_19548_42810",children:Z("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as N,jsxs as St}from"react/jsx-runtime";function Be(){return St("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[St("g",{clipPath:"url(#clip0_21377_57335)",children:[N("path",{d:"M0.429688 5.64217V3.30264C0.429688 2.68541 0.930156 2.18506 1.54754 2.18506H18.4525C19.0698 2.18506 19.5703 2.68541 19.5703 3.30264V5.64217",fill:"#4DA971"}),N("path",{d:"M0.429688 5.64217V3.30264C0.429688 2.68541 0.930156 2.18506 1.54754 2.18506H18.4525C19.0698 2.18506 19.5703 2.68541 19.5703 3.30264V5.64217",stroke:"#4DA971",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),N("path",{d:"M18.4526 17.8147H1.54738C0.930117 17.8147 0.429688 17.3142 0.429688 16.697V5.88112C0.429688 5.26382 0.930117 4.76343 1.54738 4.76343H18.4526C19.0699 4.76343 19.5703 5.26386 19.5703 5.88112V16.6969C19.5703 17.3142 19.0699 17.8147 18.4526 17.8147Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),N("path",{d:"M17.5117 14.2162V8.36195C16.6652 8.36195 15.979 7.67437 15.979 6.82617H4.02098C4.02098 7.67434 3.33477 8.36195 2.48828 8.36195V14.2162C3.33477 14.2162 4.02098 14.9037 4.02098 15.752H15.979C15.979 14.9037 16.6652 14.2162 17.5117 14.2162Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),N("path",{d:"M9.99953 13.2399C11.0747 13.2399 11.9463 12.3665 11.9463 11.2891C11.9463 10.2118 11.0747 9.33838 9.99953 9.33838C8.92434 9.33838 8.05273 10.2118 8.05273 11.2891C8.05273 12.3665 8.92434 13.2399 9.99953 13.2399Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),N("ellipse",{cx:"14.4277",cy:"11.2891",fill:"#3D3D47",rx:"0.429688",ry:"0.429687"}),N("ellipse",{cx:"5.57227",cy:"11.2891",fill:"#3D3D47",rx:"0.429688",ry:"0.429687"})]}),N("defs",{children:N("clipPath",{id:"clip0_21377_57335",children:N("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as j,jsxs as yo}from"react/jsx-runtime";function Fe(){return yo("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[j("path",{d:"M14.2862 6.43053L18.3624 3.85093C19.172 1.9095 19.564 0.436523 19.564 0.436523C19.564 0.436523 13.8492 1.38946 9.38516 5.85347L6.32865 8.90994C5.59048 9.64811 5.04572 10.5569 4.74258 11.5559L3.12988 16.8706L8.44457 15.2579C9.44353 14.9547 10.3523 14.41 11.0905 13.6718L14.147 10.6153C15.3515 9.41085 16.3467 7.90827 17.1411 6.43049L14.2862 6.43053Z",fill:"#A9B3BA"}),j("path",{d:"M11.8957 8.104L0.436523 19.5632",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),j("path",{d:"M10 13.333H12.5",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),j("path",{d:"M8.33301 5.83301L8.33301 8.33301",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),j("path",{d:"M5.58902 17.5465H2.4541V14.4116",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]})}import{jsx as T}from"react/jsx-runtime";function Lt({name:e}){switch(e){case"agenda":return T(_e,{});case"contencioso":return T(Ne,{});case"contrato":return T(ze,{});case"consultivo":return T(Ve,{});case"xsigner":return T(Fe,{});case"procuracao":return T(Ee,{});case"xpay":return T(Be,{});case"imobiliario":return T(De,{});case"marcasepatentes":return T(Ie,{});case"ged":return T(He,{});case"regulatorio":return T(Oe,{});case"compliance":return T(Re,{});default:return null}}import{jsx as Tt}from"react/jsx-runtime";function g({className:e,filled:t=!1,name:r,...o}){return bt.includes(r)?Tt(Lt,{name:r}):Tt("span",{...o,className:ko("material-symbols-outlined","text-size-body-lg select-none",e),style:{fontVariationSettings:`'FILL' ${t?1:0}, 'wght' 600, 'GRAD' 0, 'opsz' 20`,...o.style},children:r})}import{jsx as Ae}from"react/jsx-runtime";function $({children:e=Ae(V,{appearance:"ghost",size:"icon_md",variant:"tertiary",children:Ae(g,{className:"text-icon-neutral-3",name:"close"})}),...t}){return Ae(Mt.Close,{"data-slot":"sheet-close",...t,children:e})}import{cx as wo}from"@xjur-ui/util";import{jsx as Po}from"react/jsx-runtime";function Ze({className:e,...t}){return Po("div",{className:wo("py-large px-large-2x border-t-border-layer-2 mt-auto border-t",e),"data-slot":"sheet-footer",...t})}import{cx as So}from"@xjur-ui/util";import{jsx as Lo}from"react/jsx-runtime";function Ge({className:e,...t}){return Lo("div",{className:So("px-large-2x h-full",e),...t})}import{createContext as To,useCallback as _t,useContext as Mo,useState as We,useMemo as _o}from"react";import{jsx as Ro}from"react/jsx-runtime";var se=To({});function Rt({children:e}){let[t,r]=We("list"),[o,i]=We(!1),[n,a]=We([]),d=_t(f=>{r(f)},[]),u=_t(()=>{i(f=>!f)},[]),m=_o(()=>({currentView:t,changeCurrentView:d,isFullscreen:o,changeIsFullscreen:u,empresas:n,setEmpresas:a}),[t,d,o,u,n,a]);return Ro(se.Provider,{value:m,children:e})}function D(){let e=Mo(se);if(!e)throw new Error("useEmpresaContext must be used within an EmpresaProvider");return{...e,empresas:e.empresas,setEmpresas:e.setEmpresas}}import{jsx as je}from"react/jsx-runtime";function Ri({onOpenChange:e,children:t,...r}){return je(Rt,{children:je(se.Consumer,{children:o=>je(ke,{onOpenChange:i=>{o.changeCurrentView("list"),e?.(i)},...r,children:typeof t=="function"?t(o):t})})})}import{twMerge as Vo}from"@xjur-ui/util";import{useCallback as No}from"react";import{jsx as zo,jsxs as Ho}from"react/jsx-runtime";function Oi({appearance:e="ghost",onClick:t,className:r,children:o="Adicionar",...i}){let{changeCurrentView:n}=D(),a=No(d=>{n("form"),t?.(d)},[n,t]);return Ho(V,{appearance:e,className:Vo("w-fit",r),onClick:a,...i,children:[o,zo(g,{name:"add"})]})}import{twMerge as Do}from"@xjur-ui/util";import{jsx as Io}from"react/jsx-runtime";function Wi({className:e,...t}){let{currentView:r}=D();return Io(Ge,{className:Do("gap-large-2x data-[view=form]:!px-none flex flex-col",e),"data-view":r,...t})}import{twMerge as Eo}from"@xjur-ui/util";import{jsx as Oo}from"react/jsx-runtime";function Yi({className:e,side:t="right",...r}){let{currentView:o,isFullscreen:i}=D();return Oo(Se,{className:Eo("w-[900px] max-w-[1200px] min-w-[900px] data-[fullscreen=true]:w-full data-[fullscreen=true]:max-w-full data-[fullscreen=true]:min-w-full",e),"data-fullscreen":i,"data-view":o,side:t,...r})}import{twMerge as Bo}from"@xjur-ui/util";import{jsx as Fo}from"react/jsx-runtime";function tn({className:e,...t}){return Fo(Ze,{className:Bo("flex items-center justify-between",e),...t})}import{twMerge as Ao}from"@xjur-ui/util";import{jsx as pe,jsxs as Vt}from"react/jsx-runtime";function dn({title:e,className:t,showCloseButton:r=!0,...o}){let{changeIsFullscreen:i}=D();return Vt(Me,{className:Ao("flex items-center justify-between",t),...o,children:[pe(Te,{children:e}),Vt("div",{className:"gap-small flex items-center",children:[pe(V,{appearance:"ghost",size:"icon_md",variant:"tertiary",onClick:()=>i(),children:pe(g,{className:"text-icon-neutral-3",name:"expand_content"})}),r&&pe($,{})]})]})}import{jsx as Nt,jsxs as Zo}from"react/jsx-runtime";function gn({children:e=Zo(V,{appearance:"ghost",className:"border-border-layer-2 border",variant:"secondary",children:[Nt(g,{className:"text-icon-neutral-3",name:"add"}),"Adicionar"]}),asChild:t=!0,...r}){return Nt(Le,{asChild:t,...r,children:e})}import{jsx as zt}from"react/jsx-runtime";function yn({...e}){return zt($,{...e,asChild:!0,children:zt(V,{appearance:"ghost",children:"Cancelar"})})}import{useState as st}from"react";import{cx as Go}from"@xjur-ui/util";import{jsx as Ht}from"react/jsx-runtime";function Dt({className:e,...t}){return Ht("div",{className:"text-size-body-md scrollbar-thin relative w-full overflow-hidden transition-all hover:overflow-x-auto","data-slot":"table-container",children:Ht("table",{className:Go("w-full caption-bottom",e),"data-slot":"table",...t})})}import{cx as Wo}from"@xjur-ui/util";import{jsx as jo}from"react/jsx-runtime";function It({className:e,...t}){return jo("thead",{className:Wo("group/table-header [&_tr]:border-border-layer-2 hover:bg-layer-2-hover [&_tr]:border-b",e),"data-slot":"table-header",...t})}import{cx as $o}from"@xjur-ui/util";import{jsx as qo}from"react/jsx-runtime";function Et({className:e,...t}){return qo("tbody",{className:$o("[&_tr]:border-border-layer-2 [&_tr]:border-b [&_tr:last-child]:border-0",e),"data-slot":"table-body",...t})}import{cx as Ot}from"@xjur-ui/util";import{jsx as Bt}from"react/jsx-runtime";function G({className:e,...t}){return Bt("th",{className:Ot("group/th text-neutral-placeholder text-size-label-sm h-large-4x py-small-1x px-small text-left align-middle font-medium whitespace-nowrap","relative","animate-in fade-in duration-200 ease-in",e),"data-slot":"table-head",...t})}function q({className:e,...t}){return Bt("div",{className:Ot("gap-small pr-large-3x relative flex w-fit items-center",e),...t})}import{cx as Xo}from"@xjur-ui/util";import{jsx as $e}from"react/jsx-runtime";function X({className:e,sortedDirection:t,...r}){return $e("button",{className:Xo("size-large-1x rounded-small-1x","flex cursor-pointer items-center justify-center","hidden group-hover/th:flex","data-[sorted=true]:flex","transition-all duration-200 ease-out","data-[sorted=true]:bg-primary-alt-active data-[sorted=true]:text-primary-label-active","absolute top-1/2 right-0 -translate-y-1/2",e),"data-sorted":t!==void 0,type:"button",...r,children:t!==void 0?$e(g,{name:t==="asc"?"arrow_downward":"arrow_upward"}):$e(g,{name:"swap_vert"})})}import nt,{useState as Qt}from"react";import{cx as xe}from"@xjur-ui/util";import*as ue from"@radix-ui/react-checkbox";import{cx as rr}from"@xjur-ui/util";import{Slot as Qo}from"@radix-ui/react-slot";import{cva as Uo}from"@xjur-ui/util";import{memo as Zt,useState as er}from"react";import*as de from"@radix-ui/react-tooltip";import{jsx as qe}from"react/jsx-runtime";function Jo({delayDuration:e=0,...t}){return qe(de.Provider,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function Xe({...e}){return qe(Jo,{children:qe(de.Root,{"data-slot":"tooltip",...e})})}import*as Ft from"@radix-ui/react-tooltip";import{jsx as Yo}from"react/jsx-runtime";function Je({...e}){return Yo(Ft.Trigger,{"data-slot":"tooltip-trigger",...e})}import*as ce from"@radix-ui/react-tooltip";import{cx as Ko}from"@xjur-ui/util";import{jsx as At}from"react/jsx-runtime";function Ye({className:e,sideOffset:t=1,variant:r="simple",children:o,...i}){return At(ce.Portal,{children:At(ce.Content,{className:Ko("text-size-body-sm z-99999 text-balance","data-[variant=simple]:bg-alt-2 data-[variant=simple]:text-neutral-label data-[variant=simple]:rounded-small-1x data-[variant=simple]:px-small data-[variant=simple]:py-small-1x","data-[variant=rich]:bg-layer-2-idle data-[variant=rich]:text-neutral-dark data-[variant=rich]:rounded-small data-[variant=rich]:border-border-layer-2 data-[variant=rich]:p-large data-[variant=rich]:border","animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin)",e),"data-slot":"tooltip-content","data-variant":r,sideOffset:t,...i,children:o})})}import{jsx as me,jsxs as or}from"react/jsx-runtime";var tr=Uo("",{variants:{variant:{body:"",label:"",title:"",headline:""},size:{"sm-2x":"","sm-1x":"",sm:"",md:"",lg:""},weight:{thin:"font-thin",extraLight:"font-extralight",light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extraBold:"font-extrabold",black:"font-black"}},compoundVariants:[{variant:"body",size:"sm-1x",class:"text-size-body-sm-1x"},{variant:"body",size:"sm",class:"text-size-body-sm"},{variant:"body",size:"md",class:"text-size-body-md"},{variant:"body",size:"lg",class:"text-size-body-lg"},{variant:"label",size:"sm-2x",class:"text-size-label-sm-2x"},{variant:"label",size:"sm-1x",class:"text-size-label-sm-1x"},{variant:"label",size:"sm",class:"text-size-label-sm"},{variant:"label",size:"md",class:"text-size-label-md"},{variant:"label",size:"lg",class:"text-size-label-lg"},{variant:"title",size:"sm",class:"text-size-title-sm"},{variant:"title",size:"md",class:"text-size-title-md"},{variant:"title",size:"lg",class:"text-size-title-lg"},{variant:"headline",size:"sm",class:"text-size-headline-sm"},{variant:"headline",size:"md",class:"text-size-headline-md"},{variant:"headline",size:"lg",class:"text-size-headline-lg"}],defaultVariants:{variant:"body",size:"md",weight:"normal"}}),b=Zt(({variant:e,size:t,weight:r,asChild:o,className:i,children:n,...a})=>me(o?Qo:"span",{className:tr({variant:e,size:t,weight:r,className:i}),...a,children:n}));b.displayName="Typography";var Ke=Zt(({children:e,...t})=>{let[r,o]=er(!1);return or(Xe,{children:[me(Je,{asChild:!0,children:me(b,{onMouseEnter:({currentTarget:n})=>{let a=n.scrollWidth>n.clientWidth;o(a),a?n.style.cursor="pointer":n.style.cursor="text"},...t,children:e})}),r&&me(Ye,{children:e})]})});Ke.displayName="TruncatedTypography";import{jsx as J,jsxs as ar}from"react/jsx-runtime";function Y({label:e,name:t,className:r,disabled:o=!1,...i}){let n=`field-checkbox-${t}`;return ar("div",{className:"group gap-small flex items-center",children:[J(ue.Root,{disabled:o,...i,className:rr("size-large-alt rounded-small-1x inline-flex items-center justify-center transition-[border-color,box-shadow,background-color] duration-200 outline-none","border-border-layer-2 bg-layer-2-idle cursor-pointer border-2","hover:border-primary-idle focus:border-primary-idle focus:shadow-focus-primary","data-[state=checked]:bg-primary-active data-[state=checked]:border-primary-active","data-[state=checked]:hover:border-primary-idle","disabled:hover:border-border-layer-2 disabled:cursor-not-allowed disabled:opacity-[38%]",r),id:n,name:t,children:J(ue.Indicator,{className:"flex items-center justify-center",children:J(g,{className:"text-neutral-label",name:"check"})})}),!!e&&J(b,{asChild:!0,className:"text-size-body-sm data-[disabled=true]:opacity-38","data-disabled":o,weight:"medium",children:J("label",{htmlFor:n,children:e})})]})}import*as C from"react";import*as W from"@radix-ui/react-radio-group";import{cx as fe}from"@xjur-ui/util";import{jsx as k,jsxs as he}from"react/jsx-runtime";function ir({children:e,allowToggle:t,value:r,onValueChange:o}){let[i,n]=C.useState([]),[a,d]=C.useState([]);C.useEffect(()=>{let v=C.Children.toArray(e).filter(x=>C.isValidElement(x)&&typeof x.props=="object"&&x.props!==null&&"value"in x.props&&typeof x.props.value=="string").map(x=>x.props.value);d(v)},[e]),C.useEffect(()=>{t&&n(r?r.split(",").filter(Boolean):[])},[r,t]);let u=C.useCallback(v=>{if(!t){o?.(v);return}n(x=>{let z=x.includes(v)?x.filter(y=>y!==v):[...x,v];return o?.(z.join(",")),z})},[t,o]),m=a.length>0&&a.every(v=>i.includes(v)),f=C.useCallback(()=>{if(!t)return;let v=m?[]:a;n(v),o?.(v.join(","))},[t,m,a,o]);return{selected:i,allValues:a,toggleValue:u,toggleAll:f,allSelected:m}}function Gt({checked:e,disabled:t,onClick:r,className:o,...i}){let n=C.useCallback(()=>{r?.()},[r]);return k("button",{className:fe("size-large-alt rounded-circle inline-flex items-center justify-center transition-[border-color,box-shadow,background-color] duration-200 outline-none","border-border-layer-2 bg-layer-2-idle cursor-pointer border-2","hover:border-primary-idle focus:border-primary-idle focus:shadow-focus-primary",e?"bg-primary-active border-primary-active":"",t&&"hover:border-border-layer-2 cursor-not-allowed opacity-[38%]",o),disabled:t,type:"button",onClick:n,...i,children:e&&k("div",{className:"relative flex items-center justify-center","data-slot":"radio-group-indicator"})})}function nr({label:e,checked:t,onClick:r}){let o=C.useCallback(()=>{r()},[r]);return he("div",{className:"gap-small flex items-center",children:[k(Gt,{checked:t,onClick:o}),k(b,{asChild:!0,className:"text-size-body-sm",weight:"medium",children:k("button",{className:"cursor-pointer border-none bg-transparent p-0 text-left",type:"button",onClick:o,children:e})})]})}function ge({className:e,orientation:t="vertical",allowToggle:r=!1,allowSelectAll:o=!1,selectAllLabel:i="Selecionar todos",value:n,onValueChange:a,children:d,...u}){let{selected:m,toggleValue:f,toggleAll:v,allSelected:x}=ir({children:d,allowToggle:r,value:n||void 0,onValueChange:a}),I=t==="horizontal",z=C.useCallback(y=>{a?.(y)},[a]);return r?he("div",{className:"gap-small flex flex-col",children:[o&&k(nr,{checked:x,label:i,onClick:v}),k("div",{className:fe("gap-small flex",I?"flex-row":"flex-col",e),children:C.Children.map(d,y=>{if(C.isValidElement(y)&&typeof y.props=="object"&&y.props!==null&&"value"in y.props){let F=y.props;return C.cloneElement(y,{allowToggle:!0,checked:m.includes(F.value),onToggle:()=>f(F.value)})}return y})})]}):k(W.Root,{className:fe("gap-small flex",I?"flex-row":"flex-col",e),"data-slot":"radio-group",value:n,onValueChange:z,...u,children:d})}function Ce({className:e,id:t,label:r,disabled:o=!1,allowToggle:i=!1,checked:n=!1,onToggle:a,...d}){let u=C.useCallback(()=>a?.(),[a]);return i?he("div",{className:"gap-small flex items-center",children:[k(Gt,{checked:n,disabled:o,onClick:u}),!!r&&k(b,{asChild:!0,className:"text-size-body-sm","data-disabled":o,weight:"medium",children:k("button",{className:"cursor-pointer border-none bg-transparent p-0 text-left",disabled:o,type:"button",onClick:u,children:r})})]}):he("div",{className:"gap-small flex items-center",children:[k(W.Item,{className:fe("size-large-alt rounded-circle inline-flex items-center justify-center transition-[border-color,box-shadow,background-color] duration-200 outline-none","border-border-layer-2 bg-layer-2-idle cursor-pointer border-2","hover:border-primary-idle focus:border-primary-idle focus:shadow-focus-primary","data-[state=checked]:bg-primary-active data-[state=checked]:border-primary-active","data-[state=checked]:hover:border-primary-idle",o&&"hover:border-border-layer-2 cursor-not-allowed opacity-[38%]",e),disabled:o,id:t,...d,children:k(W.Indicator,{className:"relative flex items-center justify-center"})}),!!r&&k(b,{asChild:!0,className:"text-size-body-sm","data-disabled":o,weight:"medium",children:k("label",{htmlFor:t,children:r})})]})}import*as Wt from"@radix-ui/react-popover";import{createContext as lr,useContext as sr}from"react";var Qe=lr({state:"normal",variant:"normal",customMask:void 0,mask:void 0});function P(){let e=sr(Qe);if(!e)throw new Error("useFieldContext must be used within a InputRoot, SelectRoot, DatePickerRoot, etc.");return e}import{tv as pr}from"@xjur-ui/util";var M=pr({slots:{wrapper:"group flex flex-col gap-small-2x",trigger:["h-large-4x w-auto inline-flex cursor-pointer relative","items-center gap-small rounded-small-1x","py-small_1x-alt px-small","bg-layer-2-idle border border-border-layer-2","group-has-[div[data-slot=input-action-slot]]:rounded-r-none","transition-all duration-200"],content:["group z-1000 max-h-[var(--radix-popover-content-available-height)] max-w-[240px] min-w-[var(--radix-popover-trigger-width)] group-data-[state=open]:rotate-180 transition-transform duration-200"],icon:"size-large text-icon-neutral-3 flex items-center justify-center",slotText:"size-large flex items-center justify-center !text-size-label-md text-neutral-placeholder",caption:"!text-size-body-sm font-normal"},variants:{state:{normal:{trigger:"hover:border-border-layer-3 data-[state=open]:border-primary-idle data-[state=open]:hover:border-primary-idle"},error:{trigger:"border-danger-idle hover:border-danger-idle data-[state=open]:border-danger-idle data-[state=open]:hover:border-danger-idle",caption:"text-danger-label-idle"},disabled:{trigger:"pointer-events-none border-transparent bg-layer-2-idle"}}}});import{jsx as Ue}from"react/jsx-runtime";var{wrapper:dr}=M();function K({className:e,state:t="normal",defaultOpen:r,variant:o="normal",modal:i,open:n,onOpenChange:a,...d}){return Ue(Wt.Root,{defaultOpen:r,modal:i,open:n,onOpenChange:a,children:Ue(Qe.Provider,{value:{state:t,variant:o},children:Ue("div",{className:dr({className:e,state:t}),...d})})})}import{tv as cr,twMerge as mr}from"@xjur-ui/util";import*as jt from"@radix-ui/react-popover";import{jsx as fr}from"react/jsx-runtime";var{trigger:ur}=M();function Q({className:e,...t}){let{state:r,variant:o}=P(),i=cr({base:["group bg-layer-2-idle"],variants:{state:{normal:["border-border-layer-2 hover:border-border-layer-3 has-[input:not(:placeholder-shown)]:border-primary-idle"],error:["border-danger-idle hover:border-danger-idle"],disabled:["border border-border-layer-2 opacity-60"]}}}),n=mr(ur({state:r,className:e}),o==="filter"&&i({state:r,className:e}));return fr(jt.Trigger,{className:n,disabled:r==="disabled",...t})}import{jsx as $t}from"react/jsx-runtime";var{icon:hr}=M();function U({className:e,name:t,orientation:r="left",...o}){let{state:i}=P();return $t("div",{className:hr({className:e,state:i}),"data-slot":`control-${r}-slot`,...o,children:$t(g,{name:t})})}import{twJoin as Cr}from"@xjur-ui/util";import{useMemo as br}from"react";import{tv as gr}from"@xjur-ui/util";import{jsx as qt}from"react/jsx-runtime";function et({className:e,htmlFor:t,children:r,...o}){let{state:i}=P(),n=gr({base:["group inline-block max-w-full truncate text-left","ease animate-in left-small right-small pointer-events-none absolute top-1/2 -translate-y-1/2 transition-all duration-250","text-size-body-md","group-focus-within:-top-[3px]","group-data-[state=open]:-top-[3px]","group-focus-within:text-size-label-sm-1x group-focus-within:font-medium","group-data-[state=open]:text-size-label-sm-1x group-data-[state=open]:font-medium","group-has-[input:not(:placeholder-shown)]:-top-[3px]","group-has-[input:not(:placeholder-shown)]:text-size-label-sm-1x","group-has-[input:not(:placeholder-shown)]:font-medium","group-has-[div[data-slot=control-left-slot]]:left-large-4x","group-has-[div[data-slot=control-left-slot]]:group-focus-within:left-small","group-has-[div[data-slot=control-left-slot]]:group-has-[input:not(:placeholder-shown)]:left-small","group-has-[div[data-slot=control-left-slot]]:group-data-[state=open]:left-small","group-focus-within:animate-in","group-has-[input:not(:placeholder-shown)]:animate-out","data-[disabled=true]:hidden"],variants:{state:{normal:["group-focus-within:!text-primary-idle group-data-[state=open]:!text-primary-idle","group-has-[input:not(:placeholder-shown)]:!text-primary-idle"],error:["group-focus-within:!text-danger-label-active group-data-[state=open]:!text-danger-label-active","group-has-[input:not(:placeholder-shown)]:!text-danger-label-active"],disabled:[]}}});return qt("label",{className:n({className:e,state:i}),htmlFor:t,...o,children:qt("span",{className:"rounded-small-1x bg-layer-2-idle max-w-full",children:r})})}import{jsx as be,jsxs as vr}from"react/jsx-runtime";function ee({className:e,value:t,placeholder:r,renderValue:o,...i}){let{variant:n}=P(),a=br(()=>{let d=o?o(t??""):typeof t=="object"?t?.label:t;return n==="filter"?d:d||r},[t,r,n,o]);return vr("div",{className:"grid w-full items-center",children:[r&&n==="filter"&&be(et,{children:r}),r&&n==="filter"&&be(b,{className:"invisible col-start-1 row-start-1 self-center",children:r}),be(b,{className:"text-neutral-dark z-10 col-start-1 row-start-1 self-center text-left",children:a}),be("input",{...i,"aria-readonly":!0,className:Cr("pointer-events-none",e),hidden:!0,placeholder:" ",readOnly:!0,value:typeof t=="object"?t?.value??"":t??""})]})}import{twMerge as Zl}from"@xjur-ui/util";import{Fragment as Wl,useMemo as jl}from"react";import{jsx as Yl,jsxs as Kl}from"react/jsx-runtime";import*as ve from"@radix-ui/react-popover";import{Slot as yr}from"@radix-ui/react-slot";import{cx as kr}from"@xjur-ui/util";import{useVirtualizer as wr}from"@tanstack/react-virtual";import{useRef as Pr}from"react";import{createContext as xr}from"react";var te=xr({virtualizer:null,enabled:!1});import{jsx as Xt}from"react/jsx-runtime";function tt({className:e,asChild:t,children:r,virtualized:o=!1,itemCount:i=0,estimateSize:n=()=>48,overscan:a=5,...d}){let u=t?yr:"div",m=Pr(null),f=wr({count:i,getScrollElement:()=>m.current,estimateSize:n,overscan:a,enabled:o});return Xt(te.Provider,{value:{virtualizer:f,enabled:o},children:Xt(u,{...d,className:kr(e,"rounded-small scrollbar-thin bg-layer-2-idle border-border-layer-2 shadow-elevation-3 z-1000 max-h-[400px] list-none overflow-x-hidden overflow-y-auto border"),ref:m,children:r})})}import{Slot as ps}from"@radix-ui/react-slot";import{cx as cs}from"@xjur-ui/util";import{jsx as us}from"react/jsx-runtime";import{cx as gs}from"@xjur-ui/util";import{jsx as vs}from"react/jsx-runtime";import{Slot as Sr}from"@radix-ui/react-slot";import{cx as Jt}from"@xjur-ui/util";import{useContext as Lr}from"react";import{jsx as ot}from"react/jsx-runtime";function rt({className:e,asChild:t,children:r,renderItem:o,...i}){let n=t?Sr:"ul",{virtualizer:a,enabled:d}=Lr(te);if(d&&a&&o){let u=a.getVirtualItems();return ot(n,{...i,className:Jt("p-small relative flex flex-col",e),style:{height:`${a.getTotalSize()}px`},children:u.map(m=>ot("div",{className:"absolute top-0 left-0 w-full","data-index":m.index,ref:a.measureElement,style:{transform:`translateY(${m.start}px)`},children:o(m.index)},m.key))})}return ot(n,{...i,className:Jt("gap-small-1x p-small flex flex-col",e),children:r})}import{Slot as Tr}from"@radix-ui/react-slot";import{cx as Mr,cva as _r}from"@xjur-ui/util";import{jsx as Vr}from"react/jsx-runtime";var Rr=_r(["py-medium px-small flex items-center gap-small rounded-small-1x","bg-layer-2-idle text-neutral-dark","hover:bg-layer-2-hover transition-colors duration-100 ease-out","active:bg-layer-2-pressed"],{variants:{size:{md:"h-large-4x",lg:"h-large-7x"},isActive:{true:"bg-primary-alt-active text-primary-label-active hover:bg-primary-alt-hover active:bg-primary-alt-pressed"}},defaultVariants:{size:"md",isActive:!1}});function at({className:e,size:t,isActive:r,asChild:o,...i}){return Vr(o?Tr:"li",{...i,className:Mr(Rr({size:t,isActive:r}),e)})}import{jsx as it}from"react/jsx-runtime";var{content:Hr}=M();function oe({className:e,sideOffset:t=5,side:r="bottom",align:o="start",children:i,virtualized:n=!1,overscan:a=5,estimateSize:d=()=>32,...u}){let{state:m}=P();return it(ve.Portal,{children:it(ve.Content,{align:o,className:Hr({className:e,state:m}),side:r,sideOffset:t,...u,children:it(tt,{estimateSize:d,overscan:a,virtualized:n,children:i})})})}import{jsx as qs}from"react/jsx-runtime";var{caption:js}=M();import{jsx as Us}from"react/jsx-runtime";var{slotText:Ks}=M();import{jsx as Dr}from"react/jsx-runtime";function re(e){return Dr(rt,{...e})}import{twMerge as Ir}from"@xjur-ui/util";import*as Kt from"@radix-ui/react-popover";import{jsx as Yt}from"react/jsx-runtime";function ae({className:e,value:t,closeOnSelect:r=!0,...o}){let i=Yt(at,{className:Ir(e,"cursor-pointer"),value:typeof t=="object"?t?.value:t,...o});return r?Yt(Kt.Close,{asChild:!0,children:i}):i}import{twMerge as Er}from"@xjur-ui/util";import{jsx as Or}from"react/jsx-runtime";function ie({className:e,...t}){return Or(Ke,{className:Er(e,"truncate"),...t})}import{jsx as f1}from"react/jsx-runtime";import{jsx as b1}from"react/jsx-runtime";import{Close as F1}from"@radix-ui/react-popover";import{Fragment as Br,jsx as h,jsxs as B}from"react/jsx-runtime";function lt({className:e,isSelected:t=!1,variant:r="default",accordionContent:o,isAccordionOpen:i=!1,onAccordionToggle:n,accordionData:a,...d}){let[u,m]=Qt(i),[f,v]=Qt("");nt.useEffect(()=>{m(i)},[i]);let x=()=>{if(!o)return;m(!u),n?.()},I=c=>{a?.checkbox?.onCheckedChange(c)},z=nt.useCallback(c=>{a?.radio&&a.radio.onCheckedChange(a.radio.value,c)},[a?.radio]),y=nt.useMemo(()=>!a?.searchSelect?.options||!f?a?.searchSelect?.options||[]:a.searchSelect.options.filter(c=>c.label.toLowerCase().includes(f.toLowerCase())),[a?.searchSelect?.options,f]),F=c=>{v(c.target.value)},ye=c=>{a?.searchSelect?.onChangeSearchOption(c),v("")};return r==="accordion"?B(Br,{children:[B("tr",{"aria-expanded":o?u:void 0,className:xe("bg-layer-2-idle hover:bg-layer-2-hover ease border-b transition-colors duration-100","active:bg-layer-2-pressed","data-[selected=true]:bg-primary-alt-active",o&&"cursor-pointer",e),"data-selected":t,"data-slot":"table-row-accordion",role:o?"button":void 0,tabIndex:o?0:void 0,onClick:x,...d,children:[h("td",{className:"w-6 px-2 py-3",children:a?.checkbox&&h(Y,{checked:a.checkbox.checked,onCheckedChange:I,onClick:c=>c.stopPropagation()})}),h("td",{className:"px-2 py-3",children:B("div",{className:"flex items-center gap-2",children:[o&&h(g,{className:xe("text-neutral-medium transition-transform duration-200",u&&"rotate-90"),name:"keyboard_arrow_up"}),h(b,{children:a?.text1})]})}),h("td",{className:"px-2 py-3",children:h(b,{children:a?.text2})}),h("td",{className:"px-2 py-3",onClick:c=>c.stopPropagation(),children:a?.searchSelect&&B(K,{children:[B(Q,{children:[h(ee,{placeholder:"Selecione",value:{value:a.searchSelect?.selectedSearchOption||"",label:a.searchSelect?.options.find(c=>c.value===a.searchSelect?.selectedSearchOption)?.label||""}}),h(U,{className:"text-layer-1-active",name:"keyboard_arrow_down"})]}),h(oe,{children:B(re,{className:"p-0",children:[h("div",{className:"py-small border-border-layer-2 border-b",children:B("div",{className:"gap-small py-small_1x-alt bg-layer-2-idle rounded-small flex items-center",children:[h(g,{className:"text-layer-1-active",name:"search"}),h("input",{className:"text-size-body-md text-neutral-dark placeholder:text-neutral-placeholder flex-1 bg-transparent outline-none",placeholder:"Pesquisar",value:f,onChange:F})]})}),y.map(c=>h(ae,{className:"p-0",isActive:a.searchSelect?.selectedSearchOption===c.value,value:c,onClick:()=>ye(c.value),children:h(ie,{children:c.label})},c.value))]})})]})}),h("td",{className:"px-2 py-3",onClick:c=>c.stopPropagation(),children:a?.radio&&h(ge,{allowToggle:!0,className:"",value:a.radio.checked?a.radio.value:"",onValueChange:c=>{a?.radio&&z(c!=="")},children:h(Ce,{className:"",id:`principal-${a.radio.value}`,label:"",value:a.radio.value})})})]}),u&&o&&h("tr",{className:xe("bg-layer-2-idle hover:bg-layer-2-hover ease border-b transition-colors duration-100","active:bg-layer-2-pressed","data-[selected=true]:bg-primary-alt-active",e),children:h("td",{colSpan:5,children:o})})]}):h("tr",{className:xe("bg-layer-2-idle hover:bg-layer-2-hover ease border-b transition-colors duration-100","active:bg-layer-2-pressed","data-[selected=true]:bg-primary-alt-active",e),"data-selected":t,"data-slot":"table-row",...d})}import{jsx as p,jsxs as S}from"react/jsx-runtime";var pt=[{value:"autor",label:"Autor"},{value:"coautor",label:"Coautor"},{value:"colaborador",label:"Colaborador"}];function sp({empresas:e,selectedEmpresas:t,selectedRadios:r,selectedSearchOptions:o,selectedAccordionContent:i,onEmpresaSelect:n,onRadioChange:a,onSearchOptionChange:d,onAccordionContentChange:u,onSort:m,sortConfig:f}){let[v,x]=st([]),[I,z]=st([]),[y,F]=st({}),ye=l=>{x(s=>s.includes(l)?s.filter(_=>_!==l):[...s,l])},c=(l,s)=>{z(s?_=>[..._,l]:_=>_.filter(Ut=>Ut!==l))},dt=(l,s)=>{F(_=>({..._,[l]:s}))};return S(Dt,{children:[p(It,{children:S(lt,{children:[p(G,{children:p(Y,{checked:t.length===e.length&&e.length>0,onCheckedChange:l=>{l?(e.forEach(s=>{t.includes(s.id)||n(s.id,!0)}),e.forEach(s=>{s.detalhes&&u(s.id,!0)})):(e.forEach(s=>{t.includes(s.id)&&n(s.id,!1)}),e.forEach(s=>{s.detalhes&&u(s.id,!1)}))}})}),p(G,{children:S(q,{children:["Nome fantasia",p(X,{sortedDirection:f?.key==="nomeFantasia"?f.direction:void 0,onClick:()=>m("nomeFantasia")})]})}),p(G,{children:S(q,{children:["Documento",p(X,{sortedDirection:f?.key==="documento"?f.direction:void 0,onClick:()=>m("documento")})]})}),p(G,{children:S(q,{children:["Forma de participa\xE7\xE3o",p(X,{sortedDirection:f?.key==="formaParticipacao"?f.direction:void 0,onClick:()=>m("formaParticipacao")})]})}),p(G,{children:S(q,{children:["Principal",p(X,{sortedDirection:f?.key==="principal"?f.direction:void 0,onClick:()=>m("principal")})]})})]})}),p(Et,{children:e.map(l=>p(lt,{accordionContent:l.detalhes?S("tr",{className:"flex w-full",children:[p("td",{className:"mr-14 px-2 py-3",children:p(Y,{checked:i.includes(l.id),onCheckedChange:s=>u(l.id,s)})}),S("div",{className:"flex w-full justify-between",children:[p("td",{className:"mr-18 px-2 py-3",children:S("div",{className:"flex items-center gap-2",children:[p(g,{className:"text-neutral-medium",name:"keyboard_arrow_up"}),p(b,{className:"truncate text-sm sm:text-base",children:l.nomeFantasia})]})}),p("td",{className:"w-full px-2 py-3",children:p(b,{className:"truncate text-sm sm:text-base",children:l.documento})}),p("td",{className:"w-full px-2 py-3",children:S(K,{children:[S(Q,{children:[p(ee,{placeholder:"Selecione",value:{value:y[l.id]||"",label:pt.find(s=>s.value===y[l.id])?.label||""}}),p(U,{className:"text-layer-1-active",name:"keyboard_arrow_down"})]}),p(oe,{children:S(re,{className:"p-0",children:[p("div",{className:"py-small border-border-layer-2 border-b",children:S("div",{className:"gap-small py-small_1x-alt bg-layer-2-idle rounded-small flex items-center",children:[p(g,{className:"text-layer-1-active",name:"search"}),p("input",{className:"text-size-body-md text-neutral-dark placeholder:text-neutral-placeholder flex-1 bg-transparent outline-none",placeholder:"Pesquisar",value:"",onChange:()=>{}})]})}),pt.map(s=>p(ae,{className:"p-0",isActive:y[l.id]===s.value,value:s,onClick:()=>dt(l.id,s.value),children:p(ie,{children:s.label})},s.value))]})})]})}),p("td",{className:"w-full px-2 py-3",children:p(ge,{allowToggle:!0,className:"",value:I.includes(l.id)?l.id:"",onValueChange:s=>{let _=s!=="";c(l.id,_)},children:p(Ce,{className:"",id:`accordion-principal-${l.id}`,label:"",value:l.id})})})]})]}):void 0,accordionData:{checkbox:{checked:t.includes(l.id),onCheckedChange:s=>n(l.id,s)},radio:{checked:r.includes(l.id),onCheckedChange:(s,_)=>a(l.id,_),value:l.id},searchSelect:{options:pt,selectedSearchOption:o[l.id]||l.formaParticipacao.toLowerCase(),onChangeSearchOption:s=>d(l.id,s),placeholder:"Selecione"},text1:l.nomeFantasia,text2:l.documento},isAccordionOpen:v.includes(l.id),variant:"accordion",onAccordionToggle:()=>ye(l.id)},l.id))})]})}export{Oi as EmpresaAddButton,Wi as EmpresaBody,yn as EmpresaCloseButton,Yi as EmpresaContent,se as EmpresaContext,tn as EmpresaFooter,dn as EmpresaHeader,Rt as EmpresaProvider,Ri as EmpresaRoot,sp as EmpresaTable,gn as EmpresaTrigger,D as useEmpresaContext};
1
+ import"react";import"react";import*as kt from"@radix-ui/react-dialog";import{jsx as Co}from"react/jsx-runtime";function _e({...e}){return Co(kt.Root,{"data-slot":"sheet",...e})}import*as _t from"@radix-ui/react-dialog";import{tv as bo}from"@xjur-ui/util";import*as wt from"@radix-ui/react-dialog";import{jsx as go}from"react/jsx-runtime";function Te({...e}){return go(wt.Portal,{"data-slot":"sheet-portal",...e})}import*as Pt from"@radix-ui/react-dialog";import{cx as vo}from"@xjur-ui/util";import{jsx as xo}from"react/jsx-runtime";function Le({className:e,...t}){return xo(Pt.Overlay,{className:vo("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50",e),"data-slot":"sheet-overlay",...t})}import{jsx as St,jsxs as yo}from"react/jsx-runtime";function Re({className:e,children:t,side:r="right",overlay:o=!1,...a}){let n=bo({base:["border-border-layer-2 bg-layer-2-idle shadow-elevation-2 fixed z-50 flex flex-col gap-medium","data-[state=open]:animate-in data-[state=closed]:animate-out transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500"],variants:{side:{right:"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full border-l sm:max-w-sm",left:"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full border-r sm:max-w-sm",top:"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",bottom:"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t"}},defaultVariants:{side:"right"}});return yo(Te,{children:[o&&St(Le,{}),St(_t.Content,{className:n({side:r,className:e}),"data-slot":"sheet-content",...a,children:t})]})}import*as Tt from"@radix-ui/react-dialog";import{jsx as ko}from"react/jsx-runtime";function Ve({...e}){return ko(Tt.Trigger,{"data-slot":"sheet-trigger",...e})}import{cx as wo}from"@xjur-ui/util";import*as Lt from"@radix-ui/react-dialog";import{jsx as Po}from"react/jsx-runtime";function Me({className:e,...t}){return Po(Lt.Title,{className:wo("text-size-title-lg font-normal",e),"data-slot":"sheet-title",...t})}import{cx as So}from"@xjur-ui/util";import{jsx as _o}from"react/jsx-runtime";function Ne({className:e,...t}){return _o("div",{className:So("py-large px-large-2x border-b-border-layer-2 border-b",e),"data-slot":"sheet-header",...t})}import*as Gt from"@radix-ui/react-dialog";import{Slot as To}from"@radix-ui/react-slot";import{cva as Lo,cx as Ro}from"@xjur-ui/util";import{jsx as Mo}from"react/jsx-runtime";var Vo=Lo(["outline-none inline-flex items-center justify-center rounded-circle gap-small cursor-pointer disabled:opacity-38 disabled:pointer-events-none transition-colors"],{variants:{size:{md:"py-small_1x-alt px-medium text-size-body-md",sm:"py-small-1x px-small text-size-label-sm",icon_md:"p-small text-size-body-md h-large-4x w-large-4x",icon_sm:"p-small-1x text-size-label-sm h-large-2x w-large-2x"},variant:{primary:"",secondary:"",tertiary:"",destructive:"",outlined:"bg-layer-2-idle border border-border-layer-2 hover:bg-layer-2-hover active:bg-layer-2-pressed"},appearance:{solid:"",ghost:"bg-transparent"}},compoundVariants:[{variant:"primary",appearance:"solid",class:"bg-primary-idle text-neutral-label hover:bg-primary-hover active:bg-primary-pressed"},{variant:"primary",appearance:"ghost",class:"text-primary-idle hover:bg-primary-alt-idle active:bg-primary-alt-pressed"},{variant:"secondary",appearance:"solid",class:"bg-layer-1-hover text-neutral-dark hover:bg-layer-1-pressed active:bg-layer-1-active"},{variant:"secondary",appearance:"ghost",class:"hover:bg-layer-1-hover active:bg-layer-1-pressed"},{variant:"tertiary",appearance:"solid",class:"bg-layer-2-hover text-neutral-dark hover:bg-layer-2-pressed active:bg-layer-2-active"},{variant:"tertiary",appearance:"ghost",class:"hover:bg-layer-2-hover active:bg-layer-2-pressed"},{variant:"destructive",appearance:"solid",class:"bg-danger-idle text-neutral-label hover:bg-danger-hover active:bg-danger-pressed"},{variant:"destructive",appearance:"ghost",class:"text-danger-label-idle hover:bg-danger-alt-idle active:bg-danger-alt-pressed"}],defaultVariants:{size:"md",variant:"primary",appearance:"solid"}});function L({asChild:e,className:t,variant:r="primary",size:o="md",appearance:a="solid",...n}){return Mo(e?To:"button",{className:Ro(Vo({variant:r,appearance:a,size:o}),t),...n})}import{cx as Bo}from"@xjur-ui/util";var Rt=["agenda","contencioso","contrato","consultivo","xsigner","procuracao","xpay","imobiliario","marcasepatentes","ged","regulatorio","compliance","xlearning","societario","audiencia","pericia","custom_contrato","filial"];import{jsx as le,jsxs as No}from"react/jsx-runtime";function He(){return No("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[le("path",{d:"M15.7875 3H3.3008C2.5824 3 2 3.58652 2 4.31005V9.01705H18V4.31005C18 3.58652 17.4176 3.00003 16.6992 3.00003L15.7875 3Z",fill:"#FFCEAD",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),le("path",{d:"M18 7.01697V17.6898C18 18.4133 17.4176 18.9998 16.6992 18.9998H3.3008C2.5824 18.9998 2 18.4133 2 17.6898V7.01697",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),le("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"5.42832",x2:"5.42832",y1:"5.4",y2:"0.599997"}),le("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"14.3648",x2:"14.3648",y1:"5.4",y2:"0.599997"})]})}import{jsx as V,jsxs as Vt}from"react/jsx-runtime";function ze(){return Vt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Vt("g",{clipPath:"url(#clip0_21552_71650)",children:[V("path",{d:"M3 4.9812C4.10457 4.9812 5 4.08577 5 2.9812C5 1.87663 4.10457 0.981201 3 0.981201C1.89543 0.981201 1 1.87663 1 2.9812C1 4.08577 1.89543 4.9812 3 4.9812Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),V("path",{d:"M17.6562 4.5437H9.4375C8.57457 4.5437 7.875 3.84413 7.875 2.9812C7.875 2.11827 8.57457 1.4187 9.4375 1.4187H17.6562C18.5192 1.4187 19.2187 2.11827 19.2187 2.9812C19.2187 3.84413 18.5192 4.5437 17.6562 4.5437Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),V("path",{d:"M3 12C4.10457 12 5 11.1046 5 10C5 8.89543 4.10457 8 3 8C1.89543 8 1 8.89543 1 10C1 11.1046 1.89543 12 3 12Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),V("path",{d:"M17.6562 11.5625H9.4375C8.57457 11.5625 7.875 10.8629 7.875 10C7.875 9.13707 8.57457 8.4375 9.4375 8.4375H17.6562C18.5192 8.4375 19.2187 9.13707 19.2187 10C19.2187 10.8629 18.5192 11.5625 17.6562 11.5625Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),V("path",{d:"M3 19.1C4.10457 19.1 5 18.2045 5 17.1C5 15.9954 4.10457 15.1 3 15.1C1.89543 15.1 1 15.9954 1 17.1C1 18.2045 1.89543 19.1 3 19.1Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),V("path",{d:"M17.6562 18.6625H9.4375C8.57457 18.6625 7.875 17.9629 7.875 17.1C7.875 16.237 8.57457 15.5375 9.4375 15.5375H17.6562C18.5192 15.5375 19.2187 16.237 19.2187 17.1C19.2187 17.9629 18.5192 18.6625 17.6562 18.6625Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),V("defs",{children:V("clipPath",{id:"clip0_21552_71650",children:V("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as se,jsxs as Ho}from"react/jsx-runtime";function Ie(){return Ho("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[se("path",{d:"M9.85352 0.65332C9.93553 0.58296 10.0643 0.582237 10.1465 0.652344C12.0919 2.4217 14.3958 3.32823 17.2881 3.47949C17.9164 3.51234 18.3483 3.9816 18.3564 4.48242C18.3601 4.71041 18.3663 4.94321 18.3779 5.18164C18.4292 7.71562 18.4747 10.5595 17.4619 13.1299C16.4662 15.6568 14.4201 17.976 10.1338 19.3789C10.1172 19.3844 10.0987 19.3889 10.0791 19.3926C10.0273 19.4023 9.97265 19.4023 9.9209 19.3926L9.86621 19.3789C5.56766 17.9759 3.52294 15.6506 2.53027 13.1211C1.52052 10.5478 1.57173 7.70475 1.62305 5.18164C1.6346 4.94331 1.64092 4.71049 1.64453 4.48242C1.65264 3.98173 2.08381 3.51252 2.71191 3.47949C5.60393 3.32832 7.90727 2.42121 9.85254 0.652344L9.85352 0.65332Z",fill:"#E5C8FF",stroke:"#771DC5",strokeMiterlimit:"10",strokeWidth:"1.2"}),se("path",{d:"M10 4.40039C13.0928 4.40039 15.5996 6.90721 15.5996 10C15.5996 13.0928 13.0928 15.5996 10 15.5996C6.90721 15.5996 4.40039 13.0928 4.40039 10C4.40039 6.90721 6.90721 4.40039 10 4.40039Z",fill:"white",stroke:"#771DC5",strokeMiterlimit:"10",strokeWidth:"1.2"}),se("path",{d:"M12.4915 8.88L9.13148 12.24",stroke:"#771DC5",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),se("path",{d:"M7.36005 10.5645L9.13144 12.2399",stroke:"#771DC5",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as pe,jsxs as zo}from"react/jsx-runtime";function Fe(){return zo("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[pe("path",{d:"M15.7875 3H3.3008C2.5824 3 2 3.58652 2 4.31005V9.01705H18V4.31005C18 3.58652 17.4176 3.00003 16.6992 3.00003L15.7875 3Z",fill:"#FFCEAD",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),pe("path",{d:"M18 7.01697V17.6898C18 18.4133 17.4176 18.9998 16.6992 18.9998H3.3008C2.5824 18.9998 2 18.4133 2 17.6898V7.01697",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),pe("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"5.42832",x2:"5.42832",y1:"5.4",y2:"0.599997"}),pe("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"14.3648",x2:"14.3648",y1:"5.4",y2:"0.599997"})]})}import{jsx as B,jsxs as Io}from"react/jsx-runtime";function Ae(){return Io("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[B("path",{d:"M14.3062 3.28357C14.3062 3.28357 15.6681 3.28357 16.2787 3.28357C16.9531 3.28357 17.4998 3.83035 17.4998 4.50472C17.4998 7.4617 17.4998 14.9803 17.4998 17.9373C17.4998 18.6116 16.9531 19.1584 16.2787 19.1584C14.0501 19.1584 9.34873 19.1584 7.12013 19.1584C6.79622 19.1584 6.48576 19.0299 6.2568 18.8006C6.02754 18.5717 5.89902 18.2612 5.89902 17.9373C5.89902 17.3267 5.89902 16.7161 5.89902 16.7161",fill:"#FFBACF"}),B("path",{d:"M14.3062 3.28357C14.3062 3.28357 15.6681 3.28357 16.2787 3.28357C16.9531 3.28357 17.4998 3.83035 17.4998 4.50472C17.4998 7.4617 17.4998 14.9803 17.4998 17.9373C17.4998 18.6116 16.9531 19.1584 16.2787 19.1584C14.0501 19.1584 9.34873 19.1584 7.12013 19.1584C6.79622 19.1584 6.48576 19.0299 6.2568 18.8006C6.02754 18.5717 5.89902 18.2612 5.89902 17.9373C5.89902 17.3267 5.89902 16.7161 5.89902 16.7161",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),B("path",{d:"M2.49985 4.50473L6.16327 0.841309C6.16327 0.841309 10.6537 0.841309 12.8796 0.841309C13.5539 0.841309 14.1007 1.38809 14.1007 2.06246C14.1007 5.01944 14.1007 12.538 14.1007 15.495C14.1007 16.1694 13.554 16.7162 12.8796 16.7162C10.651 16.7162 5.9496 16.7162 3.721 16.7162C3.04663 16.7162 2.49985 16.1694 2.49985 15.495C2.49985 12.4022 2.49985 4.50473 2.49985 4.50473Z",fill:"white",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),B("path",{d:"M2.49985 5.11533C2.49985 5.11533 4.28943 5.11533 5.55271 5.11533C6.22708 5.11533 6.77387 4.56854 6.77387 3.89417C6.77387 2.63089 6.77387 0.841309 6.77387 0.841309",stroke:"#C72F5F",strokeMiterlimit:"10",strokeWidth:"1.2"}),B("path",{d:"M5.49985 10H10.4998",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),B("path",{d:"M5.49985 13H9.49985",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as de,jsxs as Fo}from"react/jsx-runtime";function Ee(){return Fo("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[de("path",{d:"M1 17V2.30005H6.8L8.99999 4.50005H15.5V7.90005H4V17L2.5 17.6001L1 17Z",fill:"#F6DD92"}),de("path",{d:"M4 8.00012C4 11.6633 4 16.0001 4 16.0001C4 17.0001 3.5 17.6931 2.5 17.6931C1.5 17.6931 1 17.0001 1 16.0001V2.30725H3.24067",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),de("path",{d:"M3.24076 2.30713H6.47454L8.7458 4.37844H15.5797V8.00006H19.0001V16.5727C19.0001 17.1915 18.4985 17.6931 17.8798 17.6931H2.12042",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),de("path",{d:"M4 8H16",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as F,jsxs as Mt}from"react/jsx-runtime";function Oe(){return Mt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Mt("g",{clipPath:"url(#clip0_21559_72048)",children:[F("path",{d:"M17.4506 8.94043V18.3304C17.4506 18.9598 16.9425 19.4699 16.3157 19.4699H3.68428C3.05748 19.4699 2.54932 18.9598 2.54932 18.3304V8.94043",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),F("path",{d:"M7.05865 19.2548V11.9867H12.9413V19.2548",fill:"#FDC6C6"}),F("path",{d:"M7.05865 19.2548V11.9867H12.9413V19.2548",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),F("path",{d:"M17.3634 8.67363C17.5986 8.83359 17.8726 8.91816 18.1557 8.91812C18.6259 8.91812 19.0639 8.68503 19.3274 8.29464C19.7648 7.64652 19.5954 6.76199 18.9499 6.32285L17.0724 5.0457L14.2483 3.12457L10.7936 0.774526C10.5586 0.614683 10.2843 0.530151 10.0004 0.530151C9.71652 0.530151 9.44222 0.614644 9.20722 0.774526L1.05105 6.32285C0.738314 6.53558 0.526868 6.85781 0.45554 7.23023C0.384212 7.60265 0.461634 7.9807 0.673509 8.29464C0.936986 8.68503 1.37503 8.91812 1.84523 8.91812C2.12839 8.91812 2.40234 8.83359 2.63745 8.67367L10.0004 3.66492L17.3634 8.67363Z",fill:"#FDC6C6",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),F("defs",{children:F("clipPath",{id:"clip0_21559_72048",children:F("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as D,jsxs as Nt}from"react/jsx-runtime";function Be(){return Nt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Nt("g",{clipPath:"url(#clip0_21561_72217)",children:[D("path",{d:"M9.98145 0.599609C15.1635 0.608044 19.4004 4.83852 19.4004 10C19.4004 15.1615 15.1636 19.3909 9.98145 19.3994C-2.5284 18.8998 -2.52587 1.09731 9.98145 0.599609Z",fill:"#DBF1FF",stroke:"#2C729E",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),D("path",{d:"M13.4527 13.5208C11.5082 15.4654 8.35554 15.4654 6.41101 13.5208C1.91808 8.68266 8.61718 1.98702 13.4527 6.47909",stroke:"#2C729E",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),D("defs",{children:D("clipPath",{id:"clip0_21561_72217",children:D("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as M,jsxs as Ht}from"react/jsx-runtime";function We(){return Ht("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Ht("g",{clipPath:"url(#clip0_21563_1851)",children:[M("path",{d:"M13.4002 19H2.40024C1.84795 19 1.40024 18.5523 1.40024 18V2C1.40024 1.44772 1.84795 1 2.40024 1H13.4002C13.9525 1 14.4002 1.44772 14.4002 2V18C14.4002 18.5523 13.9525 19 13.4002 19Z",fill:"#D4E4F9",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),M("path",{clipRule:"evenodd",d:"M9.59316 13.357H12.2247V11.694C12.2247 10.9283 11.8327 10.2335 11.5394 9.78628C11.2875 9.40237 11.1412 8.94427 11.1412 8.45234C11.1412 7.09791 12.25 6 13.6179 6C14.9858 6 16.0947 7.09791 16.0947 8.45234C16.0947 8.94427 15.9483 9.40237 15.6965 9.78628C15.4031 10.2335 15.0111 10.9283 15.0111 11.694V13.357H17.6427C18.4089 13.357 19.0358 13.9778 19.0358 14.7364V16.1159H8.20004V14.7364C8.20004 13.9778 8.82695 13.357 9.59316 13.357Z",fill:"white",fillRule:"evenodd",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),M("path",{clipRule:"evenodd",d:"M8.78256 16.6364V17.8182C8.78256 18.4682 9.43078 19 10.2231 19C15.2886 19 11.56 19 16.6255 19C17.4177 19 18.066 18.4682 18.066 17.8182V16.6364",fill:"white",fillRule:"evenodd"}),M("path",{d:"M8.78256 16.6364V17.8182C8.78256 18.4682 9.43078 19 10.2231 19C15.2886 19 11.56 19 16.6255 19C17.4177 19 18.066 18.4682 18.066 17.8182V16.6364",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),M("line",{stroke:"#446EA6",strokeLinecap:"round",strokeWidth:"1.2",x1:"4.59994",x2:"7.39994",y1:"5.4",y2:"5.4"}),M("line",{stroke:"#446EA6",strokeLinecap:"round",strokeWidth:"1.2",x1:"4.60006",x2:"7.40006",y1:"9.4",y2:"9.4"})]}),M("defs",{children:M("clipPath",{id:"clip0_21563_1851",children:M("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as N,jsxs as zt}from"react/jsx-runtime";function Ze(){return zt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[zt("g",{clipPath:"url(#clip0_21561_72299)",children:[N("path",{d:"M1.80017 4.25781L5.6283 0.429688C5.6283 0.429688 11.8221 0.429688 14.5606 0.429688C14.899 0.429688 15.2236 0.563984 15.4629 0.803555C15.7022 1.04281 15.8367 1.36727 15.8367 1.7057C15.8367 5.18578 15.8367 14.8142 15.8367 18.2943C15.8367 18.6327 15.7022 18.9571 15.4629 19.1964C15.2236 19.436 14.899 19.5703 14.5606 19.5703C11.8914 19.5703 5.74541 19.5703 3.07623 19.5703C2.3715 19.5703 1.80017 18.9989 1.80017 18.2943C1.80017 14.6167 1.80017 4.25781 1.80017 4.25781Z",fill:"#CEF0EC",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),N("path",{d:"M1.80017 4.89586C1.80017 4.89586 3.67033 4.89586 4.99029 4.89586C5.69501 4.89586 6.26634 4.32449 6.26634 3.6198C6.26634 2.29973 6.26634 0.429688 6.26634 0.429688",fill:"white"}),N("path",{d:"M1.80017 4.89586C1.80017 4.89586 3.67033 4.89586 4.99029 4.89586C5.69501 4.89586 6.26634 4.32449 6.26634 3.6198C6.26634 2.29973 6.26634 0.429688 6.26634 0.429688",stroke:"#1A8377",strokeMiterlimit:"10",strokeWidth:"1.2"}),N("path",{d:"M12.5098 16.3826C15.653 16.3826 18.201 13.8345 18.201 10.6913C18.201 7.54807 15.653 5 12.5098 5C9.36656 5 6.81848 7.54807 6.81848 10.6913C6.81848 13.8345 9.36656 16.3826 12.5098 16.3826Z",fill:"white",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),N("path",{d:"M10.1386 11.1655L12.0357 13.0626L14.8813 9.26843",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),N("defs",{children:N("clipPath",{id:"clip0_21561_72299",children:N("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as W,jsxs as It}from"react/jsx-runtime";function Ge(){return It("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[It("g",{clipPath:"url(#clip0_21561_73080)",children:[W("path",{d:"M10 0.599609C15.1915 0.599609 19.4004 4.80852 19.4004 10C19.4004 15.1915 15.1915 19.4004 10 19.4004C4.80852 19.4004 0.599609 15.1915 0.599609 10C0.599609 4.80852 4.80852 0.599609 10 0.599609Z",fill:"#ADDFC0",stroke:"#278D50",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),W("path",{d:"M10 16C13.3137 16 16 13.3137 16 10C16 6.68629 13.3137 4 10 4C6.68629 4 4 6.68629 4 10C4 13.3137 6.68629 16 10 16Z",fill:"white"}),W("path",{d:"M9.36046 16.0641V14.6227C8.73046 14.486 8.19534 14.2016 7.75511 13.7693C7.31499 13.3369 7.00701 12.7998 6.83118 12.1581L8.27653 11.584C8.36891 12.0238 8.60641 12.4106 8.98903 12.7441C9.37165 13.0778 9.76278 13.2447 10.1624 13.2447C10.6181 13.2447 10.9856 13.132 11.2647 12.9066C11.5438 12.6814 11.6833 12.3911 11.6833 12.0357C11.6833 11.6985 11.548 11.4115 11.2772 11.1748C11.0065 10.9382 10.5347 10.7051 9.86189 10.4756C8.94475 10.1479 8.26903 9.7783 7.83475 9.36663C7.40046 8.95508 7.18332 8.42812 7.18332 7.78574C7.18332 7.20193 7.3732 6.68859 7.75296 6.24574C8.13284 5.803 8.66868 5.50758 9.36046 5.35949V3.93591H10.7101V5.35949C11.5787 5.51377 12.1631 5.85252 12.4633 6.37573C12.7634 6.89907 12.9223 7.18401 12.9399 7.23056L11.5747 7.79109C11.4822 7.48728 11.2924 7.23276 11.0053 7.02752C10.7183 6.82228 10.4064 6.71966 10.0696 6.71966C9.6729 6.71966 9.34689 6.81829 9.09153 7.01556C8.8363 7.2127 8.70868 7.45324 8.70868 7.73716C8.70868 8.02681 8.84677 8.27746 9.12296 8.48913C9.39927 8.70079 9.94784 8.94639 10.7687 9.22591C11.6134 9.50544 12.2313 9.86901 12.6222 10.3166C13.0132 10.7642 13.2087 11.3373 13.2087 12.0357C13.2087 12.7257 12.9856 13.3071 12.5394 13.7798C12.0932 14.2527 11.4834 14.5515 10.7101 14.6763V16.0641H9.36046Z",fill:"#278D50"})]}),W("defs",{children:W("clipPath",{id:"clip0_21561_73080",children:W("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as A,jsxs as Ft}from"react/jsx-runtime";function De(){return Ft("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Ft("g",{clipPath:"url(#clip0_21559_72026)",children:[A("path",{d:"M6.3189 13.681L0.999756 19.0002",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),A("path",{d:"M7.62981 14.224C8.65376 14.224 9.48383 13.394 9.48383 12.37C9.48383 11.3461 8.65376 10.516 7.62981 10.516C6.60586 10.516 5.77579 11.3461 5.77579 12.37C5.77579 13.394 6.60586 14.224 7.62981 14.224Z",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),A("path",{d:"M19 7.8011L12.1988 0.999878L9.57689 3.62181L16.3781 10.423L19 7.8011Z",fill:"#AAE2E2",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),A("path",{d:"M10.1661 4.21118L3.08118 7.82115L0.999878 19.0001L12.1789 16.9188L15.7888 9.83387",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),A("defs",{children:A("clipPath",{id:"clip0_21559_72026",children:A("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as H,jsxs as $e}from"react/jsx-runtime";function Xe(){return $e("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[$e("g",{clipPath:"url(#clip0_21656_82540)",children:[H("mask",{height:"20",id:"mask0_21656_82540",maskUnits:"userSpaceOnUse",style:{maskType:"luminance"},width:"20",x:"0",y:"0",children:H("path",{d:"M0 1.90735e-06H20V20H0V1.90735e-06Z",fill:"white"})}),$e("g",{mask:"url(#mask0_21656_82540)",children:[H("path",{d:"M10.0001 18.827C14.8749 18.827 18.8262 14.8747 18.8262 9.99988C18.8262 5.1251 14.8748 1.17375 10.0001 1.17371C5.12521 1.17371 1.17296 5.12507 1.17291 9.99988C1.17291 14.8747 5.12518 18.827 10.0001 18.827Z",stroke:"#69697A",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),H("path",{d:"M7.34192 7.93171C7.34192 6.42577 8.59129 5.21167 10.1101 5.26933C11.491 5.32179 12.6162 6.44698 12.6686 7.82792C12.7047 8.7771 12.244 9.62104 11.5257 10.1206C10.5611 10.7915 10.0063 11.9097 10.0063 13.0847",stroke:"#69697A",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),H("path",{d:"M10.5859 15.157H9.41406V13.9851H10.5859V15.157Z",fill:"#69697A"})]})]}),H("defs",{children:H("clipPath",{id:"clip0_21656_82540",children:H("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as $,jsxs as At}from"react/jsx-runtime";function qe(){return At("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[At("g",{clipPath:"url(#clip0_21595_70787)",children:[$("path",{d:"M12.1139 11.8496C13.0146 11.8496 13.8963 11.9394 14.7594 12.1182L15.1285 12.2002C15.986 12.4045 16.8238 12.6979 17.6422 13.082L17.9918 13.2529C18.4171 13.4698 18.7568 13.7804 19.0162 14.1963V14.1973C19.2708 14.6054 19.4 15.06 19.4 15.5752V18.0518H4.82776V15.5752C4.82781 15.0771 4.95662 14.6275 5.2135 14.2139C5.47352 13.7953 5.81235 13.4814 6.23792 13.2637C7.06633 12.8536 7.9074 12.5337 8.76038 12.3008L9.12756 12.2061C10.1077 11.9683 11.1028 11.8496 12.1139 11.8496ZM12.1139 2.59961C13.1111 2.59961 13.9421 2.94229 14.6403 3.63672C15.3374 4.33011 15.6803 5.15737 15.6803 6.15332C15.6803 7.14942 15.3367 7.97938 14.6383 8.67773C13.9399 9.37601 13.11 9.71973 12.1139 9.71973C11.1178 9.71968 10.2878 9.37609 9.58948 8.67773C8.89112 7.97938 8.54753 7.14942 8.54749 6.15332C8.54749 5.15723 8.8912 4.33018 9.5885 3.63672C10.2866 2.94233 11.1168 2.59965 12.1139 2.59961Z",fill:"#FCCAB1",stroke:"#A7512A",strokeLinejoin:"round",strokeWidth:"1.2"}),$("path",{d:"M7.88574 11.8496C8.78645 11.8496 9.66812 11.9394 10.5312 12.1182L10.9004 12.2002C11.7578 12.4045 12.5957 12.6979 13.4141 13.082L13.7637 13.2529C14.189 13.4698 14.5286 13.7804 14.7881 14.1963V14.1973C15.0427 14.6054 15.1719 15.06 15.1719 15.5752V18.0518H0.599609V15.5752C0.599656 15.0771 0.728473 14.6275 0.985352 14.2139C1.24537 13.7953 1.5842 13.4814 2.00977 13.2637C2.83818 12.8536 3.67925 12.5337 4.53223 12.3008L4.89941 12.2061C5.87953 11.9683 6.87468 11.8496 7.88574 11.8496ZM7.88574 2.59961C8.88296 2.59961 9.71395 2.94229 10.4121 3.63672C11.1092 4.33011 11.4521 5.15737 11.4521 6.15332C11.4521 7.14942 11.1085 7.97938 10.4102 8.67773C9.71179 9.37601 8.88183 9.71973 7.88574 9.71973C6.88964 9.71968 6.05969 9.37609 5.36133 8.67773C4.66297 7.97938 4.31938 7.14942 4.31934 6.15332C4.31934 5.15723 4.66305 4.33018 5.36035 3.63672C6.05847 2.94233 6.88861 2.59965 7.88574 2.59961Z",fill:"white",stroke:"#A7512A",strokeLinejoin:"round",strokeWidth:"1.2"})]}),$("defs",{children:$("clipPath",{id:"clip0_21595_70787",children:$("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as ce,jsxs as Ao}from"react/jsx-runtime";function Ue(){return Ao("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[ce("path",{d:"M14.7422 7.52306C14.5682 7.24589 14.3361 7.03318 14.0461 6.88493C13.5175 6.61422 12.9632 6.4144 12.4024 6.27904C11.8352 6.14368 11.2615 6.07922 10.6685 6.07922C10.0755 6.07922 9.51474 6.14368 8.95396 6.28549C8.74125 6.33705 8.52854 6.39506 8.32228 6.47241C8.58656 6.97517 8.72836 7.53595 8.72836 8.1354C8.72836 8.8702 8.5221 9.55989 8.12247 10.14H15V8.45124C15 8.10961 14.9162 7.80022 14.7422 7.52306Z",fill:"currentColor"}),ce("path",{d:"M12.2929 1.66391C11.8417 1.21915 11.3067 1 10.6686 1C10.0304 1 9.49544 1.21915 9.05069 1.66391C8.60594 2.10866 8.38034 2.64365 8.38034 3.28177C8.38034 3.91989 8.60594 4.45489 9.05069 4.89964C9.49544 5.34439 10.0369 5.56999 10.6686 5.56999C11.3002 5.56999 11.8417 5.34439 12.2929 4.89964C12.7376 4.45489 12.9568 3.91345 12.9568 3.28177C12.9568 2.65009 12.7376 2.10866 12.2929 1.66391Z",fill:"currentColor"}),ce("path",{d:"M3.54608 9.75962C3.10133 9.31487 2.87573 8.77343 2.87573 8.13531C2.87573 7.49719 3.10133 6.96864 3.54608 6.52389C3.99084 6.07914 4.53227 5.85999 5.16395 5.85999C5.79563 5.85999 6.33707 6.07914 6.78182 6.52389C6.92362 6.6657 7.04609 6.82039 7.14278 6.98798C7.34904 7.3296 7.45217 7.7099 7.45217 8.13531C7.45217 8.77343 7.22657 9.31487 6.78182 9.75962C6.64646 9.89498 6.49821 10.011 6.34351 10.1012C5.99544 10.3204 5.60226 10.4235 5.16395 10.4235C4.53227 10.4235 3.99084 10.2044 3.54608 9.75962Z",fill:"currentColor"}),ce("path",{d:"M9.49546 13.3112V15H0.832458V13.3112C0.832458 12.976 0.922698 12.6731 1.09673 12.3895C1.27077 12.1123 1.49636 11.8996 1.78642 11.7514C2.32786 11.4806 2.88219 11.2808 3.44296 11.139C4.01018 11.0037 4.58385 10.9392 5.16396 10.9392C5.74407 10.9392 6.33063 11.0037 6.89785 11.139C7.45862 11.2744 8.00651 11.4742 8.5415 11.7449C8.82511 11.8867 9.05715 12.0994 9.23119 12.383C9.40522 12.6602 9.49546 12.9696 9.49546 13.3112Z",fill:"currentColor"})]})}import{jsx as X,jsxs as Et}from"react/jsx-runtime";function Je(){return Et("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[Et("g",{clipPath:"url(#clip0_21669_68418)",children:[X("path",{d:"M13.1869 12.1386C13.2272 12.1789 13.2742 12.2191 13.3211 12.246V13.4202C13.3211 14.3194 12.5964 15.0508 11.6973 15.0508H2.42386C1.5247 15.0508 0.800003 14.3194 0.800003 13.4202V4.14681C0.800003 3.24765 1.5247 2.52295 2.42386 2.52295H4.16179C3.81286 3.23422 3.6384 4.0126 3.6384 4.86479C3.6384 6.28063 4.16179 7.56898 5.14818 8.58892C6.14128 9.60215 7.42292 10.139 8.8656 10.139C9.37557 10.139 9.8587 10.0719 10.3083 9.93095C10.4962 9.87727 10.6706 9.81688 10.8384 9.74307L13.1869 12.1386Z",fill:"currentColor"}),X("path",{d:"M13.3144 8.2333L12.2744 7.1731L12.1871 7.08586L12.261 6.98521C12.469 6.68325 12.63 6.35446 12.724 5.97869C12.8313 5.60963 12.8783 5.24728 12.8783 4.85809C12.8783 4.02604 12.6501 3.26779 12.214 2.61019C12.0731 2.38876 11.9053 2.17403 11.704 1.97273C10.9189 1.17422 9.98621 0.785034 8.85891 0.785034C7.7316 0.785034 6.79889 1.18764 6.0138 1.97944C5.84605 2.1539 5.69843 2.33508 5.56422 2.52296C5.0878 3.20069 4.84624 3.97906 4.84624 4.8648C4.84624 5.97869 5.24885 6.94495 6.0138 7.73675C6.79218 8.52854 7.74502 8.92444 8.85891 8.92444C9.24809 8.92444 9.61715 8.87076 9.95266 8.77011C10.315 8.66275 10.6371 8.50841 10.9525 8.28698L11.0464 8.21988L11.1336 8.30711L13.3144 10.5349L14.0593 11.2864L15.2 10.1524L13.3144 8.2333ZM10.5633 6.5826C10.0869 7.05231 9.5165 7.28717 8.85891 7.28717C8.20131 7.28717 7.63095 7.05231 7.16795 6.5826C6.71166 6.10618 6.47009 5.52911 6.47009 4.85809C6.47009 4.18708 6.71166 3.59659 7.16795 3.13359C7.44306 2.83834 7.77186 2.63703 8.13421 2.52296C8.35564 2.44915 8.60392 2.4156 8.85891 2.4156C9.11389 2.4156 9.36217 2.44915 9.5836 2.52296C9.94595 2.63703 10.2747 2.83834 10.5633 3.13359C11.0129 3.6033 11.2477 4.18708 11.2477 4.85809C11.2477 5.52911 11.0129 6.10618 10.5633 6.5826Z",fill:"currentColor"})]}),X("defs",{children:X("clipPath",{id:"clip0_21669_68418",children:X("rect",{fill:"white",height:"16",width:"16"})})})]})}import{jsx as Ot,jsxs as Eo}from"react/jsx-runtime";function Ye(){return Eo("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[Ot("path",{d:"M10.3852 1.31957C10.0455 0.973222 9.62592 0.800049 9.13305 0.800049H3.36504C2.87216 0.800049 2.45921 0.973222 2.11287 1.31957C1.77318 1.65925 1.60001 2.07886 1.60001 2.56508V10.3379C1.60001 10.8241 1.77318 11.2437 2.11287 11.5834C2.45255 11.9231 2.87216 12.1029 3.36504 12.1029H9.13305C9.62592 12.1029 10.0455 11.9297 10.3852 11.5834C10.7316 11.2437 10.8981 10.8241 10.8981 10.3379V2.56508C10.8981 2.07886 10.7316 1.65925 10.3852 1.31957ZM7.36135 9.72512H3.63146V8.39302H7.36135V9.72512ZM8.87329 7.1142H3.63146V5.7821H8.87329V7.1142ZM8.87329 4.50995H3.63146V3.17785H8.87329V4.50995Z",fill:"currentColor"}),Ot("path",{d:"M4.69714 15.2001V13.435H12.2302V3.89722H13.9952V13.4284C13.9952 13.9213 13.822 14.3342 13.4824 14.6806C13.1427 15.0202 12.7231 15.1934 12.2302 15.1934H4.69714V15.2001Z",fill:"currentColor"})]})}import{jsx as Bt,jsxs as Oo}from"react/jsx-runtime";function Ke(){return Oo("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[Bt("path",{clipRule:"evenodd",d:"M9.11003 0.226492C8.74585 -0.0186302 8.28362 -0.0676546 7.87742 0.0934257L1.83341 2.51663C1.32916 2.71273 1 3.20298 1 3.74225V15.319C1 15.6342 1.25913 15.8863 1.56728 15.8863H9.12404C9.43919 15.8863 9.69132 15.6342 9.69132 15.319V1.32604C9.69132 0.884821 9.47421 0.471614 9.11003 0.226492ZM7.6323 13.0569H3.06603V11.5301H7.6323V13.0569ZM7.6323 10.0244H3.06603V8.50462H7.6323V10.0244ZM7.6323 6.97786H3.06603V5.4581H7.6323V6.97786Z",fill:"currentColor",fillRule:"evenodd"}),Bt("path",{clipRule:"evenodd",d:"M11.2181 4.17651V15.3261C11.2181 15.5292 11.1761 15.7183 11.092 15.8934H14.4327C14.7479 15.8934 15 15.6412 15 15.3261V5.50017C15 4.77181 14.4047 4.17651 13.6763 4.17651H11.2181Z",fill:"currentColor",fillRule:"evenodd"})]})}import{jsx as b}from"react/jsx-runtime";function Wt({name:e}){switch(e){case"agenda":return b(He,{});case"contencioso":return b(Fe,{});case"contrato":return b(Ae,{});case"consultivo":return b(Ie,{});case"xsigner":return b(De,{});case"procuracao":return b(We,{});case"xpay":return b(Ge,{});case"imobiliario":return b(Oe,{});case"marcasepatentes":return b(Be,{});case"ged":return b(Ee,{});case"regulatorio":return b(Ze,{});case"compliance":return b(ze,{});case"xlearning":return b(Xe,{});case"societario":return b(qe,{});case"audiencia":return b(Ue,{});case"pericia":return b(Je,{});case"custom_contrato":return b(Ye,{});case"filial":return b(Ke,{});default:return null}}import{jsx as Zt}from"react/jsx-runtime";function C({className:e,filled:t=!1,name:r,...o}){return Rt.includes(r)?Zt(Wt,{name:r}):Zt("span",{...o,className:Bo("material-symbols-outlined","text-size-body-lg select-none",e),style:{fontVariationSettings:`'FILL' ${t?1:0}, 'wght' 600, 'GRAD' 0, 'opsz' 20`,...o.style},children:r})}import{jsx as Qe}from"react/jsx-runtime";function q({children:e=Qe(L,{appearance:"ghost",size:"icon_md",variant:"tertiary",children:Qe(C,{className:"text-icon-neutral-3",name:"close"})}),...t}){return Qe(Gt.Close,{"data-slot":"sheet-close",...t,children:e})}import{cx as Wo}from"@xjur-ui/util";import{jsx as Zo}from"react/jsx-runtime";function je({className:e,...t}){return Zo("div",{className:Wo("py-large px-large-2x border-t-border-layer-2 mt-auto border-t",e),"data-slot":"sheet-footer",...t})}import{cx as Go}from"@xjur-ui/util";import{jsx as Do}from"react/jsx-runtime";function et({className:e,...t}){return Do("div",{className:Go("px-large-2x h-full",e),...t})}import{createContext as $o,useCallback as Dt,useContext as Xo,useState as tt,useMemo as qo}from"react";import{jsx as Uo}from"react/jsx-runtime";var me=$o({});function $t({children:e}){let[t,r]=tt("list"),[o,a]=tt(!1),[n,i]=tt([]),d=Dt(f=>{r(f)},[]),u=Dt(()=>{a(f=>!f)},[]),m=qo(()=>({currentView:t,changeCurrentView:d,isFullscreen:o,changeIsFullscreen:u,empresas:n,setEmpresas:i}),[t,d,o,u,n,i]);return Uo(me.Provider,{value:m,children:e})}function z(){let e=Xo(me);if(!e)throw new Error("useEmpresaContext must be used within an EmpresaProvider");return{...e,empresas:e.empresas,setEmpresas:e.setEmpresas}}import{jsx as ot}from"react/jsx-runtime";function m1({onOpenChange:e,children:t,...r}){return ot($t,{children:ot(me.Consumer,{children:o=>ot(_e,{onOpenChange:a=>{o.changeCurrentView("list"),e?.(a)},...r,children:typeof t=="function"?t(o):t})})})}import{twMerge as Jo}from"@xjur-ui/util";import{useCallback as Yo}from"react";import{jsx as Ko,jsxs as Qo}from"react/jsx-runtime";function b1({appearance:e="ghost",onClick:t,className:r,children:o="Adicionar",...a}){let{changeCurrentView:n}=z(),i=Yo(d=>{n("form"),t?.(d)},[n,t]);return Qo(L,{appearance:e,className:Jo("w-fit",r),onClick:i,...a,children:[o,Ko(C,{name:"add"})]})}import{twMerge as jo}from"@xjur-ui/util";import{jsx as er}from"react/jsx-runtime";function _1({className:e,...t}){let{currentView:r}=z();return er(et,{className:jo("gap-large-2x data-[view=form]:!px-none flex flex-col",e),"data-view":r,...t})}import{twMerge as tr}from"@xjur-ui/util";import{jsx as or}from"react/jsx-runtime";function N1({className:e,side:t="right",...r}){let{currentView:o,isFullscreen:a}=z();return or(Re,{className:tr("w-[900px] max-w-[1200px] min-w-[900px] data-[fullscreen=true]:w-full data-[fullscreen=true]:max-w-full data-[fullscreen=true]:min-w-full",e),"data-fullscreen":a,"data-view":o,side:t,...r})}import{twMerge as rr}from"@xjur-ui/util";import{jsx as ir}from"react/jsx-runtime";function A1({className:e,...t}){return ir(je,{className:rr("flex items-center justify-between",e),...t})}import{twMerge as ar}from"@xjur-ui/util";import{jsx as ue,jsxs as Xt}from"react/jsx-runtime";function $1({title:e,className:t,showCloseButton:r=!0,...o}){let{changeIsFullscreen:a}=z();return Xt(Ne,{className:ar("flex items-center justify-between",t),...o,children:[ue(Me,{children:e}),Xt("div",{className:"gap-small flex items-center",children:[ue(L,{appearance:"ghost",size:"icon_md",variant:"tertiary",onClick:()=>a(),children:ue(C,{className:"text-icon-neutral-3",name:"expand_content"})}),r&&ue(q,{})]})]})}import{jsx as qt,jsxs as nr}from"react/jsx-runtime";function K1({children:e=nr(L,{appearance:"ghost",className:"border-border-layer-2 border",variant:"secondary",children:[qt(C,{className:"text-icon-neutral-3",name:"add"}),"Adicionar"]}),asChild:t=!0,...r}){return qt(Ve,{asChild:t,...r,children:e})}import{jsx as Ut}from"react/jsx-runtime";function on({...e}){return Ut(q,{...e,asChild:!0,children:Ut(L,{appearance:"ghost",children:"Cancelar"})})}import{useState as xt}from"react";import{cx as lr}from"@xjur-ui/util";import{jsx as Jt}from"react/jsx-runtime";function Yt({className:e,...t}){return Jt("div",{className:"text-size-body-md scrollbar-thin relative w-full overflow-hidden transition-all hover:overflow-x-auto","data-slot":"table-container",children:Jt("table",{className:lr("w-full caption-bottom",e),"data-slot":"table",...t})})}import{cx as sr}from"@xjur-ui/util";import{jsx as pr}from"react/jsx-runtime";function Kt({className:e,...t}){return pr("thead",{className:sr("group/table-header [&_tr]:border-border-layer-2 hover:bg-layer-2-hover [&_tr]:border-b",e),"data-slot":"table-header",...t})}import{cx as dr}from"@xjur-ui/util";import{jsx as cr}from"react/jsx-runtime";function Qt({className:e,...t}){return cr("tbody",{className:dr("[&_tr]:border-border-layer-2 [&_tr]:border-b [&_tr:last-child]:border-0",e),"data-slot":"table-body",...t})}import{cx as jt}from"@xjur-ui/util";import{jsx as eo}from"react/jsx-runtime";function Z({className:e,...t}){return eo("th",{className:jt("group/th text-neutral-placeholder text-size-label-sm h-large-4x py-small-1x px-small text-left align-middle font-medium whitespace-nowrap","relative","animate-in fade-in duration-200 ease-in",e),"data-slot":"table-head",...t})}function U({className:e,...t}){return eo("div",{className:jt("gap-small pr-large-3x relative flex w-fit items-center",e),...t})}import{cx as mr}from"@xjur-ui/util";import{jsx as rt}from"react/jsx-runtime";function J({className:e,sortedDirection:t,...r}){return rt("button",{className:mr("size-large-1x rounded-small-1x","flex cursor-pointer items-center justify-center","hidden group-hover/th:flex","data-[sorted=true]:flex","transition-all duration-200 ease-out","data-[sorted=true]:bg-primary-alt-active data-[sorted=true]:text-primary-label-active","absolute top-1/2 right-0 -translate-y-1/2",e),"data-sorted":t!==void 0,type:"button",...r,children:t!==void 0?rt(C,{name:t==="asc"?"arrow_downward":"arrow_upward"}):rt(C,{name:"swap_vert"})})}import gt,{useState as fo}from"react";import{cx as Pe}from"@xjur-ui/util";import*as ge from"@radix-ui/react-checkbox";import{cx as yr}from"@xjur-ui/util";import{Slot as Cr}from"@radix-ui/react-slot";import{cva as gr}from"@xjur-ui/util";import{memo as ro,useState as vr}from"react";import*as fe from"@radix-ui/react-tooltip";import{jsx as it}from"react/jsx-runtime";function ur({delayDuration:e=0,...t}){return it(fe.Provider,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function at({...e}){return it(ur,{children:it(fe.Root,{"data-slot":"tooltip",...e})})}import*as to from"@radix-ui/react-tooltip";import{jsx as fr}from"react/jsx-runtime";function nt({...e}){return fr(to.Trigger,{"data-slot":"tooltip-trigger",...e})}import*as he from"@radix-ui/react-tooltip";import{cx as hr}from"@xjur-ui/util";import{jsx as oo}from"react/jsx-runtime";function lt({className:e,sideOffset:t=1,variant:r="simple",children:o,...a}){return oo(he.Portal,{children:oo(he.Content,{className:hr("text-size-body-sm z-99999 text-balance","data-[variant=simple]:bg-alt-2 data-[variant=simple]:text-neutral-label data-[variant=simple]:rounded-small-1x data-[variant=simple]:px-small data-[variant=simple]:py-small-1x","data-[variant=rich]:bg-layer-2-idle data-[variant=rich]:text-neutral-dark data-[variant=rich]:rounded-small data-[variant=rich]:border-border-layer-2 data-[variant=rich]:p-large data-[variant=rich]:border","animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin)",e),"data-slot":"tooltip-content","data-variant":r,sideOffset:t,...a,children:o})})}import{jsx as Ce,jsxs as br}from"react/jsx-runtime";var xr=gr("",{variants:{variant:{body:"",label:"",title:"",headline:""},size:{"sm-2x":"","sm-1x":"",sm:"",md:"",lg:""},weight:{thin:"font-thin",extraLight:"font-extralight",light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extraBold:"font-extrabold",black:"font-black"}},compoundVariants:[{variant:"body",size:"sm-1x",class:"text-size-body-sm-1x"},{variant:"body",size:"sm",class:"text-size-body-sm"},{variant:"body",size:"md",class:"text-size-body-md"},{variant:"body",size:"lg",class:"text-size-body-lg"},{variant:"label",size:"sm-2x",class:"text-size-label-sm-2x"},{variant:"label",size:"sm-1x",class:"text-size-label-sm-1x"},{variant:"label",size:"sm",class:"text-size-label-sm"},{variant:"label",size:"md",class:"text-size-label-md"},{variant:"label",size:"lg",class:"text-size-label-lg"},{variant:"title",size:"sm",class:"text-size-title-sm"},{variant:"title",size:"md",class:"text-size-title-md"},{variant:"title",size:"lg",class:"text-size-title-lg"},{variant:"headline",size:"sm",class:"text-size-headline-sm"},{variant:"headline",size:"md",class:"text-size-headline-md"},{variant:"headline",size:"lg",class:"text-size-headline-lg"}],defaultVariants:{variant:"body",size:"md",weight:"normal"}}),v=ro(({variant:e,size:t,weight:r,asChild:o,className:a,children:n,...i})=>Ce(o?Cr:"span",{className:xr({variant:e,size:t,weight:r,className:a}),...i,children:n}));v.displayName="Typography";var st=ro(({children:e,...t})=>{let[r,o]=vr(!1);return br(at,{children:[Ce(nt,{asChild:!0,children:Ce(v,{onMouseEnter:({currentTarget:n})=>{let i=n.scrollWidth>n.clientWidth;o(i),i?n.style.cursor="pointer":n.style.cursor="text"},...t,children:e})}),r&&Ce(lt,{children:e})]})});st.displayName="TruncatedTypography";import{jsx as Y,jsxs as kr}from"react/jsx-runtime";function K({label:e,name:t,className:r,disabled:o=!1,...a}){let n=`field-checkbox-${t}`;return kr("div",{className:"group gap-small flex items-center",children:[Y(ge.Root,{disabled:o,...a,className:yr("size-large-alt rounded-small-1x inline-flex items-center justify-center transition-[border-color,box-shadow,background-color] duration-200 outline-none","border-border-layer-2 bg-layer-2-idle cursor-pointer border-2","hover:border-primary-idle focus:border-primary-idle focus:shadow-focus-primary","data-[state=checked]:bg-primary-active data-[state=checked]:border-primary-active","data-[state=checked]:hover:border-primary-idle","disabled:hover:border-border-layer-2 disabled:cursor-not-allowed disabled:opacity-[38%]",r),id:n,name:t,children:Y(ge.Indicator,{className:"flex items-center justify-center",children:Y(C,{className:"text-neutral-label",name:"check"})})}),!!e&&Y(v,{asChild:!0,className:"text-size-body-sm data-[disabled=true]:opacity-38","data-disabled":o,weight:"medium",children:Y("label",{htmlFor:n,children:e})})]})}import*as g from"react";import*as G from"@radix-ui/react-radio-group";import{cx as ve}from"@xjur-ui/util";import{jsx as w,jsxs as xe}from"react/jsx-runtime";function wr({children:e,allowToggle:t,value:r,onValueChange:o}){let[a,n]=g.useState([]),[i,d]=g.useState([]);g.useEffect(()=>{let x=g.Children.toArray(e).filter(y=>g.isValidElement(y)&&typeof y.props=="object"&&y.props!==null&&"value"in y.props&&typeof y.props.value=="string").map(y=>y.props.value);d(x)},[e]),g.useEffect(()=>{t&&n(r?r.split(",").filter(Boolean):[])},[r,t]);let u=g.useCallback(x=>{if(!t){o?.(x);return}n(y=>{let R=y.includes(x)?y.filter(k=>k!==x):[...y,x];return o?.(R.join(",")),R})},[t,o]),m=i.length>0&&i.every(x=>a.includes(x)),f=g.useCallback(()=>{if(!t)return;let x=m?[]:i;n(x),o?.(x.join(","))},[t,m,i,o]);return{selected:a,allValues:i,toggleValue:u,toggleAll:f,allSelected:m}}function io({checked:e,disabled:t,onClick:r,className:o,...a}){let n=g.useCallback(()=>{r?.()},[r]);return w("button",{className:ve("size-large-alt rounded-circle inline-flex items-center justify-center transition-[border-color,box-shadow,background-color] duration-200 outline-none","border-border-layer-2 bg-layer-2-idle cursor-pointer border-2","hover:border-primary-idle focus:border-primary-idle focus:shadow-focus-primary",e?"bg-primary-active border-primary-active":"",t&&"hover:border-border-layer-2 cursor-not-allowed opacity-[38%]",o),disabled:t,type:"button",onClick:n,...a,children:e&&w("div",{className:"relative flex items-center justify-center","data-slot":"radio-group-indicator"})})}function Pr({label:e,checked:t,onClick:r}){let o=g.useCallback(()=>{r()},[r]);return xe("div",{className:"gap-small flex items-center",children:[w(io,{checked:t,onClick:o}),w(v,{asChild:!0,className:"text-size-body-sm",weight:"medium",children:w("button",{className:"cursor-pointer border-none bg-transparent p-0 text-left",type:"button",onClick:o,children:e})})]})}function be({className:e,orientation:t="vertical",allowToggle:r=!1,allowSelectAll:o=!1,selectAllLabel:a="Selecionar todos",value:n,onValueChange:i,children:d,...u}){let{selected:m,toggleValue:f,toggleAll:x,allSelected:y}=wr({children:d,allowToggle:r,value:n||void 0,onValueChange:i}),I=t==="horizontal",R=g.useCallback(k=>{i?.(k)},[i]);return r?xe("div",{className:"gap-small flex flex-col",children:[o&&w(Pr,{checked:y,label:a,onClick:x}),w("div",{className:ve("gap-small flex",I?"flex-row":"flex-col",e),children:g.Children.map(d,k=>{if(g.isValidElement(k)&&typeof k.props=="object"&&k.props!==null&&"value"in k.props){let O=k.props;return g.cloneElement(k,{allowToggle:!0,checked:m.includes(O.value),onToggle:()=>f(O.value)})}return k})})]}):w(G.Root,{className:ve("gap-small flex",I?"flex-row":"flex-col",e),"data-slot":"radio-group",value:n,onValueChange:R,...u,children:d})}function ye({className:e,id:t,label:r,disabled:o=!1,allowToggle:a=!1,checked:n=!1,onToggle:i,...d}){let u=g.useCallback(()=>i?.(),[i]);return a?xe("div",{className:"gap-small flex items-center",children:[w(io,{checked:n,disabled:o,onClick:u}),!!r&&w(v,{asChild:!0,className:"text-size-body-sm","data-disabled":o,weight:"medium",children:w("button",{className:"cursor-pointer border-none bg-transparent p-0 text-left",disabled:o,type:"button",onClick:u,children:r})})]}):xe("div",{className:"gap-small flex items-center",children:[w(G.Item,{className:ve("size-large-alt rounded-circle inline-flex items-center justify-center transition-[border-color,box-shadow,background-color] duration-200 outline-none","border-border-layer-2 bg-layer-2-idle cursor-pointer border-2","hover:border-primary-idle focus:border-primary-idle focus:shadow-focus-primary","data-[state=checked]:bg-primary-active data-[state=checked]:border-primary-active","data-[state=checked]:hover:border-primary-idle",o&&"hover:border-border-layer-2 cursor-not-allowed opacity-[38%]",e),disabled:o,id:t,...d,children:w(G.Indicator,{className:"relative flex items-center justify-center"})}),!!r&&w(v,{asChild:!0,className:"text-size-body-sm","data-disabled":o,weight:"medium",children:w("label",{htmlFor:t,children:r})})]})}import*as ao from"@radix-ui/react-popover";import{createContext as Sr,useContext as _r}from"react";var pt=Sr({state:"normal",variant:"normal",customMask:void 0,mask:void 0});function P(){let e=_r(pt);if(!e)throw new Error("useFieldContext must be used within a InputRoot, SelectRoot, DatePickerRoot, etc.");return e}import{tv as Tr}from"@xjur-ui/util";var _=Tr({slots:{wrapper:"group flex flex-col gap-small-2x",trigger:["h-large-4x w-auto inline-flex cursor-pointer relative","items-center gap-small rounded-small-1x","py-small_1x-alt px-small","bg-layer-2-idle border border-border-layer-2","group-has-[div[data-slot=input-action-slot]]:rounded-r-none","transition-all duration-200"],content:["group z-1000 max-h-[var(--radix-popover-content-available-height)] max-w-[240px] min-w-[var(--radix-popover-trigger-width)] group-data-[state=open]:rotate-180 transition-transform duration-200"],icon:"size-large text-icon-neutral-3 flex items-center justify-center",slotText:"size-large flex items-center justify-center !text-size-label-md text-neutral-placeholder",caption:"!text-size-body-sm font-normal"},variants:{state:{normal:{trigger:"hover:border-border-layer-3 data-[state=open]:border-primary-idle data-[state=open]:hover:border-primary-idle"},error:{trigger:"border-danger-idle hover:border-danger-idle data-[state=open]:border-danger-idle data-[state=open]:hover:border-danger-idle",caption:"text-danger-label-idle"},disabled:{trigger:"pointer-events-none border-transparent bg-layer-2-idle"}}}});import{jsx as dt}from"react/jsx-runtime";var{wrapper:Lr}=_();function Q({className:e,state:t="normal",defaultOpen:r,variant:o="normal",modal:a,open:n,onOpenChange:i,...d}){return dt(ao.Root,{defaultOpen:r,modal:a,open:n,onOpenChange:i,children:dt(pt.Provider,{value:{state:t,variant:o},children:dt("div",{className:Lr({className:e,state:t}),...d})})})}import{tv as Rr,twMerge as Vr}from"@xjur-ui/util";import*as no from"@radix-ui/react-popover";import{jsx as Nr}from"react/jsx-runtime";var{trigger:Mr}=_();function j({className:e,...t}){let{state:r,variant:o}=P(),a=Rr({base:["group bg-layer-2-idle"],variants:{state:{normal:["border-border-layer-2 hover:border-border-layer-3 has-[input:not(:placeholder-shown)]:border-primary-idle"],error:["border-danger-idle hover:border-danger-idle"],disabled:["border border-border-layer-2 opacity-60"]}}}),n=Vr(Mr({state:r,className:e}),o==="filter"&&a({state:r,className:e}));return Nr(no.Trigger,{className:n,disabled:r==="disabled",...t})}import{jsx as lo}from"react/jsx-runtime";var{icon:Hr}=_();function ee({className:e,name:t,orientation:r="left",...o}){let{state:a}=P();return lo("div",{className:Hr({className:e,state:a}),"data-slot":`control-${r}-slot`,...o,children:lo(C,{name:t})})}import{twJoin as Ir}from"@xjur-ui/util";import{useMemo as Fr}from"react";import{tv as zr}from"@xjur-ui/util";import{jsx as so}from"react/jsx-runtime";function ct({className:e,htmlFor:t,children:r,...o}){let{state:a}=P(),n=zr({base:["group inline-block max-w-full truncate text-left","ease animate-in left-small right-small pointer-events-none absolute top-1/2 -translate-y-1/2 transition-all duration-250","text-size-body-md","group-focus-within:-top-[3px]","group-data-[state=open]:-top-[3px]","group-focus-within:text-size-label-sm-1x group-focus-within:font-medium","group-data-[state=open]:text-size-label-sm-1x group-data-[state=open]:font-medium","group-has-[input:not(:placeholder-shown)]:-top-[3px]","group-has-[input:not(:placeholder-shown)]:text-size-label-sm-1x","group-has-[input:not(:placeholder-shown)]:font-medium","group-has-[div[data-slot=control-left-slot]]:left-large-4x","group-has-[div[data-slot=control-left-slot]]:group-focus-within:left-small","group-has-[div[data-slot=control-left-slot]]:group-has-[input:not(:placeholder-shown)]:left-small","group-has-[div[data-slot=control-left-slot]]:group-data-[state=open]:left-small","group-focus-within:animate-in","group-has-[input:not(:placeholder-shown)]:animate-out","data-[disabled=true]:hidden"],variants:{state:{normal:["group-focus-within:!text-primary-idle group-data-[state=open]:!text-primary-idle","group-has-[input:not(:placeholder-shown)]:!text-primary-idle"],error:["group-focus-within:!text-danger-label-active group-data-[state=open]:!text-danger-label-active","group-has-[input:not(:placeholder-shown)]:!text-danger-label-active"],disabled:[]}}});return so("label",{className:n({className:e,state:a}),htmlFor:t,...o,children:so("span",{className:"rounded-small-1x bg-layer-2-idle max-w-full",children:r})})}import{jsx as ke,jsxs as Ar}from"react/jsx-runtime";function te({className:e,value:t,placeholder:r,renderValue:o,...a}){let{variant:n}=P(),i=Fr(()=>{let d=o?o(t??""):typeof t=="object"?t?.label:t;return n==="filter"?d:d||r},[t,r,n,o]);return Ar("div",{className:"grid w-full items-center",children:[r&&n==="filter"&&ke(ct,{children:r}),r&&n==="filter"&&ke(v,{className:"invisible col-start-1 row-start-1 self-center",children:r}),ke(v,{className:"text-neutral-dark z-10 col-start-1 row-start-1 self-center text-left",children:i}),ke("input",{...a,"aria-readonly":!0,className:Ir("pointer-events-none",e),hidden:!0,placeholder:" ",readOnly:!0,value:typeof t=="object"?t?.value??"":t??""})]})}import{twMerge as Pl}from"@xjur-ui/util";import{Fragment as _l,useMemo as Tl}from"react";import{jsx as Nl,jsxs as Hl}from"react/jsx-runtime";import*as we from"@radix-ui/react-popover";import{Slot as Or}from"@radix-ui/react-slot";import{cx as Br}from"@xjur-ui/util";import{useVirtualizer as Wr}from"@tanstack/react-virtual";import{useRef as Zr}from"react";import{createContext as Er}from"react";var oe=Er({virtualizer:null,enabled:!1});import{jsx as po}from"react/jsx-runtime";function mt({className:e,asChild:t,children:r,virtualized:o=!1,itemCount:a=0,estimateSize:n=()=>48,overscan:i=5,...d}){let u=t?Or:"div",m=Zr(null),f=Wr({count:a,getScrollElement:()=>m.current,estimateSize:n,overscan:i,enabled:o});return po(oe.Provider,{value:{virtualizer:f,enabled:o},children:po(u,{...d,className:Br(e,"rounded-small scrollbar-thin bg-layer-2-idle border-border-layer-2 shadow-elevation-3 z-1000 max-h-[400px] list-none overflow-x-hidden overflow-y-auto border"),ref:m,children:r})})}import{Slot as $l}from"@radix-ui/react-slot";import{cx as ql}from"@xjur-ui/util";import{jsx as Jl}from"react/jsx-runtime";import{cx as Ql}from"@xjur-ui/util";import{jsx as ts}from"react/jsx-runtime";import{Slot as Gr}from"@radix-ui/react-slot";import{cx as co}from"@xjur-ui/util";import{useContext as Dr}from"react";import{jsx as ut}from"react/jsx-runtime";function ft({className:e,asChild:t,children:r,renderItem:o,...a}){let n=t?Gr:"ul",{virtualizer:i,enabled:d}=Dr(oe);if(d&&i&&o){let u=i.getVirtualItems();return ut(n,{...a,className:co("p-small relative flex flex-col",e),style:{height:`${i.getTotalSize()}px`},children:u.map(m=>ut("div",{className:"absolute top-0 left-0 w-full","data-index":m.index,ref:i.measureElement,style:{transform:`translateY(${m.start}px)`},children:o(m.index)},m.key))})}return ut(n,{...a,className:co("gap-small-1x p-small flex flex-col",e),children:r})}import{Slot as $r}from"@radix-ui/react-slot";import{cx as Xr,cva as qr}from"@xjur-ui/util";import{jsx as Jr}from"react/jsx-runtime";var Ur=qr(["py-medium px-small flex items-center gap-small rounded-small-1x","bg-layer-2-idle text-neutral-dark","hover:bg-layer-2-hover transition-colors duration-100 ease-out","active:bg-layer-2-pressed"],{variants:{size:{md:"h-large-4x",lg:"h-large-7x"},isActive:{true:"bg-primary-alt-active text-primary-label-active hover:bg-primary-alt-hover active:bg-primary-alt-pressed"}},defaultVariants:{size:"md",isActive:!1}});function ht({className:e,size:t,isActive:r,asChild:o,...a}){return Jr(o?$r:"li",{...a,className:Xr(Ur({size:t,isActive:r}),e)})}import{jsx as Ct}from"react/jsx-runtime";var{content:Qr}=_();function re({className:e,sideOffset:t=5,side:r="bottom",align:o="start",children:a,virtualized:n=!1,overscan:i=5,estimateSize:d=()=>32,...u}){let{state:m}=P();return Ct(we.Portal,{children:Ct(we.Content,{align:o,className:Qr({className:e,state:m}),side:r,sideOffset:t,...u,children:Ct(mt,{estimateSize:d,overscan:i,virtualized:n,children:a})})})}import{jsx as Rs}from"react/jsx-runtime";var{caption:Ts}=_();import{jsx as Is}from"react/jsx-runtime";var{slotText:Hs}=_();import{jsx as jr}from"react/jsx-runtime";function ie(e){return jr(ft,{...e})}import{twMerge as ei}from"@xjur-ui/util";import*as uo from"@radix-ui/react-popover";import{jsx as mo}from"react/jsx-runtime";function ae({className:e,value:t,closeOnSelect:r=!0,...o}){let a=mo(ht,{className:ei(e,"cursor-pointer"),value:typeof t=="object"?t?.value:t,...o});return r?mo(uo.Close,{asChild:!0,children:a}):a}import{twMerge as ti}from"@xjur-ui/util";import{jsx as oi}from"react/jsx-runtime";function ne({className:e,...t}){return oi(st,{className:ti(e,"truncate"),...t})}import{jsx as Ys}from"react/jsx-runtime";import{jsx as ep}from"react/jsx-runtime";import{Close as kp}from"@radix-ui/react-popover";import{Fragment as ri,jsx as h,jsxs as E}from"react/jsx-runtime";function vt({className:e,isSelected:t=!1,variant:r="default",accordionContent:o,isAccordionOpen:a=!1,onAccordionToggle:n,accordionData:i,...d}){let[u,m]=fo(a),[f,x]=fo("");gt.useEffect(()=>{m(a)},[a]);let y=()=>{if(!o)return;m(!u),n?.()},I=c=>{i?.checkbox?.onCheckedChange(c)},R=gt.useCallback(c=>{i?.radio&&i.radio.onCheckedChange(i.radio.value,c)},[i?.radio]),k=gt.useMemo(()=>!i?.searchSelect?.options||!f?i?.searchSelect?.options||[]:i.searchSelect.options.filter(c=>c.label.toLowerCase().includes(f.toLowerCase())),[i?.searchSelect?.options,f]),O=c=>{x(c.target.value)},Se=c=>{i?.searchSelect?.onChangeSearchOption(c),x("")};return r==="accordion"?E(ri,{children:[E("tr",{"aria-expanded":o?u:void 0,className:Pe("bg-layer-2-idle hover:bg-layer-2-hover ease border-b transition-colors duration-100","active:bg-layer-2-pressed","data-[selected=true]:bg-primary-alt-active",o&&"cursor-pointer",e),"data-selected":t,"data-slot":"table-row-accordion",role:o?"button":void 0,tabIndex:o?0:void 0,onClick:y,...d,children:[h("td",{className:"w-6 px-2 py-3",children:i?.checkbox&&h(K,{checked:i.checkbox.checked,onCheckedChange:I,onClick:c=>c.stopPropagation()})}),h("td",{className:"px-2 py-3",children:E("div",{className:"flex items-center gap-2",children:[o&&h(C,{className:Pe("text-neutral-medium transition-transform duration-200",u&&"rotate-90"),name:"keyboard_arrow_up"}),h(v,{children:i?.text1})]})}),h("td",{className:"px-2 py-3",children:h(v,{children:i?.text2})}),h("td",{className:"px-2 py-3",onClick:c=>c.stopPropagation(),children:i?.searchSelect&&E(Q,{children:[E(j,{children:[h(te,{placeholder:"Selecione",value:{value:i.searchSelect?.selectedSearchOption||"",label:i.searchSelect?.options.find(c=>c.value===i.searchSelect?.selectedSearchOption)?.label||""}}),h(ee,{className:"text-layer-1-active",name:"keyboard_arrow_down"})]}),h(re,{children:E(ie,{className:"p-0",children:[h("div",{className:"py-small border-border-layer-2 border-b",children:E("div",{className:"gap-small py-small_1x-alt bg-layer-2-idle rounded-small flex items-center",children:[h(C,{className:"text-layer-1-active",name:"search"}),h("input",{className:"text-size-body-md text-neutral-dark placeholder:text-neutral-placeholder flex-1 bg-transparent outline-none",placeholder:"Pesquisar",value:f,onChange:O})]})}),k.map(c=>h(ae,{className:"p-0",isActive:i.searchSelect?.selectedSearchOption===c.value,value:c,onClick:()=>Se(c.value),children:h(ne,{children:c.label})},c.value))]})})]})}),h("td",{className:"px-2 py-3",onClick:c=>c.stopPropagation(),children:i?.radio&&h(be,{allowToggle:!0,className:"",value:i.radio.checked?i.radio.value:"",onValueChange:c=>{i?.radio&&R(c!=="")},children:h(ye,{className:"",id:`principal-${i.radio.value}`,label:"",value:i.radio.value})})})]}),u&&o&&h("tr",{className:Pe("bg-layer-2-idle hover:bg-layer-2-hover ease border-b transition-colors duration-100","active:bg-layer-2-pressed","data-[selected=true]:bg-primary-alt-active",e),children:h("td",{colSpan:5,children:o})})]}):h("tr",{className:Pe("bg-layer-2-idle hover:bg-layer-2-hover ease border-b transition-colors duration-100","active:bg-layer-2-pressed","data-[selected=true]:bg-primary-alt-active",e),"data-selected":t,"data-slot":"table-row",...d})}import{jsx as p,jsxs as S}from"react/jsx-runtime";var bt=[{value:"autor",label:"Autor"},{value:"coautor",label:"Coautor"},{value:"colaborador",label:"Colaborador"}];function Dp({empresas:e,selectedEmpresas:t,selectedRadios:r,selectedSearchOptions:o,selectedAccordionContent:a,onEmpresaSelect:n,onRadioChange:i,onSearchOptionChange:d,onAccordionContentChange:u,onSort:m,sortConfig:f}){let[x,y]=xt([]),[I,R]=xt([]),[k,O]=xt({}),Se=l=>{y(s=>s.includes(l)?s.filter(T=>T!==l):[...s,l])},c=(l,s)=>{R(s?T=>[...T,l]:T=>T.filter(ho=>ho!==l))},yt=(l,s)=>{O(T=>({...T,[l]:s}))};return S(Yt,{children:[p(Kt,{children:S(vt,{children:[p(Z,{children:p(K,{checked:t.length===e.length&&e.length>0,onCheckedChange:l=>{l?(e.forEach(s=>{t.includes(s.id)||n(s.id,!0)}),e.forEach(s=>{s.detalhes&&u(s.id,!0)})):(e.forEach(s=>{t.includes(s.id)&&n(s.id,!1)}),e.forEach(s=>{s.detalhes&&u(s.id,!1)}))}})}),p(Z,{children:S(U,{children:["Nome fantasia",p(J,{sortedDirection:f?.key==="nomeFantasia"?f.direction:void 0,onClick:()=>m("nomeFantasia")})]})}),p(Z,{children:S(U,{children:["Documento",p(J,{sortedDirection:f?.key==="documento"?f.direction:void 0,onClick:()=>m("documento")})]})}),p(Z,{children:S(U,{children:["Forma de participa\xE7\xE3o",p(J,{sortedDirection:f?.key==="formaParticipacao"?f.direction:void 0,onClick:()=>m("formaParticipacao")})]})}),p(Z,{children:S(U,{children:["Principal",p(J,{sortedDirection:f?.key==="principal"?f.direction:void 0,onClick:()=>m("principal")})]})})]})}),p(Qt,{children:e.map(l=>p(vt,{accordionContent:l.detalhes?S("tr",{className:"flex w-full",children:[p("td",{className:"mr-14 px-2 py-3",children:p(K,{checked:a.includes(l.id),onCheckedChange:s=>u(l.id,s)})}),S("div",{className:"flex w-full justify-between",children:[p("td",{className:"mr-18 px-2 py-3",children:S("div",{className:"flex items-center gap-2",children:[p(C,{className:"text-neutral-medium",name:"keyboard_arrow_up"}),p(v,{className:"truncate text-sm sm:text-base",children:l.nomeFantasia})]})}),p("td",{className:"w-full px-2 py-3",children:p(v,{className:"truncate text-sm sm:text-base",children:l.documento})}),p("td",{className:"w-full px-2 py-3",children:S(Q,{children:[S(j,{children:[p(te,{placeholder:"Selecione",value:{value:k[l.id]||"",label:bt.find(s=>s.value===k[l.id])?.label||""}}),p(ee,{className:"text-layer-1-active",name:"keyboard_arrow_down"})]}),p(re,{children:S(ie,{className:"p-0",children:[p("div",{className:"py-small border-border-layer-2 border-b",children:S("div",{className:"gap-small py-small_1x-alt bg-layer-2-idle rounded-small flex items-center",children:[p(C,{className:"text-layer-1-active",name:"search"}),p("input",{className:"text-size-body-md text-neutral-dark placeholder:text-neutral-placeholder flex-1 bg-transparent outline-none",placeholder:"Pesquisar",value:"",onChange:()=>{}})]})}),bt.map(s=>p(ae,{className:"p-0",isActive:k[l.id]===s.value,value:s,onClick:()=>yt(l.id,s.value),children:p(ne,{children:s.label})},s.value))]})})]})}),p("td",{className:"w-full px-2 py-3",children:p(be,{allowToggle:!0,className:"",value:I.includes(l.id)?l.id:"",onValueChange:s=>{let T=s!=="";c(l.id,T)},children:p(ye,{className:"",id:`accordion-principal-${l.id}`,label:"",value:l.id})})})]})]}):void 0,accordionData:{checkbox:{checked:t.includes(l.id),onCheckedChange:s=>n(l.id,s)},radio:{checked:r.includes(l.id),onCheckedChange:(s,T)=>i(l.id,T),value:l.id},searchSelect:{options:bt,selectedSearchOption:o[l.id]||l.formaParticipacao.toLowerCase(),onChangeSearchOption:s=>d(l.id,s),placeholder:"Selecione"},text1:l.nomeFantasia,text2:l.documento},isAccordionOpen:x.includes(l.id),variant:"accordion",onAccordionToggle:()=>Se(l.id)},l.id))})]})}export{b1 as EmpresaAddButton,_1 as EmpresaBody,on as EmpresaCloseButton,N1 as EmpresaContent,me as EmpresaContext,A1 as EmpresaFooter,$1 as EmpresaHeader,$t as EmpresaProvider,m1 as EmpresaRoot,Dp as EmpresaTable,K1 as EmpresaTrigger,z as useEmpresaContext};