@habit.analytics/habit-claims-journey-components 2.1.1 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +10 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }:root,.jb-widget-root{--claims-journey-background: 210 25% 96.5%;--claims-journey-foreground: 222.2 84% 4.9%;--claims-journey-font-heading: "Poppins", sans-serif;--claims-journey-font-body: "Roboto", sans-serif;--claims-journey-card: 0 0% 100%;--claims-journey-card-foreground: 222.2 84% 4.9%;--claims-journey-popover: 0 0% 100%;--claims-journey-popover-foreground: 222.2 84% 4.9%;--claims-journey-primary: 222.2 47.4% 11.2%;--claims-journey-primary-foreground: 210 40% 98%;--claims-journey-secondary: 210 40% 96.1%;--claims-journey-secondary-foreground: 222.2 47.4% 11.2%;--claims-journey-muted: 210 40% 96.1%;--claims-journey-muted-foreground: 215.4 16.3% 46.9%;--claims-journey-accent: 210 40% 96.1%;--claims-journey-accent-foreground: 222.2 47.4% 11.2%;--claims-journey-destructive: 0 84.2% 60.2%;--claims-journey-destructive-foreground: 210 40% 98%;--claims-journey-border: 214.3 31.8% 91.4%;--claims-journey-input: 214.3 31.8% 91.4%;--claims-journey-ring: 222.2 84% 4.9%;--claims-journey-radius: .75rem;--claims-journey-success: 142 71% 45%;--claims-journey-success-foreground: 0 0% 100%;--claims-journey-sidebar-background: 0 0% 98%;--claims-journey-sidebar-foreground: 240 5.3% 26.1%;--claims-journey-sidebar-primary: 240 5.9% 10%;--claims-journey-sidebar-primary-foreground: 0 0% 98%;--claims-journey-sidebar-accent: 240 4.8% 95.9%;--claims-journey-sidebar-accent-foreground: 240 5.9% 10%;--claims-journey-sidebar-border: 220 13% 91%;--claims-journey-sidebar-ring: 217.2 91.2% 59.8%}.dark{--claims-journey-background: 222.2 84% 4.9%;--claims-journey-foreground: 210 40% 98%;--claims-journey-card: 222.2 84% 4.9%;--claims-journey-card-foreground: 210 40% 98%;--claims-journey-popover: 222.2 84% 4.9%;--claims-journey-popover-foreground: 210 40% 98%;--claims-journey-primary: 210 40% 98%;--claims-journey-primary-foreground: 222.2 47.4% 11.2%;--claims-journey-secondary: 217.2 32.6% 17.5%;--claims-journey-secondary-foreground: 210 40% 98%;--claims-journey-muted: 217.2 32.6% 17.5%;--claims-journey-muted-foreground: 215 20.2% 65.1%;--claims-journey-accent: 217.2 32.6% 17.5%;--claims-journey-accent-foreground: 210 40% 98%;--claims-journey-destructive: 0 62.8% 30.6%;--claims-journey-destructive-foreground: 210 40% 98%;--claims-journey-border: 217.2 32.6% 17.5%;--claims-journey-input: 217.2 32.6% 17.5%;--claims-journey-ring: 212.7 26.8% 83.9%;--claims-journey-sidebar-background: 240 5.9% 10%;--claims-journey-sidebar-foreground: 240 4.8% 95.9%;--claims-journey-sidebar-primary: 224.3 76.3% 48%;--claims-journey-sidebar-primary-foreground: 0 0% 100%;--claims-journey-sidebar-accent: 240 3.7% 15.9%;--claims-journey-sidebar-accent-foreground: 240 4.8% 95.9%;--claims-journey-sidebar-border: 240 3.7% 15.9%;--claims-journey-sidebar-ring: 217.2 91.2% 59.8%}.jb-widget-root,.jb-widget-root *,.jb-widget-root *:before,.jb-widget-root *:after{border-color:hsl(var(--claims-journey-border));box-sizing:border-box}.jb-widget-root{background-color:hsl(var(--claims-journey-background));color:hsl(var(--claims-journey-foreground))}.cj-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border-width:0!important}.cj-pointer-events-none{pointer-events:none!important}.cj-pointer-events-auto{pointer-events:auto!important}.cj-invisible{visibility:hidden!important}.cj-fixed{position:fixed!important}.cj-absolute{position:absolute!important}.cj-relative{position:relative!important}.cj-sticky{position:sticky!important}.cj-inset-0{top:0!important;right:0!important;bottom:0!important;left:0!important}.cj-inset-x-0{left:0!important;right:0!important}.cj-inset-y-0{top:0!important;bottom:0!important}.-cj-bottom-12{bottom:-3rem!important}.-cj-bottom-2{bottom:-.5rem!important}.-cj-left-12{left:-3rem!important}.-cj-right-1{right:-.25rem!important}.-cj-right-12{right:-3rem!important}.-cj-top-1{top:-.25rem!important}.-cj-top-12{top:-3rem!important}.cj-bottom-0{bottom:0!important}.cj-left-0{left:0!important}.cj-left-1{left:.25rem!important}.cj-left-1\\/2{left:50%!important}.cj-left-2{left:.5rem!important}.cj-left-2\\.5{left:.625rem!important}.cj-left-3{left:.75rem!important}.cj-left-\\[50\\%\\]{left:50%!important}.cj-right-0{right:0!important}.cj-right-1{right:.25rem!important}.cj-right-2{right:.5rem!important}.cj-right-3{right:.75rem!important}.cj-right-4{right:1rem!important}.cj-top-0{top:0!important}.cj-top-1{top:.25rem!important}.cj-top-1\\.5{top:.375rem!important}.cj-top-1\\/2{top:50%!important}.cj-top-2{top:.5rem!important}.cj-top-2\\.5{top:.625rem!important}.cj-top-3\\.5{top:.875rem!important}.cj-top-4{top:1rem!important}.cj-top-\\[1px\\]{top:1px!important}.cj-top-\\[50\\%\\]{top:50%!important}.cj-top-\\[60\\%\\]{top:60%!important}.cj-top-full{top:100%!important}.cj-z-10{z-index:10!important}.cj-z-20{z-index:20!important}.cj-z-50{z-index:50!important}.cj-z-\\[100\\]{z-index:100!important}.cj-z-\\[1\\]{z-index:1!important}.cj-m-0{margin:0!important}.-cj-mx-1{margin-left:-.25rem!important;margin-right:-.25rem!important}.cj-mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.cj-mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.cj-mx-3\\.5{margin-left:.875rem!important;margin-right:.875rem!important}.cj-mx-auto{margin-left:auto!important;margin-right:auto!important}.cj-my-0\\.5{margin-top:.125rem!important;margin-bottom:.125rem!important}.cj-my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.-cj-ml-4{margin-left:-1rem!important}.-cj-mt-4{margin-top:-1rem!important}.cj-mb-1{margin-bottom:.25rem!important}.cj-mb-1\\.5{margin-bottom:.375rem!important}.cj-mb-2{margin-bottom:.5rem!important}.cj-mb-3{margin-bottom:.75rem!important}.cj-mb-4{margin-bottom:1rem!important}.cj-mb-6{margin-bottom:1.5rem!important}.cj-ml-0\\.5{margin-left:.125rem!important}.cj-ml-1{margin-left:.25rem!important}.cj-ml-1\\.5{margin-left:.375rem!important}.cj-ml-2{margin-left:.5rem!important}.cj-ml-auto{margin-left:auto!important}.cj-mr-1{margin-right:.25rem!important}.cj-mr-1\\.5{margin-right:.375rem!important}.cj-mr-2{margin-right:.5rem!important}.cj-mt-0{margin-top:0!important}.cj-mt-0\\.5{margin-top:.125rem!important}.cj-mt-1{margin-top:.25rem!important}.cj-mt-1\\.5{margin-top:.375rem!important}.cj-mt-2{margin-top:.5rem!important}.cj-mt-24{margin-top:6rem!important}.cj-mt-3{margin-top:.75rem!important}.cj-mt-4{margin-top:1rem!important}.cj-mt-auto{margin-top:auto!important}.cj-block{display:block!important}.cj-flex{display:flex!important}.cj-inline-flex{display:inline-flex!important}.cj-grid{display:grid!important}.cj-hidden{display:none!important}.cj-aspect-square{aspect-ratio:1 / 1!important}.cj-aspect-video{aspect-ratio:16 / 9!important}.cj-size-4{width:1rem!important;height:1rem!important}.\\!cj-h-3{height:.75rem!important}.cj-h-1{height:.25rem!important}.cj-h-1\\.5{height:.375rem!important}.cj-h-10{height:2.5rem!important}.cj-h-11{height:2.75rem!important}.cj-h-12{height:3rem!important}.cj-h-14{height:3.5rem!important}.cj-h-2{height:.5rem!important}.cj-h-2\\.5{height:.625rem!important}.cj-h-3{height:.75rem!important}.cj-h-3\\.5{height:.875rem!important}.cj-h-4{height:1rem!important}.cj-h-5{height:1.25rem!important}.cj-h-6{height:1.5rem!important}.cj-h-7{height:1.75rem!important}.cj-h-8{height:2rem!important}.cj-h-9{height:2.25rem!important}.cj-h-\\[1px\\]{height:1px!important}.cj-h-\\[200px\\]{height:200px!important}.cj-h-\\[var\\(--radix-navigation-menu-viewport-height\\)\\]{height:var(--radix-navigation-menu-viewport-height)!important}.cj-h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)!important}.cj-h-auto{height:auto!important}.cj-h-full{height:100%!important}.cj-h-px{height:1px!important}.cj-h-svh{height:100svh!important}.cj-max-h-40{max-height:10rem!important}.cj-max-h-60{max-height:15rem!important}.cj-max-h-80{max-height:20rem!important}.cj-max-h-96{max-height:24rem!important}.cj-max-h-\\[300px\\]{max-height:300px!important}.cj-max-h-\\[85vh\\]{max-height:85vh!important}.cj-max-h-\\[calc\\(100vh-5rem\\)\\]{max-height:calc(100vh - 5rem)!important}.cj-max-h-screen{max-height:100vh!important}.cj-min-h-0{min-height:0px!important}.cj-min-h-12{min-height:3rem!important}.cj-min-h-\\[100px\\]{min-height:100px!important}.cj-min-h-\\[120px\\]{min-height:120px!important}.cj-min-h-\\[200px\\]{min-height:200px!important}.cj-min-h-screen{min-height:100vh!important}.cj-min-h-svh{min-height:100svh!important}.\\!cj-w-3{width:.75rem!important}.cj-w-0{width:0px!important}.cj-w-1{width:.25rem!important}.cj-w-1\\.5{width:.375rem!important}.cj-w-10{width:2.5rem!important}.cj-w-11{width:2.75rem!important}.cj-w-12{width:3rem!important}.cj-w-2{width:.5rem!important}.cj-w-2\\.5{width:.625rem!important}.cj-w-24{width:6rem!important}.cj-w-28{width:7rem!important}.cj-w-3{width:.75rem!important}.cj-w-3\\.5{width:.875rem!important}.cj-w-3\\/4{width:75%!important}.cj-w-32{width:8rem!important}.cj-w-4{width:1rem!important}.cj-w-5{width:1.25rem!important}.cj-w-6{width:1.5rem!important}.cj-w-64{width:16rem!important}.cj-w-7{width:1.75rem!important}.cj-w-72{width:18rem!important}.cj-w-8{width:2rem!important}.cj-w-9{width:2.25rem!important}.cj-w-96{width:24rem!important}.cj-w-\\[--sidebar-width\\]{width:var(--sidebar-width)!important}.cj-w-\\[100px\\]{width:100px!important}.cj-w-\\[1px\\]{width:1px!important}.cj-w-\\[260px\\]{width:260px!important}.cj-w-\\[360px\\]{width:360px!important}.cj-w-\\[calc\\(100\\%-2rem\\)\\]{width:calc(100% - 2rem)!important}.cj-w-auto{width:auto!important}.cj-w-full{width:100%!important}.cj-w-max{width:-moz-max-content!important;width:max-content!important}.cj-w-px{width:1px!important}.cj-min-w-0{min-width:0px!important}.cj-min-w-5{min-width:1.25rem!important}.cj-min-w-\\[1\\.75rem\\]{min-width:1.75rem!important}.cj-min-w-\\[12rem\\]{min-width:12rem!important}.cj-min-w-\\[140px\\]{min-width:140px!important}.cj-min-w-\\[180px\\]{min-width:180px!important}.cj-min-w-\\[220px\\]{min-width:220px!important}.cj-min-w-\\[8rem\\]{min-width:8rem!important}.cj-min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)!important}.cj-max-w-2xl{max-width:42rem!important}.cj-max-w-3xl{max-width:48rem!important}.cj-max-w-4xl{max-width:56rem!important}.cj-max-w-\\[--skeleton-width\\]{max-width:var(--skeleton-width)!important}.cj-max-w-\\[160px\\]{max-width:160px!important}.cj-max-w-\\[200px\\]{max-width:200px!important}.cj-max-w-\\[240px\\]{max-width:240px!important}.cj-max-w-lg{max-width:32rem!important}.cj-max-w-max{max-width:-moz-max-content!important;max-width:max-content!important}.cj-max-w-md{max-width:28rem!important}.cj-flex-1{flex:1 1 0%!important}.cj-flex-shrink-0,.cj-shrink-0{flex-shrink:0!important}.cj-grow{flex-grow:1!important}.cj-grow-0{flex-grow:0!important}.cj-basis-full{flex-basis:100%!important}.cj-caption-bottom{caption-side:bottom!important}.cj-border-collapse{border-collapse:collapse!important}.-cj-translate-x-1\\/2{--tw-translate-x: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-cj-translate-x-px{--tw-translate-x: -1px !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-cj-translate-y-1\\/2,.cj--translate-y-1\\/2{--tw-translate-y: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-translate-x-\\[-50\\%\\]{--tw-translate-x: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-translate-x-px{--tw-translate-x: 1px !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-translate-y-\\[-50\\%\\]{--tw-translate-y: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-cj-rotate-90{--tw-rotate: -90deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-rotate-180{--tw-rotate: 180deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-rotate-45{--tw-rotate: 45deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-rotate-90{--tw-rotate: 90deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-animate-\\[fadeSlideIn_0\\.35s_ease-out_both\\]{animation:fadeSlideIn .35s ease-out both!important}.cj-animate-\\[fadeSlideIn_0\\.3s_ease-out_both\\]{animation:fadeSlideIn .3s ease-out both!important}@keyframes cj-pulse{50%{opacity:.5}}.cj-animate-pulse{animation:cj-pulse 2s cubic-bezier(.4,0,.6,1) infinite!important}@keyframes cj-spin{to{transform:rotate(360deg)}}.cj-animate-spin{animation:cj-spin 1s linear infinite!important}.cj-cursor-default{cursor:default!important}.cj-cursor-grab{cursor:grab!important}.cj-cursor-pointer{cursor:pointer!important}.cj-cursor-wait{cursor:wait!important}.cj-touch-none{touch-action:none!important}.cj-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.cj-list-inside{list-style-position:inside!important}.cj-list-disc{list-style-type:disc!important}.cj-list-none{list-style-type:none!important}.cj-appearance-none{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important}.cj-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.cj-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cj-flex-row{flex-direction:row!important}.cj-flex-col{flex-direction:column!important}.cj-flex-col-reverse{flex-direction:column-reverse!important}.cj-flex-wrap{flex-wrap:wrap!important}.cj-items-start{align-items:flex-start!important}.cj-items-end{align-items:flex-end!important}.cj-items-center{align-items:center!important}.cj-items-stretch{align-items:stretch!important}.cj-justify-end{justify-content:flex-end!important}.cj-justify-center{justify-content:center!important}.cj-justify-between{justify-content:space-between!important}.cj-gap-0\\.5{gap:.125rem!important}.cj-gap-1{gap:.25rem!important}.cj-gap-1\\.5{gap:.375rem!important}.cj-gap-2{gap:.5rem!important}.cj-gap-3{gap:.75rem!important}.cj-gap-4{gap:1rem!important}.cj-space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(.25rem * var(--tw-space-x-reverse))!important;margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))!important}.cj-space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(1rem * var(--tw-space-x-reverse))!important;margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))!important}.cj-space-y-0\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.125rem * var(--tw-space-y-reverse))!important}.cj-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.25rem * var(--tw-space-y-reverse))!important}.cj-space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.375rem * var(--tw-space-y-reverse))!important}.cj-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.5rem * var(--tw-space-y-reverse))!important}.cj-space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.75rem * var(--tw-space-y-reverse))!important}.cj-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1rem * var(--tw-space-y-reverse))!important}.cj-space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))!important}.cj-space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))!important}.cj-space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(2rem * var(--tw-space-y-reverse))!important}.cj-divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0 !important;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))!important;border-bottom-width:calc(1px * var(--tw-divide-y-reverse))!important}.cj-divide-border\\/30>:not([hidden])~:not([hidden]){border-color:hsl(var(--claims-journey-border) / .3)!important}.cj-self-start{align-self:flex-start!important}.cj-overflow-auto{overflow:auto!important}.cj-overflow-hidden{overflow:hidden!important}.cj-overflow-visible{overflow:visible!important}.cj-overflow-y-auto{overflow-y:auto!important}.cj-overflow-x-hidden{overflow-x:hidden!important}.cj-truncate{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.cj-whitespace-nowrap{white-space:nowrap!important}.cj-break-words{overflow-wrap:break-word!important}.cj-break-all{word-break:break-all!important}.cj-rounded{border-radius:.25rem!important}.cj-rounded-2xl{border-radius:1rem!important}.cj-rounded-\\[2px\\]{border-radius:2px!important}.cj-rounded-\\[inherit\\]{border-radius:inherit!important}.cj-rounded-full{border-radius:9999px!important}.cj-rounded-lg{border-radius:var(--claims-journey-radius)!important}.cj-rounded-md{border-radius:calc(var(--claims-journey-radius) - 2px)!important}.cj-rounded-none{border-radius:0!important}.cj-rounded-sm{border-radius:calc(var(--claims-journey-radius) - 4px)!important}.cj-rounded-xl{border-radius:.75rem!important}.cj-rounded-t-\\[10px\\]{border-top-left-radius:10px!important;border-top-right-radius:10px!important}.cj-rounded-tl-sm{border-top-left-radius:calc(var(--claims-journey-radius) - 4px)!important}.\\!cj-border-2{border-width:2px!important}.cj-border{border-width:1px!important}.cj-border-0{border-width:0px!important}.cj-border-2{border-width:2px!important}.cj-border-\\[1\\.5px\\]{border-width:1.5px!important}.cj-border-y{border-top-width:1px!important;border-bottom-width:1px!important}.cj-border-b{border-bottom-width:1px!important}.cj-border-b-2{border-bottom-width:2px!important}.cj-border-l{border-left-width:1px!important}.cj-border-r{border-right-width:1px!important}.cj-border-t{border-top-width:1px!important}.cj-border-dashed{border-style:dashed!important}.cj-border-none{border-style:none!important}.\\!cj-border-background{border-color:hsl(var(--claims-journey-background))!important}.\\!cj-border-border{border-color:hsl(var(--claims-journey-border))!important}.cj-border-\\[--color-border\\]{border-color:var(--color-border)!important}.cj-border-background{border-color:hsl(var(--claims-journey-background))!important}.cj-border-border{border-color:hsl(var(--claims-journey-border))!important}.cj-border-border\\/30{border-color:hsl(var(--claims-journey-border) / .3)!important}.cj-border-border\\/40{border-color:hsl(var(--claims-journey-border) / .4)!important}.cj-border-border\\/50{border-color:hsl(var(--claims-journey-border) / .5)!important}.cj-border-border\\/60{border-color:hsl(var(--claims-journey-border) / .6)!important}.cj-border-card{border-color:hsl(var(--claims-journey-card))!important}.cj-border-destructive{border-color:hsl(var(--claims-journey-destructive))!important}.cj-border-destructive\\/30{border-color:hsl(var(--claims-journey-destructive) / .3)!important}.cj-border-destructive\\/40{border-color:hsl(var(--claims-journey-destructive) / .4)!important}.cj-border-destructive\\/50{border-color:hsl(var(--claims-journey-destructive) / .5)!important}.cj-border-input{border-color:hsl(var(--claims-journey-input))!important}.cj-border-muted-foreground\\/25{border-color:hsl(var(--claims-journey-muted-foreground) / .25)!important}.cj-border-primary{border-color:hsl(var(--claims-journey-primary))!important}.cj-border-primary\\/40{border-color:hsl(var(--claims-journey-primary) / .4)!important}.cj-border-primary\\/50{border-color:hsl(var(--claims-journey-primary) / .5)!important}.cj-border-sidebar-border{border-color:hsl(var(--claims-journey-sidebar-border))!important}.cj-border-transparent{border-color:transparent!important}.cj-border-yellow-500{--tw-border-opacity: 1 !important;border-color:rgb(234 179 8 / var(--tw-border-opacity, 1))!important}.cj-border-l-transparent{border-left-color:transparent!important}.cj-border-t-transparent{border-top-color:transparent!important}.\\!cj-bg-background{background-color:hsl(var(--claims-journey-background))!important}.\\!cj-bg-primary{background-color:hsl(var(--claims-journey-primary))!important}.cj-bg-\\[--color-bg\\]{background-color:var(--color-bg)!important}.cj-bg-\\[hsl\\(var\\(--claims-journey-success\\)\\/0\\.15\\)\\]{background-color:hsl(var(--claims-journey-success)/.15)!important}.cj-bg-accent{background-color:hsl(var(--claims-journey-accent))!important}.cj-bg-background{background-color:hsl(var(--claims-journey-background))!important}.cj-bg-background\\/50{background-color:hsl(var(--claims-journey-background) / .5)!important}.cj-bg-black\\/80{background-color:#000c!important}.cj-bg-blue-50{--tw-bg-opacity: 1 !important;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))!important}.cj-bg-blue-500{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))!important}.cj-bg-border{background-color:hsl(var(--claims-journey-border))!important}.cj-bg-card{background-color:hsl(var(--claims-journey-card))!important}.cj-bg-cyan-500{--tw-bg-opacity: 1 !important;background-color:rgb(6 182 212 / var(--tw-bg-opacity, 1))!important}.cj-bg-destructive{background-color:hsl(var(--claims-journey-destructive))!important}.cj-bg-destructive\\/10{background-color:hsl(var(--claims-journey-destructive) / .1)!important}.cj-bg-emerald-500{--tw-bg-opacity: 1 !important;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))!important}.cj-bg-foreground{background-color:hsl(var(--claims-journey-foreground))!important}.cj-bg-green-500{--tw-bg-opacity: 1 !important;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))!important}.cj-bg-indigo-500{--tw-bg-opacity: 1 !important;background-color:rgb(99 102 241 / var(--tw-bg-opacity, 1))!important}.cj-bg-lime-500{--tw-bg-opacity: 1 !important;background-color:rgb(132 204 22 / var(--tw-bg-opacity, 1))!important}.cj-bg-muted{background-color:hsl(var(--claims-journey-muted))!important}.cj-bg-muted\\/20{background-color:hsl(var(--claims-journey-muted) / .2)!important}.cj-bg-muted\\/30{background-color:hsl(var(--claims-journey-muted) / .3)!important}.cj-bg-muted\\/50{background-color:hsl(var(--claims-journey-muted) / .5)!important}.cj-bg-orange-500{--tw-bg-opacity: 1 !important;background-color:rgb(249 115 22 / var(--tw-bg-opacity, 1))!important}.cj-bg-popover{background-color:hsl(var(--claims-journey-popover))!important}.cj-bg-primary{background-color:hsl(var(--claims-journey-primary))!important}.cj-bg-primary\\/10{background-color:hsl(var(--claims-journey-primary) / .1)!important}.cj-bg-primary\\/5{background-color:hsl(var(--claims-journey-primary) / .05)!important}.cj-bg-purple-500{--tw-bg-opacity: 1 !important;background-color:rgb(168 85 247 / var(--tw-bg-opacity, 1))!important}.cj-bg-rose-500{--tw-bg-opacity: 1 !important;background-color:rgb(244 63 94 / var(--tw-bg-opacity, 1))!important}.cj-bg-secondary{background-color:hsl(var(--claims-journey-secondary))!important}.cj-bg-sidebar{background-color:hsl(var(--claims-journey-sidebar-background))!important}.cj-bg-sidebar-border{background-color:hsl(var(--claims-journey-sidebar-border))!important}.cj-bg-teal-500{--tw-bg-opacity: 1 !important;background-color:rgb(20 184 166 / var(--tw-bg-opacity, 1))!important}.cj-bg-transparent{background-color:transparent!important}.cj-bg-yellow-500{--tw-bg-opacity: 1 !important;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))!important}.cj-fill-current{fill:currentColor!important}.cj-p-0{padding:0!important}.cj-p-0\\.5{padding:.125rem!important}.cj-p-1{padding:.25rem!important}.cj-p-2{padding:.5rem!important}.cj-p-3{padding:.75rem!important}.cj-p-4{padding:1rem!important}.cj-p-5{padding:1.25rem!important}.cj-p-6{padding:1.5rem!important}.cj-p-8{padding:2rem!important}.cj-p-\\[1px\\]{padding:1px!important}.cj-px-1{padding-left:.25rem!important;padding-right:.25rem!important}.cj-px-2{padding-left:.5rem!important;padding-right:.5rem!important}.cj-px-2\\.5{padding-left:.625rem!important;padding-right:.625rem!important}.cj-px-3{padding-left:.75rem!important;padding-right:.75rem!important}.cj-px-4{padding-left:1rem!important;padding-right:1rem!important}.cj-px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}.cj-px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.cj-px-8{padding-left:2rem!important;padding-right:2rem!important}.cj-py-0\\.5{padding-top:.125rem!important;padding-bottom:.125rem!important}.cj-py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.cj-py-1\\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}.cj-py-12{padding-top:3rem!important;padding-bottom:3rem!important}.cj-py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.cj-py-2\\.5{padding-top:.625rem!important;padding-bottom:.625rem!important}.cj-py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.cj-py-3\\.5{padding-top:.875rem!important;padding-bottom:.875rem!important}.cj-py-4{padding-top:1rem!important;padding-bottom:1rem!important}.cj-py-6{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.cj-py-8{padding-top:2rem!important;padding-bottom:2rem!important}.cj-pb-1{padding-bottom:.25rem!important}.cj-pb-2{padding-bottom:.5rem!important}.cj-pb-3{padding-bottom:.75rem!important}.cj-pb-4{padding-bottom:1rem!important}.cj-pl-2{padding-left:.5rem!important}.cj-pl-2\\.5{padding-left:.625rem!important}.cj-pl-4{padding-left:1rem!important}.cj-pl-8{padding-left:2rem!important}.cj-pl-9{padding-left:2.25rem!important}.cj-pr-1{padding-right:.25rem!important}.cj-pr-12{padding-right:3rem!important}.cj-pr-2{padding-right:.5rem!important}.cj-pr-2\\.5{padding-right:.625rem!important}.cj-pr-3{padding-right:.75rem!important}.cj-pr-4{padding-right:1rem!important}.cj-pr-6{padding-right:1.5rem!important}.cj-pr-8{padding-right:2rem!important}.cj-pt-0{padding-top:0!important}.cj-pt-1{padding-top:.25rem!important}.cj-pt-2{padding-top:.5rem!important}.cj-pt-3{padding-top:.75rem!important}.cj-pt-4{padding-top:1rem!important}.cj-pt-8{padding-top:2rem!important}.cj-text-left{text-align:left!important}.cj-text-center{text-align:center!important}.cj-text-right{text-align:right!important}.cj-align-middle{vertical-align:middle!important}.cj-font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.cj-text-2xl{font-size:1.5rem!important;line-height:2rem!important}.cj-text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.cj-text-\\[10px\\]{font-size:10px!important}.cj-text-\\[11px\\]{font-size:11px!important}.cj-text-\\[9px\\]{font-size:9px!important}.cj-text-base{font-size:1rem!important;line-height:1.5rem!important}.cj-text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.cj-text-sm{font-size:.875rem!important;line-height:1.25rem!important}.cj-text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.cj-text-xs{font-size:.75rem!important;line-height:1rem!important}.cj-font-bold{font-weight:700!important}.cj-font-medium{font-weight:500!important}.cj-font-normal{font-weight:400!important}.cj-font-semibold{font-weight:600!important}.cj-uppercase{text-transform:uppercase!important}.cj-capitalize{text-transform:capitalize!important}.cj-italic{font-style:italic!important}.cj-tabular-nums{--tw-numeric-spacing: tabular-nums !important;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)!important}.cj-leading-none{line-height:1!important}.cj-leading-relaxed{line-height:1.625!important}.cj-leading-snug{line-height:1.375!important}.cj-leading-tight{line-height:1.25!important}.cj-tracking-tight{letter-spacing:-.025em!important}.cj-tracking-wide{letter-spacing:.025em!important}.cj-tracking-wider{letter-spacing:.05em!important}.cj-tracking-widest{letter-spacing:.1em!important}.cj-text-\\[hsl\\(var\\(--claims-journey-success\\)\\)\\]{color:hsl(var(--claims-journey-success))!important}.cj-text-card-foreground{color:hsl(var(--claims-journey-card-foreground))!important}.cj-text-current{color:currentColor!important}.cj-text-destructive{color:hsl(var(--claims-journey-destructive))!important}.cj-text-destructive-foreground{color:hsl(var(--claims-journey-destructive-foreground))!important}.cj-text-destructive\\/80{color:hsl(var(--claims-journey-destructive) / .8)!important}.cj-text-foreground{color:hsl(var(--claims-journey-foreground))!important}.cj-text-foreground\\/50{color:hsl(var(--claims-journey-foreground) / .5)!important}.cj-text-foreground\\/80{color:hsl(var(--claims-journey-foreground) / .8)!important}.cj-text-green-500{--tw-text-opacity: 1 !important;color:rgb(34 197 94 / var(--tw-text-opacity, 1))!important}.cj-text-muted-foreground{color:hsl(var(--claims-journey-muted-foreground))!important}.cj-text-muted-foreground\\/40{color:hsl(var(--claims-journey-muted-foreground) / .4)!important}.cj-text-muted-foreground\\/60{color:hsl(var(--claims-journey-muted-foreground) / .6)!important}.cj-text-muted-foreground\\/70{color:hsl(var(--claims-journey-muted-foreground) / .7)!important}.cj-text-popover-foreground{color:hsl(var(--claims-journey-popover-foreground))!important}.cj-text-primary{color:hsl(var(--claims-journey-primary))!important}.cj-text-primary-foreground{color:hsl(var(--claims-journey-primary-foreground))!important}.cj-text-secondary-foreground{color:hsl(var(--claims-journey-secondary-foreground))!important}.cj-text-sidebar-foreground{color:hsl(var(--claims-journey-sidebar-foreground))!important}.cj-text-sidebar-foreground\\/70{color:hsl(var(--claims-journey-sidebar-foreground) / .7)!important}.cj-text-white{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity, 1))!important}.cj-text-yellow-500{--tw-text-opacity: 1 !important;color:rgb(234 179 8 / var(--tw-text-opacity, 1))!important}.cj-text-yellow-600{--tw-text-opacity: 1 !important;color:rgb(202 138 4 / var(--tw-text-opacity, 1))!important}.cj-underline{text-decoration-line:underline!important}.cj-underline-offset-4{text-underline-offset:4px!important}.cj-opacity-0{opacity:0!important}.cj-opacity-40{opacity:.4!important}.cj-opacity-50{opacity:.5!important}.cj-opacity-60{opacity:.6!important}.cj-opacity-70{opacity:.7!important}.cj-opacity-90{opacity:.9!important}.cj-shadow-\\[0_0_0_1px_hsl\\(var\\(--claims-journey-sidebar-border\\)\\)\\]{--tw-shadow: 0 0 0 1px hsl(var(--claims-journey-sidebar-border)) !important;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.cj-shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.cj-shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.cj-shadow-none{--tw-shadow: 0 0 #0000 !important;--tw-shadow-colored: 0 0 #0000 !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.cj-shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05) !important;--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.cj-shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.cj-shadow-primary\\/20{--tw-shadow-color: hsl(var(--claims-journey-primary) / .2) !important;--tw-shadow: var(--tw-shadow-colored) !important}.cj-outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.cj-ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.cj-ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.cj-ring-destructive\\/40{--tw-ring-color: hsl(var(--claims-journey-destructive) / .4) !important}.cj-ring-primary\\/20{--tw-ring-color: hsl(var(--claims-journey-primary) / .2) !important}.cj-ring-primary\\/30{--tw-ring-color: hsl(var(--claims-journey-primary) / .3) !important}.cj-ring-primary\\/50{--tw-ring-color: hsl(var(--claims-journey-primary) / .5) !important}.cj-ring-ring{--tw-ring-color: hsl(var(--claims-journey-ring)) !important}.cj-ring-sidebar-ring{--tw-ring-color: hsl(var(--claims-journey-sidebar-ring)) !important}.cj-ring-offset-background{--tw-ring-offset-color: hsl(var(--claims-journey-background)) !important}.cj-transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-transition-\\[left\\,right\\,width\\]{transition-property:left,right,width!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-transition-\\[margin\\,opa\\]{transition-property:margin,opa!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-transition-\\[width\\,height\\,padding\\]{transition-property:width,height,padding!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-transition-\\[width\\]{transition-property:width!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-transition-all{transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-transition-opacity{transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-transition-transform{transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-duration-1000{transition-duration:1s!important}.cj-duration-150{transition-duration:.15s!important}.cj-duration-200{transition-duration:.2s!important}.cj-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.cj-ease-linear{transition-timing-function:linear!important}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.cj-animate-in{animation-name:enter!important;animation-duration:.15s!important;--tw-enter-opacity: initial !important;--tw-enter-scale: initial !important;--tw-enter-rotate: initial !important;--tw-enter-translate-x: initial !important;--tw-enter-translate-y: initial !important}.cj-fade-in-0{--tw-enter-opacity: 0 !important}.cj-fade-in-80{--tw-enter-opacity: .8 !important}.cj-zoom-in-95{--tw-enter-scale: .95 !important}.cj-duration-1000{animation-duration:1s!important}.cj-duration-150{animation-duration:.15s!important}.cj-duration-200{animation-duration:.2s!important}.cj-ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)!important}.cj-ease-linear{animation-timing-function:linear!important}@keyframes fadeSlideIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.file\\:cj-border-0::file-selector-button{border-width:0px!important}.file\\:cj-bg-transparent::file-selector-button{background-color:transparent!important}.file\\:cj-text-sm::file-selector-button{font-size:.875rem!important;line-height:1.25rem!important}.file\\:cj-font-medium::file-selector-button{font-weight:500!important}.file\\:cj-text-foreground::file-selector-button{color:hsl(var(--claims-journey-foreground))!important}.placeholder\\:cj-text-muted-foreground::-moz-placeholder{color:hsl(var(--claims-journey-muted-foreground))!important}.placeholder\\:cj-text-muted-foreground::placeholder{color:hsl(var(--claims-journey-muted-foreground))!important}.after\\:cj-absolute:after{content:var(--tw-content)!important;position:absolute!important}.after\\:-cj-inset-2:after{content:var(--tw-content)!important;top:-.5rem!important;right:-.5rem!important;bottom:-.5rem!important;left:-.5rem!important}.after\\:cj-inset-y-0:after{content:var(--tw-content)!important;top:0!important;bottom:0!important}.after\\:cj-left-1\\/2:after{content:var(--tw-content)!important;left:50%!important}.after\\:cj-w-1:after{content:var(--tw-content)!important;width:.25rem!important}.after\\:cj-w-\\[2px\\]:after{content:var(--tw-content)!important;width:2px!important}.after\\:-cj-translate-x-1\\/2:after{content:var(--tw-content)!important;--tw-translate-x: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.first\\:cj-rounded-l-md:first-child{border-top-left-radius:calc(var(--claims-journey-radius) - 2px)!important;border-bottom-left-radius:calc(var(--claims-journey-radius) - 2px)!important}.first\\:cj-border-l:first-child{border-left-width:1px!important}.last\\:cj-rounded-r-md:last-child{border-top-right-radius:calc(var(--claims-journey-radius) - 2px)!important;border-bottom-right-radius:calc(var(--claims-journey-radius) - 2px)!important}.focus-within\\:cj-relative:focus-within{position:relative!important}.focus-within\\:cj-z-20:focus-within{z-index:20!important}.hover\\:\\!cj-h-4:hover{height:1rem!important}.hover\\:\\!cj-w-4:hover{width:1rem!important}.hover\\:cj-border-destructive\\/75:hover{border-color:hsl(var(--claims-journey-destructive) / .75)!important}.hover\\:cj-border-muted-foreground\\/50:hover{border-color:hsl(var(--claims-journey-muted-foreground) / .5)!important}.hover\\:cj-border-primary\\/40:hover{border-color:hsl(var(--claims-journey-primary) / .4)!important}.hover\\:cj-border-primary\\/50:hover{border-color:hsl(var(--claims-journey-primary) / .5)!important}.hover\\:cj-border-primary\\/60:hover{border-color:hsl(var(--claims-journey-primary) / .6)!important}.hover\\:\\!cj-bg-primary\\/80:hover{background-color:hsl(var(--claims-journey-primary) / .8)!important}.hover\\:cj-bg-accent:hover{background-color:hsl(var(--claims-journey-accent))!important}.hover\\:cj-bg-accent\\/40:hover{background-color:hsl(var(--claims-journey-accent) / .4)!important}.hover\\:cj-bg-accent\\/50:hover{background-color:hsl(var(--claims-journey-accent) / .5)!important}.hover\\:cj-bg-accent\\/60:hover{background-color:hsl(var(--claims-journey-accent) / .6)!important}.hover\\:cj-bg-destructive\\/10:hover{background-color:hsl(var(--claims-journey-destructive) / .1)!important}.hover\\:cj-bg-destructive\\/80:hover{background-color:hsl(var(--claims-journey-destructive) / .8)!important}.hover\\:cj-bg-destructive\\/90:hover{background-color:hsl(var(--claims-journey-destructive) / .9)!important}.hover\\:cj-bg-muted:hover{background-color:hsl(var(--claims-journey-muted))!important}.hover\\:cj-bg-muted\\/50:hover{background-color:hsl(var(--claims-journey-muted) / .5)!important}.hover\\:cj-bg-primary:hover{background-color:hsl(var(--claims-journey-primary))!important}.hover\\:cj-bg-primary\\/80:hover{background-color:hsl(var(--claims-journey-primary) / .8)!important}.hover\\:cj-bg-primary\\/90:hover{background-color:hsl(var(--claims-journey-primary) / .9)!important}.hover\\:cj-bg-secondary:hover{background-color:hsl(var(--claims-journey-secondary))!important}.hover\\:cj-bg-secondary\\/80:hover{background-color:hsl(var(--claims-journey-secondary) / .8)!important}.hover\\:cj-bg-sidebar-accent:hover{background-color:hsl(var(--claims-journey-sidebar-accent))!important}.hover\\:cj-text-accent-foreground:hover{color:hsl(var(--claims-journey-accent-foreground))!important}.hover\\:cj-text-destructive:hover{color:hsl(var(--claims-journey-destructive))!important}.hover\\:cj-text-foreground:hover{color:hsl(var(--claims-journey-foreground))!important}.hover\\:cj-text-muted-foreground:hover{color:hsl(var(--claims-journey-muted-foreground))!important}.hover\\:cj-text-primary-foreground:hover{color:hsl(var(--claims-journey-primary-foreground))!important}.hover\\:cj-text-primary\\/90:hover{color:hsl(var(--claims-journey-primary) / .9)!important}.hover\\:cj-text-sidebar-accent-foreground:hover{color:hsl(var(--claims-journey-sidebar-accent-foreground))!important}.hover\\:cj-text-yellow-600:hover{--tw-text-opacity: 1 !important;color:rgb(202 138 4 / var(--tw-text-opacity, 1))!important}.hover\\:cj-underline:hover{text-decoration-line:underline!important}.hover\\:cj-opacity-100:hover{opacity:1!important}.hover\\:cj-shadow-\\[0_0_0_1px_hsl\\(var\\(--claims-journey-sidebar-accent\\)\\)\\]:hover{--tw-shadow: 0 0 0 1px hsl(var(--claims-journey-sidebar-accent)) !important;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.hover\\:cj-shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.hover\\:after\\:cj-bg-sidebar-border:hover:after{content:var(--tw-content)!important;background-color:hsl(var(--claims-journey-sidebar-border))!important}.focus\\:cj-bg-accent:focus{background-color:hsl(var(--claims-journey-accent))!important}.focus\\:cj-bg-primary:focus{background-color:hsl(var(--claims-journey-primary))!important}.focus\\:cj-text-accent-foreground:focus{color:hsl(var(--claims-journey-accent-foreground))!important}.focus\\:cj-text-primary-foreground:focus{color:hsl(var(--claims-journey-primary-foreground))!important}.focus\\:cj-opacity-100:focus{opacity:1!important}.focus\\:cj-outline-none:focus{outline:2px solid transparent!important;outline-offset:2px!important}.focus\\:cj-ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.focus\\:cj-ring-ring:focus{--tw-ring-color: hsl(var(--claims-journey-ring)) !important}.focus\\:cj-ring-offset-2:focus{--tw-ring-offset-width: 2px !important}.focus-visible\\:cj-outline-none:focus-visible{outline:2px solid transparent!important;outline-offset:2px!important}.focus-visible\\:cj-ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.focus-visible\\:cj-ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.focus-visible\\:cj-ring-destructive:focus-visible{--tw-ring-color: hsl(var(--claims-journey-destructive)) !important}.focus-visible\\:cj-ring-ring:focus-visible{--tw-ring-color: hsl(var(--claims-journey-ring)) !important}.focus-visible\\:cj-ring-sidebar-ring:focus-visible{--tw-ring-color: hsl(var(--claims-journey-sidebar-ring)) !important}.focus-visible\\:cj-ring-offset-1:focus-visible{--tw-ring-offset-width: 1px !important}.focus-visible\\:cj-ring-offset-2:focus-visible{--tw-ring-offset-width: 2px !important}.focus-visible\\:cj-ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--claims-journey-background)) !important}.active\\:cj-cursor-grabbing:active{cursor:grabbing!important}.active\\:cj-bg-sidebar-accent:active{background-color:hsl(var(--claims-journey-sidebar-accent))!important}.active\\:cj-text-sidebar-accent-foreground:active{color:hsl(var(--claims-journey-sidebar-accent-foreground))!important}.disabled\\:cj-pointer-events-none:disabled{pointer-events:none!important}.disabled\\:cj-cursor-not-allowed:disabled{cursor:not-allowed!important}.disabled\\:cj-opacity-50:disabled{opacity:.5!important}.cj-group\\/menu-item:focus-within .group-focus-within\\/menu-item\\:cj-opacity-100{opacity:1!important}.cj-group:hover .group-hover\\:cj-text-foreground{color:hsl(var(--claims-journey-foreground))!important}.cj-group\\/menu-item:hover .group-hover\\/menu-item\\:cj-opacity-100,.cj-group:hover .group-hover\\:cj-opacity-100{opacity:1!important}.cj-group.destructive .group-\\[\\.destructive\\]\\:cj-border-muted\\/40{border-color:hsl(var(--claims-journey-muted) / .4)!important}.cj-group.toaster .group-\\[\\.toaster\\]\\:cj-border-border{border-color:hsl(var(--claims-journey-border))!important}.cj-group.toast .group-\\[\\.toast\\]\\:cj-bg-muted{background-color:hsl(var(--claims-journey-muted))!important}.cj-group.toast .group-\\[\\.toast\\]\\:cj-bg-primary{background-color:hsl(var(--claims-journey-primary))!important}.cj-group.toaster .group-\\[\\.toaster\\]\\:cj-bg-background{background-color:hsl(var(--claims-journey-background))!important}.cj-group.destructive .group-\\[\\.destructive\\]\\:cj-text-red-300{--tw-text-opacity: 1 !important;color:rgb(252 165 165 / var(--tw-text-opacity, 1))!important}.cj-group.toast .group-\\[\\.toast\\]\\:cj-text-muted-foreground{color:hsl(var(--claims-journey-muted-foreground))!important}.cj-group.toast .group-\\[\\.toast\\]\\:cj-text-primary-foreground{color:hsl(var(--claims-journey-primary-foreground))!important}.cj-group.toaster .group-\\[\\.toaster\\]\\:cj-text-foreground{color:hsl(var(--claims-journey-foreground))!important}.cj-group.toaster .group-\\[\\.toaster\\]\\:cj-shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.cj-group.destructive .group-\\[\\.destructive\\]\\:hover\\:cj-border-destructive\\/30:hover{border-color:hsl(var(--claims-journey-destructive) / .3)!important}.cj-group.destructive .group-\\[\\.destructive\\]\\:hover\\:cj-bg-destructive:hover{background-color:hsl(var(--claims-journey-destructive))!important}.cj-group.destructive .group-\\[\\.destructive\\]\\:hover\\:cj-text-destructive-foreground:hover{color:hsl(var(--claims-journey-destructive-foreground))!important}.cj-group.destructive .group-\\[\\.destructive\\]\\:hover\\:cj-text-red-50:hover{--tw-text-opacity: 1 !important;color:rgb(254 242 242 / var(--tw-text-opacity, 1))!important}.cj-group.destructive .group-\\[\\.destructive\\]\\:focus\\:cj-ring-destructive:focus{--tw-ring-color: hsl(var(--claims-journey-destructive)) !important}.cj-group.destructive .group-\\[\\.destructive\\]\\:focus\\:cj-ring-red-400:focus{--tw-ring-opacity: 1 !important;--tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity, 1)) !important}.cj-group.destructive .group-\\[\\.destructive\\]\\:focus\\:cj-ring-offset-red-600:focus{--tw-ring-offset-color: #dc2626 !important}.cj-peer\\/menu-button:hover~.peer-hover\\/menu-button\\:cj-text-sidebar-accent-foreground{color:hsl(var(--claims-journey-sidebar-accent-foreground))!important}.cj-peer:disabled~.peer-disabled\\:cj-cursor-not-allowed{cursor:not-allowed!important}.cj-peer:disabled~.peer-disabled\\:cj-opacity-70{opacity:.7!important}.has-\\[\\[data-variant\\=inset\\]\\]\\:cj-bg-sidebar:has([data-variant=inset]){background-color:hsl(var(--claims-journey-sidebar-background))!important}.has-\\[\\:disabled\\]\\:cj-opacity-50:has(:disabled){opacity:.5!important}.cj-group\\/menu-item:has([data-sidebar=menu-action]) .group-has-\\[\\[data-sidebar\\=menu-action\\]\\]\\/menu-item\\:cj-pr-8{padding-right:2rem!important}.aria-disabled\\:cj-pointer-events-none[aria-disabled=true]{pointer-events:none!important}.aria-disabled\\:cj-opacity-50[aria-disabled=true]{opacity:.5!important}.aria-selected\\:cj-bg-accent[aria-selected=true]{background-color:hsl(var(--claims-journey-accent))!important}.aria-selected\\:cj-bg-accent\\/50[aria-selected=true]{background-color:hsl(var(--claims-journey-accent) / .5)!important}.aria-selected\\:cj-text-accent-foreground[aria-selected=true]{color:hsl(var(--claims-journey-accent-foreground))!important}.aria-selected\\:cj-text-muted-foreground[aria-selected=true]{color:hsl(var(--claims-journey-muted-foreground))!important}.aria-selected\\:cj-opacity-100[aria-selected=true]{opacity:1!important}.aria-selected\\:cj-opacity-30[aria-selected=true]{opacity:.3!important}.data-\\[disabled\\=true\\]\\:cj-pointer-events-none[data-disabled=true],.data-\\[disabled\\]\\:cj-pointer-events-none[data-disabled]{pointer-events:none!important}.data-\\[panel-group-direction\\=vertical\\]\\:cj-h-px[data-panel-group-direction=vertical]{height:1px!important}.data-\\[panel-group-direction\\=vertical\\]\\:cj-w-full[data-panel-group-direction=vertical]{width:100%!important}.data-\\[side\\=bottom\\]\\:cj-translate-y-1[data-side=bottom]{--tw-translate-y: .25rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[side\\=left\\]\\:-cj-translate-x-1[data-side=left]{--tw-translate-x: -.25rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[side\\=right\\]\\:cj-translate-x-1[data-side=right]{--tw-translate-x: .25rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[side\\=top\\]\\:-cj-translate-y-1[data-side=top]{--tw-translate-y: -.25rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[state\\=checked\\]\\:cj-translate-x-5[data-state=checked]{--tw-translate-x: 1.25rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[state\\=unchecked\\]\\:cj-translate-x-0[data-state=unchecked],.data-\\[swipe\\=cancel\\]\\:cj-translate-x-0[data-swipe=cancel]{--tw-translate-x: 0px !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[swipe\\=end\\]\\:cj-translate-x-\\[var\\(--radix-toast-swipe-end-x\\)\\][data-swipe=end]{--tw-translate-x: var(--radix-toast-swipe-end-x) !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[swipe\\=move\\]\\:cj-translate-x-\\[var\\(--radix-toast-swipe-move-x\\)\\][data-swipe=move]{--tw-translate-x: var(--radix-toast-swipe-move-x) !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@keyframes cj-accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\\[state\\=closed\\]\\:cj-animate-accordion-up[data-state=closed]{animation:cj-accordion-up .2s ease-out!important}@keyframes cj-accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\\[state\\=open\\]\\:cj-animate-accordion-down[data-state=open]{animation:cj-accordion-down .2s ease-out!important}.data-\\[panel-group-direction\\=vertical\\]\\:cj-flex-col[data-panel-group-direction=vertical]{flex-direction:column!important}.data-\\[state\\=active\\]\\:cj-border-primary[data-state=active]{border-color:hsl(var(--claims-journey-primary))!important}.data-\\[state\\=checked\\]\\:cj-border-primary\\/40[data-state=checked]{border-color:hsl(var(--claims-journey-primary) / .4)!important}.data-\\[active\\=true\\]\\:cj-bg-sidebar-accent[data-active=true]{background-color:hsl(var(--claims-journey-sidebar-accent))!important}.data-\\[active\\]\\:cj-bg-accent\\/50[data-active]{background-color:hsl(var(--claims-journey-accent) / .5)!important}.data-\\[selected\\=\\'true\\'\\]\\:cj-bg-accent[data-selected=true]{background-color:hsl(var(--claims-journey-accent))!important}.data-\\[state\\=active\\]\\:cj-bg-background[data-state=active]{background-color:hsl(var(--claims-journey-background))!important}.data-\\[state\\=active\\]\\:cj-bg-transparent[data-state=active]{background-color:transparent!important}.data-\\[state\\=checked\\]\\:cj-bg-primary[data-state=checked]{background-color:hsl(var(--claims-journey-primary))!important}.data-\\[state\\=checked\\]\\:cj-bg-primary\\/5[data-state=checked]{background-color:hsl(var(--claims-journey-primary) / .05)!important}.data-\\[state\\=on\\]\\:cj-bg-accent[data-state=on],.data-\\[state\\=open\\]\\:cj-bg-accent[data-state=open]{background-color:hsl(var(--claims-journey-accent))!important}.data-\\[state\\=open\\]\\:cj-bg-accent\\/50[data-state=open]{background-color:hsl(var(--claims-journey-accent) / .5)!important}.data-\\[state\\=open\\]\\:cj-bg-secondary[data-state=open]{background-color:hsl(var(--claims-journey-secondary))!important}.data-\\[state\\=selected\\]\\:cj-bg-muted[data-state=selected]{background-color:hsl(var(--claims-journey-muted))!important}.data-\\[state\\=unchecked\\]\\:cj-bg-input[data-state=unchecked]{background-color:hsl(var(--claims-journey-input))!important}.data-\\[active\\=true\\]\\:cj-font-medium[data-active=true]{font-weight:500!important}.data-\\[active\\=true\\]\\:cj-text-sidebar-accent-foreground[data-active=true]{color:hsl(var(--claims-journey-sidebar-accent-foreground))!important}.data-\\[selected\\=true\\]\\:cj-text-accent-foreground[data-selected=true]{color:hsl(var(--claims-journey-accent-foreground))!important}.data-\\[state\\=active\\]\\:cj-text-foreground[data-state=active]{color:hsl(var(--claims-journey-foreground))!important}.data-\\[state\\=checked\\]\\:cj-text-primary-foreground[data-state=checked]{color:hsl(var(--claims-journey-primary-foreground))!important}.data-\\[state\\=on\\]\\:cj-text-accent-foreground[data-state=on],.data-\\[state\\=open\\]\\:cj-text-accent-foreground[data-state=open]{color:hsl(var(--claims-journey-accent-foreground))!important}.data-\\[state\\=open\\]\\:cj-text-muted-foreground[data-state=open]{color:hsl(var(--claims-journey-muted-foreground))!important}.data-\\[disabled\\=true\\]\\:cj-opacity-50[data-disabled=true],.data-\\[disabled\\]\\:cj-opacity-50[data-disabled]{opacity:.5!important}.data-\\[state\\=open\\]\\:cj-opacity-100[data-state=open]{opacity:1!important}.data-\\[state\\=active\\]\\:cj-shadow-none[data-state=active]{--tw-shadow: 0 0 #0000 !important;--tw-shadow-colored: 0 0 #0000 !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.data-\\[state\\=active\\]\\:cj-shadow-sm[data-state=active]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05) !important;--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.data-\\[swipe\\=move\\]\\:cj-transition-none[data-swipe=move]{transition-property:none!important}.data-\\[state\\=closed\\]\\:cj-duration-300[data-state=closed]{transition-duration:.3s!important}.data-\\[state\\=open\\]\\:cj-duration-500[data-state=open]{transition-duration:.5s!important}.data-\\[motion\\^\\=from-\\]\\:cj-animate-in[data-motion^=from-],.data-\\[state\\=open\\]\\:cj-animate-in[data-state=open],.data-\\[state\\=visible\\]\\:cj-animate-in[data-state=visible]{animation-name:enter!important;animation-duration:.15s!important;--tw-enter-opacity: initial !important;--tw-enter-scale: initial !important;--tw-enter-rotate: initial !important;--tw-enter-translate-x: initial !important;--tw-enter-translate-y: initial !important}.data-\\[motion\\^\\=to-\\]\\:cj-animate-out[data-motion^=to-],.data-\\[state\\=closed\\]\\:cj-animate-out[data-state=closed],.data-\\[state\\=hidden\\]\\:cj-animate-out[data-state=hidden],.data-\\[swipe\\=end\\]\\:cj-animate-out[data-swipe=end]{animation-name:exit!important;animation-duration:.15s!important;--tw-exit-opacity: initial !important;--tw-exit-scale: initial !important;--tw-exit-rotate: initial !important;--tw-exit-translate-x: initial !important;--tw-exit-translate-y: initial !important}.data-\\[motion\\^\\=from-\\]\\:cj-fade-in[data-motion^=from-]{--tw-enter-opacity: 0 !important}.data-\\[motion\\^\\=to-\\]\\:cj-fade-out[data-motion^=to-],.data-\\[state\\=closed\\]\\:cj-fade-out-0[data-state=closed]{--tw-exit-opacity: 0 !important}.data-\\[state\\=closed\\]\\:cj-fade-out-80[data-state=closed]{--tw-exit-opacity: .8 !important}.data-\\[state\\=hidden\\]\\:cj-fade-out[data-state=hidden]{--tw-exit-opacity: 0 !important}.data-\\[state\\=open\\]\\:cj-fade-in-0[data-state=open],.data-\\[state\\=visible\\]\\:cj-fade-in[data-state=visible]{--tw-enter-opacity: 0 !important}.data-\\[state\\=closed\\]\\:cj-zoom-out-95[data-state=closed]{--tw-exit-scale: .95 !important}.data-\\[state\\=open\\]\\:cj-zoom-in-90[data-state=open]{--tw-enter-scale: .9 !important}.data-\\[state\\=open\\]\\:cj-zoom-in-95[data-state=open]{--tw-enter-scale: .95 !important}.data-\\[motion\\=from-end\\]\\:cj-slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x: 13rem !important}.data-\\[motion\\=from-start\\]\\:cj-slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x: -13rem !important}.data-\\[motion\\=to-end\\]\\:cj-slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x: 13rem !important}.data-\\[motion\\=to-start\\]\\:cj-slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x: -13rem !important}.data-\\[side\\=bottom\\]\\:cj-slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem !important}.data-\\[side\\=left\\]\\:cj-slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem !important}.data-\\[side\\=right\\]\\:cj-slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem !important}.data-\\[side\\=top\\]\\:cj-slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem !important}.data-\\[state\\=closed\\]\\:cj-slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100% !important}.data-\\[state\\=closed\\]\\:cj-slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100% !important}.data-\\[state\\=closed\\]\\:cj-slide-out-to-left-1\\/2[data-state=closed]{--tw-exit-translate-x: -50% !important}.data-\\[state\\=closed\\]\\:cj-slide-out-to-right[data-state=closed],.data-\\[state\\=closed\\]\\:cj-slide-out-to-right-full[data-state=closed]{--tw-exit-translate-x: 100% !important}.data-\\[state\\=closed\\]\\:cj-slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100% !important}.data-\\[state\\=closed\\]\\:cj-slide-out-to-top-\\[48\\%\\][data-state=closed]{--tw-exit-translate-y: -48% !important}.data-\\[state\\=open\\]\\:cj-slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100% !important}.data-\\[state\\=open\\]\\:cj-slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100% !important}.data-\\[state\\=open\\]\\:cj-slide-in-from-left-1\\/2[data-state=open]{--tw-enter-translate-x: -50% !important}.data-\\[state\\=open\\]\\:cj-slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100% !important}.data-\\[state\\=open\\]\\:cj-slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100% !important}.data-\\[state\\=open\\]\\:cj-slide-in-from-top-\\[48\\%\\][data-state=open]{--tw-enter-translate-y: -48% !important}.data-\\[state\\=open\\]\\:cj-slide-in-from-top-full[data-state=open]{--tw-enter-translate-y: -100% !important}.data-\\[state\\=closed\\]\\:cj-duration-300[data-state=closed]{animation-duration:.3s!important}.data-\\[state\\=open\\]\\:cj-duration-500[data-state=open]{animation-duration:.5s!important}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:cj-left-0[data-panel-group-direction=vertical]:after{content:var(--tw-content)!important;left:0!important}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:cj-h-1[data-panel-group-direction=vertical]:after{content:var(--tw-content)!important;height:.25rem!important}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:cj-w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content)!important;width:100%!important}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:-cj-translate-y-1\\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content)!important;--tw-translate-y: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:cj-translate-x-0[data-panel-group-direction=vertical]:after{content:var(--tw-content)!important;--tw-translate-x: 0px !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[state\\=open\\]\\:hover\\:cj-bg-sidebar-accent:hover[data-state=open]{background-color:hsl(var(--claims-journey-sidebar-accent))!important}.data-\\[state\\=open\\]\\:hover\\:cj-text-sidebar-accent-foreground:hover[data-state=open]{color:hsl(var(--claims-journey-sidebar-accent-foreground))!important}.cj-group[data-collapsible=offcanvas] .group-data-\\[collapsible\\=offcanvas\\]\\:cj-left-\\[calc\\(var\\(--sidebar-width\\)\\*-1\\)\\]{left:calc(var(--sidebar-width) * -1)!important}.cj-group[data-collapsible=offcanvas] .group-data-\\[collapsible\\=offcanvas\\]\\:cj-right-\\[calc\\(var\\(--sidebar-width\\)\\*-1\\)\\]{right:calc(var(--sidebar-width) * -1)!important}.cj-group[data-side=left] .group-data-\\[side\\=left\\]\\:-cj-right-4{right:-1rem!important}.cj-group[data-side=right] .group-data-\\[side\\=right\\]\\:cj-left-0{left:0!important}.cj-group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:-cj-mt-8{margin-top:-2rem!important}.cj-group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:cj-hidden{display:none!important}.cj-group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:cj-w-\\[--sidebar-width-icon\\]{width:var(--sidebar-width-icon)!important}.cj-group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:cj-w-\\[calc\\(var\\(--sidebar-width-icon\\)_\\+_theme\\(spacing\\.4\\)\\)\\]{width:calc(var(--sidebar-width-icon) + 1rem)!important}.cj-group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:cj-w-\\[calc\\(var\\(--sidebar-width-icon\\)_\\+_theme\\(spacing\\.4\\)_\\+2px\\)\\]{width:calc(var(--sidebar-width-icon) + 1rem + 2px)!important}.cj-group[data-collapsible=offcanvas] .group-data-\\[collapsible\\=offcanvas\\]\\:cj-w-0{width:0px!important}.cj-group[data-collapsible=offcanvas] .group-data-\\[collapsible\\=offcanvas\\]\\:cj-translate-x-0{--tw-translate-x: 0px !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-group[data-side=right] .group-data-\\[side\\=right\\]\\:cj-rotate-180,.cj-group[data-state=open] .group-data-\\[state\\=open\\]\\:cj-rotate-180{--tw-rotate: 180deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:cj-overflow-hidden{overflow:hidden!important}.cj-group[data-variant=floating] .group-data-\\[variant\\=floating\\]\\:cj-rounded-lg{border-radius:var(--claims-journey-radius)!important}.cj-group[data-variant=floating] .group-data-\\[variant\\=floating\\]\\:cj-border{border-width:1px!important}.cj-group[data-side=left] .group-data-\\[side\\=left\\]\\:cj-border-r{border-right-width:1px!important}.cj-group[data-side=right] .group-data-\\[side\\=right\\]\\:cj-border-l{border-left-width:1px!important}.cj-group[data-variant=floating] .group-data-\\[variant\\=floating\\]\\:cj-border-sidebar-border{border-color:hsl(var(--claims-journey-sidebar-border))!important}.cj-group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:cj-opacity-0{opacity:0!important}.cj-group[data-variant=floating] .group-data-\\[variant\\=floating\\]\\:cj-shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.cj-group[data-collapsible=offcanvas] .group-data-\\[collapsible\\=offcanvas\\]\\:after\\:cj-left-full:after{content:var(--tw-content)!important;left:100%!important}.cj-group[data-collapsible=offcanvas] .group-data-\\[collapsible\\=offcanvas\\]\\:hover\\:cj-bg-sidebar:hover{background-color:hsl(var(--claims-journey-sidebar-background))!important}.cj-peer\\/menu-button[data-size=default]~.peer-data-\\[size\\=default\\]\\/menu-button\\:cj-top-1\\.5{top:.375rem!important}.cj-peer\\/menu-button[data-size=lg]~.peer-data-\\[size\\=lg\\]\\/menu-button\\:cj-top-2\\.5{top:.625rem!important}.cj-peer\\/menu-button[data-size=sm]~.peer-data-\\[size\\=sm\\]\\/menu-button\\:cj-top-1{top:.25rem!important}.cj-peer[data-variant=inset]~.peer-data-\\[variant\\=inset\\]\\:cj-min-h-\\[calc\\(100svh-theme\\(spacing\\.4\\)\\)\\]{min-height:calc(100svh - 1rem)!important}.cj-peer\\/menu-button[data-active=true]~.peer-data-\\[active\\=true\\]\\/menu-button\\:cj-text-sidebar-accent-foreground{color:hsl(var(--claims-journey-sidebar-accent-foreground))!important}.dark\\:cj-border-destructive:is(.cj-dark *){border-color:hsl(var(--claims-journey-destructive))!important}.dark\\:cj-bg-blue-950:is(.cj-dark *){--tw-bg-opacity: 1 !important;background-color:rgb(23 37 84 / var(--tw-bg-opacity, 1))!important}@media (min-width: 640px){.sm\\:cj-bottom-0{bottom:0!important}.sm\\:cj-right-0{right:0!important}.sm\\:cj-top-auto{top:auto!important}.sm\\:cj-mt-0{margin-top:0!important}.sm\\:cj-flex{display:flex!important}.sm\\:cj-w-\\[420px\\]{width:420px!important}.sm\\:cj-max-w-lg{max-width:32rem!important}.sm\\:cj-max-w-sm{max-width:24rem!important}.sm\\:cj-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.sm\\:cj-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sm\\:cj-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.sm\\:cj-flex-row{flex-direction:row!important}.sm\\:cj-flex-col{flex-direction:column!important}.sm\\:cj-justify-end{justify-content:flex-end!important}.sm\\:cj-justify-between{justify-content:space-between!important}.sm\\:cj-gap-2\\.5{gap:.625rem!important}.sm\\:cj-space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(.5rem * var(--tw-space-x-reverse))!important;margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))!important}.sm\\:cj-rounded-lg{border-radius:var(--claims-journey-radius)!important}.sm\\:cj-p-7{padding:1.75rem!important}.sm\\:cj-px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.sm\\:cj-text-left{text-align:left!important}.sm\\:cj-text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.data-\\[state\\=open\\]\\:sm\\:cj-slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y: 100% !important}}@media (min-width: 768px){.md\\:cj-absolute{position:absolute!important}.md\\:cj-block{display:block!important}.md\\:cj-flex{display:flex!important}.md\\:cj-hidden{display:none!important}.md\\:cj-w-\\[30\\%\\]{width:30%!important}.md\\:cj-w-\\[70\\%\\]{width:70%!important}.md\\:cj-w-\\[var\\(--radix-navigation-menu-viewport-width\\)\\]{width:var(--radix-navigation-menu-viewport-width)!important}.md\\:cj-w-auto{width:auto!important}.md\\:cj-max-w-\\[420px\\]{max-width:420px!important}.md\\:cj-shrink-0{flex-shrink:0!important}.md\\:cj-flex-row{flex-direction:row!important}.md\\:cj-px-3{padding-left:.75rem!important;padding-right:.75rem!important}.md\\:cj-py-8{padding-top:2rem!important;padding-bottom:2rem!important}.md\\:cj-text-sm{font-size:.875rem!important;line-height:1.25rem!important}.md\\:cj-opacity-0{opacity:0!important}.after\\:md\\:cj-hidden:after{content:var(--tw-content)!important;display:none!important}.cj-peer[data-variant=inset]~.md\\:peer-data-\\[variant\\=inset\\]\\:cj-m-2{margin:.5rem!important}.cj-peer[data-state=collapsed][data-variant=inset]~.md\\:peer-data-\\[state\\=collapsed\\]\\:peer-data-\\[variant\\=inset\\]\\:cj-ml-2{margin-left:.5rem!important}.cj-peer[data-variant=inset]~.md\\:peer-data-\\[variant\\=inset\\]\\:cj-ml-0{margin-left:0!important}.cj-peer[data-variant=inset]~.md\\:peer-data-\\[variant\\=inset\\]\\:cj-rounded-xl{border-radius:.75rem!important}.cj-peer[data-variant=inset]~.md\\:peer-data-\\[variant\\=inset\\]\\:cj-shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}}.\\[\\&\\:has\\(\\[aria-selected\\]\\)\\]\\:cj-bg-accent:has([aria-selected]){background-color:hsl(var(--claims-journey-accent))!important}.first\\:\\[\\&\\:has\\(\\[aria-selected\\]\\)\\]\\:cj-rounded-l-full:has([aria-selected]):first-child{border-top-left-radius:9999px!important;border-bottom-left-radius:9999px!important}.last\\:\\[\\&\\:has\\(\\[aria-selected\\]\\)\\]\\:cj-rounded-r-full:has([aria-selected]):last-child{border-top-right-radius:9999px!important;border-bottom-right-radius:9999px!important}.\\[\\&\\:has\\(\\[aria-selected\\]\\.day-outside\\)\\]\\:cj-bg-accent\\/50:has([aria-selected].day-outside){background-color:hsl(var(--claims-journey-accent) / .5)!important}.\\[\\&\\:has\\(\\[aria-selected\\]\\.day-range-end\\)\\]\\:cj-rounded-r-full:has([aria-selected].day-range-end){border-top-right-radius:9999px!important;border-bottom-right-radius:9999px!important}.\\[\\&\\:has\\(\\[role\\=checkbox\\]\\)\\]\\:cj-pr-0:has([role=checkbox]){padding-right:0!important}.\\[\\&\\>button\\]\\:cj-hidden>button{display:none!important}.\\[\\&\\>div\\>div\\]\\:\\!cj-block>div>div{display:block!important}.\\[\\&\\>span\\:last-child\\]\\:cj-truncate>span:last-child{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.\\[\\&\\>span\\]\\:cj-line-clamp-1>span{overflow:hidden!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:1!important}.\\[\\&\\>svg\\+div\\]\\:cj-translate-y-\\[-3px\\]>svg+div{--tw-translate-y: -3px !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.\\[\\&\\>svg\\]\\:cj-absolute>svg{position:absolute!important}.\\[\\&\\>svg\\]\\:cj-left-4>svg{left:1rem!important}.\\[\\&\\>svg\\]\\:cj-top-4>svg{top:1rem!important}.\\[\\&\\>svg\\]\\:cj-size-3\\.5>svg{width:.875rem!important;height:.875rem!important}.\\[\\&\\>svg\\]\\:cj-size-4>svg{width:1rem!important;height:1rem!important}.\\[\\&\\>svg\\]\\:cj-h-2\\.5>svg{height:.625rem!important}.\\[\\&\\>svg\\]\\:cj-h-3>svg{height:.75rem!important}.\\[\\&\\>svg\\]\\:cj-w-2\\.5>svg{width:.625rem!important}.\\[\\&\\>svg\\]\\:cj-w-3>svg{width:.75rem!important}.\\[\\&\\>svg\\]\\:cj-shrink-0>svg{flex-shrink:0!important}.\\[\\&\\>svg\\]\\:cj-text-destructive>svg{color:hsl(var(--claims-journey-destructive))!important}.\\[\\&\\>svg\\]\\:cj-text-foreground>svg{color:hsl(var(--claims-journey-foreground))!important}.\\[\\&\\>svg\\]\\:cj-text-muted-foreground>svg{color:hsl(var(--claims-journey-muted-foreground))!important}.\\[\\&\\>svg\\]\\:cj-text-sidebar-accent-foreground>svg{color:hsl(var(--claims-journey-sidebar-accent-foreground))!important}.\\[\\&\\>svg\\~\\*\\]\\:cj-pl-7>svg~*{padding-left:1.75rem!important}.\\[\\&\\>tr\\]\\:last\\:cj-border-b-0:last-child>tr{border-bottom-width:0px!important}.\\[\\&\\[data-panel-group-direction\\=vertical\\]\\>div\\]\\:cj-rotate-90[data-panel-group-direction=vertical]>div{--tw-rotate: 90deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.\\[\\&\\[data-state\\=open\\]\\>svg\\]\\:cj-rotate-180[data-state=open]>svg{--tw-rotate: 180deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.\\[\\&_\\.recharts-cartesian-axis-tick_text\\]\\:cj-fill-muted-foreground .recharts-cartesian-axis-tick text{fill:hsl(var(--claims-journey-muted-foreground))!important}.\\[\\&_\\.recharts-cartesian-grid_line\\[stroke\\=\\'\\#ccc\\'\\]\\]\\:cj-stroke-border\\/50 .recharts-cartesian-grid line[stroke="#ccc"]{stroke:hsl(var(--claims-journey-border) / .5)!important}.\\[\\&_\\.recharts-curve\\.recharts-tooltip-cursor\\]\\:cj-stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:hsl(var(--claims-journey-border))!important}.\\[\\&_\\.recharts-dot\\[stroke\\=\\'\\#fff\\'\\]\\]\\:cj-stroke-transparent .recharts-dot[stroke="#fff"]{stroke:transparent!important}.\\[\\&_\\.recharts-layer\\]\\:cj-outline-none .recharts-layer{outline:2px solid transparent!important;outline-offset:2px!important}.\\[\\&_\\.recharts-polar-grid_\\[stroke\\=\\'\\#ccc\\'\\]\\]\\:cj-stroke-border .recharts-polar-grid [stroke="#ccc"]{stroke:hsl(var(--claims-journey-border))!important}.\\[\\&_\\.recharts-radial-bar-background-sector\\]\\:cj-fill-muted .recharts-radial-bar-background-sector,.\\[\\&_\\.recharts-rectangle\\.recharts-tooltip-cursor\\]\\:cj-fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:hsl(var(--claims-journey-muted))!important}.\\[\\&_\\.recharts-reference-line_\\[stroke\\=\\'\\#ccc\\'\\]\\]\\:cj-stroke-border .recharts-reference-line [stroke="#ccc"]{stroke:hsl(var(--claims-journey-border))!important}.\\[\\&_\\.recharts-sector\\[stroke\\=\\'\\#fff\\'\\]\\]\\:cj-stroke-transparent .recharts-sector[stroke="#fff"]{stroke:transparent!important}.\\[\\&_\\.recharts-sector\\]\\:cj-outline-none .recharts-sector,.\\[\\&_\\.recharts-surface\\]\\:cj-outline-none .recharts-surface{outline:2px solid transparent!important;outline-offset:2px!important}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:cj-px-2 [cmdk-group-heading]{padding-left:.5rem!important;padding-right:.5rem!important}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:cj-py-1\\.5 [cmdk-group-heading]{padding-top:.375rem!important;padding-bottom:.375rem!important}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:cj-text-xs [cmdk-group-heading]{font-size:.75rem!important;line-height:1rem!important}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:cj-font-medium [cmdk-group-heading]{font-weight:500!important}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:cj-text-muted-foreground [cmdk-group-heading]{color:hsl(var(--claims-journey-muted-foreground))!important}.\\[\\&_\\[cmdk-group\\]\\:not\\(\\[hidden\\]\\)_\\~\\[cmdk-group\\]\\]\\:cj-pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0!important}.\\[\\&_\\[cmdk-group\\]\\]\\:cj-px-2 [cmdk-group]{padding-left:.5rem!important;padding-right:.5rem!important}.\\[\\&_\\[cmdk-input-wrapper\\]_svg\\]\\:cj-h-5 [cmdk-input-wrapper] svg{height:1.25rem!important}.\\[\\&_\\[cmdk-input-wrapper\\]_svg\\]\\:cj-w-5 [cmdk-input-wrapper] svg{width:1.25rem!important}.\\[\\&_\\[cmdk-input\\]\\]\\:cj-h-12 [cmdk-input]{height:3rem!important}.\\[\\&_\\[cmdk-item\\]\\]\\:cj-px-2 [cmdk-item]{padding-left:.5rem!important;padding-right:.5rem!important}.\\[\\&_\\[cmdk-item\\]\\]\\:cj-py-3 [cmdk-item]{padding-top:.75rem!important;padding-bottom:.75rem!important}.\\[\\&_\\[cmdk-item\\]_svg\\]\\:cj-h-5 [cmdk-item] svg{height:1.25rem!important}.\\[\\&_\\[cmdk-item\\]_svg\\]\\:cj-w-5 [cmdk-item] svg{width:1.25rem!important}.\\[\\&_button\\]\\:cj-ring-offset-0 button,.\\[\\&_input\\]\\:cj-ring-offset-0 input{--tw-ring-offset-width: 0px !important}.\\[\\&_input\\]\\:focus-visible\\:cj-border-ring:focus-visible input{border-color:hsl(var(--claims-journey-ring))!important}.\\[\\&_input\\]\\:focus-visible\\:cj-ring-0:focus-visible input{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.\\[\\&_p\\]\\:cj-leading-relaxed p{line-height:1.625!important}.\\[\\&_svg\\]\\:cj-pointer-events-none svg{pointer-events:none!important}.\\[\\&_svg\\]\\:cj-size-4 svg{width:1rem!important;height:1rem!important}.\\[\\&_svg\\]\\:cj-shrink-0 svg{flex-shrink:0!important}.\\[\\&_tr\\:last-child\\]\\:cj-border-0 tr:last-child{border-width:0px!important}.\\[\\&_tr\\]\\:cj-border-b tr{border-bottom-width:1px!important}[data-side=left][data-collapsible=offcanvas] .\\[\\[data-side\\=left\\]\\[data-collapsible\\=offcanvas\\]_\\&\\]\\:-cj-right-2{right:-.5rem!important}[data-side=left][data-state=collapsed] .\\[\\[data-side\\=left\\]\\[data-state\\=collapsed\\]_\\&\\]\\:cj-cursor-e-resize{cursor:e-resize!important}[data-side=left] .\\[\\[data-side\\=left\\]_\\&\\]\\:cj-cursor-w-resize{cursor:w-resize!important}[data-side=right][data-collapsible=offcanvas] .\\[\\[data-side\\=right\\]\\[data-collapsible\\=offcanvas\\]_\\&\\]\\:-cj-left-2{left:-.5rem!important}[data-side=right][data-state=collapsed] .\\[\\[data-side\\=right\\]\\[data-state\\=collapsed\\]_\\&\\]\\:cj-cursor-w-resize{cursor:w-resize!important}[data-side=right] .\\[\\[data-side\\=right\\]_\\&\\]\\:cj-cursor-e-resize{cursor:e-resize!important}[data-state=closed]>.\\[\\[data-state\\=closed\\]\\>\\&\\]\\:cj-rotate-\\[-90deg\\]{--tw-rotate: -90deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}`)),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }:root,.jb-widget-root{--claims-journey-background: 210 25% 96.5%;--claims-journey-foreground: 222.2 84% 4.9%;--claims-journey-font-heading: "Poppins", sans-serif;--claims-journey-font-body: "Roboto", sans-serif;--claims-journey-card: 0 0% 100%;--claims-journey-card-foreground: 222.2 84% 4.9%;--claims-journey-popover: 0 0% 100%;--claims-journey-popover-foreground: 222.2 84% 4.9%;--claims-journey-primary: 222.2 47.4% 11.2%;--claims-journey-primary-foreground: 210 40% 98%;--claims-journey-secondary: 210 40% 96.1%;--claims-journey-secondary-foreground: 222.2 47.4% 11.2%;--claims-journey-muted: 210 40% 96.1%;--claims-journey-muted-foreground: 215.4 16.3% 46.9%;--claims-journey-accent: 210 40% 96.1%;--claims-journey-accent-foreground: 222.2 47.4% 11.2%;--claims-journey-destructive: 0 84.2% 60.2%;--claims-journey-destructive-foreground: 210 40% 98%;--claims-journey-border: 214.3 31.8% 91.4%;--claims-journey-input: 214.3 31.8% 91.4%;--claims-journey-ring: 222.2 84% 4.9%;--claims-journey-radius: .75rem;--claims-journey-success: 142 71% 45%;--claims-journey-success-foreground: 0 0% 100%;--claims-journey-sidebar-background: 0 0% 98%;--claims-journey-sidebar-foreground: 240 5.3% 26.1%;--claims-journey-sidebar-primary: 240 5.9% 10%;--claims-journey-sidebar-primary-foreground: 0 0% 98%;--claims-journey-sidebar-accent: 240 4.8% 95.9%;--claims-journey-sidebar-accent-foreground: 240 5.9% 10%;--claims-journey-sidebar-border: 220 13% 91%;--claims-journey-sidebar-ring: 217.2 91.2% 59.8%}.dark{--claims-journey-background: 222.2 84% 4.9%;--claims-journey-foreground: 210 40% 98%;--claims-journey-card: 222.2 84% 4.9%;--claims-journey-card-foreground: 210 40% 98%;--claims-journey-popover: 222.2 84% 4.9%;--claims-journey-popover-foreground: 210 40% 98%;--claims-journey-primary: 210 40% 98%;--claims-journey-primary-foreground: 222.2 47.4% 11.2%;--claims-journey-secondary: 217.2 32.6% 17.5%;--claims-journey-secondary-foreground: 210 40% 98%;--claims-journey-muted: 217.2 32.6% 17.5%;--claims-journey-muted-foreground: 215 20.2% 65.1%;--claims-journey-accent: 217.2 32.6% 17.5%;--claims-journey-accent-foreground: 210 40% 98%;--claims-journey-destructive: 0 62.8% 30.6%;--claims-journey-destructive-foreground: 210 40% 98%;--claims-journey-border: 217.2 32.6% 17.5%;--claims-journey-input: 217.2 32.6% 17.5%;--claims-journey-ring: 212.7 26.8% 83.9%;--claims-journey-sidebar-background: 240 5.9% 10%;--claims-journey-sidebar-foreground: 240 4.8% 95.9%;--claims-journey-sidebar-primary: 224.3 76.3% 48%;--claims-journey-sidebar-primary-foreground: 0 0% 100%;--claims-journey-sidebar-accent: 240 3.7% 15.9%;--claims-journey-sidebar-accent-foreground: 240 4.8% 95.9%;--claims-journey-sidebar-border: 240 3.7% 15.9%;--claims-journey-sidebar-ring: 217.2 91.2% 59.8%}.jb-widget-root,.jb-widget-root *,.jb-widget-root *:before,.jb-widget-root *:after{border-color:hsl(var(--claims-journey-border));box-sizing:border-box}.jb-widget-root{background-color:hsl(var(--claims-journey-background));color:hsl(var(--claims-journey-foreground))}.cj-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border-width:0!important}.cj-pointer-events-none{pointer-events:none!important}.cj-pointer-events-auto{pointer-events:auto!important}.cj-invisible{visibility:hidden!important}.cj-fixed{position:fixed!important}.cj-absolute{position:absolute!important}.cj-relative{position:relative!important}.cj-sticky{position:sticky!important}.cj-inset-0{top:0!important;right:0!important;bottom:0!important;left:0!important}.cj-inset-x-0{left:0!important;right:0!important}.cj-inset-y-0{top:0!important;bottom:0!important}.-cj-bottom-12{bottom:-3rem!important}.-cj-bottom-2{bottom:-.5rem!important}.-cj-left-12{left:-3rem!important}.-cj-right-1{right:-.25rem!important}.-cj-right-12{right:-3rem!important}.-cj-top-1{top:-.25rem!important}.-cj-top-12{top:-3rem!important}.cj-bottom-0{bottom:0!important}.cj-left-0{left:0!important}.cj-left-1{left:.25rem!important}.cj-left-1\\/2{left:50%!important}.cj-left-2{left:.5rem!important}.cj-left-2\\.5{left:.625rem!important}.cj-left-3{left:.75rem!important}.cj-left-\\[50\\%\\]{left:50%!important}.cj-right-0{right:0!important}.cj-right-1{right:.25rem!important}.cj-right-2{right:.5rem!important}.cj-right-3{right:.75rem!important}.cj-right-4{right:1rem!important}.cj-top-0{top:0!important}.cj-top-1{top:.25rem!important}.cj-top-1\\.5{top:.375rem!important}.cj-top-1\\/2{top:50%!important}.cj-top-2{top:.5rem!important}.cj-top-2\\.5{top:.625rem!important}.cj-top-3\\.5{top:.875rem!important}.cj-top-4{top:1rem!important}.cj-top-\\[1px\\]{top:1px!important}.cj-top-\\[50\\%\\]{top:50%!important}.cj-top-\\[60\\%\\]{top:60%!important}.cj-top-full{top:100%!important}.cj-z-10{z-index:10!important}.cj-z-20{z-index:20!important}.cj-z-50{z-index:50!important}.cj-z-\\[100\\]{z-index:100!important}.cj-z-\\[1\\]{z-index:1!important}.cj-m-0{margin:0!important}.-cj-mx-1{margin-left:-.25rem!important;margin-right:-.25rem!important}.cj-mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.cj-mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.cj-mx-3\\.5{margin-left:.875rem!important;margin-right:.875rem!important}.cj-mx-auto{margin-left:auto!important;margin-right:auto!important}.cj-my-0\\.5{margin-top:.125rem!important;margin-bottom:.125rem!important}.cj-my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.-cj-ml-4{margin-left:-1rem!important}.-cj-mt-4{margin-top:-1rem!important}.cj-mb-1{margin-bottom:.25rem!important}.cj-mb-1\\.5{margin-bottom:.375rem!important}.cj-mb-2{margin-bottom:.5rem!important}.cj-mb-3{margin-bottom:.75rem!important}.cj-mb-4{margin-bottom:1rem!important}.cj-mb-6{margin-bottom:1.5rem!important}.cj-ml-0\\.5{margin-left:.125rem!important}.cj-ml-1{margin-left:.25rem!important}.cj-ml-1\\.5{margin-left:.375rem!important}.cj-ml-2{margin-left:.5rem!important}.cj-ml-auto{margin-left:auto!important}.cj-mr-1{margin-right:.25rem!important}.cj-mr-1\\.5{margin-right:.375rem!important}.cj-mr-2{margin-right:.5rem!important}.cj-mt-0{margin-top:0!important}.cj-mt-0\\.5{margin-top:.125rem!important}.cj-mt-1{margin-top:.25rem!important}.cj-mt-1\\.5{margin-top:.375rem!important}.cj-mt-2{margin-top:.5rem!important}.cj-mt-24{margin-top:6rem!important}.cj-mt-3{margin-top:.75rem!important}.cj-mt-4{margin-top:1rem!important}.cj-mt-auto{margin-top:auto!important}.cj-block{display:block!important}.cj-flex{display:flex!important}.cj-inline-flex{display:inline-flex!important}.cj-grid{display:grid!important}.cj-hidden{display:none!important}.cj-aspect-square{aspect-ratio:1 / 1!important}.cj-aspect-video{aspect-ratio:16 / 9!important}.cj-size-4{width:1rem!important;height:1rem!important}.\\!cj-h-3{height:.75rem!important}.cj-h-1{height:.25rem!important}.cj-h-1\\.5{height:.375rem!important}.cj-h-10{height:2.5rem!important}.cj-h-11{height:2.75rem!important}.cj-h-12{height:3rem!important}.cj-h-14{height:3.5rem!important}.cj-h-2{height:.5rem!important}.cj-h-2\\.5{height:.625rem!important}.cj-h-3{height:.75rem!important}.cj-h-3\\.5{height:.875rem!important}.cj-h-4{height:1rem!important}.cj-h-5{height:1.25rem!important}.cj-h-6{height:1.5rem!important}.cj-h-7{height:1.75rem!important}.cj-h-8{height:2rem!important}.cj-h-9{height:2.25rem!important}.cj-h-\\[1px\\]{height:1px!important}.cj-h-\\[200px\\]{height:200px!important}.cj-h-\\[var\\(--radix-navigation-menu-viewport-height\\)\\]{height:var(--radix-navigation-menu-viewport-height)!important}.cj-h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)!important}.cj-h-auto{height:auto!important}.cj-h-full{height:100%!important}.cj-h-px{height:1px!important}.cj-h-svh{height:100svh!important}.cj-max-h-40{max-height:10rem!important}.cj-max-h-60{max-height:15rem!important}.cj-max-h-80{max-height:20rem!important}.cj-max-h-96{max-height:24rem!important}.cj-max-h-\\[300px\\]{max-height:300px!important}.cj-max-h-\\[85vh\\]{max-height:85vh!important}.cj-max-h-\\[calc\\(100vh-5rem\\)\\]{max-height:calc(100vh - 5rem)!important}.cj-max-h-screen{max-height:100vh!important}.cj-min-h-0{min-height:0px!important}.cj-min-h-12{min-height:3rem!important}.cj-min-h-\\[100px\\]{min-height:100px!important}.cj-min-h-\\[120px\\]{min-height:120px!important}.cj-min-h-\\[200px\\]{min-height:200px!important}.cj-min-h-screen{min-height:100vh!important}.cj-min-h-svh{min-height:100svh!important}.\\!cj-w-3{width:.75rem!important}.cj-w-0{width:0px!important}.cj-w-1{width:.25rem!important}.cj-w-1\\.5{width:.375rem!important}.cj-w-10{width:2.5rem!important}.cj-w-11{width:2.75rem!important}.cj-w-12{width:3rem!important}.cj-w-2{width:.5rem!important}.cj-w-2\\.5{width:.625rem!important}.cj-w-24{width:6rem!important}.cj-w-28{width:7rem!important}.cj-w-3{width:.75rem!important}.cj-w-3\\.5{width:.875rem!important}.cj-w-3\\/4{width:75%!important}.cj-w-32{width:8rem!important}.cj-w-4{width:1rem!important}.cj-w-5{width:1.25rem!important}.cj-w-6{width:1.5rem!important}.cj-w-64{width:16rem!important}.cj-w-7{width:1.75rem!important}.cj-w-72{width:18rem!important}.cj-w-8{width:2rem!important}.cj-w-9{width:2.25rem!important}.cj-w-96{width:24rem!important}.cj-w-\\[--sidebar-width\\]{width:var(--sidebar-width)!important}.cj-w-\\[100px\\]{width:100px!important}.cj-w-\\[1px\\]{width:1px!important}.cj-w-\\[260px\\]{width:260px!important}.cj-w-\\[360px\\]{width:360px!important}.cj-w-\\[calc\\(100\\%-2rem\\)\\]{width:calc(100% - 2rem)!important}.cj-w-auto{width:auto!important}.cj-w-full{width:100%!important}.cj-w-max{width:-moz-max-content!important;width:max-content!important}.cj-w-px{width:1px!important}.cj-min-w-0{min-width:0px!important}.cj-min-w-5{min-width:1.25rem!important}.cj-min-w-\\[1\\.75rem\\]{min-width:1.75rem!important}.cj-min-w-\\[12rem\\]{min-width:12rem!important}.cj-min-w-\\[140px\\]{min-width:140px!important}.cj-min-w-\\[180px\\]{min-width:180px!important}.cj-min-w-\\[220px\\]{min-width:220px!important}.cj-min-w-\\[8rem\\]{min-width:8rem!important}.cj-min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)!important}.cj-max-w-2xl{max-width:42rem!important}.cj-max-w-3xl{max-width:48rem!important}.cj-max-w-4xl{max-width:56rem!important}.cj-max-w-\\[--skeleton-width\\]{max-width:var(--skeleton-width)!important}.cj-max-w-\\[160px\\]{max-width:160px!important}.cj-max-w-\\[200px\\]{max-width:200px!important}.cj-max-w-\\[240px\\]{max-width:240px!important}.cj-max-w-lg{max-width:32rem!important}.cj-max-w-max{max-width:-moz-max-content!important;max-width:max-content!important}.cj-max-w-md{max-width:28rem!important}.cj-flex-1{flex:1 1 0%!important}.cj-flex-shrink-0,.cj-shrink-0{flex-shrink:0!important}.cj-grow{flex-grow:1!important}.cj-grow-0{flex-grow:0!important}.cj-basis-full{flex-basis:100%!important}.cj-caption-bottom{caption-side:bottom!important}.cj-border-collapse{border-collapse:collapse!important}.-cj-translate-x-1\\/2{--tw-translate-x: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-cj-translate-x-px{--tw-translate-x: -1px !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-cj-translate-y-1\\/2,.cj--translate-y-1\\/2{--tw-translate-y: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-translate-x-\\[-50\\%\\]{--tw-translate-x: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-translate-x-px{--tw-translate-x: 1px !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-translate-y-\\[-50\\%\\]{--tw-translate-y: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-cj-rotate-90{--tw-rotate: -90deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-rotate-180{--tw-rotate: 180deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-rotate-45{--tw-rotate: 45deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-rotate-90{--tw-rotate: 90deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-animate-\\[fadeSlideIn_0\\.35s_ease-out_both\\]{animation:fadeSlideIn .35s ease-out both!important}.cj-animate-\\[fadeSlideIn_0\\.3s_ease-out_both\\]{animation:fadeSlideIn .3s ease-out both!important}@keyframes cj-pulse{50%{opacity:.5}}.cj-animate-pulse{animation:cj-pulse 2s cubic-bezier(.4,0,.6,1) infinite!important}@keyframes cj-spin{to{transform:rotate(360deg)}}.cj-animate-spin{animation:cj-spin 1s linear infinite!important}.cj-cursor-default{cursor:default!important}.cj-cursor-grab{cursor:grab!important}.cj-cursor-pointer{cursor:pointer!important}.cj-cursor-wait{cursor:wait!important}.cj-touch-none{touch-action:none!important}.cj-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.cj-list-inside{list-style-position:inside!important}.cj-list-disc{list-style-type:disc!important}.cj-list-none{list-style-type:none!important}.cj-appearance-none{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important}.cj-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.cj-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cj-flex-row{flex-direction:row!important}.cj-flex-col{flex-direction:column!important}.cj-flex-col-reverse{flex-direction:column-reverse!important}.cj-flex-wrap{flex-wrap:wrap!important}.cj-items-start{align-items:flex-start!important}.cj-items-end{align-items:flex-end!important}.cj-items-center{align-items:center!important}.cj-items-stretch{align-items:stretch!important}.cj-justify-end{justify-content:flex-end!important}.cj-justify-center{justify-content:center!important}.cj-justify-between{justify-content:space-between!important}.cj-gap-0\\.5{gap:.125rem!important}.cj-gap-1{gap:.25rem!important}.cj-gap-1\\.5{gap:.375rem!important}.cj-gap-2{gap:.5rem!important}.cj-gap-3{gap:.75rem!important}.cj-gap-4{gap:1rem!important}.cj-space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(.25rem * var(--tw-space-x-reverse))!important;margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))!important}.cj-space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(1rem * var(--tw-space-x-reverse))!important;margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))!important}.cj-space-y-0\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.125rem * var(--tw-space-y-reverse))!important}.cj-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.25rem * var(--tw-space-y-reverse))!important}.cj-space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.375rem * var(--tw-space-y-reverse))!important}.cj-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.5rem * var(--tw-space-y-reverse))!important}.cj-space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.75rem * var(--tw-space-y-reverse))!important}.cj-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1rem * var(--tw-space-y-reverse))!important}.cj-space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))!important}.cj-space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))!important}.cj-space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(2rem * var(--tw-space-y-reverse))!important}.cj-divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0 !important;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))!important;border-bottom-width:calc(1px * var(--tw-divide-y-reverse))!important}.cj-divide-border\\/30>:not([hidden])~:not([hidden]){border-color:hsl(var(--claims-journey-border) / .3)!important}.cj-self-start{align-self:flex-start!important}.cj-overflow-auto{overflow:auto!important}.cj-overflow-hidden{overflow:hidden!important}.cj-overflow-visible{overflow:visible!important}.cj-overflow-y-auto{overflow-y:auto!important}.cj-overflow-x-hidden{overflow-x:hidden!important}.cj-truncate{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.cj-whitespace-nowrap{white-space:nowrap!important}.cj-break-words{overflow-wrap:break-word!important}.cj-break-all{word-break:break-all!important}.cj-rounded{border-radius:.25rem!important}.cj-rounded-2xl{border-radius:1rem!important}.cj-rounded-\\[2px\\]{border-radius:2px!important}.cj-rounded-\\[inherit\\]{border-radius:inherit!important}.cj-rounded-full{border-radius:9999px!important}.cj-rounded-lg{border-radius:var(--claims-journey-radius)!important}.cj-rounded-md{border-radius:calc(var(--claims-journey-radius) - 2px)!important}.cj-rounded-none{border-radius:0!important}.cj-rounded-sm{border-radius:calc(var(--claims-journey-radius) - 4px)!important}.cj-rounded-xl{border-radius:.75rem!important}.cj-rounded-t-\\[10px\\]{border-top-left-radius:10px!important;border-top-right-radius:10px!important}.cj-rounded-tl-sm{border-top-left-radius:calc(var(--claims-journey-radius) - 4px)!important}.\\!cj-border-2{border-width:2px!important}.cj-border{border-width:1px!important}.cj-border-0{border-width:0px!important}.cj-border-2{border-width:2px!important}.cj-border-\\[1\\.5px\\]{border-width:1.5px!important}.cj-border-y{border-top-width:1px!important;border-bottom-width:1px!important}.cj-border-b{border-bottom-width:1px!important}.cj-border-b-2{border-bottom-width:2px!important}.cj-border-l{border-left-width:1px!important}.cj-border-r{border-right-width:1px!important}.cj-border-t{border-top-width:1px!important}.cj-border-dashed{border-style:dashed!important}.cj-border-none{border-style:none!important}.\\!cj-border-background{border-color:hsl(var(--claims-journey-background))!important}.\\!cj-border-border{border-color:hsl(var(--claims-journey-border))!important}.cj-border-\\[--color-border\\]{border-color:var(--color-border)!important}.cj-border-background{border-color:hsl(var(--claims-journey-background))!important}.cj-border-border{border-color:hsl(var(--claims-journey-border))!important}.cj-border-border\\/30{border-color:hsl(var(--claims-journey-border) / .3)!important}.cj-border-border\\/40{border-color:hsl(var(--claims-journey-border) / .4)!important}.cj-border-border\\/50{border-color:hsl(var(--claims-journey-border) / .5)!important}.cj-border-border\\/60{border-color:hsl(var(--claims-journey-border) / .6)!important}.cj-border-card{border-color:hsl(var(--claims-journey-card))!important}.cj-border-destructive{border-color:hsl(var(--claims-journey-destructive))!important}.cj-border-destructive\\/30{border-color:hsl(var(--claims-journey-destructive) / .3)!important}.cj-border-destructive\\/40{border-color:hsl(var(--claims-journey-destructive) / .4)!important}.cj-border-destructive\\/50{border-color:hsl(var(--claims-journey-destructive) / .5)!important}.cj-border-input{border-color:hsl(var(--claims-journey-input))!important}.cj-border-muted-foreground\\/25{border-color:hsl(var(--claims-journey-muted-foreground) / .25)!important}.cj-border-primary{border-color:hsl(var(--claims-journey-primary))!important}.cj-border-primary\\/40{border-color:hsl(var(--claims-journey-primary) / .4)!important}.cj-border-primary\\/50{border-color:hsl(var(--claims-journey-primary) / .5)!important}.cj-border-sidebar-border{border-color:hsl(var(--claims-journey-sidebar-border))!important}.cj-border-transparent{border-color:transparent!important}.cj-border-yellow-500{--tw-border-opacity: 1 !important;border-color:rgb(234 179 8 / var(--tw-border-opacity, 1))!important}.cj-border-l-transparent{border-left-color:transparent!important}.cj-border-t-transparent{border-top-color:transparent!important}.\\!cj-bg-background{background-color:hsl(var(--claims-journey-background))!important}.\\!cj-bg-primary{background-color:hsl(var(--claims-journey-primary))!important}.cj-bg-\\[--color-bg\\]{background-color:var(--color-bg)!important}.cj-bg-\\[hsl\\(var\\(--claims-journey-success\\)\\/0\\.15\\)\\]{background-color:hsl(var(--claims-journey-success)/.15)!important}.cj-bg-accent{background-color:hsl(var(--claims-journey-accent))!important}.cj-bg-background{background-color:hsl(var(--claims-journey-background))!important}.cj-bg-background\\/50{background-color:hsl(var(--claims-journey-background) / .5)!important}.cj-bg-black\\/80{background-color:#000c!important}.cj-bg-blue-50{--tw-bg-opacity: 1 !important;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))!important}.cj-bg-blue-500{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))!important}.cj-bg-border{background-color:hsl(var(--claims-journey-border))!important}.cj-bg-card{background-color:hsl(var(--claims-journey-card))!important}.cj-bg-cyan-500{--tw-bg-opacity: 1 !important;background-color:rgb(6 182 212 / var(--tw-bg-opacity, 1))!important}.cj-bg-destructive{background-color:hsl(var(--claims-journey-destructive))!important}.cj-bg-destructive\\/10{background-color:hsl(var(--claims-journey-destructive) / .1)!important}.cj-bg-emerald-500{--tw-bg-opacity: 1 !important;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))!important}.cj-bg-foreground{background-color:hsl(var(--claims-journey-foreground))!important}.cj-bg-green-500{--tw-bg-opacity: 1 !important;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))!important}.cj-bg-indigo-500{--tw-bg-opacity: 1 !important;background-color:rgb(99 102 241 / var(--tw-bg-opacity, 1))!important}.cj-bg-lime-500{--tw-bg-opacity: 1 !important;background-color:rgb(132 204 22 / var(--tw-bg-opacity, 1))!important}.cj-bg-muted{background-color:hsl(var(--claims-journey-muted))!important}.cj-bg-muted\\/20{background-color:hsl(var(--claims-journey-muted) / .2)!important}.cj-bg-muted\\/30{background-color:hsl(var(--claims-journey-muted) / .3)!important}.cj-bg-muted\\/50{background-color:hsl(var(--claims-journey-muted) / .5)!important}.cj-bg-orange-500{--tw-bg-opacity: 1 !important;background-color:rgb(249 115 22 / var(--tw-bg-opacity, 1))!important}.cj-bg-popover{background-color:hsl(var(--claims-journey-popover))!important}.cj-bg-primary{background-color:hsl(var(--claims-journey-primary))!important}.cj-bg-primary\\/10{background-color:hsl(var(--claims-journey-primary) / .1)!important}.cj-bg-primary\\/5{background-color:hsl(var(--claims-journey-primary) / .05)!important}.cj-bg-purple-500{--tw-bg-opacity: 1 !important;background-color:rgb(168 85 247 / var(--tw-bg-opacity, 1))!important}.cj-bg-rose-500{--tw-bg-opacity: 1 !important;background-color:rgb(244 63 94 / var(--tw-bg-opacity, 1))!important}.cj-bg-secondary{background-color:hsl(var(--claims-journey-secondary))!important}.cj-bg-sidebar{background-color:hsl(var(--claims-journey-sidebar-background))!important}.cj-bg-sidebar-border{background-color:hsl(var(--claims-journey-sidebar-border))!important}.cj-bg-teal-500{--tw-bg-opacity: 1 !important;background-color:rgb(20 184 166 / var(--tw-bg-opacity, 1))!important}.cj-bg-transparent{background-color:transparent!important}.cj-bg-yellow-500{--tw-bg-opacity: 1 !important;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))!important}.cj-fill-current{fill:currentColor!important}.cj-p-0{padding:0!important}.cj-p-0\\.5{padding:.125rem!important}.cj-p-1{padding:.25rem!important}.cj-p-2{padding:.5rem!important}.cj-p-3{padding:.75rem!important}.cj-p-4{padding:1rem!important}.cj-p-5{padding:1.25rem!important}.cj-p-6{padding:1.5rem!important}.cj-p-8{padding:2rem!important}.cj-p-\\[1px\\]{padding:1px!important}.cj-px-1{padding-left:.25rem!important;padding-right:.25rem!important}.cj-px-2{padding-left:.5rem!important;padding-right:.5rem!important}.cj-px-2\\.5{padding-left:.625rem!important;padding-right:.625rem!important}.cj-px-3{padding-left:.75rem!important;padding-right:.75rem!important}.cj-px-4{padding-left:1rem!important;padding-right:1rem!important}.cj-px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}.cj-px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.cj-px-8{padding-left:2rem!important;padding-right:2rem!important}.cj-py-0\\.5{padding-top:.125rem!important;padding-bottom:.125rem!important}.cj-py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.cj-py-1\\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}.cj-py-12{padding-top:3rem!important;padding-bottom:3rem!important}.cj-py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.cj-py-2\\.5{padding-top:.625rem!important;padding-bottom:.625rem!important}.cj-py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.cj-py-3\\.5{padding-top:.875rem!important;padding-bottom:.875rem!important}.cj-py-4{padding-top:1rem!important;padding-bottom:1rem!important}.cj-py-6{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.cj-py-8{padding-top:2rem!important;padding-bottom:2rem!important}.cj-pb-1{padding-bottom:.25rem!important}.cj-pb-2{padding-bottom:.5rem!important}.cj-pb-3{padding-bottom:.75rem!important}.cj-pb-4{padding-bottom:1rem!important}.cj-pl-2{padding-left:.5rem!important}.cj-pl-2\\.5{padding-left:.625rem!important}.cj-pl-4{padding-left:1rem!important}.cj-pl-8{padding-left:2rem!important}.cj-pl-9{padding-left:2.25rem!important}.cj-pr-1{padding-right:.25rem!important}.cj-pr-12{padding-right:3rem!important}.cj-pr-2{padding-right:.5rem!important}.cj-pr-2\\.5{padding-right:.625rem!important}.cj-pr-3{padding-right:.75rem!important}.cj-pr-4{padding-right:1rem!important}.cj-pr-6{padding-right:1.5rem!important}.cj-pr-8{padding-right:2rem!important}.cj-pt-0{padding-top:0!important}.cj-pt-1{padding-top:.25rem!important}.cj-pt-2{padding-top:.5rem!important}.cj-pt-3{padding-top:.75rem!important}.cj-pt-4{padding-top:1rem!important}.cj-pt-8{padding-top:2rem!important}.cj-text-left{text-align:left!important}.cj-text-center{text-align:center!important}.cj-text-right{text-align:right!important}.cj-align-middle{vertical-align:middle!important}.cj-font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.cj-text-2xl{font-size:1.5rem!important;line-height:2rem!important}.cj-text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.cj-text-\\[10px\\]{font-size:10px!important}.cj-text-\\[11px\\]{font-size:11px!important}.cj-text-\\[9px\\]{font-size:9px!important}.cj-text-base{font-size:1rem!important;line-height:1.5rem!important}.cj-text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.cj-text-sm{font-size:.875rem!important;line-height:1.25rem!important}.cj-text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.cj-text-xs{font-size:.75rem!important;line-height:1rem!important}.cj-font-bold{font-weight:700!important}.cj-font-medium{font-weight:500!important}.cj-font-normal{font-weight:400!important}.cj-font-semibold{font-weight:600!important}.cj-uppercase{text-transform:uppercase!important}.cj-capitalize{text-transform:capitalize!important}.cj-italic{font-style:italic!important}.cj-tabular-nums{--tw-numeric-spacing: tabular-nums !important;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)!important}.cj-leading-none{line-height:1!important}.cj-leading-relaxed{line-height:1.625!important}.cj-leading-snug{line-height:1.375!important}.cj-leading-tight{line-height:1.25!important}.cj-tracking-tight{letter-spacing:-.025em!important}.cj-tracking-wide{letter-spacing:.025em!important}.cj-tracking-wider{letter-spacing:.05em!important}.cj-tracking-widest{letter-spacing:.1em!important}.cj-text-\\[hsl\\(var\\(--claims-journey-success\\)\\)\\]{color:hsl(var(--claims-journey-success))!important}.cj-text-card-foreground{color:hsl(var(--claims-journey-card-foreground))!important}.cj-text-current{color:currentColor!important}.cj-text-destructive{color:hsl(var(--claims-journey-destructive))!important}.cj-text-destructive-foreground{color:hsl(var(--claims-journey-destructive-foreground))!important}.cj-text-destructive\\/80{color:hsl(var(--claims-journey-destructive) / .8)!important}.cj-text-foreground{color:hsl(var(--claims-journey-foreground))!important}.cj-text-foreground\\/50{color:hsl(var(--claims-journey-foreground) / .5)!important}.cj-text-foreground\\/80{color:hsl(var(--claims-journey-foreground) / .8)!important}.cj-text-green-500{--tw-text-opacity: 1 !important;color:rgb(34 197 94 / var(--tw-text-opacity, 1))!important}.cj-text-muted-foreground{color:hsl(var(--claims-journey-muted-foreground))!important}.cj-text-muted-foreground\\/40{color:hsl(var(--claims-journey-muted-foreground) / .4)!important}.cj-text-muted-foreground\\/60{color:hsl(var(--claims-journey-muted-foreground) / .6)!important}.cj-text-muted-foreground\\/70{color:hsl(var(--claims-journey-muted-foreground) / .7)!important}.cj-text-popover-foreground{color:hsl(var(--claims-journey-popover-foreground))!important}.cj-text-primary{color:hsl(var(--claims-journey-primary))!important}.cj-text-primary-foreground{color:hsl(var(--claims-journey-primary-foreground))!important}.cj-text-secondary-foreground{color:hsl(var(--claims-journey-secondary-foreground))!important}.cj-text-sidebar-foreground{color:hsl(var(--claims-journey-sidebar-foreground))!important}.cj-text-sidebar-foreground\\/70{color:hsl(var(--claims-journey-sidebar-foreground) / .7)!important}.cj-text-white{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity, 1))!important}.cj-text-yellow-500{--tw-text-opacity: 1 !important;color:rgb(234 179 8 / var(--tw-text-opacity, 1))!important}.cj-text-yellow-600{--tw-text-opacity: 1 !important;color:rgb(202 138 4 / var(--tw-text-opacity, 1))!important}.cj-underline{text-decoration-line:underline!important}.cj-underline-offset-4{text-underline-offset:4px!important}.cj-opacity-0{opacity:0!important}.cj-opacity-40{opacity:.4!important}.cj-opacity-50{opacity:.5!important}.cj-opacity-60{opacity:.6!important}.cj-opacity-70{opacity:.7!important}.cj-opacity-90{opacity:.9!important}.cj-shadow-\\[0_0_0_1px_hsl\\(var\\(--claims-journey-sidebar-border\\)\\)\\]{--tw-shadow: 0 0 0 1px hsl(var(--claims-journey-sidebar-border)) !important;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.cj-shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.cj-shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.cj-shadow-none{--tw-shadow: 0 0 #0000 !important;--tw-shadow-colored: 0 0 #0000 !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.cj-shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05) !important;--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.cj-shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.cj-shadow-primary\\/20{--tw-shadow-color: hsl(var(--claims-journey-primary) / .2) !important;--tw-shadow: var(--tw-shadow-colored) !important}.cj-outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.cj-ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.cj-ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.cj-ring-destructive\\/40{--tw-ring-color: hsl(var(--claims-journey-destructive) / .4) !important}.cj-ring-primary\\/20{--tw-ring-color: hsl(var(--claims-journey-primary) / .2) !important}.cj-ring-primary\\/30{--tw-ring-color: hsl(var(--claims-journey-primary) / .3) !important}.cj-ring-primary\\/50{--tw-ring-color: hsl(var(--claims-journey-primary) / .5) !important}.cj-ring-ring{--tw-ring-color: hsl(var(--claims-journey-ring)) !important}.cj-ring-sidebar-ring{--tw-ring-color: hsl(var(--claims-journey-sidebar-ring)) !important}.cj-ring-offset-background{--tw-ring-offset-color: hsl(var(--claims-journey-background)) !important}.cj-transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-transition-\\[left\\,right\\,width\\]{transition-property:left,right,width!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-transition-\\[margin\\,opa\\]{transition-property:margin,opa!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-transition-\\[width\\,height\\,padding\\]{transition-property:width,height,padding!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-transition-\\[width\\]{transition-property:width!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-transition-all{transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-transition-opacity{transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-transition-transform{transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.cj-duration-1000{transition-duration:1s!important}.cj-duration-150{transition-duration:.15s!important}.cj-duration-200{transition-duration:.2s!important}.cj-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.cj-ease-linear{transition-timing-function:linear!important}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.cj-animate-in{animation-name:enter!important;animation-duration:.15s!important;--tw-enter-opacity: initial !important;--tw-enter-scale: initial !important;--tw-enter-rotate: initial !important;--tw-enter-translate-x: initial !important;--tw-enter-translate-y: initial !important}.cj-fade-in-0{--tw-enter-opacity: 0 !important}.cj-fade-in-80{--tw-enter-opacity: .8 !important}.cj-zoom-in-95{--tw-enter-scale: .95 !important}.cj-duration-1000{animation-duration:1s!important}.cj-duration-150{animation-duration:.15s!important}.cj-duration-200{animation-duration:.2s!important}.cj-ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)!important}.cj-ease-linear{animation-timing-function:linear!important}@keyframes fadeSlideIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.file\\:cj-border-0::file-selector-button{border-width:0px!important}.file\\:cj-bg-transparent::file-selector-button{background-color:transparent!important}.file\\:cj-text-sm::file-selector-button{font-size:.875rem!important;line-height:1.25rem!important}.file\\:cj-font-medium::file-selector-button{font-weight:500!important}.file\\:cj-text-foreground::file-selector-button{color:hsl(var(--claims-journey-foreground))!important}.placeholder\\:cj-text-muted-foreground::-moz-placeholder{color:hsl(var(--claims-journey-muted-foreground))!important}.placeholder\\:cj-text-muted-foreground::placeholder{color:hsl(var(--claims-journey-muted-foreground))!important}.after\\:cj-absolute:after{content:var(--tw-content)!important;position:absolute!important}.after\\:-cj-inset-2:after{content:var(--tw-content)!important;top:-.5rem!important;right:-.5rem!important;bottom:-.5rem!important;left:-.5rem!important}.after\\:cj-inset-y-0:after{content:var(--tw-content)!important;top:0!important;bottom:0!important}.after\\:cj-left-1\\/2:after{content:var(--tw-content)!important;left:50%!important}.after\\:cj-w-1:after{content:var(--tw-content)!important;width:.25rem!important}.after\\:cj-w-\\[2px\\]:after{content:var(--tw-content)!important;width:2px!important}.after\\:-cj-translate-x-1\\/2:after{content:var(--tw-content)!important;--tw-translate-x: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.first\\:cj-rounded-l-md:first-child{border-top-left-radius:calc(var(--claims-journey-radius) - 2px)!important;border-bottom-left-radius:calc(var(--claims-journey-radius) - 2px)!important}.first\\:cj-border-l:first-child{border-left-width:1px!important}.last\\:cj-rounded-r-md:last-child{border-top-right-radius:calc(var(--claims-journey-radius) - 2px)!important;border-bottom-right-radius:calc(var(--claims-journey-radius) - 2px)!important}.focus-within\\:cj-relative:focus-within{position:relative!important}.focus-within\\:cj-z-20:focus-within{z-index:20!important}.hover\\:\\!cj-h-4:hover{height:1rem!important}.hover\\:\\!cj-w-4:hover{width:1rem!important}.hover\\:cj-border-destructive\\/75:hover{border-color:hsl(var(--claims-journey-destructive) / .75)!important}.hover\\:cj-border-muted-foreground\\/50:hover{border-color:hsl(var(--claims-journey-muted-foreground) / .5)!important}.hover\\:cj-border-primary\\/40:hover{border-color:hsl(var(--claims-journey-primary) / .4)!important}.hover\\:cj-border-primary\\/50:hover{border-color:hsl(var(--claims-journey-primary) / .5)!important}.hover\\:cj-border-primary\\/60:hover{border-color:hsl(var(--claims-journey-primary) / .6)!important}.hover\\:\\!cj-bg-primary\\/80:hover{background-color:hsl(var(--claims-journey-primary) / .8)!important}.hover\\:cj-bg-accent:hover{background-color:hsl(var(--claims-journey-accent))!important}.hover\\:cj-bg-accent\\/40:hover{background-color:hsl(var(--claims-journey-accent) / .4)!important}.hover\\:cj-bg-accent\\/50:hover{background-color:hsl(var(--claims-journey-accent) / .5)!important}.hover\\:cj-bg-accent\\/60:hover{background-color:hsl(var(--claims-journey-accent) / .6)!important}.hover\\:cj-bg-destructive\\/10:hover{background-color:hsl(var(--claims-journey-destructive) / .1)!important}.hover\\:cj-bg-destructive\\/80:hover{background-color:hsl(var(--claims-journey-destructive) / .8)!important}.hover\\:cj-bg-destructive\\/90:hover{background-color:hsl(var(--claims-journey-destructive) / .9)!important}.hover\\:cj-bg-muted:hover{background-color:hsl(var(--claims-journey-muted))!important}.hover\\:cj-bg-muted\\/50:hover{background-color:hsl(var(--claims-journey-muted) / .5)!important}.hover\\:cj-bg-primary:hover{background-color:hsl(var(--claims-journey-primary))!important}.hover\\:cj-bg-primary\\/80:hover{background-color:hsl(var(--claims-journey-primary) / .8)!important}.hover\\:cj-bg-primary\\/90:hover{background-color:hsl(var(--claims-journey-primary) / .9)!important}.hover\\:cj-bg-secondary:hover{background-color:hsl(var(--claims-journey-secondary))!important}.hover\\:cj-bg-secondary\\/80:hover{background-color:hsl(var(--claims-journey-secondary) / .8)!important}.hover\\:cj-bg-sidebar-accent:hover{background-color:hsl(var(--claims-journey-sidebar-accent))!important}.hover\\:cj-text-accent-foreground:hover{color:hsl(var(--claims-journey-accent-foreground))!important}.hover\\:cj-text-destructive:hover{color:hsl(var(--claims-journey-destructive))!important}.hover\\:cj-text-foreground:hover{color:hsl(var(--claims-journey-foreground))!important}.hover\\:cj-text-muted-foreground:hover{color:hsl(var(--claims-journey-muted-foreground))!important}.hover\\:cj-text-primary-foreground:hover{color:hsl(var(--claims-journey-primary-foreground))!important}.hover\\:cj-text-primary\\/90:hover{color:hsl(var(--claims-journey-primary) / .9)!important}.hover\\:cj-text-sidebar-accent-foreground:hover{color:hsl(var(--claims-journey-sidebar-accent-foreground))!important}.hover\\:cj-text-yellow-600:hover{--tw-text-opacity: 1 !important;color:rgb(202 138 4 / var(--tw-text-opacity, 1))!important}.hover\\:cj-underline:hover{text-decoration-line:underline!important}.hover\\:cj-opacity-100:hover{opacity:1!important}.hover\\:cj-shadow-\\[0_0_0_1px_hsl\\(var\\(--claims-journey-sidebar-accent\\)\\)\\]:hover{--tw-shadow: 0 0 0 1px hsl(var(--claims-journey-sidebar-accent)) !important;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.hover\\:cj-shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.hover\\:after\\:cj-bg-sidebar-border:hover:after{content:var(--tw-content)!important;background-color:hsl(var(--claims-journey-sidebar-border))!important}.focus\\:cj-bg-accent:focus{background-color:hsl(var(--claims-journey-accent))!important}.focus\\:cj-bg-primary:focus{background-color:hsl(var(--claims-journey-primary))!important}.focus\\:cj-text-accent-foreground:focus{color:hsl(var(--claims-journey-accent-foreground))!important}.focus\\:cj-text-primary-foreground:focus{color:hsl(var(--claims-journey-primary-foreground))!important}.focus\\:cj-opacity-100:focus{opacity:1!important}.focus\\:cj-outline-none:focus{outline:2px solid transparent!important;outline-offset:2px!important}.focus\\:cj-ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.focus\\:cj-ring-ring:focus{--tw-ring-color: hsl(var(--claims-journey-ring)) !important}.focus\\:cj-ring-offset-2:focus{--tw-ring-offset-width: 2px !important}.focus-visible\\:cj-outline-none:focus-visible{outline:2px solid transparent!important;outline-offset:2px!important}.focus-visible\\:cj-ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.focus-visible\\:cj-ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.focus-visible\\:cj-ring-destructive:focus-visible{--tw-ring-color: hsl(var(--claims-journey-destructive)) !important}.focus-visible\\:cj-ring-ring:focus-visible{--tw-ring-color: hsl(var(--claims-journey-ring)) !important}.focus-visible\\:cj-ring-sidebar-ring:focus-visible{--tw-ring-color: hsl(var(--claims-journey-sidebar-ring)) !important}.focus-visible\\:cj-ring-offset-1:focus-visible{--tw-ring-offset-width: 1px !important}.focus-visible\\:cj-ring-offset-2:focus-visible{--tw-ring-offset-width: 2px !important}.focus-visible\\:cj-ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--claims-journey-background)) !important}.active\\:cj-cursor-grabbing:active{cursor:grabbing!important}.active\\:cj-bg-sidebar-accent:active{background-color:hsl(var(--claims-journey-sidebar-accent))!important}.active\\:cj-text-sidebar-accent-foreground:active{color:hsl(var(--claims-journey-sidebar-accent-foreground))!important}.disabled\\:cj-pointer-events-none:disabled{pointer-events:none!important}.disabled\\:cj-cursor-not-allowed:disabled{cursor:not-allowed!important}.disabled\\:cj-opacity-50:disabled{opacity:.5!important}.cj-group\\/menu-item:focus-within .group-focus-within\\/menu-item\\:cj-opacity-100{opacity:1!important}.cj-group:hover .group-hover\\:cj-text-foreground{color:hsl(var(--claims-journey-foreground))!important}.cj-group\\/menu-item:hover .group-hover\\/menu-item\\:cj-opacity-100,.cj-group:hover .group-hover\\:cj-opacity-100{opacity:1!important}.cj-group.destructive .group-\\[\\.destructive\\]\\:cj-border-muted\\/40{border-color:hsl(var(--claims-journey-muted) / .4)!important}.cj-group.toaster .group-\\[\\.toaster\\]\\:cj-border-border{border-color:hsl(var(--claims-journey-border))!important}.cj-group.toast .group-\\[\\.toast\\]\\:cj-bg-muted{background-color:hsl(var(--claims-journey-muted))!important}.cj-group.toast .group-\\[\\.toast\\]\\:cj-bg-primary{background-color:hsl(var(--claims-journey-primary))!important}.cj-group.toaster .group-\\[\\.toaster\\]\\:cj-bg-background{background-color:hsl(var(--claims-journey-background))!important}.cj-group.destructive .group-\\[\\.destructive\\]\\:cj-text-red-300{--tw-text-opacity: 1 !important;color:rgb(252 165 165 / var(--tw-text-opacity, 1))!important}.cj-group.toast .group-\\[\\.toast\\]\\:cj-text-muted-foreground{color:hsl(var(--claims-journey-muted-foreground))!important}.cj-group.toast .group-\\[\\.toast\\]\\:cj-text-primary-foreground{color:hsl(var(--claims-journey-primary-foreground))!important}.cj-group.toaster .group-\\[\\.toaster\\]\\:cj-text-foreground{color:hsl(var(--claims-journey-foreground))!important}.cj-group.toaster .group-\\[\\.toaster\\]\\:cj-shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.cj-group.destructive .group-\\[\\.destructive\\]\\:hover\\:cj-border-destructive\\/30:hover{border-color:hsl(var(--claims-journey-destructive) / .3)!important}.cj-group.destructive .group-\\[\\.destructive\\]\\:hover\\:cj-bg-destructive:hover{background-color:hsl(var(--claims-journey-destructive))!important}.cj-group.destructive .group-\\[\\.destructive\\]\\:hover\\:cj-text-destructive-foreground:hover{color:hsl(var(--claims-journey-destructive-foreground))!important}.cj-group.destructive .group-\\[\\.destructive\\]\\:hover\\:cj-text-red-50:hover{--tw-text-opacity: 1 !important;color:rgb(254 242 242 / var(--tw-text-opacity, 1))!important}.cj-group.destructive .group-\\[\\.destructive\\]\\:focus\\:cj-ring-destructive:focus{--tw-ring-color: hsl(var(--claims-journey-destructive)) !important}.cj-group.destructive .group-\\[\\.destructive\\]\\:focus\\:cj-ring-red-400:focus{--tw-ring-opacity: 1 !important;--tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity, 1)) !important}.cj-group.destructive .group-\\[\\.destructive\\]\\:focus\\:cj-ring-offset-red-600:focus{--tw-ring-offset-color: #dc2626 !important}.cj-peer\\/menu-button:hover~.peer-hover\\/menu-button\\:cj-text-sidebar-accent-foreground{color:hsl(var(--claims-journey-sidebar-accent-foreground))!important}.cj-peer:disabled~.peer-disabled\\:cj-cursor-not-allowed{cursor:not-allowed!important}.cj-peer:disabled~.peer-disabled\\:cj-opacity-70{opacity:.7!important}.has-\\[\\[data-variant\\=inset\\]\\]\\:cj-bg-sidebar:has([data-variant=inset]){background-color:hsl(var(--claims-journey-sidebar-background))!important}.has-\\[\\:disabled\\]\\:cj-opacity-50:has(:disabled){opacity:.5!important}.cj-group\\/menu-item:has([data-sidebar=menu-action]) .group-has-\\[\\[data-sidebar\\=menu-action\\]\\]\\/menu-item\\:cj-pr-8{padding-right:2rem!important}.aria-disabled\\:cj-pointer-events-none[aria-disabled=true]{pointer-events:none!important}.aria-disabled\\:cj-opacity-50[aria-disabled=true]{opacity:.5!important}.aria-selected\\:cj-bg-accent[aria-selected=true]{background-color:hsl(var(--claims-journey-accent))!important}.aria-selected\\:cj-bg-accent\\/50[aria-selected=true]{background-color:hsl(var(--claims-journey-accent) / .5)!important}.aria-selected\\:cj-text-accent-foreground[aria-selected=true]{color:hsl(var(--claims-journey-accent-foreground))!important}.aria-selected\\:cj-text-muted-foreground[aria-selected=true]{color:hsl(var(--claims-journey-muted-foreground))!important}.aria-selected\\:cj-opacity-100[aria-selected=true]{opacity:1!important}.aria-selected\\:cj-opacity-30[aria-selected=true]{opacity:.3!important}.data-\\[disabled\\=true\\]\\:cj-pointer-events-none[data-disabled=true],.data-\\[disabled\\]\\:cj-pointer-events-none[data-disabled]{pointer-events:none!important}.data-\\[panel-group-direction\\=vertical\\]\\:cj-h-px[data-panel-group-direction=vertical]{height:1px!important}.data-\\[panel-group-direction\\=vertical\\]\\:cj-w-full[data-panel-group-direction=vertical]{width:100%!important}.data-\\[side\\=bottom\\]\\:cj-translate-y-1[data-side=bottom]{--tw-translate-y: .25rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[side\\=left\\]\\:-cj-translate-x-1[data-side=left]{--tw-translate-x: -.25rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[side\\=right\\]\\:cj-translate-x-1[data-side=right]{--tw-translate-x: .25rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[side\\=top\\]\\:-cj-translate-y-1[data-side=top]{--tw-translate-y: -.25rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[state\\=checked\\]\\:cj-translate-x-5[data-state=checked]{--tw-translate-x: 1.25rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[state\\=unchecked\\]\\:cj-translate-x-0[data-state=unchecked],.data-\\[swipe\\=cancel\\]\\:cj-translate-x-0[data-swipe=cancel]{--tw-translate-x: 0px !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[swipe\\=end\\]\\:cj-translate-x-\\[var\\(--radix-toast-swipe-end-x\\)\\][data-swipe=end]{--tw-translate-x: var(--radix-toast-swipe-end-x) !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[swipe\\=move\\]\\:cj-translate-x-\\[var\\(--radix-toast-swipe-move-x\\)\\][data-swipe=move]{--tw-translate-x: var(--radix-toast-swipe-move-x) !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@keyframes cj-accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\\[state\\=closed\\]\\:cj-animate-accordion-up[data-state=closed]{animation:cj-accordion-up .2s ease-out!important}@keyframes cj-accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\\[state\\=open\\]\\:cj-animate-accordion-down[data-state=open]{animation:cj-accordion-down .2s ease-out!important}.data-\\[panel-group-direction\\=vertical\\]\\:cj-flex-col[data-panel-group-direction=vertical]{flex-direction:column!important}.data-\\[state\\=active\\]\\:cj-border-primary[data-state=active]{border-color:hsl(var(--claims-journey-primary))!important}.data-\\[state\\=checked\\]\\:cj-border-primary\\/40[data-state=checked]{border-color:hsl(var(--claims-journey-primary) / .4)!important}.data-\\[active\\=true\\]\\:cj-bg-sidebar-accent[data-active=true]{background-color:hsl(var(--claims-journey-sidebar-accent))!important}.data-\\[active\\]\\:cj-bg-accent\\/50[data-active]{background-color:hsl(var(--claims-journey-accent) / .5)!important}.data-\\[selected\\=\\'true\\'\\]\\:cj-bg-accent[data-selected=true]{background-color:hsl(var(--claims-journey-accent))!important}.data-\\[state\\=active\\]\\:cj-bg-background[data-state=active]{background-color:hsl(var(--claims-journey-background))!important}.data-\\[state\\=active\\]\\:cj-bg-transparent[data-state=active]{background-color:transparent!important}.data-\\[state\\=checked\\]\\:cj-bg-primary[data-state=checked]{background-color:hsl(var(--claims-journey-primary))!important}.data-\\[state\\=checked\\]\\:cj-bg-primary\\/5[data-state=checked]{background-color:hsl(var(--claims-journey-primary) / .05)!important}.data-\\[state\\=on\\]\\:cj-bg-accent[data-state=on],.data-\\[state\\=open\\]\\:cj-bg-accent[data-state=open]{background-color:hsl(var(--claims-journey-accent))!important}.data-\\[state\\=open\\]\\:cj-bg-accent\\/50[data-state=open]{background-color:hsl(var(--claims-journey-accent) / .5)!important}.data-\\[state\\=open\\]\\:cj-bg-secondary[data-state=open]{background-color:hsl(var(--claims-journey-secondary))!important}.data-\\[state\\=selected\\]\\:cj-bg-muted[data-state=selected]{background-color:hsl(var(--claims-journey-muted))!important}.data-\\[state\\=unchecked\\]\\:cj-bg-input[data-state=unchecked]{background-color:hsl(var(--claims-journey-input))!important}.data-\\[active\\=true\\]\\:cj-font-medium[data-active=true]{font-weight:500!important}.data-\\[active\\=true\\]\\:cj-text-sidebar-accent-foreground[data-active=true]{color:hsl(var(--claims-journey-sidebar-accent-foreground))!important}.data-\\[selected\\=true\\]\\:cj-text-accent-foreground[data-selected=true]{color:hsl(var(--claims-journey-accent-foreground))!important}.data-\\[state\\=active\\]\\:cj-text-foreground[data-state=active]{color:hsl(var(--claims-journey-foreground))!important}.data-\\[state\\=checked\\]\\:cj-text-primary-foreground[data-state=checked]{color:hsl(var(--claims-journey-primary-foreground))!important}.data-\\[state\\=on\\]\\:cj-text-accent-foreground[data-state=on],.data-\\[state\\=open\\]\\:cj-text-accent-foreground[data-state=open]{color:hsl(var(--claims-journey-accent-foreground))!important}.data-\\[state\\=open\\]\\:cj-text-muted-foreground[data-state=open]{color:hsl(var(--claims-journey-muted-foreground))!important}.data-\\[disabled\\=true\\]\\:cj-opacity-50[data-disabled=true],.data-\\[disabled\\]\\:cj-opacity-50[data-disabled]{opacity:.5!important}.data-\\[state\\=open\\]\\:cj-opacity-100[data-state=open]{opacity:1!important}.data-\\[state\\=active\\]\\:cj-shadow-none[data-state=active]{--tw-shadow: 0 0 #0000 !important;--tw-shadow-colored: 0 0 #0000 !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.data-\\[state\\=active\\]\\:cj-shadow-sm[data-state=active]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05) !important;--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.data-\\[swipe\\=move\\]\\:cj-transition-none[data-swipe=move]{transition-property:none!important}.data-\\[state\\=closed\\]\\:cj-duration-300[data-state=closed]{transition-duration:.3s!important}.data-\\[state\\=open\\]\\:cj-duration-500[data-state=open]{transition-duration:.5s!important}.data-\\[motion\\^\\=from-\\]\\:cj-animate-in[data-motion^=from-],.data-\\[state\\=open\\]\\:cj-animate-in[data-state=open],.data-\\[state\\=visible\\]\\:cj-animate-in[data-state=visible]{animation-name:enter!important;animation-duration:.15s!important;--tw-enter-opacity: initial !important;--tw-enter-scale: initial !important;--tw-enter-rotate: initial !important;--tw-enter-translate-x: initial !important;--tw-enter-translate-y: initial !important}.data-\\[motion\\^\\=to-\\]\\:cj-animate-out[data-motion^=to-],.data-\\[state\\=closed\\]\\:cj-animate-out[data-state=closed],.data-\\[state\\=hidden\\]\\:cj-animate-out[data-state=hidden],.data-\\[swipe\\=end\\]\\:cj-animate-out[data-swipe=end]{animation-name:exit!important;animation-duration:.15s!important;--tw-exit-opacity: initial !important;--tw-exit-scale: initial !important;--tw-exit-rotate: initial !important;--tw-exit-translate-x: initial !important;--tw-exit-translate-y: initial !important}.data-\\[motion\\^\\=from-\\]\\:cj-fade-in[data-motion^=from-]{--tw-enter-opacity: 0 !important}.data-\\[motion\\^\\=to-\\]\\:cj-fade-out[data-motion^=to-],.data-\\[state\\=closed\\]\\:cj-fade-out-0[data-state=closed]{--tw-exit-opacity: 0 !important}.data-\\[state\\=closed\\]\\:cj-fade-out-80[data-state=closed]{--tw-exit-opacity: .8 !important}.data-\\[state\\=hidden\\]\\:cj-fade-out[data-state=hidden]{--tw-exit-opacity: 0 !important}.data-\\[state\\=open\\]\\:cj-fade-in-0[data-state=open],.data-\\[state\\=visible\\]\\:cj-fade-in[data-state=visible]{--tw-enter-opacity: 0 !important}.data-\\[state\\=closed\\]\\:cj-zoom-out-95[data-state=closed]{--tw-exit-scale: .95 !important}.data-\\[state\\=open\\]\\:cj-zoom-in-90[data-state=open]{--tw-enter-scale: .9 !important}.data-\\[state\\=open\\]\\:cj-zoom-in-95[data-state=open]{--tw-enter-scale: .95 !important}.data-\\[motion\\=from-end\\]\\:cj-slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x: 13rem !important}.data-\\[motion\\=from-start\\]\\:cj-slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x: -13rem !important}.data-\\[motion\\=to-end\\]\\:cj-slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x: 13rem !important}.data-\\[motion\\=to-start\\]\\:cj-slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x: -13rem !important}.data-\\[side\\=bottom\\]\\:cj-slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem !important}.data-\\[side\\=left\\]\\:cj-slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem !important}.data-\\[side\\=right\\]\\:cj-slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem !important}.data-\\[side\\=top\\]\\:cj-slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem !important}.data-\\[state\\=closed\\]\\:cj-slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100% !important}.data-\\[state\\=closed\\]\\:cj-slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100% !important}.data-\\[state\\=closed\\]\\:cj-slide-out-to-left-1\\/2[data-state=closed]{--tw-exit-translate-x: -50% !important}.data-\\[state\\=closed\\]\\:cj-slide-out-to-right[data-state=closed],.data-\\[state\\=closed\\]\\:cj-slide-out-to-right-full[data-state=closed]{--tw-exit-translate-x: 100% !important}.data-\\[state\\=closed\\]\\:cj-slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100% !important}.data-\\[state\\=closed\\]\\:cj-slide-out-to-top-\\[48\\%\\][data-state=closed]{--tw-exit-translate-y: -48% !important}.data-\\[state\\=open\\]\\:cj-slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100% !important}.data-\\[state\\=open\\]\\:cj-slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100% !important}.data-\\[state\\=open\\]\\:cj-slide-in-from-left-1\\/2[data-state=open]{--tw-enter-translate-x: -50% !important}.data-\\[state\\=open\\]\\:cj-slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100% !important}.data-\\[state\\=open\\]\\:cj-slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100% !important}.data-\\[state\\=open\\]\\:cj-slide-in-from-top-\\[48\\%\\][data-state=open]{--tw-enter-translate-y: -48% !important}.data-\\[state\\=open\\]\\:cj-slide-in-from-top-full[data-state=open]{--tw-enter-translate-y: -100% !important}.data-\\[state\\=closed\\]\\:cj-duration-300[data-state=closed]{animation-duration:.3s!important}.data-\\[state\\=open\\]\\:cj-duration-500[data-state=open]{animation-duration:.5s!important}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:cj-left-0[data-panel-group-direction=vertical]:after{content:var(--tw-content)!important;left:0!important}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:cj-h-1[data-panel-group-direction=vertical]:after{content:var(--tw-content)!important;height:.25rem!important}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:cj-w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content)!important;width:100%!important}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:-cj-translate-y-1\\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content)!important;--tw-translate-y: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:cj-translate-x-0[data-panel-group-direction=vertical]:after{content:var(--tw-content)!important;--tw-translate-x: 0px !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.data-\\[state\\=open\\]\\:hover\\:cj-bg-sidebar-accent:hover[data-state=open]{background-color:hsl(var(--claims-journey-sidebar-accent))!important}.data-\\[state\\=open\\]\\:hover\\:cj-text-sidebar-accent-foreground:hover[data-state=open]{color:hsl(var(--claims-journey-sidebar-accent-foreground))!important}.cj-group[data-collapsible=offcanvas] .group-data-\\[collapsible\\=offcanvas\\]\\:cj-left-\\[calc\\(var\\(--sidebar-width\\)\\*-1\\)\\]{left:calc(var(--sidebar-width) * -1)!important}.cj-group[data-collapsible=offcanvas] .group-data-\\[collapsible\\=offcanvas\\]\\:cj-right-\\[calc\\(var\\(--sidebar-width\\)\\*-1\\)\\]{right:calc(var(--sidebar-width) * -1)!important}.cj-group[data-side=left] .group-data-\\[side\\=left\\]\\:-cj-right-4{right:-1rem!important}.cj-group[data-side=right] .group-data-\\[side\\=right\\]\\:cj-left-0{left:0!important}.cj-group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:-cj-mt-8{margin-top:-2rem!important}.cj-group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:cj-hidden{display:none!important}.cj-group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:cj-w-\\[--sidebar-width-icon\\]{width:var(--sidebar-width-icon)!important}.cj-group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:cj-w-\\[calc\\(var\\(--sidebar-width-icon\\)_\\+_theme\\(spacing\\.4\\)\\)\\]{width:calc(var(--sidebar-width-icon) + 1rem)!important}.cj-group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:cj-w-\\[calc\\(var\\(--sidebar-width-icon\\)_\\+_theme\\(spacing\\.4\\)_\\+2px\\)\\]{width:calc(var(--sidebar-width-icon) + 1rem + 2px)!important}.cj-group[data-collapsible=offcanvas] .group-data-\\[collapsible\\=offcanvas\\]\\:cj-w-0{width:0px!important}.cj-group[data-collapsible=offcanvas] .group-data-\\[collapsible\\=offcanvas\\]\\:cj-translate-x-0{--tw-translate-x: 0px !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-group[data-side=right] .group-data-\\[side\\=right\\]\\:cj-rotate-180,.cj-group[data-state=open] .group-data-\\[state\\=open\\]\\:cj-rotate-180{--tw-rotate: 180deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cj-group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:cj-overflow-hidden{overflow:hidden!important}.cj-group[data-variant=floating] .group-data-\\[variant\\=floating\\]\\:cj-rounded-lg{border-radius:var(--claims-journey-radius)!important}.cj-group[data-variant=floating] .group-data-\\[variant\\=floating\\]\\:cj-border{border-width:1px!important}.cj-group[data-side=left] .group-data-\\[side\\=left\\]\\:cj-border-r{border-right-width:1px!important}.cj-group[data-side=right] .group-data-\\[side\\=right\\]\\:cj-border-l{border-left-width:1px!important}.cj-group[data-variant=floating] .group-data-\\[variant\\=floating\\]\\:cj-border-sidebar-border{border-color:hsl(var(--claims-journey-sidebar-border))!important}.cj-group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:cj-opacity-0{opacity:0!important}.cj-group[data-variant=floating] .group-data-\\[variant\\=floating\\]\\:cj-shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.cj-group[data-collapsible=offcanvas] .group-data-\\[collapsible\\=offcanvas\\]\\:after\\:cj-left-full:after{content:var(--tw-content)!important;left:100%!important}.cj-group[data-collapsible=offcanvas] .group-data-\\[collapsible\\=offcanvas\\]\\:hover\\:cj-bg-sidebar:hover{background-color:hsl(var(--claims-journey-sidebar-background))!important}.cj-peer\\/menu-button[data-size=default]~.peer-data-\\[size\\=default\\]\\/menu-button\\:cj-top-1\\.5{top:.375rem!important}.cj-peer\\/menu-button[data-size=lg]~.peer-data-\\[size\\=lg\\]\\/menu-button\\:cj-top-2\\.5{top:.625rem!important}.cj-peer\\/menu-button[data-size=sm]~.peer-data-\\[size\\=sm\\]\\/menu-button\\:cj-top-1{top:.25rem!important}.cj-peer[data-variant=inset]~.peer-data-\\[variant\\=inset\\]\\:cj-min-h-\\[calc\\(100svh-theme\\(spacing\\.4\\)\\)\\]{min-height:calc(100svh - 1rem)!important}.cj-peer\\/menu-button[data-active=true]~.peer-data-\\[active\\=true\\]\\/menu-button\\:cj-text-sidebar-accent-foreground{color:hsl(var(--claims-journey-sidebar-accent-foreground))!important}.dark\\:cj-border-destructive:is(.cj-dark *){border-color:hsl(var(--claims-journey-destructive))!important}.dark\\:cj-bg-blue-950:is(.cj-dark *){--tw-bg-opacity: 1 !important;background-color:rgb(23 37 84 / var(--tw-bg-opacity, 1))!important}@media (min-width: 640px){.sm\\:cj-bottom-0{bottom:0!important}.sm\\:cj-right-0{right:0!important}.sm\\:cj-top-auto{top:auto!important}.sm\\:cj-mt-0{margin-top:0!important}.sm\\:cj-flex{display:flex!important}.sm\\:cj-w-\\[420px\\]{width:420px!important}.sm\\:cj-max-w-lg{max-width:32rem!important}.sm\\:cj-max-w-sm{max-width:24rem!important}.sm\\:cj-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.sm\\:cj-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sm\\:cj-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.sm\\:cj-flex-row{flex-direction:row!important}.sm\\:cj-flex-col{flex-direction:column!important}.sm\\:cj-justify-end{justify-content:flex-end!important}.sm\\:cj-justify-between{justify-content:space-between!important}.sm\\:cj-gap-2\\.5{gap:.625rem!important}.sm\\:cj-space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(.5rem * var(--tw-space-x-reverse))!important;margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))!important}.sm\\:cj-rounded-lg{border-radius:var(--claims-journey-radius)!important}.sm\\:cj-p-7{padding:1.75rem!important}.sm\\:cj-px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.sm\\:cj-text-left{text-align:left!important}.sm\\:cj-text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.data-\\[state\\=open\\]\\:sm\\:cj-slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y: 100% !important}}@media (min-width: 768px){.md\\:cj-absolute{position:absolute!important}.md\\:cj-block{display:block!important}.md\\:cj-flex{display:flex!important}.md\\:cj-hidden{display:none!important}.md\\:cj-w-\\[30\\%\\]{width:30%!important}.md\\:cj-w-\\[70\\%\\]{width:70%!important}.md\\:cj-w-\\[var\\(--radix-navigation-menu-viewport-width\\)\\]{width:var(--radix-navigation-menu-viewport-width)!important}.md\\:cj-w-auto{width:auto!important}.md\\:cj-max-w-\\[420px\\]{max-width:420px!important}.md\\:cj-shrink-0{flex-shrink:0!important}.md\\:cj-flex-row{flex-direction:row!important}.md\\:cj-px-3{padding-left:.75rem!important;padding-right:.75rem!important}.md\\:cj-py-8{padding-top:2rem!important;padding-bottom:2rem!important}.md\\:cj-text-sm{font-size:.875rem!important;line-height:1.25rem!important}.md\\:cj-opacity-0{opacity:0!important}.after\\:md\\:cj-hidden:after{content:var(--tw-content)!important;display:none!important}.cj-peer[data-variant=inset]~.md\\:peer-data-\\[variant\\=inset\\]\\:cj-m-2{margin:.5rem!important}.cj-peer[data-state=collapsed][data-variant=inset]~.md\\:peer-data-\\[state\\=collapsed\\]\\:peer-data-\\[variant\\=inset\\]\\:cj-ml-2{margin-left:.5rem!important}.cj-peer[data-variant=inset]~.md\\:peer-data-\\[variant\\=inset\\]\\:cj-ml-0{margin-left:0!important}.cj-peer[data-variant=inset]~.md\\:peer-data-\\[variant\\=inset\\]\\:cj-rounded-xl{border-radius:.75rem!important}.cj-peer[data-variant=inset]~.md\\:peer-data-\\[variant\\=inset\\]\\:cj-shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}}.\\[\\&\\:has\\(\\[aria-selected\\]\\)\\]\\:cj-bg-accent:has([aria-selected]){background-color:hsl(var(--claims-journey-accent))!important}.first\\:\\[\\&\\:has\\(\\[aria-selected\\]\\)\\]\\:cj-rounded-l-full:has([aria-selected]):first-child{border-top-left-radius:9999px!important;border-bottom-left-radius:9999px!important}.last\\:\\[\\&\\:has\\(\\[aria-selected\\]\\)\\]\\:cj-rounded-r-full:has([aria-selected]):last-child{border-top-right-radius:9999px!important;border-bottom-right-radius:9999px!important}.\\[\\&\\:has\\(\\[aria-selected\\]\\.day-outside\\)\\]\\:cj-bg-accent\\/50:has([aria-selected].day-outside){background-color:hsl(var(--claims-journey-accent) / .5)!important}.\\[\\&\\:has\\(\\[aria-selected\\]\\.day-range-end\\)\\]\\:cj-rounded-r-full:has([aria-selected].day-range-end){border-top-right-radius:9999px!important;border-bottom-right-radius:9999px!important}.\\[\\&\\:has\\(\\[role\\=checkbox\\]\\)\\]\\:cj-pr-0:has([role=checkbox]){padding-right:0!important}.\\[\\&\\>button\\]\\:cj-hidden>button{display:none!important}.\\[\\&\\>div\\>div\\]\\:\\!cj-block>div>div{display:block!important}.\\[\\&\\>div\\]\\:\\!cj-block>div{display:block!important}.\\[\\&\\>div\\]\\:cj-w-full>div{width:100%!important}.\\[\\&\\>div\\]\\:\\!cj-min-w-0>div{min-width:0px!important}.\\[\\&\\>span\\:last-child\\]\\:cj-truncate>span:last-child{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.\\[\\&\\>span\\]\\:cj-line-clamp-1>span{overflow:hidden!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:1!important}.\\[\\&\\>svg\\+div\\]\\:cj-translate-y-\\[-3px\\]>svg+div{--tw-translate-y: -3px !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.\\[\\&\\>svg\\]\\:cj-absolute>svg{position:absolute!important}.\\[\\&\\>svg\\]\\:cj-left-4>svg{left:1rem!important}.\\[\\&\\>svg\\]\\:cj-top-4>svg{top:1rem!important}.\\[\\&\\>svg\\]\\:cj-size-3\\.5>svg{width:.875rem!important;height:.875rem!important}.\\[\\&\\>svg\\]\\:cj-size-4>svg{width:1rem!important;height:1rem!important}.\\[\\&\\>svg\\]\\:cj-h-2\\.5>svg{height:.625rem!important}.\\[\\&\\>svg\\]\\:cj-h-3>svg{height:.75rem!important}.\\[\\&\\>svg\\]\\:cj-w-2\\.5>svg{width:.625rem!important}.\\[\\&\\>svg\\]\\:cj-w-3>svg{width:.75rem!important}.\\[\\&\\>svg\\]\\:cj-shrink-0>svg{flex-shrink:0!important}.\\[\\&\\>svg\\]\\:cj-text-destructive>svg{color:hsl(var(--claims-journey-destructive))!important}.\\[\\&\\>svg\\]\\:cj-text-foreground>svg{color:hsl(var(--claims-journey-foreground))!important}.\\[\\&\\>svg\\]\\:cj-text-muted-foreground>svg{color:hsl(var(--claims-journey-muted-foreground))!important}.\\[\\&\\>svg\\]\\:cj-text-sidebar-accent-foreground>svg{color:hsl(var(--claims-journey-sidebar-accent-foreground))!important}.\\[\\&\\>svg\\~\\*\\]\\:cj-pl-7>svg~*{padding-left:1.75rem!important}.\\[\\&\\>tr\\]\\:last\\:cj-border-b-0:last-child>tr{border-bottom-width:0px!important}.\\[\\&\\[data-panel-group-direction\\=vertical\\]\\>div\\]\\:cj-rotate-90[data-panel-group-direction=vertical]>div{--tw-rotate: 90deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.\\[\\&\\[data-state\\=open\\]\\>svg\\]\\:cj-rotate-180[data-state=open]>svg{--tw-rotate: 180deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.\\[\\&_\\.recharts-cartesian-axis-tick_text\\]\\:cj-fill-muted-foreground .recharts-cartesian-axis-tick text{fill:hsl(var(--claims-journey-muted-foreground))!important}.\\[\\&_\\.recharts-cartesian-grid_line\\[stroke\\=\\'\\#ccc\\'\\]\\]\\:cj-stroke-border\\/50 .recharts-cartesian-grid line[stroke="#ccc"]{stroke:hsl(var(--claims-journey-border) / .5)!important}.\\[\\&_\\.recharts-curve\\.recharts-tooltip-cursor\\]\\:cj-stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:hsl(var(--claims-journey-border))!important}.\\[\\&_\\.recharts-dot\\[stroke\\=\\'\\#fff\\'\\]\\]\\:cj-stroke-transparent .recharts-dot[stroke="#fff"]{stroke:transparent!important}.\\[\\&_\\.recharts-layer\\]\\:cj-outline-none .recharts-layer{outline:2px solid transparent!important;outline-offset:2px!important}.\\[\\&_\\.recharts-polar-grid_\\[stroke\\=\\'\\#ccc\\'\\]\\]\\:cj-stroke-border .recharts-polar-grid [stroke="#ccc"]{stroke:hsl(var(--claims-journey-border))!important}.\\[\\&_\\.recharts-radial-bar-background-sector\\]\\:cj-fill-muted .recharts-radial-bar-background-sector,.\\[\\&_\\.recharts-rectangle\\.recharts-tooltip-cursor\\]\\:cj-fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:hsl(var(--claims-journey-muted))!important}.\\[\\&_\\.recharts-reference-line_\\[stroke\\=\\'\\#ccc\\'\\]\\]\\:cj-stroke-border .recharts-reference-line [stroke="#ccc"]{stroke:hsl(var(--claims-journey-border))!important}.\\[\\&_\\.recharts-sector\\[stroke\\=\\'\\#fff\\'\\]\\]\\:cj-stroke-transparent .recharts-sector[stroke="#fff"]{stroke:transparent!important}.\\[\\&_\\.recharts-sector\\]\\:cj-outline-none .recharts-sector,.\\[\\&_\\.recharts-surface\\]\\:cj-outline-none .recharts-surface{outline:2px solid transparent!important;outline-offset:2px!important}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:cj-px-2 [cmdk-group-heading]{padding-left:.5rem!important;padding-right:.5rem!important}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:cj-py-1\\.5 [cmdk-group-heading]{padding-top:.375rem!important;padding-bottom:.375rem!important}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:cj-text-xs [cmdk-group-heading]{font-size:.75rem!important;line-height:1rem!important}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:cj-font-medium [cmdk-group-heading]{font-weight:500!important}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:cj-text-muted-foreground [cmdk-group-heading]{color:hsl(var(--claims-journey-muted-foreground))!important}.\\[\\&_\\[cmdk-group\\]\\:not\\(\\[hidden\\]\\)_\\~\\[cmdk-group\\]\\]\\:cj-pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0!important}.\\[\\&_\\[cmdk-group\\]\\]\\:cj-px-2 [cmdk-group]{padding-left:.5rem!important;padding-right:.5rem!important}.\\[\\&_\\[cmdk-input-wrapper\\]_svg\\]\\:cj-h-5 [cmdk-input-wrapper] svg{height:1.25rem!important}.\\[\\&_\\[cmdk-input-wrapper\\]_svg\\]\\:cj-w-5 [cmdk-input-wrapper] svg{width:1.25rem!important}.\\[\\&_\\[cmdk-input\\]\\]\\:cj-h-12 [cmdk-input]{height:3rem!important}.\\[\\&_\\[cmdk-item\\]\\]\\:cj-px-2 [cmdk-item]{padding-left:.5rem!important;padding-right:.5rem!important}.\\[\\&_\\[cmdk-item\\]\\]\\:cj-py-3 [cmdk-item]{padding-top:.75rem!important;padding-bottom:.75rem!important}.\\[\\&_\\[cmdk-item\\]_svg\\]\\:cj-h-5 [cmdk-item] svg{height:1.25rem!important}.\\[\\&_\\[cmdk-item\\]_svg\\]\\:cj-w-5 [cmdk-item] svg{width:1.25rem!important}.\\[\\&_button\\]\\:cj-ring-offset-0 button,.\\[\\&_input\\]\\:cj-ring-offset-0 input{--tw-ring-offset-width: 0px !important}.\\[\\&_input\\]\\:focus-visible\\:cj-border-ring:focus-visible input{border-color:hsl(var(--claims-journey-ring))!important}.\\[\\&_input\\]\\:focus-visible\\:cj-ring-0:focus-visible input{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.\\[\\&_p\\]\\:cj-leading-relaxed p{line-height:1.625!important}.\\[\\&_svg\\]\\:cj-pointer-events-none svg{pointer-events:none!important}.\\[\\&_svg\\]\\:cj-size-4 svg{width:1rem!important;height:1rem!important}.\\[\\&_svg\\]\\:cj-shrink-0 svg{flex-shrink:0!important}.\\[\\&_tr\\:last-child\\]\\:cj-border-0 tr:last-child{border-width:0px!important}.\\[\\&_tr\\]\\:cj-border-b tr{border-bottom-width:1px!important}[data-side=left][data-collapsible=offcanvas] .\\[\\[data-side\\=left\\]\\[data-collapsible\\=offcanvas\\]_\\&\\]\\:-cj-right-2{right:-.5rem!important}[data-side=left][data-state=collapsed] .\\[\\[data-side\\=left\\]\\[data-state\\=collapsed\\]_\\&\\]\\:cj-cursor-e-resize{cursor:e-resize!important}[data-side=left] .\\[\\[data-side\\=left\\]_\\&\\]\\:cj-cursor-w-resize{cursor:w-resize!important}[data-side=right][data-collapsible=offcanvas] .\\[\\[data-side\\=right\\]\\[data-collapsible\\=offcanvas\\]_\\&\\]\\:-cj-left-2{left:-.5rem!important}[data-side=right][data-state=collapsed] .\\[\\[data-side\\=right\\]\\[data-state\\=collapsed\\]_\\&\\]\\:cj-cursor-w-resize{cursor:w-resize!important}[data-side=right] .\\[\\[data-side\\=right\\]_\\&\\]\\:cj-cursor-e-resize{cursor:e-resize!important}[data-state=closed]>.\\[\\[data-state\\=closed\\]\\>\\&\\]\\:cj-rotate-\\[-90deg\\]{--tw-rotate: -90deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}`)),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
2
|
"use strict";var Vm=Object.defineProperty;var Gm=(e,t,n)=>t in e?Vm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Y=(e,t,n)=>Gm(e,typeof t!="symbol"?t+"":t,n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),y=require("react"),is=require("react-dom");function Fc(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const _=Fc(y),yo=Fc(is),fi=e=>{let t;const n=new Set,r=(d,u)=>{const f=typeof d=="function"?d(t):d;if(!Object.is(f,t)){const m=t;t=u??(typeof f!="object"||f===null)?f:Object.assign({},t,f),n.forEach(p=>p(t,m))}},o=()=>t,i={setState:r,getState:o,getInitialState:()=>l,subscribe:d=>(n.add(d),()=>n.delete(d))},l=t=e(r,o,i);return i},Um=e=>e?fi(e):fi,Xm=e=>e;function Km(e,t=Xm){const n=y.useSyncExternalStore(e.subscribe,y.useCallback(()=>t(e.getState()),[e,t]),y.useCallback(()=>t(e.getInitialState()),[e,t]));return y.useDebugValue(n),n}const mi=e=>{const t=Um(e),n=r=>Km(t,r);return Object.assign(n,t),n},Jm=e=>e?mi(e):mi,Me=e=>`${e}_${Date.now()}_${Math.random().toString(36).slice(2,7)}`;function pi(){return{steps:[],fields:[],summary:{title:"Summary",show_pricing:!1,sections:[]},init:{values:{}}}}function Qm(e){return!!e&&typeof e=="object"&&"claimspec_id"in e}function hi(e){return{field_id:Me("field"),namespace:e.namespace,label:e.label,specId:e.id,schema:e.schema,options:e.options,actor:"customer",required:!1,bindings:[{target_namespace:e.namespace}],placeholder:e.placeholder??void 0,helpText:e.help_text??void 0}}function _i(e){const t=e.bindings&&e.bindings.length>0?e.bindings.map(n=>({target_namespace:n.target_namespace})):[{target_namespace:e.namespace}];return{field_id:Me("field"),namespace:e.namespace,label:e.label,specId:e.specId??"custom",schema:e.schema,options:e.options??null,actor:e.actor??"customer",required:e.required??!1,bindings:t,widget:e.widget,uploadConfig:e.uploadConfig,allowFuture:e.allowFuture}}function $c(e){const t=(e.nodes||[]).map(a=>Zm(a)),n=new Map;(e.nodes||[]).forEach((a,s)=>n.set(a.node_id,t[s].field_id));const r=e.mode==="grouped"&&(e.groups||[]).length>0;let o;if(r){const a=gi((e.groups||[]).map(s=>s.group_id),e.edges||[],e.start_node_id??null);o=a.map(s=>{const i=(e.groups||[]).find(u=>u.group_id===s),l=(i.sections||[]).map(u=>({row_id:Me("row"),layout:"horizontal",field_ids:u.node_ids.map(f=>n.get(f)).filter(f=>!!f)})),d=ji(s,e.edges||[],a,u=>u);return{step_id:s,title:i.title||"Step",description:"",rows:l.length>0?l:[{row_id:Me("row"),layout:"horizontal",field_ids:[]}],navigation:d}})}else{const a=gi((e.nodes||[]).map(s=>s.node_id),e.edges||[],e.start_node_id??null);o=a.map(s=>{const i=n.get(s),l=(e.nodes||[]).find(u=>u.node_id===s),d=ji(s,e.edges||[],a,u=>u);return{step_id:s,title:l.label_override||l.label||l.question_key,description:"",rows:[{row_id:Me("row"),layout:"horizontal",field_ids:i?[i]:[]}],navigation:d}})}return{steps:o,fields:t,summary:{title:"Summary",show_pricing:!1,sections:[]},init:{values:{}}}}function Zm(e){var t;return{field_id:Me("field"),namespace:e.question_key,label:e.label_override||e.label||e.question_key,labelOverride:e.label_override,specId:e.source_property_spec_id||"custom",schema:e.schema||"v1_string",options:e.options??null,actor:e.actor||"customer",bindings:e.bindings||[{target_namespace:e.question_key}],widget:(t=e.ui)!=null&&t.widget&&e.ui.widget!=="auto"?e.ui.widget:void 0,required:!!e.required,uploadConfig:e.upload_config,allowFuture:e.allow_future}}function gi(e,t,n){var l;if(e.length===0)return[];const r=new Set(t.map(d=>d.to_node_id)),o=n&&e.includes(n)?n:e.find(d=>!r.has(d))||e[0],a=[],s=new Set;let i=o;for(;i&&!s.has(i);){s.add(i),a.push(i);const d=t.filter(m=>m.from_node_id===i);if(d.length===0)break;const u=[...d].sort((m,p)=>(p.priority||0)-(m.priority||0)),f=u.find(m=>m.is_default);i=((f==null?void 0:f.to_node_id)||((l=u[0])==null?void 0:l.to_node_id))??null}for(const d of e)s.has(d)||a.push(d);return a}function ji(e,t,n,r){const a=t.filter(s=>s.from_node_id===e).sort((s,i)=>(i.priority||0)-(s.priority||0)).map(s=>({rule_id:Me("rule"),condition:s.condition||null,next_step_id:r(s.to_node_id),priority:s.priority||0}));if(a.length===0){const s=n.indexOf(e),i=s>=0&&s<n.length-1?r(n[s+1]):"__submit__";a.push({rule_id:Me("rule"),condition:null,next_step_id:i,priority:0})}return{rules:a}}const wt=Jm((e,t)=>{const n=()=>{const{formConfig:a,theme:s}=t();return{formConfig:JSON.parse(JSON.stringify(a)),theme:JSON.parse(JSON.stringify(s))}},r=()=>{const a=n();e({_history:[...t()._history.slice(-50),a],_future:[],isDirty:!0})},o=a=>{r(),e({formConfig:a(t().formConfig)})};return{formConfig:pi(),theme:{},activeTab:"steps",activeStepId:null,selectedFieldId:null,isDirty:!1,_history:[],_future:[],_push:r,undo:()=>{const{_history:a}=t();if(a.length===0)return;const s=a[a.length-1],i=n();e({formConfig:s.formConfig,theme:s.theme,_history:a.slice(0,-1),_future:[...t()._future,i]})},redo:()=>{const{_future:a}=t();if(a.length===0)return;const s=a[a.length-1],i=n();e({formConfig:s.formConfig,theme:s.theme,_future:a.slice(0,-1),_history:[...t()._history,i]})},canUndo:()=>t()._history.length>0,canRedo:()=>t()._future.length>0,markClean:()=>e({isDirty:!1}),setActiveTab:a=>e({activeTab:a}),setActiveStep:a=>e({activeStepId:a,selectedFieldId:null}),setSelectedField:a=>e({selectedFieldId:a}),updateTheme:a=>{r(),e({theme:{...t().theme,...a}})},resetTheme:()=>{r(),e({theme:{}})},addStep:a=>{const s=Me("step");return o(i=>({...i,steps:[...i.steps,{step_id:s,title:a||`Step ${i.steps.length+1}`,description:"",rows:[{row_id:Me("row"),layout:"horizontal",field_ids:[]}],navigation:{rules:[{rule_id:Me("rule"),condition:null,next_step_id:"__submit__",priority:0}]}}]})),e({activeStepId:s}),s},updateStep:(a,s)=>o(i=>({...i,steps:i.steps.map(l=>l.step_id===a?{...l,...s}:l)})),deleteStep:a=>{var s;o(i=>({...i,steps:i.steps.filter(l=>l.step_id!==a).map(l=>({...l,navigation:{...l.navigation,rules:l.navigation.rules.map(d=>d.next_step_id===a?{...d,next_step_id:"__submit__"}:d)}}))})),t().activeStepId===a&&e({activeStepId:((s=t().formConfig.steps[0])==null?void 0:s.step_id)||null})},reorderSteps:a=>o(s=>({...s,steps:a.map(i=>s.steps.find(l=>l.step_id===i)).filter(i=>!!i)})),moveStep:(a,s)=>o(i=>{const l=i.steps.findIndex(f=>f.step_id===a);if(l<0)return i;const d=s==="up"?l-1:l+1;if(d<0||d>=i.steps.length)return i;const u=[...i.steps];return[u[l],u[d]]=[u[d],u[l]],{...i,steps:u}}),addRow:(a,s="horizontal")=>{const i=Me("row");return o(l=>({...l,steps:l.steps.map(d=>d.step_id===a?{...d,rows:[...d.rows,{row_id:i,layout:s,field_ids:[]}]}:d)})),i},updateRow:(a,s,i)=>o(l=>({...l,steps:l.steps.map(d=>d.step_id===a?{...d,rows:d.rows.map(u=>u.row_id===s?{...u,...i}:u)}:d)})),deleteRow:(a,s)=>o(i=>({...i,steps:i.steps.map(l=>l.step_id===a?{...l,rows:l.rows.filter(d=>d.row_id!==s)}:l)})),moveRow:(a,s,i)=>o(l=>({...l,steps:l.steps.map(d=>{if(d.step_id!==a)return d;const u=d.rows.findIndex(p=>p.row_id===s);if(u<0)return d;const f=i==="up"?u-1:u+1;if(f<0||f>=d.rows.length)return d;const m=[...d.rows];return[m[u],m[f]]=[m[f],m[u]],{...d,rows:m}})})),createField:a=>{const s=_i(a);return o(i=>({...i,fields:[...i.fields,s]})),s.field_id},createFieldFromSpec:a=>{const s=hi(a);return o(i=>({...i,fields:[...i.fields,s]})),s.field_id},updateField:(a,s)=>o(i=>({...i,fields:i.fields.map(l=>l.field_id===a?{...l,...s}:l)})),deleteField:a=>{o(s=>({...s,fields:s.fields.filter(i=>i.field_id!==a),steps:s.steps.map(i=>({...i,rows:i.rows.map(l=>({...l,field_ids:l.field_ids.filter(d=>d!==a)}))})),summary:{...s.summary,sections:s.summary.sections.map(i=>({...i,display_fields:i.display_fields.filter(l=>l.field_id!==a)}))}})),t().selectedFieldId===a&&e({selectedFieldId:null})},addFieldToRow:(a,s,i)=>o(l=>({...l,steps:l.steps.map(d=>d.step_id===a?{...d,rows:d.rows.map(u=>u.row_id===s?u.field_ids.includes(i)?u:{...u,field_ids:[...u.field_ids,i]}:u)}:d)})),addNewFieldToRow:(a,s,i)=>{const l=Qm(i)?hi(i):_i(i);return o(d=>({...d,fields:[...d.fields,l],steps:d.steps.map(u=>u.step_id===a?{...u,rows:u.rows.map(f=>f.row_id===s?{...f,field_ids:[...f.field_ids,l.field_id]}:f)}:u)})),e({selectedFieldId:l.field_id}),l.field_id},removeFieldFromRow:(a,s,i)=>o(l=>({...l,steps:l.steps.map(d=>d.step_id===a?{...d,rows:d.rows.map(u=>u.row_id===s?{...u,field_ids:u.field_ids.filter(f=>f!==i)}:u)}:d)})),moveFieldInRow:(a,s,i,l)=>o(d=>({...d,steps:d.steps.map(u=>u.step_id!==a?u:{...u,rows:u.rows.map(f=>{if(f.row_id!==s)return f;const m=f.field_ids.indexOf(i);if(m<0)return f;const p=l==="left"?m-1:m+1;if(p<0||p>=f.field_ids.length)return f;const g=[...f.field_ids];return[g[m],g[p]]=[g[p],g[m]],{...f,field_ids:g}})})})),updateStepNavigation:(a,s)=>o(i=>({...i,steps:i.steps.map(l=>l.step_id===a?{...l,navigation:{...l.navigation,...s}}:l)})),setStepApiCall:(a,s)=>o(i=>({...i,steps:i.steps.map(l=>l.step_id===a?{...l,navigation:{...l.navigation,api_call:s}}:l)})),addNavRule:a=>{const s=Me("rule");return o(i=>({...i,steps:i.steps.map(l=>l.step_id===a?{...l,navigation:{...l.navigation,rules:[...l.navigation.rules,{rule_id:s,condition:null,next_step_id:"__submit__",priority:0}]}}:l)})),s},updateNavRule:(a,s,i)=>o(l=>({...l,steps:l.steps.map(d=>d.step_id===a?{...d,navigation:{...d.navigation,rules:d.navigation.rules.map(u=>u.rule_id===s?{...u,...i}:u)}}:d)})),deleteNavRule:(a,s)=>o(i=>({...i,steps:i.steps.map(l=>l.step_id===a?{...l,navigation:{...l.navigation,rules:l.navigation.rules.filter(d=>d.rule_id!==s)}}:l)})),updateSummary:a=>o(s=>({...s,summary:{...s.summary,...a}})),addSummarySection:a=>{const s=Me("section");return o(i=>({...i,summary:{...i.summary,sections:[...i.summary.sections,{section_id:s,title:a||"Section",display_fields:[]}]}})),s},updateSummarySection:(a,s)=>o(i=>({...i,summary:{...i.summary,sections:i.summary.sections.map(l=>l.section_id===a?{...l,...s}:l)}})),deleteSummarySection:a=>o(s=>({...s,summary:{...s.summary,sections:s.summary.sections.filter(i=>i.section_id!==a)}})),addDisplayField:(a,s="form_field")=>{const i=Me("display");return o(l=>({...l,summary:{...l.summary,sections:l.summary.sections.map(d=>d.section_id===a?{...d,display_fields:[...d.display_fields,{display_id:i,source:s,label:"",format:"text"}]}:d)}})),i},updateDisplayField:(a,s,i)=>o(l=>({...l,summary:{...l.summary,sections:l.summary.sections.map(d=>d.section_id===a?{...d,display_fields:d.display_fields.map(u=>u.display_id===s?{...u,...i}:u)}:d)}})),deleteDisplayField:(a,s)=>o(i=>({...i,summary:{...i.summary,sections:i.summary.sections.map(l=>l.section_id===a?{...l,display_fields:l.display_fields.filter(d=>d.display_id!==s)}:l)}})),updateInit:a=>o(s=>({...s,init:{...s.init,...a}})),importJourneySpec:a=>{var i;const s=a.form_config?za(a.form_config):$c(a);e({formConfig:s,theme:a.theme||{},activeStepId:((i=s.steps[0])==null?void 0:i.step_id)||null,selectedFieldId:null,_history:[],_future:[],isDirty:!1})},loadFormConfig:(a,s)=>{var i;e({formConfig:za(a),theme:s||{},activeStepId:((i=a.steps[0])==null?void 0:i.step_id)||null,selectedFieldId:null,_history:[],_future:[],isDirty:!1})},exportJourneySpec:a=>{const{formConfig:s,theme:i}=t(),l={journey_id:(a==null?void 0:a.journey_id)||`journey_${Date.now()}`,claimspec_id:(a==null?void 0:a.claimspec_id)||"",version:(a==null?void 0:a.version)||"2.0.0",form_config:s};return i&&Object.keys(i).length>0&&(l.theme=i),l},reset:()=>{e({formConfig:pi(),theme:{},activeStepId:null,selectedFieldId:null,_history:[],_future:[],isDirty:!1})}}});function za(e){var t,n,r,o,a;return{steps:(e.steps||[]).map(s=>{var i,l,d;return{step_id:s.step_id||Me("step"),title:s.title||"Step",description:s.description||"",rows:(s.rows&&s.rows.length>0?s.rows:[{row_id:Me("row"),layout:"horizontal",field_ids:[]}]).map(u=>({row_id:u.row_id||Me("row"),layout:u.layout||"horizontal",field_ids:u.field_ids||[]})),navigation:{api_call:(i=s.navigation)==null?void 0:i.api_call,button_label:(l=s.navigation)==null?void 0:l.button_label,rules:(d=s.navigation)!=null&&d.rules&&s.navigation.rules.length>0?s.navigation.rules.map(u=>({rule_id:u.rule_id||Me("rule"),condition:u.condition||null,next_step_id:u.next_step_id||"__submit__",priority:u.priority||0})):[{rule_id:Me("rule"),condition:null,next_step_id:"__submit__",priority:0}]}}}),fields:(e.fields||[]).map(s=>({...s,field_id:s.field_id||Me("field")})),summary:{title:((t=e.summary)==null?void 0:t.title)||"Summary",show_pricing:!!((n=e.summary)!=null&&n.show_pricing),sections:(((r=e.summary)==null?void 0:r.sections)||[]).map(s=>({section_id:s.section_id||Me("section"),title:s.title||"Section",visible_from_step:s.visible_from_step,until_step:s.until_step,display_fields:(s.display_fields||[]).map(i=>({...i,display_id:i.display_id||Me("display"),format:i.format||"text"}))}))},init:{values:((o=e.init)==null?void 0:o.values)||{},api:(a=e.init)==null?void 0:a.api}}}function yi(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Cn(...e){return t=>{let n=!1;const r=e.map(o=>{const a=yi(o,t);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let o=0;o<r.length;o++){const a=r[o];typeof a=="function"?a():yi(e[o],null)}}}}function he(...e){return _.useCallback(Cn(...e),e)}var ep=Symbol.for("react.lazy"),eo=_[" use ".trim().toString()];function tp(e){return typeof e=="object"&&e!==null&&"then"in e}function Lc(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===ep&&"_payload"in e&&tp(e._payload)}function vo(e){const t=rp(e),n=_.forwardRef((r,o)=>{let{children:a,...s}=r;Lc(a)&&typeof eo=="function"&&(a=eo(a._payload));const i=_.Children.toArray(a),l=i.find(ap);if(l){const d=l.props.children,u=i.map(f=>f===l?_.Children.count(d)>1?_.Children.only(null):_.isValidElement(d)?d.props.children:null:f);return c.jsx(t,{...s,ref:o,children:_.isValidElement(d)?_.cloneElement(d,void 0,u):null})}return c.jsx(t,{...s,ref:o,children:a})});return n.displayName=`${e}.Slot`,n}var np=vo("Slot");function rp(e){const t=_.forwardRef((n,r)=>{let{children:o,...a}=n;if(Lc(o)&&typeof eo=="function"&&(o=eo(o._payload)),_.isValidElement(o)){const s=ip(o),i=sp(a,o.props);return o.type!==_.Fragment&&(i.ref=r?Cn(r,s):s),_.cloneElement(o,i)}return _.Children.count(o)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var op=Symbol("radix.slottable");function ap(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===op}function sp(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...i)=>{const l=a(...i);return o(...i),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}function ip(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Bc(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Bc(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Hc(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Bc(e))&&(r&&(r+=" "),r+=t);return r}const vi=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,xi=Hc,xo=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return xi(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:a}=t,s=Object.keys(o).map(d=>{const u=n==null?void 0:n[d],f=a==null?void 0:a[d];if(u===null)return null;const m=vi(u)||vi(f);return o[d][m]}),i=n&&Object.entries(n).reduce((d,u)=>{let[f,m]=u;return m===void 0||(d[f]=m),d},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((d,u)=>{let{class:f,className:m,...p}=u;return Object.entries(p).every(g=>{let[h,j]=g;return Array.isArray(j)?j.includes({...a,...i}[h]):{...a,...i}[h]===j})?[...d,f,m]:d},[]);return xi(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)},cs="-",cp=e=>{const t=dp(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const i=s.split(cs);return i[0]===""&&i.length!==1&&i.shift(),Yc(i,t)||lp(s)},getConflictingClassGroupIds:(s,i)=>{const l=n[s]||[];return i&&r[s]?[...l,...r[s]]:l}}},Yc=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Yc(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const a=e.join(cs);return(s=t.validators.find(({validator:i})=>i(a)))==null?void 0:s.classGroupId},bi=/^\[(.+)\]$/,lp=e=>{if(bi.test(e)){const t=bi.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},dp=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return fp(Object.entries(e.classGroups),n).forEach(([a,s])=>{Ia(s,r,a,t)}),r},Ia=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const a=o===""?t:wi(t,o);a.classGroupId=n;return}if(typeof o=="function"){if(up(o)){Ia(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([a,s])=>{Ia(s,wi(t,a),n,r)})})},wi=(e,t)=>{let n=e;return t.split(cs).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},up=e=>e.isThemeGetter,fp=(e,t)=>t?e.map(([n,r])=>{const o=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([s,i])=>[t+s,i])):a);return[n,o]}):e,mp=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(a,s)=>{n.set(a,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(a){let s=n.get(a);if(s!==void 0)return s;if((s=r.get(a))!==void 0)return o(a,s),s},set(a,s){n.has(a)?n.set(a,s):o(a,s)}}},qc="!",pp=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],a=t.length,s=i=>{const l=[];let d=0,u=0,f;for(let j=0;j<i.length;j++){let x=i[j];if(d===0){if(x===o&&(r||i.slice(j,j+a)===t)){l.push(i.slice(u,j)),u=j+a;continue}if(x==="/"){f=j;continue}}x==="["?d++:x==="]"&&d--}const m=l.length===0?i:i.substring(u),p=m.startsWith(qc),g=p?m.substring(1):m,h=f&&f>u?f-u:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:g,maybePostfixModifierPosition:h}};return n?i=>n({className:i,parseClassName:s}):s},hp=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},_p=e=>({cache:mp(e.cacheSize),parseClassName:pp(e),...cp(e)}),gp=/\s+/,jp=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,a=[],s=e.trim().split(gp);let i="";for(let l=s.length-1;l>=0;l-=1){const d=s[l],{modifiers:u,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:p}=n(d);let g=!!p,h=r(g?m.substring(0,p):m);if(!h){if(!g){i=d+(i.length>0?" "+i:i);continue}if(h=r(m),!h){i=d+(i.length>0?" "+i:i);continue}g=!1}const j=hp(u).join(":"),x=f?j+qc:j,v=x+h;if(a.includes(v))continue;a.push(v);const b=o(h,g);for(let N=0;N<b.length;++N){const C=b[N];a.push(x+C)}i=d+(i.length>0?" "+i:i)}return i};function yp(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Vc(t))&&(r&&(r+=" "),r+=n);return r}const Vc=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Vc(e[r]))&&(n&&(n+=" "),n+=t);return n};function Si(e,...t){let n,r,o,a=s;function s(l){const d=t.reduce((u,f)=>f(u),e());return n=_p(d),r=n.cache.get,o=n.cache.set,a=i,i(l)}function i(l){const d=r(l);if(d)return d;const u=jp(l,n);return o(l,u),u}return function(){return a(yp.apply(null,arguments))}}const Ne=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Gc=/^\[(?:([a-z-]+):)?(.+)\]$/i,vp=/^\d+\/\d+$/,xp=new Set(["px","full","screen"]),bp=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,wp=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Sp=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Np=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Cp=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Wt=e=>$n(e)||xp.has(e)||vp.test(e),Jt=e=>Kn(e,"length",Op),$n=e=>!!e&&!Number.isNaN(Number(e)),la=e=>Kn(e,"number",$n),sr=e=>!!e&&Number.isInteger(Number(e)),kp=e=>e.endsWith("%")&&$n(e.slice(0,-1)),de=e=>Gc.test(e),Qt=e=>bp.test(e),Pp=new Set(["length","size","percentage"]),Ep=e=>Kn(e,Pp,Uc),Mp=e=>Kn(e,"position",Uc),Dp=new Set(["image","url"]),Tp=e=>Kn(e,Dp,zp),Rp=e=>Kn(e,"",Ap),ir=()=>!0,Kn=(e,t,n)=>{const r=Gc.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Op=e=>wp.test(e)&&!Sp.test(e),Uc=()=>!1,Ap=e=>Np.test(e),zp=e=>Cp.test(e),Ni=()=>{const e=Ne("colors"),t=Ne("spacing"),n=Ne("blur"),r=Ne("brightness"),o=Ne("borderColor"),a=Ne("borderRadius"),s=Ne("borderSpacing"),i=Ne("borderWidth"),l=Ne("contrast"),d=Ne("grayscale"),u=Ne("hueRotate"),f=Ne("invert"),m=Ne("gap"),p=Ne("gradientColorStops"),g=Ne("gradientColorStopPositions"),h=Ne("inset"),j=Ne("margin"),x=Ne("opacity"),v=Ne("padding"),b=Ne("saturate"),N=Ne("scale"),C=Ne("sepia"),w=Ne("skew"),S=Ne("space"),k=Ne("translate"),P=()=>["auto","contain","none"],M=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto",de,t],T=()=>[de,t],V=()=>["",Wt,Jt],A=()=>["auto",$n,de],q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],J=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],G=()=>["start","end","center","between","around","evenly","stretch"],I=()=>["","0",de],re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],le=()=>[$n,de];return{cacheSize:500,separator:":",theme:{colors:[ir],spacing:[Wt,Jt],blur:["none","",Qt,de],brightness:le(),borderColor:[e],borderRadius:["none","","full",Qt,de],borderSpacing:T(),borderWidth:V(),contrast:le(),grayscale:I(),hueRotate:le(),invert:I(),gap:T(),gradientColorStops:[e],gradientColorStopPositions:[kp,Jt],inset:D(),margin:D(),opacity:le(),padding:T(),saturate:le(),scale:le(),sepia:I(),skew:le(),space:T(),translate:T()},classGroups:{aspect:[{aspect:["auto","square","video",de]}],container:["container"],columns:[{columns:[Qt]}],"break-after":[{"break-after":re()}],"break-before":[{"break-before":re()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...q(),de]}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",sr,de]}],basis:[{basis:D()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",de]}],grow:[{grow:I()}],shrink:[{shrink:I()}],order:[{order:["first","last","none",sr,de]}],"grid-cols":[{"grid-cols":[ir]}],"col-start-end":[{col:["auto",{span:["full",sr,de]},de]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[ir]}],"row-start-end":[{row:["auto",{span:[sr,de]},de]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",de]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",de]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...G()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...G(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...G(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[j]}],mx:[{mx:[j]}],my:[{my:[j]}],ms:[{ms:[j]}],me:[{me:[j]}],mt:[{mt:[j]}],mr:[{mr:[j]}],mb:[{mb:[j]}],ml:[{ml:[j]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",de,t]}],"min-w":[{"min-w":[de,t,"min","max","fit"]}],"max-w":[{"max-w":[de,t,"none","full","min","max","fit","prose",{screen:[Qt]},Qt]}],h:[{h:[de,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[de,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[de,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[de,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Qt,Jt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",la]}],"font-family":[{font:[ir]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",de]}],"line-clamp":[{"line-clamp":["none",$n,la]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Wt,de]}],"list-image":[{"list-image":["none",de]}],"list-style-type":[{list:["none","disc","decimal",de]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Wt,Jt]}],"underline-offset":[{"underline-offset":["auto",Wt,de]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",de]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",de]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...q(),Mp]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ep]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Tp]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:F()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...F()]}],"outline-offset":[{"outline-offset":[Wt,de]}],"outline-w":[{outline:[Wt,Jt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[Wt,Jt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Qt,Rp]}],"shadow-color":[{shadow:[ir]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...J(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":J()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Qt,de]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[f]}],saturate:[{saturate:[b]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",de]}],duration:[{duration:le()}],ease:[{ease:["linear","in","out","in-out",de]}],delay:[{delay:le()}],animate:[{animate:["none","spin","ping","pulse","bounce",de]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[sr,de]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[w]}],"skew-y":[{"skew-y":[w]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",de]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",de]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",de]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Wt,Jt,la]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Ip=(e,{cacheSize:t,prefix:n,separator:r,experimentalParseClassName:o,extend:a={},override:s={}})=>{dr(e,"cacheSize",t),dr(e,"prefix",n),dr(e,"separator",r),dr(e,"experimentalParseClassName",o);for(const i in s)Wp(e[i],s[i]);for(const i in a)Fp(e[i],a[i]);return e},dr=(e,t,n)=>{n!==void 0&&(e[t]=n)},Wp=(e,t)=>{if(t)for(const n in t)dr(e,n,t[n])},Fp=(e,t)=>{if(t)for(const n in t){const r=t[n];r!==void 0&&(e[n]=(e[n]||[]).concat(r))}},$p=(e,...t)=>typeof e=="function"?Si(Ni,e,...t):Si(()=>Ip(Ni(),e),...t),Lp=$p({prefix:"cj-"});function ie(...e){return Lp(Hc(e))}const Bp=xo("cj-inline-flex cj-items-center cj-justify-center cj-gap-2 cj-whitespace-nowrap cj-rounded-md cj-text-sm cj-font-medium cj-ring-offset-background cj-transition-colors focus-visible:cj-outline-none focus-visible:cj-ring-2 focus-visible:cj-ring-ring focus-visible:cj-ring-offset-2 disabled:cj-pointer-events-none disabled:cj-opacity-50 [&_svg]:cj-pointer-events-none [&_svg]:cj-size-4 [&_svg]:cj-shrink-0",{variants:{variant:{default:"cj-bg-primary cj-text-primary-foreground hover:cj-bg-primary/90",destructive:"cj-bg-destructive cj-text-destructive-foreground hover:cj-bg-destructive/90",outline:"cj-border cj-border-input cj-bg-background hover:cj-bg-accent hover:cj-text-accent-foreground",secondary:"cj-bg-secondary cj-text-secondary-foreground hover:cj-bg-secondary/80",ghost:"hover:cj-bg-accent hover:cj-text-accent-foreground",link:"cj-text-primary cj-underline-offset-4 hover:cj-underline"},size:{default:"cj-h-12 cj-px-4 cj-py-2",sm:"cj-h-10 cj-rounded-md cj-px-3",lg:"cj-h-14 cj-rounded-md cj-px-8",icon:"cj-h-12 cj-w-12"}},defaultVariants:{variant:"default",size:"default"}}),ne=_.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},a)=>{const s=r?np:"button";return c.jsx(s,{className:ie(Bp({variant:t,size:n,className:e})),ref:a,...o})});ne.displayName="Button";const Hp=xo("cj-inline-flex cj-items-center cj-rounded-full cj-border cj-px-2.5 cj-py-0.5 cj-text-xs cj-font-semibold cj-transition-colors focus:cj-outline-none focus:cj-ring-2 focus:cj-ring-ring focus:cj-ring-offset-2",{variants:{variant:{default:"cj-border-transparent cj-bg-primary cj-text-primary-foreground hover:cj-bg-primary/80",secondary:"cj-border-transparent cj-bg-secondary cj-text-secondary-foreground hover:cj-bg-secondary/80",destructive:"cj-border-transparent cj-bg-destructive cj-text-destructive-foreground hover:cj-bg-destructive/80",outline:"cj-text-foreground"}},defaultVariants:{variant:"default"}});function jt({className:e,variant:t,...n}){return c.jsx("div",{className:ie(Hp({variant:t}),e),...n})}function oe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Yp(e,t){const n=_.createContext(t),r=a=>{const{children:s,...i}=a,l=_.useMemo(()=>i,Object.values(i));return c.jsx(n.Provider,{value:l,children:s})};r.displayName=e+"Provider";function o(a){const s=_.useContext(n);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[r,o]}function dt(e,t=[]){let n=[];function r(a,s){const i=_.createContext(s),l=n.length;n=[...n,s];const d=f=>{var x;const{scope:m,children:p,...g}=f,h=((x=m==null?void 0:m[e])==null?void 0:x[l])||i,j=_.useMemo(()=>g,Object.values(g));return c.jsx(h.Provider,{value:j,children:p})};d.displayName=a+"Provider";function u(f,m){var h;const p=((h=m==null?void 0:m[e])==null?void 0:h[l])||i,g=_.useContext(p);if(g)return g;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${a}\``)}return[d,u]}const o=()=>{const a=n.map(s=>_.createContext(s));return function(i){const l=(i==null?void 0:i[e])||a;return _.useMemo(()=>({[`__scope${e}`]:{...i,[e]:l}}),[i,l])}};return o.scopeName=e,[r,qp(o,...t)]}function qp(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const s=r.reduce((i,{useScope:l,scopeName:d})=>{const f=l(a)[`__scope${d}`];return{...i,...f}},{});return _.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Ci(e){const t=Vp(e),n=_.forwardRef((r,o)=>{const{children:a,...s}=r,i=_.Children.toArray(a),l=i.find(Up);if(l){const d=l.props.children,u=i.map(f=>f===l?_.Children.count(d)>1?_.Children.only(null):_.isValidElement(d)?d.props.children:null:f);return c.jsx(t,{...s,ref:o,children:_.isValidElement(d)?_.cloneElement(d,void 0,u):null})}return c.jsx(t,{...s,ref:o,children:a})});return n.displayName=`${e}.Slot`,n}function Vp(e){const t=_.forwardRef((n,r)=>{const{children:o,...a}=n;if(_.isValidElement(o)){const s=Kp(o),i=Xp(a,o.props);return o.type!==_.Fragment&&(i.ref=r?Cn(r,s):s),_.cloneElement(o,i)}return _.Children.count(o)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Gp=Symbol("radix.slottable");function Up(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Gp}function Xp(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...i)=>{const l=a(...i);return o(...i),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}function Kp(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Xc(e){const t=e+"CollectionProvider",[n,r]=dt(t),[o,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=h=>{const{scope:j,children:x}=h,v=y.useRef(null),b=y.useRef(new Map).current;return c.jsx(o,{scope:j,itemMap:b,collectionRef:v,children:x})};s.displayName=t;const i=e+"CollectionSlot",l=Ci(i),d=y.forwardRef((h,j)=>{const{scope:x,children:v}=h,b=a(i,x),N=he(j,b.collectionRef);return c.jsx(l,{ref:N,children:v})});d.displayName=i;const u=e+"CollectionItemSlot",f="data-radix-collection-item",m=Ci(u),p=y.forwardRef((h,j)=>{const{scope:x,children:v,...b}=h,N=y.useRef(null),C=he(j,N),w=a(u,x);return y.useEffect(()=>(w.itemMap.set(N,{ref:N,...b}),()=>void w.itemMap.delete(N))),c.jsx(m,{[f]:"",ref:C,children:v})});p.displayName=u;function g(h){const j=a(e+"CollectionConsumer",h);return y.useCallback(()=>{const v=j.collectionRef.current;if(!v)return[];const b=Array.from(v.querySelectorAll(`[${f}]`));return Array.from(j.itemMap.values()).sort((w,S)=>b.indexOf(w.ref.current)-b.indexOf(S.ref.current))},[j.collectionRef,j.itemMap])}return[{Provider:s,Slot:d,ItemSlot:p},g,r]}var He=globalThis!=null&&globalThis.document?_.useLayoutEffect:()=>{},Jp=_[" useId ".trim().toString()]||(()=>{}),Qp=0;function Dt(e){const[t,n]=_.useState(Jp());return He(()=>{n(r=>r??String(Qp++))},[e]),t?`radix-${t}`:""}function Zp(e){const t=eh(e),n=_.forwardRef((r,o)=>{const{children:a,...s}=r,i=_.Children.toArray(a),l=i.find(nh);if(l){const d=l.props.children,u=i.map(f=>f===l?_.Children.count(d)>1?_.Children.only(null):_.isValidElement(d)?d.props.children:null:f);return c.jsx(t,{...s,ref:o,children:_.isValidElement(d)?_.cloneElement(d,void 0,u):null})}return c.jsx(t,{...s,ref:o,children:a})});return n.displayName=`${e}.Slot`,n}function eh(e){const t=_.forwardRef((n,r)=>{const{children:o,...a}=n;if(_.isValidElement(o)){const s=oh(o),i=rh(a,o.props);return o.type!==_.Fragment&&(i.ref=r?Cn(r,s):s),_.cloneElement(o,i)}return _.Children.count(o)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var th=Symbol("radix.slottable");function nh(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===th}function rh(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...i)=>{const l=a(...i);return o(...i),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}function oh(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ah=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ae=ah.reduce((e,t)=>{const n=Zp(`Primitive.${t}`),r=_.forwardRef((o,a)=>{const{asChild:s,...i}=o,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...i,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function sh(e,t){e&&yo.flushSync(()=>e.dispatchEvent(t))}function Ue(e){const t=_.useRef(e);return _.useEffect(()=>{t.current=e}),_.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}var ih=_[" useInsertionEffect ".trim().toString()]||He;function Ht({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,a,s]=ch({defaultProp:t,onChange:n}),i=e!==void 0,l=i?e:o;{const u=_.useRef(e!==void 0);_.useEffect(()=>{const f=u.current;f!==i&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=i},[i,r])}const d=_.useCallback(u=>{var f;if(i){const m=lh(u)?u(e):u;m!==e&&((f=s.current)==null||f.call(s,m))}else a(u)},[i,e,a,s]);return[l,d]}function ch({defaultProp:e,onChange:t}){const[n,r]=_.useState(e),o=_.useRef(n),a=_.useRef(t);return ih(()=>{a.current=t},[t]),_.useEffect(()=>{var s;o.current!==n&&((s=a.current)==null||s.call(a,n),o.current=n)},[n,o]),[n,r,a]}function lh(e){return typeof e=="function"}var dh=_.createContext(void 0);function Nr(e){const t=_.useContext(dh);return e||t||"ltr"}var da="rovingFocusGroup.onEntryFocus",uh={bubbles:!1,cancelable:!0},Cr="RovingFocusGroup",[Wa,Kc,fh]=Xc(Cr),[mh,bo]=dt(Cr,[fh]),[ph,hh]=mh(Cr),Jc=_.forwardRef((e,t)=>c.jsx(Wa.Provider,{scope:e.__scopeRovingFocusGroup,children:c.jsx(Wa.Slot,{scope:e.__scopeRovingFocusGroup,children:c.jsx(_h,{...e,ref:t})})}));Jc.displayName=Cr;var _h=_.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:a,currentTabStopId:s,defaultCurrentTabStopId:i,onCurrentTabStopIdChange:l,onEntryFocus:d,preventScrollOnEntryFocus:u=!1,...f}=e,m=_.useRef(null),p=he(t,m),g=Nr(a),[h,j]=Ht({prop:s,defaultProp:i??null,onChange:l,caller:Cr}),[x,v]=_.useState(!1),b=Ue(d),N=Kc(n),C=_.useRef(!1),[w,S]=_.useState(0);return _.useEffect(()=>{const k=m.current;if(k)return k.addEventListener(da,b),()=>k.removeEventListener(da,b)},[b]),c.jsx(ph,{scope:n,orientation:r,dir:g,loop:o,currentTabStopId:h,onItemFocus:_.useCallback(k=>j(k),[j]),onItemShiftTab:_.useCallback(()=>v(!0),[]),onFocusableItemAdd:_.useCallback(()=>S(k=>k+1),[]),onFocusableItemRemove:_.useCallback(()=>S(k=>k-1),[]),children:c.jsx(ae.div,{tabIndex:x||w===0?-1:0,"data-orientation":r,...f,ref:p,style:{outline:"none",...e.style},onMouseDown:oe(e.onMouseDown,()=>{C.current=!0}),onFocus:oe(e.onFocus,k=>{const P=!C.current;if(k.target===k.currentTarget&&P&&!x){const M=new CustomEvent(da,uh);if(k.currentTarget.dispatchEvent(M),!M.defaultPrevented){const D=N().filter(F=>F.focusable),T=D.find(F=>F.active),V=D.find(F=>F.id===h),q=[T,V,...D].filter(Boolean).map(F=>F.ref.current);el(q,u)}}C.current=!1}),onBlur:oe(e.onBlur,()=>v(!1))})})}),Qc="RovingFocusGroupItem",Zc=_.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:a,children:s,...i}=e,l=Dt(),d=a||l,u=hh(Qc,n),f=u.currentTabStopId===d,m=Kc(n),{onFocusableItemAdd:p,onFocusableItemRemove:g,currentTabStopId:h}=u;return _.useEffect(()=>{if(r)return p(),()=>g()},[r,p,g]),c.jsx(Wa.ItemSlot,{scope:n,id:d,focusable:r,active:o,children:c.jsx(ae.span,{tabIndex:f?0:-1,"data-orientation":u.orientation,...i,ref:t,onMouseDown:oe(e.onMouseDown,j=>{r?u.onItemFocus(d):j.preventDefault()}),onFocus:oe(e.onFocus,()=>u.onItemFocus(d)),onKeyDown:oe(e.onKeyDown,j=>{if(j.key==="Tab"&&j.shiftKey){u.onItemShiftTab();return}if(j.target!==j.currentTarget)return;const x=yh(j,u.orientation,u.dir);if(x!==void 0){if(j.metaKey||j.ctrlKey||j.altKey||j.shiftKey)return;j.preventDefault();let b=m().filter(N=>N.focusable).map(N=>N.ref.current);if(x==="last")b.reverse();else if(x==="prev"||x==="next"){x==="prev"&&b.reverse();const N=b.indexOf(j.currentTarget);b=u.loop?vh(b,N+1):b.slice(N+1)}setTimeout(()=>el(b))}}),children:typeof s=="function"?s({isCurrentTabStop:f,hasTabStop:h!=null}):s})})});Zc.displayName=Qc;var gh={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function jh(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function yh(e,t,n){const r=jh(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return gh[r]}function el(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function vh(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var tl=Jc,nl=Zc;function xh(e,t){return _.useReducer((n,r)=>t[n][r]??n,e)}var st=e=>{const{present:t,children:n}=e,r=bh(t),o=typeof n=="function"?n({present:r.isPresent}):_.Children.only(n),a=he(r.ref,wh(o));return typeof n=="function"||r.isPresent?_.cloneElement(o,{ref:a}):null};st.displayName="Presence";function bh(e){const[t,n]=_.useState(),r=_.useRef(null),o=_.useRef(e),a=_.useRef("none"),s=e?"mounted":"unmounted",[i,l]=xh(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return _.useEffect(()=>{const d=zr(r.current);a.current=i==="mounted"?d:"none"},[i]),He(()=>{const d=r.current,u=o.current;if(u!==e){const m=a.current,p=zr(d);e?l("MOUNT"):p==="none"||(d==null?void 0:d.display)==="none"?l("UNMOUNT"):l(u&&m!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),He(()=>{if(t){let d;const u=t.ownerDocument.defaultView??window,f=p=>{const h=zr(r.current).includes(CSS.escape(p.animationName));if(p.target===t&&h&&(l("ANIMATION_END"),!o.current)){const j=t.style.animationFillMode;t.style.animationFillMode="forwards",d=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=j)})}},m=p=>{p.target===t&&(a.current=zr(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{u.clearTimeout(d),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:_.useCallback(d=>{r.current=d?getComputedStyle(d):null,n(d)},[])}}function zr(e){return(e==null?void 0:e.animationName)||"none"}function wh(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var wo="Tabs",[Sh]=dt(wo,[bo]),rl=bo(),[Nh,ls]=Sh(wo),ol=_.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:a,orientation:s="horizontal",dir:i,activationMode:l="automatic",...d}=e,u=Nr(i),[f,m]=Ht({prop:r,onChange:o,defaultProp:a??"",caller:wo});return c.jsx(Nh,{scope:n,baseId:Dt(),value:f,onValueChange:m,orientation:s,dir:u,activationMode:l,children:c.jsx(ae.div,{dir:u,"data-orientation":s,...d,ref:t})})});ol.displayName=wo;var al="TabsList",sl=_.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,a=ls(al,n),s=rl(n);return c.jsx(tl,{asChild:!0,...s,orientation:a.orientation,dir:a.dir,loop:r,children:c.jsx(ae.div,{role:"tablist","aria-orientation":a.orientation,...o,ref:t})})});sl.displayName=al;var il="TabsTrigger",cl=_.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...a}=e,s=ls(il,n),i=rl(n),l=ul(s.baseId,r),d=fl(s.baseId,r),u=r===s.value;return c.jsx(nl,{asChild:!0,...i,focusable:!o,active:u,children:c.jsx(ae.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":d,"data-state":u?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l,...a,ref:t,onMouseDown:oe(e.onMouseDown,f=>{!o&&f.button===0&&f.ctrlKey===!1?s.onValueChange(r):f.preventDefault()}),onKeyDown:oe(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&s.onValueChange(r)}),onFocus:oe(e.onFocus,()=>{const f=s.activationMode!=="manual";!u&&!o&&f&&s.onValueChange(r)})})})});cl.displayName=il;var ll="TabsContent",dl=_.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:a,...s}=e,i=ls(ll,n),l=ul(i.baseId,r),d=fl(i.baseId,r),u=r===i.value,f=_.useRef(u);return _.useEffect(()=>{const m=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(m)},[]),c.jsx(st,{present:o||u,children:({present:m})=>c.jsx(ae.div,{"data-state":u?"active":"inactive","data-orientation":i.orientation,role:"tabpanel","aria-labelledby":l,hidden:!m,id:d,tabIndex:0,...s,ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0},children:m&&a})})});dl.displayName=ll;function ul(e,t){return`${e}-trigger-${t}`}function fl(e,t){return`${e}-content-${t}`}var Ch=ol,ml=sl,pl=cl,hl=dl;const kh=Ch,_l=_.forwardRef(({className:e,...t},n)=>c.jsx(ml,{ref:n,className:ie("cj-inline-flex cj-h-10 cj-items-center cj-justify-center cj-rounded-md cj-bg-muted cj-p-1 cj-text-muted-foreground",e),...t}));_l.displayName=ml.displayName;const ur=_.forwardRef(({className:e,...t},n)=>c.jsx(pl,{ref:n,className:ie("cj-inline-flex cj-items-center cj-justify-center cj-whitespace-nowrap cj-rounded-sm cj-px-3 cj-py-1.5 cj-text-sm cj-font-medium cj-ring-offset-background cj-transition-all data-[state=active]:cj-bg-background data-[state=active]:cj-text-foreground data-[state=active]:cj-shadow-sm focus-visible:cj-outline-none focus-visible:cj-ring-2 focus-visible:cj-ring-ring focus-visible:cj-ring-offset-2 disabled:cj-pointer-events-none disabled:cj-opacity-50",e),...t}));ur.displayName=pl.displayName;const Ph=_.forwardRef(({className:e,...t},n)=>c.jsx(hl,{ref:n,className:ie("cj-mt-2 cj-ring-offset-background focus-visible:cj-outline-none focus-visible:cj-ring-2 focus-visible:cj-ring-ring focus-visible:cj-ring-offset-2",e),...t}));Ph.displayName=hl.displayName;/**
|
|
3
3
|
* @license lucide-react v0.462.0 - ISC
|
|
4
4
|
*
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
*
|
|
215
215
|
* This source code is licensed under the ISC license.
|
|
216
216
|
* See the LICENSE file in the root directory of this source tree.
|
|
217
|
-
*/const Nl=pe("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),So=y.createContext(null);So.displayName="PanelGroupContext";const Ae={group:"data-panel-group",groupDirection:"data-panel-group-direction",groupId:"data-panel-group-id",panel:"data-panel",panelCollapsible:"data-panel-collapsible",panelId:"data-panel-id",panelSize:"data-panel-size",resizeHandle:"data-resize-handle",resizeHandleActive:"data-resize-handle-active",resizeHandleEnabled:"data-panel-resize-handle-enabled",resizeHandleId:"data-panel-resize-handle-id",resizeHandleState:"data-resize-handle-state"},fs=10,jn=y.useLayoutEffect,ki=_.useId,t_=typeof ki=="function"?ki:()=>null;let n_=0;function ms(e=null){const t=t_(),n=y.useRef(e||t||null);return n.current===null&&(n.current=""+n_++),e??n.current}function Cl({children:e,className:t="",collapsedSize:n,collapsible:r,defaultSize:o,forwardedRef:a,id:s,maxSize:i,minSize:l,onCollapse:d,onExpand:u,onResize:f,order:m,style:p,tagName:g="div",...h}){const j=y.useContext(So);if(j===null)throw Error("Panel components must be rendered within a PanelGroup container");const{collapsePanel:x,expandPanel:v,getPanelSize:b,getPanelStyle:N,groupId:C,isPanelCollapsed:w,reevaluatePanelConstraints:S,registerPanel:k,resizePanel:P,unregisterPanel:M}=j,D=ms(s),T=y.useRef({callbacks:{onCollapse:d,onExpand:u,onResize:f},constraints:{collapsedSize:n,collapsible:r,defaultSize:o,maxSize:i,minSize:l},id:D,idIsFromProps:s!==void 0,order:m});y.useRef({didLogMissingDefaultSizeWarning:!1}),jn(()=>{const{callbacks:A,constraints:q}=T.current,F={...q};T.current.id=D,T.current.idIsFromProps=s!==void 0,T.current.order=m,A.onCollapse=d,A.onExpand=u,A.onResize=f,q.collapsedSize=n,q.collapsible=r,q.defaultSize=o,q.maxSize=i,q.minSize=l,(F.collapsedSize!==q.collapsedSize||F.collapsible!==q.collapsible||F.maxSize!==q.maxSize||F.minSize!==q.minSize)&&S(T.current,F)}),jn(()=>{const A=T.current;return k(A),()=>{M(A)}},[m,D,k,M]),y.useImperativeHandle(a,()=>({collapse:()=>{x(T.current)},expand:A=>{v(T.current,A)},getId(){return D},getSize(){return b(T.current)},isCollapsed(){return w(T.current)},isExpanded(){return!w(T.current)},resize:A=>{P(T.current,A)}}),[x,v,b,w,D,P]);const V=N(T.current,o);return y.createElement(g,{...h,children:e,className:t,id:D,style:{...V,...p},[Ae.groupId]:C,[Ae.panel]:"",[Ae.panelCollapsible]:r||void 0,[Ae.panelId]:D,[Ae.panelSize]:parseFloat(""+V.flexGrow).toFixed(1)})}const kl=y.forwardRef((e,t)=>y.createElement(Cl,{...e,forwardedRef:t}));Cl.displayName="Panel";kl.displayName="forwardRef(Panel)";let Fa=null,Xr=-1,nn=null;function r_(e,t){if(t){const n=(t&Tl)!==0,r=(t&Rl)!==0,o=(t&Ol)!==0,a=(t&Al)!==0;if(n)return o?"se-resize":a?"ne-resize":"e-resize";if(r)return o?"sw-resize":a?"nw-resize":"w-resize";if(o)return"s-resize";if(a)return"n-resize"}switch(e){case"horizontal":return"ew-resize";case"intersection":return"move";case"vertical":return"ns-resize"}}function o_(){nn!==null&&(document.head.removeChild(nn),Fa=null,nn=null,Xr=-1)}function fa(e,t){var n,r;const o=r_(e,t);if(Fa!==o){if(Fa=o,nn===null&&(nn=document.createElement("style"),document.head.appendChild(nn)),Xr>=0){var a;(a=nn.sheet)===null||a===void 0||a.removeRule(Xr)}Xr=(n=(r=nn.sheet)===null||r===void 0?void 0:r.insertRule(`*{cursor: ${o} !important;}`))!==null&&n!==void 0?n:-1}}function Pl(e){return e.type==="keydown"}function El(e){return e.type.startsWith("pointer")}function Ml(e){return e.type.startsWith("mouse")}function No(e){if(El(e)){if(e.isPrimary)return{x:e.clientX,y:e.clientY}}else if(Ml(e))return{x:e.clientX,y:e.clientY};return{x:1/0,y:1/0}}function a_(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}function s_(e,t,n){return e.x<t.x+t.width&&e.x+e.width>t.x&&e.y<t.y+t.height&&e.y+e.height>t.y}function i_(e,t){if(e===t)throw new Error("Cannot compare node with itself");const n={a:Mi(e),b:Mi(t)};let r;for(;n.a.at(-1)===n.b.at(-1);)e=n.a.pop(),t=n.b.pop(),r=e;fe(r,"Stacking order can only be calculated for elements with a common ancestor");const o={a:Ei(Pi(n.a)),b:Ei(Pi(n.b))};if(o.a===o.b){const a=r.childNodes,s={a:n.a.at(-1),b:n.b.at(-1)};let i=a.length;for(;i--;){const l=a[i];if(l===s.a)return 1;if(l===s.b)return-1}}return Math.sign(o.a-o.b)}const c_=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function l_(e){var t;const n=getComputedStyle((t=Dl(e))!==null&&t!==void 0?t:e).display;return n==="flex"||n==="inline-flex"}function d_(e){const t=getComputedStyle(e);return!!(t.position==="fixed"||t.zIndex!=="auto"&&(t.position!=="static"||l_(e))||+t.opacity<1||"transform"in t&&t.transform!=="none"||"webkitTransform"in t&&t.webkitTransform!=="none"||"mixBlendMode"in t&&t.mixBlendMode!=="normal"||"filter"in t&&t.filter!=="none"||"webkitFilter"in t&&t.webkitFilter!=="none"||"isolation"in t&&t.isolation==="isolate"||c_.test(t.willChange)||t.webkitOverflowScrolling==="touch")}function Pi(e){let t=e.length;for(;t--;){const n=e[t];if(fe(n,"Missing node"),d_(n))return n}return null}function Ei(e){return e&&Number(getComputedStyle(e).zIndex)||0}function Mi(e){const t=[];for(;e;)t.push(e),e=Dl(e);return t}function Dl(e){const{parentNode:t}=e;return t&&t instanceof ShadowRoot?t.host:t}const Tl=1,Rl=2,Ol=4,Al=8,u_=a_()==="coarse";let yt=[],Ln=!1,_n=new Map,Co=new Map;const yr=new Set;function f_(e,t,n,r,o){var a;const{ownerDocument:s}=t,i={direction:n,element:t,hitAreaMargins:r,setResizeHandlerState:o},l=(a=_n.get(s))!==null&&a!==void 0?a:0;return _n.set(s,l+1),yr.add(i),no(),function(){var u;Co.delete(e),yr.delete(i);const f=(u=_n.get(s))!==null&&u!==void 0?u:1;if(_n.set(s,f-1),no(),f===1&&_n.delete(s),yt.includes(i)){const m=yt.indexOf(i);m>=0&&yt.splice(m,1),hs(),o("up",!0,null)}}}function m_(e){const{target:t}=e,{x:n,y:r}=No(e);Ln=!0,ps({target:t,x:n,y:r}),no(),yt.length>0&&(ro("down",e),e.preventDefault(),zl(t)||e.stopImmediatePropagation())}function ma(e){const{x:t,y:n}=No(e);if(Ln&&e.buttons===0&&(Ln=!1,ro("up",e)),!Ln){const{target:r}=e;ps({target:r,x:t,y:n})}ro("move",e),hs(),yt.length>0&&e.preventDefault()}function pa(e){const{target:t}=e,{x:n,y:r}=No(e);Co.clear(),Ln=!1,yt.length>0&&(e.preventDefault(),zl(t)||e.stopImmediatePropagation()),ro("up",e),ps({target:t,x:n,y:r}),hs(),no()}function zl(e){let t=e;for(;t;){if(t.hasAttribute(Ae.resizeHandle))return!0;t=t.parentElement}return!1}function ps({target:e,x:t,y:n}){yt.splice(0);let r=null;(e instanceof HTMLElement||e instanceof SVGElement)&&(r=e),yr.forEach(o=>{const{element:a,hitAreaMargins:s}=o,i=a.getBoundingClientRect(),{bottom:l,left:d,right:u,top:f}=i,m=u_?s.coarse:s.fine;if(t>=d-m&&t<=u+m&&n>=f-m&&n<=l+m){if(r!==null&&document.contains(r)&&a!==r&&!a.contains(r)&&!r.contains(a)&&i_(r,a)>0){let g=r,h=!1;for(;g&&!g.contains(a);){if(s_(g.getBoundingClientRect(),i)){h=!0;break}g=g.parentElement}if(h)return}yt.push(o)}})}function ha(e,t){Co.set(e,t)}function hs(){let e=!1,t=!1;yt.forEach(r=>{const{direction:o}=r;o==="horizontal"?e=!0:t=!0});let n=0;Co.forEach(r=>{n|=r}),e&&t?fa("intersection",n):e?fa("horizontal",n):t?fa("vertical",n):o_()}let _a=new AbortController;function no(){_a.abort(),_a=new AbortController;const e={capture:!0,signal:_a.signal};yr.size&&(Ln?(yt.length>0&&_n.forEach((t,n)=>{const{body:r}=n;t>0&&(r.addEventListener("contextmenu",pa,e),r.addEventListener("pointerleave",ma,e),r.addEventListener("pointermove",ma,e))}),window.addEventListener("pointerup",pa,e),window.addEventListener("pointercancel",pa,e)):_n.forEach((t,n)=>{const{body:r}=n;t>0&&(r.addEventListener("pointerdown",m_,e),r.addEventListener("pointermove",ma,e))}))}function ro(e,t){yr.forEach(n=>{const{setResizeHandlerState:r}=n,o=yt.includes(n);r(e,o,t)})}function p_(){const[e,t]=y.useState(0);return y.useCallback(()=>t(n=>n+1),[])}function fe(e,t){if(!e)throw console.error(t),Error(t)}function yn(e,t,n=fs){return e.toFixed(n)===t.toFixed(n)?0:e>t?1:-1}function Ft(e,t,n=fs){return yn(e,t,n)===0}function tt(e,t,n){return yn(e,t,n)===0}function h_(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){const o=e[r],a=t[r];if(!tt(o,a,n))return!1}return!0}function Fn({panelConstraints:e,panelIndex:t,size:n}){const r=e[t];fe(r!=null,`Panel constraints not found for index ${t}`);let{collapsedSize:o=0,collapsible:a,maxSize:s=100,minSize:i=0}=r;if(yn(n,i)<0)if(a){const l=(o+i)/2;yn(n,l)<0?n=o:n=i}else n=i;return n=Math.min(s,n),n=parseFloat(n.toFixed(fs)),n}function fr({delta:e,initialLayout:t,panelConstraints:n,pivotIndices:r,prevLayout:o,trigger:a}){if(tt(e,0))return t;const s=[...t],[i,l]=r;fe(i!=null,"Invalid first pivot index"),fe(l!=null,"Invalid second pivot index");let d=0;if(a==="keyboard"){{const f=e<0?l:i,m=n[f];fe(m,`Panel constraints not found for index ${f}`);const{collapsedSize:p=0,collapsible:g,minSize:h=0}=m;if(g){const j=t[f];if(fe(j!=null,`Previous layout not found for panel index ${f}`),tt(j,p)){const x=h-j;yn(x,Math.abs(e))>0&&(e=e<0?0-x:x)}}}{const f=e<0?i:l,m=n[f];fe(m,`No panel constraints found for index ${f}`);const{collapsedSize:p=0,collapsible:g,minSize:h=0}=m;if(g){const j=t[f];if(fe(j!=null,`Previous layout not found for panel index ${f}`),tt(j,h)){const x=j-p;yn(x,Math.abs(e))>0&&(e=e<0?0-x:x)}}}}{const f=e<0?1:-1;let m=e<0?l:i,p=0;for(;;){const h=t[m];fe(h!=null,`Previous layout not found for panel index ${m}`);const x=Fn({panelConstraints:n,panelIndex:m,size:100})-h;if(p+=x,m+=f,m<0||m>=n.length)break}const g=Math.min(Math.abs(e),Math.abs(p));e=e<0?0-g:g}{let m=e<0?i:l;for(;m>=0&&m<n.length;){const p=Math.abs(e)-Math.abs(d),g=t[m];fe(g!=null,`Previous layout not found for panel index ${m}`);const h=g-p,j=Fn({panelConstraints:n,panelIndex:m,size:h});if(!tt(g,j)&&(d+=g-j,s[m]=j,d.toPrecision(3).localeCompare(Math.abs(e).toPrecision(3),void 0,{numeric:!0})>=0))break;e<0?m--:m++}}if(h_(o,s))return o;{const f=e<0?l:i,m=t[f];fe(m!=null,`Previous layout not found for panel index ${f}`);const p=m+d,g=Fn({panelConstraints:n,panelIndex:f,size:p});if(s[f]=g,!tt(g,p)){let h=p-g,x=e<0?l:i;for(;x>=0&&x<n.length;){const v=s[x];fe(v!=null,`Previous layout not found for panel index ${x}`);const b=v+h,N=Fn({panelConstraints:n,panelIndex:x,size:b});if(tt(v,N)||(h-=N-v,s[x]=N),tt(h,0))break;e>0?x--:x++}}}const u=s.reduce((f,m)=>m+f,0);return tt(u,100)?s:o}function __({layout:e,panelsArray:t,pivotIndices:n}){let r=0,o=100,a=0,s=0;const i=n[0];fe(i!=null,"No pivot index found"),t.forEach((f,m)=>{const{constraints:p}=f,{maxSize:g=100,minSize:h=0}=p;m===i?(r=h,o=g):(a+=h,s+=g)});const l=Math.min(o,100-a),d=Math.max(r,100-s),u=e[i];return{valueMax:l,valueMin:d,valueNow:u}}function vr(e,t=document){return Array.from(t.querySelectorAll(`[${Ae.resizeHandleId}][data-panel-group-id="${e}"]`))}function Il(e,t,n=document){const o=vr(e,n).findIndex(a=>a.getAttribute(Ae.resizeHandleId)===t);return o??null}function Wl(e,t,n){const r=Il(e,t,n);return r!=null?[r,r+1]:[-1,-1]}function Fl(e,t=document){var n;if(t instanceof HTMLElement&&(t==null||(n=t.dataset)===null||n===void 0?void 0:n.panelGroupId)==e)return t;const r=t.querySelector(`[data-panel-group][data-panel-group-id="${e}"]`);return r||null}function ko(e,t=document){const n=t.querySelector(`[${Ae.resizeHandleId}="${e}"]`);return n||null}function g_(e,t,n,r=document){var o,a,s,i;const l=ko(t,r),d=vr(e,r),u=l?d.indexOf(l):-1,f=(o=(a=n[u])===null||a===void 0?void 0:a.id)!==null&&o!==void 0?o:null,m=(s=(i=n[u+1])===null||i===void 0?void 0:i.id)!==null&&s!==void 0?s:null;return[f,m]}function j_({committedValuesRef:e,eagerValuesRef:t,groupId:n,layout:r,panelDataArray:o,panelGroupElement:a,setLayout:s}){y.useRef({didWarnAboutMissingResizeHandle:!1}),jn(()=>{if(!a)return;const i=vr(n,a);for(let l=0;l<o.length-1;l++){const{valueMax:d,valueMin:u,valueNow:f}=__({layout:r,panelsArray:o,pivotIndices:[l,l+1]}),m=i[l];if(m!=null){const p=o[l];fe(p,`No panel data found for index "${l}"`),m.setAttribute("aria-controls",p.id),m.setAttribute("aria-valuemax",""+Math.round(d)),m.setAttribute("aria-valuemin",""+Math.round(u)),m.setAttribute("aria-valuenow",f!=null?""+Math.round(f):"")}}return()=>{i.forEach((l,d)=>{l.removeAttribute("aria-controls"),l.removeAttribute("aria-valuemax"),l.removeAttribute("aria-valuemin"),l.removeAttribute("aria-valuenow")})}},[n,r,o,a]),y.useEffect(()=>{if(!a)return;const i=t.current;fe(i,"Eager values not found");const{panelDataArray:l}=i,d=Fl(n,a);fe(d!=null,`No group found for id "${n}"`);const u=vr(n,a);fe(u,`No resize handles found for group id "${n}"`);const f=u.map(m=>{const p=m.getAttribute(Ae.resizeHandleId);fe(p,"Resize handle element has no handle id attribute");const[g,h]=g_(n,p,l,a);if(g==null||h==null)return()=>{};const j=x=>{if(!x.defaultPrevented)switch(x.key){case"Enter":{x.preventDefault();const v=l.findIndex(b=>b.id===g);if(v>=0){const b=l[v];fe(b,`No panel data found for index ${v}`);const N=r[v],{collapsedSize:C=0,collapsible:w,minSize:S=0}=b.constraints;if(N!=null&&w){const k=fr({delta:tt(N,C)?S-C:C-N,initialLayout:r,panelConstraints:l.map(P=>P.constraints),pivotIndices:Wl(n,p,a),prevLayout:r,trigger:"keyboard"});r!==k&&s(k)}}break}}};return m.addEventListener("keydown",j),()=>{m.removeEventListener("keydown",j)}});return()=>{f.forEach(m=>m())}},[a,e,t,n,r,o,s])}function Di(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function $l(e,t){const n=e==="horizontal",{x:r,y:o}=No(t);return n?r:o}function y_(e,t,n,r,o){const a=n==="horizontal",s=ko(t,o);fe(s,`No resize handle element found for id "${t}"`);const i=s.getAttribute(Ae.groupId);fe(i,"Resize handle element has no group id attribute");let{initialCursorPosition:l}=r;const d=$l(n,e),u=Fl(i,o);fe(u,`No group element found for id "${i}"`);const f=u.getBoundingClientRect(),m=a?f.width:f.height;return(d-l)/m*100}function v_(e,t,n,r,o,a){if(Pl(e)){const s=n==="horizontal";let i=0;e.shiftKey?i=100:o!=null?i=o:i=10;let l=0;switch(e.key){case"ArrowDown":l=s?0:i;break;case"ArrowLeft":l=s?-i:0;break;case"ArrowRight":l=s?i:0;break;case"ArrowUp":l=s?0:-i;break;case"End":l=100;break;case"Home":l=-100;break}return l}else return r==null?0:y_(e,t,n,r,a)}function x_({panelDataArray:e}){const t=Array(e.length),n=e.map(a=>a.constraints);let r=0,o=100;for(let a=0;a<e.length;a++){const s=n[a];fe(s,`Panel constraints not found for index ${a}`);const{defaultSize:i}=s;i!=null&&(r++,t[a]=i,o-=i)}for(let a=0;a<e.length;a++){const s=n[a];fe(s,`Panel constraints not found for index ${a}`);const{defaultSize:i}=s;if(i!=null)continue;const l=e.length-r,d=o/l;r++,t[a]=d,o-=d}return t}function Mn(e,t,n){t.forEach((r,o)=>{const a=e[o];fe(a,`Panel data not found for index ${o}`);const{callbacks:s,constraints:i,id:l}=a,{collapsedSize:d=0,collapsible:u}=i,f=n[l];if(f==null||r!==f){n[l]=r;const{onCollapse:m,onExpand:p,onResize:g}=s;g&&g(r,f),u&&(m||p)&&(p&&(f==null||Ft(f,d))&&!Ft(r,d)&&p(),m&&(f==null||!Ft(f,d))&&Ft(r,d)&&m())}})}function Ir(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n])return!1;return!0}function b_({defaultSize:e,dragState:t,layout:n,panelData:r,panelIndex:o,precision:a=3}){const s=n[o];let i;return s==null?i=e!=null?e.toPrecision(a):"1":r.length===1?i="1":i=s.toPrecision(a),{flexBasis:0,flexGrow:i,flexShrink:1,overflow:"hidden",pointerEvents:t!==null?"none":void 0}}function w_(e,t=10){let n=null;return(...o)=>{n!==null&&clearTimeout(n),n=setTimeout(()=>{e(...o)},t)}}function Ti(e){try{if(typeof localStorage<"u")e.getItem=t=>localStorage.getItem(t),e.setItem=(t,n)=>{localStorage.setItem(t,n)};else throw new Error("localStorage not supported in this environment")}catch(t){console.error(t),e.getItem=()=>null,e.setItem=()=>{}}}function Ll(e){return`react-resizable-panels:${e}`}function Bl(e){return e.map(t=>{const{constraints:n,id:r,idIsFromProps:o,order:a}=t;return o?r:a?`${a}:${JSON.stringify(n)}`:JSON.stringify(n)}).sort((t,n)=>t.localeCompare(n)).join(",")}function Hl(e,t){try{const n=Ll(e),r=t.getItem(n);if(r){const o=JSON.parse(r);if(typeof o=="object"&&o!=null)return o}}catch{}return null}function S_(e,t,n){var r,o;const a=(r=Hl(e,n))!==null&&r!==void 0?r:{},s=Bl(t);return(o=a[s])!==null&&o!==void 0?o:null}function N_(e,t,n,r,o){var a;const s=Ll(e),i=Bl(t),l=(a=Hl(e,o))!==null&&a!==void 0?a:{};l[i]={expandToSizes:Object.fromEntries(n.entries()),layout:r};try{o.setItem(s,JSON.stringify(l))}catch(d){console.error(d)}}function Ri({layout:e,panelConstraints:t}){const n=[...e],r=n.reduce((a,s)=>a+s,0);if(n.length!==t.length)throw Error(`Invalid ${t.length} panel layout: ${n.map(a=>`${a}%`).join(", ")}`);if(!tt(r,100)&&n.length>0)for(let a=0;a<t.length;a++){const s=n[a];fe(s!=null,`No layout data found for index ${a}`);const i=100/r*s;n[a]=i}let o=0;for(let a=0;a<t.length;a++){const s=n[a];fe(s!=null,`No layout data found for index ${a}`);const i=Fn({panelConstraints:t,panelIndex:a,size:s});s!=i&&(o+=s-i,n[a]=i)}if(!tt(o,0))for(let a=0;a<t.length;a++){const s=n[a];fe(s!=null,`No layout data found for index ${a}`);const i=s+o,l=Fn({panelConstraints:t,panelIndex:a,size:i});if(s!==l&&(o-=l-s,n[a]=l,tt(o,0)))break}return n}const C_=100,mr={getItem:e=>(Ti(mr),mr.getItem(e)),setItem:(e,t)=>{Ti(mr),mr.setItem(e,t)}},Oi={};function Yl({autoSaveId:e=null,children:t,className:n="",direction:r,forwardedRef:o,id:a=null,onLayout:s=null,keyboardResizeBy:i=null,storage:l=mr,style:d,tagName:u="div",...f}){const m=ms(a),p=y.useRef(null),[g,h]=y.useState(null),[j,x]=y.useState([]),v=p_(),b=y.useRef({}),N=y.useRef(new Map),C=y.useRef(0),w=y.useRef({autoSaveId:e,direction:r,dragState:g,id:m,keyboardResizeBy:i,onLayout:s,storage:l}),S=y.useRef({layout:j,panelDataArray:[],panelDataArrayChanged:!1});y.useRef({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),y.useImperativeHandle(o,()=>({getId:()=>w.current.id,getLayout:()=>{const{layout:R}=S.current;return R},setLayout:R=>{const{onLayout:W}=w.current,{layout:H,panelDataArray:O}=S.current,E=Ri({layout:R,panelConstraints:O.map(z=>z.constraints)});Di(H,E)||(x(E),S.current.layout=E,W&&W(E),Mn(O,E,b.current))}}),[]),jn(()=>{w.current.autoSaveId=e,w.current.direction=r,w.current.dragState=g,w.current.id=m,w.current.onLayout=s,w.current.storage=l}),j_({committedValuesRef:w,eagerValuesRef:S,groupId:m,layout:j,panelDataArray:S.current.panelDataArray,setLayout:x,panelGroupElement:p.current}),y.useEffect(()=>{const{panelDataArray:R}=S.current;if(e){if(j.length===0||j.length!==R.length)return;let W=Oi[e];W==null&&(W=w_(N_,C_),Oi[e]=W);const H=[...R],O=new Map(N.current);W(e,H,O,j,l)}},[e,j,l]),y.useEffect(()=>{});const k=y.useCallback(R=>{const{onLayout:W}=w.current,{layout:H,panelDataArray:O}=S.current;if(R.constraints.collapsible){const E=O.map(Q=>Q.constraints),{collapsedSize:z=0,panelSize:B,pivotIndices:L}=mn(O,R,H);if(fe(B!=null,`Panel size not found for panel "${R.id}"`),!Ft(B,z)){N.current.set(R.id,B);const Z=In(O,R)===O.length-1?B-z:z-B,te=fr({delta:Z,initialLayout:H,panelConstraints:E,pivotIndices:L,prevLayout:H,trigger:"imperative-api"});Ir(H,te)||(x(te),S.current.layout=te,W&&W(te),Mn(O,te,b.current))}}},[]),P=y.useCallback((R,W)=>{const{onLayout:H}=w.current,{layout:O,panelDataArray:E}=S.current;if(R.constraints.collapsible){const z=E.map(_e=>_e.constraints),{collapsedSize:B=0,panelSize:L=0,minSize:Q=0,pivotIndices:Z}=mn(E,R,O),te=W??Q;if(Ft(L,B)){const _e=N.current.get(R.id),Ce=_e!=null&&_e>=te?_e:te,qe=In(E,R)===E.length-1?L-Ce:Ce-L,Oe=fr({delta:qe,initialLayout:O,panelConstraints:z,pivotIndices:Z,prevLayout:O,trigger:"imperative-api"});Ir(O,Oe)||(x(Oe),S.current.layout=Oe,H&&H(Oe),Mn(E,Oe,b.current))}}},[]),M=y.useCallback(R=>{const{layout:W,panelDataArray:H}=S.current,{panelSize:O}=mn(H,R,W);return fe(O!=null,`Panel size not found for panel "${R.id}"`),O},[]),D=y.useCallback((R,W)=>{const{panelDataArray:H}=S.current,O=In(H,R);return b_({defaultSize:W,dragState:g,layout:j,panelData:H,panelIndex:O})},[g,j]),T=y.useCallback(R=>{const{layout:W,panelDataArray:H}=S.current,{collapsedSize:O=0,collapsible:E,panelSize:z}=mn(H,R,W);return fe(z!=null,`Panel size not found for panel "${R.id}"`),E===!0&&Ft(z,O)},[]),V=y.useCallback(R=>{const{layout:W,panelDataArray:H}=S.current,{collapsedSize:O=0,collapsible:E,panelSize:z}=mn(H,R,W);return fe(z!=null,`Panel size not found for panel "${R.id}"`),!E||yn(z,O)>0},[]),A=y.useCallback(R=>{const{panelDataArray:W}=S.current;W.push(R),W.sort((H,O)=>{const E=H.order,z=O.order;return E==null&&z==null?0:E==null?-1:z==null?1:E-z}),S.current.panelDataArrayChanged=!0,v()},[v]);jn(()=>{if(S.current.panelDataArrayChanged){S.current.panelDataArrayChanged=!1;const{autoSaveId:R,onLayout:W,storage:H}=w.current,{layout:O,panelDataArray:E}=S.current;let z=null;if(R){const L=S_(R,E,H);L&&(N.current=new Map(Object.entries(L.expandToSizes)),z=L.layout)}z==null&&(z=x_({panelDataArray:E}));const B=Ri({layout:z,panelConstraints:E.map(L=>L.constraints)});Di(O,B)||(x(B),S.current.layout=B,W&&W(B),Mn(E,B,b.current))}}),jn(()=>{const R=S.current;return()=>{R.layout=[]}},[]);const q=y.useCallback(R=>{let W=!1;const H=p.current;return H&&window.getComputedStyle(H,null).getPropertyValue("direction")==="rtl"&&(W=!0),function(E){E.preventDefault();const z=p.current;if(!z)return()=>null;const{direction:B,dragState:L,id:Q,keyboardResizeBy:Z,onLayout:te}=w.current,{layout:_e,panelDataArray:Ce}=S.current,{initialLayout:We}=L??{},qe=Wl(Q,R,z);let Oe=v_(E,R,B,L,Z,z);const ft=B==="horizontal";ft&&W&&(Oe=-Oe);const Pn=Ce.map(it=>it.constraints),Ze=fr({delta:Oe,initialLayout:We??_e,panelConstraints:Pn,pivotIndices:qe,prevLayout:_e,trigger:Pl(E)?"keyboard":"mouse-or-touch"}),un=!Ir(_e,Ze);(El(E)||Ml(E))&&C.current!=Oe&&(C.current=Oe,!un&&Oe!==0?ft?ha(R,Oe<0?Tl:Rl):ha(R,Oe<0?Ol:Al):ha(R,0)),un&&(x(Ze),S.current.layout=Ze,te&&te(Ze),Mn(Ce,Ze,b.current))}},[]),F=y.useCallback((R,W)=>{const{onLayout:H}=w.current,{layout:O,panelDataArray:E}=S.current,z=E.map(_e=>_e.constraints),{panelSize:B,pivotIndices:L}=mn(E,R,O);fe(B!=null,`Panel size not found for panel "${R.id}"`);const Z=In(E,R)===E.length-1?B-W:W-B,te=fr({delta:Z,initialLayout:O,panelConstraints:z,pivotIndices:L,prevLayout:O,trigger:"imperative-api"});Ir(O,te)||(x(te),S.current.layout=te,H&&H(te),Mn(E,te,b.current))},[]),J=y.useCallback((R,W)=>{const{layout:H,panelDataArray:O}=S.current,{collapsedSize:E=0,collapsible:z}=W,{collapsedSize:B=0,collapsible:L,maxSize:Q=100,minSize:Z=0}=R.constraints,{panelSize:te}=mn(O,R,H);te!=null&&(z&&L&&Ft(te,E)?Ft(E,B)||F(R,B):te<Z?F(R,Z):te>Q&&F(R,Q))},[F]),G=y.useCallback((R,W)=>{const{direction:H}=w.current,{layout:O}=S.current;if(!p.current)return;const E=ko(R,p.current);fe(E,`Drag handle element not found for id "${R}"`);const z=$l(H,W);h({dragHandleId:R,dragHandleRect:E.getBoundingClientRect(),initialCursorPosition:z,initialLayout:O})},[]),I=y.useCallback(()=>{h(null)},[]),re=y.useCallback(R=>{const{panelDataArray:W}=S.current,H=In(W,R);H>=0&&(W.splice(H,1),delete b.current[R.id],S.current.panelDataArrayChanged=!0,v())},[v]),le=y.useMemo(()=>({collapsePanel:k,direction:r,dragState:g,expandPanel:P,getPanelSize:M,getPanelStyle:D,groupId:m,isPanelCollapsed:T,isPanelExpanded:V,reevaluatePanelConstraints:J,registerPanel:A,registerResizeHandle:q,resizePanel:F,startDragging:G,stopDragging:I,unregisterPanel:re,panelGroupElement:p.current}),[k,g,r,P,M,D,m,T,V,J,A,q,F,G,I,re]),se={display:"flex",flexDirection:r==="horizontal"?"row":"column",height:"100%",overflow:"hidden",width:"100%"};return y.createElement(So.Provider,{value:le},y.createElement(u,{...f,children:t,className:n,id:a,ref:p,style:{...se,...d},[Ae.group]:"",[Ae.groupDirection]:r,[Ae.groupId]:m}))}const ql=y.forwardRef((e,t)=>y.createElement(Yl,{...e,forwardedRef:t}));Yl.displayName="PanelGroup";ql.displayName="forwardRef(PanelGroup)";function In(e,t){return e.findIndex(n=>n===t||n.id===t.id)}function mn(e,t,n){const r=In(e,t),a=r===e.length-1?[r-1,r]:[r,r+1],s=n[r];return{...t.constraints,panelSize:s,pivotIndices:a}}function k_({disabled:e,handleId:t,resizeHandler:n,panelGroupElement:r}){y.useEffect(()=>{if(e||n==null||r==null)return;const o=ko(t,r);if(o==null)return;const a=s=>{if(!s.defaultPrevented)switch(s.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":{s.preventDefault(),n(s);break}case"F6":{s.preventDefault();const i=o.getAttribute(Ae.groupId);fe(i,`No group element found for id "${i}"`);const l=vr(i,r),d=Il(i,t,r);fe(d!==null,`No resize element found for id "${t}"`);const u=s.shiftKey?d>0?d-1:l.length-1:d+1<l.length?d+1:0;l[u].focus();break}}};return o.addEventListener("keydown",a),()=>{o.removeEventListener("keydown",a)}},[r,e,t,n])}function Vl({children:e=null,className:t="",disabled:n=!1,hitAreaMargins:r,id:o,onBlur:a,onClick:s,onDragging:i,onFocus:l,onPointerDown:d,onPointerUp:u,style:f={},tabIndex:m=0,tagName:p="div",...g}){var h,j;const x=y.useRef(null),v=y.useRef({onClick:s,onDragging:i,onPointerDown:d,onPointerUp:u});y.useEffect(()=>{v.current.onClick=s,v.current.onDragging=i,v.current.onPointerDown=d,v.current.onPointerUp=u});const b=y.useContext(So);if(b===null)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");const{direction:N,groupId:C,registerResizeHandle:w,startDragging:S,stopDragging:k,panelGroupElement:P}=b,M=ms(o),[D,T]=y.useState("inactive"),[V,A]=y.useState(!1),[q,F]=y.useState(null),J=y.useRef({state:D});jn(()=>{J.current.state=D}),y.useEffect(()=>{if(n)F(null);else{const le=w(M);F(()=>le)}},[n,M,w]);const G=(h=r==null?void 0:r.coarse)!==null&&h!==void 0?h:15,I=(j=r==null?void 0:r.fine)!==null&&j!==void 0?j:5;y.useEffect(()=>{if(n||q==null)return;const le=x.current;fe(le,"Element ref not attached");let se=!1;return f_(M,le,N,{coarse:G,fine:I},(W,H,O)=>{if(!H){T("inactive");return}switch(W){case"down":{T("drag"),se=!1,fe(O,'Expected event to be defined for "down" action'),S(M,O);const{onDragging:E,onPointerDown:z}=v.current;E==null||E(!0),z==null||z();break}case"move":{const{state:E}=J.current;se=!0,E!=="drag"&&T("hover"),fe(O,'Expected event to be defined for "move" action'),q(O);break}case"up":{T("hover"),k();const{onClick:E,onDragging:z,onPointerUp:B}=v.current;z==null||z(!1),B==null||B(),se||E==null||E();break}}})},[G,N,n,I,w,M,q,S,k]),k_({disabled:n,handleId:M,resizeHandler:q,panelGroupElement:P});const re={touchAction:"none",userSelect:"none"};return y.createElement(p,{...g,children:e,className:t,id:o,onBlur:()=>{A(!1),a==null||a()},onFocus:()=>{A(!0),l==null||l()},ref:x,role:"separator",style:{...re,...f},tabIndex:m,[Ae.groupDirection]:N,[Ae.groupId]:C,[Ae.resizeHandle]:"",[Ae.resizeHandleActive]:D==="drag"?"pointer":V?"keyboard":void 0,[Ae.resizeHandleEnabled]:!n,[Ae.resizeHandleId]:M,[Ae.resizeHandleState]:D})}Vl.displayName="PanelResizeHandle";const P_=({className:e,...t})=>c.jsx(ql,{className:ie("cj-flex cj-h-full cj-w-full data-[panel-group-direction=vertical]:cj-flex-col",e),...t}),ga=kl,Ai=({withHandle:e,className:t,...n})=>c.jsx(Vl,{className:ie("cj-relative cj-flex cj-w-px cj-items-center cj-justify-center cj-bg-border after:cj-absolute after:cj-inset-y-0 after:cj-left-1/2 after:cj-w-1 after:-cj-translate-x-1/2 data-[panel-group-direction=vertical]:cj-h-px data-[panel-group-direction=vertical]:cj-w-full data-[panel-group-direction=vertical]:after:cj-left-0 data-[panel-group-direction=vertical]:after:cj-h-1 data-[panel-group-direction=vertical]:after:cj-w-full data-[panel-group-direction=vertical]:after:-cj-translate-y-1/2 data-[panel-group-direction=vertical]:after:cj-translate-x-0 focus-visible:cj-outline-none focus-visible:cj-ring-1 focus-visible:cj-ring-ring focus-visible:cj-ring-offset-1 [&[data-panel-group-direction=vertical]>div]:cj-rotate-90",t),...n,children:e&&c.jsx("div",{className:"cj-z-10 cj-flex cj-h-4 cj-w-3 cj-items-center cj-justify-center cj-rounded-sm cj-border cj-bg-border",children:c.jsx(xl,{className:"cj-h-2.5 cj-w-2.5"})})});function $a(e,[t,n]){return Math.min(n,Math.max(t,e))}function E_(e,t){return _.useReducer((n,r)=>t[n][r]??n,e)}var _s="ScrollArea",[Gl]=dt(_s),[M_,ut]=Gl(_s),Ul=_.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:r="hover",dir:o,scrollHideDelay:a=600,...s}=e,[i,l]=_.useState(null),[d,u]=_.useState(null),[f,m]=_.useState(null),[p,g]=_.useState(null),[h,j]=_.useState(null),[x,v]=_.useState(0),[b,N]=_.useState(0),[C,w]=_.useState(!1),[S,k]=_.useState(!1),P=he(t,D=>l(D)),M=Nr(o);return c.jsx(M_,{scope:n,type:r,dir:M,scrollHideDelay:a,scrollArea:i,viewport:d,onViewportChange:u,content:f,onContentChange:m,scrollbarX:p,onScrollbarXChange:g,scrollbarXEnabled:C,onScrollbarXEnabledChange:w,scrollbarY:h,onScrollbarYChange:j,scrollbarYEnabled:S,onScrollbarYEnabledChange:k,onCornerWidthChange:v,onCornerHeightChange:N,children:c.jsx(ae.div,{dir:M,...s,ref:P,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":b+"px",...e.style}})})});Ul.displayName=_s;var Xl="ScrollAreaViewport",Kl=_.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,nonce:o,...a}=e,s=ut(Xl,n),i=_.useRef(null),l=he(t,i,s.onViewportChange);return c.jsxs(c.Fragment,{children:[c.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),c.jsx(ae.div,{"data-radix-scroll-area-viewport":"",...a,ref:l,style:{overflowX:s.scrollbarXEnabled?"scroll":"hidden",overflowY:s.scrollbarYEnabled?"scroll":"hidden",...e.style},children:c.jsx("div",{ref:s.onContentChange,style:{minWidth:"100%",display:"table"},children:r})})]})});Kl.displayName=Xl;var At="ScrollAreaScrollbar",gs=_.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=ut(At,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:s}=o,i=e.orientation==="horizontal";return _.useEffect(()=>(i?a(!0):s(!0),()=>{i?a(!1):s(!1)}),[i,a,s]),o.type==="hover"?c.jsx(D_,{...r,ref:t,forceMount:n}):o.type==="scroll"?c.jsx(T_,{...r,ref:t,forceMount:n}):o.type==="auto"?c.jsx(Jl,{...r,ref:t,forceMount:n}):o.type==="always"?c.jsx(js,{...r,ref:t}):null});gs.displayName=At;var D_=_.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=ut(At,e.__scopeScrollArea),[a,s]=_.useState(!1);return _.useEffect(()=>{const i=o.scrollArea;let l=0;if(i){const d=()=>{window.clearTimeout(l),s(!0)},u=()=>{l=window.setTimeout(()=>s(!1),o.scrollHideDelay)};return i.addEventListener("pointerenter",d),i.addEventListener("pointerleave",u),()=>{window.clearTimeout(l),i.removeEventListener("pointerenter",d),i.removeEventListener("pointerleave",u)}}},[o.scrollArea,o.scrollHideDelay]),c.jsx(st,{present:n||a,children:c.jsx(Jl,{"data-state":a?"visible":"hidden",...r,ref:t})})}),T_=_.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=ut(At,e.__scopeScrollArea),a=e.orientation==="horizontal",s=Eo(()=>l("SCROLL_END"),100),[i,l]=E_("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return _.useEffect(()=>{if(i==="idle"){const d=window.setTimeout(()=>l("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(d)}},[i,o.scrollHideDelay,l]),_.useEffect(()=>{const d=o.viewport,u=a?"scrollLeft":"scrollTop";if(d){let f=d[u];const m=()=>{const p=d[u];f!==p&&(l("SCROLL"),s()),f=p};return d.addEventListener("scroll",m),()=>d.removeEventListener("scroll",m)}},[o.viewport,a,l,s]),c.jsx(st,{present:n||i!=="hidden",children:c.jsx(js,{"data-state":i==="hidden"?"hidden":"visible",...r,ref:t,onPointerEnter:oe(e.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:oe(e.onPointerLeave,()=>l("POINTER_LEAVE"))})})}),Jl=_.forwardRef((e,t)=>{const n=ut(At,e.__scopeScrollArea),{forceMount:r,...o}=e,[a,s]=_.useState(!1),i=e.orientation==="horizontal",l=Eo(()=>{if(n.viewport){const d=n.viewport.offsetWidth<n.viewport.scrollWidth,u=n.viewport.offsetHeight<n.viewport.scrollHeight;s(i?d:u)}},10);return qn(n.viewport,l),qn(n.content,l),c.jsx(st,{present:r||a,children:c.jsx(js,{"data-state":a?"visible":"hidden",...o,ref:t})})}),js=_.forwardRef((e,t)=>{const{orientation:n="vertical",...r}=e,o=ut(At,e.__scopeScrollArea),a=_.useRef(null),s=_.useRef(0),[i,l]=_.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=nd(i.viewport,i.content),u={...r,sizes:i,onSizesChange:l,hasThumb:d>0&&d<1,onThumbChange:m=>a.current=m,onThumbPointerUp:()=>s.current=0,onThumbPointerDown:m=>s.current=m};function f(m,p){return W_(m,s.current,i,p)}return n==="horizontal"?c.jsx(R_,{...u,ref:t,onThumbPositionChange:()=>{if(o.viewport&&a.current){const m=o.viewport.scrollLeft,p=zi(m,i,o.dir);a.current.style.transform=`translate3d(${p}px, 0, 0)`}},onWheelScroll:m=>{o.viewport&&(o.viewport.scrollLeft=m)},onDragScroll:m=>{o.viewport&&(o.viewport.scrollLeft=f(m,o.dir))}}):n==="vertical"?c.jsx(O_,{...u,ref:t,onThumbPositionChange:()=>{if(o.viewport&&a.current){const m=o.viewport.scrollTop,p=zi(m,i);a.current.style.transform=`translate3d(0, ${p}px, 0)`}},onWheelScroll:m=>{o.viewport&&(o.viewport.scrollTop=m)},onDragScroll:m=>{o.viewport&&(o.viewport.scrollTop=f(m))}}):null}),R_=_.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...o}=e,a=ut(At,e.__scopeScrollArea),[s,i]=_.useState(),l=_.useRef(null),d=he(t,l,a.onScrollbarXChange);return _.useEffect(()=>{l.current&&i(getComputedStyle(l.current))},[l]),c.jsx(Zl,{"data-orientation":"horizontal",...o,ref:d,sizes:n,style:{bottom:0,left:a.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:a.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Po(n)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.x),onDragScroll:u=>e.onDragScroll(u.x),onWheelScroll:(u,f)=>{if(a.viewport){const m=a.viewport.scrollLeft+u.deltaX;e.onWheelScroll(m),od(m,f)&&u.preventDefault()}},onResize:()=>{l.current&&a.viewport&&s&&r({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:ao(s.paddingLeft),paddingEnd:ao(s.paddingRight)}})}})}),O_=_.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...o}=e,a=ut(At,e.__scopeScrollArea),[s,i]=_.useState(),l=_.useRef(null),d=he(t,l,a.onScrollbarYChange);return _.useEffect(()=>{l.current&&i(getComputedStyle(l.current))},[l]),c.jsx(Zl,{"data-orientation":"vertical",...o,ref:d,sizes:n,style:{top:0,right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Po(n)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.y),onDragScroll:u=>e.onDragScroll(u.y),onWheelScroll:(u,f)=>{if(a.viewport){const m=a.viewport.scrollTop+u.deltaY;e.onWheelScroll(m),od(m,f)&&u.preventDefault()}},onResize:()=>{l.current&&a.viewport&&s&&r({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:ao(s.paddingTop),paddingEnd:ao(s.paddingBottom)}})}})}),[A_,Ql]=Gl(At),Zl=_.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:o,onThumbChange:a,onThumbPointerUp:s,onThumbPointerDown:i,onThumbPositionChange:l,onDragScroll:d,onWheelScroll:u,onResize:f,...m}=e,p=ut(At,n),[g,h]=_.useState(null),j=he(t,P=>h(P)),x=_.useRef(null),v=_.useRef(""),b=p.viewport,N=r.content-r.viewport,C=Ue(u),w=Ue(l),S=Eo(f,10);function k(P){if(x.current){const M=P.clientX-x.current.left,D=P.clientY-x.current.top;d({x:M,y:D})}}return _.useEffect(()=>{const P=M=>{const D=M.target;(g==null?void 0:g.contains(D))&&C(M,N)};return document.addEventListener("wheel",P,{passive:!1}),()=>document.removeEventListener("wheel",P,{passive:!1})},[b,g,N,C]),_.useEffect(w,[r,w]),qn(g,S),qn(p.content,S),c.jsx(A_,{scope:n,scrollbar:g,hasThumb:o,onThumbChange:Ue(a),onThumbPointerUp:Ue(s),onThumbPositionChange:w,onThumbPointerDown:Ue(i),children:c.jsx(ae.div,{...m,ref:j,style:{position:"absolute",...m.style},onPointerDown:oe(e.onPointerDown,P=>{P.button===0&&(P.target.setPointerCapture(P.pointerId),x.current=g.getBoundingClientRect(),v.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",p.viewport&&(p.viewport.style.scrollBehavior="auto"),k(P))}),onPointerMove:oe(e.onPointerMove,k),onPointerUp:oe(e.onPointerUp,P=>{const M=P.target;M.hasPointerCapture(P.pointerId)&&M.releasePointerCapture(P.pointerId),document.body.style.webkitUserSelect=v.current,p.viewport&&(p.viewport.style.scrollBehavior=""),x.current=null})})})}),oo="ScrollAreaThumb",ed=_.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Ql(oo,e.__scopeScrollArea);return c.jsx(st,{present:n||o.hasThumb,children:c.jsx(z_,{ref:t,...r})})}),z_=_.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:r,...o}=e,a=ut(oo,n),s=Ql(oo,n),{onThumbPositionChange:i}=s,l=he(t,f=>s.onThumbChange(f)),d=_.useRef(void 0),u=Eo(()=>{d.current&&(d.current(),d.current=void 0)},100);return _.useEffect(()=>{const f=a.viewport;if(f){const m=()=>{if(u(),!d.current){const p=F_(f,i);d.current=p,i()}};return i(),f.addEventListener("scroll",m),()=>f.removeEventListener("scroll",m)}},[a.viewport,u,i]),c.jsx(ae.div,{"data-state":s.hasThumb?"visible":"hidden",...o,ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:oe(e.onPointerDownCapture,f=>{const p=f.target.getBoundingClientRect(),g=f.clientX-p.left,h=f.clientY-p.top;s.onThumbPointerDown({x:g,y:h})}),onPointerUp:oe(e.onPointerUp,s.onThumbPointerUp)})});ed.displayName=oo;var ys="ScrollAreaCorner",td=_.forwardRef((e,t)=>{const n=ut(ys,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?c.jsx(I_,{...e,ref:t}):null});td.displayName=ys;var I_=_.forwardRef((e,t)=>{const{__scopeScrollArea:n,...r}=e,o=ut(ys,n),[a,s]=_.useState(0),[i,l]=_.useState(0),d=!!(a&&i);return qn(o.scrollbarX,()=>{var f;const u=((f=o.scrollbarX)==null?void 0:f.offsetHeight)||0;o.onCornerHeightChange(u),l(u)}),qn(o.scrollbarY,()=>{var f;const u=((f=o.scrollbarY)==null?void 0:f.offsetWidth)||0;o.onCornerWidthChange(u),s(u)}),d?c.jsx(ae.div,{...r,ref:t,style:{width:a,height:i,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function ao(e){return e?parseInt(e,10):0}function nd(e,t){const n=e/t;return isNaN(n)?0:n}function Po(e){const t=nd(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function W_(e,t,n,r="ltr"){const o=Po(n),a=o/2,s=t||a,i=o-s,l=n.scrollbar.paddingStart+s,d=n.scrollbar.size-n.scrollbar.paddingEnd-i,u=n.content-n.viewport,f=r==="ltr"?[0,u]:[u*-1,0];return rd([l,d],f)(e)}function zi(e,t,n="ltr"){const r=Po(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-o,s=t.content-t.viewport,i=a-r,l=n==="ltr"?[0,s]:[s*-1,0],d=$a(e,l);return rd([0,s],[0,i])(d)}function rd(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function od(e,t){return e>0&&e<t}var F_=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return function o(){const a={left:e.scrollLeft,top:e.scrollTop},s=n.left!==a.left,i=n.top!==a.top;(s||i)&&t(),n=a,r=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(r)};function Eo(e,t){const n=Ue(e),r=_.useRef(0);return _.useEffect(()=>()=>window.clearTimeout(r.current),[]),_.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function qn(e,t){const n=Ue(t);He(()=>{let r=0;if(e){const o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return o.observe(e),()=>{window.cancelAnimationFrame(r),o.unobserve(e)}}},[e,n])}var ad=Ul,$_=Kl,L_=td;const Rt=_.forwardRef(({className:e,children:t,...n},r)=>c.jsxs(ad,{ref:r,className:ie("cj-relative cj-overflow-hidden",e),...n,children:[c.jsx($_,{className:"cj-h-full cj-w-full cj-rounded-[inherit]",children:t}),c.jsx(sd,{}),c.jsx(L_,{})]}));Rt.displayName=ad.displayName;const sd=_.forwardRef(({className:e,orientation:t="vertical",...n},r)=>c.jsx(gs,{ref:r,orientation:t,className:ie("cj-flex cj-touch-none cj-select-none cj-transition-colors",t==="vertical"&&"cj-h-full cj-w-2.5 cj-border-l cj-border-l-transparent cj-p-[1px]",t==="horizontal"&&"cj-h-2.5 cj-flex-col cj-border-t cj-border-t-transparent cj-p-[1px]",e),...n,children:c.jsx(ed,{className:"cj-relative cj-flex-1 cj-rounded-full cj-bg-border"})}));sd.displayName=gs.displayName;const La={back:"Back",next:"Next",reset:"Reset",cancel:"Cancel",submit:"Submit",save:"Save",delete:"Delete",close:"Close",empty:"(empty)",path:"Path",unknown:"Unknown",runner_title:"Form Runner",runner_save_exit:"Save & Exit",runner_ready_title:"Ready to begin",runner_onboarding_subtitle:"Before you start, make sure you have the following:",runner_onboarding_line1:"Before you start, have with you the relevant information about the incident.",runner_onboarding_line2:"We may ask for some details, such as a description, date, location, or supporting documents.",runner_onboarding_photos:"Photos of the incident (damage, location, context)",runner_onboarding_documents:"Relevant documents (policy, ID, etc.)",runner_onboarding_datetime:"Date and time of the event",runner_onboarding_location:"Location",runner_onboarding_description:"Brief description of what happened",runner_start_claim:"Start claim",runner_review_title:"Review Your Answers",runner_no_answers:"No answers recorded.",runner_review:"Review",runner_step:"Step {{step}}/{{total}}",runner_no_journey:"No journey has been built yet.",runner_no_data:"No journey data available.",builder_title:"Journey Builder",builder_read_only:"Read Only",builder_publish:"Publish",builder_unlock_edit:"Unlock Edit",builder_open_runner:"Open Runner",builder_auto_layout:"Auto Layout",builder_export_json:"Export JSON",builder_export_copied:"Journey spec copied to clipboard",specs_title:"Property Specs",specs_search_placeholder:"Search specs...",specs_filter_all:"All Types",specs_create_custom:"Create Custom Field",specs_count:"{{filtered}} of {{total}} specs",specs_no_results:"No specs found",props_select_hint:"Select a node or edge to edit",props_drag_hint:"Drag specs from the left panel onto the canvas to create nodes",node_props_title:"Node Properties",node_schema_type:"Schema Type",node_source_spec:"Source Spec ID",node_namespace:"Namespace",node_required:"Required",node_required_hint:"Block navigation if empty",node_original_label:"Original Label",node_label_override:"Label Override (optional)",node_label_override_placeholder:"Custom label to display…",node_actor:"Actor",node_actor_customer:"Customer",node_actor_operator:"Operator",node_widget:"Widget Override",node_widget_auto:"Auto (from schema)",node_widget_text:"Text Input",node_widget_textarea:"Textarea",node_widget_select:"Select Dropdown",node_widget_radio:"Radio Group",node_widget_datepicker:"Date Picker",node_widget_timepicker:"Time Picker",node_widget_datetimepicker:"Date & Time Picker",node_widget_currency:"Currency Input",node_widget_upload:"File Upload",node_widget_email:"Email",node_widget_phone:"Phone",node_widget_location:"Location",node_allow_future:"Allow future dates",node_allow_future_hint:"When off, only past or today are selectable",node_bindings_title:"Bindings",node_bindings_target:"Target Namespace",node_bindings_add:"Add Binding",node_delete:"Delete Node",node_options_title:"Options",upload_config_title:"Upload Configuration",upload_file_type_preset:"File type preset",upload_any_file:"Any file",upload_images_only:"Images only",upload_documents_only:"Documents only",upload_images_pdf:"Images + PDFs",upload_custom:"Custom",upload_accepted_types:"Accepted types (custom)",upload_accepted_types_placeholder:"e.g. image/*,.pdf",upload_max_size:"Max file size (MB)",upload_max_size_placeholder:"e.g. 10",edge_props_title:"Edge Properties",edge_connection:"Connection",edge_default:"Default Edge",edge_default_hint:"Used when no other conditions match",edge_priority:"Priority",edge_priority_hint:"Higher priority edges are evaluated first",edge_quick_pick:"Quick pick from source options:",edge_condition:"Condition",edge_visual:"Visual",edge_advanced:"Advanced",edge_json_logic:"JSON Logic condition",edge_delete:"Delete Edge",preview_title:"Form Preview",preview_step_of:"Step {{current}} of {{total}}",preview_start:"Start Preview",preview_add_nodes_hint:"Add nodes to the canvas to preview the form flow.",preview_start_hint:'Click "Start Preview" to test the form flow interactively.',preview_no_node:"No current node selected.",preview_required_hint:"This field is required",preview_validation_hint:"Fix validation errors first",import_title:"Import Journey Spec",import_description:"Load a JourneySpec JSON file or paste JSON to populate the canvas.",import_paste_tab:"Paste JSON",import_upload_tab:"Upload File",import_paste_clipboard:"Paste from Clipboard",import_placeholder:'{"journey_id": "...", "nodes": [...], "edges": [...]}',import_button:"Import Journey",import_validation_errors:"Validation errors:",validation_title:"Graph Validation",validation_no_issues:"No issues found",validation_issue_count:"{{count}} issue{{plural}} found",validation_good:"Graph looks good!",validation_no_issues_actor:"No issues",validation_validate:"Validate",create_node_title:"Create Custom Field",create_node_label:"Label *",create_node_label_placeholder:"Enter a display label",create_node_namespace:"Namespace",create_node_namespace_hint:"Auto-generated from label. Override if needed.",create_node_schema:"Schema Type",upload_drag_drop:"Drag & drop a file here, or click to select",upload_uploading:"Uploading…",widget_unknown_schema:"Unknown schema type: {{schema}}",widget_yes:"Yes",widget_no:"No",widget_no_widget:"No widget available for this field type.",widget_no_options:"No options configured for this select field.",widget_pick_date:"Pick a date",widget_invalid_date:"Enter a valid date",widget_pick_time:"Pick a time",widget_select_option:"Select an option...",widget_search_country:"Search country...",widget_no_country:"No country found.",widget_invalid_phone:"Enter a valid phone number",widget_invalid_email:"Enter a valid email address",widget_file_too_large:"File exceeds {{max}} MB limit ({{size}} MB)",widget_file_type_rejected:"File type not accepted. Allowed: {{accept}}",widget_upload_failed:"Upload failed",widget_accepted_hint:"Accepted: {{accept}}",widget_max_size_hint:"Max {{max}} MB",location_placeholder:"Start typing an address…",location_no_api_key:"Google Maps API key is required for the location widget.",placeholder_text:"Type here…",placeholder_select:"Select an option…",placeholder_currency:"0,00",placeholder_phone:"555 000 0000",placeholder_email:"email@example.com",placeholder_date:"Select a date…",not_found_title:"404",not_found_message:"Oops! Page not found",not_found_link:"Return to Home",runner_page_back:"Builder",fc_title:"Form Configurator",fc_read_only:"Read-only",fc_undo:"Undo",fc_redo:"Redo",fc_preview_form:"Preview Form",fc_save:"Save",fc_publish:"Publish",fc_unlock_edit:"Unlock edit",fc_tab_steps:"Steps",fc_tab_fields:"Fields",fc_tab_init:"Init",fc_tab_json:"JSON",fc_form_steps:"Form Steps",fc_add_step:"Add Step",fc_step_untitled:"(untitled)",fc_step_meta:"{{rows}} rows, {{fields}} fields",fc_no_steps:"No steps yet.",fc_no_steps_hint_click:"Click",fc_no_steps_hint_to_begin:"to begin.",fc_confirm_delete_step:"Delete this step?",fc_step_empty_select:"Select a step on the left.",fc_step_empty_create:"Add a step from the left panel to begin.",fc_step_title_label:"Step Title",fc_step_title_placeholder:"Step title",fc_step_description_label:"Description",fc_step_description_placeholder:"Optional",fc_add_row:"Add Row",fc_row_n:"Row {{n}}",fc_layout_horizontal:"Horizontal",fc_layout_vertical:"Vertical",fc_confirm_delete_row:"Delete this row?",fc_add_field_btn:"Add field",fc_no_fields:"No fields.",fc_edit:"Edit",fc_remove_from_row:"Remove from row",fc_nav_title:"Step Navigation",fc_nav_api_call:"API call on continue",fc_nav_api_call_hint:"Executed before evaluating the rules.",fc_nav_body_template:"Body template (JSON)",fc_nav_body_template_hint_prefix:"Use",fc_nav_body_template_hint_suffix:"tokens.",fc_nav_on_error:"On error",fc_nav_on_error_block:"Block — stay on this step",fc_nav_on_error_continue:"Continue — evaluate rules anyway",fc_nav_on_error_goto:"Go to: {{step}}",fc_nav_on_error_summary:"Go to: Summary",fc_nav_on_error_hint:"What happens if the call throws or the network fails.",fc_nav_continue_button:"Continue button",fc_nav_continue_placeholder:"Continue",fc_nav_rules:"Navigation rules",fc_nav_add_rule:"Add rule",fc_nav_rules_hint:'Rules evaluated in order. First match wins. Use "always" as the last fallback.',fc_nav_rule_n:"Rule {{n}}",fc_nav_has_condition:"Has condition",fc_nav_go_to:"Go to",fc_nav_submit_form:"— Submit form —",fc_nav_field_requires_value:'Field "{{label}}" requires a value.',fc_summary_panel:"Summary Panel",fc_summary_title_label:"Summary Title",fc_summary_sections:"Sections",fc_summary_add_section:"Add Section",fc_summary_section_title_placeholder:"Section title",fc_summary_visible_from:"Visible from step",fc_summary_until_step:"Until step (optional)",fc_summary_all_steps:"All steps",fc_summary_step_n:"Step {{n}}",fc_summary_display_fields:"Display Fields",fc_summary_add:"Add",fc_summary_no_display_fields:"No display fields yet.",fc_summary_no_sections:"No sections yet.",fc_summary_confirm_delete_section:"Delete this section?",fc_summary_source:"Source",fc_summary_source_form_field:"Form Field",fc_summary_source_api_response:"API Response",fc_summary_format:"Format",fc_summary_format_text:"Text",fc_summary_format_number:"Number",fc_summary_format_currency:"Currency",fc_summary_format_date:"Date",fc_summary_format_datetime:"Date & Time",fc_summary_display_label:"Label",fc_summary_display_label_placeholder:"Display label",fc_summary_field:"Field",fc_summary_select:"Select…",fc_summary_from_step_api:"From step API",fc_summary_response_path:"Response Path (dot-notation)",fc_fields_catalog:"Fields catalog",fc_fields_catalog_hint:"All fields used across the form. Edit here to update them everywhere.",fc_fields_add:"Add Field",fc_fields_search:"Search fields…",fc_fields_filter_all:"All",fc_fields_filter_used:"Used",fc_fields_filter_unused:"Unused",fc_fields_unused_badge:"Unused",fc_fields_used_in_one:"Used in {{count}} step",fc_fields_used_in_many:"Used in {{count}} steps",fc_fields_go_to_step:'Go to step "{{title}}"',fc_fields_no_fields:"No fields yet.",fc_fields_no_match:"No fields match the current filter.",fc_fields_confirm_delete:"Delete this field?",fc_init_title:"Initial values",fc_init_subtitle:"Static answers pre-loaded into the runner before the user starts.",fc_init_static:"Static values",fc_init_add:"Add",fc_init_no_values:"No initial values yet.",fc_init_prefill:"Pre-fill from API",fc_init_prefill_hint:"Fetch answers from an endpoint when the runner mounts.",fc_init_mapping:"Mapping (JSON: namespace → response_path)",fc_json_title:"JSON",fc_json_hint:"Raw JourneySpec (form_config + theme). Edit and click Import to apply.",fc_json_refresh:"Refresh from store",fc_json_copy:"Copy",fc_json_download:"Download",fc_json_import:"Import",fc_json_imported_ok:"Imported successfully",fc_json_copied:"Copied to clipboard",fc_json_invalid:"Invalid JSON",fc_create_field_title:"Add field",fc_create_field_subtitle:"Pick from the catalog or create a custom field.",fc_create_from_catalog:"From catalog ({{count}})",fc_create_custom:"Custom field",fc_create_search_specs:"Search specs…",fc_create_no_specs:"No specs match.",fc_create_label_required:"Label *",fc_create_label_placeholder:"e.g. Customer Name",fc_create_namespace:"Namespace",fc_create_namespace_placeholder:"e.g. customer.name (auto if empty)",fc_create_schema:"Schema",fc_create_options:"Options",fc_create_option_value_placeholder:"value",fc_create_option_label_placeholder:"Label",fc_create_cancel:"Cancel",fc_create_create:"Create",fc_field_props:"Field properties",fc_field_no_selected:"No field selected.",fc_field_label:"Label *",fc_field_namespace:"Namespace",fc_field_placeholder:"Placeholder",fc_field_help:"Help text",fc_field_required:"Required",fc_field_required_hint:"User must fill before continuing.",fc_field_actor:"Actor",fc_field_actor_customer:"Customer",fc_field_actor_operator:"Operator",fc_field_widget:"Widget",fc_field_widget_auto:"Auto",fc_field_widget_text:"Text",fc_field_widget_textarea:"Textarea",fc_field_widget_select:"Select",fc_field_widget_radio:"Radio",fc_field_widget_date:"Date",fc_field_widget_time:"Time",fc_field_widget_datetime:"Date & Time",fc_field_widget_currency:"Currency",fc_field_widget_upload:"Upload",fc_field_widget_email:"Email",fc_field_widget_phone:"Phone",fc_field_widget_location:"Location",fc_field_widget_boolean:"Boolean (Yes/No)",fc_field_allow_future:"Allow future dates",fc_field_allow_future_hint:"Allow dates after today.",fc_field_display_style:"Display style",fc_field_display_auto:"Auto (radio ≤5, dropdown >5)",fc_field_display_radio:"Radio list",fc_field_display_dropdown:"Dropdown",fc_field_display_segmented:"Segmented buttons",fc_field_display_hint:"Controls how options render at runtime.",fc_field_display_switch:"Switch (toggle)",fc_field_display_yesno:"Segmented (Yes / No buttons)",fc_field_boolean_hint:"Override Yes/No labels by adding 2 options below (first = true, second = false).",fc_field_options:"Options",fc_field_no_options:"No options yet.",fc_field_upload_validation:"Upload validation",fc_field_upload_accept:"Accepted MIME types/extensions",fc_field_upload_max:"Max size (MB)",fc_field_delete:"Delete field",fc_field_done:"Done",fc_field_confirm_delete:"Delete this field from the catalog (and all rows that use it)?",theme_button:"Theme",theme_reset:"Reset",theme_colors:"Colors",theme_primary:"Primary",theme_background:"Background",theme_card:"Card",theme_foreground:"Foreground",theme_color_picker_aria:"{{label}} color picker",theme_color_placeholder:"e.g. 222 47% 11%",theme_color_hint:"Pick a color or type an HSL triplet",theme_typography:"Typography",theme_heading_font:"Heading font",theme_body_font:"Body font",theme_font_default:"Default",theme_font_size:"Base font size (px)",theme_shape_spacing:"Shape & spacing",theme_border_radius:"Border radius (rem)",theme_spacing:"Spacing",theme_spacing_cozy_default:"Cozy (default)",theme_spacing_compact:"Compact",theme_spacing_cozy:"Cozy",theme_spacing_spacious:"Spacious",theme_live_preview:"Live preview",theme_heading_sample:"Heading sample",theme_body_sample:"The quick brown fox jumps over the lazy dog. Body text uses your selected font, size and spacing.",theme_input_sample:"Sample input",theme_primary_action:"Primary action",runner_toast_required_fields:"Please fill the required fields.",runner_toast_api_failed:"API call failed.",runner_toast_answers_copied:"Answers copied to clipboard!",runner_toast_partial_saved:"Partial answers saved (logged).",runner_toast_file_uploaded:"Uploaded {{name}} for {{key}}",runner_loading_preview:"Loading preview…",runner_no_form:"No form configured yet.",runner_back_to_builder:"Back to builder",runner_preset_full:"Full",runner_iframe_title:"Form runner preview",import_invalid_json:"Invalid JSON: could not parse the input.",import_success:"Journey imported successfully",import_clipboard_failed:"Could not read clipboard",shortcut_selected_nodes_one:"Selected {{count}} node",shortcut_selected_nodes_other:"Selected {{count}} nodes",shortcut_deleted:"Deleted",shortcut_undo:"Undo",shortcut_redo:"Redo",shortcut_copied:"Copied to clipboard",shortcut_pasted:"Pasted",shortcut_duplicated:"Duplicated"},B_={back:"Atrás",next:"Siguiente",reset:"Reiniciar",cancel:"Cancelar",submit:"Enviar",save:"Guardar",delete:"Eliminar",close:"Cerrar",empty:"(vacío)",path:"Ruta",unknown:"Desconocido",runner_title:"Formulario",runner_save_exit:"Guardar y Salir",runner_ready_title:"Listo para comenzar",runner_onboarding_subtitle:"Antes de empezar, asegúrate de tener lo siguiente:",runner_onboarding_line1:"Antes de empezar, tenga consigo la información relevante sobre lo ocurrido.",runner_onboarding_line2:"Podremos pedir algunos detalles, como la descripción, fecha, lugar o documentos de apoyo.",runner_onboarding_photos:"Fotos del incidente (daño, lugar, contexto)",runner_onboarding_documents:"Documentos relevantes (póliza, identificación, etc.)",runner_onboarding_datetime:"Fecha y hora del suceso",runner_onboarding_location:"Ubicación",runner_onboarding_description:"Descripción breve de lo ocurrido",runner_start_claim:"Comenzar parte",runner_review_title:"Revisa tus respuestas",runner_no_answers:"No hay respuestas registradas.",runner_review:"Revisar",runner_step:"Paso {{step}}/{{total}}",runner_no_journey:"Aún no se ha creado ningún recorrido.",runner_no_data:"Datos del recorrido no disponibles.",builder_title:"Constructor de Recorridos",builder_read_only:"Solo Lectura",builder_publish:"Publicar",builder_unlock_edit:"Desbloquear Edición",builder_open_runner:"Abrir Formulario",builder_auto_layout:"Diseño Automático",builder_export_json:"Exportar JSON",builder_export_copied:"Especificación copiada al portapapeles",specs_title:"Propiedades",specs_search_placeholder:"Buscar...",specs_filter_all:"Todos los Tipos",specs_create_custom:"Crear Campo Personalizado",specs_count:"{{filtered}} de {{total}} propiedades",specs_no_results:"No se encontraron propiedades",props_select_hint:"Selecciona un nodo o arista para editar",props_drag_hint:"Arrastra propiedades del panel izquierdo al lienzo para crear nodos",node_props_title:"Propiedades del Nodo",node_schema_type:"Tipo de Schema",node_source_spec:"ID de Propiedad",node_namespace:"Namespace",node_required:"Obligatorio",node_required_hint:"Bloquear navegación si está vacío",node_original_label:"Etiqueta Original",node_label_override:"Etiqueta Personalizada (opcional)",node_label_override_placeholder:"Etiqueta personalizada…",node_actor:"Actor",node_actor_customer:"Cliente",node_actor_operator:"Operador",node_widget:"Widget",node_widget_auto:"Automático (del schema)",node_widget_text:"Campo de Texto",node_widget_textarea:"Área de Texto",node_widget_select:"Lista Desplegable",node_widget_radio:"Grupo de Radio",node_widget_datepicker:"Selector de Fecha",node_widget_timepicker:"Selector de Hora",node_widget_datetimepicker:"Selector de Fecha y Hora",node_widget_currency:"Campo Monetario",node_widget_upload:"Carga de Archivo",node_widget_email:"Email",node_widget_phone:"Teléfono",node_widget_location:"Ubicación",node_allow_future:"Permitir fechas futuras",node_allow_future_hint:"Cuando está desactivado, solo permite fechas pasadas u hoy",node_bindings_title:"Vínculos",node_bindings_target:"Namespace Destino",node_bindings_add:"Agregar Binding",node_delete:"Eliminar Nodo",node_options_title:"Opciones",upload_config_title:"Configuración de Carga",upload_file_type_preset:"Tipo de archivo",upload_any_file:"Cualquier archivo",upload_images_only:"Solo imágenes",upload_documents_only:"Solo documentos",upload_images_pdf:"Imágenes + PDFs",upload_custom:"Personalizado",upload_accepted_types:"Tipos aceptados (personalizado)",upload_accepted_types_placeholder:"ej: image/*,.pdf",upload_max_size:"Tamaño máximo (MB)",upload_max_size_placeholder:"ej: 10",edge_props_title:"Propiedades de la Arista",edge_connection:"Conexión",edge_default:"Arista Predeterminada",edge_default_hint:"Se usa cuando ninguna otra condición coincide",edge_priority:"Prioridad",edge_priority_hint:"Las aristas con mayor prioridad se evalúan primero",edge_quick_pick:"Selección rápida de opciones:",edge_condition:"Condición",edge_visual:"Visual",edge_advanced:"Avanzado",edge_json_logic:"Condición JSON Logic",edge_delete:"Eliminar Arista",preview_title:"Vista Previa",preview_step_of:"Paso {{current}} de {{total}}",preview_start:"Iniciar Vista Previa",preview_add_nodes_hint:"Agrega nodos al lienzo para previsualizar el flujo.",preview_start_hint:'Haz clic en "Iniciar Vista Previa" para probar el flujo interactivamente.',preview_no_node:"Ningún nodo seleccionado.",preview_required_hint:"Este campo es obligatorio",preview_validation_hint:"Corrige los errores de validación primero",import_title:"Importar Especificación",import_description:"Carga un archivo JSON o pega el JSON para poblar el lienzo.",import_paste_tab:"Pegar JSON",import_upload_tab:"Cargar Archivo",import_paste_clipboard:"Pegar del Portapapeles",import_placeholder:'{"journey_id": "...", "nodes": [...], "edges": [...]}',import_button:"Importar",import_validation_errors:"Errores de validación:",validation_title:"Validación del Grafo",validation_no_issues:"Sin problemas encontrados",validation_issue_count:"{{count}} problema{{plural}} encontrado{{plural}}",validation_good:"¡El grafo está correcto!",validation_no_issues_actor:"Sin problemas",validation_validate:"Validar",create_node_title:"Crear Campo Personalizado",create_node_label:"Etiqueta *",create_node_label_placeholder:"Ingresa una etiqueta",create_node_namespace:"Namespace",create_node_namespace_hint:"Generado automáticamente a partir de la etiqueta.",create_node_schema:"Tipo de Schema",upload_drag_drop:"Arrastra y suelta un archivo aquí, o haz clic para seleccionar",upload_uploading:"Cargando…",widget_unknown_schema:"Tipo de schema desconocido: {{schema}}",widget_yes:"Sí",widget_no:"No",widget_no_widget:"No hay widget disponible para este tipo de campo.",widget_no_options:"No hay opciones configuradas para este campo de selección.",widget_pick_date:"Seleccionar fecha",widget_invalid_date:"Introduce una fecha válida",widget_pick_time:"Seleccionar hora",widget_select_option:"Seleccionar una opción...",widget_search_country:"Buscar país...",widget_no_country:"País no encontrado.",widget_invalid_phone:"Ingrese un número de teléfono válido",widget_invalid_email:"Ingrese un correo electrónico válido",widget_file_too_large:"El archivo excede el límite de {{max}} MB ({{size}} MB)",widget_file_type_rejected:"Tipo de archivo no aceptado. Permitidos: {{accept}}",widget_upload_failed:"Error al cargar",widget_accepted_hint:"Aceptados: {{accept}}",widget_max_size_hint:"Máx {{max}} MB",location_placeholder:"Empieza a escribir una dirección…",location_no_api_key:"Se requiere una clave de API de Google Maps para el widget de ubicación.",placeholder_text:"Insertar…",placeholder_select:"Seleccionar…",placeholder_currency:"0,00",placeholder_phone:"555 000 0000",placeholder_email:"email@ejemplo.com",placeholder_date:"Seleccionar fecha…",not_found_title:"404",not_found_message:"Página no encontrada",not_found_link:"Volver al Inicio",runner_page_back:"Constructor",fc_title:"Configurador de Formulario",fc_read_only:"Solo lectura",fc_undo:"Deshacer",fc_redo:"Rehacer",fc_preview_form:"Vista previa",fc_save:"Guardar",fc_publish:"Publicar",fc_unlock_edit:"Desbloquear edición",fc_tab_steps:"Pasos",fc_tab_fields:"Campos",fc_tab_init:"Inicialización",fc_tab_json:"JSON",fc_form_steps:"Pasos del Formulario",fc_add_step:"Añadir Paso",fc_step_untitled:"(sin título)",fc_step_meta:"{{rows}} filas, {{fields}} campos",fc_no_steps:"Aún sin pasos.",fc_no_steps_hint_click:"Haz clic en",fc_no_steps_hint_to_begin:"para empezar.",fc_confirm_delete_step:"¿Eliminar este paso?",fc_step_empty_select:"Selecciona un paso a la izquierda.",fc_step_empty_create:"Añade un paso desde el panel izquierdo para empezar.",fc_step_title_label:"Título del Paso",fc_step_title_placeholder:"Título del paso",fc_step_description_label:"Descripción",fc_step_description_placeholder:"Opcional",fc_add_row:"Añadir Fila",fc_row_n:"Fila {{n}}",fc_layout_horizontal:"Horizontal",fc_layout_vertical:"Vertical",fc_confirm_delete_row:"¿Eliminar esta fila?",fc_add_field_btn:"Añadir campo",fc_no_fields:"Sin campos.",fc_edit:"Editar",fc_remove_from_row:"Quitar de la fila",fc_nav_title:"Navegación del Paso",fc_nav_api_call:"Llamada API al continuar",fc_nav_api_call_hint:"Se ejecuta antes de evaluar las reglas.",fc_nav_body_template:"Plantilla del body (JSON)",fc_nav_body_template_hint_prefix:"Usa tokens",fc_nav_body_template_hint_suffix:".",fc_nav_on_error:"En caso de error",fc_nav_on_error_block:"Bloquear — permanece en este paso",fc_nav_on_error_continue:"Continuar — evalúa las reglas igualmente",fc_nav_on_error_goto:"Ir a: {{step}}",fc_nav_on_error_summary:"Ir a: Resumen",fc_nav_on_error_hint:"Qué ocurre si la llamada falla o la red cae.",fc_nav_continue_button:"Botón continuar",fc_nav_continue_placeholder:"Continuar",fc_nav_rules:"Reglas de navegación",fc_nav_add_rule:"Añadir regla",fc_nav_rules_hint:'Reglas evaluadas en orden. Gana la primera. Usa "siempre" como último recurso.',fc_nav_rule_n:"Regla {{n}}",fc_nav_has_condition:"Tiene condición",fc_nav_go_to:"Ir a",fc_nav_submit_form:"— Enviar formulario —",fc_nav_field_requires_value:'El campo "{{label}}" requiere un valor.',fc_summary_panel:"Panel de Resumen",fc_summary_title_label:"Título del Resumen",fc_summary_sections:"Secciones",fc_summary_add_section:"Añadir Sección",fc_summary_section_title_placeholder:"Título de la sección",fc_summary_visible_from:"Visible desde el paso",fc_summary_until_step:"Hasta el paso (opcional)",fc_summary_all_steps:"Todos los pasos",fc_summary_step_n:"Paso {{n}}",fc_summary_display_fields:"Campos a Mostrar",fc_summary_add:"Añadir",fc_summary_no_display_fields:"Aún sin campos a mostrar.",fc_summary_no_sections:"Aún sin secciones.",fc_summary_confirm_delete_section:"¿Eliminar esta sección?",fc_summary_source:"Origen",fc_summary_source_form_field:"Campo del Formulario",fc_summary_source_api_response:"Respuesta de la API",fc_summary_format:"Formato",fc_summary_format_text:"Texto",fc_summary_format_number:"Número",fc_summary_format_currency:"Moneda",fc_summary_format_date:"Fecha",fc_summary_format_datetime:"Fecha y hora",fc_summary_display_label:"Etiqueta",fc_summary_display_label_placeholder:"Etiqueta a mostrar",fc_summary_field:"Campo",fc_summary_select:"Seleccionar…",fc_summary_from_step_api:"Desde API del paso",fc_summary_response_path:"Ruta de respuesta (notación con puntos)",fc_fields_catalog:"Catálogo de campos",fc_fields_catalog_hint:"Todos los campos usados en el formulario. Edítalos aquí para actualizarlos en todas partes.",fc_fields_add:"Añadir Campo",fc_fields_search:"Buscar campos…",fc_fields_filter_all:"Todos",fc_fields_filter_used:"Usados",fc_fields_filter_unused:"No usados",fc_fields_unused_badge:"No usado",fc_fields_used_in_one:"Usado en {{count}} paso",fc_fields_used_in_many:"Usado en {{count}} pasos",fc_fields_go_to_step:'Ir al paso "{{title}}"',fc_fields_no_fields:"Aún sin campos.",fc_fields_no_match:"Ningún campo coincide con el filtro.",fc_fields_confirm_delete:"¿Eliminar este campo?",fc_init_title:"Valores iniciales",fc_init_subtitle:"Respuestas estáticas precargadas en el runner antes de que el usuario empiece.",fc_init_static:"Valores estáticos",fc_init_add:"Añadir",fc_init_no_values:"Aún sin valores iniciales.",fc_init_prefill:"Precargar desde API",fc_init_prefill_hint:"Obtener respuestas desde un endpoint cuando el runner monta.",fc_init_mapping:"Mapeo (JSON: namespace → response_path)",fc_json_title:"JSON",fc_json_hint:"JourneySpec en bruto (form_config + theme). Edita y haz clic en Importar para aplicar.",fc_json_refresh:"Recargar desde el store",fc_json_copy:"Copiar",fc_json_download:"Descargar",fc_json_import:"Importar",fc_json_imported_ok:"Importado correctamente",fc_json_copied:"Copiado al portapapeles",fc_json_invalid:"JSON no válido",fc_create_field_title:"Añadir campo",fc_create_field_subtitle:"Elige del catálogo o crea un campo personalizado.",fc_create_from_catalog:"Del catálogo ({{count}})",fc_create_custom:"Campo personalizado",fc_create_search_specs:"Buscar specs…",fc_create_no_specs:"Sin specs coincidentes.",fc_create_label_required:"Etiqueta *",fc_create_label_placeholder:"p. ej., Nombre del Cliente",fc_create_namespace:"Namespace",fc_create_namespace_placeholder:"p. ej., customer.name (auto si vacío)",fc_create_schema:"Schema",fc_create_options:"Opciones",fc_create_option_value_placeholder:"valor",fc_create_option_label_placeholder:"Etiqueta",fc_create_cancel:"Cancelar",fc_create_create:"Crear",fc_field_props:"Propiedades del campo",fc_field_no_selected:"Ningún campo seleccionado.",fc_field_label:"Etiqueta *",fc_field_namespace:"Namespace",fc_field_placeholder:"Placeholder",fc_field_help:"Texto de ayuda",fc_field_required:"Obligatorio",fc_field_required_hint:"El usuario debe rellenarlo antes de continuar.",fc_field_actor:"Actor",fc_field_actor_customer:"Cliente",fc_field_actor_operator:"Operador",fc_field_widget:"Widget",fc_field_widget_auto:"Automático",fc_field_widget_text:"Texto",fc_field_widget_textarea:"Área de texto",fc_field_widget_select:"Lista",fc_field_widget_radio:"Radio",fc_field_widget_date:"Fecha",fc_field_widget_time:"Hora",fc_field_widget_datetime:"Fecha y hora",fc_field_widget_currency:"Moneda",fc_field_widget_upload:"Subida",fc_field_widget_email:"Email",fc_field_widget_phone:"Teléfono",fc_field_widget_location:"Ubicación",fc_field_widget_boolean:"Booleano (Sí/No)",fc_field_allow_future:"Permitir fechas futuras",fc_field_allow_future_hint:"Permitir fechas posteriores a hoy.",fc_field_display_style:"Estilo de presentación",fc_field_display_auto:"Automático (radio ≤5, dropdown >5)",fc_field_display_radio:"Lista radio",fc_field_display_dropdown:"Dropdown",fc_field_display_segmented:"Botones segmentados",fc_field_display_hint:"Controla cómo se muestran las opciones en runtime.",fc_field_display_switch:"Switch (toggle)",fc_field_display_yesno:"Segmentado (botones Sí / No)",fc_field_boolean_hint:"Sustituye las etiquetas Sí/No añadiendo 2 opciones debajo (primera = true, segunda = false).",fc_field_options:"Opciones",fc_field_no_options:"Aún sin opciones.",fc_field_upload_validation:"Validación de la subida",fc_field_upload_accept:"Tipos MIME/extensiones aceptados",fc_field_upload_max:"Tamaño máximo (MB)",fc_field_delete:"Eliminar campo",fc_field_done:"Listo",fc_field_confirm_delete:"¿Eliminar este campo del catálogo (y de todas las filas que lo usan)?",theme_button:"Tema",theme_reset:"Restablecer",theme_colors:"Colores",theme_primary:"Primario",theme_background:"Fondo",theme_card:"Tarjeta",theme_foreground:"Texto",theme_color_picker_aria:"Selector de color {{label}}",theme_color_placeholder:"p. ej., 222 47% 11%",theme_color_hint:"Elige un color o escribe un triplet HSL",theme_typography:"Tipografía",theme_heading_font:"Fuente de títulos",theme_body_font:"Fuente del cuerpo",theme_font_default:"Predeterminada",theme_font_size:"Tamaño base de fuente (px)",theme_shape_spacing:"Forma y espaciado",theme_border_radius:"Radio de bordes (rem)",theme_spacing:"Espaciado",theme_spacing_cozy_default:"Cómodo (predeterminado)",theme_spacing_compact:"Compacto",theme_spacing_cozy:"Cómodo",theme_spacing_spacious:"Espacioso",theme_live_preview:"Vista previa",theme_heading_sample:"Ejemplo de título",theme_body_sample:"El veloz murciélago hindú comía feliz cardillo y kiwi. El texto del cuerpo usa la fuente, tamaño y espaciado que elegiste.",theme_input_sample:"Input de ejemplo",theme_primary_action:"Acción primaria",runner_toast_required_fields:"Completa los campos obligatorios.",runner_toast_api_failed:"La llamada a la API falló.",runner_toast_answers_copied:"¡Respuestas copiadas al portapapeles!",runner_toast_partial_saved:"Respuestas parciales guardadas (registradas).",runner_toast_file_uploaded:"Subido {{name}} para {{key}}",runner_loading_preview:"Cargando vista previa…",runner_no_form:"Ningún formulario configurado.",runner_back_to_builder:"Volver al constructor",runner_preset_full:"Completo",runner_iframe_title:"Vista previa del formulario",import_invalid_json:"JSON inválido: no se pudo analizar la entrada.",import_success:"Journey importada con éxito",import_clipboard_failed:"No se pudo leer el portapapeles",shortcut_selected_nodes_one:"{{count}} nodo seleccionado",shortcut_selected_nodes_other:"{{count}} nodos seleccionados",shortcut_deleted:"Eliminado",shortcut_undo:"Deshacer",shortcut_redo:"Rehacer",shortcut_copied:"Copiado al portapapeles",shortcut_pasted:"Pegado",shortcut_duplicated:"Duplicado"},H_={back:"Voltar",next:"Seguinte",reset:"Reiniciar",cancel:"Cancelar",submit:"Submeter",save:"Guardar",delete:"Eliminar",close:"Fechar",empty:"(vazio)",path:"Caminho",unknown:"Desconhecido",runner_title:"Formulário",runner_save_exit:"Guardar e Sair",runner_ready_title:"Antes de começar, garanta que tem os seguintes dados:",runner_onboarding_subtitle:"Antes de começar, garanta que tem os seguintes dados:",runner_onboarding_line1:"Antes de começar, tenha consigo as informações relevantes sobre o ocorrido.",runner_onboarding_line2:"Poderemos pedir alguns detalhes, como a descrição, data, local ou documentos de apoio.",runner_onboarding_photos:"Fotos do incidente (dano, local, contexto)",runner_onboarding_documents:"Documentos relevantes (apólice, identificação, etc.)",runner_onboarding_datetime:"Data e hora do ocorrido",runner_onboarding_location:"Localização",runner_onboarding_description:"Descrição breve do que aconteceu",runner_start_claim:"Começar participação",runner_review_title:"Reveja as suas respostas",runner_no_answers:"Nenhuma resposta registada.",runner_review:"Rever",runner_step:"Passo {{step}}/{{total}}",runner_no_journey:"Ainda não foi criado nenhum percurso.",runner_no_data:"Dados do percurso indisponíveis.",builder_title:"Construtor de Percursos",builder_read_only:"Só Leitura",builder_publish:"Publicar",builder_unlock_edit:"Desbloquear Edição",builder_open_runner:"Abrir Formulário",builder_auto_layout:"Disposição Auto",builder_export_json:"Exportar JSON",builder_export_copied:"Especificação copiada para a área de transferência",specs_title:"Propriedades",specs_search_placeholder:"Pesquisar...",specs_filter_all:"Todos os Tipos",specs_create_custom:"Criar Campo Personalizado",specs_count:"{{filtered}} de {{total}} propriedades",specs_no_results:"Nenhuma propriedade encontrada",props_select_hint:"Selecione um nó ou aresta para editar",props_drag_hint:"Arraste propriedades do painel esquerdo para a tela para criar nós",node_props_title:"Propriedades do Nó",node_schema_type:"Tipo de Schema",node_source_spec:"ID da Propriedade",node_namespace:"Namespace",node_required:"Obrigatório",node_required_hint:"Bloquear navegação se vazio",node_original_label:"Etiqueta Original",node_label_override:"Etiqueta Personalizada (opcional)",node_label_override_placeholder:"Etiqueta personalizada…",node_actor:"Ator",node_actor_customer:"Cliente",node_actor_operator:"Operador",node_widget:"Widget",node_widget_auto:"Automático (do schema)",node_widget_text:"Campo de Texto",node_widget_textarea:"Área de Texto",node_widget_select:"Lista Suspensa",node_widget_radio:"Grupo de Rádio",node_widget_datepicker:"Seletor de Data",node_widget_timepicker:"Seletor de Hora",node_widget_datetimepicker:"Seletor de Data e Hora",node_widget_currency:"Campo Monetário",node_widget_upload:"Carregamento de Ficheiro",node_widget_email:"Email",node_widget_phone:"Telefone",node_widget_location:"Localização",node_allow_future:"Permitir datas futuras",node_allow_future_hint:"Quando desativado, só permite datas passadas ou hoje",node_bindings_title:"Ligações",node_bindings_target:"Namespace Destino",node_bindings_add:"Adicionar Binding",node_delete:"Eliminar Nó",node_options_title:"Opções",upload_config_title:"Configuração de Upload",upload_file_type_preset:"Tipo de ficheiro",upload_any_file:"Qualquer ficheiro",upload_images_only:"Apenas imagens",upload_documents_only:"Apenas documentos",upload_images_pdf:"Imagens + PDFs",upload_custom:"Personalizado",upload_accepted_types:"Tipos aceites (personalizado)",upload_accepted_types_placeholder:"ex: image/*,.pdf",upload_max_size:"Tamanho máximo (MB)",upload_max_size_placeholder:"ex: 10",edge_props_title:"Propriedades da Aresta",edge_connection:"Ligação",edge_default:"Aresta Padrão",edge_default_hint:"Usada quando nenhuma outra condição coincide",edge_priority:"Prioridade",edge_priority_hint:"Arestas com maior prioridade são avaliadas primeiro",edge_quick_pick:"Seleção rápida das opções:",edge_condition:"Condição",edge_visual:"Visual",edge_advanced:"Avançado",edge_json_logic:"Condição JSON Logic",edge_delete:"Eliminar Aresta",preview_title:"Pré-visualização",preview_step_of:"Passo {{current}} de {{total}}",preview_start:"Iniciar Pré-visualização",preview_add_nodes_hint:"Adicione nós à tela para pré-visualizar o fluxo.",preview_start_hint:'Clique em "Iniciar Pré-visualização" para testar o fluxo interativamente.',preview_no_node:"Nenhum nó selecionado.",preview_required_hint:"Este campo é obrigatório",preview_validation_hint:"Corrija os erros de validação primeiro",import_title:"Importar Especificação",import_description:"Carregue um ficheiro JSON ou cole o JSON para popular a tela.",import_paste_tab:"Colar JSON",import_upload_tab:"Carregar Ficheiro",import_paste_clipboard:"Colar da Área de Transferência",import_placeholder:'{"journey_id": "...", "nodes": [...], "edges": [...]}',import_button:"Importar",import_validation_errors:"Erros de validação:",validation_title:"Validação do Grafo",validation_no_issues:"Sem problemas encontrados",validation_issue_count:"{{count}} problema{{plural}} encontrado{{plural}}",validation_good:"O grafo está correto!",validation_no_issues_actor:"Sem problemas",validation_validate:"Validar",create_node_title:"Criar Campo Personalizado",create_node_label:"Etiqueta *",create_node_label_placeholder:"Introduza uma etiqueta",create_node_namespace:"Namespace",create_node_namespace_hint:"Gerado automaticamente a partir da etiqueta.",create_node_schema:"Tipo de Schema",upload_drag_drop:"Arraste e largue um ficheiro aqui, ou clique para selecionar",upload_uploading:"A carregar…",widget_unknown_schema:"Tipo de schema desconhecido: {{schema}}",widget_yes:"Sim",widget_no:"Não",widget_no_widget:"Nenhum widget disponível para este tipo de campo.",widget_no_options:"Nenhuma opção configurada para este campo de seleção.",widget_pick_date:"Selecionar data",widget_invalid_date:"Introduza uma data válida",widget_pick_time:"Selecionar hora",widget_select_option:"Selecionar uma opção...",widget_search_country:"Pesquisar país...",widget_no_country:"País não encontrado.",widget_invalid_phone:"Introduza um número de telefone válido",widget_invalid_email:"Introduza um e-mail válido",widget_file_too_large:"O ficheiro excede o limite de {{max}} MB ({{size}} MB)",widget_file_type_rejected:"Tipo de ficheiro não aceite. Permitidos: {{accept}}",widget_upload_failed:"Falha ao carregar",widget_accepted_hint:"Aceites: {{accept}}",widget_max_size_hint:"Máx {{max}} MB",location_placeholder:"Comece a digitar um endereço…",location_no_api_key:"É necessária uma chave de API do Google Maps para o widget de localização.",placeholder_text:"Inserir…",placeholder_select:"Selecionar…",placeholder_currency:"0,00",placeholder_phone:"555 000 0000",placeholder_email:"email@exemplo.com",placeholder_date:"Selecionar data…",not_found_title:"404",not_found_message:"Página não encontrada",not_found_link:"Voltar ao Início",runner_page_back:"Construtor",fc_title:"Configurador de Formulário",fc_read_only:"Só leitura",fc_undo:"Desfazer",fc_redo:"Refazer",fc_preview_form:"Pré-visualizar",fc_save:"Guardar",fc_publish:"Publicar",fc_unlock_edit:"Desbloquear edição",fc_tab_steps:"Passos",fc_tab_fields:"Campos",fc_tab_init:"Inicialização",fc_tab_json:"JSON",fc_form_steps:"Passos do Formulário",fc_add_step:"Adicionar Passo",fc_step_untitled:"(sem título)",fc_step_meta:"{{rows}} linhas, {{fields}} campos",fc_no_steps:"Ainda sem passos.",fc_no_steps_hint_click:"Clique em",fc_no_steps_hint_to_begin:"para começar.",fc_confirm_delete_step:"Eliminar este passo?",fc_step_empty_select:"Selecione um passo à esquerda.",fc_step_empty_create:"Adicione um passo no painel à esquerda para começar.",fc_step_title_label:"Título do Passo",fc_step_title_placeholder:"Título do passo",fc_step_description_label:"Descrição",fc_step_description_placeholder:"Opcional",fc_add_row:"Adicionar Linha",fc_row_n:"Linha {{n}}",fc_layout_horizontal:"Horizontal",fc_layout_vertical:"Vertical",fc_confirm_delete_row:"Eliminar esta linha?",fc_add_field_btn:"Adicionar campo",fc_no_fields:"Sem campos.",fc_edit:"Editar",fc_remove_from_row:"Remover da linha",fc_nav_title:"Navegação do Passo",fc_nav_api_call:"Chamada API ao continuar",fc_nav_api_call_hint:"Executada antes de avaliar as regras.",fc_nav_body_template:"Template do body (JSON)",fc_nav_body_template_hint_prefix:"Use tokens",fc_nav_body_template_hint_suffix:".",fc_nav_on_error:"Em caso de erro",fc_nav_on_error_block:"Bloquear — permanece neste passo",fc_nav_on_error_continue:"Continuar — avalia as regras na mesma",fc_nav_on_error_goto:"Ir para: {{step}}",fc_nav_on_error_summary:"Ir para: Resumo",fc_nav_on_error_hint:"O que acontece se a chamada falhar ou a rede cair.",fc_nav_continue_button:"Botão continuar",fc_nav_continue_placeholder:"Continuar",fc_nav_rules:"Regras de navegação",fc_nav_add_rule:"Adicionar regra",fc_nav_rules_hint:'Regras avaliadas por ordem. Vence a primeira. Use "sempre" como último fallback.',fc_nav_rule_n:"Regra {{n}}",fc_nav_has_condition:"Tem condição",fc_nav_go_to:"Ir para",fc_nav_submit_form:"— Submeter formulário —",fc_nav_field_requires_value:'O campo "{{label}}" requer um valor.',fc_summary_panel:"Painel de Resumo",fc_summary_title_label:"Título do Resumo",fc_summary_sections:"Secções",fc_summary_add_section:"Adicionar Secção",fc_summary_section_title_placeholder:"Título da secção",fc_summary_visible_from:"Visível a partir do passo",fc_summary_until_step:"Até ao passo (opcional)",fc_summary_all_steps:"Todos os passos",fc_summary_step_n:"Passo {{n}}",fc_summary_display_fields:"Campos a Mostrar",fc_summary_add:"Adicionar",fc_summary_no_display_fields:"Ainda sem campos a mostrar.",fc_summary_no_sections:"Ainda sem secções.",fc_summary_confirm_delete_section:"Eliminar esta secção?",fc_summary_source:"Origem",fc_summary_source_form_field:"Campo do Formulário",fc_summary_source_api_response:"Resposta da API",fc_summary_format:"Formato",fc_summary_format_text:"Texto",fc_summary_format_number:"Número",fc_summary_format_currency:"Moeda",fc_summary_format_date:"Data",fc_summary_format_datetime:"Data e Hora",fc_summary_display_label:"Etiqueta",fc_summary_display_label_placeholder:"Etiqueta a apresentar",fc_summary_field:"Campo",fc_summary_select:"Selecionar…",fc_summary_from_step_api:"Do API do passo",fc_summary_response_path:"Caminho da resposta (notação por pontos)",fc_fields_catalog:"Catálogo de campos",fc_fields_catalog_hint:"Todos os campos usados no formulário. Editar aqui atualiza-os em todo o lado.",fc_fields_add:"Adicionar Campo",fc_fields_search:"Pesquisar campos…",fc_fields_filter_all:"Todos",fc_fields_filter_used:"Usados",fc_fields_filter_unused:"Não usados",fc_fields_unused_badge:"Não usado",fc_fields_used_in_one:"Usado em {{count}} passo",fc_fields_used_in_many:"Usado em {{count}} passos",fc_fields_go_to_step:'Ir para o passo "{{title}}"',fc_fields_no_fields:"Ainda sem campos.",fc_fields_no_match:"Nenhum campo corresponde ao filtro.",fc_fields_confirm_delete:"Eliminar este campo?",fc_init_title:"Valores iniciais",fc_init_subtitle:"Respostas estáticas pré-carregadas no runner antes do utilizador começar.",fc_init_static:"Valores estáticos",fc_init_add:"Adicionar",fc_init_no_values:"Ainda sem valores iniciais.",fc_init_prefill:"Pré-preencher a partir de API",fc_init_prefill_hint:"Obter respostas de um endpoint quando o runner monta.",fc_init_mapping:"Mapeamento (JSON: namespace → response_path)",fc_json_title:"JSON",fc_json_hint:"JourneySpec em bruto (form_config + theme). Edite e clique em Importar para aplicar.",fc_json_refresh:"Recarregar do store",fc_json_copy:"Copiar",fc_json_download:"Descarregar",fc_json_import:"Importar",fc_json_imported_ok:"Importado com sucesso",fc_json_copied:"Copiado para a área de transferência",fc_json_invalid:"JSON inválido",fc_create_field_title:"Adicionar campo",fc_create_field_subtitle:"Escolha do catálogo ou crie um campo personalizado.",fc_create_from_catalog:"Do catálogo ({{count}})",fc_create_custom:"Campo personalizado",fc_create_search_specs:"Pesquisar specs…",fc_create_no_specs:"Sem specs correspondentes.",fc_create_label_required:"Etiqueta *",fc_create_label_placeholder:"ex.: Nome do Cliente",fc_create_namespace:"Namespace",fc_create_namespace_placeholder:"ex.: customer.name (automático se vazio)",fc_create_schema:"Schema",fc_create_options:"Opções",fc_create_option_value_placeholder:"valor",fc_create_option_label_placeholder:"Etiqueta",fc_create_cancel:"Cancelar",fc_create_create:"Criar",fc_field_props:"Propriedades do campo",fc_field_no_selected:"Nenhum campo selecionado.",fc_field_label:"Etiqueta *",fc_field_namespace:"Namespace",fc_field_placeholder:"Placeholder",fc_field_help:"Texto de ajuda",fc_field_required:"Obrigatório",fc_field_required_hint:"O utilizador tem de preencher antes de continuar.",fc_field_actor:"Ator",fc_field_actor_customer:"Cliente",fc_field_actor_operator:"Operador",fc_field_widget:"Widget",fc_field_widget_auto:"Automático",fc_field_widget_text:"Texto",fc_field_widget_textarea:"Área de texto",fc_field_widget_select:"Lista",fc_field_widget_radio:"Radio",fc_field_widget_date:"Data",fc_field_widget_time:"Hora",fc_field_widget_datetime:"Data e Hora",fc_field_widget_currency:"Moeda",fc_field_widget_upload:"Upload",fc_field_widget_email:"Email",fc_field_widget_phone:"Telefone",fc_field_widget_location:"Localização",fc_field_widget_boolean:"Booleano (Sim/Não)",fc_field_allow_future:"Permitir datas futuras",fc_field_allow_future_hint:"Permitir datas após hoje.",fc_field_display_style:"Estilo de apresentação",fc_field_display_auto:"Automático (radio ≤5, dropdown >5)",fc_field_display_radio:"Lista radio",fc_field_display_dropdown:"Dropdown",fc_field_display_segmented:"Botões segmentados",fc_field_display_hint:"Controla como as opções aparecem em runtime.",fc_field_display_switch:"Switch (toggle)",fc_field_display_yesno:"Segmentado (botões Sim / Não)",fc_field_boolean_hint:"Substitua as etiquetas Sim/Não adicionando 2 opções abaixo (primeira = true, segunda = false).",fc_field_options:"Opções",fc_field_no_options:"Ainda sem opções.",fc_field_upload_validation:"Validação do upload",fc_field_upload_accept:"Tipos MIME/extensões aceites",fc_field_upload_max:"Tamanho máximo (MB)",fc_field_delete:"Eliminar campo",fc_field_done:"Concluído",fc_field_confirm_delete:"Eliminar este campo do catálogo (e de todas as linhas que o usam)?",theme_button:"Tema",theme_reset:"Repor",theme_colors:"Cores",theme_primary:"Primária",theme_background:"Fundo",theme_card:"Cartão",theme_foreground:"Texto",theme_color_picker_aria:"Seletor de cor {{label}}",theme_color_placeholder:"ex.: 222 47% 11%",theme_color_hint:"Escolha uma cor ou escreva um triplet HSL",theme_typography:"Tipografia",theme_heading_font:"Fonte dos títulos",theme_body_font:"Fonte do corpo",theme_font_default:"Predefinido",theme_font_size:"Tamanho base da fonte (px)",theme_shape_spacing:"Forma e espaçamento",theme_border_radius:"Raio das bordas (rem)",theme_spacing:"Espaçamento",theme_spacing_cozy_default:"Cómodo (predefinido)",theme_spacing_compact:"Compacto",theme_spacing_cozy:"Cómodo",theme_spacing_spacious:"Espaçoso",theme_live_preview:"Pré-visualização",theme_heading_sample:"Exemplo de título",theme_body_sample:"A rápida raposa castanha salta sobre o cão preguiçoso. O texto do corpo usa a fonte, tamanho e espaçamento que escolheu.",theme_input_sample:"Input de exemplo",theme_primary_action:"Ação primária",runner_toast_required_fields:"Preencha os campos obrigatórios.",runner_toast_api_failed:"A chamada à API falhou.",runner_toast_answers_copied:"Respostas copiadas para a área de transferência!",runner_toast_partial_saved:"Respostas parciais guardadas (registadas).",runner_toast_file_uploaded:"Enviado {{name}} para {{key}}",runner_loading_preview:"A carregar pré-visualização…",runner_no_form:"Nenhum formulário configurado.",runner_back_to_builder:"Voltar ao construtor",runner_preset_full:"Total",runner_iframe_title:"Pré-visualização do formulário",import_invalid_json:"JSON inválido: não foi possível analisar a entrada.",import_success:"Journey importada com sucesso",import_clipboard_failed:"Não foi possível ler a área de transferência",shortcut_selected_nodes_one:"{{count}} nó selecionado",shortcut_selected_nodes_other:"{{count}} nós selecionados",shortcut_deleted:"Eliminado",shortcut_undo:"Desfazer",shortcut_redo:"Refazer",shortcut_copied:"Copiado para a área de transferência",shortcut_pasted:"Colado",shortcut_duplicated:"Duplicado"},Y_={back:"Wstecz",next:"Dalej",reset:"Resetuj",cancel:"Anuluj",submit:"Wyślij",save:"Zapisz",delete:"Usuń",close:"Zamknij",empty:"(puste)",path:"Ścieżka",unknown:"Nieznany",runner_title:"Formularz",runner_save_exit:"Zapisz i wyjdź",runner_ready_title:"Zanim zaczniesz, upewnij się, że masz następujące dane:",runner_onboarding_subtitle:"Zanim zaczniesz, upewnij się, że masz następujące dane:",runner_onboarding_line1:"Zanim zaczniesz, przygotuj odpowiednie informacje o zdarzeniu.",runner_onboarding_line2:"Możemy poprosić o szczegóły, takie jak opis, datę, miejsce lub dokumenty pomocnicze.",runner_onboarding_photos:"Zdjęcia incydentu (szkoda, miejsce, kontekst)",runner_onboarding_documents:"Istotne dokumenty (polisa, dowód tożsamości itp.)",runner_onboarding_datetime:"Data i godzina zdarzenia",runner_onboarding_location:"Lokalizacja",runner_onboarding_description:"Krótki opis tego, co się wydarzyło",runner_start_claim:"Rozpocznij zgłoszenie",runner_review_title:"Przejrzyj swoje odpowiedzi",runner_no_answers:"Brak zarejestrowanych odpowiedzi.",runner_review:"Przegląd",runner_step:"Krok {{step}}/{{total}}",runner_no_journey:"Nie utworzono jeszcze żadnej ścieżki.",runner_no_data:"Dane ścieżki niedostępne.",builder_title:"Kreator ścieżek",builder_read_only:"Tylko do odczytu",builder_publish:"Publikuj",builder_unlock_edit:"Odblokuj edycję",builder_open_runner:"Otwórz formularz",builder_auto_layout:"Auto-układ",builder_export_json:"Eksportuj JSON",builder_export_copied:"Specyfikacja skopiowana do schowka",specs_title:"Właściwości",specs_search_placeholder:"Szukaj...",specs_filter_all:"Wszystkie typy",specs_create_custom:"Utwórz pole niestandardowe",specs_count:"{{filtered}} z {{total}} właściwości",specs_no_results:"Nie znaleziono właściwości",props_select_hint:"Wybierz węzeł lub krawędź do edycji",props_drag_hint:"Przeciągnij właściwości z lewego panelu na płótno, aby utworzyć węzły",node_props_title:"Właściwości węzła",node_schema_type:"Typ schematu",node_source_spec:"ID właściwości",node_namespace:"Namespace",node_required:"Wymagane",node_required_hint:"Blokuj nawigację, jeśli puste",node_original_label:"Oryginalna etykieta",node_label_override:"Etykieta niestandardowa (opcjonalna)",node_label_override_placeholder:"Etykieta niestandardowa…",node_actor:"Aktor",node_actor_customer:"Klient",node_actor_operator:"Operator",node_widget:"Widżet",node_widget_auto:"Automatyczny (ze schematu)",node_widget_text:"Pole tekstowe",node_widget_textarea:"Obszar tekstowy",node_widget_select:"Lista rozwijana",node_widget_radio:"Grupa radio",node_widget_datepicker:"Wybór daty",node_widget_timepicker:"Wybór godziny",node_widget_datetimepicker:"Wybór daty i godziny",node_widget_currency:"Pole walutowe",node_widget_upload:"Przesyłanie pliku",node_widget_email:"E-mail",node_widget_phone:"Telefon",node_widget_location:"Lokalizacja",node_allow_future:"Zezwól na przyszłe daty",node_allow_future_hint:"Gdy wyłączone, zezwala tylko na daty z przeszłości lub dzisiaj",node_bindings_title:"Powiązania",node_bindings_target:"Docelowy namespace",node_bindings_add:"Dodaj powiązanie",node_delete:"Usuń węzeł",node_options_title:"Opcje",upload_config_title:"Konfiguracja przesyłania",upload_file_type_preset:"Typ pliku",upload_any_file:"Dowolny plik",upload_images_only:"Tylko obrazy",upload_documents_only:"Tylko dokumenty",upload_images_pdf:"Obrazy + PDF",upload_custom:"Niestandardowy",upload_accepted_types:"Akceptowane typy (niestandardowe)",upload_accepted_types_placeholder:"np.: image/*,.pdf",upload_max_size:"Maksymalny rozmiar (MB)",upload_max_size_placeholder:"np.: 10",edge_props_title:"Właściwości krawędzi",edge_connection:"Połączenie",edge_default:"Krawędź domyślna",edge_default_hint:"Używana, gdy żaden inny warunek nie jest spełniony",edge_priority:"Priorytet",edge_priority_hint:"Krawędzie o wyższym priorytecie są oceniane jako pierwsze",edge_quick_pick:"Szybki wybór opcji:",edge_condition:"Warunek",edge_visual:"Wizualny",edge_advanced:"Zaawansowany",edge_json_logic:"Warunek JSON Logic",edge_delete:"Usuń krawędź",preview_title:"Podgląd",preview_step_of:"Krok {{current}} z {{total}}",preview_start:"Rozpocznij podgląd",preview_add_nodes_hint:"Dodaj węzły do płótna, aby wyświetlić podgląd przepływu.",preview_start_hint:"Kliknij „Rozpocznij podgląd”, aby interaktywnie przetestować przepływ.",preview_no_node:"Nie wybrano węzła.",preview_required_hint:"To pole jest wymagane",preview_validation_hint:"Najpierw popraw błędy walidacji",import_title:"Importuj specyfikację",import_description:"Wgraj plik JSON lub wklej JSON, aby wypełnić płótno.",import_paste_tab:"Wklej JSON",import_upload_tab:"Wgraj plik",import_paste_clipboard:"Wklej ze schowka",import_placeholder:'{"journey_id": "...", "nodes": [...], "edges": [...]}',import_button:"Importuj",import_validation_errors:"Błędy walidacji:",validation_title:"Walidacja grafu",validation_no_issues:"Nie znaleziono problemów",validation_issue_count:"Znaleziono {{count}} problem{{plural}}",validation_good:"Graf jest poprawny!",validation_no_issues_actor:"Brak problemów",validation_validate:"Waliduj",create_node_title:"Utwórz pole niestandardowe",create_node_label:"Etykieta *",create_node_label_placeholder:"Wprowadź etykietę",create_node_namespace:"Namespace",create_node_namespace_hint:"Generowany automatycznie z etykiety.",create_node_schema:"Typ schematu",upload_drag_drop:"Przeciągnij i upuść plik tutaj lub kliknij, aby wybrać",upload_uploading:"Przesyłanie…",widget_unknown_schema:"Nieznany typ schematu: {{schema}}",widget_yes:"Tak",widget_no:"Nie",widget_no_widget:"Brak dostępnego widżetu dla tego typu pola.",widget_no_options:"Brak skonfigurowanych opcji dla tego pola wyboru.",widget_pick_date:"Wybierz datę",widget_invalid_date:"Wprowadź prawidłową datę",widget_pick_time:"Wybierz godzinę",widget_select_option:"Wybierz opcję...",widget_search_country:"Szukaj kraju...",widget_no_country:"Nie znaleziono kraju.",widget_invalid_phone:"Wprowadź prawidłowy numer telefonu",widget_invalid_email:"Wprowadź prawidłowy e-mail",widget_file_too_large:"Plik przekracza limit {{max}} MB ({{size}} MB)",widget_file_type_rejected:"Typ pliku nie jest akceptowany. Dozwolone: {{accept}}",widget_upload_failed:"Przesyłanie nie powiodło się",widget_accepted_hint:"Akceptowane: {{accept}}",widget_max_size_hint:"Maks. {{max}} MB",location_placeholder:"Zacznij wpisywać adres…",location_no_api_key:"Klucz API Google Maps jest wymagany dla widżetu lokalizacji.",placeholder_text:"Wpisz…",placeholder_select:"Wybierz…",placeholder_currency:"0,00",placeholder_phone:"555 000 0000",placeholder_email:"email@przyklad.pl",placeholder_date:"Wybierz datę…",not_found_title:"404",not_found_message:"Strona nie znaleziona",not_found_link:"Powrót do strony głównej",runner_page_back:"Kreator",fc_title:"Konfigurator Formularza",fc_read_only:"Tylko do odczytu",fc_undo:"Cofnij",fc_redo:"Ponów",fc_preview_form:"Podgląd",fc_save:"Zapisz",fc_publish:"Opublikuj",fc_unlock_edit:"Odblokuj edycję",fc_tab_steps:"Kroki",fc_tab_fields:"Pola",fc_tab_init:"Inicjalizacja",fc_tab_json:"JSON",fc_form_steps:"Kroki Formularza",fc_add_step:"Dodaj Krok",fc_step_untitled:"(bez tytułu)",fc_step_meta:"{{rows}} wierszy, {{fields}} pól",fc_no_steps:"Brak kroków.",fc_no_steps_hint_click:"Kliknij",fc_no_steps_hint_to_begin:"aby rozpocząć.",fc_confirm_delete_step:"Usunąć ten krok?",fc_step_empty_select:"Wybierz krok po lewej.",fc_step_empty_create:"Dodaj krok z lewego panelu, aby rozpocząć.",fc_step_title_label:"Tytuł kroku",fc_step_title_placeholder:"Tytuł kroku",fc_step_description_label:"Opis",fc_step_description_placeholder:"Opcjonalnie",fc_add_row:"Dodaj wiersz",fc_row_n:"Wiersz {{n}}",fc_layout_horizontal:"Poziomy",fc_layout_vertical:"Pionowy",fc_confirm_delete_row:"Usunąć ten wiersz?",fc_add_field_btn:"Dodaj pole",fc_no_fields:"Brak pól.",fc_edit:"Edytuj",fc_remove_from_row:"Usuń z wiersza",fc_nav_title:"Nawigacja kroku",fc_nav_api_call:"Wywołanie API przy kontynuacji",fc_nav_api_call_hint:"Wykonywane przed oceną reguł.",fc_nav_body_template:"Szablon body (JSON)",fc_nav_body_template_hint_prefix:"Użyj tokenów",fc_nav_body_template_hint_suffix:".",fc_nav_on_error:"W przypadku błędu",fc_nav_on_error_block:"Zablokuj — pozostań na tym kroku",fc_nav_on_error_continue:"Kontynuuj — oceń reguły mimo to",fc_nav_on_error_goto:"Przejdź do: {{step}}",fc_nav_on_error_summary:"Przejdź do: Podsumowanie",fc_nav_on_error_hint:"Co się dzieje, jeśli wywołanie się nie powiedzie lub sieć padnie.",fc_nav_continue_button:"Przycisk kontynuacji",fc_nav_continue_placeholder:"Kontynuuj",fc_nav_rules:"Reguły nawigacji",fc_nav_add_rule:"Dodaj regułę",fc_nav_rules_hint:'Reguły oceniane po kolei. Wygrywa pierwsza. Użyj "zawsze" jako ostatniej.',fc_nav_rule_n:"Reguła {{n}}",fc_nav_has_condition:"Ma warunek",fc_nav_go_to:"Przejdź do",fc_nav_submit_form:"— Wyślij formularz —",fc_nav_field_requires_value:'Pole "{{label}}" wymaga wartości.',fc_summary_panel:"Panel podsumowania",fc_summary_title_label:"Tytuł podsumowania",fc_summary_sections:"Sekcje",fc_summary_add_section:"Dodaj sekcję",fc_summary_section_title_placeholder:"Tytuł sekcji",fc_summary_visible_from:"Widoczna od kroku",fc_summary_until_step:"Do kroku (opcjonalne)",fc_summary_all_steps:"Wszystkie kroki",fc_summary_step_n:"Krok {{n}}",fc_summary_display_fields:"Pola do wyświetlenia",fc_summary_add:"Dodaj",fc_summary_no_display_fields:"Brak pól do wyświetlenia.",fc_summary_no_sections:"Brak sekcji.",fc_summary_confirm_delete_section:"Usunąć tę sekcję?",fc_summary_source:"Źródło",fc_summary_source_form_field:"Pole formularza",fc_summary_source_api_response:"Odpowiedź API",fc_summary_format:"Format",fc_summary_format_text:"Tekst",fc_summary_format_number:"Liczba",fc_summary_format_currency:"Waluta",fc_summary_format_date:"Data",fc_summary_format_datetime:"Data i godzina",fc_summary_display_label:"Etykieta",fc_summary_display_label_placeholder:"Etykieta do wyświetlenia",fc_summary_field:"Pole",fc_summary_select:"Wybierz…",fc_summary_from_step_api:"Z API kroku",fc_summary_response_path:"Ścieżka odpowiedzi (notacja z kropkami)",fc_fields_catalog:"Katalog pól",fc_fields_catalog_hint:"Wszystkie pola używane w formularzu. Edycja tutaj aktualizuje wszędzie.",fc_fields_add:"Dodaj pole",fc_fields_search:"Szukaj pól…",fc_fields_filter_all:"Wszystkie",fc_fields_filter_used:"Używane",fc_fields_filter_unused:"Nieużywane",fc_fields_unused_badge:"Nieużywane",fc_fields_used_in_one:"Używane w {{count}} kroku",fc_fields_used_in_many:"Używane w {{count}} krokach",fc_fields_go_to_step:'Przejdź do kroku "{{title}}"',fc_fields_no_fields:"Brak pól.",fc_fields_no_match:"Żadne pole nie pasuje do filtra.",fc_fields_confirm_delete:"Usunąć to pole?",fc_init_title:"Wartości początkowe",fc_init_subtitle:"Statyczne odpowiedzi wstępnie wczytane do runnera przed rozpoczęciem.",fc_init_static:"Wartości statyczne",fc_init_add:"Dodaj",fc_init_no_values:"Brak wartości początkowych.",fc_init_prefill:"Wstępne wypełnienie z API",fc_init_prefill_hint:"Pobierz odpowiedzi z endpointu przy montowaniu runnera.",fc_init_mapping:"Mapowanie (JSON: namespace → response_path)",fc_json_title:"JSON",fc_json_hint:"Surowy JourneySpec (form_config + theme). Edytuj i kliknij Importuj, aby zastosować.",fc_json_refresh:"Odśwież ze store",fc_json_copy:"Kopiuj",fc_json_download:"Pobierz",fc_json_import:"Importuj",fc_json_imported_ok:"Zaimportowano pomyślnie",fc_json_copied:"Skopiowano do schowka",fc_json_invalid:"Nieprawidłowy JSON",fc_create_field_title:"Dodaj pole",fc_create_field_subtitle:"Wybierz z katalogu lub utwórz pole niestandardowe.",fc_create_from_catalog:"Z katalogu ({{count}})",fc_create_custom:"Pole niestandardowe",fc_create_search_specs:"Szukaj specs…",fc_create_no_specs:"Brak pasujących specs.",fc_create_label_required:"Etykieta *",fc_create_label_placeholder:"np. Nazwa klienta",fc_create_namespace:"Namespace",fc_create_namespace_placeholder:"np. customer.name (automatycznie jeśli puste)",fc_create_schema:"Schema",fc_create_options:"Opcje",fc_create_option_value_placeholder:"wartość",fc_create_option_label_placeholder:"Etykieta",fc_create_cancel:"Anuluj",fc_create_create:"Utwórz",fc_field_props:"Właściwości pola",fc_field_no_selected:"Nie wybrano pola.",fc_field_label:"Etykieta *",fc_field_namespace:"Namespace",fc_field_placeholder:"Placeholder",fc_field_help:"Tekst pomocy",fc_field_required:"Wymagane",fc_field_required_hint:"Użytkownik musi wypełnić przed kontynuacją.",fc_field_actor:"Aktor",fc_field_actor_customer:"Klient",fc_field_actor_operator:"Operator",fc_field_widget:"Widget",fc_field_widget_auto:"Automatyczny",fc_field_widget_text:"Tekst",fc_field_widget_textarea:"Pole tekstowe",fc_field_widget_select:"Lista",fc_field_widget_radio:"Radio",fc_field_widget_date:"Data",fc_field_widget_time:"Godzina",fc_field_widget_datetime:"Data i godzina",fc_field_widget_currency:"Waluta",fc_field_widget_upload:"Załącznik",fc_field_widget_email:"Email",fc_field_widget_phone:"Telefon",fc_field_widget_location:"Lokalizacja",fc_field_widget_boolean:"Boolean (Tak/Nie)",fc_field_allow_future:"Zezwól na przyszłe daty",fc_field_allow_future_hint:"Zezwól na daty po dzisiejszej.",fc_field_display_style:"Styl wyświetlania",fc_field_display_auto:"Auto (radio ≤5, dropdown >5)",fc_field_display_radio:"Lista radio",fc_field_display_dropdown:"Dropdown",fc_field_display_segmented:"Przyciski segmentowane",fc_field_display_hint:"Kontroluje wygląd opcji w runtime.",fc_field_display_switch:"Switch (przełącznik)",fc_field_display_yesno:"Segmentowany (przyciski Tak / Nie)",fc_field_boolean_hint:"Nadpisz etykiety Tak/Nie dodając 2 opcje poniżej (pierwsza = true, druga = false).",fc_field_options:"Opcje",fc_field_no_options:"Brak opcji.",fc_field_upload_validation:"Walidacja załącznika",fc_field_upload_accept:"Akceptowane typy MIME/rozszerzenia",fc_field_upload_max:"Maksymalny rozmiar (MB)",fc_field_delete:"Usuń pole",fc_field_done:"Gotowe",fc_field_confirm_delete:"Usunąć to pole z katalogu (i ze wszystkich wierszy, które go używają)?",theme_button:"Motyw",theme_reset:"Resetuj",theme_colors:"Kolory",theme_primary:"Podstawowy",theme_background:"Tło",theme_card:"Karta",theme_foreground:"Tekst",theme_color_picker_aria:"Wybór koloru {{label}}",theme_color_placeholder:"np. 222 47% 11%",theme_color_hint:"Wybierz kolor lub wpisz triplet HSL",theme_typography:"Typografia",theme_heading_font:"Czcionka nagłówków",theme_body_font:"Czcionka treści",theme_font_default:"Domyślna",theme_font_size:"Bazowy rozmiar czcionki (px)",theme_shape_spacing:"Kształt i odstępy",theme_border_radius:"Promień zaokrąglenia (rem)",theme_spacing:"Odstępy",theme_spacing_cozy_default:"Komfortowe (domyślne)",theme_spacing_compact:"Kompaktowe",theme_spacing_cozy:"Komfortowe",theme_spacing_spacious:"Przestronne",theme_live_preview:"Podgląd na żywo",theme_heading_sample:"Przykładowy nagłówek",theme_body_sample:"Zażółć gęślą jaźń. Tekst treści używa wybranej czcionki, rozmiaru i odstępów.",theme_input_sample:"Przykładowe pole",theme_primary_action:"Akcja podstawowa",runner_toast_required_fields:"Wypełnij wymagane pola.",runner_toast_api_failed:"Wywołanie API nie powiodło się.",runner_toast_answers_copied:"Odpowiedzi skopiowane do schowka!",runner_toast_partial_saved:"Częściowe odpowiedzi zapisane (zalogowane).",runner_toast_file_uploaded:"Przesłano {{name}} dla {{key}}",runner_loading_preview:"Ładowanie podglądu…",runner_no_form:"Nie skonfigurowano formularza.",runner_back_to_builder:"Wróć do kreatora",runner_preset_full:"Pełny",runner_iframe_title:"Podgląd formularza",import_invalid_json:"Nieprawidłowy JSON: nie można przeanalizować danych.",import_success:"Journey zaimportowana pomyślnie",import_clipboard_failed:"Nie można odczytać schowka",shortcut_selected_nodes_one:"Zaznaczono {{count}} węzeł",shortcut_selected_nodes_other:"Zaznaczono {{count}} węzłów",shortcut_deleted:"Usunięto",shortcut_undo:"Cofnij",shortcut_redo:"Ponów",shortcut_copied:"Skopiowano do schowka",shortcut_pasted:"Wklejono",shortcut_duplicated:"Zduplikowano"},Ii={en:La,es:B_,pt:H_,pl:Y_},vs="language",xr="en";function q_(){try{return localStorage.getItem(vs)||xr}catch{return xr}}let gr=[],xs=q_();function V_(e){return gr.push(e),()=>{gr=gr.filter(t=>t!==e)}}function G_(){return xs}function id(e){try{localStorage.setItem(vs,e)}catch{}xs=e,gr.forEach(t=>t())}typeof window<"u"&&window.addEventListener("storage",e=>{e.key===vs&&(xs=e.newValue||xr,gr.forEach(t=>t()))});function be(){const e=y.useSyncExternalStore(V_,G_,()=>xr),t=Ii[e]||Ii[xr]||La;return{t:y.useCallback((r,o)=>{let a=t[r]??La[r]??r;if(o)for(const[s,i]of Object.entries(o))a=a.replace(new RegExp(`\\{\\{${s}\\}\\}`,"g"),String(i));return a},[t]),language:e,setLanguage:id}}function U_({readOnly:e=!1}){const{t}=be(),{formConfig:n,activeStepId:r,setActiveStep:o,addStep:a,deleteStep:s,moveStep:i}=wt();return c.jsxs("div",{className:"cj-flex cj-flex-col cj-h-full cj-bg-card",children:[c.jsxs("div",{className:"cj-p-4 cj-border-b cj-flex cj-items-center cj-justify-between",children:[c.jsx("h2",{className:"cj-text-sm cj-font-semibold",children:t("fc_form_steps")}),!e&&c.jsxs(ne,{size:"sm",variant:"outline",onClick:()=>a(),children:[c.jsx(vt,{className:"cj-h-3.5 cj-w-3.5 cj-mr-1"}),t("fc_add_step")]})]}),c.jsx(Rt,{className:"cj-flex-1",children:c.jsxs("div",{className:"cj-p-3 cj-space-y-2",children:[n.steps.map((l,d)=>{const u=l.step_id===r,f=l.rows.reduce((m,p)=>m+p.field_ids.length,0);return c.jsx("div",{onClick:()=>o(l.step_id),className:`cj-rounded-xl cj-border-2 cj-p-3 cj-cursor-pointer cj-transition-colors ${u?"cj-border-primary cj-bg-primary/5":"cj-border-border cj-bg-card hover:cj-border-primary/40"}`,children:c.jsxs("div",{className:"cj-flex cj-items-center cj-gap-2",children:[c.jsx("div",{className:`cj-h-7 cj-w-7 cj-rounded-full cj-flex cj-items-center cj-justify-center cj-text-xs cj-font-bold cj-shrink-0 ${u?"cj-bg-primary cj-text-primary-foreground":"cj-bg-muted cj-text-muted-foreground"}`,children:d+1}),c.jsxs("div",{className:"cj-flex-1 cj-min-w-0",children:[c.jsx("div",{className:"cj-text-sm cj-font-semibold cj-truncate",children:l.title||t("fc_step_untitled")}),c.jsx("div",{className:"cj-text-[11px] cj-text-muted-foreground",children:t("fc_step_meta",{rows:l.rows.length,fields:f})})]}),!e&&u&&c.jsxs("div",{className:"cj-flex cj-items-center cj-gap-0.5",children:[c.jsx(ne,{size:"icon",variant:"ghost",className:"cj-h-6 cj-w-6",disabled:d===0,onClick:m=>{m.stopPropagation(),i(l.step_id,"up")},children:c.jsx(to,{className:"cj-h-3 cj-w-3"})}),c.jsx(ne,{size:"icon",variant:"ghost",className:"cj-h-6 cj-w-6",disabled:d===n.steps.length-1,onClick:m=>{m.stopPropagation(),i(l.step_id,"down")},children:c.jsx(rn,{className:"cj-h-3 cj-w-3"})}),c.jsx(ne,{size:"icon",variant:"ghost",className:"cj-h-6 cj-w-6",onClick:m=>{m.stopPropagation(),confirm(t("fc_confirm_delete_step"))&&s(l.step_id)},children:c.jsx(kn,{className:"cj-h-3 cj-w-3 cj-text-destructive"})})]})]})},l.step_id)}),n.steps.length===0&&c.jsxs("div",{className:"cj-py-12 cj-text-center cj-text-xs cj-text-muted-foreground",children:[t("fc_no_steps"),!e&&c.jsxs(c.Fragment,{children:[c.jsx("br",{}),t("fc_no_steps_hint_click")," ",c.jsxs("strong",{children:["+ ",t("fc_add_step")]})," ",t("fc_no_steps_hint_to_begin")]})]})]})})]})}const me=_.forwardRef(({className:e,type:t,...n},r)=>c.jsx("input",{type:t,className:ie("cj-flex cj-h-12 cj-w-full cj-rounded-xl cj-border cj-border-border/40 cj-bg-muted/50 cj-px-3 cj-py-2 cj-text-base cj-shadow-none cj-ring-offset-background file:cj-border-0 file:cj-bg-transparent file:cj-text-sm file:cj-font-medium file:cj-text-foreground placeholder:cj-text-muted-foreground focus-visible:cj-outline-none focus-visible:cj-ring-2 focus-visible:cj-ring-ring focus-visible:cj-ring-offset-2 disabled:cj-cursor-not-allowed disabled:cj-opacity-50 md:cj-text-sm",e),ref:r,...n}));me.displayName="Input";var X_=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],K_=X_.reduce((e,t)=>{const n=vo(`Primitive.${t}`),r=_.forwardRef((o,a)=>{const{asChild:s,...i}=o,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...i,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),J_="Label",cd=_.forwardRef((e,t)=>c.jsx(K_.label,{...e,ref:t,onMouseDown:n=>{var o;n.target.closest("button, input, select, textarea")||((o=e.onMouseDown)==null||o.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));cd.displayName=J_;var ld=cd;const Q_=xo("cj-text-sm cj-font-medium cj-leading-none peer-disabled:cj-cursor-not-allowed peer-disabled:cj-opacity-70"),U=_.forwardRef(({className:e,...t},n)=>c.jsx(ld,{ref:n,className:ie(Q_(),e),...t}));U.displayName=ld.displayName;function Z_(e,t=globalThis==null?void 0:globalThis.document){const n=Ue(e);_.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var eg="DismissableLayer",Ba="dismissableLayer.update",tg="dismissableLayer.pointerDownOutside",ng="dismissableLayer.focusOutside",Wi,dd=_.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Mo=_.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:i,...l}=e,d=_.useContext(dd),[u,f]=_.useState(null),m=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=_.useState({}),g=he(t,S=>f(S)),h=Array.from(d.layers),[j]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=h.indexOf(j),v=u?h.indexOf(u):-1,b=d.layersWithOutsidePointerEventsDisabled.size>0,N=v>=x,C=ag(S=>{const k=S.target,P=[...d.branches].some(M=>M.contains(k));!N||P||(o==null||o(S),s==null||s(S),S.defaultPrevented||i==null||i())},m),w=sg(S=>{const k=S.target;[...d.branches].some(M=>M.contains(k))||(a==null||a(S),s==null||s(S),S.defaultPrevented||i==null||i())},m);return Z_(S=>{v===d.layers.size-1&&(r==null||r(S),!S.defaultPrevented&&i&&(S.preventDefault(),i()))},m),_.useEffect(()=>{if(u)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Wi=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(u)),d.layers.add(u),Fi(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Wi)}},[u,m,n,d]),_.useEffect(()=>()=>{u&&(d.layers.delete(u),d.layersWithOutsidePointerEventsDisabled.delete(u),Fi())},[u,d]),_.useEffect(()=>{const S=()=>p({});return document.addEventListener(Ba,S),()=>document.removeEventListener(Ba,S)},[]),c.jsx(ae.div,{...l,ref:g,style:{pointerEvents:b?N?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,w.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,w.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,C.onPointerDownCapture)})});Mo.displayName=eg;var rg="DismissableLayerBranch",og=_.forwardRef((e,t)=>{const n=_.useContext(dd),r=_.useRef(null),o=he(t,r);return _.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),c.jsx(ae.div,{...e,ref:o})});og.displayName=rg;function ag(e,t=globalThis==null?void 0:globalThis.document){const n=Ue(e),r=_.useRef(!1),o=_.useRef(()=>{});return _.useEffect(()=>{const a=i=>{if(i.target&&!r.current){let l=function(){ud(tg,n,d,{discrete:!0})};const d={originalEvent:i};i.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function sg(e,t=globalThis==null?void 0:globalThis.document){const n=Ue(e),r=_.useRef(!1);return _.useEffect(()=>{const o=a=>{a.target&&!r.current&&ud(ng,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Fi(){const e=new CustomEvent(Ba);document.dispatchEvent(e)}function ud(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?sh(o,a):o.dispatchEvent(a)}var ja=0;function bs(){_.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??$i()),document.body.insertAdjacentElement("beforeend",e[1]??$i()),ja++,()=>{ja===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ja--}},[])}function $i(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var ya="focusScope.autoFocusOnMount",va="focusScope.autoFocusOnUnmount",Li={bubbles:!1,cancelable:!0},ig="FocusScope",Do=_.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...s}=e,[i,l]=_.useState(null),d=Ue(o),u=Ue(a),f=_.useRef(null),m=he(t,h=>l(h)),p=_.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;_.useEffect(()=>{if(r){let h=function(b){if(p.paused||!i)return;const N=b.target;i.contains(N)?f.current=N:tn(f.current,{select:!0})},j=function(b){if(p.paused||!i)return;const N=b.relatedTarget;N!==null&&(i.contains(N)||tn(f.current,{select:!0}))},x=function(b){if(document.activeElement===document.body)for(const C of b)C.removedNodes.length>0&&tn(i)};document.addEventListener("focusin",h),document.addEventListener("focusout",j);const v=new MutationObserver(x);return i&&v.observe(i,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",j),v.disconnect()}}},[r,i,p.paused]),_.useEffect(()=>{if(i){Hi.add(p);const h=document.activeElement;if(!i.contains(h)){const x=new CustomEvent(ya,Li);i.addEventListener(ya,d),i.dispatchEvent(x),x.defaultPrevented||(cg(mg(fd(i)),{select:!0}),document.activeElement===h&&tn(i))}return()=>{i.removeEventListener(ya,d),setTimeout(()=>{const x=new CustomEvent(va,Li);i.addEventListener(va,u),i.dispatchEvent(x),x.defaultPrevented||tn(h??document.body,{select:!0}),i.removeEventListener(va,u),Hi.remove(p)},0)}}},[i,d,u,p]);const g=_.useCallback(h=>{if(!n&&!r||p.paused)return;const j=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,x=document.activeElement;if(j&&x){const v=h.currentTarget,[b,N]=lg(v);b&&N?!h.shiftKey&&x===N?(h.preventDefault(),n&&tn(b,{select:!0})):h.shiftKey&&x===b&&(h.preventDefault(),n&&tn(N,{select:!0})):x===v&&h.preventDefault()}},[n,r,p.paused]);return c.jsx(ae.div,{tabIndex:-1,...s,ref:m,onKeyDown:g})});Do.displayName=ig;function cg(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(tn(r,{select:t}),document.activeElement!==n)return}function lg(e){const t=fd(e),n=Bi(t,e),r=Bi(t.reverse(),e);return[n,r]}function fd(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Bi(e,t){for(const n of e)if(!dg(n,{upTo:t}))return n}function dg(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function ug(e){return e instanceof HTMLInputElement&&"select"in e}function tn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&ug(e)&&t&&e.select()}}var Hi=fg();function fg(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Yi(e,t),e.unshift(t)},remove(t){var n;e=Yi(e,t),(n=e[0])==null||n.resume()}}}function Yi(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function mg(e){return e.filter(t=>t.tagName!=="A")}const pg=["top","right","bottom","left"],on=Math.min,rt=Math.max,so=Math.round,Wr=Math.floor,Tt=e=>({x:e,y:e}),hg={left:"right",right:"left",bottom:"top",top:"bottom"},_g={start:"end",end:"start"};function Ha(e,t,n){return rt(e,on(t,n))}function Yt(e,t){return typeof e=="function"?e(t):e}function qt(e){return e.split("-")[0]}function Jn(e){return e.split("-")[1]}function ws(e){return e==="x"?"y":"x"}function Ss(e){return e==="y"?"height":"width"}const gg=new Set(["top","bottom"]);function Et(e){return gg.has(qt(e))?"y":"x"}function Ns(e){return ws(Et(e))}function jg(e,t,n){n===void 0&&(n=!1);const r=Jn(e),o=Ns(e),a=Ss(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=io(s)),[s,io(s)]}function yg(e){const t=io(e);return[Ya(e),t,Ya(t)]}function Ya(e){return e.replace(/start|end/g,t=>_g[t])}const qi=["left","right"],Vi=["right","left"],vg=["top","bottom"],xg=["bottom","top"];function bg(e,t,n){switch(e){case"top":case"bottom":return n?t?Vi:qi:t?qi:Vi;case"left":case"right":return t?vg:xg;default:return[]}}function wg(e,t,n,r){const o=Jn(e);let a=bg(qt(e),n==="start",r);return o&&(a=a.map(s=>s+"-"+o),t&&(a=a.concat(a.map(Ya)))),a}function io(e){return e.replace(/left|right|bottom|top/g,t=>hg[t])}function Sg(e){return{top:0,right:0,bottom:0,left:0,...e}}function md(e){return typeof e!="number"?Sg(e):{top:e,right:e,bottom:e,left:e}}function co(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Gi(e,t,n){let{reference:r,floating:o}=e;const a=Et(t),s=Ns(t),i=Ss(s),l=qt(t),d=a==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,m=r[i]/2-o[i]/2;let p;switch(l){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(Jn(t)){case"start":p[s]-=m*(n&&d?-1:1);break;case"end":p[s]+=m*(n&&d?-1:1);break}return p}async function Ng(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:a,rects:s,elements:i,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:m=!1,padding:p=0}=Yt(t,e),g=md(p),j=i[m?f==="floating"?"reference":"floating":f],x=co(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(j)))==null||n?j:j.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(i.floating)),boundary:d,rootBoundary:u,strategy:l})),v=f==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await(a.getOffsetParent==null?void 0:a.getOffsetParent(i.floating)),N=await(a.isElement==null?void 0:a.isElement(b))?await(a.getScale==null?void 0:a.getScale(b))||{x:1,y:1}:{x:1,y:1},C=co(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:v,offsetParent:b,strategy:l}):v);return{top:(x.top-C.top+g.top)/N.y,bottom:(C.bottom-x.bottom+g.bottom)/N.y,left:(x.left-C.left+g.left)/N.x,right:(C.right-x.right+g.right)/N.x}}const Cg=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:s}=n,i=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let d=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=Gi(d,r,l),m=r,p={},g=0;for(let j=0;j<i.length;j++){var h;const{name:x,fn:v}=i[j],{x:b,y:N,data:C,reset:w}=await v({x:u,y:f,initialPlacement:r,placement:m,strategy:o,middlewareData:p,rects:d,platform:{...s,detectOverflow:(h=s.detectOverflow)!=null?h:Ng},elements:{reference:e,floating:t}});u=b??u,f=N??f,p={...p,[x]:{...p[x],...C}},w&&g<=50&&(g++,typeof w=="object"&&(w.placement&&(m=w.placement),w.rects&&(d=w.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:u,y:f}=Gi(d,m,l)),j=-1)}return{x:u,y:f,placement:m,strategy:o,middlewareData:p}},kg=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:a,platform:s,elements:i,middlewareData:l}=t,{element:d,padding:u=0}=Yt(e,t)||{};if(d==null)return{};const f=md(u),m={x:n,y:r},p=Ns(o),g=Ss(p),h=await s.getDimensions(d),j=p==="y",x=j?"top":"left",v=j?"bottom":"right",b=j?"clientHeight":"clientWidth",N=a.reference[g]+a.reference[p]-m[p]-a.floating[g],C=m[p]-a.reference[p],w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let S=w?w[b]:0;(!S||!await(s.isElement==null?void 0:s.isElement(w)))&&(S=i.floating[b]||a.floating[g]);const k=N/2-C/2,P=S/2-h[g]/2-1,M=on(f[x],P),D=on(f[v],P),T=M,V=S-h[g]-D,A=S/2-h[g]/2+k,q=Ha(T,A,V),F=!l.arrow&&Jn(o)!=null&&A!==q&&a.reference[g]/2-(A<T?M:D)-h[g]/2<0,J=F?A<T?A-T:A-V:0;return{[p]:m[p]+J,data:{[p]:q,centerOffset:A-q-J,...F&&{alignmentOffset:J}},reset:F}}}),Pg=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:a,rects:s,initialPlacement:i,platform:l,elements:d}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...j}=Yt(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const x=qt(o),v=Et(i),b=qt(i)===i,N=await(l.isRTL==null?void 0:l.isRTL(d.floating)),C=m||(b||!h?[io(i)]:yg(i)),w=g!=="none";!m&&w&&C.push(...wg(i,h,g,N));const S=[i,...C],k=await l.detectOverflow(t,j),P=[];let M=((r=a.flip)==null?void 0:r.overflows)||[];if(u&&P.push(k[x]),f){const A=jg(o,s,N);P.push(k[A[0]],k[A[1]])}if(M=[...M,{placement:o,overflows:P}],!P.every(A=>A<=0)){var D,T;const A=(((D=a.flip)==null?void 0:D.index)||0)+1,q=S[A];if(q&&(!(f==="alignment"?v!==Et(q):!1)||M.every(G=>Et(G.placement)===v?G.overflows[0]>0:!0)))return{data:{index:A,overflows:M},reset:{placement:q}};let F=(T=M.filter(J=>J.overflows[0]<=0).sort((J,G)=>J.overflows[1]-G.overflows[1])[0])==null?void 0:T.placement;if(!F)switch(p){case"bestFit":{var V;const J=(V=M.filter(G=>{if(w){const I=Et(G.placement);return I===v||I==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(I=>I>0).reduce((I,re)=>I+re,0)]).sort((G,I)=>G[1]-I[1])[0])==null?void 0:V[0];J&&(F=J);break}case"initialPlacement":F=i;break}if(o!==F)return{reset:{placement:F}}}return{}}}};function Ui(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Xi(e){return pg.some(t=>e[t]>=0)}const Eg=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...a}=Yt(e,t);switch(o){case"referenceHidden":{const s=await r.detectOverflow(t,{...a,elementContext:"reference"}),i=Ui(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:Xi(i)}}}case"escaped":{const s=await r.detectOverflow(t,{...a,altBoundary:!0}),i=Ui(s,n.floating);return{data:{escapedOffsets:i,escaped:Xi(i)}}}default:return{}}}}},pd=new Set(["left","top"]);async function Mg(e,t){const{placement:n,platform:r,elements:o}=e,a=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=qt(n),i=Jn(n),l=Et(n)==="y",d=pd.has(s)?-1:1,u=a&&l?-1:1,f=Yt(t,e);let{mainAxis:m,crossAxis:p,alignmentAxis:g}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return i&&typeof g=="number"&&(p=i==="end"?g*-1:g),l?{x:p*u,y:m*d}:{x:m*d,y:p*u}}const Dg=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:a,placement:s,middlewareData:i}=t,l=await Mg(t,e);return s===((n=i.offset)==null?void 0:n.placement)&&(r=i.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:a+l.y,data:{...l,placement:s}}}}},Tg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:a}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:l={fn:x=>{let{x:v,y:b}=x;return{x:v,y:b}}},...d}=Yt(e,t),u={x:n,y:r},f=await a.detectOverflow(t,d),m=Et(qt(o)),p=ws(m);let g=u[p],h=u[m];if(s){const x=p==="y"?"top":"left",v=p==="y"?"bottom":"right",b=g+f[x],N=g-f[v];g=Ha(b,g,N)}if(i){const x=m==="y"?"top":"left",v=m==="y"?"bottom":"right",b=h+f[x],N=h-f[v];h=Ha(b,h,N)}const j=l.fn({...t,[p]:g,[m]:h});return{...j,data:{x:j.x-n,y:j.y-r,enabled:{[p]:s,[m]:i}}}}}},Rg=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:a,middlewareData:s}=t,{offset:i=0,mainAxis:l=!0,crossAxis:d=!0}=Yt(e,t),u={x:n,y:r},f=Et(o),m=ws(f);let p=u[m],g=u[f];const h=Yt(i,t),j=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const b=m==="y"?"height":"width",N=a.reference[m]-a.floating[b]+j.mainAxis,C=a.reference[m]+a.reference[b]-j.mainAxis;p<N?p=N:p>C&&(p=C)}if(d){var x,v;const b=m==="y"?"width":"height",N=pd.has(qt(o)),C=a.reference[f]-a.floating[b]+(N&&((x=s.offset)==null?void 0:x[f])||0)+(N?0:j.crossAxis),w=a.reference[f]+a.reference[b]+(N?0:((v=s.offset)==null?void 0:v[f])||0)-(N?j.crossAxis:0);g<C?g=C:g>w&&(g=w)}return{[m]:p,[f]:g}}}},Og=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:a,platform:s,elements:i}=t,{apply:l=()=>{},...d}=Yt(e,t),u=await s.detectOverflow(t,d),f=qt(o),m=Jn(o),p=Et(o)==="y",{width:g,height:h}=a.floating;let j,x;f==="top"||f==="bottom"?(j=f,x=m===(await(s.isRTL==null?void 0:s.isRTL(i.floating))?"start":"end")?"left":"right"):(x=f,j=m==="end"?"top":"bottom");const v=h-u.top-u.bottom,b=g-u.left-u.right,N=on(h-u[j],v),C=on(g-u[x],b),w=!t.middlewareData.shift;let S=N,k=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(k=b),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(S=v),w&&!m){const M=rt(u.left,0),D=rt(u.right,0),T=rt(u.top,0),V=rt(u.bottom,0);p?k=g-2*(M!==0||D!==0?M+D:rt(u.left,u.right)):S=h-2*(T!==0||V!==0?T+V:rt(u.top,u.bottom))}await l({...t,availableWidth:k,availableHeight:S});const P=await s.getDimensions(i.floating);return g!==P.width||h!==P.height?{reset:{rects:!0}}:{}}}};function To(){return typeof window<"u"}function Qn(e){return hd(e)?(e.nodeName||"").toLowerCase():"#document"}function ot(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function zt(e){var t;return(t=(hd(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function hd(e){return To()?e instanceof Node||e instanceof ot(e).Node:!1}function xt(e){return To()?e instanceof Element||e instanceof ot(e).Element:!1}function Ot(e){return To()?e instanceof HTMLElement||e instanceof ot(e).HTMLElement:!1}function Ki(e){return!To()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ot(e).ShadowRoot}const Ag=new Set(["inline","contents"]);function kr(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Ag.has(o)}const zg=new Set(["table","td","th"]);function Ig(e){return zg.has(Qn(e))}const Wg=[":popover-open",":modal"];function Ro(e){return Wg.some(t=>{try{return e.matches(t)}catch{return!1}})}const Fg=["transform","translate","scale","rotate","perspective"],$g=["transform","translate","scale","rotate","perspective","filter"],Lg=["paint","layout","strict","content"];function Cs(e){const t=ks(),n=xt(e)?bt(e):e;return Fg.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||$g.some(r=>(n.willChange||"").includes(r))||Lg.some(r=>(n.contain||"").includes(r))}function Bg(e){let t=an(e);for(;Ot(t)&&!Vn(t);){if(Cs(t))return t;if(Ro(t))return null;t=an(t)}return null}function ks(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Hg=new Set(["html","body","#document"]);function Vn(e){return Hg.has(Qn(e))}function bt(e){return ot(e).getComputedStyle(e)}function Oo(e){return xt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function an(e){if(Qn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ki(e)&&e.host||zt(e);return Ki(t)?t.host:t}function _d(e){const t=an(e);return Vn(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ot(t)&&kr(t)?t:_d(t)}function br(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=_d(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),s=ot(o);if(a){const i=qa(s);return t.concat(s,s.visualViewport||[],kr(o)?o:[],i&&n?br(i):[])}return t.concat(o,br(o,[],n))}function qa(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function gd(e){const t=bt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ot(e),a=o?e.offsetWidth:n,s=o?e.offsetHeight:r,i=so(n)!==a||so(r)!==s;return i&&(n=a,r=s),{width:n,height:r,$:i}}function Ps(e){return xt(e)?e:e.contextElement}function Bn(e){const t=Ps(e);if(!Ot(t))return Tt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=gd(t);let s=(a?so(n.width):n.width)/r,i=(a?so(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!i||!Number.isFinite(i))&&(i=1),{x:s,y:i}}const Yg=Tt(0);function jd(e){const t=ot(e);return!ks()||!t.visualViewport?Yg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function qg(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ot(e)?!1:t}function vn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=Ps(e);let s=Tt(1);t&&(r?xt(r)&&(s=Bn(r)):s=Bn(e));const i=qg(a,n,r)?jd(a):Tt(0);let l=(o.left+i.x)/s.x,d=(o.top+i.y)/s.y,u=o.width/s.x,f=o.height/s.y;if(a){const m=ot(a),p=r&&xt(r)?ot(r):r;let g=m,h=qa(g);for(;h&&r&&p!==g;){const j=Bn(h),x=h.getBoundingClientRect(),v=bt(h),b=x.left+(h.clientLeft+parseFloat(v.paddingLeft))*j.x,N=x.top+(h.clientTop+parseFloat(v.paddingTop))*j.y;l*=j.x,d*=j.y,u*=j.x,f*=j.y,l+=b,d+=N,g=ot(h),h=qa(g)}}return co({width:u,height:f,x:l,y:d})}function Ao(e,t){const n=Oo(e).scrollLeft;return t?t.left+n:vn(zt(e)).left+n}function yd(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Ao(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Vg(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const a=o==="fixed",s=zt(r),i=t?Ro(t.floating):!1;if(r===s||i&&a)return n;let l={scrollLeft:0,scrollTop:0},d=Tt(1);const u=Tt(0),f=Ot(r);if((f||!f&&!a)&&((Qn(r)!=="body"||kr(s))&&(l=Oo(r)),Ot(r))){const p=vn(r);d=Bn(r),u.x=p.x+r.clientLeft,u.y=p.y+r.clientTop}const m=s&&!f&&!a?yd(s,l):Tt(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-l.scrollLeft*d.x+u.x+m.x,y:n.y*d.y-l.scrollTop*d.y+u.y+m.y}}function Gg(e){return Array.from(e.getClientRects())}function Ug(e){const t=zt(e),n=Oo(e),r=e.ownerDocument.body,o=rt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=rt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Ao(e);const i=-n.scrollTop;return bt(r).direction==="rtl"&&(s+=rt(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:s,y:i}}const Ji=25;function Xg(e,t){const n=ot(e),r=zt(e),o=n.visualViewport;let a=r.clientWidth,s=r.clientHeight,i=0,l=0;if(o){a=o.width,s=o.height;const u=ks();(!u||u&&t==="fixed")&&(i=o.offsetLeft,l=o.offsetTop)}const d=Ao(r);if(d<=0){const u=r.ownerDocument,f=u.body,m=getComputedStyle(f),p=u.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,g=Math.abs(r.clientWidth-f.clientWidth-p);g<=Ji&&(a-=g)}else d<=Ji&&(a+=d);return{width:a,height:s,x:i,y:l}}const Kg=new Set(["absolute","fixed"]);function Jg(e,t){const n=vn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=Ot(e)?Bn(e):Tt(1),s=e.clientWidth*a.x,i=e.clientHeight*a.y,l=o*a.x,d=r*a.y;return{width:s,height:i,x:l,y:d}}function Qi(e,t,n){let r;if(t==="viewport")r=Xg(e,n);else if(t==="document")r=Ug(zt(e));else if(xt(t))r=Jg(t,n);else{const o=jd(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return co(r)}function vd(e,t){const n=an(e);return n===t||!xt(n)||Vn(n)?!1:bt(n).position==="fixed"||vd(n,t)}function Qg(e,t){const n=t.get(e);if(n)return n;let r=br(e,[],!1).filter(i=>xt(i)&&Qn(i)!=="body"),o=null;const a=bt(e).position==="fixed";let s=a?an(e):e;for(;xt(s)&&!Vn(s);){const i=bt(s),l=Cs(s);!l&&i.position==="fixed"&&(o=null),(a?!l&&!o:!l&&i.position==="static"&&!!o&&Kg.has(o.position)||kr(s)&&!l&&vd(e,s))?r=r.filter(u=>u!==s):o=i,s=an(s)}return t.set(e,r),r}function Zg(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Ro(t)?[]:Qg(t,this._c):[].concat(n),r],i=s[0],l=s.reduce((d,u)=>{const f=Qi(t,u,o);return d.top=rt(f.top,d.top),d.right=on(f.right,d.right),d.bottom=on(f.bottom,d.bottom),d.left=rt(f.left,d.left),d},Qi(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function ej(e){const{width:t,height:n}=gd(e);return{width:t,height:n}}function tj(e,t,n){const r=Ot(t),o=zt(t),a=n==="fixed",s=vn(e,!0,a,t);let i={scrollLeft:0,scrollTop:0};const l=Tt(0);function d(){l.x=Ao(o)}if(r||!r&&!a)if((Qn(t)!=="body"||kr(o))&&(i=Oo(t)),r){const p=vn(t,!0,a,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else o&&d();a&&!r&&o&&d();const u=o&&!r&&!a?yd(o,i):Tt(0),f=s.left+i.scrollLeft-l.x-u.x,m=s.top+i.scrollTop-l.y-u.y;return{x:f,y:m,width:s.width,height:s.height}}function xa(e){return bt(e).position==="static"}function Zi(e,t){if(!Ot(e)||bt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return zt(e)===n&&(n=n.ownerDocument.body),n}function xd(e,t){const n=ot(e);if(Ro(e))return n;if(!Ot(e)){let o=an(e);for(;o&&!Vn(o);){if(xt(o)&&!xa(o))return o;o=an(o)}return n}let r=Zi(e,t);for(;r&&Ig(r)&&xa(r);)r=Zi(r,t);return r&&Vn(r)&&xa(r)&&!Cs(r)?n:r||Bg(e)||n}const nj=async function(e){const t=this.getOffsetParent||xd,n=this.getDimensions,r=await n(e.floating);return{reference:tj(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function rj(e){return bt(e).direction==="rtl"}const oj={convertOffsetParentRelativeRectToViewportRelativeRect:Vg,getDocumentElement:zt,getClippingRect:Zg,getOffsetParent:xd,getElementRects:nj,getClientRects:Gg,getDimensions:ej,getScale:Bn,isElement:xt,isRTL:rj};function bd(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function aj(e,t){let n=null,r;const o=zt(e);function a(){var i;clearTimeout(r),(i=n)==null||i.disconnect(),n=null}function s(i,l){i===void 0&&(i=!1),l===void 0&&(l=1),a();const d=e.getBoundingClientRect(),{left:u,top:f,width:m,height:p}=d;if(i||t(),!m||!p)return;const g=Wr(f),h=Wr(o.clientWidth-(u+m)),j=Wr(o.clientHeight-(f+p)),x=Wr(u),b={rootMargin:-g+"px "+-h+"px "+-j+"px "+-x+"px",threshold:rt(0,on(1,l))||1};let N=!0;function C(w){const S=w[0].intersectionRatio;if(S!==l){if(!N)return s();S?s(!1,S):r=setTimeout(()=>{s(!1,1e-7)},1e3)}S===1&&!bd(d,e.getBoundingClientRect())&&s(),N=!1}try{n=new IntersectionObserver(C,{...b,root:o.ownerDocument})}catch{n=new IntersectionObserver(C,b)}n.observe(e)}return s(!0),a}function sj(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,d=Ps(e),u=o||a?[...d?br(d):[],...br(t)]:[];u.forEach(x=>{o&&x.addEventListener("scroll",n,{passive:!0}),a&&x.addEventListener("resize",n)});const f=d&&i?aj(d,n):null;let m=-1,p=null;s&&(p=new ResizeObserver(x=>{let[v]=x;v&&v.target===d&&p&&(p.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var b;(b=p)==null||b.observe(t)})),n()}),d&&!l&&p.observe(d),p.observe(t));let g,h=l?vn(e):null;l&&j();function j(){const x=vn(e);h&&!bd(h,x)&&n(),h=x,g=requestAnimationFrame(j)}return n(),()=>{var x;u.forEach(v=>{o&&v.removeEventListener("scroll",n),a&&v.removeEventListener("resize",n)}),f==null||f(),(x=p)==null||x.disconnect(),p=null,l&&cancelAnimationFrame(g)}}const ij=Dg,cj=Tg,lj=Pg,dj=Og,uj=Eg,ec=kg,fj=Rg,mj=(e,t,n)=>{const r=new Map,o={platform:oj,...n},a={...o.platform,_c:r};return Cg(e,t,{...o,platform:a})};var pj=typeof document<"u",hj=function(){},Kr=pj?y.useLayoutEffect:hj;function lo(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!lo(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const a=o[r];if(!(a==="_owner"&&e.$$typeof)&&!lo(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function wd(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function tc(e,t){const n=wd(e);return Math.round(t*n)/n}function ba(e){const t=_.useRef(e);return Kr(()=>{t.current=e}),t}function _j(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:s}={},transform:i=!0,whileElementsMounted:l,open:d}=e,[u,f]=_.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,p]=_.useState(r);lo(m,r)||p(r);const[g,h]=_.useState(null),[j,x]=_.useState(null),v=_.useCallback(G=>{G!==w.current&&(w.current=G,h(G))},[]),b=_.useCallback(G=>{G!==S.current&&(S.current=G,x(G))},[]),N=a||g,C=s||j,w=_.useRef(null),S=_.useRef(null),k=_.useRef(u),P=l!=null,M=ba(l),D=ba(o),T=ba(d),V=_.useCallback(()=>{if(!w.current||!S.current)return;const G={placement:t,strategy:n,middleware:m};D.current&&(G.platform=D.current),mj(w.current,S.current,G).then(I=>{const re={...I,isPositioned:T.current!==!1};A.current&&!lo(k.current,re)&&(k.current=re,yo.flushSync(()=>{f(re)}))})},[m,t,n,D,T]);Kr(()=>{d===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,f(G=>({...G,isPositioned:!1})))},[d]);const A=_.useRef(!1);Kr(()=>(A.current=!0,()=>{A.current=!1}),[]),Kr(()=>{if(N&&(w.current=N),C&&(S.current=C),N&&C){if(M.current)return M.current(N,C,V);V()}},[N,C,V,M,P]);const q=_.useMemo(()=>({reference:w,floating:S,setReference:v,setFloating:b}),[v,b]),F=_.useMemo(()=>({reference:N,floating:C}),[N,C]),J=_.useMemo(()=>{const G={position:n,left:0,top:0};if(!F.floating)return G;const I=tc(F.floating,u.x),re=tc(F.floating,u.y);return i?{...G,transform:"translate("+I+"px, "+re+"px)",...wd(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:I,top:re}},[n,i,F.floating,u.x,u.y]);return _.useMemo(()=>({...u,update:V,refs:q,elements:F,floatingStyles:J}),[u,V,q,F,J])}const gj=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?ec({element:r.current,padding:o}).fn(n):{}:r?ec({element:r,padding:o}).fn(n):{}}}},jj=(e,t)=>({...ij(e),options:[e,t]}),yj=(e,t)=>({...cj(e),options:[e,t]}),vj=(e,t)=>({...fj(e),options:[e,t]}),xj=(e,t)=>({...lj(e),options:[e,t]}),bj=(e,t)=>({...dj(e),options:[e,t]}),wj=(e,t)=>({...uj(e),options:[e,t]}),Sj=(e,t)=>({...gj(e),options:[e,t]});var Nj="Arrow",Sd=_.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...a}=e;return c.jsx(ae.svg,{...a,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});Sd.displayName=Nj;var Cj=Sd;function Es(e){const[t,n]=_.useState(void 0);return He(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let s,i;if("borderBoxSize"in a){const l=a.borderBoxSize,d=Array.isArray(l)?l[0]:l;s=d.inlineSize,i=d.blockSize}else s=e.offsetWidth,i=e.offsetHeight;n({width:s,height:i})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Ms="Popper",[Nd,zo]=dt(Ms),[kj,Cd]=Nd(Ms),kd=e=>{const{__scopePopper:t,children:n}=e,[r,o]=_.useState(null);return c.jsx(kj,{scope:t,anchor:r,onAnchorChange:o,children:n})};kd.displayName=Ms;var Pd="PopperAnchor",Ed=_.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,a=Cd(Pd,n),s=_.useRef(null),i=he(t,s),l=_.useRef(null);return _.useEffect(()=>{const d=l.current;l.current=(r==null?void 0:r.current)||s.current,d!==l.current&&a.onAnchorChange(l.current)}),r?null:c.jsx(ae.div,{...o,ref:i})});Ed.displayName=Pd;var Ds="PopperContent",[Pj,Ej]=Nd(Ds),Md=_.forwardRef((e,t)=>{var E,z,B,L,Q,Z;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:a="center",alignOffset:s=0,arrowPadding:i=0,avoidCollisions:l=!0,collisionBoundary:d=[],collisionPadding:u=0,sticky:f="partial",hideWhenDetached:m=!1,updatePositionStrategy:p="optimized",onPlaced:g,...h}=e,j=Cd(Ds,n),[x,v]=_.useState(null),b=he(t,te=>v(te)),[N,C]=_.useState(null),w=Es(N),S=(w==null?void 0:w.width)??0,k=(w==null?void 0:w.height)??0,P=r+(a!=="center"?"-"+a:""),M=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},D=Array.isArray(d)?d:[d],T=D.length>0,V={padding:M,boundary:D.filter(Dj),altBoundary:T},{refs:A,floatingStyles:q,placement:F,isPositioned:J,middlewareData:G}=_j({strategy:"fixed",placement:P,whileElementsMounted:(...te)=>sj(...te,{animationFrame:p==="always"}),elements:{reference:j.anchor},middleware:[jj({mainAxis:o+k,alignmentAxis:s}),l&&yj({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?vj():void 0,...V}),l&&xj({...V}),bj({...V,apply:({elements:te,rects:_e,availableWidth:Ce,availableHeight:We})=>{const{width:qe,height:Oe}=_e.reference,ft=te.floating.style;ft.setProperty("--radix-popper-available-width",`${Ce}px`),ft.setProperty("--radix-popper-available-height",`${We}px`),ft.setProperty("--radix-popper-anchor-width",`${qe}px`),ft.setProperty("--radix-popper-anchor-height",`${Oe}px`)}}),N&&Sj({element:N,padding:i}),Tj({arrowWidth:S,arrowHeight:k}),m&&wj({strategy:"referenceHidden",...V})]}),[I,re]=Rd(F),le=Ue(g);He(()=>{J&&(le==null||le())},[J,le]);const se=(E=G.arrow)==null?void 0:E.x,R=(z=G.arrow)==null?void 0:z.y,W=((B=G.arrow)==null?void 0:B.centerOffset)!==0,[H,O]=_.useState();return He(()=>{x&&O(window.getComputedStyle(x).zIndex)},[x]),c.jsx("div",{ref:A.setFloating,"data-radix-popper-content-wrapper":"",style:{...q,transform:J?q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:H,"--radix-popper-transform-origin":[(L=G.transformOrigin)==null?void 0:L.x,(Q=G.transformOrigin)==null?void 0:Q.y].join(" "),...((Z=G.hide)==null?void 0:Z.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(Pj,{scope:n,placedSide:I,onArrowChange:C,arrowX:se,arrowY:R,shouldHideArrow:W,children:c.jsx(ae.div,{"data-side":I,"data-align":re,...h,ref:b,style:{...h.style,animation:J?void 0:"none"}})})})});Md.displayName=Ds;var Dd="PopperArrow",Mj={top:"bottom",right:"left",bottom:"top",left:"right"},Td=_.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,a=Ej(Dd,r),s=Mj[a.placedSide];return c.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:c.jsx(Cj,{...o,ref:n,style:{...o.style,display:"block"}})})});Td.displayName=Dd;function Dj(e){return e!==null}var Tj=e=>({name:"transformOrigin",options:e,fn(t){var j,x,v;const{placement:n,rects:r,middlewareData:o}=t,s=((j=o.arrow)==null?void 0:j.centerOffset)!==0,i=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[d,u]=Rd(n),f={start:"0%",center:"50%",end:"100%"}[u],m=(((x=o.arrow)==null?void 0:x.x)??0)+i/2,p=(((v=o.arrow)==null?void 0:v.y)??0)+l/2;let g="",h="";return d==="bottom"?(g=s?f:`${m}px`,h=`${-l}px`):d==="top"?(g=s?f:`${m}px`,h=`${r.floating.height+l}px`):d==="right"?(g=`${-l}px`,h=s?f:`${p}px`):d==="left"&&(g=`${r.floating.width+l}px`,h=s?f:`${p}px`),{data:{x:g,y:h}}}});function Rd(e){const[t,n="center"]=e.split("-");return[t,n]}var Od=kd,Ts=Ed,Ad=Md,zd=Td,Rj="Portal",Io=_.forwardRef((e,t)=>{var i;const{container:n,...r}=e,[o,a]=_.useState(!1);He(()=>a(!0),[]);const s=n||o&&((i=globalThis==null?void 0:globalThis.document)==null?void 0:i.body);return s?is.createPortal(c.jsx(ae.div,{...r,ref:t}),s):null});Io.displayName=Rj;function Oj(e){const t=Aj(e),n=_.forwardRef((r,o)=>{const{children:a,...s}=r,i=_.Children.toArray(a),l=i.find(Ij);if(l){const d=l.props.children,u=i.map(f=>f===l?_.Children.count(d)>1?_.Children.only(null):_.isValidElement(d)?d.props.children:null:f);return c.jsx(t,{...s,ref:o,children:_.isValidElement(d)?_.cloneElement(d,void 0,u):null})}return c.jsx(t,{...s,ref:o,children:a})});return n.displayName=`${e}.Slot`,n}function Aj(e){const t=_.forwardRef((n,r)=>{const{children:o,...a}=n;if(_.isValidElement(o)){const s=Fj(o),i=Wj(a,o.props);return o.type!==_.Fragment&&(i.ref=r?Cn(r,s):s),_.cloneElement(o,i)}return _.Children.count(o)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var zj=Symbol("radix.slottable");function Ij(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===zj}function Wj(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...i)=>{const l=a(...i);return o(...i),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}function Fj(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Rs(e){const t=_.useRef({value:e,previous:e});return _.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Id=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),$j="VisuallyHidden",Lj=_.forwardRef((e,t)=>c.jsx(ae.span,{...e,ref:t,style:{...Id,...e.style}}));Lj.displayName=$j;var Bj=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Dn=new WeakMap,Fr=new WeakMap,$r={},wa=0,Wd=function(e){return e&&(e.host||Wd(e.parentNode))},Hj=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Wd(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Yj=function(e,t,n,r){var o=Hj(t,Array.isArray(e)?e:[e]);$r[n]||($r[n]=new WeakMap);var a=$r[n],s=[],i=new Set,l=new Set(o),d=function(f){!f||i.has(f)||(i.add(f),d(f.parentNode))};o.forEach(d);var u=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(m){if(i.has(m))u(m);else try{var p=m.getAttribute(r),g=p!==null&&p!=="false",h=(Dn.get(m)||0)+1,j=(a.get(m)||0)+1;Dn.set(m,h),a.set(m,j),s.push(m),h===1&&g&&Fr.set(m,!0),j===1&&m.setAttribute(n,"true"),g||m.setAttribute(r,"true")}catch(x){console.error("aria-hidden: cannot operate on ",m,x)}})};return u(t),i.clear(),wa++,function(){s.forEach(function(f){var m=Dn.get(f)-1,p=a.get(f)-1;Dn.set(f,m),a.set(f,p),m||(Fr.has(f)||f.removeAttribute(r),Fr.delete(f)),p||f.removeAttribute(n)}),wa--,wa||(Dn=new WeakMap,Dn=new WeakMap,Fr=new WeakMap,$r={})}},Os=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=Bj(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Yj(r,o,n,"aria-hidden")):function(){return null}},Ct=function(){return Ct=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Ct.apply(this,arguments)};function Fd(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function qj(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var Jr="right-scroll-bar-position",Qr="width-before-scroll-bar",Vj="with-scroll-bars-hidden",Gj="--removed-body-scroll-bar-size";function Sa(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Uj(e,t){var n=y.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Xj=typeof window<"u"?_.useLayoutEffect:_.useEffect,nc=new WeakMap;function Kj(e,t){var n=Uj(null,function(r){return e.forEach(function(o){return Sa(o,r)})});return Xj(function(){var r=nc.get(n);if(r){var o=new Set(r),a=new Set(e),s=n.current;o.forEach(function(i){a.has(i)||Sa(i,null)}),a.forEach(function(i){o.has(i)||Sa(i,s)})}nc.set(n,e)},[e]),n}function Jj(e){return e}function Qj(e,t){t===void 0&&(t=Jj);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(a){var s=t(a,r);return n.push(s),function(){n=n.filter(function(i){return i!==s})}},assignSyncMedium:function(a){for(r=!0;n.length;){var s=n;n=[],s.forEach(a)}n={push:function(i){return a(i)},filter:function(){return n}}},assignMedium:function(a){r=!0;var s=[];if(n.length){var i=n;n=[],i.forEach(a),s=n}var l=function(){var u=s;s=[],u.forEach(a)},d=function(){return Promise.resolve().then(l)};d(),n={push:function(u){s.push(u),d()},filter:function(u){return s=s.filter(u),n}}}};return o}function Zj(e){e===void 0&&(e={});var t=Qj(null);return t.options=Ct({async:!0,ssr:!1},e),t}var $d=function(e){var t=e.sideCar,n=Fd(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return _.createElement(r,Ct({},n))};$d.isSideCarExport=!0;function ey(e,t){return e.useMedium(t),$d}var Ld=Zj(),Na=function(){},Wo=_.forwardRef(function(e,t){var n=_.useRef(null),r=_.useState({onScrollCapture:Na,onWheelCapture:Na,onTouchMoveCapture:Na}),o=r[0],a=r[1],s=e.forwardProps,i=e.children,l=e.className,d=e.removeScrollBar,u=e.enabled,f=e.shards,m=e.sideCar,p=e.noRelative,g=e.noIsolation,h=e.inert,j=e.allowPinchZoom,x=e.as,v=x===void 0?"div":x,b=e.gapMode,N=Fd(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=m,w=Kj([n,t]),S=Ct(Ct({},N),o);return _.createElement(_.Fragment,null,u&&_.createElement(C,{sideCar:Ld,removeScrollBar:d,shards:f,noRelative:p,noIsolation:g,inert:h,setCallbacks:a,allowPinchZoom:!!j,lockRef:n,gapMode:b}),s?_.cloneElement(_.Children.only(i),Ct(Ct({},S),{ref:w})):_.createElement(v,Ct({},S,{className:l,ref:w}),i))});Wo.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Wo.classNames={fullWidth:Qr,zeroRight:Jr};var ty=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function ny(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=ty();return t&&e.setAttribute("nonce",t),e}function ry(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function oy(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var ay=function(){var e=0,t=null;return{add:function(n){e==0&&(t=ny())&&(ry(t,n),oy(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},sy=function(){var e=ay();return function(t,n){_.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Bd=function(){var e=sy(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},iy={left:0,top:0,right:0,gap:0},Ca=function(e){return parseInt(e||"",10)||0},cy=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ca(n),Ca(r),Ca(o)]},ly=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return iy;var t=cy(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},dy=Bd(),Hn="data-scroll-locked",uy=function(e,t,n,r){var o=e.left,a=e.top,s=e.right,i=e.gap;return n===void 0&&(n="margin"),`
|
|
217
|
+
*/const Nl=pe("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),So=y.createContext(null);So.displayName="PanelGroupContext";const Ae={group:"data-panel-group",groupDirection:"data-panel-group-direction",groupId:"data-panel-group-id",panel:"data-panel",panelCollapsible:"data-panel-collapsible",panelId:"data-panel-id",panelSize:"data-panel-size",resizeHandle:"data-resize-handle",resizeHandleActive:"data-resize-handle-active",resizeHandleEnabled:"data-panel-resize-handle-enabled",resizeHandleId:"data-panel-resize-handle-id",resizeHandleState:"data-resize-handle-state"},fs=10,jn=y.useLayoutEffect,ki=_.useId,t_=typeof ki=="function"?ki:()=>null;let n_=0;function ms(e=null){const t=t_(),n=y.useRef(e||t||null);return n.current===null&&(n.current=""+n_++),e??n.current}function Cl({children:e,className:t="",collapsedSize:n,collapsible:r,defaultSize:o,forwardedRef:a,id:s,maxSize:i,minSize:l,onCollapse:d,onExpand:u,onResize:f,order:m,style:p,tagName:g="div",...h}){const j=y.useContext(So);if(j===null)throw Error("Panel components must be rendered within a PanelGroup container");const{collapsePanel:x,expandPanel:v,getPanelSize:b,getPanelStyle:N,groupId:C,isPanelCollapsed:w,reevaluatePanelConstraints:S,registerPanel:k,resizePanel:P,unregisterPanel:M}=j,D=ms(s),T=y.useRef({callbacks:{onCollapse:d,onExpand:u,onResize:f},constraints:{collapsedSize:n,collapsible:r,defaultSize:o,maxSize:i,minSize:l},id:D,idIsFromProps:s!==void 0,order:m});y.useRef({didLogMissingDefaultSizeWarning:!1}),jn(()=>{const{callbacks:A,constraints:q}=T.current,F={...q};T.current.id=D,T.current.idIsFromProps=s!==void 0,T.current.order=m,A.onCollapse=d,A.onExpand=u,A.onResize=f,q.collapsedSize=n,q.collapsible=r,q.defaultSize=o,q.maxSize=i,q.minSize=l,(F.collapsedSize!==q.collapsedSize||F.collapsible!==q.collapsible||F.maxSize!==q.maxSize||F.minSize!==q.minSize)&&S(T.current,F)}),jn(()=>{const A=T.current;return k(A),()=>{M(A)}},[m,D,k,M]),y.useImperativeHandle(a,()=>({collapse:()=>{x(T.current)},expand:A=>{v(T.current,A)},getId(){return D},getSize(){return b(T.current)},isCollapsed(){return w(T.current)},isExpanded(){return!w(T.current)},resize:A=>{P(T.current,A)}}),[x,v,b,w,D,P]);const V=N(T.current,o);return y.createElement(g,{...h,children:e,className:t,id:D,style:{...V,...p},[Ae.groupId]:C,[Ae.panel]:"",[Ae.panelCollapsible]:r||void 0,[Ae.panelId]:D,[Ae.panelSize]:parseFloat(""+V.flexGrow).toFixed(1)})}const kl=y.forwardRef((e,t)=>y.createElement(Cl,{...e,forwardedRef:t}));Cl.displayName="Panel";kl.displayName="forwardRef(Panel)";let Fa=null,Xr=-1,nn=null;function r_(e,t){if(t){const n=(t&Tl)!==0,r=(t&Rl)!==0,o=(t&Ol)!==0,a=(t&Al)!==0;if(n)return o?"se-resize":a?"ne-resize":"e-resize";if(r)return o?"sw-resize":a?"nw-resize":"w-resize";if(o)return"s-resize";if(a)return"n-resize"}switch(e){case"horizontal":return"ew-resize";case"intersection":return"move";case"vertical":return"ns-resize"}}function o_(){nn!==null&&(document.head.removeChild(nn),Fa=null,nn=null,Xr=-1)}function fa(e,t){var n,r;const o=r_(e,t);if(Fa!==o){if(Fa=o,nn===null&&(nn=document.createElement("style"),document.head.appendChild(nn)),Xr>=0){var a;(a=nn.sheet)===null||a===void 0||a.removeRule(Xr)}Xr=(n=(r=nn.sheet)===null||r===void 0?void 0:r.insertRule(`*{cursor: ${o} !important;}`))!==null&&n!==void 0?n:-1}}function Pl(e){return e.type==="keydown"}function El(e){return e.type.startsWith("pointer")}function Ml(e){return e.type.startsWith("mouse")}function No(e){if(El(e)){if(e.isPrimary)return{x:e.clientX,y:e.clientY}}else if(Ml(e))return{x:e.clientX,y:e.clientY};return{x:1/0,y:1/0}}function a_(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}function s_(e,t,n){return e.x<t.x+t.width&&e.x+e.width>t.x&&e.y<t.y+t.height&&e.y+e.height>t.y}function i_(e,t){if(e===t)throw new Error("Cannot compare node with itself");const n={a:Mi(e),b:Mi(t)};let r;for(;n.a.at(-1)===n.b.at(-1);)e=n.a.pop(),t=n.b.pop(),r=e;fe(r,"Stacking order can only be calculated for elements with a common ancestor");const o={a:Ei(Pi(n.a)),b:Ei(Pi(n.b))};if(o.a===o.b){const a=r.childNodes,s={a:n.a.at(-1),b:n.b.at(-1)};let i=a.length;for(;i--;){const l=a[i];if(l===s.a)return 1;if(l===s.b)return-1}}return Math.sign(o.a-o.b)}const c_=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function l_(e){var t;const n=getComputedStyle((t=Dl(e))!==null&&t!==void 0?t:e).display;return n==="flex"||n==="inline-flex"}function d_(e){const t=getComputedStyle(e);return!!(t.position==="fixed"||t.zIndex!=="auto"&&(t.position!=="static"||l_(e))||+t.opacity<1||"transform"in t&&t.transform!=="none"||"webkitTransform"in t&&t.webkitTransform!=="none"||"mixBlendMode"in t&&t.mixBlendMode!=="normal"||"filter"in t&&t.filter!=="none"||"webkitFilter"in t&&t.webkitFilter!=="none"||"isolation"in t&&t.isolation==="isolate"||c_.test(t.willChange)||t.webkitOverflowScrolling==="touch")}function Pi(e){let t=e.length;for(;t--;){const n=e[t];if(fe(n,"Missing node"),d_(n))return n}return null}function Ei(e){return e&&Number(getComputedStyle(e).zIndex)||0}function Mi(e){const t=[];for(;e;)t.push(e),e=Dl(e);return t}function Dl(e){const{parentNode:t}=e;return t&&t instanceof ShadowRoot?t.host:t}const Tl=1,Rl=2,Ol=4,Al=8,u_=a_()==="coarse";let yt=[],Ln=!1,_n=new Map,Co=new Map;const yr=new Set;function f_(e,t,n,r,o){var a;const{ownerDocument:s}=t,i={direction:n,element:t,hitAreaMargins:r,setResizeHandlerState:o},l=(a=_n.get(s))!==null&&a!==void 0?a:0;return _n.set(s,l+1),yr.add(i),no(),function(){var u;Co.delete(e),yr.delete(i);const f=(u=_n.get(s))!==null&&u!==void 0?u:1;if(_n.set(s,f-1),no(),f===1&&_n.delete(s),yt.includes(i)){const m=yt.indexOf(i);m>=0&&yt.splice(m,1),hs(),o("up",!0,null)}}}function m_(e){const{target:t}=e,{x:n,y:r}=No(e);Ln=!0,ps({target:t,x:n,y:r}),no(),yt.length>0&&(ro("down",e),e.preventDefault(),zl(t)||e.stopImmediatePropagation())}function ma(e){const{x:t,y:n}=No(e);if(Ln&&e.buttons===0&&(Ln=!1,ro("up",e)),!Ln){const{target:r}=e;ps({target:r,x:t,y:n})}ro("move",e),hs(),yt.length>0&&e.preventDefault()}function pa(e){const{target:t}=e,{x:n,y:r}=No(e);Co.clear(),Ln=!1,yt.length>0&&(e.preventDefault(),zl(t)||e.stopImmediatePropagation()),ro("up",e),ps({target:t,x:n,y:r}),hs(),no()}function zl(e){let t=e;for(;t;){if(t.hasAttribute(Ae.resizeHandle))return!0;t=t.parentElement}return!1}function ps({target:e,x:t,y:n}){yt.splice(0);let r=null;(e instanceof HTMLElement||e instanceof SVGElement)&&(r=e),yr.forEach(o=>{const{element:a,hitAreaMargins:s}=o,i=a.getBoundingClientRect(),{bottom:l,left:d,right:u,top:f}=i,m=u_?s.coarse:s.fine;if(t>=d-m&&t<=u+m&&n>=f-m&&n<=l+m){if(r!==null&&document.contains(r)&&a!==r&&!a.contains(r)&&!r.contains(a)&&i_(r,a)>0){let g=r,h=!1;for(;g&&!g.contains(a);){if(s_(g.getBoundingClientRect(),i)){h=!0;break}g=g.parentElement}if(h)return}yt.push(o)}})}function ha(e,t){Co.set(e,t)}function hs(){let e=!1,t=!1;yt.forEach(r=>{const{direction:o}=r;o==="horizontal"?e=!0:t=!0});let n=0;Co.forEach(r=>{n|=r}),e&&t?fa("intersection",n):e?fa("horizontal",n):t?fa("vertical",n):o_()}let _a=new AbortController;function no(){_a.abort(),_a=new AbortController;const e={capture:!0,signal:_a.signal};yr.size&&(Ln?(yt.length>0&&_n.forEach((t,n)=>{const{body:r}=n;t>0&&(r.addEventListener("contextmenu",pa,e),r.addEventListener("pointerleave",ma,e),r.addEventListener("pointermove",ma,e))}),window.addEventListener("pointerup",pa,e),window.addEventListener("pointercancel",pa,e)):_n.forEach((t,n)=>{const{body:r}=n;t>0&&(r.addEventListener("pointerdown",m_,e),r.addEventListener("pointermove",ma,e))}))}function ro(e,t){yr.forEach(n=>{const{setResizeHandlerState:r}=n,o=yt.includes(n);r(e,o,t)})}function p_(){const[e,t]=y.useState(0);return y.useCallback(()=>t(n=>n+1),[])}function fe(e,t){if(!e)throw console.error(t),Error(t)}function yn(e,t,n=fs){return e.toFixed(n)===t.toFixed(n)?0:e>t?1:-1}function Ft(e,t,n=fs){return yn(e,t,n)===0}function tt(e,t,n){return yn(e,t,n)===0}function h_(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){const o=e[r],a=t[r];if(!tt(o,a,n))return!1}return!0}function Fn({panelConstraints:e,panelIndex:t,size:n}){const r=e[t];fe(r!=null,`Panel constraints not found for index ${t}`);let{collapsedSize:o=0,collapsible:a,maxSize:s=100,minSize:i=0}=r;if(yn(n,i)<0)if(a){const l=(o+i)/2;yn(n,l)<0?n=o:n=i}else n=i;return n=Math.min(s,n),n=parseFloat(n.toFixed(fs)),n}function fr({delta:e,initialLayout:t,panelConstraints:n,pivotIndices:r,prevLayout:o,trigger:a}){if(tt(e,0))return t;const s=[...t],[i,l]=r;fe(i!=null,"Invalid first pivot index"),fe(l!=null,"Invalid second pivot index");let d=0;if(a==="keyboard"){{const f=e<0?l:i,m=n[f];fe(m,`Panel constraints not found for index ${f}`);const{collapsedSize:p=0,collapsible:g,minSize:h=0}=m;if(g){const j=t[f];if(fe(j!=null,`Previous layout not found for panel index ${f}`),tt(j,p)){const x=h-j;yn(x,Math.abs(e))>0&&(e=e<0?0-x:x)}}}{const f=e<0?i:l,m=n[f];fe(m,`No panel constraints found for index ${f}`);const{collapsedSize:p=0,collapsible:g,minSize:h=0}=m;if(g){const j=t[f];if(fe(j!=null,`Previous layout not found for panel index ${f}`),tt(j,h)){const x=j-p;yn(x,Math.abs(e))>0&&(e=e<0?0-x:x)}}}}{const f=e<0?1:-1;let m=e<0?l:i,p=0;for(;;){const h=t[m];fe(h!=null,`Previous layout not found for panel index ${m}`);const x=Fn({panelConstraints:n,panelIndex:m,size:100})-h;if(p+=x,m+=f,m<0||m>=n.length)break}const g=Math.min(Math.abs(e),Math.abs(p));e=e<0?0-g:g}{let m=e<0?i:l;for(;m>=0&&m<n.length;){const p=Math.abs(e)-Math.abs(d),g=t[m];fe(g!=null,`Previous layout not found for panel index ${m}`);const h=g-p,j=Fn({panelConstraints:n,panelIndex:m,size:h});if(!tt(g,j)&&(d+=g-j,s[m]=j,d.toPrecision(3).localeCompare(Math.abs(e).toPrecision(3),void 0,{numeric:!0})>=0))break;e<0?m--:m++}}if(h_(o,s))return o;{const f=e<0?l:i,m=t[f];fe(m!=null,`Previous layout not found for panel index ${f}`);const p=m+d,g=Fn({panelConstraints:n,panelIndex:f,size:p});if(s[f]=g,!tt(g,p)){let h=p-g,x=e<0?l:i;for(;x>=0&&x<n.length;){const v=s[x];fe(v!=null,`Previous layout not found for panel index ${x}`);const b=v+h,N=Fn({panelConstraints:n,panelIndex:x,size:b});if(tt(v,N)||(h-=N-v,s[x]=N),tt(h,0))break;e>0?x--:x++}}}const u=s.reduce((f,m)=>m+f,0);return tt(u,100)?s:o}function __({layout:e,panelsArray:t,pivotIndices:n}){let r=0,o=100,a=0,s=0;const i=n[0];fe(i!=null,"No pivot index found"),t.forEach((f,m)=>{const{constraints:p}=f,{maxSize:g=100,minSize:h=0}=p;m===i?(r=h,o=g):(a+=h,s+=g)});const l=Math.min(o,100-a),d=Math.max(r,100-s),u=e[i];return{valueMax:l,valueMin:d,valueNow:u}}function vr(e,t=document){return Array.from(t.querySelectorAll(`[${Ae.resizeHandleId}][data-panel-group-id="${e}"]`))}function Il(e,t,n=document){const o=vr(e,n).findIndex(a=>a.getAttribute(Ae.resizeHandleId)===t);return o??null}function Wl(e,t,n){const r=Il(e,t,n);return r!=null?[r,r+1]:[-1,-1]}function Fl(e,t=document){var n;if(t instanceof HTMLElement&&(t==null||(n=t.dataset)===null||n===void 0?void 0:n.panelGroupId)==e)return t;const r=t.querySelector(`[data-panel-group][data-panel-group-id="${e}"]`);return r||null}function ko(e,t=document){const n=t.querySelector(`[${Ae.resizeHandleId}="${e}"]`);return n||null}function g_(e,t,n,r=document){var o,a,s,i;const l=ko(t,r),d=vr(e,r),u=l?d.indexOf(l):-1,f=(o=(a=n[u])===null||a===void 0?void 0:a.id)!==null&&o!==void 0?o:null,m=(s=(i=n[u+1])===null||i===void 0?void 0:i.id)!==null&&s!==void 0?s:null;return[f,m]}function j_({committedValuesRef:e,eagerValuesRef:t,groupId:n,layout:r,panelDataArray:o,panelGroupElement:a,setLayout:s}){y.useRef({didWarnAboutMissingResizeHandle:!1}),jn(()=>{if(!a)return;const i=vr(n,a);for(let l=0;l<o.length-1;l++){const{valueMax:d,valueMin:u,valueNow:f}=__({layout:r,panelsArray:o,pivotIndices:[l,l+1]}),m=i[l];if(m!=null){const p=o[l];fe(p,`No panel data found for index "${l}"`),m.setAttribute("aria-controls",p.id),m.setAttribute("aria-valuemax",""+Math.round(d)),m.setAttribute("aria-valuemin",""+Math.round(u)),m.setAttribute("aria-valuenow",f!=null?""+Math.round(f):"")}}return()=>{i.forEach((l,d)=>{l.removeAttribute("aria-controls"),l.removeAttribute("aria-valuemax"),l.removeAttribute("aria-valuemin"),l.removeAttribute("aria-valuenow")})}},[n,r,o,a]),y.useEffect(()=>{if(!a)return;const i=t.current;fe(i,"Eager values not found");const{panelDataArray:l}=i,d=Fl(n,a);fe(d!=null,`No group found for id "${n}"`);const u=vr(n,a);fe(u,`No resize handles found for group id "${n}"`);const f=u.map(m=>{const p=m.getAttribute(Ae.resizeHandleId);fe(p,"Resize handle element has no handle id attribute");const[g,h]=g_(n,p,l,a);if(g==null||h==null)return()=>{};const j=x=>{if(!x.defaultPrevented)switch(x.key){case"Enter":{x.preventDefault();const v=l.findIndex(b=>b.id===g);if(v>=0){const b=l[v];fe(b,`No panel data found for index ${v}`);const N=r[v],{collapsedSize:C=0,collapsible:w,minSize:S=0}=b.constraints;if(N!=null&&w){const k=fr({delta:tt(N,C)?S-C:C-N,initialLayout:r,panelConstraints:l.map(P=>P.constraints),pivotIndices:Wl(n,p,a),prevLayout:r,trigger:"keyboard"});r!==k&&s(k)}}break}}};return m.addEventListener("keydown",j),()=>{m.removeEventListener("keydown",j)}});return()=>{f.forEach(m=>m())}},[a,e,t,n,r,o,s])}function Di(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function $l(e,t){const n=e==="horizontal",{x:r,y:o}=No(t);return n?r:o}function y_(e,t,n,r,o){const a=n==="horizontal",s=ko(t,o);fe(s,`No resize handle element found for id "${t}"`);const i=s.getAttribute(Ae.groupId);fe(i,"Resize handle element has no group id attribute");let{initialCursorPosition:l}=r;const d=$l(n,e),u=Fl(i,o);fe(u,`No group element found for id "${i}"`);const f=u.getBoundingClientRect(),m=a?f.width:f.height;return(d-l)/m*100}function v_(e,t,n,r,o,a){if(Pl(e)){const s=n==="horizontal";let i=0;e.shiftKey?i=100:o!=null?i=o:i=10;let l=0;switch(e.key){case"ArrowDown":l=s?0:i;break;case"ArrowLeft":l=s?-i:0;break;case"ArrowRight":l=s?i:0;break;case"ArrowUp":l=s?0:-i;break;case"End":l=100;break;case"Home":l=-100;break}return l}else return r==null?0:y_(e,t,n,r,a)}function x_({panelDataArray:e}){const t=Array(e.length),n=e.map(a=>a.constraints);let r=0,o=100;for(let a=0;a<e.length;a++){const s=n[a];fe(s,`Panel constraints not found for index ${a}`);const{defaultSize:i}=s;i!=null&&(r++,t[a]=i,o-=i)}for(let a=0;a<e.length;a++){const s=n[a];fe(s,`Panel constraints not found for index ${a}`);const{defaultSize:i}=s;if(i!=null)continue;const l=e.length-r,d=o/l;r++,t[a]=d,o-=d}return t}function Mn(e,t,n){t.forEach((r,o)=>{const a=e[o];fe(a,`Panel data not found for index ${o}`);const{callbacks:s,constraints:i,id:l}=a,{collapsedSize:d=0,collapsible:u}=i,f=n[l];if(f==null||r!==f){n[l]=r;const{onCollapse:m,onExpand:p,onResize:g}=s;g&&g(r,f),u&&(m||p)&&(p&&(f==null||Ft(f,d))&&!Ft(r,d)&&p(),m&&(f==null||!Ft(f,d))&&Ft(r,d)&&m())}})}function Ir(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n])return!1;return!0}function b_({defaultSize:e,dragState:t,layout:n,panelData:r,panelIndex:o,precision:a=3}){const s=n[o];let i;return s==null?i=e!=null?e.toPrecision(a):"1":r.length===1?i="1":i=s.toPrecision(a),{flexBasis:0,flexGrow:i,flexShrink:1,overflow:"hidden",pointerEvents:t!==null?"none":void 0}}function w_(e,t=10){let n=null;return(...o)=>{n!==null&&clearTimeout(n),n=setTimeout(()=>{e(...o)},t)}}function Ti(e){try{if(typeof localStorage<"u")e.getItem=t=>localStorage.getItem(t),e.setItem=(t,n)=>{localStorage.setItem(t,n)};else throw new Error("localStorage not supported in this environment")}catch(t){console.error(t),e.getItem=()=>null,e.setItem=()=>{}}}function Ll(e){return`react-resizable-panels:${e}`}function Bl(e){return e.map(t=>{const{constraints:n,id:r,idIsFromProps:o,order:a}=t;return o?r:a?`${a}:${JSON.stringify(n)}`:JSON.stringify(n)}).sort((t,n)=>t.localeCompare(n)).join(",")}function Hl(e,t){try{const n=Ll(e),r=t.getItem(n);if(r){const o=JSON.parse(r);if(typeof o=="object"&&o!=null)return o}}catch{}return null}function S_(e,t,n){var r,o;const a=(r=Hl(e,n))!==null&&r!==void 0?r:{},s=Bl(t);return(o=a[s])!==null&&o!==void 0?o:null}function N_(e,t,n,r,o){var a;const s=Ll(e),i=Bl(t),l=(a=Hl(e,o))!==null&&a!==void 0?a:{};l[i]={expandToSizes:Object.fromEntries(n.entries()),layout:r};try{o.setItem(s,JSON.stringify(l))}catch(d){console.error(d)}}function Ri({layout:e,panelConstraints:t}){const n=[...e],r=n.reduce((a,s)=>a+s,0);if(n.length!==t.length)throw Error(`Invalid ${t.length} panel layout: ${n.map(a=>`${a}%`).join(", ")}`);if(!tt(r,100)&&n.length>0)for(let a=0;a<t.length;a++){const s=n[a];fe(s!=null,`No layout data found for index ${a}`);const i=100/r*s;n[a]=i}let o=0;for(let a=0;a<t.length;a++){const s=n[a];fe(s!=null,`No layout data found for index ${a}`);const i=Fn({panelConstraints:t,panelIndex:a,size:s});s!=i&&(o+=s-i,n[a]=i)}if(!tt(o,0))for(let a=0;a<t.length;a++){const s=n[a];fe(s!=null,`No layout data found for index ${a}`);const i=s+o,l=Fn({panelConstraints:t,panelIndex:a,size:i});if(s!==l&&(o-=l-s,n[a]=l,tt(o,0)))break}return n}const C_=100,mr={getItem:e=>(Ti(mr),mr.getItem(e)),setItem:(e,t)=>{Ti(mr),mr.setItem(e,t)}},Oi={};function Yl({autoSaveId:e=null,children:t,className:n="",direction:r,forwardedRef:o,id:a=null,onLayout:s=null,keyboardResizeBy:i=null,storage:l=mr,style:d,tagName:u="div",...f}){const m=ms(a),p=y.useRef(null),[g,h]=y.useState(null),[j,x]=y.useState([]),v=p_(),b=y.useRef({}),N=y.useRef(new Map),C=y.useRef(0),w=y.useRef({autoSaveId:e,direction:r,dragState:g,id:m,keyboardResizeBy:i,onLayout:s,storage:l}),S=y.useRef({layout:j,panelDataArray:[],panelDataArrayChanged:!1});y.useRef({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),y.useImperativeHandle(o,()=>({getId:()=>w.current.id,getLayout:()=>{const{layout:R}=S.current;return R},setLayout:R=>{const{onLayout:W}=w.current,{layout:H,panelDataArray:O}=S.current,E=Ri({layout:R,panelConstraints:O.map(z=>z.constraints)});Di(H,E)||(x(E),S.current.layout=E,W&&W(E),Mn(O,E,b.current))}}),[]),jn(()=>{w.current.autoSaveId=e,w.current.direction=r,w.current.dragState=g,w.current.id=m,w.current.onLayout=s,w.current.storage=l}),j_({committedValuesRef:w,eagerValuesRef:S,groupId:m,layout:j,panelDataArray:S.current.panelDataArray,setLayout:x,panelGroupElement:p.current}),y.useEffect(()=>{const{panelDataArray:R}=S.current;if(e){if(j.length===0||j.length!==R.length)return;let W=Oi[e];W==null&&(W=w_(N_,C_),Oi[e]=W);const H=[...R],O=new Map(N.current);W(e,H,O,j,l)}},[e,j,l]),y.useEffect(()=>{});const k=y.useCallback(R=>{const{onLayout:W}=w.current,{layout:H,panelDataArray:O}=S.current;if(R.constraints.collapsible){const E=O.map(Q=>Q.constraints),{collapsedSize:z=0,panelSize:B,pivotIndices:L}=mn(O,R,H);if(fe(B!=null,`Panel size not found for panel "${R.id}"`),!Ft(B,z)){N.current.set(R.id,B);const Z=In(O,R)===O.length-1?B-z:z-B,te=fr({delta:Z,initialLayout:H,panelConstraints:E,pivotIndices:L,prevLayout:H,trigger:"imperative-api"});Ir(H,te)||(x(te),S.current.layout=te,W&&W(te),Mn(O,te,b.current))}}},[]),P=y.useCallback((R,W)=>{const{onLayout:H}=w.current,{layout:O,panelDataArray:E}=S.current;if(R.constraints.collapsible){const z=E.map(_e=>_e.constraints),{collapsedSize:B=0,panelSize:L=0,minSize:Q=0,pivotIndices:Z}=mn(E,R,O),te=W??Q;if(Ft(L,B)){const _e=N.current.get(R.id),Ce=_e!=null&&_e>=te?_e:te,qe=In(E,R)===E.length-1?L-Ce:Ce-L,Oe=fr({delta:qe,initialLayout:O,panelConstraints:z,pivotIndices:Z,prevLayout:O,trigger:"imperative-api"});Ir(O,Oe)||(x(Oe),S.current.layout=Oe,H&&H(Oe),Mn(E,Oe,b.current))}}},[]),M=y.useCallback(R=>{const{layout:W,panelDataArray:H}=S.current,{panelSize:O}=mn(H,R,W);return fe(O!=null,`Panel size not found for panel "${R.id}"`),O},[]),D=y.useCallback((R,W)=>{const{panelDataArray:H}=S.current,O=In(H,R);return b_({defaultSize:W,dragState:g,layout:j,panelData:H,panelIndex:O})},[g,j]),T=y.useCallback(R=>{const{layout:W,panelDataArray:H}=S.current,{collapsedSize:O=0,collapsible:E,panelSize:z}=mn(H,R,W);return fe(z!=null,`Panel size not found for panel "${R.id}"`),E===!0&&Ft(z,O)},[]),V=y.useCallback(R=>{const{layout:W,panelDataArray:H}=S.current,{collapsedSize:O=0,collapsible:E,panelSize:z}=mn(H,R,W);return fe(z!=null,`Panel size not found for panel "${R.id}"`),!E||yn(z,O)>0},[]),A=y.useCallback(R=>{const{panelDataArray:W}=S.current;W.push(R),W.sort((H,O)=>{const E=H.order,z=O.order;return E==null&&z==null?0:E==null?-1:z==null?1:E-z}),S.current.panelDataArrayChanged=!0,v()},[v]);jn(()=>{if(S.current.panelDataArrayChanged){S.current.panelDataArrayChanged=!1;const{autoSaveId:R,onLayout:W,storage:H}=w.current,{layout:O,panelDataArray:E}=S.current;let z=null;if(R){const L=S_(R,E,H);L&&(N.current=new Map(Object.entries(L.expandToSizes)),z=L.layout)}z==null&&(z=x_({panelDataArray:E}));const B=Ri({layout:z,panelConstraints:E.map(L=>L.constraints)});Di(O,B)||(x(B),S.current.layout=B,W&&W(B),Mn(E,B,b.current))}}),jn(()=>{const R=S.current;return()=>{R.layout=[]}},[]);const q=y.useCallback(R=>{let W=!1;const H=p.current;return H&&window.getComputedStyle(H,null).getPropertyValue("direction")==="rtl"&&(W=!0),function(E){E.preventDefault();const z=p.current;if(!z)return()=>null;const{direction:B,dragState:L,id:Q,keyboardResizeBy:Z,onLayout:te}=w.current,{layout:_e,panelDataArray:Ce}=S.current,{initialLayout:We}=L??{},qe=Wl(Q,R,z);let Oe=v_(E,R,B,L,Z,z);const ft=B==="horizontal";ft&&W&&(Oe=-Oe);const Pn=Ce.map(it=>it.constraints),Ze=fr({delta:Oe,initialLayout:We??_e,panelConstraints:Pn,pivotIndices:qe,prevLayout:_e,trigger:Pl(E)?"keyboard":"mouse-or-touch"}),un=!Ir(_e,Ze);(El(E)||Ml(E))&&C.current!=Oe&&(C.current=Oe,!un&&Oe!==0?ft?ha(R,Oe<0?Tl:Rl):ha(R,Oe<0?Ol:Al):ha(R,0)),un&&(x(Ze),S.current.layout=Ze,te&&te(Ze),Mn(Ce,Ze,b.current))}},[]),F=y.useCallback((R,W)=>{const{onLayout:H}=w.current,{layout:O,panelDataArray:E}=S.current,z=E.map(_e=>_e.constraints),{panelSize:B,pivotIndices:L}=mn(E,R,O);fe(B!=null,`Panel size not found for panel "${R.id}"`);const Z=In(E,R)===E.length-1?B-W:W-B,te=fr({delta:Z,initialLayout:O,panelConstraints:z,pivotIndices:L,prevLayout:O,trigger:"imperative-api"});Ir(O,te)||(x(te),S.current.layout=te,H&&H(te),Mn(E,te,b.current))},[]),J=y.useCallback((R,W)=>{const{layout:H,panelDataArray:O}=S.current,{collapsedSize:E=0,collapsible:z}=W,{collapsedSize:B=0,collapsible:L,maxSize:Q=100,minSize:Z=0}=R.constraints,{panelSize:te}=mn(O,R,H);te!=null&&(z&&L&&Ft(te,E)?Ft(E,B)||F(R,B):te<Z?F(R,Z):te>Q&&F(R,Q))},[F]),G=y.useCallback((R,W)=>{const{direction:H}=w.current,{layout:O}=S.current;if(!p.current)return;const E=ko(R,p.current);fe(E,`Drag handle element not found for id "${R}"`);const z=$l(H,W);h({dragHandleId:R,dragHandleRect:E.getBoundingClientRect(),initialCursorPosition:z,initialLayout:O})},[]),I=y.useCallback(()=>{h(null)},[]),re=y.useCallback(R=>{const{panelDataArray:W}=S.current,H=In(W,R);H>=0&&(W.splice(H,1),delete b.current[R.id],S.current.panelDataArrayChanged=!0,v())},[v]),le=y.useMemo(()=>({collapsePanel:k,direction:r,dragState:g,expandPanel:P,getPanelSize:M,getPanelStyle:D,groupId:m,isPanelCollapsed:T,isPanelExpanded:V,reevaluatePanelConstraints:J,registerPanel:A,registerResizeHandle:q,resizePanel:F,startDragging:G,stopDragging:I,unregisterPanel:re,panelGroupElement:p.current}),[k,g,r,P,M,D,m,T,V,J,A,q,F,G,I,re]),se={display:"flex",flexDirection:r==="horizontal"?"row":"column",height:"100%",overflow:"hidden",width:"100%"};return y.createElement(So.Provider,{value:le},y.createElement(u,{...f,children:t,className:n,id:a,ref:p,style:{...se,...d},[Ae.group]:"",[Ae.groupDirection]:r,[Ae.groupId]:m}))}const ql=y.forwardRef((e,t)=>y.createElement(Yl,{...e,forwardedRef:t}));Yl.displayName="PanelGroup";ql.displayName="forwardRef(PanelGroup)";function In(e,t){return e.findIndex(n=>n===t||n.id===t.id)}function mn(e,t,n){const r=In(e,t),a=r===e.length-1?[r-1,r]:[r,r+1],s=n[r];return{...t.constraints,panelSize:s,pivotIndices:a}}function k_({disabled:e,handleId:t,resizeHandler:n,panelGroupElement:r}){y.useEffect(()=>{if(e||n==null||r==null)return;const o=ko(t,r);if(o==null)return;const a=s=>{if(!s.defaultPrevented)switch(s.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":{s.preventDefault(),n(s);break}case"F6":{s.preventDefault();const i=o.getAttribute(Ae.groupId);fe(i,`No group element found for id "${i}"`);const l=vr(i,r),d=Il(i,t,r);fe(d!==null,`No resize element found for id "${t}"`);const u=s.shiftKey?d>0?d-1:l.length-1:d+1<l.length?d+1:0;l[u].focus();break}}};return o.addEventListener("keydown",a),()=>{o.removeEventListener("keydown",a)}},[r,e,t,n])}function Vl({children:e=null,className:t="",disabled:n=!1,hitAreaMargins:r,id:o,onBlur:a,onClick:s,onDragging:i,onFocus:l,onPointerDown:d,onPointerUp:u,style:f={},tabIndex:m=0,tagName:p="div",...g}){var h,j;const x=y.useRef(null),v=y.useRef({onClick:s,onDragging:i,onPointerDown:d,onPointerUp:u});y.useEffect(()=>{v.current.onClick=s,v.current.onDragging=i,v.current.onPointerDown=d,v.current.onPointerUp=u});const b=y.useContext(So);if(b===null)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");const{direction:N,groupId:C,registerResizeHandle:w,startDragging:S,stopDragging:k,panelGroupElement:P}=b,M=ms(o),[D,T]=y.useState("inactive"),[V,A]=y.useState(!1),[q,F]=y.useState(null),J=y.useRef({state:D});jn(()=>{J.current.state=D}),y.useEffect(()=>{if(n)F(null);else{const le=w(M);F(()=>le)}},[n,M,w]);const G=(h=r==null?void 0:r.coarse)!==null&&h!==void 0?h:15,I=(j=r==null?void 0:r.fine)!==null&&j!==void 0?j:5;y.useEffect(()=>{if(n||q==null)return;const le=x.current;fe(le,"Element ref not attached");let se=!1;return f_(M,le,N,{coarse:G,fine:I},(W,H,O)=>{if(!H){T("inactive");return}switch(W){case"down":{T("drag"),se=!1,fe(O,'Expected event to be defined for "down" action'),S(M,O);const{onDragging:E,onPointerDown:z}=v.current;E==null||E(!0),z==null||z();break}case"move":{const{state:E}=J.current;se=!0,E!=="drag"&&T("hover"),fe(O,'Expected event to be defined for "move" action'),q(O);break}case"up":{T("hover"),k();const{onClick:E,onDragging:z,onPointerUp:B}=v.current;z==null||z(!1),B==null||B(),se||E==null||E();break}}})},[G,N,n,I,w,M,q,S,k]),k_({disabled:n,handleId:M,resizeHandler:q,panelGroupElement:P});const re={touchAction:"none",userSelect:"none"};return y.createElement(p,{...g,children:e,className:t,id:o,onBlur:()=>{A(!1),a==null||a()},onFocus:()=>{A(!0),l==null||l()},ref:x,role:"separator",style:{...re,...f},tabIndex:m,[Ae.groupDirection]:N,[Ae.groupId]:C,[Ae.resizeHandle]:"",[Ae.resizeHandleActive]:D==="drag"?"pointer":V?"keyboard":void 0,[Ae.resizeHandleEnabled]:!n,[Ae.resizeHandleId]:M,[Ae.resizeHandleState]:D})}Vl.displayName="PanelResizeHandle";const P_=({className:e,...t})=>c.jsx(ql,{className:ie("cj-flex cj-h-full cj-w-full data-[panel-group-direction=vertical]:cj-flex-col",e),...t}),ga=kl,Ai=({withHandle:e,className:t,...n})=>c.jsx(Vl,{className:ie("cj-relative cj-flex cj-w-px cj-items-center cj-justify-center cj-bg-border after:cj-absolute after:cj-inset-y-0 after:cj-left-1/2 after:cj-w-1 after:-cj-translate-x-1/2 data-[panel-group-direction=vertical]:cj-h-px data-[panel-group-direction=vertical]:cj-w-full data-[panel-group-direction=vertical]:after:cj-left-0 data-[panel-group-direction=vertical]:after:cj-h-1 data-[panel-group-direction=vertical]:after:cj-w-full data-[panel-group-direction=vertical]:after:-cj-translate-y-1/2 data-[panel-group-direction=vertical]:after:cj-translate-x-0 focus-visible:cj-outline-none focus-visible:cj-ring-1 focus-visible:cj-ring-ring focus-visible:cj-ring-offset-1 [&[data-panel-group-direction=vertical]>div]:cj-rotate-90",t),...n,children:e&&c.jsx("div",{className:"cj-z-10 cj-flex cj-h-4 cj-w-3 cj-items-center cj-justify-center cj-rounded-sm cj-border cj-bg-border",children:c.jsx(xl,{className:"cj-h-2.5 cj-w-2.5"})})});function $a(e,[t,n]){return Math.min(n,Math.max(t,e))}function E_(e,t){return _.useReducer((n,r)=>t[n][r]??n,e)}var _s="ScrollArea",[Gl]=dt(_s),[M_,ut]=Gl(_s),Ul=_.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:r="hover",dir:o,scrollHideDelay:a=600,...s}=e,[i,l]=_.useState(null),[d,u]=_.useState(null),[f,m]=_.useState(null),[p,g]=_.useState(null),[h,j]=_.useState(null),[x,v]=_.useState(0),[b,N]=_.useState(0),[C,w]=_.useState(!1),[S,k]=_.useState(!1),P=he(t,D=>l(D)),M=Nr(o);return c.jsx(M_,{scope:n,type:r,dir:M,scrollHideDelay:a,scrollArea:i,viewport:d,onViewportChange:u,content:f,onContentChange:m,scrollbarX:p,onScrollbarXChange:g,scrollbarXEnabled:C,onScrollbarXEnabledChange:w,scrollbarY:h,onScrollbarYChange:j,scrollbarYEnabled:S,onScrollbarYEnabledChange:k,onCornerWidthChange:v,onCornerHeightChange:N,children:c.jsx(ae.div,{dir:M,...s,ref:P,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":b+"px",...e.style}})})});Ul.displayName=_s;var Xl="ScrollAreaViewport",Kl=_.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,nonce:o,...a}=e,s=ut(Xl,n),i=_.useRef(null),l=he(t,i,s.onViewportChange);return c.jsxs(c.Fragment,{children:[c.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),c.jsx(ae.div,{"data-radix-scroll-area-viewport":"",...a,ref:l,style:{overflowX:s.scrollbarXEnabled?"scroll":"hidden",overflowY:s.scrollbarYEnabled?"scroll":"hidden",...e.style},children:c.jsx("div",{ref:s.onContentChange,style:{minWidth:"100%",display:"table"},children:r})})]})});Kl.displayName=Xl;var At="ScrollAreaScrollbar",gs=_.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=ut(At,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:s}=o,i=e.orientation==="horizontal";return _.useEffect(()=>(i?a(!0):s(!0),()=>{i?a(!1):s(!1)}),[i,a,s]),o.type==="hover"?c.jsx(D_,{...r,ref:t,forceMount:n}):o.type==="scroll"?c.jsx(T_,{...r,ref:t,forceMount:n}):o.type==="auto"?c.jsx(Jl,{...r,ref:t,forceMount:n}):o.type==="always"?c.jsx(js,{...r,ref:t}):null});gs.displayName=At;var D_=_.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=ut(At,e.__scopeScrollArea),[a,s]=_.useState(!1);return _.useEffect(()=>{const i=o.scrollArea;let l=0;if(i){const d=()=>{window.clearTimeout(l),s(!0)},u=()=>{l=window.setTimeout(()=>s(!1),o.scrollHideDelay)};return i.addEventListener("pointerenter",d),i.addEventListener("pointerleave",u),()=>{window.clearTimeout(l),i.removeEventListener("pointerenter",d),i.removeEventListener("pointerleave",u)}}},[o.scrollArea,o.scrollHideDelay]),c.jsx(st,{present:n||a,children:c.jsx(Jl,{"data-state":a?"visible":"hidden",...r,ref:t})})}),T_=_.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=ut(At,e.__scopeScrollArea),a=e.orientation==="horizontal",s=Eo(()=>l("SCROLL_END"),100),[i,l]=E_("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return _.useEffect(()=>{if(i==="idle"){const d=window.setTimeout(()=>l("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(d)}},[i,o.scrollHideDelay,l]),_.useEffect(()=>{const d=o.viewport,u=a?"scrollLeft":"scrollTop";if(d){let f=d[u];const m=()=>{const p=d[u];f!==p&&(l("SCROLL"),s()),f=p};return d.addEventListener("scroll",m),()=>d.removeEventListener("scroll",m)}},[o.viewport,a,l,s]),c.jsx(st,{present:n||i!=="hidden",children:c.jsx(js,{"data-state":i==="hidden"?"hidden":"visible",...r,ref:t,onPointerEnter:oe(e.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:oe(e.onPointerLeave,()=>l("POINTER_LEAVE"))})})}),Jl=_.forwardRef((e,t)=>{const n=ut(At,e.__scopeScrollArea),{forceMount:r,...o}=e,[a,s]=_.useState(!1),i=e.orientation==="horizontal",l=Eo(()=>{if(n.viewport){const d=n.viewport.offsetWidth<n.viewport.scrollWidth,u=n.viewport.offsetHeight<n.viewport.scrollHeight;s(i?d:u)}},10);return qn(n.viewport,l),qn(n.content,l),c.jsx(st,{present:r||a,children:c.jsx(js,{"data-state":a?"visible":"hidden",...o,ref:t})})}),js=_.forwardRef((e,t)=>{const{orientation:n="vertical",...r}=e,o=ut(At,e.__scopeScrollArea),a=_.useRef(null),s=_.useRef(0),[i,l]=_.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=nd(i.viewport,i.content),u={...r,sizes:i,onSizesChange:l,hasThumb:d>0&&d<1,onThumbChange:m=>a.current=m,onThumbPointerUp:()=>s.current=0,onThumbPointerDown:m=>s.current=m};function f(m,p){return W_(m,s.current,i,p)}return n==="horizontal"?c.jsx(R_,{...u,ref:t,onThumbPositionChange:()=>{if(o.viewport&&a.current){const m=o.viewport.scrollLeft,p=zi(m,i,o.dir);a.current.style.transform=`translate3d(${p}px, 0, 0)`}},onWheelScroll:m=>{o.viewport&&(o.viewport.scrollLeft=m)},onDragScroll:m=>{o.viewport&&(o.viewport.scrollLeft=f(m,o.dir))}}):n==="vertical"?c.jsx(O_,{...u,ref:t,onThumbPositionChange:()=>{if(o.viewport&&a.current){const m=o.viewport.scrollTop,p=zi(m,i);a.current.style.transform=`translate3d(0, ${p}px, 0)`}},onWheelScroll:m=>{o.viewport&&(o.viewport.scrollTop=m)},onDragScroll:m=>{o.viewport&&(o.viewport.scrollTop=f(m))}}):null}),R_=_.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...o}=e,a=ut(At,e.__scopeScrollArea),[s,i]=_.useState(),l=_.useRef(null),d=he(t,l,a.onScrollbarXChange);return _.useEffect(()=>{l.current&&i(getComputedStyle(l.current))},[l]),c.jsx(Zl,{"data-orientation":"horizontal",...o,ref:d,sizes:n,style:{bottom:0,left:a.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:a.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Po(n)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.x),onDragScroll:u=>e.onDragScroll(u.x),onWheelScroll:(u,f)=>{if(a.viewport){const m=a.viewport.scrollLeft+u.deltaX;e.onWheelScroll(m),od(m,f)&&u.preventDefault()}},onResize:()=>{l.current&&a.viewport&&s&&r({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:ao(s.paddingLeft),paddingEnd:ao(s.paddingRight)}})}})}),O_=_.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...o}=e,a=ut(At,e.__scopeScrollArea),[s,i]=_.useState(),l=_.useRef(null),d=he(t,l,a.onScrollbarYChange);return _.useEffect(()=>{l.current&&i(getComputedStyle(l.current))},[l]),c.jsx(Zl,{"data-orientation":"vertical",...o,ref:d,sizes:n,style:{top:0,right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Po(n)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.y),onDragScroll:u=>e.onDragScroll(u.y),onWheelScroll:(u,f)=>{if(a.viewport){const m=a.viewport.scrollTop+u.deltaY;e.onWheelScroll(m),od(m,f)&&u.preventDefault()}},onResize:()=>{l.current&&a.viewport&&s&&r({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:ao(s.paddingTop),paddingEnd:ao(s.paddingBottom)}})}})}),[A_,Ql]=Gl(At),Zl=_.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:o,onThumbChange:a,onThumbPointerUp:s,onThumbPointerDown:i,onThumbPositionChange:l,onDragScroll:d,onWheelScroll:u,onResize:f,...m}=e,p=ut(At,n),[g,h]=_.useState(null),j=he(t,P=>h(P)),x=_.useRef(null),v=_.useRef(""),b=p.viewport,N=r.content-r.viewport,C=Ue(u),w=Ue(l),S=Eo(f,10);function k(P){if(x.current){const M=P.clientX-x.current.left,D=P.clientY-x.current.top;d({x:M,y:D})}}return _.useEffect(()=>{const P=M=>{const D=M.target;(g==null?void 0:g.contains(D))&&C(M,N)};return document.addEventListener("wheel",P,{passive:!1}),()=>document.removeEventListener("wheel",P,{passive:!1})},[b,g,N,C]),_.useEffect(w,[r,w]),qn(g,S),qn(p.content,S),c.jsx(A_,{scope:n,scrollbar:g,hasThumb:o,onThumbChange:Ue(a),onThumbPointerUp:Ue(s),onThumbPositionChange:w,onThumbPointerDown:Ue(i),children:c.jsx(ae.div,{...m,ref:j,style:{position:"absolute",...m.style},onPointerDown:oe(e.onPointerDown,P=>{P.button===0&&(P.target.setPointerCapture(P.pointerId),x.current=g.getBoundingClientRect(),v.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",p.viewport&&(p.viewport.style.scrollBehavior="auto"),k(P))}),onPointerMove:oe(e.onPointerMove,k),onPointerUp:oe(e.onPointerUp,P=>{const M=P.target;M.hasPointerCapture(P.pointerId)&&M.releasePointerCapture(P.pointerId),document.body.style.webkitUserSelect=v.current,p.viewport&&(p.viewport.style.scrollBehavior=""),x.current=null})})})}),oo="ScrollAreaThumb",ed=_.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Ql(oo,e.__scopeScrollArea);return c.jsx(st,{present:n||o.hasThumb,children:c.jsx(z_,{ref:t,...r})})}),z_=_.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:r,...o}=e,a=ut(oo,n),s=Ql(oo,n),{onThumbPositionChange:i}=s,l=he(t,f=>s.onThumbChange(f)),d=_.useRef(void 0),u=Eo(()=>{d.current&&(d.current(),d.current=void 0)},100);return _.useEffect(()=>{const f=a.viewport;if(f){const m=()=>{if(u(),!d.current){const p=F_(f,i);d.current=p,i()}};return i(),f.addEventListener("scroll",m),()=>f.removeEventListener("scroll",m)}},[a.viewport,u,i]),c.jsx(ae.div,{"data-state":s.hasThumb?"visible":"hidden",...o,ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:oe(e.onPointerDownCapture,f=>{const p=f.target.getBoundingClientRect(),g=f.clientX-p.left,h=f.clientY-p.top;s.onThumbPointerDown({x:g,y:h})}),onPointerUp:oe(e.onPointerUp,s.onThumbPointerUp)})});ed.displayName=oo;var ys="ScrollAreaCorner",td=_.forwardRef((e,t)=>{const n=ut(ys,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?c.jsx(I_,{...e,ref:t}):null});td.displayName=ys;var I_=_.forwardRef((e,t)=>{const{__scopeScrollArea:n,...r}=e,o=ut(ys,n),[a,s]=_.useState(0),[i,l]=_.useState(0),d=!!(a&&i);return qn(o.scrollbarX,()=>{var f;const u=((f=o.scrollbarX)==null?void 0:f.offsetHeight)||0;o.onCornerHeightChange(u),l(u)}),qn(o.scrollbarY,()=>{var f;const u=((f=o.scrollbarY)==null?void 0:f.offsetWidth)||0;o.onCornerWidthChange(u),s(u)}),d?c.jsx(ae.div,{...r,ref:t,style:{width:a,height:i,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function ao(e){return e?parseInt(e,10):0}function nd(e,t){const n=e/t;return isNaN(n)?0:n}function Po(e){const t=nd(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function W_(e,t,n,r="ltr"){const o=Po(n),a=o/2,s=t||a,i=o-s,l=n.scrollbar.paddingStart+s,d=n.scrollbar.size-n.scrollbar.paddingEnd-i,u=n.content-n.viewport,f=r==="ltr"?[0,u]:[u*-1,0];return rd([l,d],f)(e)}function zi(e,t,n="ltr"){const r=Po(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-o,s=t.content-t.viewport,i=a-r,l=n==="ltr"?[0,s]:[s*-1,0],d=$a(e,l);return rd([0,s],[0,i])(d)}function rd(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function od(e,t){return e>0&&e<t}var F_=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return function o(){const a={left:e.scrollLeft,top:e.scrollTop},s=n.left!==a.left,i=n.top!==a.top;(s||i)&&t(),n=a,r=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(r)};function Eo(e,t){const n=Ue(e),r=_.useRef(0);return _.useEffect(()=>()=>window.clearTimeout(r.current),[]),_.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function qn(e,t){const n=Ue(t);He(()=>{let r=0;if(e){const o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return o.observe(e),()=>{window.cancelAnimationFrame(r),o.unobserve(e)}}},[e,n])}var ad=Ul,$_=Kl,L_=td;const Rt=_.forwardRef(({className:e,children:t,...n},r)=>c.jsxs(ad,{ref:r,className:ie("cj-relative cj-overflow-hidden",e),...n,children:[c.jsx($_,{className:"cj-h-full cj-w-full cj-rounded-[inherit] [&>div]:!cj-block [&>div]:!cj-min-w-0 [&>div]:cj-w-full",style:{overflowY:"auto"},children:t}),c.jsx(sd,{}),c.jsx(L_,{})]}));Rt.displayName=ad.displayName;const sd=_.forwardRef(({className:e,orientation:t="vertical",...n},r)=>c.jsx(gs,{ref:r,orientation:t,className:ie("cj-flex cj-touch-none cj-select-none cj-transition-colors",t==="vertical"&&"cj-h-full cj-w-2.5 cj-border-l cj-border-l-transparent cj-p-[1px]",t==="horizontal"&&"cj-h-2.5 cj-flex-col cj-border-t cj-border-t-transparent cj-p-[1px]",e),...n,children:c.jsx(ed,{className:"cj-relative cj-flex-1 cj-rounded-full cj-bg-border"})}));sd.displayName=gs.displayName;const La={back:"Back",next:"Next",reset:"Reset",cancel:"Cancel",submit:"Submit",save:"Save",delete:"Delete",close:"Close",empty:"(empty)",path:"Path",unknown:"Unknown",runner_title:"Form Runner",runner_save_exit:"Save & Exit",runner_ready_title:"Ready to begin",runner_onboarding_subtitle:"Before you start, make sure you have the following:",runner_onboarding_line1:"Before you start, have with you the relevant information about the incident.",runner_onboarding_line2:"We may ask for some details, such as a description, date, location, or supporting documents.",runner_onboarding_photos:"Photos of the incident (damage, location, context)",runner_onboarding_documents:"Relevant documents (policy, ID, etc.)",runner_onboarding_datetime:"Date and time of the event",runner_onboarding_location:"Location",runner_onboarding_description:"Brief description of what happened",runner_start_claim:"Start claim",runner_review_title:"Review Your Answers",runner_no_answers:"No answers recorded.",runner_review:"Review",runner_step:"Step {{step}}/{{total}}",runner_no_journey:"No journey has been built yet.",runner_no_data:"No journey data available.",builder_title:"Journey Builder",builder_read_only:"Read Only",builder_publish:"Publish",builder_unlock_edit:"Unlock Edit",builder_open_runner:"Open Runner",builder_auto_layout:"Auto Layout",builder_export_json:"Export JSON",builder_export_copied:"Journey spec copied to clipboard",specs_title:"Property Specs",specs_search_placeholder:"Search specs...",specs_filter_all:"All Types",specs_create_custom:"Create Custom Field",specs_count:"{{filtered}} of {{total}} specs",specs_no_results:"No specs found",props_select_hint:"Select a node or edge to edit",props_drag_hint:"Drag specs from the left panel onto the canvas to create nodes",node_props_title:"Node Properties",node_schema_type:"Schema Type",node_source_spec:"Source Spec ID",node_namespace:"Namespace",node_required:"Required",node_required_hint:"Block navigation if empty",node_original_label:"Original Label",node_label_override:"Label Override (optional)",node_label_override_placeholder:"Custom label to display…",node_actor:"Actor",node_actor_customer:"Customer",node_actor_operator:"Operator",node_widget:"Widget Override",node_widget_auto:"Auto (from schema)",node_widget_text:"Text Input",node_widget_textarea:"Textarea",node_widget_select:"Select Dropdown",node_widget_radio:"Radio Group",node_widget_datepicker:"Date Picker",node_widget_timepicker:"Time Picker",node_widget_datetimepicker:"Date & Time Picker",node_widget_currency:"Currency Input",node_widget_upload:"File Upload",node_widget_email:"Email",node_widget_phone:"Phone",node_widget_location:"Location",node_allow_future:"Allow future dates",node_allow_future_hint:"When off, only past or today are selectable",node_bindings_title:"Bindings",node_bindings_target:"Target Namespace",node_bindings_add:"Add Binding",node_delete:"Delete Node",node_options_title:"Options",upload_config_title:"Upload Configuration",upload_file_type_preset:"File type preset",upload_any_file:"Any file",upload_images_only:"Images only",upload_documents_only:"Documents only",upload_images_pdf:"Images + PDFs",upload_custom:"Custom",upload_accepted_types:"Accepted types (custom)",upload_accepted_types_placeholder:"e.g. image/*,.pdf",upload_max_size:"Max file size (MB)",upload_max_size_placeholder:"e.g. 10",edge_props_title:"Edge Properties",edge_connection:"Connection",edge_default:"Default Edge",edge_default_hint:"Used when no other conditions match",edge_priority:"Priority",edge_priority_hint:"Higher priority edges are evaluated first",edge_quick_pick:"Quick pick from source options:",edge_condition:"Condition",edge_visual:"Visual",edge_advanced:"Advanced",edge_json_logic:"JSON Logic condition",edge_delete:"Delete Edge",preview_title:"Form Preview",preview_step_of:"Step {{current}} of {{total}}",preview_start:"Start Preview",preview_add_nodes_hint:"Add nodes to the canvas to preview the form flow.",preview_start_hint:'Click "Start Preview" to test the form flow interactively.',preview_no_node:"No current node selected.",preview_required_hint:"This field is required",preview_validation_hint:"Fix validation errors first",import_title:"Import Journey Spec",import_description:"Load a JourneySpec JSON file or paste JSON to populate the canvas.",import_paste_tab:"Paste JSON",import_upload_tab:"Upload File",import_paste_clipboard:"Paste from Clipboard",import_placeholder:'{"journey_id": "...", "nodes": [...], "edges": [...]}',import_button:"Import Journey",import_validation_errors:"Validation errors:",validation_title:"Graph Validation",validation_no_issues:"No issues found",validation_issue_count:"{{count}} issue{{plural}} found",validation_good:"Graph looks good!",validation_no_issues_actor:"No issues",validation_validate:"Validate",create_node_title:"Create Custom Field",create_node_label:"Label *",create_node_label_placeholder:"Enter a display label",create_node_namespace:"Namespace",create_node_namespace_hint:"Auto-generated from label. Override if needed.",create_node_schema:"Schema Type",upload_drag_drop:"Drag & drop a file here, or click to select",upload_uploading:"Uploading…",widget_unknown_schema:"Unknown schema type: {{schema}}",widget_yes:"Yes",widget_no:"No",widget_no_widget:"No widget available for this field type.",widget_no_options:"No options configured for this select field.",widget_pick_date:"Pick a date",widget_invalid_date:"Enter a valid date",widget_pick_time:"Pick a time",widget_select_option:"Select an option...",widget_search_country:"Search country...",widget_no_country:"No country found.",widget_invalid_phone:"Enter a valid phone number",widget_invalid_email:"Enter a valid email address",widget_file_too_large:"File exceeds {{max}} MB limit ({{size}} MB)",widget_file_type_rejected:"File type not accepted. Allowed: {{accept}}",widget_upload_failed:"Upload failed",widget_accepted_hint:"Accepted: {{accept}}",widget_max_size_hint:"Max {{max}} MB",location_placeholder:"Start typing an address…",location_no_api_key:"Google Maps API key is required for the location widget.",placeholder_text:"Type here…",placeholder_select:"Select an option…",placeholder_currency:"0,00",placeholder_phone:"555 000 0000",placeholder_email:"email@example.com",placeholder_date:"Select a date…",not_found_title:"404",not_found_message:"Oops! Page not found",not_found_link:"Return to Home",runner_page_back:"Builder",fc_title:"Form Configurator",fc_read_only:"Read-only",fc_undo:"Undo",fc_redo:"Redo",fc_preview_form:"Preview Form",fc_save:"Save",fc_publish:"Publish",fc_unlock_edit:"Unlock edit",fc_tab_steps:"Steps",fc_tab_fields:"Fields",fc_tab_init:"Init",fc_tab_json:"JSON",fc_form_steps:"Form Steps",fc_add_step:"Add Step",fc_step_untitled:"(untitled)",fc_step_meta:"{{rows}} rows, {{fields}} fields",fc_no_steps:"No steps yet.",fc_no_steps_hint_click:"Click",fc_no_steps_hint_to_begin:"to begin.",fc_confirm_delete_step:"Delete this step?",fc_step_empty_select:"Select a step on the left.",fc_step_empty_create:"Add a step from the left panel to begin.",fc_step_title_label:"Step Title",fc_step_title_placeholder:"Step title",fc_step_description_label:"Description",fc_step_description_placeholder:"Optional",fc_add_row:"Add Row",fc_row_n:"Row {{n}}",fc_layout_horizontal:"Horizontal",fc_layout_vertical:"Vertical",fc_confirm_delete_row:"Delete this row?",fc_add_field_btn:"Add field",fc_no_fields:"No fields.",fc_edit:"Edit",fc_remove_from_row:"Remove from row",fc_nav_title:"Step Navigation",fc_nav_api_call:"API call on continue",fc_nav_api_call_hint:"Executed before evaluating the rules.",fc_nav_body_template:"Body template (JSON)",fc_nav_body_template_hint_prefix:"Use",fc_nav_body_template_hint_suffix:"tokens.",fc_nav_on_error:"On error",fc_nav_on_error_block:"Block — stay on this step",fc_nav_on_error_continue:"Continue — evaluate rules anyway",fc_nav_on_error_goto:"Go to: {{step}}",fc_nav_on_error_summary:"Go to: Summary",fc_nav_on_error_hint:"What happens if the call throws or the network fails.",fc_nav_continue_button:"Continue button",fc_nav_continue_placeholder:"Continue",fc_nav_rules:"Navigation rules",fc_nav_add_rule:"Add rule",fc_nav_rules_hint:'Rules evaluated in order. First match wins. Use "always" as the last fallback.',fc_nav_rule_n:"Rule {{n}}",fc_nav_has_condition:"Has condition",fc_nav_go_to:"Go to",fc_nav_submit_form:"— Submit form —",fc_nav_field_requires_value:'Field "{{label}}" requires a value.',fc_summary_panel:"Summary Panel",fc_summary_title_label:"Summary Title",fc_summary_sections:"Sections",fc_summary_add_section:"Add Section",fc_summary_section_title_placeholder:"Section title",fc_summary_visible_from:"Visible from step",fc_summary_until_step:"Until step (optional)",fc_summary_all_steps:"All steps",fc_summary_step_n:"Step {{n}}",fc_summary_display_fields:"Display Fields",fc_summary_add:"Add",fc_summary_no_display_fields:"No display fields yet.",fc_summary_no_sections:"No sections yet.",fc_summary_confirm_delete_section:"Delete this section?",fc_summary_source:"Source",fc_summary_source_form_field:"Form Field",fc_summary_source_api_response:"API Response",fc_summary_format:"Format",fc_summary_format_text:"Text",fc_summary_format_number:"Number",fc_summary_format_currency:"Currency",fc_summary_format_date:"Date",fc_summary_format_datetime:"Date & Time",fc_summary_display_label:"Label",fc_summary_display_label_placeholder:"Display label",fc_summary_field:"Field",fc_summary_select:"Select…",fc_summary_from_step_api:"From step API",fc_summary_response_path:"Response Path (dot-notation)",fc_fields_catalog:"Fields catalog",fc_fields_catalog_hint:"All fields used across the form. Edit here to update them everywhere.",fc_fields_add:"Add Field",fc_fields_search:"Search fields…",fc_fields_filter_all:"All",fc_fields_filter_used:"Used",fc_fields_filter_unused:"Unused",fc_fields_unused_badge:"Unused",fc_fields_used_in_one:"Used in {{count}} step",fc_fields_used_in_many:"Used in {{count}} steps",fc_fields_go_to_step:'Go to step "{{title}}"',fc_fields_no_fields:"No fields yet.",fc_fields_no_match:"No fields match the current filter.",fc_fields_confirm_delete:"Delete this field?",fc_init_title:"Initial values",fc_init_subtitle:"Static answers pre-loaded into the runner before the user starts.",fc_init_static:"Static values",fc_init_add:"Add",fc_init_no_values:"No initial values yet.",fc_init_prefill:"Pre-fill from API",fc_init_prefill_hint:"Fetch answers from an endpoint when the runner mounts.",fc_init_mapping:"Mapping (JSON: namespace → response_path)",fc_json_title:"JSON",fc_json_hint:"Raw JourneySpec (form_config + theme). Edit and click Import to apply.",fc_json_refresh:"Refresh from store",fc_json_copy:"Copy",fc_json_download:"Download",fc_json_import:"Import",fc_json_imported_ok:"Imported successfully",fc_json_copied:"Copied to clipboard",fc_json_invalid:"Invalid JSON",fc_create_field_title:"Add field",fc_create_field_subtitle:"Pick from the catalog or create a custom field.",fc_create_from_catalog:"From catalog ({{count}})",fc_create_custom:"Custom field",fc_create_search_specs:"Search specs…",fc_create_no_specs:"No specs match.",fc_create_label_required:"Label *",fc_create_label_placeholder:"e.g. Customer Name",fc_create_namespace:"Namespace",fc_create_namespace_placeholder:"e.g. customer.name (auto if empty)",fc_create_schema:"Schema",fc_create_options:"Options",fc_create_option_value_placeholder:"value",fc_create_option_label_placeholder:"Label",fc_create_cancel:"Cancel",fc_create_create:"Create",fc_field_props:"Field properties",fc_field_no_selected:"No field selected.",fc_field_label:"Label *",fc_field_namespace:"Namespace",fc_field_placeholder:"Placeholder",fc_field_help:"Help text",fc_field_required:"Required",fc_field_required_hint:"User must fill before continuing.",fc_field_actor:"Actor",fc_field_actor_customer:"Customer",fc_field_actor_operator:"Operator",fc_field_widget:"Widget",fc_field_widget_auto:"Auto",fc_field_widget_text:"Text",fc_field_widget_textarea:"Textarea",fc_field_widget_select:"Select",fc_field_widget_radio:"Radio",fc_field_widget_date:"Date",fc_field_widget_time:"Time",fc_field_widget_datetime:"Date & Time",fc_field_widget_currency:"Currency",fc_field_widget_upload:"Upload",fc_field_widget_email:"Email",fc_field_widget_phone:"Phone",fc_field_widget_location:"Location",fc_field_widget_boolean:"Boolean (Yes/No)",fc_field_allow_future:"Allow future dates",fc_field_allow_future_hint:"Allow dates after today.",fc_field_display_style:"Display style",fc_field_display_auto:"Auto (radio ≤5, dropdown >5)",fc_field_display_radio:"Radio list",fc_field_display_dropdown:"Dropdown",fc_field_display_segmented:"Segmented buttons",fc_field_display_hint:"Controls how options render at runtime.",fc_field_display_switch:"Switch (toggle)",fc_field_display_yesno:"Segmented (Yes / No buttons)",fc_field_boolean_hint:"Override Yes/No labels by adding 2 options below (first = true, second = false).",fc_field_options:"Options",fc_field_no_options:"No options yet.",fc_field_upload_validation:"Upload validation",fc_field_upload_accept:"Accepted MIME types/extensions",fc_field_upload_max:"Max size (MB)",fc_field_delete:"Delete field",fc_field_done:"Done",fc_field_confirm_delete:"Delete this field from the catalog (and all rows that use it)?",theme_button:"Theme",theme_reset:"Reset",theme_colors:"Colors",theme_primary:"Primary",theme_background:"Background",theme_card:"Card",theme_foreground:"Foreground",theme_color_picker_aria:"{{label}} color picker",theme_color_placeholder:"e.g. 222 47% 11%",theme_color_hint:"Pick a color or type an HSL triplet",theme_typography:"Typography",theme_heading_font:"Heading font",theme_body_font:"Body font",theme_font_default:"Default",theme_font_size:"Base font size (px)",theme_shape_spacing:"Shape & spacing",theme_border_radius:"Border radius (rem)",theme_spacing:"Spacing",theme_spacing_cozy_default:"Cozy (default)",theme_spacing_compact:"Compact",theme_spacing_cozy:"Cozy",theme_spacing_spacious:"Spacious",theme_live_preview:"Live preview",theme_heading_sample:"Heading sample",theme_body_sample:"The quick brown fox jumps over the lazy dog. Body text uses your selected font, size and spacing.",theme_input_sample:"Sample input",theme_primary_action:"Primary action",runner_toast_required_fields:"Please fill the required fields.",runner_toast_api_failed:"API call failed.",runner_toast_answers_copied:"Answers copied to clipboard!",runner_toast_partial_saved:"Partial answers saved (logged).",runner_toast_file_uploaded:"Uploaded {{name}} for {{key}}",runner_loading_preview:"Loading preview…",runner_no_form:"No form configured yet.",runner_back_to_builder:"Back to builder",runner_preset_full:"Full",runner_iframe_title:"Form runner preview",import_invalid_json:"Invalid JSON: could not parse the input.",import_success:"Journey imported successfully",import_clipboard_failed:"Could not read clipboard",shortcut_selected_nodes_one:"Selected {{count}} node",shortcut_selected_nodes_other:"Selected {{count}} nodes",shortcut_deleted:"Deleted",shortcut_undo:"Undo",shortcut_redo:"Redo",shortcut_copied:"Copied to clipboard",shortcut_pasted:"Pasted",shortcut_duplicated:"Duplicated"},B_={back:"Atrás",next:"Siguiente",reset:"Reiniciar",cancel:"Cancelar",submit:"Enviar",save:"Guardar",delete:"Eliminar",close:"Cerrar",empty:"(vacío)",path:"Ruta",unknown:"Desconocido",runner_title:"Formulario",runner_save_exit:"Guardar y Salir",runner_ready_title:"Listo para comenzar",runner_onboarding_subtitle:"Antes de empezar, asegúrate de tener lo siguiente:",runner_onboarding_line1:"Antes de empezar, tenga consigo la información relevante sobre lo ocurrido.",runner_onboarding_line2:"Podremos pedir algunos detalles, como la descripción, fecha, lugar o documentos de apoyo.",runner_onboarding_photos:"Fotos del incidente (daño, lugar, contexto)",runner_onboarding_documents:"Documentos relevantes (póliza, identificación, etc.)",runner_onboarding_datetime:"Fecha y hora del suceso",runner_onboarding_location:"Ubicación",runner_onboarding_description:"Descripción breve de lo ocurrido",runner_start_claim:"Comenzar parte",runner_review_title:"Revisa tus respuestas",runner_no_answers:"No hay respuestas registradas.",runner_review:"Revisar",runner_step:"Paso {{step}}/{{total}}",runner_no_journey:"Aún no se ha creado ningún recorrido.",runner_no_data:"Datos del recorrido no disponibles.",builder_title:"Constructor de Recorridos",builder_read_only:"Solo Lectura",builder_publish:"Publicar",builder_unlock_edit:"Desbloquear Edición",builder_open_runner:"Abrir Formulario",builder_auto_layout:"Diseño Automático",builder_export_json:"Exportar JSON",builder_export_copied:"Especificación copiada al portapapeles",specs_title:"Propiedades",specs_search_placeholder:"Buscar...",specs_filter_all:"Todos los Tipos",specs_create_custom:"Crear Campo Personalizado",specs_count:"{{filtered}} de {{total}} propiedades",specs_no_results:"No se encontraron propiedades",props_select_hint:"Selecciona un nodo o arista para editar",props_drag_hint:"Arrastra propiedades del panel izquierdo al lienzo para crear nodos",node_props_title:"Propiedades del Nodo",node_schema_type:"Tipo de Schema",node_source_spec:"ID de Propiedad",node_namespace:"Namespace",node_required:"Obligatorio",node_required_hint:"Bloquear navegación si está vacío",node_original_label:"Etiqueta Original",node_label_override:"Etiqueta Personalizada (opcional)",node_label_override_placeholder:"Etiqueta personalizada…",node_actor:"Actor",node_actor_customer:"Cliente",node_actor_operator:"Operador",node_widget:"Widget",node_widget_auto:"Automático (del schema)",node_widget_text:"Campo de Texto",node_widget_textarea:"Área de Texto",node_widget_select:"Lista Desplegable",node_widget_radio:"Grupo de Radio",node_widget_datepicker:"Selector de Fecha",node_widget_timepicker:"Selector de Hora",node_widget_datetimepicker:"Selector de Fecha y Hora",node_widget_currency:"Campo Monetario",node_widget_upload:"Carga de Archivo",node_widget_email:"Email",node_widget_phone:"Teléfono",node_widget_location:"Ubicación",node_allow_future:"Permitir fechas futuras",node_allow_future_hint:"Cuando está desactivado, solo permite fechas pasadas u hoy",node_bindings_title:"Vínculos",node_bindings_target:"Namespace Destino",node_bindings_add:"Agregar Binding",node_delete:"Eliminar Nodo",node_options_title:"Opciones",upload_config_title:"Configuración de Carga",upload_file_type_preset:"Tipo de archivo",upload_any_file:"Cualquier archivo",upload_images_only:"Solo imágenes",upload_documents_only:"Solo documentos",upload_images_pdf:"Imágenes + PDFs",upload_custom:"Personalizado",upload_accepted_types:"Tipos aceptados (personalizado)",upload_accepted_types_placeholder:"ej: image/*,.pdf",upload_max_size:"Tamaño máximo (MB)",upload_max_size_placeholder:"ej: 10",edge_props_title:"Propiedades de la Arista",edge_connection:"Conexión",edge_default:"Arista Predeterminada",edge_default_hint:"Se usa cuando ninguna otra condición coincide",edge_priority:"Prioridad",edge_priority_hint:"Las aristas con mayor prioridad se evalúan primero",edge_quick_pick:"Selección rápida de opciones:",edge_condition:"Condición",edge_visual:"Visual",edge_advanced:"Avanzado",edge_json_logic:"Condición JSON Logic",edge_delete:"Eliminar Arista",preview_title:"Vista Previa",preview_step_of:"Paso {{current}} de {{total}}",preview_start:"Iniciar Vista Previa",preview_add_nodes_hint:"Agrega nodos al lienzo para previsualizar el flujo.",preview_start_hint:'Haz clic en "Iniciar Vista Previa" para probar el flujo interactivamente.',preview_no_node:"Ningún nodo seleccionado.",preview_required_hint:"Este campo es obligatorio",preview_validation_hint:"Corrige los errores de validación primero",import_title:"Importar Especificación",import_description:"Carga un archivo JSON o pega el JSON para poblar el lienzo.",import_paste_tab:"Pegar JSON",import_upload_tab:"Cargar Archivo",import_paste_clipboard:"Pegar del Portapapeles",import_placeholder:'{"journey_id": "...", "nodes": [...], "edges": [...]}',import_button:"Importar",import_validation_errors:"Errores de validación:",validation_title:"Validación del Grafo",validation_no_issues:"Sin problemas encontrados",validation_issue_count:"{{count}} problema{{plural}} encontrado{{plural}}",validation_good:"¡El grafo está correcto!",validation_no_issues_actor:"Sin problemas",validation_validate:"Validar",create_node_title:"Crear Campo Personalizado",create_node_label:"Etiqueta *",create_node_label_placeholder:"Ingresa una etiqueta",create_node_namespace:"Namespace",create_node_namespace_hint:"Generado automáticamente a partir de la etiqueta.",create_node_schema:"Tipo de Schema",upload_drag_drop:"Arrastra y suelta un archivo aquí, o haz clic para seleccionar",upload_uploading:"Cargando…",widget_unknown_schema:"Tipo de schema desconocido: {{schema}}",widget_yes:"Sí",widget_no:"No",widget_no_widget:"No hay widget disponible para este tipo de campo.",widget_no_options:"No hay opciones configuradas para este campo de selección.",widget_pick_date:"Seleccionar fecha",widget_invalid_date:"Introduce una fecha válida",widget_pick_time:"Seleccionar hora",widget_select_option:"Seleccionar una opción...",widget_search_country:"Buscar país...",widget_no_country:"País no encontrado.",widget_invalid_phone:"Ingrese un número de teléfono válido",widget_invalid_email:"Ingrese un correo electrónico válido",widget_file_too_large:"El archivo excede el límite de {{max}} MB ({{size}} MB)",widget_file_type_rejected:"Tipo de archivo no aceptado. Permitidos: {{accept}}",widget_upload_failed:"Error al cargar",widget_accepted_hint:"Aceptados: {{accept}}",widget_max_size_hint:"Máx {{max}} MB",location_placeholder:"Empieza a escribir una dirección…",location_no_api_key:"Se requiere una clave de API de Google Maps para el widget de ubicación.",placeholder_text:"Insertar…",placeholder_select:"Seleccionar…",placeholder_currency:"0,00",placeholder_phone:"555 000 0000",placeholder_email:"email@ejemplo.com",placeholder_date:"Seleccionar fecha…",not_found_title:"404",not_found_message:"Página no encontrada",not_found_link:"Volver al Inicio",runner_page_back:"Constructor",fc_title:"Configurador de Formulario",fc_read_only:"Solo lectura",fc_undo:"Deshacer",fc_redo:"Rehacer",fc_preview_form:"Vista previa",fc_save:"Guardar",fc_publish:"Publicar",fc_unlock_edit:"Desbloquear edición",fc_tab_steps:"Pasos",fc_tab_fields:"Campos",fc_tab_init:"Inicialización",fc_tab_json:"JSON",fc_form_steps:"Pasos del Formulario",fc_add_step:"Añadir Paso",fc_step_untitled:"(sin título)",fc_step_meta:"{{rows}} filas, {{fields}} campos",fc_no_steps:"Aún sin pasos.",fc_no_steps_hint_click:"Haz clic en",fc_no_steps_hint_to_begin:"para empezar.",fc_confirm_delete_step:"¿Eliminar este paso?",fc_step_empty_select:"Selecciona un paso a la izquierda.",fc_step_empty_create:"Añade un paso desde el panel izquierdo para empezar.",fc_step_title_label:"Título del Paso",fc_step_title_placeholder:"Título del paso",fc_step_description_label:"Descripción",fc_step_description_placeholder:"Opcional",fc_add_row:"Añadir Fila",fc_row_n:"Fila {{n}}",fc_layout_horizontal:"Horizontal",fc_layout_vertical:"Vertical",fc_confirm_delete_row:"¿Eliminar esta fila?",fc_add_field_btn:"Añadir campo",fc_no_fields:"Sin campos.",fc_edit:"Editar",fc_remove_from_row:"Quitar de la fila",fc_nav_title:"Navegación del Paso",fc_nav_api_call:"Llamada API al continuar",fc_nav_api_call_hint:"Se ejecuta antes de evaluar las reglas.",fc_nav_body_template:"Plantilla del body (JSON)",fc_nav_body_template_hint_prefix:"Usa tokens",fc_nav_body_template_hint_suffix:".",fc_nav_on_error:"En caso de error",fc_nav_on_error_block:"Bloquear — permanece en este paso",fc_nav_on_error_continue:"Continuar — evalúa las reglas igualmente",fc_nav_on_error_goto:"Ir a: {{step}}",fc_nav_on_error_summary:"Ir a: Resumen",fc_nav_on_error_hint:"Qué ocurre si la llamada falla o la red cae.",fc_nav_continue_button:"Botón continuar",fc_nav_continue_placeholder:"Continuar",fc_nav_rules:"Reglas de navegación",fc_nav_add_rule:"Añadir regla",fc_nav_rules_hint:'Reglas evaluadas en orden. Gana la primera. Usa "siempre" como último recurso.',fc_nav_rule_n:"Regla {{n}}",fc_nav_has_condition:"Tiene condición",fc_nav_go_to:"Ir a",fc_nav_submit_form:"— Enviar formulario —",fc_nav_field_requires_value:'El campo "{{label}}" requiere un valor.',fc_summary_panel:"Panel de Resumen",fc_summary_title_label:"Título del Resumen",fc_summary_sections:"Secciones",fc_summary_add_section:"Añadir Sección",fc_summary_section_title_placeholder:"Título de la sección",fc_summary_visible_from:"Visible desde el paso",fc_summary_until_step:"Hasta el paso (opcional)",fc_summary_all_steps:"Todos los pasos",fc_summary_step_n:"Paso {{n}}",fc_summary_display_fields:"Campos a Mostrar",fc_summary_add:"Añadir",fc_summary_no_display_fields:"Aún sin campos a mostrar.",fc_summary_no_sections:"Aún sin secciones.",fc_summary_confirm_delete_section:"¿Eliminar esta sección?",fc_summary_source:"Origen",fc_summary_source_form_field:"Campo del Formulario",fc_summary_source_api_response:"Respuesta de la API",fc_summary_format:"Formato",fc_summary_format_text:"Texto",fc_summary_format_number:"Número",fc_summary_format_currency:"Moneda",fc_summary_format_date:"Fecha",fc_summary_format_datetime:"Fecha y hora",fc_summary_display_label:"Etiqueta",fc_summary_display_label_placeholder:"Etiqueta a mostrar",fc_summary_field:"Campo",fc_summary_select:"Seleccionar…",fc_summary_from_step_api:"Desde API del paso",fc_summary_response_path:"Ruta de respuesta (notación con puntos)",fc_fields_catalog:"Catálogo de campos",fc_fields_catalog_hint:"Todos los campos usados en el formulario. Edítalos aquí para actualizarlos en todas partes.",fc_fields_add:"Añadir Campo",fc_fields_search:"Buscar campos…",fc_fields_filter_all:"Todos",fc_fields_filter_used:"Usados",fc_fields_filter_unused:"No usados",fc_fields_unused_badge:"No usado",fc_fields_used_in_one:"Usado en {{count}} paso",fc_fields_used_in_many:"Usado en {{count}} pasos",fc_fields_go_to_step:'Ir al paso "{{title}}"',fc_fields_no_fields:"Aún sin campos.",fc_fields_no_match:"Ningún campo coincide con el filtro.",fc_fields_confirm_delete:"¿Eliminar este campo?",fc_init_title:"Valores iniciales",fc_init_subtitle:"Respuestas estáticas precargadas en el runner antes de que el usuario empiece.",fc_init_static:"Valores estáticos",fc_init_add:"Añadir",fc_init_no_values:"Aún sin valores iniciales.",fc_init_prefill:"Precargar desde API",fc_init_prefill_hint:"Obtener respuestas desde un endpoint cuando el runner monta.",fc_init_mapping:"Mapeo (JSON: namespace → response_path)",fc_json_title:"JSON",fc_json_hint:"JourneySpec en bruto (form_config + theme). Edita y haz clic en Importar para aplicar.",fc_json_refresh:"Recargar desde el store",fc_json_copy:"Copiar",fc_json_download:"Descargar",fc_json_import:"Importar",fc_json_imported_ok:"Importado correctamente",fc_json_copied:"Copiado al portapapeles",fc_json_invalid:"JSON no válido",fc_create_field_title:"Añadir campo",fc_create_field_subtitle:"Elige del catálogo o crea un campo personalizado.",fc_create_from_catalog:"Del catálogo ({{count}})",fc_create_custom:"Campo personalizado",fc_create_search_specs:"Buscar specs…",fc_create_no_specs:"Sin specs coincidentes.",fc_create_label_required:"Etiqueta *",fc_create_label_placeholder:"p. ej., Nombre del Cliente",fc_create_namespace:"Namespace",fc_create_namespace_placeholder:"p. ej., customer.name (auto si vacío)",fc_create_schema:"Schema",fc_create_options:"Opciones",fc_create_option_value_placeholder:"valor",fc_create_option_label_placeholder:"Etiqueta",fc_create_cancel:"Cancelar",fc_create_create:"Crear",fc_field_props:"Propiedades del campo",fc_field_no_selected:"Ningún campo seleccionado.",fc_field_label:"Etiqueta *",fc_field_namespace:"Namespace",fc_field_placeholder:"Placeholder",fc_field_help:"Texto de ayuda",fc_field_required:"Obligatorio",fc_field_required_hint:"El usuario debe rellenarlo antes de continuar.",fc_field_actor:"Actor",fc_field_actor_customer:"Cliente",fc_field_actor_operator:"Operador",fc_field_widget:"Widget",fc_field_widget_auto:"Automático",fc_field_widget_text:"Texto",fc_field_widget_textarea:"Área de texto",fc_field_widget_select:"Lista",fc_field_widget_radio:"Radio",fc_field_widget_date:"Fecha",fc_field_widget_time:"Hora",fc_field_widget_datetime:"Fecha y hora",fc_field_widget_currency:"Moneda",fc_field_widget_upload:"Subida",fc_field_widget_email:"Email",fc_field_widget_phone:"Teléfono",fc_field_widget_location:"Ubicación",fc_field_widget_boolean:"Booleano (Sí/No)",fc_field_allow_future:"Permitir fechas futuras",fc_field_allow_future_hint:"Permitir fechas posteriores a hoy.",fc_field_display_style:"Estilo de presentación",fc_field_display_auto:"Automático (radio ≤5, dropdown >5)",fc_field_display_radio:"Lista radio",fc_field_display_dropdown:"Dropdown",fc_field_display_segmented:"Botones segmentados",fc_field_display_hint:"Controla cómo se muestran las opciones en runtime.",fc_field_display_switch:"Switch (toggle)",fc_field_display_yesno:"Segmentado (botones Sí / No)",fc_field_boolean_hint:"Sustituye las etiquetas Sí/No añadiendo 2 opciones debajo (primera = true, segunda = false).",fc_field_options:"Opciones",fc_field_no_options:"Aún sin opciones.",fc_field_upload_validation:"Validación de la subida",fc_field_upload_accept:"Tipos MIME/extensiones aceptados",fc_field_upload_max:"Tamaño máximo (MB)",fc_field_delete:"Eliminar campo",fc_field_done:"Listo",fc_field_confirm_delete:"¿Eliminar este campo del catálogo (y de todas las filas que lo usan)?",theme_button:"Tema",theme_reset:"Restablecer",theme_colors:"Colores",theme_primary:"Primario",theme_background:"Fondo",theme_card:"Tarjeta",theme_foreground:"Texto",theme_color_picker_aria:"Selector de color {{label}}",theme_color_placeholder:"p. ej., 222 47% 11%",theme_color_hint:"Elige un color o escribe un triplet HSL",theme_typography:"Tipografía",theme_heading_font:"Fuente de títulos",theme_body_font:"Fuente del cuerpo",theme_font_default:"Predeterminada",theme_font_size:"Tamaño base de fuente (px)",theme_shape_spacing:"Forma y espaciado",theme_border_radius:"Radio de bordes (rem)",theme_spacing:"Espaciado",theme_spacing_cozy_default:"Cómodo (predeterminado)",theme_spacing_compact:"Compacto",theme_spacing_cozy:"Cómodo",theme_spacing_spacious:"Espacioso",theme_live_preview:"Vista previa",theme_heading_sample:"Ejemplo de título",theme_body_sample:"El veloz murciélago hindú comía feliz cardillo y kiwi. El texto del cuerpo usa la fuente, tamaño y espaciado que elegiste.",theme_input_sample:"Input de ejemplo",theme_primary_action:"Acción primaria",runner_toast_required_fields:"Completa los campos obligatorios.",runner_toast_api_failed:"La llamada a la API falló.",runner_toast_answers_copied:"¡Respuestas copiadas al portapapeles!",runner_toast_partial_saved:"Respuestas parciales guardadas (registradas).",runner_toast_file_uploaded:"Subido {{name}} para {{key}}",runner_loading_preview:"Cargando vista previa…",runner_no_form:"Ningún formulario configurado.",runner_back_to_builder:"Volver al constructor",runner_preset_full:"Completo",runner_iframe_title:"Vista previa del formulario",import_invalid_json:"JSON inválido: no se pudo analizar la entrada.",import_success:"Journey importada con éxito",import_clipboard_failed:"No se pudo leer el portapapeles",shortcut_selected_nodes_one:"{{count}} nodo seleccionado",shortcut_selected_nodes_other:"{{count}} nodos seleccionados",shortcut_deleted:"Eliminado",shortcut_undo:"Deshacer",shortcut_redo:"Rehacer",shortcut_copied:"Copiado al portapapeles",shortcut_pasted:"Pegado",shortcut_duplicated:"Duplicado"},H_={back:"Voltar",next:"Seguinte",reset:"Reiniciar",cancel:"Cancelar",submit:"Submeter",save:"Guardar",delete:"Eliminar",close:"Fechar",empty:"(vazio)",path:"Caminho",unknown:"Desconhecido",runner_title:"Formulário",runner_save_exit:"Guardar e Sair",runner_ready_title:"Antes de começar, garanta que tem os seguintes dados:",runner_onboarding_subtitle:"Antes de começar, garanta que tem os seguintes dados:",runner_onboarding_line1:"Antes de começar, tenha consigo as informações relevantes sobre o ocorrido.",runner_onboarding_line2:"Poderemos pedir alguns detalhes, como a descrição, data, local ou documentos de apoio.",runner_onboarding_photos:"Fotos do incidente (dano, local, contexto)",runner_onboarding_documents:"Documentos relevantes (apólice, identificação, etc.)",runner_onboarding_datetime:"Data e hora do ocorrido",runner_onboarding_location:"Localização",runner_onboarding_description:"Descrição breve do que aconteceu",runner_start_claim:"Começar participação",runner_review_title:"Reveja as suas respostas",runner_no_answers:"Nenhuma resposta registada.",runner_review:"Rever",runner_step:"Passo {{step}}/{{total}}",runner_no_journey:"Ainda não foi criado nenhum percurso.",runner_no_data:"Dados do percurso indisponíveis.",builder_title:"Construtor de Percursos",builder_read_only:"Só Leitura",builder_publish:"Publicar",builder_unlock_edit:"Desbloquear Edição",builder_open_runner:"Abrir Formulário",builder_auto_layout:"Disposição Auto",builder_export_json:"Exportar JSON",builder_export_copied:"Especificação copiada para a área de transferência",specs_title:"Propriedades",specs_search_placeholder:"Pesquisar...",specs_filter_all:"Todos os Tipos",specs_create_custom:"Criar Campo Personalizado",specs_count:"{{filtered}} de {{total}} propriedades",specs_no_results:"Nenhuma propriedade encontrada",props_select_hint:"Selecione um nó ou aresta para editar",props_drag_hint:"Arraste propriedades do painel esquerdo para a tela para criar nós",node_props_title:"Propriedades do Nó",node_schema_type:"Tipo de Schema",node_source_spec:"ID da Propriedade",node_namespace:"Namespace",node_required:"Obrigatório",node_required_hint:"Bloquear navegação se vazio",node_original_label:"Etiqueta Original",node_label_override:"Etiqueta Personalizada (opcional)",node_label_override_placeholder:"Etiqueta personalizada…",node_actor:"Ator",node_actor_customer:"Cliente",node_actor_operator:"Operador",node_widget:"Widget",node_widget_auto:"Automático (do schema)",node_widget_text:"Campo de Texto",node_widget_textarea:"Área de Texto",node_widget_select:"Lista Suspensa",node_widget_radio:"Grupo de Rádio",node_widget_datepicker:"Seletor de Data",node_widget_timepicker:"Seletor de Hora",node_widget_datetimepicker:"Seletor de Data e Hora",node_widget_currency:"Campo Monetário",node_widget_upload:"Carregamento de Ficheiro",node_widget_email:"Email",node_widget_phone:"Telefone",node_widget_location:"Localização",node_allow_future:"Permitir datas futuras",node_allow_future_hint:"Quando desativado, só permite datas passadas ou hoje",node_bindings_title:"Ligações",node_bindings_target:"Namespace Destino",node_bindings_add:"Adicionar Binding",node_delete:"Eliminar Nó",node_options_title:"Opções",upload_config_title:"Configuração de Upload",upload_file_type_preset:"Tipo de ficheiro",upload_any_file:"Qualquer ficheiro",upload_images_only:"Apenas imagens",upload_documents_only:"Apenas documentos",upload_images_pdf:"Imagens + PDFs",upload_custom:"Personalizado",upload_accepted_types:"Tipos aceites (personalizado)",upload_accepted_types_placeholder:"ex: image/*,.pdf",upload_max_size:"Tamanho máximo (MB)",upload_max_size_placeholder:"ex: 10",edge_props_title:"Propriedades da Aresta",edge_connection:"Ligação",edge_default:"Aresta Padrão",edge_default_hint:"Usada quando nenhuma outra condição coincide",edge_priority:"Prioridade",edge_priority_hint:"Arestas com maior prioridade são avaliadas primeiro",edge_quick_pick:"Seleção rápida das opções:",edge_condition:"Condição",edge_visual:"Visual",edge_advanced:"Avançado",edge_json_logic:"Condição JSON Logic",edge_delete:"Eliminar Aresta",preview_title:"Pré-visualização",preview_step_of:"Passo {{current}} de {{total}}",preview_start:"Iniciar Pré-visualização",preview_add_nodes_hint:"Adicione nós à tela para pré-visualizar o fluxo.",preview_start_hint:'Clique em "Iniciar Pré-visualização" para testar o fluxo interativamente.',preview_no_node:"Nenhum nó selecionado.",preview_required_hint:"Este campo é obrigatório",preview_validation_hint:"Corrija os erros de validação primeiro",import_title:"Importar Especificação",import_description:"Carregue um ficheiro JSON ou cole o JSON para popular a tela.",import_paste_tab:"Colar JSON",import_upload_tab:"Carregar Ficheiro",import_paste_clipboard:"Colar da Área de Transferência",import_placeholder:'{"journey_id": "...", "nodes": [...], "edges": [...]}',import_button:"Importar",import_validation_errors:"Erros de validação:",validation_title:"Validação do Grafo",validation_no_issues:"Sem problemas encontrados",validation_issue_count:"{{count}} problema{{plural}} encontrado{{plural}}",validation_good:"O grafo está correto!",validation_no_issues_actor:"Sem problemas",validation_validate:"Validar",create_node_title:"Criar Campo Personalizado",create_node_label:"Etiqueta *",create_node_label_placeholder:"Introduza uma etiqueta",create_node_namespace:"Namespace",create_node_namespace_hint:"Gerado automaticamente a partir da etiqueta.",create_node_schema:"Tipo de Schema",upload_drag_drop:"Arraste e largue um ficheiro aqui, ou clique para selecionar",upload_uploading:"A carregar…",widget_unknown_schema:"Tipo de schema desconhecido: {{schema}}",widget_yes:"Sim",widget_no:"Não",widget_no_widget:"Nenhum widget disponível para este tipo de campo.",widget_no_options:"Nenhuma opção configurada para este campo de seleção.",widget_pick_date:"Selecionar data",widget_invalid_date:"Introduza uma data válida",widget_pick_time:"Selecionar hora",widget_select_option:"Selecionar uma opção...",widget_search_country:"Pesquisar país...",widget_no_country:"País não encontrado.",widget_invalid_phone:"Introduza um número de telefone válido",widget_invalid_email:"Introduza um e-mail válido",widget_file_too_large:"O ficheiro excede o limite de {{max}} MB ({{size}} MB)",widget_file_type_rejected:"Tipo de ficheiro não aceite. Permitidos: {{accept}}",widget_upload_failed:"Falha ao carregar",widget_accepted_hint:"Aceites: {{accept}}",widget_max_size_hint:"Máx {{max}} MB",location_placeholder:"Comece a digitar um endereço…",location_no_api_key:"É necessária uma chave de API do Google Maps para o widget de localização.",placeholder_text:"Inserir…",placeholder_select:"Selecionar…",placeholder_currency:"0,00",placeholder_phone:"555 000 0000",placeholder_email:"email@exemplo.com",placeholder_date:"Selecionar data…",not_found_title:"404",not_found_message:"Página não encontrada",not_found_link:"Voltar ao Início",runner_page_back:"Construtor",fc_title:"Configurador de Formulário",fc_read_only:"Só leitura",fc_undo:"Desfazer",fc_redo:"Refazer",fc_preview_form:"Pré-visualizar",fc_save:"Guardar",fc_publish:"Publicar",fc_unlock_edit:"Desbloquear edição",fc_tab_steps:"Passos",fc_tab_fields:"Campos",fc_tab_init:"Inicialização",fc_tab_json:"JSON",fc_form_steps:"Passos do Formulário",fc_add_step:"Adicionar Passo",fc_step_untitled:"(sem título)",fc_step_meta:"{{rows}} linhas, {{fields}} campos",fc_no_steps:"Ainda sem passos.",fc_no_steps_hint_click:"Clique em",fc_no_steps_hint_to_begin:"para começar.",fc_confirm_delete_step:"Eliminar este passo?",fc_step_empty_select:"Selecione um passo à esquerda.",fc_step_empty_create:"Adicione um passo no painel à esquerda para começar.",fc_step_title_label:"Título do Passo",fc_step_title_placeholder:"Título do passo",fc_step_description_label:"Descrição",fc_step_description_placeholder:"Opcional",fc_add_row:"Adicionar Linha",fc_row_n:"Linha {{n}}",fc_layout_horizontal:"Horizontal",fc_layout_vertical:"Vertical",fc_confirm_delete_row:"Eliminar esta linha?",fc_add_field_btn:"Adicionar campo",fc_no_fields:"Sem campos.",fc_edit:"Editar",fc_remove_from_row:"Remover da linha",fc_nav_title:"Navegação do Passo",fc_nav_api_call:"Chamada API ao continuar",fc_nav_api_call_hint:"Executada antes de avaliar as regras.",fc_nav_body_template:"Template do body (JSON)",fc_nav_body_template_hint_prefix:"Use tokens",fc_nav_body_template_hint_suffix:".",fc_nav_on_error:"Em caso de erro",fc_nav_on_error_block:"Bloquear — permanece neste passo",fc_nav_on_error_continue:"Continuar — avalia as regras na mesma",fc_nav_on_error_goto:"Ir para: {{step}}",fc_nav_on_error_summary:"Ir para: Resumo",fc_nav_on_error_hint:"O que acontece se a chamada falhar ou a rede cair.",fc_nav_continue_button:"Botão continuar",fc_nav_continue_placeholder:"Continuar",fc_nav_rules:"Regras de navegação",fc_nav_add_rule:"Adicionar regra",fc_nav_rules_hint:'Regras avaliadas por ordem. Vence a primeira. Use "sempre" como último fallback.',fc_nav_rule_n:"Regra {{n}}",fc_nav_has_condition:"Tem condição",fc_nav_go_to:"Ir para",fc_nav_submit_form:"— Submeter formulário —",fc_nav_field_requires_value:'O campo "{{label}}" requer um valor.',fc_summary_panel:"Painel de Resumo",fc_summary_title_label:"Título do Resumo",fc_summary_sections:"Secções",fc_summary_add_section:"Adicionar Secção",fc_summary_section_title_placeholder:"Título da secção",fc_summary_visible_from:"Visível a partir do passo",fc_summary_until_step:"Até ao passo (opcional)",fc_summary_all_steps:"Todos os passos",fc_summary_step_n:"Passo {{n}}",fc_summary_display_fields:"Campos a Mostrar",fc_summary_add:"Adicionar",fc_summary_no_display_fields:"Ainda sem campos a mostrar.",fc_summary_no_sections:"Ainda sem secções.",fc_summary_confirm_delete_section:"Eliminar esta secção?",fc_summary_source:"Origem",fc_summary_source_form_field:"Campo do Formulário",fc_summary_source_api_response:"Resposta da API",fc_summary_format:"Formato",fc_summary_format_text:"Texto",fc_summary_format_number:"Número",fc_summary_format_currency:"Moeda",fc_summary_format_date:"Data",fc_summary_format_datetime:"Data e Hora",fc_summary_display_label:"Etiqueta",fc_summary_display_label_placeholder:"Etiqueta a apresentar",fc_summary_field:"Campo",fc_summary_select:"Selecionar…",fc_summary_from_step_api:"Do API do passo",fc_summary_response_path:"Caminho da resposta (notação por pontos)",fc_fields_catalog:"Catálogo de campos",fc_fields_catalog_hint:"Todos os campos usados no formulário. Editar aqui atualiza-os em todo o lado.",fc_fields_add:"Adicionar Campo",fc_fields_search:"Pesquisar campos…",fc_fields_filter_all:"Todos",fc_fields_filter_used:"Usados",fc_fields_filter_unused:"Não usados",fc_fields_unused_badge:"Não usado",fc_fields_used_in_one:"Usado em {{count}} passo",fc_fields_used_in_many:"Usado em {{count}} passos",fc_fields_go_to_step:'Ir para o passo "{{title}}"',fc_fields_no_fields:"Ainda sem campos.",fc_fields_no_match:"Nenhum campo corresponde ao filtro.",fc_fields_confirm_delete:"Eliminar este campo?",fc_init_title:"Valores iniciais",fc_init_subtitle:"Respostas estáticas pré-carregadas no runner antes do utilizador começar.",fc_init_static:"Valores estáticos",fc_init_add:"Adicionar",fc_init_no_values:"Ainda sem valores iniciais.",fc_init_prefill:"Pré-preencher a partir de API",fc_init_prefill_hint:"Obter respostas de um endpoint quando o runner monta.",fc_init_mapping:"Mapeamento (JSON: namespace → response_path)",fc_json_title:"JSON",fc_json_hint:"JourneySpec em bruto (form_config + theme). Edite e clique em Importar para aplicar.",fc_json_refresh:"Recarregar do store",fc_json_copy:"Copiar",fc_json_download:"Descarregar",fc_json_import:"Importar",fc_json_imported_ok:"Importado com sucesso",fc_json_copied:"Copiado para a área de transferência",fc_json_invalid:"JSON inválido",fc_create_field_title:"Adicionar campo",fc_create_field_subtitle:"Escolha do catálogo ou crie um campo personalizado.",fc_create_from_catalog:"Do catálogo ({{count}})",fc_create_custom:"Campo personalizado",fc_create_search_specs:"Pesquisar specs…",fc_create_no_specs:"Sem specs correspondentes.",fc_create_label_required:"Etiqueta *",fc_create_label_placeholder:"ex.: Nome do Cliente",fc_create_namespace:"Namespace",fc_create_namespace_placeholder:"ex.: customer.name (automático se vazio)",fc_create_schema:"Schema",fc_create_options:"Opções",fc_create_option_value_placeholder:"valor",fc_create_option_label_placeholder:"Etiqueta",fc_create_cancel:"Cancelar",fc_create_create:"Criar",fc_field_props:"Propriedades do campo",fc_field_no_selected:"Nenhum campo selecionado.",fc_field_label:"Etiqueta *",fc_field_namespace:"Namespace",fc_field_placeholder:"Placeholder",fc_field_help:"Texto de ajuda",fc_field_required:"Obrigatório",fc_field_required_hint:"O utilizador tem de preencher antes de continuar.",fc_field_actor:"Ator",fc_field_actor_customer:"Cliente",fc_field_actor_operator:"Operador",fc_field_widget:"Widget",fc_field_widget_auto:"Automático",fc_field_widget_text:"Texto",fc_field_widget_textarea:"Área de texto",fc_field_widget_select:"Lista",fc_field_widget_radio:"Radio",fc_field_widget_date:"Data",fc_field_widget_time:"Hora",fc_field_widget_datetime:"Data e Hora",fc_field_widget_currency:"Moeda",fc_field_widget_upload:"Upload",fc_field_widget_email:"Email",fc_field_widget_phone:"Telefone",fc_field_widget_location:"Localização",fc_field_widget_boolean:"Booleano (Sim/Não)",fc_field_allow_future:"Permitir datas futuras",fc_field_allow_future_hint:"Permitir datas após hoje.",fc_field_display_style:"Estilo de apresentação",fc_field_display_auto:"Automático (radio ≤5, dropdown >5)",fc_field_display_radio:"Lista radio",fc_field_display_dropdown:"Dropdown",fc_field_display_segmented:"Botões segmentados",fc_field_display_hint:"Controla como as opções aparecem em runtime.",fc_field_display_switch:"Switch (toggle)",fc_field_display_yesno:"Segmentado (botões Sim / Não)",fc_field_boolean_hint:"Substitua as etiquetas Sim/Não adicionando 2 opções abaixo (primeira = true, segunda = false).",fc_field_options:"Opções",fc_field_no_options:"Ainda sem opções.",fc_field_upload_validation:"Validação do upload",fc_field_upload_accept:"Tipos MIME/extensões aceites",fc_field_upload_max:"Tamanho máximo (MB)",fc_field_delete:"Eliminar campo",fc_field_done:"Concluído",fc_field_confirm_delete:"Eliminar este campo do catálogo (e de todas as linhas que o usam)?",theme_button:"Tema",theme_reset:"Repor",theme_colors:"Cores",theme_primary:"Primária",theme_background:"Fundo",theme_card:"Cartão",theme_foreground:"Texto",theme_color_picker_aria:"Seletor de cor {{label}}",theme_color_placeholder:"ex.: 222 47% 11%",theme_color_hint:"Escolha uma cor ou escreva um triplet HSL",theme_typography:"Tipografia",theme_heading_font:"Fonte dos títulos",theme_body_font:"Fonte do corpo",theme_font_default:"Predefinido",theme_font_size:"Tamanho base da fonte (px)",theme_shape_spacing:"Forma e espaçamento",theme_border_radius:"Raio das bordas (rem)",theme_spacing:"Espaçamento",theme_spacing_cozy_default:"Cómodo (predefinido)",theme_spacing_compact:"Compacto",theme_spacing_cozy:"Cómodo",theme_spacing_spacious:"Espaçoso",theme_live_preview:"Pré-visualização",theme_heading_sample:"Exemplo de título",theme_body_sample:"A rápida raposa castanha salta sobre o cão preguiçoso. O texto do corpo usa a fonte, tamanho e espaçamento que escolheu.",theme_input_sample:"Input de exemplo",theme_primary_action:"Ação primária",runner_toast_required_fields:"Preencha os campos obrigatórios.",runner_toast_api_failed:"A chamada à API falhou.",runner_toast_answers_copied:"Respostas copiadas para a área de transferência!",runner_toast_partial_saved:"Respostas parciais guardadas (registadas).",runner_toast_file_uploaded:"Enviado {{name}} para {{key}}",runner_loading_preview:"A carregar pré-visualização…",runner_no_form:"Nenhum formulário configurado.",runner_back_to_builder:"Voltar ao construtor",runner_preset_full:"Total",runner_iframe_title:"Pré-visualização do formulário",import_invalid_json:"JSON inválido: não foi possível analisar a entrada.",import_success:"Journey importada com sucesso",import_clipboard_failed:"Não foi possível ler a área de transferência",shortcut_selected_nodes_one:"{{count}} nó selecionado",shortcut_selected_nodes_other:"{{count}} nós selecionados",shortcut_deleted:"Eliminado",shortcut_undo:"Desfazer",shortcut_redo:"Refazer",shortcut_copied:"Copiado para a área de transferência",shortcut_pasted:"Colado",shortcut_duplicated:"Duplicado"},Y_={back:"Wstecz",next:"Dalej",reset:"Resetuj",cancel:"Anuluj",submit:"Wyślij",save:"Zapisz",delete:"Usuń",close:"Zamknij",empty:"(puste)",path:"Ścieżka",unknown:"Nieznany",runner_title:"Formularz",runner_save_exit:"Zapisz i wyjdź",runner_ready_title:"Zanim zaczniesz, upewnij się, że masz następujące dane:",runner_onboarding_subtitle:"Zanim zaczniesz, upewnij się, że masz następujące dane:",runner_onboarding_line1:"Zanim zaczniesz, przygotuj odpowiednie informacje o zdarzeniu.",runner_onboarding_line2:"Możemy poprosić o szczegóły, takie jak opis, datę, miejsce lub dokumenty pomocnicze.",runner_onboarding_photos:"Zdjęcia incydentu (szkoda, miejsce, kontekst)",runner_onboarding_documents:"Istotne dokumenty (polisa, dowód tożsamości itp.)",runner_onboarding_datetime:"Data i godzina zdarzenia",runner_onboarding_location:"Lokalizacja",runner_onboarding_description:"Krótki opis tego, co się wydarzyło",runner_start_claim:"Rozpocznij zgłoszenie",runner_review_title:"Przejrzyj swoje odpowiedzi",runner_no_answers:"Brak zarejestrowanych odpowiedzi.",runner_review:"Przegląd",runner_step:"Krok {{step}}/{{total}}",runner_no_journey:"Nie utworzono jeszcze żadnej ścieżki.",runner_no_data:"Dane ścieżki niedostępne.",builder_title:"Kreator ścieżek",builder_read_only:"Tylko do odczytu",builder_publish:"Publikuj",builder_unlock_edit:"Odblokuj edycję",builder_open_runner:"Otwórz formularz",builder_auto_layout:"Auto-układ",builder_export_json:"Eksportuj JSON",builder_export_copied:"Specyfikacja skopiowana do schowka",specs_title:"Właściwości",specs_search_placeholder:"Szukaj...",specs_filter_all:"Wszystkie typy",specs_create_custom:"Utwórz pole niestandardowe",specs_count:"{{filtered}} z {{total}} właściwości",specs_no_results:"Nie znaleziono właściwości",props_select_hint:"Wybierz węzeł lub krawędź do edycji",props_drag_hint:"Przeciągnij właściwości z lewego panelu na płótno, aby utworzyć węzły",node_props_title:"Właściwości węzła",node_schema_type:"Typ schematu",node_source_spec:"ID właściwości",node_namespace:"Namespace",node_required:"Wymagane",node_required_hint:"Blokuj nawigację, jeśli puste",node_original_label:"Oryginalna etykieta",node_label_override:"Etykieta niestandardowa (opcjonalna)",node_label_override_placeholder:"Etykieta niestandardowa…",node_actor:"Aktor",node_actor_customer:"Klient",node_actor_operator:"Operator",node_widget:"Widżet",node_widget_auto:"Automatyczny (ze schematu)",node_widget_text:"Pole tekstowe",node_widget_textarea:"Obszar tekstowy",node_widget_select:"Lista rozwijana",node_widget_radio:"Grupa radio",node_widget_datepicker:"Wybór daty",node_widget_timepicker:"Wybór godziny",node_widget_datetimepicker:"Wybór daty i godziny",node_widget_currency:"Pole walutowe",node_widget_upload:"Przesyłanie pliku",node_widget_email:"E-mail",node_widget_phone:"Telefon",node_widget_location:"Lokalizacja",node_allow_future:"Zezwól na przyszłe daty",node_allow_future_hint:"Gdy wyłączone, zezwala tylko na daty z przeszłości lub dzisiaj",node_bindings_title:"Powiązania",node_bindings_target:"Docelowy namespace",node_bindings_add:"Dodaj powiązanie",node_delete:"Usuń węzeł",node_options_title:"Opcje",upload_config_title:"Konfiguracja przesyłania",upload_file_type_preset:"Typ pliku",upload_any_file:"Dowolny plik",upload_images_only:"Tylko obrazy",upload_documents_only:"Tylko dokumenty",upload_images_pdf:"Obrazy + PDF",upload_custom:"Niestandardowy",upload_accepted_types:"Akceptowane typy (niestandardowe)",upload_accepted_types_placeholder:"np.: image/*,.pdf",upload_max_size:"Maksymalny rozmiar (MB)",upload_max_size_placeholder:"np.: 10",edge_props_title:"Właściwości krawędzi",edge_connection:"Połączenie",edge_default:"Krawędź domyślna",edge_default_hint:"Używana, gdy żaden inny warunek nie jest spełniony",edge_priority:"Priorytet",edge_priority_hint:"Krawędzie o wyższym priorytecie są oceniane jako pierwsze",edge_quick_pick:"Szybki wybór opcji:",edge_condition:"Warunek",edge_visual:"Wizualny",edge_advanced:"Zaawansowany",edge_json_logic:"Warunek JSON Logic",edge_delete:"Usuń krawędź",preview_title:"Podgląd",preview_step_of:"Krok {{current}} z {{total}}",preview_start:"Rozpocznij podgląd",preview_add_nodes_hint:"Dodaj węzły do płótna, aby wyświetlić podgląd przepływu.",preview_start_hint:"Kliknij „Rozpocznij podgląd”, aby interaktywnie przetestować przepływ.",preview_no_node:"Nie wybrano węzła.",preview_required_hint:"To pole jest wymagane",preview_validation_hint:"Najpierw popraw błędy walidacji",import_title:"Importuj specyfikację",import_description:"Wgraj plik JSON lub wklej JSON, aby wypełnić płótno.",import_paste_tab:"Wklej JSON",import_upload_tab:"Wgraj plik",import_paste_clipboard:"Wklej ze schowka",import_placeholder:'{"journey_id": "...", "nodes": [...], "edges": [...]}',import_button:"Importuj",import_validation_errors:"Błędy walidacji:",validation_title:"Walidacja grafu",validation_no_issues:"Nie znaleziono problemów",validation_issue_count:"Znaleziono {{count}} problem{{plural}}",validation_good:"Graf jest poprawny!",validation_no_issues_actor:"Brak problemów",validation_validate:"Waliduj",create_node_title:"Utwórz pole niestandardowe",create_node_label:"Etykieta *",create_node_label_placeholder:"Wprowadź etykietę",create_node_namespace:"Namespace",create_node_namespace_hint:"Generowany automatycznie z etykiety.",create_node_schema:"Typ schematu",upload_drag_drop:"Przeciągnij i upuść plik tutaj lub kliknij, aby wybrać",upload_uploading:"Przesyłanie…",widget_unknown_schema:"Nieznany typ schematu: {{schema}}",widget_yes:"Tak",widget_no:"Nie",widget_no_widget:"Brak dostępnego widżetu dla tego typu pola.",widget_no_options:"Brak skonfigurowanych opcji dla tego pola wyboru.",widget_pick_date:"Wybierz datę",widget_invalid_date:"Wprowadź prawidłową datę",widget_pick_time:"Wybierz godzinę",widget_select_option:"Wybierz opcję...",widget_search_country:"Szukaj kraju...",widget_no_country:"Nie znaleziono kraju.",widget_invalid_phone:"Wprowadź prawidłowy numer telefonu",widget_invalid_email:"Wprowadź prawidłowy e-mail",widget_file_too_large:"Plik przekracza limit {{max}} MB ({{size}} MB)",widget_file_type_rejected:"Typ pliku nie jest akceptowany. Dozwolone: {{accept}}",widget_upload_failed:"Przesyłanie nie powiodło się",widget_accepted_hint:"Akceptowane: {{accept}}",widget_max_size_hint:"Maks. {{max}} MB",location_placeholder:"Zacznij wpisywać adres…",location_no_api_key:"Klucz API Google Maps jest wymagany dla widżetu lokalizacji.",placeholder_text:"Wpisz…",placeholder_select:"Wybierz…",placeholder_currency:"0,00",placeholder_phone:"555 000 0000",placeholder_email:"email@przyklad.pl",placeholder_date:"Wybierz datę…",not_found_title:"404",not_found_message:"Strona nie znaleziona",not_found_link:"Powrót do strony głównej",runner_page_back:"Kreator",fc_title:"Konfigurator Formularza",fc_read_only:"Tylko do odczytu",fc_undo:"Cofnij",fc_redo:"Ponów",fc_preview_form:"Podgląd",fc_save:"Zapisz",fc_publish:"Opublikuj",fc_unlock_edit:"Odblokuj edycję",fc_tab_steps:"Kroki",fc_tab_fields:"Pola",fc_tab_init:"Inicjalizacja",fc_tab_json:"JSON",fc_form_steps:"Kroki Formularza",fc_add_step:"Dodaj Krok",fc_step_untitled:"(bez tytułu)",fc_step_meta:"{{rows}} wierszy, {{fields}} pól",fc_no_steps:"Brak kroków.",fc_no_steps_hint_click:"Kliknij",fc_no_steps_hint_to_begin:"aby rozpocząć.",fc_confirm_delete_step:"Usunąć ten krok?",fc_step_empty_select:"Wybierz krok po lewej.",fc_step_empty_create:"Dodaj krok z lewego panelu, aby rozpocząć.",fc_step_title_label:"Tytuł kroku",fc_step_title_placeholder:"Tytuł kroku",fc_step_description_label:"Opis",fc_step_description_placeholder:"Opcjonalnie",fc_add_row:"Dodaj wiersz",fc_row_n:"Wiersz {{n}}",fc_layout_horizontal:"Poziomy",fc_layout_vertical:"Pionowy",fc_confirm_delete_row:"Usunąć ten wiersz?",fc_add_field_btn:"Dodaj pole",fc_no_fields:"Brak pól.",fc_edit:"Edytuj",fc_remove_from_row:"Usuń z wiersza",fc_nav_title:"Nawigacja kroku",fc_nav_api_call:"Wywołanie API przy kontynuacji",fc_nav_api_call_hint:"Wykonywane przed oceną reguł.",fc_nav_body_template:"Szablon body (JSON)",fc_nav_body_template_hint_prefix:"Użyj tokenów",fc_nav_body_template_hint_suffix:".",fc_nav_on_error:"W przypadku błędu",fc_nav_on_error_block:"Zablokuj — pozostań na tym kroku",fc_nav_on_error_continue:"Kontynuuj — oceń reguły mimo to",fc_nav_on_error_goto:"Przejdź do: {{step}}",fc_nav_on_error_summary:"Przejdź do: Podsumowanie",fc_nav_on_error_hint:"Co się dzieje, jeśli wywołanie się nie powiedzie lub sieć padnie.",fc_nav_continue_button:"Przycisk kontynuacji",fc_nav_continue_placeholder:"Kontynuuj",fc_nav_rules:"Reguły nawigacji",fc_nav_add_rule:"Dodaj regułę",fc_nav_rules_hint:'Reguły oceniane po kolei. Wygrywa pierwsza. Użyj "zawsze" jako ostatniej.',fc_nav_rule_n:"Reguła {{n}}",fc_nav_has_condition:"Ma warunek",fc_nav_go_to:"Przejdź do",fc_nav_submit_form:"— Wyślij formularz —",fc_nav_field_requires_value:'Pole "{{label}}" wymaga wartości.',fc_summary_panel:"Panel podsumowania",fc_summary_title_label:"Tytuł podsumowania",fc_summary_sections:"Sekcje",fc_summary_add_section:"Dodaj sekcję",fc_summary_section_title_placeholder:"Tytuł sekcji",fc_summary_visible_from:"Widoczna od kroku",fc_summary_until_step:"Do kroku (opcjonalne)",fc_summary_all_steps:"Wszystkie kroki",fc_summary_step_n:"Krok {{n}}",fc_summary_display_fields:"Pola do wyświetlenia",fc_summary_add:"Dodaj",fc_summary_no_display_fields:"Brak pól do wyświetlenia.",fc_summary_no_sections:"Brak sekcji.",fc_summary_confirm_delete_section:"Usunąć tę sekcję?",fc_summary_source:"Źródło",fc_summary_source_form_field:"Pole formularza",fc_summary_source_api_response:"Odpowiedź API",fc_summary_format:"Format",fc_summary_format_text:"Tekst",fc_summary_format_number:"Liczba",fc_summary_format_currency:"Waluta",fc_summary_format_date:"Data",fc_summary_format_datetime:"Data i godzina",fc_summary_display_label:"Etykieta",fc_summary_display_label_placeholder:"Etykieta do wyświetlenia",fc_summary_field:"Pole",fc_summary_select:"Wybierz…",fc_summary_from_step_api:"Z API kroku",fc_summary_response_path:"Ścieżka odpowiedzi (notacja z kropkami)",fc_fields_catalog:"Katalog pól",fc_fields_catalog_hint:"Wszystkie pola używane w formularzu. Edycja tutaj aktualizuje wszędzie.",fc_fields_add:"Dodaj pole",fc_fields_search:"Szukaj pól…",fc_fields_filter_all:"Wszystkie",fc_fields_filter_used:"Używane",fc_fields_filter_unused:"Nieużywane",fc_fields_unused_badge:"Nieużywane",fc_fields_used_in_one:"Używane w {{count}} kroku",fc_fields_used_in_many:"Używane w {{count}} krokach",fc_fields_go_to_step:'Przejdź do kroku "{{title}}"',fc_fields_no_fields:"Brak pól.",fc_fields_no_match:"Żadne pole nie pasuje do filtra.",fc_fields_confirm_delete:"Usunąć to pole?",fc_init_title:"Wartości początkowe",fc_init_subtitle:"Statyczne odpowiedzi wstępnie wczytane do runnera przed rozpoczęciem.",fc_init_static:"Wartości statyczne",fc_init_add:"Dodaj",fc_init_no_values:"Brak wartości początkowych.",fc_init_prefill:"Wstępne wypełnienie z API",fc_init_prefill_hint:"Pobierz odpowiedzi z endpointu przy montowaniu runnera.",fc_init_mapping:"Mapowanie (JSON: namespace → response_path)",fc_json_title:"JSON",fc_json_hint:"Surowy JourneySpec (form_config + theme). Edytuj i kliknij Importuj, aby zastosować.",fc_json_refresh:"Odśwież ze store",fc_json_copy:"Kopiuj",fc_json_download:"Pobierz",fc_json_import:"Importuj",fc_json_imported_ok:"Zaimportowano pomyślnie",fc_json_copied:"Skopiowano do schowka",fc_json_invalid:"Nieprawidłowy JSON",fc_create_field_title:"Dodaj pole",fc_create_field_subtitle:"Wybierz z katalogu lub utwórz pole niestandardowe.",fc_create_from_catalog:"Z katalogu ({{count}})",fc_create_custom:"Pole niestandardowe",fc_create_search_specs:"Szukaj specs…",fc_create_no_specs:"Brak pasujących specs.",fc_create_label_required:"Etykieta *",fc_create_label_placeholder:"np. Nazwa klienta",fc_create_namespace:"Namespace",fc_create_namespace_placeholder:"np. customer.name (automatycznie jeśli puste)",fc_create_schema:"Schema",fc_create_options:"Opcje",fc_create_option_value_placeholder:"wartość",fc_create_option_label_placeholder:"Etykieta",fc_create_cancel:"Anuluj",fc_create_create:"Utwórz",fc_field_props:"Właściwości pola",fc_field_no_selected:"Nie wybrano pola.",fc_field_label:"Etykieta *",fc_field_namespace:"Namespace",fc_field_placeholder:"Placeholder",fc_field_help:"Tekst pomocy",fc_field_required:"Wymagane",fc_field_required_hint:"Użytkownik musi wypełnić przed kontynuacją.",fc_field_actor:"Aktor",fc_field_actor_customer:"Klient",fc_field_actor_operator:"Operator",fc_field_widget:"Widget",fc_field_widget_auto:"Automatyczny",fc_field_widget_text:"Tekst",fc_field_widget_textarea:"Pole tekstowe",fc_field_widget_select:"Lista",fc_field_widget_radio:"Radio",fc_field_widget_date:"Data",fc_field_widget_time:"Godzina",fc_field_widget_datetime:"Data i godzina",fc_field_widget_currency:"Waluta",fc_field_widget_upload:"Załącznik",fc_field_widget_email:"Email",fc_field_widget_phone:"Telefon",fc_field_widget_location:"Lokalizacja",fc_field_widget_boolean:"Boolean (Tak/Nie)",fc_field_allow_future:"Zezwól na przyszłe daty",fc_field_allow_future_hint:"Zezwól na daty po dzisiejszej.",fc_field_display_style:"Styl wyświetlania",fc_field_display_auto:"Auto (radio ≤5, dropdown >5)",fc_field_display_radio:"Lista radio",fc_field_display_dropdown:"Dropdown",fc_field_display_segmented:"Przyciski segmentowane",fc_field_display_hint:"Kontroluje wygląd opcji w runtime.",fc_field_display_switch:"Switch (przełącznik)",fc_field_display_yesno:"Segmentowany (przyciski Tak / Nie)",fc_field_boolean_hint:"Nadpisz etykiety Tak/Nie dodając 2 opcje poniżej (pierwsza = true, druga = false).",fc_field_options:"Opcje",fc_field_no_options:"Brak opcji.",fc_field_upload_validation:"Walidacja załącznika",fc_field_upload_accept:"Akceptowane typy MIME/rozszerzenia",fc_field_upload_max:"Maksymalny rozmiar (MB)",fc_field_delete:"Usuń pole",fc_field_done:"Gotowe",fc_field_confirm_delete:"Usunąć to pole z katalogu (i ze wszystkich wierszy, które go używają)?",theme_button:"Motyw",theme_reset:"Resetuj",theme_colors:"Kolory",theme_primary:"Podstawowy",theme_background:"Tło",theme_card:"Karta",theme_foreground:"Tekst",theme_color_picker_aria:"Wybór koloru {{label}}",theme_color_placeholder:"np. 222 47% 11%",theme_color_hint:"Wybierz kolor lub wpisz triplet HSL",theme_typography:"Typografia",theme_heading_font:"Czcionka nagłówków",theme_body_font:"Czcionka treści",theme_font_default:"Domyślna",theme_font_size:"Bazowy rozmiar czcionki (px)",theme_shape_spacing:"Kształt i odstępy",theme_border_radius:"Promień zaokrąglenia (rem)",theme_spacing:"Odstępy",theme_spacing_cozy_default:"Komfortowe (domyślne)",theme_spacing_compact:"Kompaktowe",theme_spacing_cozy:"Komfortowe",theme_spacing_spacious:"Przestronne",theme_live_preview:"Podgląd na żywo",theme_heading_sample:"Przykładowy nagłówek",theme_body_sample:"Zażółć gęślą jaźń. Tekst treści używa wybranej czcionki, rozmiaru i odstępów.",theme_input_sample:"Przykładowe pole",theme_primary_action:"Akcja podstawowa",runner_toast_required_fields:"Wypełnij wymagane pola.",runner_toast_api_failed:"Wywołanie API nie powiodło się.",runner_toast_answers_copied:"Odpowiedzi skopiowane do schowka!",runner_toast_partial_saved:"Częściowe odpowiedzi zapisane (zalogowane).",runner_toast_file_uploaded:"Przesłano {{name}} dla {{key}}",runner_loading_preview:"Ładowanie podglądu…",runner_no_form:"Nie skonfigurowano formularza.",runner_back_to_builder:"Wróć do kreatora",runner_preset_full:"Pełny",runner_iframe_title:"Podgląd formularza",import_invalid_json:"Nieprawidłowy JSON: nie można przeanalizować danych.",import_success:"Journey zaimportowana pomyślnie",import_clipboard_failed:"Nie można odczytać schowka",shortcut_selected_nodes_one:"Zaznaczono {{count}} węzeł",shortcut_selected_nodes_other:"Zaznaczono {{count}} węzłów",shortcut_deleted:"Usunięto",shortcut_undo:"Cofnij",shortcut_redo:"Ponów",shortcut_copied:"Skopiowano do schowka",shortcut_pasted:"Wklejono",shortcut_duplicated:"Zduplikowano"},Ii={en:La,es:B_,pt:H_,pl:Y_},vs="language",xr="en";function q_(){try{return localStorage.getItem(vs)||xr}catch{return xr}}let gr=[],xs=q_();function V_(e){return gr.push(e),()=>{gr=gr.filter(t=>t!==e)}}function G_(){return xs}function id(e){try{localStorage.setItem(vs,e)}catch{}xs=e,gr.forEach(t=>t())}typeof window<"u"&&window.addEventListener("storage",e=>{e.key===vs&&(xs=e.newValue||xr,gr.forEach(t=>t()))});function be(){const e=y.useSyncExternalStore(V_,G_,()=>xr),t=Ii[e]||Ii[xr]||La;return{t:y.useCallback((r,o)=>{let a=t[r]??La[r]??r;if(o)for(const[s,i]of Object.entries(o))a=a.replace(new RegExp(`\\{\\{${s}\\}\\}`,"g"),String(i));return a},[t]),language:e,setLanguage:id}}function U_({readOnly:e=!1}){const{t}=be(),{formConfig:n,activeStepId:r,setActiveStep:o,addStep:a,deleteStep:s,moveStep:i}=wt();return c.jsxs("div",{className:"cj-flex cj-flex-col cj-h-full cj-bg-card",children:[c.jsxs("div",{className:"cj-p-4 cj-border-b cj-flex cj-items-center cj-justify-between",children:[c.jsx("h2",{className:"cj-text-sm cj-font-semibold",children:t("fc_form_steps")}),!e&&c.jsxs(ne,{size:"sm",variant:"outline",onClick:()=>a(),children:[c.jsx(vt,{className:"cj-h-3.5 cj-w-3.5 cj-mr-1"}),t("fc_add_step")]})]}),c.jsx(Rt,{className:"cj-flex-1 cj-min-w-0",children:c.jsxs("div",{className:"cj-p-3 cj-space-y-2 cj-min-w-0",children:[n.steps.map((l,d)=>{const u=l.step_id===r,f=l.rows.reduce((m,p)=>m+p.field_ids.length,0);return c.jsx("div",{onClick:()=>o(l.step_id),className:`cj-rounded-xl cj-border-2 cj-p-3 cj-cursor-pointer cj-transition-colors ${u?"cj-border-primary cj-bg-primary/5":"cj-border-border cj-bg-card hover:cj-border-primary/40"}`,children:c.jsxs("div",{className:"cj-flex cj-items-center cj-gap-2",children:[c.jsx("div",{className:`cj-h-7 cj-w-7 cj-rounded-full cj-flex cj-items-center cj-justify-center cj-text-xs cj-font-bold cj-shrink-0 ${u?"cj-bg-primary cj-text-primary-foreground":"cj-bg-muted cj-text-muted-foreground"}`,children:d+1}),c.jsxs("div",{className:"cj-flex-1 cj-min-w-0",children:[c.jsx("div",{className:"cj-text-sm cj-font-semibold cj-truncate",children:l.title||t("fc_step_untitled")}),c.jsx("div",{className:"cj-text-[11px] cj-text-muted-foreground",children:t("fc_step_meta",{rows:l.rows.length,fields:f})})]}),!e&&u&&c.jsxs("div",{className:"cj-flex cj-items-center cj-gap-0.5",children:[c.jsx(ne,{size:"icon",variant:"ghost",className:"cj-h-6 cj-w-6",disabled:d===0,onClick:m=>{m.stopPropagation(),i(l.step_id,"up")},children:c.jsx(to,{className:"cj-h-3 cj-w-3"})}),c.jsx(ne,{size:"icon",variant:"ghost",className:"cj-h-6 cj-w-6",disabled:d===n.steps.length-1,onClick:m=>{m.stopPropagation(),i(l.step_id,"down")},children:c.jsx(rn,{className:"cj-h-3 cj-w-3"})}),c.jsx(ne,{size:"icon",variant:"ghost",className:"cj-h-6 cj-w-6",onClick:m=>{m.stopPropagation(),confirm(t("fc_confirm_delete_step"))&&s(l.step_id)},children:c.jsx(kn,{className:"cj-h-3 cj-w-3 cj-text-destructive"})})]})]})},l.step_id)}),n.steps.length===0&&c.jsxs("div",{className:"cj-py-12 cj-text-center cj-text-xs cj-text-muted-foreground",children:[t("fc_no_steps"),!e&&c.jsxs(c.Fragment,{children:[c.jsx("br",{}),t("fc_no_steps_hint_click")," ",c.jsxs("strong",{children:["+ ",t("fc_add_step")]})," ",t("fc_no_steps_hint_to_begin")]})]})]})})]})}const me=_.forwardRef(({className:e,type:t,...n},r)=>c.jsx("input",{type:t,className:ie("cj-flex cj-h-12 cj-w-full cj-rounded-xl cj-border cj-border-border/40 cj-bg-muted/50 cj-px-3 cj-py-2 cj-text-base cj-shadow-none cj-ring-offset-background file:cj-border-0 file:cj-bg-transparent file:cj-text-sm file:cj-font-medium file:cj-text-foreground placeholder:cj-text-muted-foreground focus-visible:cj-outline-none focus-visible:cj-ring-2 focus-visible:cj-ring-ring focus-visible:cj-ring-offset-2 disabled:cj-cursor-not-allowed disabled:cj-opacity-50 md:cj-text-sm",e),ref:r,...n}));me.displayName="Input";var X_=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],K_=X_.reduce((e,t)=>{const n=vo(`Primitive.${t}`),r=_.forwardRef((o,a)=>{const{asChild:s,...i}=o,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...i,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),J_="Label",cd=_.forwardRef((e,t)=>c.jsx(K_.label,{...e,ref:t,onMouseDown:n=>{var o;n.target.closest("button, input, select, textarea")||((o=e.onMouseDown)==null||o.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));cd.displayName=J_;var ld=cd;const Q_=xo("cj-text-sm cj-font-medium cj-leading-none peer-disabled:cj-cursor-not-allowed peer-disabled:cj-opacity-70"),U=_.forwardRef(({className:e,...t},n)=>c.jsx(ld,{ref:n,className:ie(Q_(),e),...t}));U.displayName=ld.displayName;function Z_(e,t=globalThis==null?void 0:globalThis.document){const n=Ue(e);_.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var eg="DismissableLayer",Ba="dismissableLayer.update",tg="dismissableLayer.pointerDownOutside",ng="dismissableLayer.focusOutside",Wi,dd=_.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Mo=_.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:i,...l}=e,d=_.useContext(dd),[u,f]=_.useState(null),m=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=_.useState({}),g=he(t,S=>f(S)),h=Array.from(d.layers),[j]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=h.indexOf(j),v=u?h.indexOf(u):-1,b=d.layersWithOutsidePointerEventsDisabled.size>0,N=v>=x,C=ag(S=>{const k=S.target,P=[...d.branches].some(M=>M.contains(k));!N||P||(o==null||o(S),s==null||s(S),S.defaultPrevented||i==null||i())},m),w=sg(S=>{const k=S.target;[...d.branches].some(M=>M.contains(k))||(a==null||a(S),s==null||s(S),S.defaultPrevented||i==null||i())},m);return Z_(S=>{v===d.layers.size-1&&(r==null||r(S),!S.defaultPrevented&&i&&(S.preventDefault(),i()))},m),_.useEffect(()=>{if(u)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Wi=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(u)),d.layers.add(u),Fi(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Wi)}},[u,m,n,d]),_.useEffect(()=>()=>{u&&(d.layers.delete(u),d.layersWithOutsidePointerEventsDisabled.delete(u),Fi())},[u,d]),_.useEffect(()=>{const S=()=>p({});return document.addEventListener(Ba,S),()=>document.removeEventListener(Ba,S)},[]),c.jsx(ae.div,{...l,ref:g,style:{pointerEvents:b?N?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,w.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,w.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,C.onPointerDownCapture)})});Mo.displayName=eg;var rg="DismissableLayerBranch",og=_.forwardRef((e,t)=>{const n=_.useContext(dd),r=_.useRef(null),o=he(t,r);return _.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),c.jsx(ae.div,{...e,ref:o})});og.displayName=rg;function ag(e,t=globalThis==null?void 0:globalThis.document){const n=Ue(e),r=_.useRef(!1),o=_.useRef(()=>{});return _.useEffect(()=>{const a=i=>{if(i.target&&!r.current){let l=function(){ud(tg,n,d,{discrete:!0})};const d={originalEvent:i};i.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function sg(e,t=globalThis==null?void 0:globalThis.document){const n=Ue(e),r=_.useRef(!1);return _.useEffect(()=>{const o=a=>{a.target&&!r.current&&ud(ng,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Fi(){const e=new CustomEvent(Ba);document.dispatchEvent(e)}function ud(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?sh(o,a):o.dispatchEvent(a)}var ja=0;function bs(){_.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??$i()),document.body.insertAdjacentElement("beforeend",e[1]??$i()),ja++,()=>{ja===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ja--}},[])}function $i(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var ya="focusScope.autoFocusOnMount",va="focusScope.autoFocusOnUnmount",Li={bubbles:!1,cancelable:!0},ig="FocusScope",Do=_.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...s}=e,[i,l]=_.useState(null),d=Ue(o),u=Ue(a),f=_.useRef(null),m=he(t,h=>l(h)),p=_.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;_.useEffect(()=>{if(r){let h=function(b){if(p.paused||!i)return;const N=b.target;i.contains(N)?f.current=N:tn(f.current,{select:!0})},j=function(b){if(p.paused||!i)return;const N=b.relatedTarget;N!==null&&(i.contains(N)||tn(f.current,{select:!0}))},x=function(b){if(document.activeElement===document.body)for(const C of b)C.removedNodes.length>0&&tn(i)};document.addEventListener("focusin",h),document.addEventListener("focusout",j);const v=new MutationObserver(x);return i&&v.observe(i,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",j),v.disconnect()}}},[r,i,p.paused]),_.useEffect(()=>{if(i){Hi.add(p);const h=document.activeElement;if(!i.contains(h)){const x=new CustomEvent(ya,Li);i.addEventListener(ya,d),i.dispatchEvent(x),x.defaultPrevented||(cg(mg(fd(i)),{select:!0}),document.activeElement===h&&tn(i))}return()=>{i.removeEventListener(ya,d),setTimeout(()=>{const x=new CustomEvent(va,Li);i.addEventListener(va,u),i.dispatchEvent(x),x.defaultPrevented||tn(h??document.body,{select:!0}),i.removeEventListener(va,u),Hi.remove(p)},0)}}},[i,d,u,p]);const g=_.useCallback(h=>{if(!n&&!r||p.paused)return;const j=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,x=document.activeElement;if(j&&x){const v=h.currentTarget,[b,N]=lg(v);b&&N?!h.shiftKey&&x===N?(h.preventDefault(),n&&tn(b,{select:!0})):h.shiftKey&&x===b&&(h.preventDefault(),n&&tn(N,{select:!0})):x===v&&h.preventDefault()}},[n,r,p.paused]);return c.jsx(ae.div,{tabIndex:-1,...s,ref:m,onKeyDown:g})});Do.displayName=ig;function cg(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(tn(r,{select:t}),document.activeElement!==n)return}function lg(e){const t=fd(e),n=Bi(t,e),r=Bi(t.reverse(),e);return[n,r]}function fd(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Bi(e,t){for(const n of e)if(!dg(n,{upTo:t}))return n}function dg(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function ug(e){return e instanceof HTMLInputElement&&"select"in e}function tn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&ug(e)&&t&&e.select()}}var Hi=fg();function fg(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Yi(e,t),e.unshift(t)},remove(t){var n;e=Yi(e,t),(n=e[0])==null||n.resume()}}}function Yi(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function mg(e){return e.filter(t=>t.tagName!=="A")}const pg=["top","right","bottom","left"],on=Math.min,rt=Math.max,so=Math.round,Wr=Math.floor,Tt=e=>({x:e,y:e}),hg={left:"right",right:"left",bottom:"top",top:"bottom"},_g={start:"end",end:"start"};function Ha(e,t,n){return rt(e,on(t,n))}function Yt(e,t){return typeof e=="function"?e(t):e}function qt(e){return e.split("-")[0]}function Jn(e){return e.split("-")[1]}function ws(e){return e==="x"?"y":"x"}function Ss(e){return e==="y"?"height":"width"}const gg=new Set(["top","bottom"]);function Et(e){return gg.has(qt(e))?"y":"x"}function Ns(e){return ws(Et(e))}function jg(e,t,n){n===void 0&&(n=!1);const r=Jn(e),o=Ns(e),a=Ss(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=io(s)),[s,io(s)]}function yg(e){const t=io(e);return[Ya(e),t,Ya(t)]}function Ya(e){return e.replace(/start|end/g,t=>_g[t])}const qi=["left","right"],Vi=["right","left"],vg=["top","bottom"],xg=["bottom","top"];function bg(e,t,n){switch(e){case"top":case"bottom":return n?t?Vi:qi:t?qi:Vi;case"left":case"right":return t?vg:xg;default:return[]}}function wg(e,t,n,r){const o=Jn(e);let a=bg(qt(e),n==="start",r);return o&&(a=a.map(s=>s+"-"+o),t&&(a=a.concat(a.map(Ya)))),a}function io(e){return e.replace(/left|right|bottom|top/g,t=>hg[t])}function Sg(e){return{top:0,right:0,bottom:0,left:0,...e}}function md(e){return typeof e!="number"?Sg(e):{top:e,right:e,bottom:e,left:e}}function co(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Gi(e,t,n){let{reference:r,floating:o}=e;const a=Et(t),s=Ns(t),i=Ss(s),l=qt(t),d=a==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,m=r[i]/2-o[i]/2;let p;switch(l){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(Jn(t)){case"start":p[s]-=m*(n&&d?-1:1);break;case"end":p[s]+=m*(n&&d?-1:1);break}return p}async function Ng(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:a,rects:s,elements:i,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:m=!1,padding:p=0}=Yt(t,e),g=md(p),j=i[m?f==="floating"?"reference":"floating":f],x=co(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(j)))==null||n?j:j.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(i.floating)),boundary:d,rootBoundary:u,strategy:l})),v=f==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await(a.getOffsetParent==null?void 0:a.getOffsetParent(i.floating)),N=await(a.isElement==null?void 0:a.isElement(b))?await(a.getScale==null?void 0:a.getScale(b))||{x:1,y:1}:{x:1,y:1},C=co(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:v,offsetParent:b,strategy:l}):v);return{top:(x.top-C.top+g.top)/N.y,bottom:(C.bottom-x.bottom+g.bottom)/N.y,left:(x.left-C.left+g.left)/N.x,right:(C.right-x.right+g.right)/N.x}}const Cg=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:s}=n,i=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let d=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=Gi(d,r,l),m=r,p={},g=0;for(let j=0;j<i.length;j++){var h;const{name:x,fn:v}=i[j],{x:b,y:N,data:C,reset:w}=await v({x:u,y:f,initialPlacement:r,placement:m,strategy:o,middlewareData:p,rects:d,platform:{...s,detectOverflow:(h=s.detectOverflow)!=null?h:Ng},elements:{reference:e,floating:t}});u=b??u,f=N??f,p={...p,[x]:{...p[x],...C}},w&&g<=50&&(g++,typeof w=="object"&&(w.placement&&(m=w.placement),w.rects&&(d=w.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:u,y:f}=Gi(d,m,l)),j=-1)}return{x:u,y:f,placement:m,strategy:o,middlewareData:p}},kg=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:a,platform:s,elements:i,middlewareData:l}=t,{element:d,padding:u=0}=Yt(e,t)||{};if(d==null)return{};const f=md(u),m={x:n,y:r},p=Ns(o),g=Ss(p),h=await s.getDimensions(d),j=p==="y",x=j?"top":"left",v=j?"bottom":"right",b=j?"clientHeight":"clientWidth",N=a.reference[g]+a.reference[p]-m[p]-a.floating[g],C=m[p]-a.reference[p],w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let S=w?w[b]:0;(!S||!await(s.isElement==null?void 0:s.isElement(w)))&&(S=i.floating[b]||a.floating[g]);const k=N/2-C/2,P=S/2-h[g]/2-1,M=on(f[x],P),D=on(f[v],P),T=M,V=S-h[g]-D,A=S/2-h[g]/2+k,q=Ha(T,A,V),F=!l.arrow&&Jn(o)!=null&&A!==q&&a.reference[g]/2-(A<T?M:D)-h[g]/2<0,J=F?A<T?A-T:A-V:0;return{[p]:m[p]+J,data:{[p]:q,centerOffset:A-q-J,...F&&{alignmentOffset:J}},reset:F}}}),Pg=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:a,rects:s,initialPlacement:i,platform:l,elements:d}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...j}=Yt(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const x=qt(o),v=Et(i),b=qt(i)===i,N=await(l.isRTL==null?void 0:l.isRTL(d.floating)),C=m||(b||!h?[io(i)]:yg(i)),w=g!=="none";!m&&w&&C.push(...wg(i,h,g,N));const S=[i,...C],k=await l.detectOverflow(t,j),P=[];let M=((r=a.flip)==null?void 0:r.overflows)||[];if(u&&P.push(k[x]),f){const A=jg(o,s,N);P.push(k[A[0]],k[A[1]])}if(M=[...M,{placement:o,overflows:P}],!P.every(A=>A<=0)){var D,T;const A=(((D=a.flip)==null?void 0:D.index)||0)+1,q=S[A];if(q&&(!(f==="alignment"?v!==Et(q):!1)||M.every(G=>Et(G.placement)===v?G.overflows[0]>0:!0)))return{data:{index:A,overflows:M},reset:{placement:q}};let F=(T=M.filter(J=>J.overflows[0]<=0).sort((J,G)=>J.overflows[1]-G.overflows[1])[0])==null?void 0:T.placement;if(!F)switch(p){case"bestFit":{var V;const J=(V=M.filter(G=>{if(w){const I=Et(G.placement);return I===v||I==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(I=>I>0).reduce((I,re)=>I+re,0)]).sort((G,I)=>G[1]-I[1])[0])==null?void 0:V[0];J&&(F=J);break}case"initialPlacement":F=i;break}if(o!==F)return{reset:{placement:F}}}return{}}}};function Ui(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Xi(e){return pg.some(t=>e[t]>=0)}const Eg=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...a}=Yt(e,t);switch(o){case"referenceHidden":{const s=await r.detectOverflow(t,{...a,elementContext:"reference"}),i=Ui(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:Xi(i)}}}case"escaped":{const s=await r.detectOverflow(t,{...a,altBoundary:!0}),i=Ui(s,n.floating);return{data:{escapedOffsets:i,escaped:Xi(i)}}}default:return{}}}}},pd=new Set(["left","top"]);async function Mg(e,t){const{placement:n,platform:r,elements:o}=e,a=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=qt(n),i=Jn(n),l=Et(n)==="y",d=pd.has(s)?-1:1,u=a&&l?-1:1,f=Yt(t,e);let{mainAxis:m,crossAxis:p,alignmentAxis:g}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return i&&typeof g=="number"&&(p=i==="end"?g*-1:g),l?{x:p*u,y:m*d}:{x:m*d,y:p*u}}const Dg=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:a,placement:s,middlewareData:i}=t,l=await Mg(t,e);return s===((n=i.offset)==null?void 0:n.placement)&&(r=i.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:a+l.y,data:{...l,placement:s}}}}},Tg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:a}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:l={fn:x=>{let{x:v,y:b}=x;return{x:v,y:b}}},...d}=Yt(e,t),u={x:n,y:r},f=await a.detectOverflow(t,d),m=Et(qt(o)),p=ws(m);let g=u[p],h=u[m];if(s){const x=p==="y"?"top":"left",v=p==="y"?"bottom":"right",b=g+f[x],N=g-f[v];g=Ha(b,g,N)}if(i){const x=m==="y"?"top":"left",v=m==="y"?"bottom":"right",b=h+f[x],N=h-f[v];h=Ha(b,h,N)}const j=l.fn({...t,[p]:g,[m]:h});return{...j,data:{x:j.x-n,y:j.y-r,enabled:{[p]:s,[m]:i}}}}}},Rg=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:a,middlewareData:s}=t,{offset:i=0,mainAxis:l=!0,crossAxis:d=!0}=Yt(e,t),u={x:n,y:r},f=Et(o),m=ws(f);let p=u[m],g=u[f];const h=Yt(i,t),j=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const b=m==="y"?"height":"width",N=a.reference[m]-a.floating[b]+j.mainAxis,C=a.reference[m]+a.reference[b]-j.mainAxis;p<N?p=N:p>C&&(p=C)}if(d){var x,v;const b=m==="y"?"width":"height",N=pd.has(qt(o)),C=a.reference[f]-a.floating[b]+(N&&((x=s.offset)==null?void 0:x[f])||0)+(N?0:j.crossAxis),w=a.reference[f]+a.reference[b]+(N?0:((v=s.offset)==null?void 0:v[f])||0)-(N?j.crossAxis:0);g<C?g=C:g>w&&(g=w)}return{[m]:p,[f]:g}}}},Og=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:a,platform:s,elements:i}=t,{apply:l=()=>{},...d}=Yt(e,t),u=await s.detectOverflow(t,d),f=qt(o),m=Jn(o),p=Et(o)==="y",{width:g,height:h}=a.floating;let j,x;f==="top"||f==="bottom"?(j=f,x=m===(await(s.isRTL==null?void 0:s.isRTL(i.floating))?"start":"end")?"left":"right"):(x=f,j=m==="end"?"top":"bottom");const v=h-u.top-u.bottom,b=g-u.left-u.right,N=on(h-u[j],v),C=on(g-u[x],b),w=!t.middlewareData.shift;let S=N,k=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(k=b),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(S=v),w&&!m){const M=rt(u.left,0),D=rt(u.right,0),T=rt(u.top,0),V=rt(u.bottom,0);p?k=g-2*(M!==0||D!==0?M+D:rt(u.left,u.right)):S=h-2*(T!==0||V!==0?T+V:rt(u.top,u.bottom))}await l({...t,availableWidth:k,availableHeight:S});const P=await s.getDimensions(i.floating);return g!==P.width||h!==P.height?{reset:{rects:!0}}:{}}}};function To(){return typeof window<"u"}function Qn(e){return hd(e)?(e.nodeName||"").toLowerCase():"#document"}function ot(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function zt(e){var t;return(t=(hd(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function hd(e){return To()?e instanceof Node||e instanceof ot(e).Node:!1}function xt(e){return To()?e instanceof Element||e instanceof ot(e).Element:!1}function Ot(e){return To()?e instanceof HTMLElement||e instanceof ot(e).HTMLElement:!1}function Ki(e){return!To()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ot(e).ShadowRoot}const Ag=new Set(["inline","contents"]);function kr(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Ag.has(o)}const zg=new Set(["table","td","th"]);function Ig(e){return zg.has(Qn(e))}const Wg=[":popover-open",":modal"];function Ro(e){return Wg.some(t=>{try{return e.matches(t)}catch{return!1}})}const Fg=["transform","translate","scale","rotate","perspective"],$g=["transform","translate","scale","rotate","perspective","filter"],Lg=["paint","layout","strict","content"];function Cs(e){const t=ks(),n=xt(e)?bt(e):e;return Fg.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||$g.some(r=>(n.willChange||"").includes(r))||Lg.some(r=>(n.contain||"").includes(r))}function Bg(e){let t=an(e);for(;Ot(t)&&!Vn(t);){if(Cs(t))return t;if(Ro(t))return null;t=an(t)}return null}function ks(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Hg=new Set(["html","body","#document"]);function Vn(e){return Hg.has(Qn(e))}function bt(e){return ot(e).getComputedStyle(e)}function Oo(e){return xt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function an(e){if(Qn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ki(e)&&e.host||zt(e);return Ki(t)?t.host:t}function _d(e){const t=an(e);return Vn(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ot(t)&&kr(t)?t:_d(t)}function br(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=_d(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),s=ot(o);if(a){const i=qa(s);return t.concat(s,s.visualViewport||[],kr(o)?o:[],i&&n?br(i):[])}return t.concat(o,br(o,[],n))}function qa(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function gd(e){const t=bt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ot(e),a=o?e.offsetWidth:n,s=o?e.offsetHeight:r,i=so(n)!==a||so(r)!==s;return i&&(n=a,r=s),{width:n,height:r,$:i}}function Ps(e){return xt(e)?e:e.contextElement}function Bn(e){const t=Ps(e);if(!Ot(t))return Tt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=gd(t);let s=(a?so(n.width):n.width)/r,i=(a?so(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!i||!Number.isFinite(i))&&(i=1),{x:s,y:i}}const Yg=Tt(0);function jd(e){const t=ot(e);return!ks()||!t.visualViewport?Yg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function qg(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ot(e)?!1:t}function vn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=Ps(e);let s=Tt(1);t&&(r?xt(r)&&(s=Bn(r)):s=Bn(e));const i=qg(a,n,r)?jd(a):Tt(0);let l=(o.left+i.x)/s.x,d=(o.top+i.y)/s.y,u=o.width/s.x,f=o.height/s.y;if(a){const m=ot(a),p=r&&xt(r)?ot(r):r;let g=m,h=qa(g);for(;h&&r&&p!==g;){const j=Bn(h),x=h.getBoundingClientRect(),v=bt(h),b=x.left+(h.clientLeft+parseFloat(v.paddingLeft))*j.x,N=x.top+(h.clientTop+parseFloat(v.paddingTop))*j.y;l*=j.x,d*=j.y,u*=j.x,f*=j.y,l+=b,d+=N,g=ot(h),h=qa(g)}}return co({width:u,height:f,x:l,y:d})}function Ao(e,t){const n=Oo(e).scrollLeft;return t?t.left+n:vn(zt(e)).left+n}function yd(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Ao(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Vg(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const a=o==="fixed",s=zt(r),i=t?Ro(t.floating):!1;if(r===s||i&&a)return n;let l={scrollLeft:0,scrollTop:0},d=Tt(1);const u=Tt(0),f=Ot(r);if((f||!f&&!a)&&((Qn(r)!=="body"||kr(s))&&(l=Oo(r)),Ot(r))){const p=vn(r);d=Bn(r),u.x=p.x+r.clientLeft,u.y=p.y+r.clientTop}const m=s&&!f&&!a?yd(s,l):Tt(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-l.scrollLeft*d.x+u.x+m.x,y:n.y*d.y-l.scrollTop*d.y+u.y+m.y}}function Gg(e){return Array.from(e.getClientRects())}function Ug(e){const t=zt(e),n=Oo(e),r=e.ownerDocument.body,o=rt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=rt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Ao(e);const i=-n.scrollTop;return bt(r).direction==="rtl"&&(s+=rt(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:s,y:i}}const Ji=25;function Xg(e,t){const n=ot(e),r=zt(e),o=n.visualViewport;let a=r.clientWidth,s=r.clientHeight,i=0,l=0;if(o){a=o.width,s=o.height;const u=ks();(!u||u&&t==="fixed")&&(i=o.offsetLeft,l=o.offsetTop)}const d=Ao(r);if(d<=0){const u=r.ownerDocument,f=u.body,m=getComputedStyle(f),p=u.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,g=Math.abs(r.clientWidth-f.clientWidth-p);g<=Ji&&(a-=g)}else d<=Ji&&(a+=d);return{width:a,height:s,x:i,y:l}}const Kg=new Set(["absolute","fixed"]);function Jg(e,t){const n=vn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=Ot(e)?Bn(e):Tt(1),s=e.clientWidth*a.x,i=e.clientHeight*a.y,l=o*a.x,d=r*a.y;return{width:s,height:i,x:l,y:d}}function Qi(e,t,n){let r;if(t==="viewport")r=Xg(e,n);else if(t==="document")r=Ug(zt(e));else if(xt(t))r=Jg(t,n);else{const o=jd(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return co(r)}function vd(e,t){const n=an(e);return n===t||!xt(n)||Vn(n)?!1:bt(n).position==="fixed"||vd(n,t)}function Qg(e,t){const n=t.get(e);if(n)return n;let r=br(e,[],!1).filter(i=>xt(i)&&Qn(i)!=="body"),o=null;const a=bt(e).position==="fixed";let s=a?an(e):e;for(;xt(s)&&!Vn(s);){const i=bt(s),l=Cs(s);!l&&i.position==="fixed"&&(o=null),(a?!l&&!o:!l&&i.position==="static"&&!!o&&Kg.has(o.position)||kr(s)&&!l&&vd(e,s))?r=r.filter(u=>u!==s):o=i,s=an(s)}return t.set(e,r),r}function Zg(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Ro(t)?[]:Qg(t,this._c):[].concat(n),r],i=s[0],l=s.reduce((d,u)=>{const f=Qi(t,u,o);return d.top=rt(f.top,d.top),d.right=on(f.right,d.right),d.bottom=on(f.bottom,d.bottom),d.left=rt(f.left,d.left),d},Qi(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function ej(e){const{width:t,height:n}=gd(e);return{width:t,height:n}}function tj(e,t,n){const r=Ot(t),o=zt(t),a=n==="fixed",s=vn(e,!0,a,t);let i={scrollLeft:0,scrollTop:0};const l=Tt(0);function d(){l.x=Ao(o)}if(r||!r&&!a)if((Qn(t)!=="body"||kr(o))&&(i=Oo(t)),r){const p=vn(t,!0,a,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else o&&d();a&&!r&&o&&d();const u=o&&!r&&!a?yd(o,i):Tt(0),f=s.left+i.scrollLeft-l.x-u.x,m=s.top+i.scrollTop-l.y-u.y;return{x:f,y:m,width:s.width,height:s.height}}function xa(e){return bt(e).position==="static"}function Zi(e,t){if(!Ot(e)||bt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return zt(e)===n&&(n=n.ownerDocument.body),n}function xd(e,t){const n=ot(e);if(Ro(e))return n;if(!Ot(e)){let o=an(e);for(;o&&!Vn(o);){if(xt(o)&&!xa(o))return o;o=an(o)}return n}let r=Zi(e,t);for(;r&&Ig(r)&&xa(r);)r=Zi(r,t);return r&&Vn(r)&&xa(r)&&!Cs(r)?n:r||Bg(e)||n}const nj=async function(e){const t=this.getOffsetParent||xd,n=this.getDimensions,r=await n(e.floating);return{reference:tj(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function rj(e){return bt(e).direction==="rtl"}const oj={convertOffsetParentRelativeRectToViewportRelativeRect:Vg,getDocumentElement:zt,getClippingRect:Zg,getOffsetParent:xd,getElementRects:nj,getClientRects:Gg,getDimensions:ej,getScale:Bn,isElement:xt,isRTL:rj};function bd(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function aj(e,t){let n=null,r;const o=zt(e);function a(){var i;clearTimeout(r),(i=n)==null||i.disconnect(),n=null}function s(i,l){i===void 0&&(i=!1),l===void 0&&(l=1),a();const d=e.getBoundingClientRect(),{left:u,top:f,width:m,height:p}=d;if(i||t(),!m||!p)return;const g=Wr(f),h=Wr(o.clientWidth-(u+m)),j=Wr(o.clientHeight-(f+p)),x=Wr(u),b={rootMargin:-g+"px "+-h+"px "+-j+"px "+-x+"px",threshold:rt(0,on(1,l))||1};let N=!0;function C(w){const S=w[0].intersectionRatio;if(S!==l){if(!N)return s();S?s(!1,S):r=setTimeout(()=>{s(!1,1e-7)},1e3)}S===1&&!bd(d,e.getBoundingClientRect())&&s(),N=!1}try{n=new IntersectionObserver(C,{...b,root:o.ownerDocument})}catch{n=new IntersectionObserver(C,b)}n.observe(e)}return s(!0),a}function sj(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,d=Ps(e),u=o||a?[...d?br(d):[],...br(t)]:[];u.forEach(x=>{o&&x.addEventListener("scroll",n,{passive:!0}),a&&x.addEventListener("resize",n)});const f=d&&i?aj(d,n):null;let m=-1,p=null;s&&(p=new ResizeObserver(x=>{let[v]=x;v&&v.target===d&&p&&(p.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var b;(b=p)==null||b.observe(t)})),n()}),d&&!l&&p.observe(d),p.observe(t));let g,h=l?vn(e):null;l&&j();function j(){const x=vn(e);h&&!bd(h,x)&&n(),h=x,g=requestAnimationFrame(j)}return n(),()=>{var x;u.forEach(v=>{o&&v.removeEventListener("scroll",n),a&&v.removeEventListener("resize",n)}),f==null||f(),(x=p)==null||x.disconnect(),p=null,l&&cancelAnimationFrame(g)}}const ij=Dg,cj=Tg,lj=Pg,dj=Og,uj=Eg,ec=kg,fj=Rg,mj=(e,t,n)=>{const r=new Map,o={platform:oj,...n},a={...o.platform,_c:r};return Cg(e,t,{...o,platform:a})};var pj=typeof document<"u",hj=function(){},Kr=pj?y.useLayoutEffect:hj;function lo(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!lo(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const a=o[r];if(!(a==="_owner"&&e.$$typeof)&&!lo(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function wd(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function tc(e,t){const n=wd(e);return Math.round(t*n)/n}function ba(e){const t=_.useRef(e);return Kr(()=>{t.current=e}),t}function _j(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:s}={},transform:i=!0,whileElementsMounted:l,open:d}=e,[u,f]=_.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,p]=_.useState(r);lo(m,r)||p(r);const[g,h]=_.useState(null),[j,x]=_.useState(null),v=_.useCallback(G=>{G!==w.current&&(w.current=G,h(G))},[]),b=_.useCallback(G=>{G!==S.current&&(S.current=G,x(G))},[]),N=a||g,C=s||j,w=_.useRef(null),S=_.useRef(null),k=_.useRef(u),P=l!=null,M=ba(l),D=ba(o),T=ba(d),V=_.useCallback(()=>{if(!w.current||!S.current)return;const G={placement:t,strategy:n,middleware:m};D.current&&(G.platform=D.current),mj(w.current,S.current,G).then(I=>{const re={...I,isPositioned:T.current!==!1};A.current&&!lo(k.current,re)&&(k.current=re,yo.flushSync(()=>{f(re)}))})},[m,t,n,D,T]);Kr(()=>{d===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,f(G=>({...G,isPositioned:!1})))},[d]);const A=_.useRef(!1);Kr(()=>(A.current=!0,()=>{A.current=!1}),[]),Kr(()=>{if(N&&(w.current=N),C&&(S.current=C),N&&C){if(M.current)return M.current(N,C,V);V()}},[N,C,V,M,P]);const q=_.useMemo(()=>({reference:w,floating:S,setReference:v,setFloating:b}),[v,b]),F=_.useMemo(()=>({reference:N,floating:C}),[N,C]),J=_.useMemo(()=>{const G={position:n,left:0,top:0};if(!F.floating)return G;const I=tc(F.floating,u.x),re=tc(F.floating,u.y);return i?{...G,transform:"translate("+I+"px, "+re+"px)",...wd(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:I,top:re}},[n,i,F.floating,u.x,u.y]);return _.useMemo(()=>({...u,update:V,refs:q,elements:F,floatingStyles:J}),[u,V,q,F,J])}const gj=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?ec({element:r.current,padding:o}).fn(n):{}:r?ec({element:r,padding:o}).fn(n):{}}}},jj=(e,t)=>({...ij(e),options:[e,t]}),yj=(e,t)=>({...cj(e),options:[e,t]}),vj=(e,t)=>({...fj(e),options:[e,t]}),xj=(e,t)=>({...lj(e),options:[e,t]}),bj=(e,t)=>({...dj(e),options:[e,t]}),wj=(e,t)=>({...uj(e),options:[e,t]}),Sj=(e,t)=>({...gj(e),options:[e,t]});var Nj="Arrow",Sd=_.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...a}=e;return c.jsx(ae.svg,{...a,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});Sd.displayName=Nj;var Cj=Sd;function Es(e){const[t,n]=_.useState(void 0);return He(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let s,i;if("borderBoxSize"in a){const l=a.borderBoxSize,d=Array.isArray(l)?l[0]:l;s=d.inlineSize,i=d.blockSize}else s=e.offsetWidth,i=e.offsetHeight;n({width:s,height:i})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Ms="Popper",[Nd,zo]=dt(Ms),[kj,Cd]=Nd(Ms),kd=e=>{const{__scopePopper:t,children:n}=e,[r,o]=_.useState(null);return c.jsx(kj,{scope:t,anchor:r,onAnchorChange:o,children:n})};kd.displayName=Ms;var Pd="PopperAnchor",Ed=_.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,a=Cd(Pd,n),s=_.useRef(null),i=he(t,s),l=_.useRef(null);return _.useEffect(()=>{const d=l.current;l.current=(r==null?void 0:r.current)||s.current,d!==l.current&&a.onAnchorChange(l.current)}),r?null:c.jsx(ae.div,{...o,ref:i})});Ed.displayName=Pd;var Ds="PopperContent",[Pj,Ej]=Nd(Ds),Md=_.forwardRef((e,t)=>{var E,z,B,L,Q,Z;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:a="center",alignOffset:s=0,arrowPadding:i=0,avoidCollisions:l=!0,collisionBoundary:d=[],collisionPadding:u=0,sticky:f="partial",hideWhenDetached:m=!1,updatePositionStrategy:p="optimized",onPlaced:g,...h}=e,j=Cd(Ds,n),[x,v]=_.useState(null),b=he(t,te=>v(te)),[N,C]=_.useState(null),w=Es(N),S=(w==null?void 0:w.width)??0,k=(w==null?void 0:w.height)??0,P=r+(a!=="center"?"-"+a:""),M=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},D=Array.isArray(d)?d:[d],T=D.length>0,V={padding:M,boundary:D.filter(Dj),altBoundary:T},{refs:A,floatingStyles:q,placement:F,isPositioned:J,middlewareData:G}=_j({strategy:"fixed",placement:P,whileElementsMounted:(...te)=>sj(...te,{animationFrame:p==="always"}),elements:{reference:j.anchor},middleware:[jj({mainAxis:o+k,alignmentAxis:s}),l&&yj({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?vj():void 0,...V}),l&&xj({...V}),bj({...V,apply:({elements:te,rects:_e,availableWidth:Ce,availableHeight:We})=>{const{width:qe,height:Oe}=_e.reference,ft=te.floating.style;ft.setProperty("--radix-popper-available-width",`${Ce}px`),ft.setProperty("--radix-popper-available-height",`${We}px`),ft.setProperty("--radix-popper-anchor-width",`${qe}px`),ft.setProperty("--radix-popper-anchor-height",`${Oe}px`)}}),N&&Sj({element:N,padding:i}),Tj({arrowWidth:S,arrowHeight:k}),m&&wj({strategy:"referenceHidden",...V})]}),[I,re]=Rd(F),le=Ue(g);He(()=>{J&&(le==null||le())},[J,le]);const se=(E=G.arrow)==null?void 0:E.x,R=(z=G.arrow)==null?void 0:z.y,W=((B=G.arrow)==null?void 0:B.centerOffset)!==0,[H,O]=_.useState();return He(()=>{x&&O(window.getComputedStyle(x).zIndex)},[x]),c.jsx("div",{ref:A.setFloating,"data-radix-popper-content-wrapper":"",style:{...q,transform:J?q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:H,"--radix-popper-transform-origin":[(L=G.transformOrigin)==null?void 0:L.x,(Q=G.transformOrigin)==null?void 0:Q.y].join(" "),...((Z=G.hide)==null?void 0:Z.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(Pj,{scope:n,placedSide:I,onArrowChange:C,arrowX:se,arrowY:R,shouldHideArrow:W,children:c.jsx(ae.div,{"data-side":I,"data-align":re,...h,ref:b,style:{...h.style,animation:J?void 0:"none"}})})})});Md.displayName=Ds;var Dd="PopperArrow",Mj={top:"bottom",right:"left",bottom:"top",left:"right"},Td=_.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,a=Ej(Dd,r),s=Mj[a.placedSide];return c.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:c.jsx(Cj,{...o,ref:n,style:{...o.style,display:"block"}})})});Td.displayName=Dd;function Dj(e){return e!==null}var Tj=e=>({name:"transformOrigin",options:e,fn(t){var j,x,v;const{placement:n,rects:r,middlewareData:o}=t,s=((j=o.arrow)==null?void 0:j.centerOffset)!==0,i=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[d,u]=Rd(n),f={start:"0%",center:"50%",end:"100%"}[u],m=(((x=o.arrow)==null?void 0:x.x)??0)+i/2,p=(((v=o.arrow)==null?void 0:v.y)??0)+l/2;let g="",h="";return d==="bottom"?(g=s?f:`${m}px`,h=`${-l}px`):d==="top"?(g=s?f:`${m}px`,h=`${r.floating.height+l}px`):d==="right"?(g=`${-l}px`,h=s?f:`${p}px`):d==="left"&&(g=`${r.floating.width+l}px`,h=s?f:`${p}px`),{data:{x:g,y:h}}}});function Rd(e){const[t,n="center"]=e.split("-");return[t,n]}var Od=kd,Ts=Ed,Ad=Md,zd=Td,Rj="Portal",Io=_.forwardRef((e,t)=>{var i;const{container:n,...r}=e,[o,a]=_.useState(!1);He(()=>a(!0),[]);const s=n||o&&((i=globalThis==null?void 0:globalThis.document)==null?void 0:i.body);return s?is.createPortal(c.jsx(ae.div,{...r,ref:t}),s):null});Io.displayName=Rj;function Oj(e){const t=Aj(e),n=_.forwardRef((r,o)=>{const{children:a,...s}=r,i=_.Children.toArray(a),l=i.find(Ij);if(l){const d=l.props.children,u=i.map(f=>f===l?_.Children.count(d)>1?_.Children.only(null):_.isValidElement(d)?d.props.children:null:f);return c.jsx(t,{...s,ref:o,children:_.isValidElement(d)?_.cloneElement(d,void 0,u):null})}return c.jsx(t,{...s,ref:o,children:a})});return n.displayName=`${e}.Slot`,n}function Aj(e){const t=_.forwardRef((n,r)=>{const{children:o,...a}=n;if(_.isValidElement(o)){const s=Fj(o),i=Wj(a,o.props);return o.type!==_.Fragment&&(i.ref=r?Cn(r,s):s),_.cloneElement(o,i)}return _.Children.count(o)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var zj=Symbol("radix.slottable");function Ij(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===zj}function Wj(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...i)=>{const l=a(...i);return o(...i),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}function Fj(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Rs(e){const t=_.useRef({value:e,previous:e});return _.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Id=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),$j="VisuallyHidden",Lj=_.forwardRef((e,t)=>c.jsx(ae.span,{...e,ref:t,style:{...Id,...e.style}}));Lj.displayName=$j;var Bj=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Dn=new WeakMap,Fr=new WeakMap,$r={},wa=0,Wd=function(e){return e&&(e.host||Wd(e.parentNode))},Hj=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Wd(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Yj=function(e,t,n,r){var o=Hj(t,Array.isArray(e)?e:[e]);$r[n]||($r[n]=new WeakMap);var a=$r[n],s=[],i=new Set,l=new Set(o),d=function(f){!f||i.has(f)||(i.add(f),d(f.parentNode))};o.forEach(d);var u=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(m){if(i.has(m))u(m);else try{var p=m.getAttribute(r),g=p!==null&&p!=="false",h=(Dn.get(m)||0)+1,j=(a.get(m)||0)+1;Dn.set(m,h),a.set(m,j),s.push(m),h===1&&g&&Fr.set(m,!0),j===1&&m.setAttribute(n,"true"),g||m.setAttribute(r,"true")}catch(x){console.error("aria-hidden: cannot operate on ",m,x)}})};return u(t),i.clear(),wa++,function(){s.forEach(function(f){var m=Dn.get(f)-1,p=a.get(f)-1;Dn.set(f,m),a.set(f,p),m||(Fr.has(f)||f.removeAttribute(r),Fr.delete(f)),p||f.removeAttribute(n)}),wa--,wa||(Dn=new WeakMap,Dn=new WeakMap,Fr=new WeakMap,$r={})}},Os=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=Bj(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Yj(r,o,n,"aria-hidden")):function(){return null}},Ct=function(){return Ct=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Ct.apply(this,arguments)};function Fd(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function qj(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var Jr="right-scroll-bar-position",Qr="width-before-scroll-bar",Vj="with-scroll-bars-hidden",Gj="--removed-body-scroll-bar-size";function Sa(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Uj(e,t){var n=y.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Xj=typeof window<"u"?_.useLayoutEffect:_.useEffect,nc=new WeakMap;function Kj(e,t){var n=Uj(null,function(r){return e.forEach(function(o){return Sa(o,r)})});return Xj(function(){var r=nc.get(n);if(r){var o=new Set(r),a=new Set(e),s=n.current;o.forEach(function(i){a.has(i)||Sa(i,null)}),a.forEach(function(i){o.has(i)||Sa(i,s)})}nc.set(n,e)},[e]),n}function Jj(e){return e}function Qj(e,t){t===void 0&&(t=Jj);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(a){var s=t(a,r);return n.push(s),function(){n=n.filter(function(i){return i!==s})}},assignSyncMedium:function(a){for(r=!0;n.length;){var s=n;n=[],s.forEach(a)}n={push:function(i){return a(i)},filter:function(){return n}}},assignMedium:function(a){r=!0;var s=[];if(n.length){var i=n;n=[],i.forEach(a),s=n}var l=function(){var u=s;s=[],u.forEach(a)},d=function(){return Promise.resolve().then(l)};d(),n={push:function(u){s.push(u),d()},filter:function(u){return s=s.filter(u),n}}}};return o}function Zj(e){e===void 0&&(e={});var t=Qj(null);return t.options=Ct({async:!0,ssr:!1},e),t}var $d=function(e){var t=e.sideCar,n=Fd(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return _.createElement(r,Ct({},n))};$d.isSideCarExport=!0;function ey(e,t){return e.useMedium(t),$d}var Ld=Zj(),Na=function(){},Wo=_.forwardRef(function(e,t){var n=_.useRef(null),r=_.useState({onScrollCapture:Na,onWheelCapture:Na,onTouchMoveCapture:Na}),o=r[0],a=r[1],s=e.forwardProps,i=e.children,l=e.className,d=e.removeScrollBar,u=e.enabled,f=e.shards,m=e.sideCar,p=e.noRelative,g=e.noIsolation,h=e.inert,j=e.allowPinchZoom,x=e.as,v=x===void 0?"div":x,b=e.gapMode,N=Fd(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=m,w=Kj([n,t]),S=Ct(Ct({},N),o);return _.createElement(_.Fragment,null,u&&_.createElement(C,{sideCar:Ld,removeScrollBar:d,shards:f,noRelative:p,noIsolation:g,inert:h,setCallbacks:a,allowPinchZoom:!!j,lockRef:n,gapMode:b}),s?_.cloneElement(_.Children.only(i),Ct(Ct({},S),{ref:w})):_.createElement(v,Ct({},S,{className:l,ref:w}),i))});Wo.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Wo.classNames={fullWidth:Qr,zeroRight:Jr};var ty=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function ny(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=ty();return t&&e.setAttribute("nonce",t),e}function ry(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function oy(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var ay=function(){var e=0,t=null;return{add:function(n){e==0&&(t=ny())&&(ry(t,n),oy(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},sy=function(){var e=ay();return function(t,n){_.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Bd=function(){var e=sy(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},iy={left:0,top:0,right:0,gap:0},Ca=function(e){return parseInt(e||"",10)||0},cy=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ca(n),Ca(r),Ca(o)]},ly=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return iy;var t=cy(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},dy=Bd(),Hn="data-scroll-locked",uy=function(e,t,n,r){var o=e.left,a=e.top,s=e.right,i=e.gap;return n===void 0&&(n="margin"),`
|
|
218
218
|
.`.concat(Vj,` {
|
|
219
219
|
overflow: hidden `).concat(r,`;
|
|
220
220
|
padding-right: `).concat(i,"px ").concat(r,`;
|