@datatechsolutions/ui 2.11.60 → 2.11.62

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.
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
+ var chunkUZ3CMNUJ_js = require('./chunk-UZ3CMNUJ.js');
4
5
  var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
5
6
  var chunkS7KHTUHA_js = require('./chunk-S7KHTUHA.js');
6
- var chunkUZ3CMNUJ_js = require('./chunk-UZ3CMNUJ.js');
7
7
  var Headless6 = require('@headlessui/react');
8
8
  var clsx = require('clsx');
9
9
  var React12 = require('react');
@@ -19,9 +19,9 @@ var solid$1 = require('@heroicons/react/24/solid');
19
19
  var reactTransitionProgress = require('react-transition-progress');
20
20
  var lucideReact = require('lucide-react');
21
21
  var d3Geo = require('d3-geo');
22
+ var ProgressPrimitive = require('@radix-ui/react-progress');
22
23
  var TabsPrimitive = require('@radix-ui/react-tabs');
23
24
  var nextIntl = require('next-intl');
24
- var ProgressPrimitive = require('@radix-ui/react-progress');
25
25
  var zustand = require('zustand');
26
26
 
27
27
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
@@ -49,8 +49,8 @@ var clsx__default = /*#__PURE__*/_interopDefault(clsx);
49
49
  var React12__namespace = /*#__PURE__*/_interopNamespace(React12);
50
50
  var HeroIcons__namespace = /*#__PURE__*/_interopNamespace(HeroIcons);
51
51
  var Popover__namespace = /*#__PURE__*/_interopNamespace(Popover);
52
- var TabsPrimitive__namespace = /*#__PURE__*/_interopNamespace(TabsPrimitive);
53
52
  var ProgressPrimitive__namespace = /*#__PURE__*/_interopNamespace(ProgressPrimitive);
53
+ var TabsPrimitive__namespace = /*#__PURE__*/_interopNamespace(TabsPrimitive);
54
54
 
55
55
  var Link = React12.forwardRef(function Link2(props, ref) {
56
56
  const RouterLink = chunkS7KHTUHA_js.useLink();
@@ -2182,10 +2182,10 @@ function ChartRenderer({ spec, width = 640, height = 280, className }) {
2182
2182
  ] });
2183
2183
  }
2184
2184
  function buildTicks(min, max, count) {
2185
- const step = (max - min) / (count - 1);
2185
+ const step2 = (max - min) / (count - 1);
2186
2186
  const ticks = [];
2187
2187
  for (let index = 0; index < count; index += 1) {
2188
- ticks.push(min + step * index);
2188
+ ticks.push(min + step2 * index);
2189
2189
  }
2190
2190
  return ticks;
2191
2191
  }
@@ -6031,8 +6031,8 @@ function SidebarLayout({
6031
6031
  const identityEl = findSlot(sidebarChildren, IDENTITY_TYPE);
6032
6032
  const sidebarFooterEl = findSlot(sidebarChildren, SIDEBAR_FOOTER_TYPE);
6033
6033
  const sections = [];
6034
- function collectSections(node, group) {
6035
- React12.Children.forEach(node, (child) => {
6034
+ function collectSections(node2, group) {
6035
+ React12.Children.forEach(node2, (child) => {
6036
6036
  if (!React12.isValidElement(child)) return;
6037
6037
  if (isSlotType(child, GROUP_TYPE)) {
6038
6038
  const groupProps = child.props;
@@ -7290,20 +7290,20 @@ function StepTimeline({
7290
7290
  {
7291
7291
  role: "list",
7292
7292
  className: "overflow-hidden rounded-md lg:flex lg:rounded-none lg:border-r lg:border-l lg:border-gray-200 dark:lg:border-white/15",
7293
- children: steps.map((step, stepIndex) => /* @__PURE__ */ jsxRuntime.jsx("li", { className: "relative overflow-hidden lg:flex-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
7293
+ children: steps.map((step2, stepIndex) => /* @__PURE__ */ jsxRuntime.jsx("li", { className: "relative overflow-hidden lg:flex-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
7294
7294
  "button",
7295
7295
  {
7296
7296
  type: "button",
7297
7297
  onClick: () => onStepClick?.(stepIndex),
7298
- disabled: step.status === "upcoming",
7298
+ disabled: step2.status === "upcoming",
7299
7299
  className: classNames(
7300
- step.status === "upcoming" ? "cursor-not-allowed" : "cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800",
7300
+ step2.status === "upcoming" ? "cursor-not-allowed" : "cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800",
7301
7301
  stepIndex === 0 ? "rounded-t-md border-b-0" : "",
7302
7302
  stepIndex === steps.length - 1 ? "rounded-b-md border-t-0" : "",
7303
7303
  "w-full overflow-hidden border border-gray-200 text-left transition-colors lg:border-0 dark:border-white/15"
7304
7304
  ),
7305
7305
  children: [
7306
- step.status === "complete" ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "group", children: [
7306
+ step2.status === "complete" ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "group", children: [
7307
7307
  /* @__PURE__ */ jsxRuntime.jsx(
7308
7308
  "span",
7309
7309
  {
@@ -7311,14 +7311,14 @@ function StepTimeline({
7311
7311
  className: "absolute top-0 left-0 h-full w-1 bg-transparent group-hover:bg-gray-200 lg:top-auto lg:bottom-0 lg:h-1 lg:w-full dark:group-hover:bg-white/20"
7312
7312
  }
7313
7313
  ),
7314
- renderCompleteContent ? renderCompleteContent(step) : /* @__PURE__ */ jsxRuntime.jsxs("span", { className: classNames(stepIndex !== 0 ? "lg:pl-9" : "", "flex items-start px-6 py-5 text-sm font-medium"), children: [
7314
+ renderCompleteContent ? renderCompleteContent(step2) : /* @__PURE__ */ jsxRuntime.jsxs("span", { className: classNames(stepIndex !== 0 ? "lg:pl-9" : "", "flex items-start px-6 py-5 text-sm font-medium"), children: [
7315
7315
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex h-9 w-9 items-center justify-center rounded-full bg-blue-600 dark:bg-blue-500", children: /* @__PURE__ */ jsxRuntime.jsx(solid$1.CheckIcon, { "aria-hidden": "true", className: "h-5 w-5 text-white" }) }) }),
7316
7316
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "mt-0.5 ml-4 flex min-w-0 flex-col", children: [
7317
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-900 dark:text-white", children: step.name }),
7318
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step.description })
7317
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-900 dark:text-white", children: step2.name }),
7318
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step2.description })
7319
7319
  ] })
7320
7320
  ] })
7321
- ] }) : step.status === "current" ? /* @__PURE__ */ jsxRuntime.jsxs("div", { "aria-current": "step", children: [
7321
+ ] }) : step2.status === "current" ? /* @__PURE__ */ jsxRuntime.jsxs("div", { "aria-current": "step", children: [
7322
7322
  /* @__PURE__ */ jsxRuntime.jsx(
7323
7323
  "span",
7324
7324
  {
@@ -7327,10 +7327,10 @@ function StepTimeline({
7327
7327
  }
7328
7328
  ),
7329
7329
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: classNames(stepIndex !== 0 ? "lg:pl-9" : "", "flex items-start px-6 py-5 text-sm font-medium"), children: [
7330
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex h-10 w-10 items-center justify-center rounded-full border-2 border-blue-600 dark:border-blue-500", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-blue-600 dark:text-blue-400", children: step.id }) }) }),
7330
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex h-10 w-10 items-center justify-center rounded-full border-2 border-blue-600 dark:border-blue-500", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-blue-600 dark:text-blue-400", children: step2.id }) }) }),
7331
7331
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "mt-0.5 ml-4 flex min-w-0 flex-col", children: [
7332
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-blue-600 dark:text-blue-400", children: step.name }),
7333
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step.description })
7332
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-blue-600 dark:text-blue-400", children: step2.name }),
7333
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step2.description })
7334
7334
  ] })
7335
7335
  ] })
7336
7336
  ] }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "group", children: [
@@ -7342,10 +7342,10 @@ function StepTimeline({
7342
7342
  }
7343
7343
  ),
7344
7344
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: classNames(stepIndex !== 0 ? "lg:pl-9" : "", "flex items-start px-6 py-5 text-sm font-medium"), children: [
7345
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex h-10 w-10 items-center justify-center rounded-full border-2 border-gray-300 dark:border-white/15", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-gray-500 dark:text-gray-400", children: step.id }) }) }),
7345
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex h-10 w-10 items-center justify-center rounded-full border-2 border-gray-300 dark:border-white/15", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-gray-500 dark:text-gray-400", children: step2.id }) }) }),
7346
7346
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "mt-0.5 ml-4 flex min-w-0 flex-col", children: [
7347
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step.name }),
7348
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step.description })
7347
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step2.name }),
7348
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step2.description })
7349
7349
  ] })
7350
7350
  ] })
7351
7351
  ] }),
@@ -7361,7 +7361,7 @@ function StepTimeline({
7361
7361
  ) }) : null
7362
7362
  ]
7363
7363
  }
7364
- ) }, step.id))
7364
+ ) }, step2.id))
7365
7365
  }
7366
7366
  ) }) });
7367
7367
  }
@@ -7511,7 +7511,7 @@ function FormPriceInput({
7511
7511
  currencySymbol,
7512
7512
  value,
7513
7513
  onValueChange,
7514
- step = "0.01",
7514
+ step: step2 = "0.01",
7515
7515
  placeholder = "0.00",
7516
7516
  colorClass,
7517
7517
  disabled,
@@ -7544,7 +7544,7 @@ function FormPriceInput({
7544
7544
  {
7545
7545
  id: inputId,
7546
7546
  type: "number",
7547
- step,
7547
+ step: step2,
7548
7548
  value,
7549
7549
  onChange: (event) => onValueChange?.(event.target.value),
7550
7550
  placeholder,
@@ -8005,7 +8005,7 @@ function StepFormPage({
8005
8005
  ] }),
8006
8006
  /* @__PURE__ */ jsxRuntime.jsx("h1", { className: "mt-2 text-2xl font-bold tracking-tight text-slate-900 dark:text-white sm:text-3xl", children: steps[currentStep]?.title ?? title }),
8007
8007
  steps[currentStep]?.description ?? subtitle ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 max-w-xl text-sm text-slate-500 dark:text-white/60 sm:text-base", children: steps[currentStep]?.description ?? subtitle }) : null,
8008
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-6 flex items-center gap-2", children: steps.map((step, index) => {
8008
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-6 flex items-center gap-2", children: steps.map((step2, index) => {
8009
8009
  const isCompleted = index < currentStep;
8010
8010
  const isCurrent = index === currentStep;
8011
8011
  const isClickable = index < currentStep;
@@ -8019,12 +8019,12 @@ function StepFormPage({
8019
8019
  className: `flex items-center gap-2 rounded-full px-3 py-1.5 text-xs font-medium transition-all duration-200 ${isCurrent ? "bg-blue-500/15 text-blue-700 shadow-sm backdrop-blur-sm dark:bg-blue-500/25 dark:text-blue-300" : isCompleted ? "bg-emerald-500/10 text-emerald-700 cursor-pointer hover:bg-emerald-500/20 backdrop-blur-sm dark:bg-emerald-500/20 dark:text-emerald-300" : "bg-slate-500/8 text-slate-400 dark:bg-white/5 dark:text-white/30"}`,
8020
8020
  children: [
8021
8021
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: `flex h-5 w-5 items-center justify-center rounded-full text-[10px] font-bold ${isCurrent ? "bg-blue-500 text-white" : isCompleted ? "bg-emerald-500 text-white" : "bg-slate-200 text-slate-400 dark:bg-white/10 dark:text-white/30"}`, children: isCompleted ? /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckIcon, { className: "h-3 w-3" }) : index + 1 }),
8022
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden sm:inline", children: step.title })
8022
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden sm:inline", children: step2.title })
8023
8023
  ]
8024
8024
  }
8025
8025
  ),
8026
8026
  index < steps.length - 1 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-px flex-1 transition-colors duration-200 ${index < currentStep ? "bg-emerald-500/30 dark:bg-emerald-500/20" : "bg-slate-200 dark:bg-white/10"}` }) : null
8027
- ] }, step.id);
8027
+ ] }, step2.id);
8028
8028
  }) })
8029
8029
  ] })
8030
8030
  ] }),
@@ -13466,16 +13466,16 @@ function PipelinePreview({ activeFuel, activeState, activeStation, onActiveFuelC
13466
13466
  if (intervalRef.current) clearInterval(intervalRef.current);
13467
13467
  setActiveStep(0);
13468
13468
  onStepChange?.(0);
13469
- let step = 0;
13469
+ let step2 = 0;
13470
13470
  intervalRef.current = setInterval(() => {
13471
- step += 1;
13472
- if (step > 7) {
13471
+ step2 += 1;
13472
+ if (step2 > 7) {
13473
13473
  if (intervalRef.current) clearInterval(intervalRef.current);
13474
13474
  setActiveStep(7);
13475
13475
  onStepChange?.(7);
13476
13476
  } else {
13477
- setActiveStep(step);
13478
- onStepChange?.(step);
13477
+ setActiveStep(step2);
13478
+ onStepChange?.(step2);
13479
13479
  }
13480
13480
  }, 1400);
13481
13481
  }, [onStepChange]);
@@ -13487,21 +13487,21 @@ function PipelinePreview({ activeFuel, activeState, activeStation, onActiveFuelC
13487
13487
  React12.useEffect(() => () => {
13488
13488
  if (intervalRef.current) clearInterval(intervalRef.current);
13489
13489
  }, []);
13490
- const getStatus = (node) => {
13490
+ const getStatus = (node2) => {
13491
13491
  if (activeStep < 0) return "idle";
13492
- if (node.step < activeStep) return "complete";
13493
- if (node.step === activeStep) return "active";
13492
+ if (node2.step < activeStep) return "complete";
13493
+ if (node2.step === activeStep) return "active";
13494
13494
  return "idle";
13495
13495
  };
13496
13496
  const rows = React12.useMemo(() => {
13497
13497
  const result = [];
13498
- let step = -1;
13499
- for (const node of pipelineNodes) {
13500
- if (node.step !== step) {
13498
+ let step2 = -1;
13499
+ for (const node2 of pipelineNodes) {
13500
+ if (node2.step !== step2) {
13501
13501
  result.push([]);
13502
- step = node.step;
13502
+ step2 = node2.step;
13503
13503
  }
13504
- result[result.length - 1].push(node);
13504
+ result[result.length - 1].push(node2);
13505
13505
  }
13506
13506
  return result;
13507
13507
  }, [pipelineNodes]);
@@ -13615,26 +13615,26 @@ function PipelinePreview({ activeFuel, activeState, activeStation, onActiveFuelC
13615
13615
  ` }),
13616
13616
  rows.map((row, rowIndex) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-0 shrink-0", children: [
13617
13617
  rowIndex > 0 && row[0] && /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "40", height: "2", className: "shrink-0 mx-1.5", children: /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "0", y1: "1", x2: "40", y2: "1", stroke: activeStep >= row[0].step ? "#10b981" : "#374151", strokeWidth: "2", strokeDasharray: "4 3", style: { animation: activeStep === row[0].step ? "edgeFlow 0.8s linear infinite" : "none" } }) }),
13618
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex ${row.length > 1 ? "flex-col gap-2" : ""}`, children: row.map((node) => {
13619
- const status = getStatus(node);
13618
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex ${row.length > 1 ? "flex-col gap-2" : ""}`, children: row.map((node2) => {
13619
+ const status = getStatus(node2);
13620
13620
  return /* @__PURE__ */ jsxRuntime.jsxs(
13621
13621
  "div",
13622
13622
  {
13623
13623
  className: `liquid-surface rounded-2xl px-4 py-3 transition-all duration-500 ${row.length > 1 ? "w-[180px]" : "w-[220px]"} ${status === "active" ? "ring-2 ring-blue-500/50 scale-[1.03]" : status === "complete" ? "ring-1 ring-emerald-500/30" : "opacity-40"}`,
13624
- style: status === "active" ? { "--glow": node.glow, animation: "nodeGlow 1.5s ease-in-out infinite" } : void 0,
13624
+ style: status === "active" ? { "--glow": node2.glow, animation: "nodeGlow 1.5s ease-in-out infinite" } : void 0,
13625
13625
  children: [
13626
13626
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2.5 mb-1.5", children: [
13627
- node.avatar ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: node.avatar, alt: "", className: "h-9 w-9 rounded-xl shrink-0" }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex h-9 w-9 items-center justify-center rounded-xl shrink-0 ${node.bg}`, children: /* @__PURE__ */ jsxRuntime.jsx(node.icon, { className: `h-5 w-5 ${node.color}` }) }),
13627
+ node2.avatar ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: node2.avatar, alt: "", className: "h-9 w-9 rounded-xl shrink-0" }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex h-9 w-9 items-center justify-center rounded-xl shrink-0 ${node2.bg}`, children: /* @__PURE__ */ jsxRuntime.jsx(node2.icon, { className: `h-5 w-5 ${node2.color}` }) }),
13628
13628
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
13629
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[13px] font-semibold text-white truncate", children: node.label }),
13630
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[9px] text-gray-500 truncate", children: node.subtitle })
13629
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[13px] font-semibold text-white truncate", children: node2.label }),
13630
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[9px] text-gray-500 truncate", children: node2.subtitle })
13631
13631
  ] }),
13632
13632
  status === "complete" ? /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-5 w-5 text-emerald-400 shrink-0" }) : null
13633
13633
  ] }),
13634
- node.badges && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1 mt-1", children: node.badges.map((badge) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: `rounded-full px-2 py-0.5 text-[8px] font-semibold ${badge.color}`, children: badge.text }, badge.text)) })
13634
+ node2.badges && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1 mt-1", children: node2.badges.map((badge) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: `rounded-full px-2 py-0.5 text-[8px] font-semibold ${badge.color}`, children: badge.text }, badge.text)) })
13635
13635
  ]
13636
13636
  },
13637
- node.id
13637
+ node2.id
13638
13638
  );
13639
13639
  }) })
13640
13640
  ] }, rowIndex))
@@ -13975,14 +13975,14 @@ function IncidentPipelineDemo({
13975
13975
  const handleRun = React12.useCallback(() => {
13976
13976
  if (intervalRef.current) clearInterval(intervalRef.current);
13977
13977
  setActiveStep(0);
13978
- let step = 0;
13978
+ let step2 = 0;
13979
13979
  intervalRef.current = setInterval(() => {
13980
- step += 1;
13981
- if (step > 7) {
13980
+ step2 += 1;
13981
+ if (step2 > 7) {
13982
13982
  if (intervalRef.current) clearInterval(intervalRef.current);
13983
13983
  setActiveStep(7);
13984
13984
  } else {
13985
- setActiveStep(step);
13985
+ setActiveStep(step2);
13986
13986
  }
13987
13987
  }, 1200);
13988
13988
  }, []);
@@ -13998,21 +13998,21 @@ function IncidentPipelineDemo({
13998
13998
  React12.useEffect(() => () => {
13999
13999
  if (intervalRef.current) clearInterval(intervalRef.current);
14000
14000
  }, []);
14001
- const getStatus = (node) => {
14001
+ const getStatus = (node2) => {
14002
14002
  if (activeStep < 0) return "idle";
14003
- if (node.step < activeStep) return "complete";
14004
- if (node.step === activeStep) return "active";
14003
+ if (node2.step < activeStep) return "complete";
14004
+ if (node2.step === activeStep) return "active";
14005
14005
  return "idle";
14006
14006
  };
14007
14007
  const rows = React12.useMemo(() => {
14008
14008
  const result = [];
14009
- let step = -1;
14010
- for (const node of nodes) {
14011
- if (node.step !== step) {
14009
+ let step2 = -1;
14010
+ for (const node2 of nodes) {
14011
+ if (node2.step !== step2) {
14012
14012
  result.push([]);
14013
- step = node.step;
14013
+ step2 = node2.step;
14014
14014
  }
14015
- result[result.length - 1].push(node);
14015
+ result[result.length - 1].push(node2);
14016
14016
  }
14017
14017
  return result;
14018
14018
  }, [nodes]);
@@ -14058,26 +14058,26 @@ function IncidentPipelineDemo({
14058
14058
  ` }),
14059
14059
  rows.map((row, rowIndex) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-0", children: [
14060
14060
  rowIndex > 0 && /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "40", height: "2", className: "mx-1.5 shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "0", y1: "1", x2: "40", y2: "1", stroke: activeStep >= rows[rowIndex][0].step ? "#10b981" : "#374151", strokeWidth: "2", strokeDasharray: "4 3", style: { animation: activeStep === rows[rowIndex][0].step ? "edgeFlow 0.8s linear infinite" : "none" } }) }),
14061
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex ${row.length > 1 ? "flex-col gap-2" : ""}`, children: row.map((node) => {
14062
- const status = getStatus(node);
14061
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex ${row.length > 1 ? "flex-col gap-2" : ""}`, children: row.map((node2) => {
14062
+ const status = getStatus(node2);
14063
14063
  return /* @__PURE__ */ jsxRuntime.jsxs(
14064
14064
  "div",
14065
14065
  {
14066
14066
  className: `liquid-surface rounded-2xl px-4 py-3 transition-all duration-500 ${row.length > 1 ? "w-[180px]" : "w-[220px]"} ${status === "active" ? "scale-[1.03] ring-2 ring-red-500/50" : status === "complete" ? "ring-1 ring-emerald-500/30" : "opacity-40"}`,
14067
- style: status === "active" ? { "--glow": node.glow, animation: "nodeGlow 1.5s ease-in-out infinite" } : void 0,
14067
+ style: status === "active" ? { "--glow": node2.glow, animation: "nodeGlow 1.5s ease-in-out infinite" } : void 0,
14068
14068
  children: [
14069
14069
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-1.5 flex items-center gap-2.5", children: [
14070
- node.avatar ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: node.avatar, alt: "", className: "h-9 w-9 rounded-xl shrink-0" }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex h-9 w-9 items-center justify-center rounded-xl shrink-0 ${node.bg}`, children: /* @__PURE__ */ jsxRuntime.jsx(node.icon, { className: `h-5 w-5 ${node.color}` }) }),
14070
+ node2.avatar ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: node2.avatar, alt: "", className: "h-9 w-9 rounded-xl shrink-0" }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex h-9 w-9 items-center justify-center rounded-xl shrink-0 ${node2.bg}`, children: /* @__PURE__ */ jsxRuntime.jsx(node2.icon, { className: `h-5 w-5 ${node2.color}` }) }),
14071
14071
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
14072
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-[13px] font-semibold text-white", children: node.label }),
14073
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-[9px] text-gray-500", children: node.subtitle })
14072
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-[13px] font-semibold text-white", children: node2.label }),
14073
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-[9px] text-gray-500", children: node2.subtitle })
14074
14074
  ] }),
14075
14075
  status === "complete" && /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-5 w-5 shrink-0 text-emerald-400" })
14076
14076
  ] }),
14077
- node.badges && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1 mt-1", children: node.badges.map((badge) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: `rounded-full px-2 py-0.5 text-[8px] font-semibold ${badge.color}`, children: badge.text }, badge.text)) })
14077
+ node2.badges && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1 mt-1", children: node2.badges.map((badge) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: `rounded-full px-2 py-0.5 text-[8px] font-semibold ${badge.color}`, children: badge.text }, badge.text)) })
14078
14078
  ]
14079
14079
  },
14080
- node.id
14080
+ node2.id
14081
14081
  );
14082
14082
  }) })
14083
14083
  ] }, rowIndex))
@@ -14319,67 +14319,2674 @@ function BentoFeatureGrid({
14319
14319
  )
14320
14320
  ] }) }) });
14321
14321
  }
14322
- function EntityDrawer({
14323
- open,
14324
- onClose,
14325
- title,
14326
- subtitle,
14327
- icon,
14328
- gradient = "from-gray-400 to-gray-500",
14329
- maxWidth = "max-w-xl",
14330
- tabs,
14331
- children
14332
- }) {
14333
- if (!open) return null;
14334
- return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
14335
- /* @__PURE__ */ jsxRuntime.jsx(
14336
- "div",
14322
+ var CustomerAnalyticsDemo = () => /* @__PURE__ */ jsxRuntime.jsx(
14323
+ framerMotion.motion.div,
14324
+ {
14325
+ initial: { opacity: 0 },
14326
+ animate: { opacity: 1 },
14327
+ exit: { opacity: 0 },
14328
+ transition: { duration: 0.5 },
14329
+ className: "flex flex-col h-full overflow-hidden",
14330
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 flex flex-col overflow-hidden", children: [
14331
+ /* @__PURE__ */ jsxRuntime.jsxs(
14332
+ framerMotion.motion.div,
14333
+ {
14334
+ initial: { y: -20, opacity: 0 },
14335
+ animate: { y: 0, opacity: 1 },
14336
+ transition: { duration: 0.5, delay: 0.3 },
14337
+ className: "h-14 border-b bg-background/95 backdrop-blur-sm flex items-center justify-between px-4",
14338
+ children: [
14339
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
14340
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-sm font-semibold", children: "An\xE1lise de Clientes" }),
14341
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs px-2 py-1 rounded-full bg-blue-500/10 text-blue-600 dark:text-blue-400 font-medium", children: "IA Analytics" })
14342
+ ] }),
14343
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
14344
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.BellIcon, { className: "h-4 w-4 text-muted-foreground" }),
14345
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.MagnifyingGlassIcon, { className: "h-4 w-4 text-muted-foreground" })
14346
+ ] })
14347
+ ]
14348
+ }
14349
+ ),
14350
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-y-auto p-4 space-y-3", children: [
14351
+ /* @__PURE__ */ jsxRuntime.jsxs(
14352
+ framerMotion.motion.div,
14353
+ {
14354
+ initial: { opacity: 0, y: 20 },
14355
+ animate: { opacity: 1, y: 0 },
14356
+ transition: { delay: 0.5 },
14357
+ className: "grid grid-cols-2 gap-3",
14358
+ children: [
14359
+ /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-3 bg-gradient-to-br from-blue-500 to-cyan-500 text-white", children: [
14360
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between mb-2", children: [
14361
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.UsersIcon, { className: "h-5 w-5" }),
14362
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "bg-white/20 text-white border-white/30 h-5 text-xs", children: "+12%" })
14363
+ ] }),
14364
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-2xl font-bold", children: "2.547" }),
14365
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-90", children: "Clientes Ativos" })
14366
+ ] }),
14367
+ /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-3 bg-gradient-to-br from-purple-500 to-pink-500 text-white", children: [
14368
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between mb-2", children: [
14369
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ArrowTrendingUpIcon, { className: "h-5 w-5" }),
14370
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "bg-white/20 text-white border-white/30 h-5 text-xs", children: "+28%" })
14371
+ ] }),
14372
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-2xl font-bold", children: "R$ 485k" }),
14373
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-90", children: "Receita Mensal" })
14374
+ ] })
14375
+ ]
14376
+ }
14377
+ ),
14378
+ /* @__PURE__ */ jsxRuntime.jsx(
14379
+ framerMotion.motion.div,
14380
+ {
14381
+ initial: { opacity: 0, y: 20 },
14382
+ animate: { opacity: 1, y: 0 },
14383
+ transition: { delay: 0.7 },
14384
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "border-2", children: [
14385
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-3 border-b bg-gradient-to-r from-blue-600 to-cyan-600 text-white", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
14386
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.SparklesIcon, { className: "h-4 w-4" }),
14387
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm font-bold", children: "Insights IA" })
14388
+ ] }) }),
14389
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-3 space-y-3", children: [
14390
+ /* @__PURE__ */ jsxRuntime.jsxs(
14391
+ framerMotion.motion.div,
14392
+ {
14393
+ initial: { opacity: 0, x: -10 },
14394
+ animate: { opacity: 1, x: 0 },
14395
+ transition: { delay: 0.9 },
14396
+ className: "flex items-start gap-2",
14397
+ children: [
14398
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-6 w-6 rounded-full bg-green-500/10 flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-3 w-3 text-green-500" }) }),
14399
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
14400
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium", children: "Segmento Premium crescendo" }),
14401
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "+45% de convers\xE3o em produtos acima de R$ 500" })
14402
+ ] })
14403
+ ]
14404
+ }
14405
+ ),
14406
+ /* @__PURE__ */ jsxRuntime.jsxs(
14407
+ framerMotion.motion.div,
14408
+ {
14409
+ initial: { opacity: 0, x: -10 },
14410
+ animate: { opacity: 1, x: 0 },
14411
+ transition: { delay: 1.1 },
14412
+ className: "flex items-start gap-2",
14413
+ children: [
14414
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-6 w-6 rounded-full bg-blue-500/10 flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ArrowTrendingUpIcon, { className: "h-3 w-3 text-blue-500" }) }),
14415
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
14416
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium", children: "Reten\xE7\xE3o melhorou 32%" }),
14417
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "Ap\xF3s implementa\xE7\xE3o do programa de fidelidade" })
14418
+ ] })
14419
+ ]
14420
+ }
14421
+ ),
14422
+ /* @__PURE__ */ jsxRuntime.jsxs(
14423
+ framerMotion.motion.div,
14424
+ {
14425
+ initial: { opacity: 0, x: -10 },
14426
+ animate: { opacity: 1, x: 0 },
14427
+ transition: { delay: 1.3 },
14428
+ className: "flex items-start gap-2",
14429
+ children: [
14430
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-6 w-6 rounded-full bg-purple-500/10 flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.UsersIcon, { className: "h-3 w-3 text-purple-500" }) }),
14431
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
14432
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium", children: "847 clientes em risco" }),
14433
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "Sem compras h\xE1 60+ dias - recomendar campanha" })
14434
+ ] })
14435
+ ]
14436
+ }
14437
+ )
14438
+ ] })
14439
+ ] })
14440
+ }
14441
+ ),
14442
+ /* @__PURE__ */ jsxRuntime.jsx(
14443
+ framerMotion.motion.div,
14444
+ {
14445
+ initial: { opacity: 0, y: 20 },
14446
+ animate: { opacity: 1, y: 0 },
14447
+ transition: { delay: 1.5 },
14448
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-3", children: [
14449
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-xs font-semibold mb-2", children: "Top Clientes (\xDAltimo M\xEAs)" }),
14450
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: ["Maria Silva", "Jo\xE3o Santos", "Ana Costa"].map((name, i) => /* @__PURE__ */ jsxRuntime.jsxs(
14451
+ framerMotion.motion.div,
14452
+ {
14453
+ initial: { opacity: 0, x: -10 },
14454
+ animate: { opacity: 1, x: 0 },
14455
+ transition: { delay: 1.7 + i * 0.2 },
14456
+ className: "flex items-center justify-between",
14457
+ children: [
14458
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
14459
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-6 w-6 rounded-full bg-gradient-to-br from-gray-400 to-gray-600 flex items-center justify-center text-white text-[10px] font-bold", children: name.charAt(0) }),
14460
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-medium", children: name })
14461
+ ] }),
14462
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-xs text-muted-foreground", children: [
14463
+ "R$ ",
14464
+ Math.floor(Math.random() * 50 + 10),
14465
+ "k"
14466
+ ] })
14467
+ ]
14468
+ },
14469
+ name
14470
+ )) })
14471
+ ] })
14472
+ }
14473
+ )
14474
+ ] })
14475
+ ] })
14476
+ }
14477
+ );
14478
+ var FinancialDemo = () => /* @__PURE__ */ jsxRuntime.jsx(
14479
+ framerMotion.motion.div,
14480
+ {
14481
+ initial: { opacity: 0 },
14482
+ animate: { opacity: 1 },
14483
+ exit: { opacity: 0 },
14484
+ transition: { duration: 0.5 },
14485
+ className: "flex flex-col h-full overflow-hidden",
14486
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 flex flex-col overflow-hidden", children: [
14487
+ /* @__PURE__ */ jsxRuntime.jsxs(
14488
+ framerMotion.motion.div,
14489
+ {
14490
+ initial: { y: -20, opacity: 0 },
14491
+ animate: { y: 0, opacity: 1 },
14492
+ transition: { duration: 0.5, delay: 0.3 },
14493
+ className: "h-14 border-b bg-background/95 backdrop-blur-sm flex items-center justify-between px-4",
14494
+ children: [
14495
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
14496
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-sm font-semibold", children: "Planejamento Financeiro" }),
14497
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs px-2 py-1 rounded-full bg-green-500/10 text-green-600 dark:text-green-400 font-medium", children: "Q4 2024" })
14498
+ ] }),
14499
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
14500
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.BellIcon, { className: "h-4 w-4 text-muted-foreground" }),
14501
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.MagnifyingGlassIcon, { className: "h-4 w-4 text-muted-foreground" })
14502
+ ] })
14503
+ ]
14504
+ }
14505
+ ),
14506
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-y-auto p-4 space-y-3", children: [
14507
+ /* @__PURE__ */ jsxRuntime.jsxs(
14508
+ framerMotion.motion.div,
14509
+ {
14510
+ initial: { opacity: 0, y: 20 },
14511
+ animate: { opacity: 1, y: 0 },
14512
+ transition: { delay: 0.5 },
14513
+ className: "grid grid-cols-2 gap-3",
14514
+ children: [
14515
+ /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-3 bg-gradient-to-br from-green-500 to-emerald-500 text-white", children: [
14516
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between mb-2", children: [
14517
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ArrowTrendingUpIcon, { className: "h-5 w-5" }),
14518
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "bg-white/20 text-white border-white/30 h-5 text-xs", children: "+18%" })
14519
+ ] }),
14520
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-2xl font-bold", children: "R$ 1.2M" }),
14521
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-90", children: "Receita do Trimestre" })
14522
+ ] }),
14523
+ /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-3 bg-gradient-to-br from-red-500 to-orange-500 text-white", children: [
14524
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between mb-2", children: [
14525
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.DocumentTextIcon, { className: "h-5 w-5" }),
14526
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "bg-white/20 text-white border-white/30 h-5 text-xs", children: "Auto" })
14527
+ ] }),
14528
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-2xl font-bold", children: "R$ 387k" }),
14529
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-90", children: "Impostos Calculados" })
14530
+ ] })
14531
+ ]
14532
+ }
14533
+ ),
14534
+ /* @__PURE__ */ jsxRuntime.jsx(
14535
+ framerMotion.motion.div,
14536
+ {
14537
+ initial: { opacity: 0, y: 20 },
14538
+ animate: { opacity: 1, y: 0 },
14539
+ transition: { delay: 0.7 },
14540
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "border-2", children: [
14541
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-3 border-b bg-gradient-to-r from-green-600 to-emerald-600 text-white", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
14542
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.DocumentTextIcon, { className: "h-4 w-4" }),
14543
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm font-bold", children: "Impostos Brasileiros" })
14544
+ ] }) }),
14545
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-3 space-y-2", children: [
14546
+ /* @__PURE__ */ jsxRuntime.jsxs(
14547
+ framerMotion.motion.div,
14548
+ {
14549
+ initial: { opacity: 0, x: -10 },
14550
+ animate: { opacity: 1, x: 0 },
14551
+ transition: { delay: 0.9 },
14552
+ className: "flex items-center justify-between p-2 bg-blue-50 dark:bg-blue-950/20 rounded-lg border border-blue-200 dark:border-blue-800",
14553
+ children: [
14554
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
14555
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-4 w-4 text-blue-500" }),
14556
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
14557
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium", children: "ICMS" }),
14558
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "Estadual" })
14559
+ ] })
14560
+ ] }),
14561
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-bold", children: "R$ 185k" })
14562
+ ]
14563
+ }
14564
+ ),
14565
+ /* @__PURE__ */ jsxRuntime.jsxs(
14566
+ framerMotion.motion.div,
14567
+ {
14568
+ initial: { opacity: 0, x: -10 },
14569
+ animate: { opacity: 1, x: 0 },
14570
+ transition: { delay: 1.1 },
14571
+ className: "flex items-center justify-between p-2 bg-green-50 dark:bg-green-950/20 rounded-lg border border-green-200 dark:border-green-800",
14572
+ children: [
14573
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
14574
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-4 w-4 text-green-500" }),
14575
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
14576
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium", children: "PIS/COFINS" }),
14577
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "Federal" })
14578
+ ] })
14579
+ ] }),
14580
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-bold", children: "R$ 142k" })
14581
+ ]
14582
+ }
14583
+ ),
14584
+ /* @__PURE__ */ jsxRuntime.jsxs(
14585
+ framerMotion.motion.div,
14586
+ {
14587
+ initial: { opacity: 0, x: -10 },
14588
+ animate: { opacity: 1, x: 0 },
14589
+ transition: { delay: 1.3 },
14590
+ className: "flex items-center justify-between p-2 bg-purple-50 dark:bg-purple-950/20 rounded-lg border border-purple-200 dark:border-purple-800",
14591
+ children: [
14592
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
14593
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-4 w-4 text-purple-500" }),
14594
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
14595
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium", children: "ISS" }),
14596
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "Municipal" })
14597
+ ] })
14598
+ ] }),
14599
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-bold", children: "R$ 60k" })
14600
+ ]
14601
+ }
14602
+ )
14603
+ ] })
14604
+ ] })
14605
+ }
14606
+ ),
14607
+ /* @__PURE__ */ jsxRuntime.jsx(
14608
+ framerMotion.motion.div,
14609
+ {
14610
+ initial: { opacity: 0, y: 20 },
14611
+ animate: { opacity: 1, y: 0 },
14612
+ transition: { delay: 1.5 },
14613
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-3", children: [
14614
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 mb-3", children: [
14615
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CpuChipIcon, { className: "h-4 w-4 text-green-500" }),
14616
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-xs font-semibold", children: "4 Agentes Financeiros" })
14617
+ ] }),
14618
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-2", children: ["Finance", "Tax", "Reports", "Compliance"].map((agent, i) => /* @__PURE__ */ jsxRuntime.jsx(
14619
+ framerMotion.motion.div,
14620
+ {
14621
+ initial: { opacity: 0, scale: 0.9 },
14622
+ animate: { opacity: 1, scale: 1 },
14623
+ transition: { delay: 1.7 + i * 0.1 },
14624
+ children: /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "w-full justify-center bg-green-500/10 text-green-600 dark:text-green-400 text-xs", children: agent })
14625
+ },
14626
+ agent
14627
+ )) })
14628
+ ] })
14629
+ }
14630
+ )
14631
+ ] })
14632
+ ] })
14633
+ }
14634
+ );
14635
+ var Progress = React12__namespace.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
14636
+ ProgressPrimitive__namespace.Root,
14637
+ {
14638
+ ref,
14639
+ className: clsx__default.default(
14640
+ "relative h-4 w-full overflow-hidden rounded-full bg-secondary",
14641
+ className
14642
+ ),
14643
+ ...props,
14644
+ children: /* @__PURE__ */ jsxRuntime.jsx(
14645
+ ProgressPrimitive__namespace.Indicator,
14337
14646
  {
14338
- className: "fixed inset-0 z-40 bg-black/20 backdrop-blur-[2px] transition-opacity",
14339
- onClick: onClose,
14340
- "data-testid": "entity-drawer-backdrop"
14647
+ className: "h-full w-full flex-1 bg-primary transition-all",
14648
+ style: { transform: `translateX(-${100 - (value || 0)}%)` }
14341
14649
  }
14342
- ),
14343
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `fixed top-[64px] right-2 bottom-2 z-50 flex w-full ${maxWidth} flex-col overflow-hidden rounded-2xl border border-white/60 bg-white/80 shadow-[0_8px_60px_-12px_rgba(0,0,0,0.25),0_0_0_1px_rgba(255,255,255,0.1)] backdrop-blur-2xl dark:border-white/[0.12] dark:bg-gray-900/85 dark:shadow-[0_8px_60px_-12px_rgba(0,0,0,0.6),0_0_0_1px_rgba(255,255,255,0.06)]`, children: [
14344
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: `absolute inset-y-0 left-0 w-[3px] bg-gradient-to-b ${gradient} opacity-80` }),
14345
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between px-6 py-5", children: [
14346
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3.5", children: [
14347
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex h-11 w-11 items-center justify-center rounded-[14px] bg-gradient-to-br ${gradient} shadow-lg shadow-black/20 ring-1 ring-white/25`, children: icon }),
14348
- /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
14349
- /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-base font-bold tracking-tight text-gray-900 dark:text-white", children: title }),
14350
- subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-[13px] text-gray-500 dark:text-gray-400", children: subtitle })
14351
- ] })
14352
- ] }),
14650
+ )
14651
+ }
14652
+ ));
14653
+ Progress.displayName = ProgressPrimitive__namespace.Root.displayName;
14654
+ var HRRecruitmentDemo = () => /* @__PURE__ */ jsxRuntime.jsx(
14655
+ framerMotion.motion.div,
14656
+ {
14657
+ initial: { opacity: 0 },
14658
+ animate: { opacity: 1 },
14659
+ exit: { opacity: 0 },
14660
+ transition: { duration: 0.5 },
14661
+ className: "flex flex-col h-full overflow-hidden",
14662
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 flex flex-col overflow-hidden", children: [
14663
+ /* @__PURE__ */ jsxRuntime.jsxs(
14664
+ framerMotion.motion.div,
14665
+ {
14666
+ initial: { y: -20, opacity: 0 },
14667
+ animate: { y: 0, opacity: 1 },
14668
+ transition: { duration: 0.5, delay: 0.3 },
14669
+ className: "h-14 border-b bg-background/95 backdrop-blur-sm flex items-center justify-between px-4",
14670
+ children: [
14671
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
14672
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-sm font-semibold", children: "Recrutamento RH" }),
14673
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs px-2 py-1 rounded-full bg-purple-500/10 text-purple-600 dark:text-purple-400 font-medium", children: "47 candidatos" })
14674
+ ] }),
14675
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
14676
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.BellIcon, { className: "h-4 w-4 text-muted-foreground" }),
14677
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.MagnifyingGlassIcon, { className: "h-4 w-4 text-muted-foreground" })
14678
+ ] })
14679
+ ]
14680
+ }
14681
+ ),
14682
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-y-auto p-4 space-y-3", children: [
14683
+ /* @__PURE__ */ jsxRuntime.jsxs(
14684
+ framerMotion.motion.div,
14685
+ {
14686
+ initial: { opacity: 0, y: 20 },
14687
+ animate: { opacity: 1, y: 0 },
14688
+ transition: { delay: 0.5 },
14689
+ className: "grid grid-cols-2 gap-3",
14690
+ children: [
14691
+ /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-3 bg-gradient-to-br from-purple-500 to-indigo-500 text-white", children: [
14692
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between mb-2", children: [
14693
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.UsersIcon, { className: "h-5 w-5" }),
14694
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "bg-white/20 text-white border-white/30 h-5 text-xs", children: "IA" })
14695
+ ] }),
14696
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-2xl font-bold", children: "12" }),
14697
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-90", children: "Candidatos Qualificados" })
14698
+ ] }),
14699
+ /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-3 bg-gradient-to-br from-green-500 to-emerald-500 text-white", children: [
14700
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between mb-2", children: [
14701
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-5 w-5" }),
14702
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "bg-white/20 text-white border-white/30 h-5 text-xs", children: "+25%" })
14703
+ ] }),
14704
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-2xl font-bold", children: "85%" }),
14705
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-90", children: "Taxa de Match" })
14706
+ ] })
14707
+ ]
14708
+ }
14709
+ ),
14353
14710
  /* @__PURE__ */ jsxRuntime.jsx(
14354
- "button",
14711
+ framerMotion.motion.div,
14355
14712
  {
14356
- onClick: onClose,
14357
- "aria-label": "Close",
14358
- className: "rounded-xl p-2 text-gray-400 transition-all hover:bg-black/5 hover:text-gray-600 active:scale-95 dark:text-gray-500 dark:hover:bg-white/10 dark:hover:text-gray-300",
14359
- "data-testid": "entity-drawer-close",
14360
- children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.XMarkIcon, { className: "h-5 w-5" })
14713
+ initial: { opacity: 0, y: 20 },
14714
+ animate: { opacity: 1, y: 0 },
14715
+ transition: { delay: 0.7 },
14716
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "border-2", children: [
14717
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-3 border-b bg-gradient-to-r from-purple-600 to-indigo-600 text-white", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
14718
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.SparklesIcon, { className: "h-4 w-4" }),
14719
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm font-bold", children: "Vaga: Desenvolvedor Senior" })
14720
+ ] }) }),
14721
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-3 space-y-2", children: [
14722
+ /* @__PURE__ */ jsxRuntime.jsx(
14723
+ framerMotion.motion.div,
14724
+ {
14725
+ initial: { opacity: 0, x: -10 },
14726
+ animate: { opacity: 1, x: 0 },
14727
+ transition: { delay: 0.9 },
14728
+ className: "p-2 bg-green-50 dark:bg-green-950/20 rounded-lg border border-green-200 dark:border-green-800",
14729
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2", children: [
14730
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-8 w-8 rounded-full bg-gradient-to-br from-purple-500 to-indigo-500 flex items-center justify-center text-white text-xs font-bold flex-shrink-0", children: "AS" }),
14731
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
14732
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium", children: "Ana Silva" }),
14733
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "Score: 95/100 - React, TypeScript, 8 anos exp." }),
14734
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1", children: /* @__PURE__ */ jsxRuntime.jsx(Progress, { value: 95, className: "h-1" }) })
14735
+ ] })
14736
+ ] })
14737
+ }
14738
+ ),
14739
+ /* @__PURE__ */ jsxRuntime.jsx(
14740
+ framerMotion.motion.div,
14741
+ {
14742
+ initial: { opacity: 0, x: -10 },
14743
+ animate: { opacity: 1, x: 0 },
14744
+ transition: { delay: 1.1 },
14745
+ className: "p-2 bg-blue-50 dark:bg-blue-950/20 rounded-lg border border-blue-200 dark:border-blue-800",
14746
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2", children: [
14747
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-8 w-8 rounded-full bg-gradient-to-br from-blue-500 to-cyan-500 flex items-center justify-center text-white text-xs font-bold flex-shrink-0", children: "PM" }),
14748
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
14749
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium", children: "Pedro Martins" }),
14750
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "Score: 88/100 - Node.js, AWS, 6 anos exp." }),
14751
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1", children: /* @__PURE__ */ jsxRuntime.jsx(Progress, { value: 88, className: "h-1" }) })
14752
+ ] })
14753
+ ] })
14754
+ }
14755
+ ),
14756
+ /* @__PURE__ */ jsxRuntime.jsx(
14757
+ framerMotion.motion.div,
14758
+ {
14759
+ initial: { opacity: 0, x: -10 },
14760
+ animate: { opacity: 1, x: 0 },
14761
+ transition: { delay: 1.3 },
14762
+ className: "p-2 bg-purple-50 dark:bg-purple-950/20 rounded-lg border border-purple-200 dark:border-purple-800",
14763
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2", children: [
14764
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-8 w-8 rounded-full bg-gradient-to-br from-pink-500 to-purple-500 flex items-center justify-center text-white text-xs font-bold flex-shrink-0", children: "JO" }),
14765
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
14766
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium", children: "Juliana Oliveira" }),
14767
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "Score: 82/100 - Python, Django, 5 anos exp." }),
14768
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1", children: /* @__PURE__ */ jsxRuntime.jsx(Progress, { value: 82, className: "h-1" }) })
14769
+ ] })
14770
+ ] })
14771
+ }
14772
+ )
14773
+ ] })
14774
+ ] })
14775
+ }
14776
+ ),
14777
+ /* @__PURE__ */ jsxRuntime.jsx(
14778
+ framerMotion.motion.div,
14779
+ {
14780
+ initial: { opacity: 0, y: 20 },
14781
+ animate: { opacity: 1, y: 0 },
14782
+ transition: { delay: 1.5 },
14783
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-3", children: [
14784
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 mb-3", children: [
14785
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CpuChipIcon, { className: "h-4 w-4 text-purple-500" }),
14786
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-xs font-semibold", children: "4 Agentes Coordenados" })
14787
+ ] }),
14788
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-2", children: ["HR", "Recruiter", "Skills", "Interview"].map((agent, i) => /* @__PURE__ */ jsxRuntime.jsx(
14789
+ framerMotion.motion.div,
14790
+ {
14791
+ initial: { opacity: 0, scale: 0.9 },
14792
+ animate: { opacity: 1, scale: 1 },
14793
+ transition: { delay: 1.7 + i * 0.1 },
14794
+ children: /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "w-full justify-center bg-purple-500/10 text-purple-600 dark:text-purple-400 text-xs", children: agent })
14795
+ },
14796
+ agent
14797
+ )) })
14798
+ ] })
14361
14799
  }
14362
14800
  )
14363
- ] }),
14364
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-5 h-px bg-gradient-to-r from-transparent via-gray-200/80 to-transparent dark:via-white/10" }),
14365
- tabs,
14366
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto px-6 py-5", children })
14801
+ ] })
14367
14802
  ] })
14368
- ] });
14369
- }
14370
-
14371
- // src/lib/locale-flags.ts
14372
- var flag_br = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20height%3D%22800px%22%20width%3D%22800px%22%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cpath%20style%3D%22fill%3A%23259245%3B%22%20d%3D%22M395.901%2C7.286H116.099C56.003%2C7.286%2C7.286%2C56.003%2C7.286%2C116.099v279.803%0A%09c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h279.803c60.095%2C0%2C108.812-48.717%2C108.812-108.812V116.099%0A%09C504.714%2C56.003%2C455.997%2C7.286%2C395.901%2C7.286z%22%2F%3E%0A%3Cpath%20d%3D%22M395.901%2C512H116.099C52.082%2C512%2C0%2C459.918%2C0%2C395.901V116.099C0%2C52.082%2C52.082%2C0%2C116.099%2C0h279.803%0A%09C459.918%2C0%2C512%2C52.082%2C512%2C116.099v279.803C512%2C459.918%2C459.918%2C512%2C395.901%2C512z%20M116.099%2C14.573%0A%09c-55.981%2C0-101.526%2C45.544-101.526%2C101.526v279.803c0%2C55.981%2C45.544%2C101.526%2C101.526%2C101.526h279.803%0A%09c55.981%2C0%2C101.526-45.545%2C101.526-101.526V116.099c0-55.981-45.545-101.526-101.526-101.526%0A%09C395.902%2C14.573%2C116.099%2C14.573%2C116.099%2C14.573z%22%2F%3E%0A%3Cpolygon%20style%3D%22fill%3A%23FFE000%3B%22%20points%3D%22256%2C374.81%2051.502%2C256%20256%2C137.19%20460.498%2C256%20%22%2F%3E%0A%3Cpath%20d%3D%22M256%2C382.097c-1.265%2C0-2.529-0.328-3.66-0.986L47.842%2C262.301c-2.245-1.305-3.626-3.705-3.626-6.301%0A%09s1.381-4.996%2C3.626-6.301l204.498-118.81c2.264-1.315%2C5.057-1.315%2C7.321%2C0l204.498%2C118.81c2.245%2C1.305%2C3.626%2C3.705%2C3.626%2C6.301%0A%09c0%2C2.596-1.381%2C4.996-3.626%2C6.301l-32.303%2C18.767c-3.48%2C2.02-7.939%2C0.841-9.961-2.64c-2.021-3.479-0.84-7.939%2C2.64-9.961%0A%09L445.993%2C256L256%2C145.617L66.007%2C256L256%2C366.383l139.861-81.258c3.478-2.021%2C7.938-0.841%2C9.961%2C2.64%0A%09c2.021%2C3.479%2C0.84%2C7.939-2.64%2C9.961L259.66%2C381.111C258.529%2C381.768%2C257.265%2C382.097%2C256%2C382.097z%22%2F%3E%0A%3Ccircle%20style%3D%22fill%3A%23103B9B%3B%22%20cx%3D%22256%22%20cy%3D%22256%22%20r%3D%2267.47%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23FFFFFF%3B%22%20d%3D%22M316.265%2C293.777c-2.7%2C0-5.294-1.507-6.556-4.097c-10.094-20.712-27.403-36.941-48.741-45.697%0A%09c-21.334-8.755-45.052-9.367-66.782-1.72c-3.794%2C1.333-7.955-0.659-9.292-4.455c-1.335-3.796%2C0.659-7.956%2C4.455-9.292%0A%09c25.106-8.835%2C52.506-8.129%2C77.152%2C1.986c24.649%2C10.116%2C44.646%2C28.865%2C56.308%2C52.796c1.763%2C3.617%2C0.259%2C7.979-3.359%2C9.742%0A%09C318.423%2C293.54%2C317.336%2C293.777%2C316.265%2C293.777z%22%2F%3E%0A%3Cpath%20d%3D%22M256%2C330.753c-41.219%2C0-74.753-33.534-74.753-74.753s33.534-74.753%2C74.753-74.753s74.753%2C33.534%2C74.753%2C74.753%0A%09S297.219%2C330.753%2C256%2C330.753z%20M256%2C195.82c-33.183%2C0-60.18%2C26.997-60.18%2C60.18s26.997%2C60.18%2C60.18%2C60.18s60.18-26.997%2C60.18-60.18%0A%09S289.183%2C195.82%2C256%2C195.82z%22%2F%3E%0A%3C%2Fsvg%3E";
14373
- var flag_us = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512.001%20512.001%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cpath%20style%3D%22fill%3A%23FFFFFF%3B%22%20d%3D%22M395.901%2C7.287H116.099C56.003%2C7.287%2C7.286%2C56.004%2C7.286%2C116.1v279.803%0A%09c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h279.803c60.095%2C0%2C108.812-48.717%2C108.812-108.812V116.1%0A%09C504.714%2C56.004%2C455.997%2C7.287%2C395.901%2C7.287z%22%2F%3E%0A%3Cg%3E%0A%09%3Crect%20x%3D%227.286%22%20y%3D%22338.901%22%20style%3D%22fill%3A%23ED1F34%3B%22%20width%3D%22497.43%22%20height%3D%2255.26%22%2F%3E%0A%09%3Crect%20x%3D%22225.79%22%20y%3D%22228.361%22%20style%3D%22fill%3A%23ED1F34%3B%22%20width%3D%22278.92%22%20height%3D%2255.28%22%2F%3E%0A%09%3Crect%20x%3D%22236.17%22%20y%3D%22117.831%22%20style%3D%22fill%3A%23ED1F34%3B%22%20width%3D%22268.55%22%20height%3D%2255.26%22%2F%3E%0A%09%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M116.099%2C504.715h279.803c40.628%2C0%2C76.05-22.27%2C94.739-55.264H21.36%0A%09%09C40.049%2C482.445%2C75.471%2C504.715%2C116.099%2C504.715z%22%2F%3E%0A%09%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M490.64%2C62.552c-18.689-32.995-54.111-55.264-94.739-55.264H225.79v55.264H490.64z%22%2F%3E%0A%3C%2Fg%3E%0A%3Cpath%20style%3D%22fill%3A%23164FCE%3B%22%20d%3D%22M335.041%2C7.287H116.099C56.003%2C7.287%2C7.286%2C56.004%2C7.286%2C116.1v167.541h327.755L335.041%2C7.287%0A%09L335.041%2C7.287z%22%2F%3E%0A%3Cg%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2272.55%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22121.86%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22171.16%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22220.47%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22269.77%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2272.55%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22121.86%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22171.16%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22220.47%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22269.77%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2272.55%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22121.86%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22171.16%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22220.47%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22269.77%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2272.55%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22121.86%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22171.16%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22220.47%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22269.77%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%3C%2Fg%3E%0A%3Cpath%20d%3D%22M497.341%2C59.688c-0.199-0.465-0.447-0.902-0.734-1.311C476.551%2C23.521%2C438.921%2C0.001%2C395.901%2C0.001H116.099%0A%09C52.082%2C0.001%2C0%2C52.083%2C0%2C116.1v279.803c0%2C20.462%2C5.328%2C39.7%2C14.659%2C56.412c0.199%2C0.464%2C0.447%2C0.902%2C0.734%2C1.311%0A%09C35.449%2C488.481%2C73.079%2C512%2C116.099%2C512h279.803c43.02%2C0%2C80.65-23.52%2C100.706-58.376c0.287-0.409%2C0.535-0.846%2C0.734-1.311%0A%09c9.331-16.712%2C14.659-35.95%2C14.659-56.412V116.1C512%2C95.638%2C506.672%2C76.4%2C497.341%2C59.688z%20M438.39%2C386.883%0A%09c-4.024%2C0-7.286%2C3.262-7.286%2C7.287s3.262%2C7.286%2C7.286%2C7.286h58.883c-0.791%2C14.595-4.676%2C28.38-11.013%2C40.708H25.74%0A%09c-6.337-12.328-10.222-26.113-11.013-40.708h390.501c4.024%2C0%2C7.286-3.262%2C7.286-7.286c0-4.025-3.262-7.287-7.286-7.287H14.573%0A%09v-40.692h482.854v40.692L438.39%2C386.883L438.39%2C386.883z%20M497.273%2C110.546H342.328V69.838H486.26%0A%09C492.597%2C82.166%2C496.482%2C95.951%2C497.273%2C110.546z%20M389.101%2C180.383h108.326v40.691H342.328v-40.691h19.156%0A%09c4.024%2C0%2C7.286-3.262%2C7.286-7.287c0-4.025-3.262-7.286-7.286-7.286h-19.156v-40.692h155.099v40.692H389.101%0A%09c-4.024%2C0-7.287%2C3.262-7.287%2C7.286C381.814%2C177.121%2C385.076%2C180.383%2C389.101%2C180.383z%20M342.328%2C235.647h155.099v40.708H342.328%0A%09V235.647z%20M497.427%2C290.928v40.691H14.573v-40.691H497.427z%20M477.132%2C55.265H342.328V14.574h53.574%0A%09C429.082%2C14.574%2C458.594%2C30.575%2C477.132%2C55.265z%20M116.099%2C14.574h211.656v261.781H14.573V116.1%0A%09C14.573%2C60.119%2C60.117%2C14.574%2C116.099%2C14.574z%20M395.901%2C497.428H116.099c-33.181%2C0-62.693-16.001-81.231-40.691h442.264%0A%09C458.594%2C481.427%2C429.082%2C497.428%2C395.901%2C497.428z%22%2F%3E%0A%3C%2Fsvg%3E";
14374
- var flag_es = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Crect%20x%3D%227.286%22%20y%3D%22131.64%22%20style%3D%22fill%3A%23FFE000%3B%22%20width%3D%22497.43%22%20height%3D%22248.71%22%2F%3E%0A%3Cg%3E%0A%09%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M395.901%2C7.287H116.099C56.003%2C7.287%2C7.286%2C56.003%2C7.286%2C116.099v15.545h497.427v-15.545%0A%09%09C504.714%2C56.003%2C455.997%2C7.287%2C395.901%2C7.287z%22%2F%3E%0A%09%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M7.286%2C395.901c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h279.803%0A%09%09c60.095%2C0%2C108.812-48.717%2C108.812-108.812v-15.545H7.286V395.901z%22%2F%3E%0A%3C%2Fg%3E%0A%3Cpath%20d%3D%22M395.901%2C0H116.099C52.082%2C0%2C0%2C52.082%2C0%2C116.099v279.803C0%2C459.918%2C52.082%2C512%2C116.099%2C512h279.803%0A%09C459.918%2C512%2C512%2C459.918%2C512%2C395.901V116.099C512%2C52.082%2C459.918%2C0%2C395.901%2C0z%20M116.099%2C14.573h279.803%0A%09c55.981%2C0%2C101.526%2C45.544%2C101.526%2C101.526v8.258H14.573v-8.258C14.573%2C60.117%2C60.117%2C14.573%2C116.099%2C14.573z%20M395.901%2C497.427%0A%09H116.099c-55.982%2C0-101.526-45.544-101.526-101.526v-8.258h390.655c4.024%2C0%2C7.286-3.262%2C7.286-7.287s-3.262-7.286-7.286-7.286%0A%09H14.573V138.93h482.854v234.14H438.39c-4.024%2C0-7.286%2C3.262-7.286%2C7.286s3.262%2C7.287%2C7.286%2C7.287h59.037v8.258%0A%09C497.427%2C451.883%2C451.883%2C497.427%2C395.901%2C497.427z%22%2F%3E%0A%3C%2Fsvg%3E";
14375
- var flag_fr = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Crect%20x%3D%22173.1%22%20y%3D%227.287%22%20style%3D%22fill%3A%23FFFFFF%3B%22%20width%3D%22165.81%22%20height%3D%22497.43%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23164FCE%3B%22%20d%3D%22M116.099%2C7.287C56.003%2C7.287%2C7.286%2C56.003%2C7.286%2C116.099v279.803%0A%09c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h56.997V7.287H116.099z%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M395.901%2C7.287h-56.997v497.427h56.997c60.095%2C0%2C108.812-48.717%2C108.812-108.812V116.099%0A%09C504.714%2C56.003%2C455.997%2C7.287%2C395.901%2C7.287z%22%2F%3E%0A%3Cpath%20d%3D%22M395.901%2C0H116.099C52.082%2C0%2C0%2C52.082%2C0%2C116.099v279.803C0%2C459.918%2C52.082%2C512%2C116.099%2C512h279.803%0A%09C459.918%2C512%2C512%2C459.918%2C512%2C395.901V116.099C512%2C52.082%2C459.918%2C0%2C395.901%2C0z%20M14.573%2C395.901V116.099%0A%09c0-55.981%2C45.544-101.526%2C101.526-101.526h49.71v482.854h-49.71C60.117%2C497.427%2C14.573%2C451.883%2C14.573%2C395.901z%20M497.427%2C395.901%0A%09c0%2C55.982-45.545%2C101.526-101.526%2C101.526H346.19V156.515c0-4.024-3.262-7.286-7.286-7.286c-4.025%2C0-7.287%2C3.262-7.287%2C7.286%0A%09v340.912H180.382V14.573h151.236v92.199c0%2C4.024%2C3.262%2C7.286%2C7.287%2C7.286s7.286-3.262%2C7.286-7.286V14.573h49.711%0A%09c55.981%2C0%2C101.526%2C45.544%2C101.526%2C101.526L497.427%2C395.901L497.427%2C395.901z%22%2F%3E%0A%3C%2Fsvg%3E";
14376
- var flag_de = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Crect%20x%3D%227.286%22%20y%3D%22173.1%22%20style%3D%22fill%3A%23ED1F34%3B%22%20width%3D%22497.43%22%20height%3D%22165.81%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23FFE000%3B%22%20d%3D%22M7.286%2C395.901c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h279.803%0A%09c60.095%2C0%2C108.812-48.717%2C108.812-108.812v-56.997H7.286V395.901z%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23333333%3B%22%20d%3D%22M395.901%2C7.286H116.099C56.003%2C7.286%2C7.286%2C56.003%2C7.286%2C116.099v56.997h497.427v-56.997%0A%09C504.714%2C56.003%2C455.997%2C7.286%2C395.901%2C7.286z%22%2F%3E%0A%3Cpath%20d%3D%22M395.901%2C0H116.099C52.082%2C0%2C0%2C52.082%2C0%2C116.099v279.803C0%2C459.918%2C52.082%2C512%2C116.099%2C512h279.803%0A%09C459.918%2C512%2C512%2C459.918%2C512%2C395.901V116.099C512%2C52.082%2C459.918%2C0%2C395.901%2C0z%20M116.099%2C14.573h279.803%0A%09c55.981%2C0%2C101.526%2C45.544%2C101.526%2C101.526v49.71H14.573v-49.71C14.573%2C60.117%2C60.117%2C14.573%2C116.099%2C14.573z%20M395.901%2C497.427%0A%09H116.099c-55.982%2C0-101.526-45.544-101.526-101.526v-49.71h390.655c4.025%2C0%2C7.286-3.262%2C7.286-7.286s-3.262-7.286-7.286-7.286%0A%09H14.573V180.382h482.854v151.236H438.39c-4.025%2C0-7.286%2C3.262-7.286%2C7.286s3.262%2C7.286%2C7.286%2C7.286h59.037v49.71%0A%09C497.427%2C451.883%2C451.882%2C497.427%2C395.901%2C497.427z%22%2F%3E%0A%3C%2Fsvg%3E";
14377
- var flag_it = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Crect%20x%3D%22173.1%22%20y%3D%227.286%22%20style%3D%22fill%3A%23FFFFFF%3B%22%20width%3D%22165.81%22%20height%3D%22497.43%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23259245%3B%22%20d%3D%22M116.099%2C7.286C56.003%2C7.286%2C7.286%2C56.003%2C7.286%2C116.099v279.803%0A%09c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h56.997V7.286H116.099z%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M395.901%2C7.286h-56.997v497.427h56.997c60.095%2C0%2C108.812-48.717%2C108.812-108.812V116.099%0A%09C504.714%2C56.003%2C455.997%2C7.286%2C395.901%2C7.286z%22%2F%3E%0A%3Cpath%20d%3D%22M395.901%2C0H116.099C52.082%2C0%2C0%2C52.082%2C0%2C116.099v279.803C0%2C459.918%2C52.082%2C512%2C116.099%2C512h279.803%0A%09C459.918%2C512%2C512%2C459.918%2C512%2C395.901V116.099C512%2C52.082%2C459.918%2C0%2C395.901%2C0z%20M14.573%2C395.901V116.099%0A%09c0-55.982%2C45.544-101.526%2C101.526-101.526h49.71v482.854h-49.71C60.117%2C497.427%2C14.573%2C451.883%2C14.573%2C395.901z%20M497.427%2C395.901%0A%09c0%2C55.982-45.544%2C101.526-101.526%2C101.526h-49.71V156.515c0-4.024-3.262-7.286-7.287-7.286c-4.024%2C0-7.286%2C3.262-7.286%2C7.286%0A%09v340.912H180.382V14.573h151.236v92.199c0%2C4.024%2C3.262%2C7.286%2C7.286%2C7.286c4.024%2C0%2C7.287-3.262%2C7.287-7.286V14.573h49.71%0A%09c55.981%2C0%2C101.526%2C45.544%2C101.526%2C101.526L497.427%2C395.901L497.427%2C395.901z%22%2F%3E%0A%3C%2Fsvg%3E";
14378
- var LOCALE_FLAGS = {
14379
- "br": flag_br,
14380
- "us": flag_us,
14381
- "es": flag_es,
14382
- "fr": flag_fr,
14803
+ }
14804
+ );
14805
+ var InventoryDemo = () => /* @__PURE__ */ jsxRuntime.jsx(
14806
+ framerMotion.motion.div,
14807
+ {
14808
+ initial: { opacity: 0 },
14809
+ animate: { opacity: 1 },
14810
+ exit: { opacity: 0 },
14811
+ transition: { duration: 0.5 },
14812
+ className: "flex flex-col h-full overflow-hidden",
14813
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 flex flex-col overflow-hidden", children: [
14814
+ /* @__PURE__ */ jsxRuntime.jsxs(
14815
+ framerMotion.motion.div,
14816
+ {
14817
+ initial: { y: -20, opacity: 0 },
14818
+ animate: { y: 0, opacity: 1 },
14819
+ transition: { duration: 0.5, delay: 0.3 },
14820
+ className: "h-14 border-b bg-background/95 backdrop-blur-sm flex items-center justify-between px-4",
14821
+ children: [
14822
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
14823
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-sm font-semibold", children: "Gest\xE3o de Estoque" }),
14824
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs px-2 py-1 rounded-full bg-orange-500/10 text-orange-600 dark:text-orange-400 font-medium", children: "3 alertas" })
14825
+ ] }),
14826
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
14827
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.BellIcon, { className: "h-4 w-4 text-muted-foreground" }),
14828
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.MagnifyingGlassIcon, { className: "h-4 w-4 text-muted-foreground" })
14829
+ ] })
14830
+ ]
14831
+ }
14832
+ ),
14833
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-y-auto p-4 space-y-3", children: [
14834
+ /* @__PURE__ */ jsxRuntime.jsxs(
14835
+ framerMotion.motion.div,
14836
+ {
14837
+ initial: { opacity: 0, y: 20 },
14838
+ animate: { opacity: 1, y: 0 },
14839
+ transition: { delay: 0.5 },
14840
+ className: "grid grid-cols-2 gap-3",
14841
+ children: [
14842
+ /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-3 bg-gradient-to-br from-green-500 to-emerald-500 text-white", children: [
14843
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between mb-2", children: [
14844
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ShoppingCartIcon, { className: "h-5 w-5" }),
14845
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "bg-white/20 text-white border-white/30 h-5 text-xs", children: "OK" })
14846
+ ] }),
14847
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-2xl font-bold", children: "1.284" }),
14848
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-90", children: "Produtos em Estoque" })
14849
+ ] }),
14850
+ /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-3 bg-gradient-to-br from-orange-500 to-red-500 text-white", children: [
14851
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between mb-2", children: [
14852
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ExclamationTriangleIcon, { className: "h-5 w-5" }),
14853
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "bg-white/20 text-white border-white/30 h-5 text-xs", children: "A\xE7\xE3o" })
14854
+ ] }),
14855
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-2xl font-bold", children: "23" }),
14856
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-90", children: "Estoque Baixo" })
14857
+ ] })
14858
+ ]
14859
+ }
14860
+ ),
14861
+ /* @__PURE__ */ jsxRuntime.jsx(
14862
+ framerMotion.motion.div,
14863
+ {
14864
+ initial: { opacity: 0, y: 20 },
14865
+ animate: { opacity: 1, y: 0 },
14866
+ transition: { delay: 0.7 },
14867
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "border-2 border-orange-200 dark:border-orange-800", children: [
14868
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-3 border-b bg-gradient-to-r from-orange-600 to-red-600 text-white", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
14869
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ExclamationTriangleIcon, { className: "h-4 w-4" }),
14870
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm font-bold", children: "Alertas IA de Estoque" })
14871
+ ] }) }),
14872
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-3 space-y-2", children: [
14873
+ /* @__PURE__ */ jsxRuntime.jsx(
14874
+ framerMotion.motion.div,
14875
+ {
14876
+ initial: { opacity: 0, x: -10 },
14877
+ animate: { opacity: 1, x: 0 },
14878
+ transition: { delay: 0.9 },
14879
+ className: "p-2 bg-orange-50 dark:bg-orange-950/20 rounded-lg border border-orange-200 dark:border-orange-800",
14880
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2", children: [
14881
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ExclamationTriangleIcon, { className: "h-4 w-4 text-orange-500 flex-shrink-0 mt-0.5" }),
14882
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
14883
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium", children: "Notebook Dell XPS 15" }),
14884
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "Apenas 3 unidades - repor urgente" }),
14885
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1", children: /* @__PURE__ */ jsxRuntime.jsx(Progress, { value: 15, className: "h-1" }) })
14886
+ ] })
14887
+ ] })
14888
+ }
14889
+ ),
14890
+ /* @__PURE__ */ jsxRuntime.jsx(
14891
+ framerMotion.motion.div,
14892
+ {
14893
+ initial: { opacity: 0, x: -10 },
14894
+ animate: { opacity: 1, x: 0 },
14895
+ transition: { delay: 1.1 },
14896
+ className: "p-2 bg-yellow-50 dark:bg-yellow-950/20 rounded-lg border border-yellow-200 dark:border-yellow-800",
14897
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2", children: [
14898
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ArrowTrendingUpIcon, { className: "h-4 w-4 text-yellow-500 flex-shrink-0 mt-0.5" }),
14899
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
14900
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium", children: "Mouse Logitech MX Master" }),
14901
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "Vendas +180% - aumentar estoque" }),
14902
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1", children: /* @__PURE__ */ jsxRuntime.jsx(Progress, { value: 40, className: "h-1" }) })
14903
+ ] })
14904
+ ] })
14905
+ }
14906
+ ),
14907
+ /* @__PURE__ */ jsxRuntime.jsx(
14908
+ framerMotion.motion.div,
14909
+ {
14910
+ initial: { opacity: 0, x: -10 },
14911
+ animate: { opacity: 1, x: 0 },
14912
+ transition: { delay: 1.3 },
14913
+ className: "p-2 bg-red-50 dark:bg-red-950/20 rounded-lg border border-red-200 dark:border-red-800",
14914
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2", children: [
14915
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.XCircleIcon, { className: "h-4 w-4 text-red-500 flex-shrink-0 mt-0.5" }),
14916
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
14917
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium", children: "Teclado Mec\xE2nico RGB" }),
14918
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "CR\xCDTICO: 1 unidade restante" }),
14919
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1", children: /* @__PURE__ */ jsxRuntime.jsx(Progress, { value: 5, className: "h-1 bg-red-200" }) })
14920
+ ] })
14921
+ ] })
14922
+ }
14923
+ )
14924
+ ] })
14925
+ ] })
14926
+ }
14927
+ ),
14928
+ /* @__PURE__ */ jsxRuntime.jsx(
14929
+ framerMotion.motion.div,
14930
+ {
14931
+ initial: { opacity: 0, y: 20 },
14932
+ animate: { opacity: 1, y: 0 },
14933
+ transition: { delay: 1.5 },
14934
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-3", children: [
14935
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 mb-3", children: [
14936
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.SparklesIcon, { className: "h-4 w-4 text-purple-500" }),
14937
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-xs font-semibold", children: "Recomenda\xE7\xF5es IA" })
14938
+ ] }),
14939
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
14940
+ /* @__PURE__ */ jsxRuntime.jsxs(
14941
+ framerMotion.motion.div,
14942
+ {
14943
+ initial: { opacity: 0, x: -10 },
14944
+ animate: { opacity: 1, x: 0 },
14945
+ transition: { delay: 1.7 },
14946
+ className: "flex items-start gap-2 text-xs",
14947
+ children: [
14948
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-3 w-3 text-green-500 flex-shrink-0 mt-0.5" }),
14949
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Pedido autom\xE1tico de 50 unidades Notebook Dell programado" })
14950
+ ]
14951
+ }
14952
+ ),
14953
+ /* @__PURE__ */ jsxRuntime.jsxs(
14954
+ framerMotion.motion.div,
14955
+ {
14956
+ initial: { opacity: 0, x: -10 },
14957
+ animate: { opacity: 1, x: 0 },
14958
+ transition: { delay: 1.9 },
14959
+ className: "flex items-start gap-2 text-xs",
14960
+ children: [
14961
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ArrowTrendingUpIcon, { className: "h-3 w-3 text-blue-500 flex-shrink-0 mt-0.5" }),
14962
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Black Friday: aumentar Mouse Logitech em 300%" })
14963
+ ]
14964
+ }
14965
+ )
14966
+ ] })
14967
+ ] })
14968
+ }
14969
+ )
14970
+ ] })
14971
+ ] })
14972
+ }
14973
+ );
14974
+ var LGPDComplianceDemo = () => /* @__PURE__ */ jsxRuntime.jsx(
14975
+ framerMotion.motion.div,
14976
+ {
14977
+ initial: { opacity: 0 },
14978
+ animate: { opacity: 1 },
14979
+ exit: { opacity: 0 },
14980
+ transition: { duration: 0.5 },
14981
+ className: "flex flex-col h-full overflow-hidden",
14982
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 flex flex-col overflow-hidden", children: [
14983
+ /* @__PURE__ */ jsxRuntime.jsxs(
14984
+ framerMotion.motion.div,
14985
+ {
14986
+ initial: { y: -20, opacity: 0 },
14987
+ animate: { y: 0, opacity: 1 },
14988
+ transition: { duration: 0.5, delay: 0.3 },
14989
+ className: "h-14 border-b bg-background/95 backdrop-blur-sm flex items-center justify-between px-4",
14990
+ children: [
14991
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
14992
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-sm font-semibold", children: "Conformidade LGPD" }),
14993
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs px-2 py-1 rounded-full bg-blue-500/10 text-blue-600 dark:text-blue-400 font-medium", children: "Auditoria IA" })
14994
+ ] }),
14995
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
14996
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.BellIcon, { className: "h-4 w-4 text-muted-foreground" }),
14997
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.MagnifyingGlassIcon, { className: "h-4 w-4 text-muted-foreground" })
14998
+ ] })
14999
+ ]
15000
+ }
15001
+ ),
15002
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-y-auto p-4 space-y-3", children: [
15003
+ /* @__PURE__ */ jsxRuntime.jsxs(
15004
+ framerMotion.motion.div,
15005
+ {
15006
+ initial: { opacity: 0, y: 20 },
15007
+ animate: { opacity: 1, y: 0 },
15008
+ transition: { delay: 0.5 },
15009
+ className: "grid grid-cols-2 gap-3",
15010
+ children: [
15011
+ /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-3 bg-gradient-to-br from-blue-500 to-cyan-500 text-white", children: [
15012
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between mb-2", children: [
15013
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ShieldCheckIcon, { className: "h-5 w-5" }),
15014
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "bg-white/20 text-white border-white/30 h-5 text-xs", children: "Alto" })
15015
+ ] }),
15016
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-2xl font-bold", children: "98%" }),
15017
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-90", children: "Taxa de Conformidade" })
15018
+ ] }),
15019
+ /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-3 bg-gradient-to-br from-purple-500 to-indigo-500 text-white", children: [
15020
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between mb-2", children: [
15021
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.UsersIcon, { className: "h-5 w-5" }),
15022
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "bg-white/20 text-white border-white/30 h-5 text-xs", children: "LGPD" })
15023
+ ] }),
15024
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-2xl font-bold", children: "15.4k" }),
15025
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-90", children: "Titulares Protegidos" })
15026
+ ] })
15027
+ ]
15028
+ }
15029
+ ),
15030
+ /* @__PURE__ */ jsxRuntime.jsx(
15031
+ framerMotion.motion.div,
15032
+ {
15033
+ initial: { opacity: 0, y: 20 },
15034
+ animate: { opacity: 1, y: 0 },
15035
+ transition: { delay: 0.7 },
15036
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "border-2", children: [
15037
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-3 border-b bg-gradient-to-r from-blue-600 to-cyan-600 text-white", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
15038
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ShieldCheckIcon, { className: "h-4 w-4" }),
15039
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm font-bold", children: "Status de Prote\xE7\xE3o" })
15040
+ ] }) }),
15041
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-3 space-y-2", children: [
15042
+ /* @__PURE__ */ jsxRuntime.jsx(
15043
+ framerMotion.motion.div,
15044
+ {
15045
+ initial: { opacity: 0, x: -10 },
15046
+ animate: { opacity: 1, x: 0 },
15047
+ transition: { delay: 0.9 },
15048
+ className: "p-2 bg-green-50 dark:bg-green-950/20 rounded-lg border border-green-200 dark:border-green-800",
15049
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2", children: [
15050
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-4 w-4 text-green-500 flex-shrink-0 mt-0.5" }),
15051
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
15052
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium", children: "Consentimentos V\xE1lidos" }),
15053
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "15.2k titulares com aceite ativo" }),
15054
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1", children: /* @__PURE__ */ jsxRuntime.jsx(Progress, { value: 98, className: "h-1" }) })
15055
+ ] })
15056
+ ] })
15057
+ }
15058
+ ),
15059
+ /* @__PURE__ */ jsxRuntime.jsx(
15060
+ framerMotion.motion.div,
15061
+ {
15062
+ initial: { opacity: 0, x: -10 },
15063
+ animate: { opacity: 1, x: 0 },
15064
+ transition: { delay: 1.1 },
15065
+ className: "p-2 bg-blue-50 dark:bg-blue-950/20 rounded-lg border border-blue-200 dark:border-blue-800",
15066
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2", children: [
15067
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.LockClosedIcon, { className: "h-4 w-4 text-blue-500 flex-shrink-0 mt-0.5" }),
15068
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
15069
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium", children: "Dados Criptografados" }),
15070
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "AES-256 em todos os dados sens\xEDveis" }),
15071
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1", children: /* @__PURE__ */ jsxRuntime.jsx(Progress, { value: 100, className: "h-1" }) })
15072
+ ] })
15073
+ ] })
15074
+ }
15075
+ ),
15076
+ /* @__PURE__ */ jsxRuntime.jsx(
15077
+ framerMotion.motion.div,
15078
+ {
15079
+ initial: { opacity: 0, x: -10 },
15080
+ animate: { opacity: 1, x: 0 },
15081
+ transition: { delay: 1.3 },
15082
+ className: "p-2 bg-yellow-50 dark:bg-yellow-950/20 rounded-lg border border-yellow-200 dark:border-yellow-800",
15083
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2", children: [
15084
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ExclamationTriangleIcon, { className: "h-4 w-4 text-yellow-500 flex-shrink-0 mt-0.5" }),
15085
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
15086
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium", children: "Solicita\xE7\xF5es Pendentes" }),
15087
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "12 pedidos de exclus\xE3o em an\xE1lise" }),
15088
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1", children: /* @__PURE__ */ jsxRuntime.jsx(Progress, { value: 35, className: "h-1" }) })
15089
+ ] })
15090
+ ] })
15091
+ }
15092
+ )
15093
+ ] })
15094
+ ] })
15095
+ }
15096
+ ),
15097
+ /* @__PURE__ */ jsxRuntime.jsx(
15098
+ framerMotion.motion.div,
15099
+ {
15100
+ initial: { opacity: 0, y: 20 },
15101
+ animate: { opacity: 1, y: 0 },
15102
+ transition: { delay: 1.5 },
15103
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-3", children: [
15104
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 mb-3", children: [
15105
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CpuChipIcon, { className: "h-4 w-4 text-blue-500" }),
15106
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-xs font-semibold", children: "4 Agentes LGPD" })
15107
+ ] }),
15108
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-2", children: ["LGPD", "Privacy", "Audit", "Security"].map((agent, i) => /* @__PURE__ */ jsxRuntime.jsx(
15109
+ framerMotion.motion.div,
15110
+ {
15111
+ initial: { opacity: 0, scale: 0.9 },
15112
+ animate: { opacity: 1, scale: 1 },
15113
+ transition: { delay: 1.7 + i * 0.1 },
15114
+ children: /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "w-full justify-center bg-blue-500/10 text-blue-600 dark:text-blue-400 text-xs", children: agent })
15115
+ },
15116
+ agent
15117
+ )) })
15118
+ ] })
15119
+ }
15120
+ )
15121
+ ] })
15122
+ ] })
15123
+ }
15124
+ );
15125
+ var MarketingDemo = () => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
15126
+ /* @__PURE__ */ jsxRuntime.jsxs(
15127
+ framerMotion.motion.div,
15128
+ {
15129
+ initial: { y: -20, opacity: 0 },
15130
+ animate: { y: 0, opacity: 1 },
15131
+ transition: { duration: 0.5, delay: 0.3 },
15132
+ className: "h-14 border-b bg-background/95 backdrop-blur-sm flex items-center justify-between px-4",
15133
+ children: [
15134
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
15135
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-sm font-semibold", children: "Campanha Black Friday" }),
15136
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs px-2 py-1 rounded-full bg-green-500/10 text-green-600 dark:text-green-400 font-medium", children: "4 agentes ativos" })
15137
+ ] }),
15138
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
15139
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.BellIcon, { className: "h-4 w-4 text-muted-foreground" }),
15140
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.MagnifyingGlassIcon, { className: "h-4 w-4 text-muted-foreground" })
15141
+ ] })
15142
+ ]
15143
+ }
15144
+ ),
15145
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto p-4 space-y-3", children: /* @__PURE__ */ jsxRuntime.jsx(
15146
+ framerMotion.motion.div,
15147
+ {
15148
+ initial: { opacity: 0, y: 20 },
15149
+ animate: { opacity: 1, y: 0 },
15150
+ transition: { delay: 0.5 },
15151
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "border-2", children: [
15152
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-3 border-b bg-gradient-to-r from-purple-600 to-indigo-600 text-white", children: [
15153
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2 mb-2", children: [
15154
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ShoppingCartIcon, { className: "h-4 w-4 mt-0.5" }),
15155
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
15156
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm font-bold mb-1", children: "Black Friday 2024" }),
15157
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-90", children: "Campanha completa com 4 agentes especializados" })
15158
+ ] })
15159
+ ] }),
15160
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2", children: [
15161
+ /* @__PURE__ */ jsxRuntime.jsx(
15162
+ Badge,
15163
+ {
15164
+ className: "bg-white/20 text-white border-white/30 text-xs h-5",
15165
+ children: "4 agentes"
15166
+ }
15167
+ ),
15168
+ /* @__PURE__ */ jsxRuntime.jsx(
15169
+ Badge,
15170
+ {
15171
+ className: "bg-white/20 text-white border-white/30 text-xs h-5",
15172
+ children: "Ativo"
15173
+ }
15174
+ )
15175
+ ] })
15176
+ ] }),
15177
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-3 grid grid-cols-2 gap-2", children: [
15178
+ /* @__PURE__ */ jsxRuntime.jsx(
15179
+ framerMotion.motion.div,
15180
+ {
15181
+ initial: { opacity: 0, scale: 0.9 },
15182
+ animate: { opacity: 1, scale: 1 },
15183
+ transition: { delay: 0.7 },
15184
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-2 bg-purple-50 dark:bg-purple-950/20 border-purple-200 dark:border-purple-800", children: [
15185
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 mb-1", children: [
15186
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-6 w-6 rounded bg-gradient-to-br from-purple-500 to-pink-500 flex items-center justify-center text-white text-[10px] font-bold", children: "MA" }),
15187
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-xs font-semibold", children: "Marketing" })
15188
+ ] }),
15189
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "Estrat\xE9gia de descontos" }),
15190
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "mt-1 h-4 text-[9px] bg-green-500", children: "Ativo" })
15191
+ ] })
15192
+ }
15193
+ ),
15194
+ /* @__PURE__ */ jsxRuntime.jsx(
15195
+ framerMotion.motion.div,
15196
+ {
15197
+ initial: { opacity: 0, scale: 0.9 },
15198
+ animate: { opacity: 1, scale: 1 },
15199
+ transition: { delay: 0.9 },
15200
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-2 bg-blue-50 dark:bg-blue-950/20 border-blue-200 dark:border-blue-800", children: [
15201
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 mb-1", children: [
15202
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-6 w-6 rounded bg-gradient-to-br from-blue-500 to-cyan-500 flex items-center justify-center text-white text-[10px] font-bold", children: "DA" }),
15203
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-xs font-semibold", children: "Design" })
15204
+ ] }),
15205
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "Gerando banners" }),
15206
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "mt-1 h-4 text-[9px] bg-green-500", children: "Ativo" })
15207
+ ] })
15208
+ }
15209
+ ),
15210
+ /* @__PURE__ */ jsxRuntime.jsx(
15211
+ framerMotion.motion.div,
15212
+ {
15213
+ initial: { opacity: 0, scale: 0.9 },
15214
+ animate: { opacity: 1, scale: 1 },
15215
+ transition: { delay: 1.1 },
15216
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-2 bg-orange-50 dark:bg-orange-950/20 border-orange-200 dark:border-orange-800", children: [
15217
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 mb-1", children: [
15218
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-6 w-6 rounded bg-gradient-to-br from-orange-500 to-red-500 flex items-center justify-center text-white text-[10px] font-bold", children: "EA" }),
15219
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-xs font-semibold", children: "E-commerce" })
15220
+ ] }),
15221
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground mb-1", children: "Automa\xE7\xF5es" }),
15222
+ /* @__PURE__ */ jsxRuntime.jsx(Progress, { value: 65, className: "h-1" })
15223
+ ] })
15224
+ }
15225
+ ),
15226
+ /* @__PURE__ */ jsxRuntime.jsx(
15227
+ framerMotion.motion.div,
15228
+ {
15229
+ initial: { opacity: 0, scale: 0.9 },
15230
+ animate: { opacity: 1, scale: 1 },
15231
+ transition: { delay: 1.3 },
15232
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-2 bg-green-50 dark:bg-green-950/20 border-green-200 dark:border-green-800", children: [
15233
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 mb-1", children: [
15234
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-6 w-6 rounded bg-gradient-to-br from-green-500 to-emerald-500 flex items-center justify-center text-white text-[10px] font-bold", children: "EM" }),
15235
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-xs font-semibold", children: "Email" })
15236
+ ] }),
15237
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "Sequ\xEAncia de emails" }),
15238
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "mt-1 h-4 text-[9px] bg-green-500", children: "Ativo" })
15239
+ ] })
15240
+ }
15241
+ )
15242
+ ] }),
15243
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-3 border-t", children: [
15244
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-xs font-semibold mb-2", children: "Progresso" }),
15245
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
15246
+ /* @__PURE__ */ jsxRuntime.jsxs(
15247
+ framerMotion.motion.div,
15248
+ {
15249
+ initial: { opacity: 0, x: -10 },
15250
+ animate: { opacity: 1, x: 0 },
15251
+ transition: { delay: 1.5 },
15252
+ className: "flex items-center gap-2 text-xs",
15253
+ children: [
15254
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-3 w-3 text-green-500 flex-shrink-0" }),
15255
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "An\xE1lise de produtos" })
15256
+ ]
15257
+ }
15258
+ ),
15259
+ /* @__PURE__ */ jsxRuntime.jsxs(
15260
+ framerMotion.motion.div,
15261
+ {
15262
+ initial: { opacity: 0, x: -10 },
15263
+ animate: { opacity: 1, x: 0 },
15264
+ transition: { delay: 1.7 },
15265
+ className: "flex items-center gap-2 text-xs",
15266
+ children: [
15267
+ /* @__PURE__ */ jsxRuntime.jsx(
15268
+ framerMotion.motion.div,
15269
+ {
15270
+ animate: { rotate: 360 },
15271
+ transition: {
15272
+ duration: 1,
15273
+ repeat: Infinity,
15274
+ ease: "linear"
15275
+ },
15276
+ children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ArrowPathIcon, { className: "h-3 w-3 text-blue-500" })
15277
+ }
15278
+ ),
15279
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", children: "12 banners promocionais" })
15280
+ ]
15281
+ }
15282
+ ),
15283
+ /* @__PURE__ */ jsxRuntime.jsxs(
15284
+ framerMotion.motion.div,
15285
+ {
15286
+ initial: { opacity: 0, x: -10 },
15287
+ animate: { opacity: 1, x: 0 },
15288
+ transition: { delay: 1.9 },
15289
+ className: "flex items-center gap-2 text-xs",
15290
+ children: [
15291
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.EnvelopeIcon, { className: "h-3 w-3 text-muted-foreground flex-shrink-0" }),
15292
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "5 emails autom\xE1ticos" })
15293
+ ]
15294
+ }
15295
+ )
15296
+ ] })
15297
+ ] })
15298
+ ] })
15299
+ }
15300
+ ) })
15301
+ ] });
15302
+ var SalesDemo = () => /* @__PURE__ */ jsxRuntime.jsx(
15303
+ framerMotion.motion.div,
15304
+ {
15305
+ initial: { opacity: 0 },
15306
+ animate: { opacity: 1 },
15307
+ exit: { opacity: 0 },
15308
+ transition: { duration: 0.5 },
15309
+ className: "flex flex-col h-full overflow-hidden",
15310
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 flex flex-col overflow-hidden", children: [
15311
+ /* @__PURE__ */ jsxRuntime.jsxs(
15312
+ framerMotion.motion.div,
15313
+ {
15314
+ initial: { y: -20, opacity: 0 },
15315
+ animate: { y: 0, opacity: 1 },
15316
+ transition: { duration: 0.5, delay: 0.3 },
15317
+ className: "h-14 border-b bg-background/95 backdrop-blur-sm flex items-center justify-between px-4",
15318
+ children: [
15319
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
15320
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-sm font-semibold", children: "Funil de Vendas - XPTO" }),
15321
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs px-2 py-1 rounded-full bg-blue-500/10 text-blue-600 dark:text-blue-400 font-medium", children: "4 agentes ativos" })
15322
+ ] }),
15323
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
15324
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.BellIcon, { className: "h-4 w-4 text-muted-foreground" }),
15325
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.MagnifyingGlassIcon, { className: "h-4 w-4 text-muted-foreground" })
15326
+ ] })
15327
+ ]
15328
+ }
15329
+ ),
15330
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-y-auto p-4 space-y-3", children: [
15331
+ /* @__PURE__ */ jsxRuntime.jsx(
15332
+ framerMotion.motion.div,
15333
+ {
15334
+ initial: { opacity: 0, y: 20 },
15335
+ animate: { opacity: 1, y: 0 },
15336
+ transition: { delay: 0.5 },
15337
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "border-2", children: [
15338
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-3 border-b bg-gradient-to-r from-blue-600 to-indigo-600 text-white", children: [
15339
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2 mb-2", children: [
15340
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ArrowTrendingUpIcon, { className: "h-4 w-4 mt-0.5" }),
15341
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
15342
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm font-bold mb-1", children: "Lead Qualificado: Empresa XPTO" }),
15343
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-90", children: "Pipeline de vendas com 4 agentes coordenados" })
15344
+ ] })
15345
+ ] }),
15346
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2", children: [
15347
+ /* @__PURE__ */ jsxRuntime.jsx(
15348
+ Badge,
15349
+ {
15350
+ className: "bg-white/20 text-white border-white/30 text-xs h-5",
15351
+ children: "Score: 85/100"
15352
+ }
15353
+ ),
15354
+ /* @__PURE__ */ jsxRuntime.jsx(
15355
+ Badge,
15356
+ {
15357
+ className: "bg-white/20 text-white border-white/30 text-xs h-5",
15358
+ children: "Em Progresso"
15359
+ }
15360
+ )
15361
+ ] })
15362
+ ] }),
15363
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-3 space-y-2", children: [
15364
+ /* @__PURE__ */ jsxRuntime.jsxs(
15365
+ framerMotion.motion.div,
15366
+ {
15367
+ initial: { opacity: 0, x: -10 },
15368
+ animate: { opacity: 1, x: 0 },
15369
+ transition: { delay: 0.7 },
15370
+ className: "relative",
15371
+ children: [
15372
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 p-2 bg-green-50 dark:bg-green-950/20 rounded-lg border border-green-200 dark:border-green-800", children: [
15373
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-8 w-8 rounded-full bg-gradient-to-br from-green-500 to-emerald-500 flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-4 w-4 text-white" }) }),
15374
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
15375
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-semibold", children: "Lead" }),
15376
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "Novo contato recebido" })
15377
+ ] }),
15378
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "bg-green-500 text-white text-[9px] h-4", children: "Completo" })
15379
+ ] }),
15380
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute left-4 top-10 w-0.5 h-2 bg-gradient-to-b from-green-500 to-blue-500" })
15381
+ ]
15382
+ }
15383
+ ),
15384
+ /* @__PURE__ */ jsxRuntime.jsxs(
15385
+ framerMotion.motion.div,
15386
+ {
15387
+ initial: { opacity: 0, x: -10 },
15388
+ animate: { opacity: 1, x: 0 },
15389
+ transition: { delay: 0.9 },
15390
+ className: "relative",
15391
+ children: [
15392
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 p-2 bg-blue-50 dark:bg-blue-950/20 rounded-lg border-2 border-blue-400 dark:border-blue-600", children: [
15393
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-8 w-8 rounded-full bg-gradient-to-br from-blue-500 to-cyan-500 flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(
15394
+ framerMotion.motion.div,
15395
+ {
15396
+ animate: { rotate: 360 },
15397
+ transition: {
15398
+ duration: 2,
15399
+ repeat: Infinity,
15400
+ ease: "linear"
15401
+ },
15402
+ children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ArrowPathIcon, { className: "h-4 w-4 text-white" })
15403
+ }
15404
+ ) }),
15405
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
15406
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-semibold", children: "Qualifica\xE7\xE3o" }),
15407
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "Score: 85/100 - Alta prioridade" })
15408
+ ] }),
15409
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "bg-blue-500 text-white text-[9px] h-4", children: "Em An\xE1lise" })
15410
+ ] }),
15411
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute left-4 top-10 w-0.5 h-2 bg-gradient-to-b from-blue-500 to-purple-500" })
15412
+ ]
15413
+ }
15414
+ ),
15415
+ /* @__PURE__ */ jsxRuntime.jsxs(
15416
+ framerMotion.motion.div,
15417
+ {
15418
+ initial: { opacity: 0, x: -10 },
15419
+ animate: { opacity: 1, x: 0 },
15420
+ transition: { delay: 1.1 },
15421
+ className: "relative",
15422
+ children: [
15423
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 p-2 bg-purple-50 dark:bg-purple-950/20 rounded-lg border border-purple-200 dark:border-purple-800", children: [
15424
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-8 w-8 rounded-full bg-gradient-to-br from-purple-500 to-pink-500 flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.DocumentTextIcon, { className: "h-4 w-4 text-white" }) }),
15425
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
15426
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-semibold", children: "Proposta" }),
15427
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "R$ 45k/m\xEAs - Em prepara\xE7\xE3o" })
15428
+ ] }),
15429
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "bg-purple-500/20 text-purple-600 dark:text-purple-400 text-[9px] h-4", children: "Pendente" })
15430
+ ] }),
15431
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute left-4 top-10 w-0.5 h-2 bg-gradient-to-b from-purple-500 to-orange-500" })
15432
+ ]
15433
+ }
15434
+ ),
15435
+ /* @__PURE__ */ jsxRuntime.jsxs(
15436
+ framerMotion.motion.div,
15437
+ {
15438
+ initial: { opacity: 0, x: -10 },
15439
+ animate: { opacity: 1, x: 0 },
15440
+ transition: { delay: 1.3 },
15441
+ className: "relative",
15442
+ children: [
15443
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 p-2 bg-orange-50 dark:bg-orange-950/20 rounded-lg border border-orange-200 dark:border-orange-800", children: [
15444
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-8 w-8 rounded-full bg-gradient-to-br from-orange-500 to-red-500 flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ChatBubbleLeftIcon, { className: "h-4 w-4 text-white" }) }),
15445
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
15446
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-semibold", children: "Negocia\xE7\xE3o" }),
15447
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "Desconto 10% aprovado" })
15448
+ ] }),
15449
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "bg-orange-500/20 text-orange-600 dark:text-orange-400 text-[9px] h-4", children: "Aguardando" })
15450
+ ] }),
15451
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute left-4 top-10 w-0.5 h-2 bg-gradient-to-b from-orange-500 to-green-600" })
15452
+ ]
15453
+ }
15454
+ ),
15455
+ /* @__PURE__ */ jsxRuntime.jsx(
15456
+ framerMotion.motion.div,
15457
+ {
15458
+ initial: { opacity: 0, x: -10 },
15459
+ animate: { opacity: 1, x: 0 },
15460
+ transition: { delay: 1.5 },
15461
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 p-2 bg-white/[0.04] dark:bg-white/[0.04] rounded-lg border border-white/10 dark:border-white/[0.08]", children: [
15462
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-8 w-8 rounded-full bg-gradient-to-br from-gray-400 to-gray-600 flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.TrophyIcon, { className: "h-4 w-4 text-white" }) }),
15463
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
15464
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-semibold", children: "Fechamento" }),
15465
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-muted-foreground", children: "Aguardando assinatura" })
15466
+ ] }),
15467
+ /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "bg-gray-500/20 text-gray-600 dark:text-gray-400 text-[9px] h-4", children: "Futuro" })
15468
+ ] })
15469
+ }
15470
+ )
15471
+ ] })
15472
+ ] })
15473
+ }
15474
+ ),
15475
+ /* @__PURE__ */ jsxRuntime.jsx(
15476
+ framerMotion.motion.div,
15477
+ {
15478
+ initial: { opacity: 0, y: 20 },
15479
+ animate: { opacity: 1, y: 0 },
15480
+ transition: { delay: 1.7 },
15481
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-3", children: [
15482
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 mb-3", children: [
15483
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CpuChipIcon, { className: "h-4 w-4 text-blue-500" }),
15484
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-xs font-semibold", children: "4 Agentes de Vendas" })
15485
+ ] }),
15486
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-2", children: ["Sales", "CRM", "Scoring", "Proposal"].map((agent, i) => /* @__PURE__ */ jsxRuntime.jsx(
15487
+ framerMotion.motion.div,
15488
+ {
15489
+ initial: { opacity: 0, scale: 0.9 },
15490
+ animate: { opacity: 1, scale: 1 },
15491
+ transition: { delay: 1.9 + i * 0.1 },
15492
+ children: /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "w-full justify-center bg-blue-500/10 text-blue-600 dark:text-blue-400 text-xs", children: agent })
15493
+ },
15494
+ agent
15495
+ )) })
15496
+ ] })
15497
+ }
15498
+ ),
15499
+ /* @__PURE__ */ jsxRuntime.jsx(
15500
+ framerMotion.motion.div,
15501
+ {
15502
+ initial: { opacity: 0, y: 20 },
15503
+ animate: { opacity: 1, y: 0 },
15504
+ transition: { delay: 2.1 },
15505
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "p-3", children: [
15506
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-xs font-semibold mb-2", children: "M\xE9tricas do Funil" }),
15507
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
15508
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between text-xs", children: [
15509
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "Taxa de Convers\xE3o" }),
15510
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-bold text-green-600 dark:text-green-400", children: "68%" })
15511
+ ] }),
15512
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between text-xs", children: [
15513
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "Valor M\xE9dio" }),
15514
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-bold", children: "R$ 45k/m\xEAs" })
15515
+ ] }),
15516
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between text-xs", children: [
15517
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "Tempo M\xE9dio" }),
15518
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-bold", children: "14 dias" })
15519
+ ] })
15520
+ ] })
15521
+ ] })
15522
+ }
15523
+ )
15524
+ ] })
15525
+ ] })
15526
+ }
15527
+ );
15528
+ var InputStage = ({
15529
+ inputText,
15530
+ currentDepartmentTitle: _currentDepartmentTitle
15531
+ }) => /* @__PURE__ */ jsxRuntime.jsxs(
15532
+ framerMotion.motion.div,
15533
+ {
15534
+ initial: { opacity: 0, y: 20 },
15535
+ animate: { opacity: 1, y: 0 },
15536
+ exit: { opacity: 0, y: -20 },
15537
+ className: "flex-1 flex flex-col",
15538
+ children: [
15539
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 flex items-center justify-center p-8", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-center max-w-md", children: [
15540
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "inline-flex items-center justify-center w-16 h-16 rounded-2xl bg-gradient-to-br from-purple-500 to-blue-500 mb-4", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.SparklesIcon, { className: "w-8 h-8 text-white" }) }),
15541
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-2xl font-bold text-gray-900 dark:text-white mb-2", children: "Orquestrador de IA" }),
15542
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-gray-600 dark:text-gray-400 text-sm", children: "Descreva o que precisa e veja os agentes colaborarem para executar" })
15543
+ ] }) }),
15544
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t border-white/10 dark:border-white/[0.08] p-4 bg-white/5 dark:bg-white/[0.03]", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-4xl mx-auto", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3 bg-white/[0.02] dark:bg-white/[0.02] rounded-2xl border border-white/10 dark:border-white/[0.08] p-4 shadow-sm hover:shadow-md transition-shadow", children: [
15545
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 min-h-[44px] flex items-center", children: /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-gray-900 dark:text-white text-[15px]", children: [
15546
+ inputText,
15547
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "animate-pulse ml-0.5", children: "|" })
15548
+ ] }) }),
15549
+ /* @__PURE__ */ jsxRuntime.jsx("button", { className: "flex-shrink-0 w-9 h-9 rounded-lg bg-gradient-to-br from-purple-500 to-blue-500 hover:from-purple-600 hover:to-blue-600 flex items-center justify-center transition-all shadow-sm hover:shadow-md", "aria-label": "Send message", children: /* @__PURE__ */ jsxRuntime.jsx(
15550
+ "svg",
15551
+ {
15552
+ width: "20",
15553
+ height: "20",
15554
+ viewBox: "0 0 24 24",
15555
+ fill: "none",
15556
+ stroke: "currentColor",
15557
+ className: "text-white",
15558
+ children: /* @__PURE__ */ jsxRuntime.jsx(
15559
+ "path",
15560
+ {
15561
+ strokeLinecap: "round",
15562
+ strokeLinejoin: "round",
15563
+ strokeWidth: 2,
15564
+ d: "M5 12h14M12 5l7 7-7 7"
15565
+ }
15566
+ )
15567
+ }
15568
+ ) })
15569
+ ] }) }) }) })
15570
+ ]
15571
+ },
15572
+ "input"
15573
+ );
15574
+ var AIAgentsSidebar = () => {
15575
+ const [activeAgents] = React12.useState([
15576
+ {
15577
+ id: "1",
15578
+ name: "AI Orchestrator",
15579
+ role: "Task Coordination",
15580
+ status: "active",
15581
+ avatar: "\u{1F916}",
15582
+ skills: ["routing", "coordination"]
15583
+ },
15584
+ {
15585
+ id: "2",
15586
+ name: "Data Specialist",
15587
+ role: "Analytics & BI",
15588
+ status: "busy",
15589
+ avatar: "\u{1F4CA}",
15590
+ skills: ["analytics", "visualization"],
15591
+ workload: 45
15592
+ },
15593
+ {
15594
+ id: "3",
15595
+ name: "Content Creator",
15596
+ role: "Creative Solutions",
15597
+ status: "idle",
15598
+ avatar: "\u270D\uFE0F",
15599
+ skills: ["writing", "creativity"]
15600
+ }
15601
+ ]);
15602
+ return /* @__PURE__ */ jsxRuntime.jsxs(
15603
+ framerMotion.motion.div,
15604
+ {
15605
+ initial: { x: -20, opacity: 0 },
15606
+ animate: { x: 0, opacity: 1 },
15607
+ transition: { duration: 0.5 },
15608
+ className: "w-80 bg-white/5 dark:bg-white/[0.03] border-r border-white/10 dark:border-white/[0.06] flex flex-col",
15609
+ children: [
15610
+ activeAgents[0] && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-4 bg-gradient-to-br from-purple-500 to-blue-500 text-white", children: [
15611
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 mb-2", children: [
15612
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.SparklesIcon, { className: "h-5 w-5" }),
15613
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "font-semibold text-sm", children: "Current Agent" })
15614
+ ] }),
15615
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 mt-3", children: [
15616
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-12 h-12 rounded-xl bg-white/20 flex items-center justify-center text-2xl", children: activeAgents[0].avatar }),
15617
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
15618
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "font-bold", children: activeAgents[0].name }),
15619
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-white/80", children: activeAgents[0].role })
15620
+ ] }),
15621
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-2 py-1 bg-green-500/30 rounded-full text-xs", children: "Active" })
15622
+ ] }),
15623
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex gap-1 mt-3 flex-wrap", children: activeAgents[0].skills.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
15624
+ "span",
15625
+ {
15626
+ className: "px-2 py-0.5 bg-white/20 rounded-md text-xs",
15627
+ children: skill
15628
+ },
15629
+ skill
15630
+ )) })
15631
+ ] }),
15632
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 p-4 overflow-y-auto", children: [
15633
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 mb-3", children: [
15634
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.UsersIcon, { className: "h-5 w-5 text-gray-600 dark:text-gray-400" }),
15635
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "font-semibold text-sm", children: "Agent Team" })
15636
+ ] }),
15637
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: activeAgents.slice(1).map((agent) => /* @__PURE__ */ jsxRuntime.jsxs(
15638
+ "div",
15639
+ {
15640
+ className: "flex items-center gap-2 p-2 rounded-lg bg-white/5 dark:bg-white/5",
15641
+ children: [
15642
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-10 h-10 rounded-lg bg-gradient-to-br from-gray-100 to-gray-200 dark:from-zinc-700 dark:to-zinc-600 flex items-center justify-center text-lg", children: agent.avatar }),
15643
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
15644
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
15645
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-xs font-semibold truncate", children: agent.name }),
15646
+ /* @__PURE__ */ jsxRuntime.jsx(
15647
+ "span",
15648
+ {
15649
+ className: `px-1.5 py-0.5 rounded-full text-xs ${agent.status === "active" ? "bg-green-100 text-green-700 dark:bg-green-900/30 dark:text-green-400" : agent.status === "busy" ? "bg-yellow-100 text-yellow-700 dark:bg-yellow-900/30 dark:text-yellow-400" : "bg-white/10 text-gray-600 dark:bg-white/5 dark:text-gray-400"}`,
15650
+ children: agent.status
15651
+ }
15652
+ )
15653
+ ] }),
15654
+ agent.workload && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-1 bg-white/10 dark:bg-white/[0.08] rounded-full", children: /* @__PURE__ */ jsxRuntime.jsx(
15655
+ "div",
15656
+ {
15657
+ className: "h-full bg-yellow-500 rounded-full",
15658
+ style: { width: `${agent.workload}%` }
15659
+ }
15660
+ ) }) })
15661
+ ] })
15662
+ ]
15663
+ },
15664
+ agent.id
15665
+ )) })
15666
+ ] })
15667
+ ]
15668
+ }
15669
+ );
15670
+ };
15671
+ var OrchestratorStage = ({
15672
+ currentDepartment,
15673
+ renderDepartmentDemo
15674
+ }) => /* @__PURE__ */ jsxRuntime.jsxs(
15675
+ framerMotion.motion.div,
15676
+ {
15677
+ initial: { opacity: 0 },
15678
+ animate: { opacity: 1 },
15679
+ exit: { opacity: 0 },
15680
+ className: "flex-1 flex flex-col w-full",
15681
+ children: [
15682
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-gradient-to-r from-purple-600 to-blue-600 p-4 flex items-center justify-between", children: [
15683
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
15684
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.SparklesIcon, { className: "w-5 h-5 text-white" }),
15685
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
15686
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-white font-semibold", children: "AI Agent Ecosystem" }),
15687
+ /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-white/80 text-xs", children: [
15688
+ currentDepartment.title,
15689
+ " \u2022 2 messages \u2022 _Context: 24,001"
15690
+ ] })
15691
+ ] })
15692
+ ] }),
15693
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
15694
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "px-2 py-1 bg-white/20 text-white text-xs rounded", children: "2 agents active" }),
15695
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "px-2 py-1 bg-white/20 text-white text-xs rounded", children: "Task: 25%" })
15696
+ ] })
15697
+ ] }),
15698
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 flex overflow-hidden", children: [
15699
+ /* @__PURE__ */ jsxRuntime.jsx(AIAgentsSidebar, {}),
15700
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 flex flex-col bg-white/[0.02] dark:bg-white/[0.02]", children: [
15701
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-y-auto p-6 space-y-4", children: [
15702
+ /* @__PURE__ */ jsxRuntime.jsxs(
15703
+ framerMotion.motion.div,
15704
+ {
15705
+ initial: { opacity: 0, y: 10 },
15706
+ animate: { opacity: 1, y: 0 },
15707
+ transition: { delay: 0.2 },
15708
+ className: "flex gap-3",
15709
+ children: [
15710
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-shrink-0 w-10 h-10 rounded-full bg-gradient-to-br from-purple-500 to-blue-500 flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-white text-sm font-bold", children: "AI" }) }),
15711
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
15712
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 mb-1", children: [
15713
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold text-gray-900 dark:text-white", children: "Orquestrador de IA" }),
15714
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-gray-500", children: (/* @__PURE__ */ new Date()).toLocaleTimeString("pt-BR", {
15715
+ hour: "2-digit",
15716
+ minute: "2-digit"
15717
+ }) })
15718
+ ] }),
15719
+ /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-sm text-gray-700 dark:text-gray-300 mb-3", children: [
15720
+ "Analisando sua solicita\xE7\xE3o para ",
15721
+ currentDepartment.title,
15722
+ ". Coordenando agentes especializados..."
15723
+ ] })
15724
+ ] })
15725
+ ]
15726
+ }
15727
+ ),
15728
+ /* @__PURE__ */ jsxRuntime.jsxs(
15729
+ framerMotion.motion.div,
15730
+ {
15731
+ initial: { opacity: 0, y: 10 },
15732
+ animate: { opacity: 1, y: 0 },
15733
+ transition: { delay: 0.5 },
15734
+ className: "flex gap-3",
15735
+ children: [
15736
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-shrink-0 w-10 h-10 rounded-full bg-gradient-to-br from-purple-500 to-blue-500 flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-white text-sm font-bold", children: "AI" }) }),
15737
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
15738
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 mb-1", children: [
15739
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold text-gray-900 dark:text-white", children: "Orquestrador de IA" }),
15740
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-gray-500", children: (/* @__PURE__ */ new Date()).toLocaleTimeString("pt-BR", {
15741
+ hour: "2-digit",
15742
+ minute: "2-digit"
15743
+ }) })
15744
+ ] }),
15745
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-gray-700 dark:text-gray-300 mb-4", children: "Aqui est\xE3o as capacidades dispon\xEDveis. Selecione uma \xE1rea para ver os agentes em a\xE7\xE3o:" }),
15746
+ /* @__PURE__ */ jsxRuntime.jsx(
15747
+ framerMotion.motion.div,
15748
+ {
15749
+ initial: { opacity: 0, scale: 0.95 },
15750
+ animate: { opacity: 1, scale: 1 },
15751
+ transition: { delay: 0.8 },
15752
+ children: renderDepartmentDemo()
15753
+ }
15754
+ )
15755
+ ] })
15756
+ ]
15757
+ }
15758
+ )
15759
+ ] }),
15760
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t border-white/10 dark:border-white/[0.08] p-4 bg-white/5 dark:bg-white/[0.03]", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 bg-white/[0.02] dark:bg-white/[0.02] rounded-xl border border-white/10 dark:border-white/[0.08] p-3 hover:shadow-sm transition-shadow", children: [
15761
+ /* @__PURE__ */ jsxRuntime.jsx(
15762
+ "input",
15763
+ {
15764
+ type: "text",
15765
+ placeholder: "Ask follow-up questions or provide more context...",
15766
+ className: "flex-1 bg-transparent border-none outline-none text-sm text-gray-900 dark:text-white placeholder-gray-500",
15767
+ "aria-label": "Follow-up message"
15768
+ }
15769
+ ),
15770
+ /* @__PURE__ */ jsxRuntime.jsx("button", { className: "flex-shrink-0 w-8 h-8 rounded-lg bg-gradient-to-br from-purple-500 to-blue-500 hover:from-purple-600 hover:to-blue-600 flex items-center justify-center transition-all", "aria-label": "Send message", children: /* @__PURE__ */ jsxRuntime.jsx(
15771
+ "svg",
15772
+ {
15773
+ width: "16",
15774
+ height: "16",
15775
+ viewBox: "0 0 24 24",
15776
+ fill: "none",
15777
+ stroke: "currentColor",
15778
+ className: "text-white",
15779
+ children: /* @__PURE__ */ jsxRuntime.jsx(
15780
+ "path",
15781
+ {
15782
+ strokeLinecap: "round",
15783
+ strokeLinejoin: "round",
15784
+ strokeWidth: 2,
15785
+ d: "M5 12h14M12 5l7 7-7 7"
15786
+ }
15787
+ )
15788
+ }
15789
+ ) })
15790
+ ] }) })
15791
+ ] })
15792
+ ] })
15793
+ ]
15794
+ },
15795
+ "orchestrator"
15796
+ );
15797
+ var ProcessingStage = ({
15798
+ currentDemo
15799
+ }) => /* @__PURE__ */ jsxRuntime.jsx(
15800
+ framerMotion.motion.div,
15801
+ {
15802
+ initial: { opacity: 0, scale: 0.95 },
15803
+ animate: { opacity: 1, scale: 1 },
15804
+ exit: { opacity: 0, scale: 0.95 },
15805
+ className: "flex-1 flex items-center justify-center p-8",
15806
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-center", children: [
15807
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "inline-flex items-center justify-center w-20 h-20 rounded-full bg-gradient-to-br from-purple-500 to-blue-500 mb-4", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CpuChipIcon, { className: "w-10 h-10 text-white animate-pulse" }) }),
15808
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-xl font-bold text-gray-900 dark:text-white mb-2", children: "Coordenando agentes..." }),
15809
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-gray-600 dark:text-gray-400 mb-6", children: currentDemo.processingText }),
15810
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex gap-2 justify-center flex-wrap", children: currentDemo.agents.map((agent, idx) => /* @__PURE__ */ jsxRuntime.jsx(
15811
+ framerMotion.motion.div,
15812
+ {
15813
+ initial: { opacity: 0, scale: 0 },
15814
+ animate: { opacity: 1, scale: 1 },
15815
+ transition: { delay: idx * 0.2 },
15816
+ className: "px-3 py-1 bg-purple-100 dark:bg-purple-900/30 rounded-full text-sm text-purple-700 dark:text-purple-300",
15817
+ children: agent
15818
+ },
15819
+ agent
15820
+ )) })
15821
+ ] })
15822
+ },
15823
+ "processing"
15824
+ );
15825
+ var departments = [
15826
+ {
15827
+ id: "sales",
15828
+ title: "Vendas & E-commerce",
15829
+ description: "WhatsApp Business automatizado, gest\xE3o de produtos e processamento inteligente de pedidos",
15830
+ icon: HeroIcons.ShoppingCartIcon,
15831
+ color: "blue",
15832
+ demoId: 6
15833
+ },
15834
+ {
15835
+ id: "hr",
15836
+ title: "Recursos Humanos",
15837
+ description: "Recrutamento inteligente, gest\xE3o de performance e compliance trabalhista brasileiro",
15838
+ icon: HeroIcons.UsersIcon,
15839
+ color: "green",
15840
+ demoId: 3
15841
+ },
15842
+ {
15843
+ id: "finance",
15844
+ title: "Financeiro",
15845
+ description: "Controle financeiro inteligente com an\xE1lise preditiva e compliance fiscal brasileiro",
15846
+ icon: HeroIcons.BanknotesIcon,
15847
+ color: "purple",
15848
+ demoId: 4
15849
+ },
15850
+ {
15851
+ id: "marketing",
15852
+ title: "Marketing",
15853
+ description: "Campanhas automatizadas, segmenta\xE7\xE3o inteligente e an\xE1lise de ROI em tempo real",
15854
+ icon: HeroIcons.MegaphoneIcon,
15855
+ color: "orange",
15856
+ demoId: 0
15857
+ },
15858
+ {
15859
+ id: "operations",
15860
+ title: "Opera\xE7\xF5es",
15861
+ description: "Gest\xE3o de ativos, manuten\xE7\xE3o preditiva e otimiza\xE7\xE3o de processos operacionais",
15862
+ icon: HeroIcons.CogIcon,
15863
+ color: "teal",
15864
+ demoId: 2
15865
+ },
15866
+ {
15867
+ id: "analytics",
15868
+ title: "Analytics Executivo",
15869
+ description: "Dashboards executivos, KPIs unificados e insights preditivos para tomada de decis\xE3o",
15870
+ icon: HeroIcons.ChartBarIcon,
15871
+ color: "indigo",
15872
+ demoId: 1
15873
+ },
15874
+ {
15875
+ id: "compliance",
15876
+ title: "Compliance LGPD",
15877
+ description: "Prote\xE7\xE3o completa de dados, auditoria autom\xE1tica e conformidade total com LGPD",
15878
+ icon: HeroIcons.DocumentTextIcon,
15879
+ color: "red",
15880
+ demoId: 5
15881
+ }
15882
+ ];
15883
+ var demos = [
15884
+ {
15885
+ id: 0,
15886
+ name: "Marketing Campaign",
15887
+ prompt: "Criar campanha de Black Friday para e-commerce",
15888
+ agents: ["Marketing", "Design", "E-commerce", "Email"],
15889
+ processingText: "Ativando equipe especializada para sua campanha"
15890
+ },
15891
+ {
15892
+ id: 1,
15893
+ name: "Customer Analytics",
15894
+ prompt: "Analisar comportamento dos clientes e identificar oportunidades",
15895
+ agents: ["Analytics", "CRM", "Insights", "Reports"],
15896
+ processingText: "Analisando dados e gerando insights"
15897
+ },
15898
+ {
15899
+ id: 2,
15900
+ name: "Inventory Management",
15901
+ prompt: "Verificar estoque e sugerir reposi\xE7\xF5es autom\xE1ticas",
15902
+ agents: ["Inventory", "Supply", "Forecast", "Logistics"],
15903
+ processingText: "Verificando estoque e planejando reposi\xE7\xE3o"
15904
+ },
15905
+ {
15906
+ id: 3,
15907
+ name: "HR Recruitment",
15908
+ prompt: "Processar candidaturas para vaga de Desenvolvedor Senior",
15909
+ agents: ["HR", "Recruiter", "Skills", "Interview"],
15910
+ processingText: "Processando candidaturas e avaliando perfis"
15911
+ },
15912
+ {
15913
+ id: 4,
15914
+ name: "Financial Planning",
15915
+ prompt: "Gerar relat\xF3rio financeiro e calcular impostos do trimestre",
15916
+ agents: ["Finance", "Tax", "Reports", "Compliance"],
15917
+ processingText: "Calculando impostos e gerando relat\xF3rios"
15918
+ },
15919
+ {
15920
+ id: 5,
15921
+ name: "LGPD Compliance",
15922
+ prompt: "Auditar dados pessoais e verificar conformidade LGPD",
15923
+ agents: ["LGPD", "Privacy", "Audit", "Security"],
15924
+ processingText: "Auditando dados e verificando conformidade"
15925
+ },
15926
+ {
15927
+ id: 6,
15928
+ name: "Sales Demo",
15929
+ prompt: "Qualificar lead empresa XPTO para proposta comercial",
15930
+ agents: ["Sales", "CRM", "Scoring", "Proposal"],
15931
+ processingText: "Qualificando lead e preparando proposta"
15932
+ }
15933
+ ];
15934
+ var AIOrchestratorDemo = ({
15935
+ className,
15936
+ selectedDepartmentIndex = 0
15937
+ }) => {
15938
+ const currentDepartmentIndex = selectedDepartmentIndex;
15939
+ const [stage, setStage] = React12.useState(
15940
+ "input"
15941
+ );
15942
+ const [inputText, setInputText] = React12.useState("");
15943
+ const currentDepartment = departments[currentDepartmentIndex];
15944
+ const currentDemo = currentDepartment ? demos[currentDepartment.demoId] : null;
15945
+ React12.useEffect(() => {
15946
+ if (stage === "input" && currentDemo) {
15947
+ setInputText("");
15948
+ let index = 0;
15949
+ const currentPrompt = currentDemo.prompt;
15950
+ const typingInterval = setInterval(() => {
15951
+ if (index <= currentPrompt.length) {
15952
+ setInputText(currentPrompt.slice(0, index));
15953
+ index++;
15954
+ } else {
15955
+ clearInterval(typingInterval);
15956
+ setTimeout(() => setStage("processing"), 500);
15957
+ }
15958
+ }, 50);
15959
+ return () => clearInterval(typingInterval);
15960
+ }
15961
+ return void 0;
15962
+ }, [stage, currentDemo]);
15963
+ React12.useEffect(() => {
15964
+ if (stage === "processing") {
15965
+ const timer = setTimeout(() => setStage("orchestrator"), 2e3);
15966
+ return () => clearTimeout(timer);
15967
+ }
15968
+ return void 0;
15969
+ }, [stage]);
15970
+ React12.useEffect(() => {
15971
+ setStage("input");
15972
+ setInputText("");
15973
+ }, [selectedDepartmentIndex]);
15974
+ const renderDepartmentDemo = () => {
15975
+ if (!currentDepartment) return /* @__PURE__ */ jsxRuntime.jsx(SalesDemo, {});
15976
+ switch (currentDepartment.demoId) {
15977
+ case 0:
15978
+ return /* @__PURE__ */ jsxRuntime.jsx(MarketingDemo, {});
15979
+ case 1:
15980
+ return /* @__PURE__ */ jsxRuntime.jsx(CustomerAnalyticsDemo, {});
15981
+ case 2:
15982
+ return /* @__PURE__ */ jsxRuntime.jsx(InventoryDemo, {});
15983
+ case 3:
15984
+ return /* @__PURE__ */ jsxRuntime.jsx(HRRecruitmentDemo, {});
15985
+ case 4:
15986
+ return /* @__PURE__ */ jsxRuntime.jsx(FinancialDemo, {});
15987
+ case 5:
15988
+ return /* @__PURE__ */ jsxRuntime.jsx(LGPDComplianceDemo, {});
15989
+ case 6:
15990
+ return /* @__PURE__ */ jsxRuntime.jsx(SalesDemo, {});
15991
+ default:
15992
+ return /* @__PURE__ */ jsxRuntime.jsx(SalesDemo, {});
15993
+ }
15994
+ };
15995
+ return /* @__PURE__ */ jsxRuntime.jsxs(
15996
+ "section",
15997
+ {
15998
+ className: `min-h-[700px] flex flex-col bg-white/[0.02] dark:bg-white/[0.02] rounded-xl border border-white/10 dark:border-white/[0.06] overflow-hidden ${className || ""}`,
15999
+ children: [
16000
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "h-12 bg-white/5 dark:bg-white/[0.03] border-b border-white/10 dark:border-white/[0.06] flex items-center justify-between px-4", children: [
16001
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
16002
+ /* @__PURE__ */ jsxRuntime.jsx("h1", { className: "text-base font-bold text-blue-600", children: "Kori ERP" }),
16003
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative w-64", children: [
16004
+ /* @__PURE__ */ jsxRuntime.jsx(
16005
+ "input",
16006
+ {
16007
+ type: "text",
16008
+ placeholder: "Buscar agentes, tarefas...",
16009
+ className: "w-full pl-8 pr-3 py-1.5 bg-white/[0.02] dark:bg-white/[0.02] border border-white/10 dark:border-white/[0.08] rounded-lg text-xs focus:outline-none focus:ring-1 focus:ring-blue-500",
16010
+ "aria-label": "Search agents and tasks"
16011
+ }
16012
+ ),
16013
+ /* @__PURE__ */ jsxRuntime.jsx(
16014
+ "svg",
16015
+ {
16016
+ className: "absolute left-2.5 top-2 w-3 h-3 text-gray-400",
16017
+ fill: "none",
16018
+ stroke: "currentColor",
16019
+ viewBox: "0 0 24 24",
16020
+ children: /* @__PURE__ */ jsxRuntime.jsx(
16021
+ "path",
16022
+ {
16023
+ strokeLinecap: "round",
16024
+ strokeLinejoin: "round",
16025
+ strokeWidth: 2,
16026
+ d: "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
16027
+ }
16028
+ )
16029
+ }
16030
+ )
16031
+ ] })
16032
+ ] }),
16033
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
16034
+ /* @__PURE__ */ jsxRuntime.jsx("button", { className: "p-1.5 hover:bg-white/10 dark:hover:bg-white/5 rounded-lg", "aria-label": "Help", children: /* @__PURE__ */ jsxRuntime.jsx(
16035
+ "svg",
16036
+ {
16037
+ className: "w-4 h-4 text-gray-600 dark:text-gray-400",
16038
+ fill: "none",
16039
+ stroke: "currentColor",
16040
+ viewBox: "0 0 24 24",
16041
+ children: /* @__PURE__ */ jsxRuntime.jsx(
16042
+ "path",
16043
+ {
16044
+ strokeLinecap: "round",
16045
+ strokeLinejoin: "round",
16046
+ strokeWidth: 2,
16047
+ d: "M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
16048
+ }
16049
+ )
16050
+ }
16051
+ ) }),
16052
+ /* @__PURE__ */ jsxRuntime.jsx("button", { className: "p-1.5 hover:bg-white/10 dark:hover:bg-white/5 rounded-lg", "aria-label": "Toggle dark mode", children: /* @__PURE__ */ jsxRuntime.jsx(
16053
+ "svg",
16054
+ {
16055
+ className: "w-4 h-4 text-gray-600 dark:text-gray-400",
16056
+ fill: "none",
16057
+ stroke: "currentColor",
16058
+ viewBox: "0 0 24 24",
16059
+ children: /* @__PURE__ */ jsxRuntime.jsx(
16060
+ "path",
16061
+ {
16062
+ strokeLinecap: "round",
16063
+ strokeLinejoin: "round",
16064
+ strokeWidth: 2,
16065
+ d: "M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"
16066
+ }
16067
+ )
16068
+ }
16069
+ ) }),
16070
+ /* @__PURE__ */ jsxRuntime.jsx("button", { className: "p-1.5 hover:bg-white/10 dark:hover:bg-white/5 rounded-lg", "aria-label": "Notifications", children: /* @__PURE__ */ jsxRuntime.jsx(
16071
+ "svg",
16072
+ {
16073
+ className: "w-4 h-4 text-gray-600 dark:text-gray-400",
16074
+ fill: "none",
16075
+ stroke: "currentColor",
16076
+ viewBox: "0 0 24 24",
16077
+ children: /* @__PURE__ */ jsxRuntime.jsx(
16078
+ "path",
16079
+ {
16080
+ strokeLinecap: "round",
16081
+ strokeLinejoin: "round",
16082
+ strokeWidth: 2,
16083
+ d: "M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"
16084
+ }
16085
+ )
16086
+ }
16087
+ ) }),
16088
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-7 h-7 rounded-full bg-purple-600 flex items-center justify-center text-white font-semibold text-xs", children: "N" })
16089
+ ] })
16090
+ ] }),
16091
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 flex overflow-hidden", children: [
16092
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-12 bg-white/5 dark:bg-white/[0.03] border-r border-white/10 dark:border-white/[0.06] flex flex-col items-center py-3 gap-2", children: /* @__PURE__ */ jsxRuntime.jsx("button", { className: "w-8 h-8 flex items-center justify-center text-gray-600 dark:text-gray-400 hover:bg-white/10 dark:hover:bg-white/5 rounded-lg transition-colors", "aria-label": "Home", children: /* @__PURE__ */ jsxRuntime.jsx(
16093
+ "svg",
16094
+ {
16095
+ className: "w-4 h-4",
16096
+ fill: "none",
16097
+ stroke: "currentColor",
16098
+ viewBox: "0 0 24 24",
16099
+ children: /* @__PURE__ */ jsxRuntime.jsx(
16100
+ "path",
16101
+ {
16102
+ strokeLinecap: "round",
16103
+ strokeLinejoin: "round",
16104
+ strokeWidth: 2,
16105
+ d: "M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"
16106
+ }
16107
+ )
16108
+ }
16109
+ ) }) }),
16110
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-hidden flex", children: /* @__PURE__ */ jsxRuntime.jsxs(framerMotion.AnimatePresence, { mode: "wait", children: [
16111
+ stage === "input" && currentDepartment && /* @__PURE__ */ jsxRuntime.jsx(
16112
+ InputStage,
16113
+ {
16114
+ inputText,
16115
+ currentDepartmentTitle: currentDepartment.title
16116
+ }
16117
+ ),
16118
+ stage === "processing" && currentDemo && /* @__PURE__ */ jsxRuntime.jsx(ProcessingStage, { currentDemo }),
16119
+ stage === "orchestrator" && currentDepartment && /* @__PURE__ */ jsxRuntime.jsx(
16120
+ OrchestratorStage,
16121
+ {
16122
+ currentDepartment,
16123
+ renderDepartmentDemo
16124
+ }
16125
+ )
16126
+ ] }) })
16127
+ ] })
16128
+ ]
16129
+ }
16130
+ );
16131
+ };
16132
+ var DashboardDemoLayout = ({
16133
+ children
16134
+ }) => {
16135
+ return /* @__PURE__ */ jsxRuntime.jsxs(
16136
+ framerMotion.motion.div,
16137
+ {
16138
+ initial: { opacity: 0 },
16139
+ animate: { opacity: 1 },
16140
+ exit: { opacity: 0 },
16141
+ transition: { duration: 0.5 },
16142
+ className: "flex h-full",
16143
+ children: [
16144
+ /* @__PURE__ */ jsxRuntime.jsx(DashboardSidebar, {}),
16145
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 flex flex-col overflow-hidden", children })
16146
+ ]
16147
+ }
16148
+ );
16149
+ };
16150
+ var DashboardSidebar = () => /* @__PURE__ */ jsxRuntime.jsxs(
16151
+ framerMotion.motion.div,
16152
+ {
16153
+ initial: { x: -20, opacity: 0 },
16154
+ animate: { x: 0, opacity: 1 },
16155
+ transition: { duration: 0.5, delay: 0.2 },
16156
+ className: "w-16 bg-muted/50 border-r flex flex-col items-center py-4 gap-4",
16157
+ children: [
16158
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 rounded-lg bg-gradient-to-br from-blue-500 to-purple-600 flex items-center justify-center mb-2", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CpuChipIcon, { className: "h-5 w-5 text-white" }) }),
16159
+ /* @__PURE__ */ jsxRuntime.jsxs(
16160
+ framerMotion.motion.div,
16161
+ {
16162
+ initial: { opacity: 0 },
16163
+ animate: { opacity: 1 },
16164
+ transition: { delay: 0.5 },
16165
+ className: "flex flex-col gap-2 flex-1",
16166
+ children: [
16167
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 rounded-lg bg-primary/10 flex items-center justify-center text-primary", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.HomeIcon, { className: "h-5 w-5" }) }),
16168
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 rounded-lg hover:bg-muted flex items-center justify-center text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ShoppingCartIcon, { className: "h-5 w-5" }) }),
16169
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 rounded-lg hover:bg-muted flex items-center justify-center text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.UsersIcon, { className: "h-5 w-5" }) }),
16170
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 rounded-lg hover:bg-muted flex items-center justify-center text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ArrowTrendingUpIcon, { className: "h-5 w-5" }) }),
16171
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 rounded-lg hover:bg-muted flex items-center justify-center text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.Cog6ToothIcon, { className: "h-5 w-5" }) })
16172
+ ]
16173
+ }
16174
+ ),
16175
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 rounded-full bg-gradient-to-br from-gray-400 to-gray-600 flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.UserIcon, { className: "h-5 w-5 text-white" }) })
16176
+ ]
16177
+ }
16178
+ );
16179
+ var DashboardStage = ({
16180
+ demos: demos2,
16181
+ currentDemo,
16182
+ onDemoSelect
16183
+ }) => /* @__PURE__ */ jsxRuntime.jsxs(
16184
+ framerMotion.motion.div,
16185
+ {
16186
+ initial: { opacity: 0, scale: 0.95 },
16187
+ animate: { opacity: 1, scale: 1 },
16188
+ exit: { opacity: 0, scale: 0.95 },
16189
+ className: "w-full max-w-4xl",
16190
+ children: [
16191
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-8 left-1/2 transform -translate-x-1/2 flex gap-2 z-50", children: demos2.map((demo) => /* @__PURE__ */ jsxRuntime.jsx(
16192
+ "button",
16193
+ {
16194
+ onClick: () => onDemoSelect(demo.id),
16195
+ className: `h-2 rounded-full transition-all duration-300 ${currentDemo === demo.id ? "w-8 bg-primary" : "w-2 bg-muted-foreground/30"}`,
16196
+ "aria-label": `Go to ${demo.name}`
16197
+ },
16198
+ demo.id
16199
+ )) }),
16200
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full h-[700px] rounded-xl border-2 shadow-2xl bg-background overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(framerMotion.AnimatePresence, { mode: "wait", children: demos2[currentDemo]?.component }) })
16201
+ ]
16202
+ }
16203
+ );
16204
+ var InputStage2 = ({
16205
+ inputText,
16206
+ demoName: _demoName
16207
+ }) => /* @__PURE__ */ jsxRuntime.jsx(
16208
+ framerMotion.motion.div,
16209
+ {
16210
+ initial: { opacity: 0, scale: 0.95 },
16211
+ animate: { opacity: 1, scale: 1 },
16212
+ exit: { opacity: 0, scale: 0.95 },
16213
+ className: "w-full max-w-2xl",
16214
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-background rounded-2xl shadow-2xl border-2 p-8", children: [
16215
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 mb-6", children: [
16216
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-12 w-12 rounded-xl bg-gradient-to-br from-blue-500 to-purple-600 flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.SparklesIcon, { className: "h-6 w-6 text-white" }) }),
16217
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
16218
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-bold", children: "Kori AI Assistant" }),
16219
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "Como posso ajudar hoje?" })
16220
+ ] })
16221
+ ] }),
16222
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
16223
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-[120px] p-4 rounded-lg border-2 border-primary/20 bg-muted/20", children: /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-lg font-medium", children: [
16224
+ inputText,
16225
+ /* @__PURE__ */ jsxRuntime.jsx(
16226
+ framerMotion.motion.span,
16227
+ {
16228
+ animate: { opacity: [1, 0, 1] },
16229
+ transition: { duration: 0.8, repeat: Infinity },
16230
+ className: "inline-block w-0.5 h-6 bg-primary ml-1"
16231
+ }
16232
+ )
16233
+ ] }) }),
16234
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-4 flex items-center justify-between text-sm text-muted-foreground", children: [
16235
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Processando com IA..." }),
16236
+ /* @__PURE__ */ jsxRuntime.jsxs(Badge, { className: "text-xs border border-border", children: [
16237
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.SparklesIcon, { className: "h-3 w-3 mr-1" }),
16238
+ "Multi-Agent"
16239
+ ] })
16240
+ ] })
16241
+ ] })
16242
+ ] })
16243
+ }
16244
+ );
16245
+ var ProcessingStage2 = ({
16246
+ processingText,
16247
+ agents
16248
+ }) => /* @__PURE__ */ jsxRuntime.jsx(
16249
+ framerMotion.motion.div,
16250
+ {
16251
+ initial: { opacity: 0, scale: 0.95 },
16252
+ animate: { opacity: 1, scale: 1 },
16253
+ exit: { opacity: 0, scale: 0.95 },
16254
+ className: "w-full max-w-2xl",
16255
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-background rounded-2xl shadow-2xl border-2 p-8", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-center space-y-6", children: [
16256
+ /* @__PURE__ */ jsxRuntime.jsx(
16257
+ framerMotion.motion.div,
16258
+ {
16259
+ animate: { rotate: 360 },
16260
+ transition: { duration: 2, repeat: Infinity, ease: "linear" },
16261
+ className: "inline-flex h-16 w-16 rounded-full bg-gradient-to-br from-purple-600 to-indigo-600 items-center justify-center",
16262
+ children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.SparklesIcon, { className: "h-8 w-8 text-white" })
16263
+ }
16264
+ ),
16265
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
16266
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-xl font-bold mb-2", children: "Coordenando Agentes..." }),
16267
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: processingText })
16268
+ ] }),
16269
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center gap-2 flex-wrap", children: agents.map((agent, i) => /* @__PURE__ */ jsxRuntime.jsx(
16270
+ framerMotion.motion.div,
16271
+ {
16272
+ initial: { opacity: 0, y: 20 },
16273
+ animate: { opacity: 1, y: 0 },
16274
+ transition: { delay: i * 0.2 },
16275
+ children: /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "bg-primary/10 text-primary", children: agent })
16276
+ },
16277
+ agent
16278
+ )) })
16279
+ ] }) })
16280
+ }
16281
+ );
16282
+ var DashboardDemo = ({
16283
+ className,
16284
+ initialDemo = 0
16285
+ } = {}) => {
16286
+ const [stage, setStage] = React12.useState(
16287
+ "input"
16288
+ );
16289
+ const [currentDemo, setCurrentDemo] = React12.useState(initialDemo);
16290
+ const [inputText, setInputText] = React12.useState("");
16291
+ const demos2 = React12.useMemo(() => [
16292
+ {
16293
+ id: 0,
16294
+ name: "Marketing Campaign",
16295
+ prompt: "Criar campanha de Black Friday para e-commerce",
16296
+ agents: ["Marketing", "Design", "E-commerce", "Email"],
16297
+ processingText: "Ativando equipe especializada para sua campanha",
16298
+ component: /* @__PURE__ */ jsxRuntime.jsx(DashboardDemoLayout, { children: /* @__PURE__ */ jsxRuntime.jsx(MarketingDemo, {}) })
16299
+ },
16300
+ {
16301
+ id: 1,
16302
+ name: "Customer Analytics",
16303
+ prompt: "Analisar comportamento dos clientes e identificar oportunidades",
16304
+ agents: ["Analytics", "CRM", "Insights", "Reports"],
16305
+ processingText: "Analisando dados e gerando insights",
16306
+ component: /* @__PURE__ */ jsxRuntime.jsx(DashboardDemoLayout, { children: /* @__PURE__ */ jsxRuntime.jsx(CustomerAnalyticsDemo, {}) })
16307
+ },
16308
+ {
16309
+ id: 2,
16310
+ name: "Inventory Management",
16311
+ prompt: "Verificar estoque e sugerir reposi\xE7\xF5es autom\xE1ticas",
16312
+ agents: ["Inventory", "Supply", "Forecast", "Logistics"],
16313
+ processingText: "Verificando estoque e planejando reposi\xE7\xE3o",
16314
+ component: /* @__PURE__ */ jsxRuntime.jsx(DashboardDemoLayout, { children: /* @__PURE__ */ jsxRuntime.jsx(InventoryDemo, {}) })
16315
+ },
16316
+ {
16317
+ id: 3,
16318
+ name: "HR Recruitment",
16319
+ prompt: "Processar candidaturas para vaga de Desenvolvedor Senior",
16320
+ agents: ["HR", "Recruiter", "Skills", "Interview"],
16321
+ processingText: "Processando candidaturas e avaliando perfis",
16322
+ component: /* @__PURE__ */ jsxRuntime.jsx(DashboardDemoLayout, { children: /* @__PURE__ */ jsxRuntime.jsx(HRRecruitmentDemo, {}) })
16323
+ },
16324
+ {
16325
+ id: 4,
16326
+ name: "Financial Planning",
16327
+ prompt: "Gerar relat\xF3rio financeiro e calcular impostos do trimestre",
16328
+ agents: ["Finance", "Tax", "Reports", "Compliance"],
16329
+ processingText: "Calculando impostos e gerando relat\xF3rios",
16330
+ component: /* @__PURE__ */ jsxRuntime.jsx(DashboardDemoLayout, { children: /* @__PURE__ */ jsxRuntime.jsx(FinancialDemo, {}) })
16331
+ },
16332
+ {
16333
+ id: 5,
16334
+ name: "LGPD Compliance",
16335
+ prompt: "Auditar dados pessoais e verificar conformidade LGPD",
16336
+ agents: ["LGPD", "Privacy", "Audit", "Security"],
16337
+ processingText: "Auditando dados e verificando conformidade",
16338
+ component: /* @__PURE__ */ jsxRuntime.jsx(DashboardDemoLayout, { children: /* @__PURE__ */ jsxRuntime.jsx(LGPDComplianceDemo, {}) })
16339
+ }
16340
+ ], []);
16341
+ React12.useEffect(() => {
16342
+ if (initialDemo !== void 0) {
16343
+ setCurrentDemo(initialDemo);
16344
+ setStage("input");
16345
+ setInputText("");
16346
+ }
16347
+ }, [initialDemo]);
16348
+ React12.useEffect(() => {
16349
+ if (stage === "input" && demos2[currentDemo]) {
16350
+ setInputText("");
16351
+ let index = 0;
16352
+ const currentPrompt = demos2[currentDemo].prompt;
16353
+ const interval = setInterval(() => {
16354
+ if (index <= currentPrompt.length) {
16355
+ setInputText(currentPrompt.slice(0, index));
16356
+ index++;
16357
+ } else {
16358
+ clearInterval(interval);
16359
+ setTimeout(() => setStage("processing"), 500);
16360
+ }
16361
+ }, 50);
16362
+ return () => clearInterval(interval);
16363
+ }
16364
+ return void 0;
16365
+ }, [stage, currentDemo, demos2]);
16366
+ React12.useEffect(() => {
16367
+ if (stage === "processing") {
16368
+ const timer = setTimeout(() => setStage("dashboard"), 2e3);
16369
+ return () => clearTimeout(timer);
16370
+ }
16371
+ return void 0;
16372
+ }, [stage]);
16373
+ React12.useEffect(() => {
16374
+ if (stage === "dashboard") {
16375
+ const interval = setInterval(() => {
16376
+ setStage("input");
16377
+ setInputText("");
16378
+ setCurrentDemo((prev) => (prev + 1) % demos2.length);
16379
+ }, 12e3);
16380
+ return () => clearInterval(interval);
16381
+ }
16382
+ return void 0;
16383
+ }, [stage, demos2.length]);
16384
+ return /* @__PURE__ */ jsxRuntime.jsx(
16385
+ "div",
16386
+ {
16387
+ className: className || "hidden lg:flex items-center justify-center bg-muted/30 border-l relative overflow-hidden p-8",
16388
+ children: /* @__PURE__ */ jsxRuntime.jsxs(framerMotion.AnimatePresence, { mode: "wait", children: [
16389
+ stage === "input" && demos2[currentDemo] && /* @__PURE__ */ jsxRuntime.jsx(
16390
+ InputStage2,
16391
+ {
16392
+ inputText,
16393
+ demoName: demos2[currentDemo].name
16394
+ },
16395
+ "input"
16396
+ ),
16397
+ stage === "processing" && demos2[currentDemo] && /* @__PURE__ */ jsxRuntime.jsx(
16398
+ ProcessingStage2,
16399
+ {
16400
+ processingText: demos2[currentDemo].processingText,
16401
+ agents: demos2[currentDemo].agents
16402
+ },
16403
+ "processing"
16404
+ ),
16405
+ stage === "dashboard" && /* @__PURE__ */ jsxRuntime.jsx(
16406
+ DashboardStage,
16407
+ {
16408
+ demos: demos2,
16409
+ currentDemo,
16410
+ onDemoSelect: setCurrentDemo
16411
+ },
16412
+ "dashboard"
16413
+ )
16414
+ ] })
16415
+ }
16416
+ );
16417
+ };
16418
+ var NODE_TYPE_META = {
16419
+ start: { icon: HeroIcons.PlayIcon, color: "text-emerald-300", bg: "bg-emerald-500/15", glow: "rgba(16,185,129,0.45)" },
16420
+ end: { icon: HeroIcons.CheckCircleIcon, color: "text-emerald-300", bg: "bg-emerald-500/15", glow: "rgba(16,185,129,0.45)" },
16421
+ datasource: { icon: HeroIcons.CircleStackIcon, color: "text-sky-300", bg: "bg-sky-500/15", glow: "rgba(14,165,233,0.45)" },
16422
+ entity: { icon: HeroIcons.RectangleStackIcon, color: "text-sky-300", bg: "bg-sky-500/15", glow: "rgba(14,165,233,0.45)" },
16423
+ http_request: { icon: HeroIcons.CloudIcon, color: "text-cyan-300", bg: "bg-cyan-500/15", glow: "rgba(34,211,238,0.45)" },
16424
+ knowledge_base: { icon: HeroIcons.ServerStackIcon, color: "text-cyan-300", bg: "bg-cyan-500/15", glow: "rgba(34,211,238,0.45)" },
16425
+ agent: { icon: HeroIcons.CpuChipIcon, color: "text-purple-300", bg: "bg-purple-500/15", glow: "rgba(168,85,247,0.5)" },
16426
+ agent_tool: { icon: HeroIcons.BeakerIcon, color: "text-violet-300", bg: "bg-violet-500/15", glow: "rgba(139,92,246,0.5)" },
16427
+ tool: { icon: HeroIcons.BeakerIcon, color: "text-violet-300", bg: "bg-violet-500/15", glow: "rgba(139,92,246,0.5)" },
16428
+ code: { icon: HeroIcons.CodeBracketIcon, color: "text-amber-300", bg: "bg-amber-500/15", glow: "rgba(245,158,11,0.45)" },
16429
+ template_transform: { icon: HeroIcons.DocumentTextIcon, color: "text-amber-300", bg: "bg-amber-500/15", glow: "rgba(245,158,11,0.45)" },
16430
+ if_else: { icon: HeroIcons.BoltIcon, color: "text-orange-300", bg: "bg-orange-500/15", glow: "rgba(251,146,60,0.5)" },
16431
+ question_classifier: { icon: HeroIcons.BoltIcon, color: "text-orange-300", bg: "bg-orange-500/15", glow: "rgba(251,146,60,0.5)" },
16432
+ parameter_extractor: { icon: HeroIcons.AdjustmentsHorizontalIcon, color: "text-orange-300", bg: "bg-orange-500/15", glow: "rgba(251,146,60,0.5)" },
16433
+ variable_aggregator: { icon: HeroIcons.AdjustmentsHorizontalIcon, color: "text-yellow-300", bg: "bg-yellow-500/15", glow: "rgba(234,179,8,0.45)" },
16434
+ variable_assigner: { icon: HeroIcons.AdjustmentsHorizontalIcon, color: "text-yellow-300", bg: "bg-yellow-500/15", glow: "rgba(234,179,8,0.45)" },
16435
+ iteration: { icon: HeroIcons.ArrowPathIcon, color: "text-fuchsia-300", bg: "bg-fuchsia-500/15", glow: "rgba(232,121,249,0.5)" },
16436
+ iteration_start: { icon: HeroIcons.ArrowPathIcon, color: "text-fuchsia-300", bg: "bg-fuchsia-500/15", glow: "rgba(232,121,249,0.5)" },
16437
+ list_operator: { icon: HeroIcons.AdjustmentsHorizontalIcon, color: "text-fuchsia-300", bg: "bg-fuchsia-500/15", glow: "rgba(232,121,249,0.5)" },
16438
+ answer: { icon: HeroIcons.ChartBarIcon, color: "text-emerald-300", bg: "bg-emerald-500/15", glow: "rgba(16,185,129,0.45)" },
16439
+ dashboard_output: { icon: HeroIcons.ChartBarIcon, color: "text-emerald-300", bg: "bg-emerald-500/15", glow: "rgba(16,185,129,0.45)" },
16440
+ rule: { icon: HeroIcons.BoltIcon, color: "text-rose-300", bg: "bg-rose-500/15", glow: "rgba(244,63,94,0.5)" },
16441
+ document_extractor: { icon: HeroIcons.DocumentTextIcon, color: "text-amber-300", bg: "bg-amber-500/15", glow: "rgba(245,158,11,0.45)" },
16442
+ model_provider: { icon: HeroIcons.CpuChipIcon, color: "text-violet-300", bg: "bg-violet-500/15", glow: "rgba(139,92,246,0.5)" },
16443
+ note: { icon: HeroIcons.DocumentTextIcon, color: "text-slate-300", bg: "bg-slate-500/15", glow: "rgba(100,116,139,0.4)" },
16444
+ group: { icon: HeroIcons.RectangleStackIcon, color: "text-slate-300", bg: "bg-slate-500/15", glow: "rgba(100,116,139,0.4)" }
16445
+ };
16446
+ var FALLBACK_META = { icon: HeroIcons.BoltIcon, color: "text-gray-300", bg: "bg-gray-500/15", glow: "rgba(100,116,139,0.4)" };
16447
+ function getNodeMeta(type) {
16448
+ return NODE_TYPE_META[type] ?? FALLBACK_META;
16449
+ }
16450
+ var NODE_W = 180;
16451
+ var NODE_H = 80;
16452
+ var PADDING = 24;
16453
+ function DepartmentWorkflowDemo({
16454
+ workflow,
16455
+ stepDurationMs = 1100,
16456
+ autoPlay = false,
16457
+ className
16458
+ }) {
16459
+ const { graph, steps, title, description, accentBadge = "bg-indigo-500/15 text-indigo-300", completionSummary } = workflow;
16460
+ const [stepIndex, setStepIndex] = React12.useState(-1);
16461
+ const intervalRef = React12.useRef(null);
16462
+ const total = steps.length;
16463
+ const isIdle = stepIndex === -1;
16464
+ const isRunning = stepIndex >= 0 && stepIndex < total - 1;
16465
+ const isComplete = stepIndex === total - 1 && total > 0;
16466
+ const activeNodeIds = React12.useMemo(() => {
16467
+ if (stepIndex < 0) return /* @__PURE__ */ new Set();
16468
+ return new Set(steps[stepIndex]?.nodes ?? []);
16469
+ }, [stepIndex, steps]);
16470
+ const completedNodeIds = React12.useMemo(() => {
16471
+ if (stepIndex < 0) return /* @__PURE__ */ new Set();
16472
+ const ids = /* @__PURE__ */ new Set();
16473
+ for (let i = 0; i < stepIndex; i++) {
16474
+ for (const id of steps[i]?.nodes ?? []) ids.add(id);
16475
+ }
16476
+ return ids;
16477
+ }, [stepIndex, steps]);
16478
+ const getStatus = React12.useCallback(
16479
+ (node2) => {
16480
+ if (activeNodeIds.has(node2.id)) return "running";
16481
+ if (completedNodeIds.has(node2.id)) return "complete";
16482
+ return "idle";
16483
+ },
16484
+ [activeNodeIds, completedNodeIds]
16485
+ );
16486
+ const handleRun = React12.useCallback(() => {
16487
+ if (intervalRef.current) clearInterval(intervalRef.current);
16488
+ setStepIndex(0);
16489
+ let index = 0;
16490
+ intervalRef.current = setInterval(() => {
16491
+ index += 1;
16492
+ if (index >= total) {
16493
+ if (intervalRef.current) clearInterval(intervalRef.current);
16494
+ setStepIndex(total - 1);
16495
+ } else {
16496
+ setStepIndex(index);
16497
+ }
16498
+ }, stepDurationMs);
16499
+ }, [stepDurationMs, total]);
16500
+ const handleStop = React12.useCallback(() => {
16501
+ if (intervalRef.current) clearInterval(intervalRef.current);
16502
+ setStepIndex(-1);
16503
+ }, []);
16504
+ React12.useEffect(() => {
16505
+ if (autoPlay) handleRun();
16506
+ return () => {
16507
+ if (intervalRef.current) clearInterval(intervalRef.current);
16508
+ };
16509
+ }, [autoPlay, handleRun]);
16510
+ const bounds = React12.useMemo(() => {
16511
+ if (graph.nodes.length === 0) return { width: 800, height: 400 };
16512
+ let maxX = 0;
16513
+ let maxY = 0;
16514
+ for (const node2 of graph.nodes) {
16515
+ if (node2.position.x > maxX) maxX = node2.position.x;
16516
+ if (node2.position.y > maxY) maxY = node2.position.y;
16517
+ }
16518
+ return { width: maxX + NODE_W + PADDING * 2, height: maxY + NODE_H + PADDING * 2 };
16519
+ }, [graph.nodes]);
16520
+ const currentStepLabel = stepIndex >= 0 ? steps[stepIndex]?.label : "Ready to run";
16521
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `liquid-surface rounded-2xl overflow-hidden ${className ?? ""}`, children: [
16522
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-white/5 px-5 py-4 flex items-start gap-4", children: [
16523
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
16524
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: `inline-flex items-center gap-1.5 rounded-full px-2.5 py-0.5 text-[10px] font-semibold uppercase tracking-wider ${accentBadge}`, children: [
16525
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.BoltIcon, { className: "h-3 w-3" }),
16526
+ "Astrlabe workflow"
16527
+ ] }),
16528
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mt-2 text-lg font-bold text-white", children: title }),
16529
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-gray-400", children: description })
16530
+ ] }),
16531
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 shrink-0", children: [
16532
+ stepIndex >= 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-0.5", children: steps.map((_, index) => /* @__PURE__ */ jsxRuntime.jsx(
16533
+ "div",
16534
+ {
16535
+ className: `h-1 w-3 rounded-full transition-all duration-500 ${index < stepIndex || isComplete ? "bg-emerald-500" : index === stepIndex ? "bg-indigo-500 animate-pulse" : "bg-white/10"}`
16536
+ },
16537
+ index
16538
+ )) }),
16539
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "max-w-[180px] truncate text-[10px] text-gray-400", children: currentStepLabel }),
16540
+ isIdle ? /* @__PURE__ */ jsxRuntime.jsxs(
16541
+ "button",
16542
+ {
16543
+ type: "button",
16544
+ onClick: handleRun,
16545
+ className: "flex items-center gap-1 rounded-lg bg-gradient-to-r from-indigo-600 to-violet-600 px-3 py-1 text-[11px] font-semibold text-white shadow-lg shadow-indigo-500/20 hover:shadow-indigo-500/30 hover:scale-105 active:scale-95 transition-all",
16546
+ children: [
16547
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.PlayIcon, { className: "h-3 w-3" }),
16548
+ " Run"
16549
+ ]
16550
+ }
16551
+ ) : isRunning ? /* @__PURE__ */ jsxRuntime.jsxs(
16552
+ "button",
16553
+ {
16554
+ type: "button",
16555
+ onClick: handleStop,
16556
+ className: "flex items-center gap-1 rounded-lg bg-rose-600/80 px-3 py-1 text-[11px] font-semibold text-white",
16557
+ children: [
16558
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.StopIcon, { className: "h-3 w-3" }),
16559
+ " Stop"
16560
+ ]
16561
+ }
16562
+ ) : /* @__PURE__ */ jsxRuntime.jsxs(
16563
+ "button",
16564
+ {
16565
+ type: "button",
16566
+ onClick: handleRun,
16567
+ className: "flex items-center gap-1 rounded-lg border border-white/10 px-3 py-1 text-[11px] font-medium text-gray-300 hover:bg-white/5",
16568
+ children: [
16569
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ArrowPathIcon, { className: "h-3 w-3" }),
16570
+ " Replay"
16571
+ ]
16572
+ }
16573
+ )
16574
+ ] })
16575
+ ] }),
16576
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative overflow-auto p-6", style: { minHeight: bounds.height + PADDING * 2 }, children: [
16577
+ /* @__PURE__ */ jsxRuntime.jsx("style", { children: `
16578
+ @keyframes astGlow { 0%, 100% { box-shadow: 0 0 12px var(--glow); } 50% { box-shadow: 0 0 28px var(--glow); } }
16579
+ @keyframes astEdge { to { stroke-dashoffset: -16; } }
16580
+ ` }),
16581
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", style: { width: bounds.width, height: bounds.height }, children: [
16582
+ /* @__PURE__ */ jsxRuntime.jsx("svg", { className: "absolute inset-0 pointer-events-none", width: bounds.width, height: bounds.height, children: graph.edges.map((edge2) => {
16583
+ const source = graph.nodes.find((n) => n.id === edge2.source);
16584
+ const target = graph.nodes.find((n) => n.id === edge2.target);
16585
+ if (!source || !target) return null;
16586
+ const x1 = source.position.x + NODE_W;
16587
+ const y1 = source.position.y + NODE_H / 2;
16588
+ const x2 = target.position.x;
16589
+ const y2 = target.position.y + NODE_H / 2;
16590
+ const midX = (x1 + x2) / 2;
16591
+ const isActive = activeNodeIds.has(edge2.source) || completedNodeIds.has(edge2.source) && (activeNodeIds.has(edge2.target) || completedNodeIds.has(edge2.target));
16592
+ const isComplete2 = completedNodeIds.has(edge2.source) && completedNodeIds.has(edge2.target);
16593
+ const stroke = isComplete2 ? "#10b981" : isActive ? "#818cf8" : "#334155";
16594
+ return /* @__PURE__ */ jsxRuntime.jsxs("g", { children: [
16595
+ /* @__PURE__ */ jsxRuntime.jsx(
16596
+ "path",
16597
+ {
16598
+ d: `M ${x1} ${y1} C ${midX} ${y1}, ${midX} ${y2}, ${x2} ${y2}`,
16599
+ fill: "none",
16600
+ stroke,
16601
+ strokeWidth: 2,
16602
+ strokeDasharray: "6 4",
16603
+ style: { animation: isActive && !isComplete2 ? "astEdge 0.8s linear infinite" : "none" }
16604
+ }
16605
+ ),
16606
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: x2, cy: y2, r: "3", fill: stroke })
16607
+ ] }, edge2.id);
16608
+ }) }),
16609
+ graph.nodes.map((node2) => {
16610
+ const status = getStatus(node2);
16611
+ const meta = getNodeMeta(node2.type);
16612
+ const statusBorder = status === "running" ? "ring-2 ring-indigo-500/60 scale-[1.04]" : status === "complete" ? "ring-1 ring-emerald-500/40" : "opacity-60";
16613
+ return /* @__PURE__ */ jsxRuntime.jsx(
16614
+ "div",
16615
+ {
16616
+ className: `absolute liquid-surface rounded-2xl px-3 py-2.5 transition-all duration-500 ${statusBorder}`,
16617
+ style: {
16618
+ left: node2.position.x,
16619
+ top: node2.position.y,
16620
+ width: NODE_W,
16621
+ height: NODE_H,
16622
+ ...status === "running" ? { "--glow": meta.glow, animation: "astGlow 1.4s ease-in-out infinite" } : {}
16623
+ },
16624
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2.5", children: [
16625
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex h-8 w-8 shrink-0 items-center justify-center rounded-lg ${meta.bg}`, children: /* @__PURE__ */ jsxRuntime.jsx(meta.icon, { className: `h-4 w-4 ${meta.color}` }) }),
16626
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
16627
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-[12px] font-semibold text-white", children: node2.data.label }),
16628
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1 text-[9px] text-gray-500 font-mono", children: [
16629
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children: node2.type }),
16630
+ status === "running" && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-0.5 text-indigo-300", children: [
16631
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ArrowRightIcon, { className: "h-2.5 w-2.5 animate-pulse" }),
16632
+ "running"
16633
+ ] }),
16634
+ status === "complete" && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-0.5 text-emerald-400", children: [
16635
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-2.5 w-2.5" }),
16636
+ "done"
16637
+ ] })
16638
+ ] })
16639
+ ] })
16640
+ ] })
16641
+ },
16642
+ node2.id
16643
+ );
16644
+ })
16645
+ ] })
16646
+ ] }),
16647
+ isComplete && completionSummary && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-t border-white/5 bg-emerald-500/[0.06] px-5 py-3 flex items-center gap-2", children: [
16648
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-4 w-4 shrink-0 text-emerald-400" }),
16649
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[11px] font-semibold text-emerald-300", children: completionSummary })
16650
+ ] })
16651
+ ] });
16652
+ }
16653
+
16654
+ // src/components/department-workflow-demo/workflows.ts
16655
+ function node(id, type, label, x, y) {
16656
+ return { id, type, position: { x, y }, data: { entityId: id, label } };
16657
+ }
16658
+ function edge(from, to) {
16659
+ return { id: `${from}->${to}`, source: from, target: to, sourceHandle: null, targetHandle: null };
16660
+ }
16661
+ function buildGraph(nodes, edges) {
16662
+ return { nodes, edges };
16663
+ }
16664
+ function step(label, ...nodes) {
16665
+ return { nodes, label };
16666
+ }
16667
+ var financialWorkflow = {
16668
+ title: "Financial planning & tax compliance",
16669
+ description: "Q4 close \u2014 aggregate transactions, compute Brazilian taxes in parallel, audit for compliance, publish report.",
16670
+ accentBadge: "bg-emerald-500/15 text-emerald-300",
16671
+ completionSummary: "Quarterly report published \xB7 R$ 387k taxes calculated \xB7 0 compliance violations",
16672
+ graph: buildGraph(
16673
+ [
16674
+ node("start", "start", "Trigger Q4 close", 0, 120),
16675
+ node("fetch-tx", "datasource", "Fetch transactions", 220, 120),
16676
+ node("icms", "code", "Calculate ICMS", 460, 10),
16677
+ node("pis-cofins", "code", "Calculate PIS/COFINS", 460, 120),
16678
+ node("iss", "code", "Calculate ISS", 460, 230),
16679
+ node("aggregate", "variable_aggregator", "Aggregate taxes", 700, 120),
16680
+ node("audit", "agent", "Compliance audit", 940, 120),
16681
+ node("report", "dashboard_output", "Publish report", 1180, 120)
16682
+ ],
16683
+ [
16684
+ edge("start", "fetch-tx"),
16685
+ edge("fetch-tx", "icms"),
16686
+ edge("fetch-tx", "pis-cofins"),
16687
+ edge("fetch-tx", "iss"),
16688
+ edge("icms", "aggregate"),
16689
+ edge("pis-cofins", "aggregate"),
16690
+ edge("iss", "aggregate"),
16691
+ edge("aggregate", "audit"),
16692
+ edge("audit", "report")
16693
+ ]
16694
+ ),
16695
+ steps: [
16696
+ step("Triggering quarterly close\u2026", "start"),
16697
+ step("Fetching Q4 transactions\u2026", "fetch-tx"),
16698
+ step("Calculating ICMS / PIS / ISS in parallel\u2026", "icms", "pis-cofins", "iss"),
16699
+ step("Aggregating tax breakdown\u2026", "aggregate"),
16700
+ step("Agent auditing compliance rules\u2026", "audit"),
16701
+ step("Publishing financial report\u2026", "report")
16702
+ ]
16703
+ };
16704
+ var salesWorkflow = {
16705
+ title: "Sales pipeline \u2014 lead to close",
16706
+ description: "Lead arrives \u2192 agents score, qualify, draft proposal, and drive negotiation to close.",
16707
+ accentBadge: "bg-blue-500/15 text-blue-300",
16708
+ completionSummary: "Deal closed \xB7 R$ 45k/m\xEAs \xB7 14-day cycle \xB7 Score 85/100",
16709
+ graph: buildGraph(
16710
+ [
16711
+ node("start", "start", "New lead (XPTO)", 0, 120),
16712
+ node("intake", "datasource", "CRM intake", 220, 120),
16713
+ node("score", "agent", "Lead scoring agent", 460, 120),
16714
+ node("gate", "if_else", "Score \u2265 80?", 700, 120),
16715
+ node("qualify", "agent", "Qualify SQL", 940, 10),
16716
+ node("nurture", "agent", "Nurture queue", 940, 230),
16717
+ node("proposal", "template_transform", "Draft proposal", 1180, 10),
16718
+ node("negotiate", "agent", "Negotiation agent", 1420, 10),
16719
+ node("close", "dashboard_output", "Deal closed", 1660, 10)
16720
+ ],
16721
+ [
16722
+ edge("start", "intake"),
16723
+ edge("intake", "score"),
16724
+ edge("score", "gate"),
16725
+ edge("gate", "qualify"),
16726
+ edge("gate", "nurture"),
16727
+ edge("qualify", "proposal"),
16728
+ edge("proposal", "negotiate"),
16729
+ edge("negotiate", "close")
16730
+ ]
16731
+ ),
16732
+ steps: [
16733
+ step("New lead arrived \u2014 XPTO Ltda\u2026", "start"),
16734
+ step("CRM intake and enrichment\u2026", "intake"),
16735
+ step("Scoring agent analyzing fit\u2026", "score"),
16736
+ step("Routing by score (85/100 \u2192 qualify)\u2026", "gate"),
16737
+ step("Qualifying as SQL\u2026", "qualify"),
16738
+ step("Generating proposal from template\u2026", "proposal"),
16739
+ step("Negotiation agent driving deal\u2026", "negotiate"),
16740
+ step("Deal closed \u2014 booking revenue\u2026", "close")
16741
+ ]
16742
+ };
16743
+ var marketingWorkflow = {
16744
+ title: "Marketing campaign \u2014 Black Friday",
16745
+ description: "Brief \u2192 parallel design, copy, audience \u2192 assemble \u2192 schedule \u2192 ship \u2192 measure.",
16746
+ accentBadge: "bg-pink-500/15 text-pink-300",
16747
+ completionSummary: "Campaign shipped \xB7 142k emails \xB7 6.8% CTR \xB7 +18% ROAS vs. target",
16748
+ graph: buildGraph(
16749
+ [
16750
+ node("start", "start", "Campaign brief", 0, 120),
16751
+ node("strategist", "agent", "Strategy agent", 220, 120),
16752
+ node("design", "agent", "Design agent", 460, 10),
16753
+ node("copy", "agent", "Copy agent", 460, 120),
16754
+ node("audience", "agent", "Audience builder", 460, 230),
16755
+ node("assemble", "variable_aggregator", "Assemble campaign", 700, 120),
16756
+ node("schedule", "agent", "Schedule blast", 940, 120),
16757
+ node("send", "http_request", "Send via email", 1180, 120),
16758
+ node("metrics", "dashboard_output", "Campaign metrics", 1420, 120)
16759
+ ],
16760
+ [
16761
+ edge("start", "strategist"),
16762
+ edge("strategist", "design"),
16763
+ edge("strategist", "copy"),
16764
+ edge("strategist", "audience"),
16765
+ edge("design", "assemble"),
16766
+ edge("copy", "assemble"),
16767
+ edge("audience", "assemble"),
16768
+ edge("assemble", "schedule"),
16769
+ edge("schedule", "send"),
16770
+ edge("send", "metrics")
16771
+ ]
16772
+ ),
16773
+ steps: [
16774
+ step("Receiving campaign brief\u2026", "start"),
16775
+ step("Strategist decomposing brief\u2026", "strategist"),
16776
+ step("Design, copy, and audience agents working in parallel\u2026", "design", "copy", "audience"),
16777
+ step("Assembling final campaign package\u2026", "assemble"),
16778
+ step("Scheduling send window\u2026", "schedule"),
16779
+ step("Dispatching through email provider\u2026", "send"),
16780
+ step("Measuring reach and engagement\u2026", "metrics")
16781
+ ]
16782
+ };
16783
+ var inventoryWorkflow = {
16784
+ title: "Inventory \u2014 predictive reorder",
16785
+ description: "Read stock \u2192 forecast demand \u2192 filter low-stock SKUs \u2192 iterate orders \u2192 publish report.",
16786
+ accentBadge: "bg-orange-500/15 text-orange-300",
16787
+ completionSummary: "12 SKUs reordered \xB7 R$ 84k committed \xB7 projected stockout avoided",
16788
+ graph: buildGraph(
16789
+ [
16790
+ node("start", "start", "Daily sweep", 0, 120),
16791
+ node("stock", "datasource", "Read stock levels", 220, 120),
16792
+ node("forecast", "agent", "Demand forecaster", 460, 120),
16793
+ node("filter", "list_operator", "Filter low-stock", 700, 120),
16794
+ node("loop", "iteration", "Per SKU", 940, 120),
16795
+ node("supplier", "agent", "Supplier selection", 1180, 120),
16796
+ node("order", "http_request", "Place purchase order", 1420, 120),
16797
+ node("report", "dashboard_output", "Reorder report", 1660, 120)
16798
+ ],
16799
+ [
16800
+ edge("start", "stock"),
16801
+ edge("stock", "forecast"),
16802
+ edge("forecast", "filter"),
16803
+ edge("filter", "loop"),
16804
+ edge("loop", "supplier"),
16805
+ edge("supplier", "order"),
16806
+ edge("order", "report")
16807
+ ]
16808
+ ),
16809
+ steps: [
16810
+ step("Kicking off daily inventory sweep\u2026", "start"),
16811
+ step("Reading current stock levels\u2026", "stock"),
16812
+ step("Forecasting demand with seasonality\u2026", "forecast"),
16813
+ step("Filtering SKUs below reorder threshold\u2026", "filter"),
16814
+ step("Iterating over flagged SKUs\u2026", "loop"),
16815
+ step("Selecting supplier per SKU\u2026", "supplier"),
16816
+ step("Placing purchase orders\u2026", "order"),
16817
+ step("Publishing reorder report\u2026", "report")
16818
+ ]
16819
+ };
16820
+ var hrWorkflow = {
16821
+ title: "HR \u2014 recruitment pipeline",
16822
+ description: "Screen resumes \u2192 rank by fit \u2192 interview scheduling \u2192 decision \u2192 hiring dashboard.",
16823
+ accentBadge: "bg-green-500/15 text-green-300",
16824
+ completionSummary: "3 offers extended \xB7 48 candidates processed \xB7 avg cycle 6 days",
16825
+ graph: buildGraph(
16826
+ [
16827
+ node("start", "start", "New posting", 0, 120),
16828
+ node("pool", "datasource", "Resume pool", 220, 120),
16829
+ node("screen", "agent", "Resume screener", 460, 120),
16830
+ node("rank", "list_operator", "Rank by fit", 700, 120),
16831
+ node("schedule", "agent", "Schedule interviews", 940, 120),
16832
+ node("assess", "agent", "Skills assessment", 1180, 120),
16833
+ node("decide", "agent", "Decision engine", 1420, 120),
16834
+ node("hire", "dashboard_output", "Hiring dashboard", 1660, 120)
16835
+ ],
16836
+ [
16837
+ edge("start", "pool"),
16838
+ edge("pool", "screen"),
16839
+ edge("screen", "rank"),
16840
+ edge("rank", "schedule"),
16841
+ edge("schedule", "assess"),
16842
+ edge("assess", "decide"),
16843
+ edge("decide", "hire")
16844
+ ]
16845
+ ),
16846
+ steps: [
16847
+ step("Job posting published\u2026", "start"),
16848
+ step("Pulling resume pool\u2026", "pool"),
16849
+ step("Screener agent filtering candidates\u2026", "screen"),
16850
+ step("Ranking candidates by role fit\u2026", "rank"),
16851
+ step("Scheduling interviews with top tier\u2026", "schedule"),
16852
+ step("Running skills assessment\u2026", "assess"),
16853
+ step("Decision engine producing offers\u2026", "decide"),
16854
+ step("Publishing to hiring dashboard\u2026", "hire")
16855
+ ]
16856
+ };
16857
+ var customerAnalyticsWorkflow = {
16858
+ title: "Customer analytics \u2014 churn & LTV",
16859
+ description: "Segment customers \u2192 parallel churn and LTV models \u2192 combine \u2192 recommend retention plays.",
16860
+ accentBadge: "bg-indigo-500/15 text-indigo-300",
16861
+ completionSummary: "4 at-risk segments identified \xB7 17 retention plays ranked by expected LTV lift",
16862
+ graph: buildGraph(
16863
+ [
16864
+ node("start", "start", "Nightly analytics", 0, 120),
16865
+ node("events", "datasource", "Customer events", 220, 120),
16866
+ node("segment", "agent", "Segmentation agent", 460, 120),
16867
+ node("churn", "agent", "Churn model", 700, 10),
16868
+ node("ltv", "agent", "LTV model", 700, 230),
16869
+ node("combine", "variable_aggregator", "Combine insights", 940, 120),
16870
+ node("actions", "agent", "Action recommender", 1180, 120),
16871
+ node("dashboard", "dashboard_output", "Analytics dashboard", 1420, 120)
16872
+ ],
16873
+ [
16874
+ edge("start", "events"),
16875
+ edge("events", "segment"),
16876
+ edge("segment", "churn"),
16877
+ edge("segment", "ltv"),
16878
+ edge("churn", "combine"),
16879
+ edge("ltv", "combine"),
16880
+ edge("combine", "actions"),
16881
+ edge("actions", "dashboard")
16882
+ ]
16883
+ ),
16884
+ steps: [
16885
+ step("Triggering nightly analytics\u2026", "start"),
16886
+ step("Pulling customer event stream\u2026", "events"),
16887
+ step("Segmentation agent clustering customers\u2026", "segment"),
16888
+ step("Churn and LTV models scoring in parallel\u2026", "churn", "ltv"),
16889
+ step("Combining predictions per segment\u2026", "combine"),
16890
+ step("Recommender ranking retention plays\u2026", "actions"),
16891
+ step("Publishing analytics dashboard\u2026", "dashboard")
16892
+ ]
16893
+ };
16894
+ var lgpdWorkflow = {
16895
+ title: "LGPD compliance \u2014 privacy sweep",
16896
+ description: "Scan audit logs \u2192 detect PII access violations \u2192 remediate \u2192 notify DPO \u2192 report.",
16897
+ accentBadge: "bg-red-500/15 text-red-300",
16898
+ completionSummary: "2 violations remediated \xB7 DPO notified \xB7 compliance report filed",
16899
+ graph: buildGraph(
16900
+ [
16901
+ node("start", "start", "Daily privacy sweep", 0, 120),
16902
+ node("logs", "datasource", "Audit logs", 220, 120),
16903
+ node("scan", "agent", "PII access scanner", 460, 120),
16904
+ node("gate", "if_else", "Violations?", 700, 120),
16905
+ node("remediate", "agent", "Remediation agent", 940, 10),
16906
+ node("notify", "http_request", "Notify DPO", 1180, 10),
16907
+ node("report", "dashboard_output", "Compliance report", 1420, 120)
16908
+ ],
16909
+ [
16910
+ edge("start", "logs"),
16911
+ edge("logs", "scan"),
16912
+ edge("scan", "gate"),
16913
+ edge("gate", "remediate"),
16914
+ edge("gate", "report"),
16915
+ edge("remediate", "notify"),
16916
+ edge("notify", "report")
16917
+ ]
16918
+ ),
16919
+ steps: [
16920
+ step("Starting daily privacy sweep\u2026", "start"),
16921
+ step("Pulling access audit logs\u2026", "logs"),
16922
+ step("Scanning for PII access violations\u2026", "scan"),
16923
+ step("Branching on findings\u2026", "gate"),
16924
+ step("Remediation agent applying fixes\u2026", "remediate"),
16925
+ step("Notifying data protection officer\u2026", "notify"),
16926
+ step("Filing compliance report\u2026", "report")
16927
+ ]
16928
+ };
16929
+ function EntityDrawer({
16930
+ open,
16931
+ onClose,
16932
+ title,
16933
+ subtitle,
16934
+ icon,
16935
+ gradient = "from-gray-400 to-gray-500",
16936
+ maxWidth = "max-w-xl",
16937
+ tabs,
16938
+ children
16939
+ }) {
16940
+ if (!open) return null;
16941
+ return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
16942
+ /* @__PURE__ */ jsxRuntime.jsx(
16943
+ "div",
16944
+ {
16945
+ className: "fixed inset-0 z-40 bg-black/20 backdrop-blur-[2px] transition-opacity",
16946
+ onClick: onClose,
16947
+ "data-testid": "entity-drawer-backdrop"
16948
+ }
16949
+ ),
16950
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `fixed top-[64px] right-2 bottom-2 z-50 flex w-full ${maxWidth} flex-col overflow-hidden rounded-2xl border border-white/60 bg-white/80 shadow-[0_8px_60px_-12px_rgba(0,0,0,0.25),0_0_0_1px_rgba(255,255,255,0.1)] backdrop-blur-2xl dark:border-white/[0.12] dark:bg-gray-900/85 dark:shadow-[0_8px_60px_-12px_rgba(0,0,0,0.6),0_0_0_1px_rgba(255,255,255,0.06)]`, children: [
16951
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: `absolute inset-y-0 left-0 w-[3px] bg-gradient-to-b ${gradient} opacity-80` }),
16952
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between px-6 py-5", children: [
16953
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3.5", children: [
16954
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex h-11 w-11 items-center justify-center rounded-[14px] bg-gradient-to-br ${gradient} shadow-lg shadow-black/20 ring-1 ring-white/25`, children: icon }),
16955
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
16956
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-base font-bold tracking-tight text-gray-900 dark:text-white", children: title }),
16957
+ subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-[13px] text-gray-500 dark:text-gray-400", children: subtitle })
16958
+ ] })
16959
+ ] }),
16960
+ /* @__PURE__ */ jsxRuntime.jsx(
16961
+ "button",
16962
+ {
16963
+ onClick: onClose,
16964
+ "aria-label": "Close",
16965
+ className: "rounded-xl p-2 text-gray-400 transition-all hover:bg-black/5 hover:text-gray-600 active:scale-95 dark:text-gray-500 dark:hover:bg-white/10 dark:hover:text-gray-300",
16966
+ "data-testid": "entity-drawer-close",
16967
+ children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.XMarkIcon, { className: "h-5 w-5" })
16968
+ }
16969
+ )
16970
+ ] }),
16971
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-5 h-px bg-gradient-to-r from-transparent via-gray-200/80 to-transparent dark:via-white/10" }),
16972
+ tabs,
16973
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto px-6 py-5", children })
16974
+ ] })
16975
+ ] });
16976
+ }
16977
+
16978
+ // src/lib/locale-flags.ts
16979
+ var flag_br = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20height%3D%22800px%22%20width%3D%22800px%22%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cpath%20style%3D%22fill%3A%23259245%3B%22%20d%3D%22M395.901%2C7.286H116.099C56.003%2C7.286%2C7.286%2C56.003%2C7.286%2C116.099v279.803%0A%09c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h279.803c60.095%2C0%2C108.812-48.717%2C108.812-108.812V116.099%0A%09C504.714%2C56.003%2C455.997%2C7.286%2C395.901%2C7.286z%22%2F%3E%0A%3Cpath%20d%3D%22M395.901%2C512H116.099C52.082%2C512%2C0%2C459.918%2C0%2C395.901V116.099C0%2C52.082%2C52.082%2C0%2C116.099%2C0h279.803%0A%09C459.918%2C0%2C512%2C52.082%2C512%2C116.099v279.803C512%2C459.918%2C459.918%2C512%2C395.901%2C512z%20M116.099%2C14.573%0A%09c-55.981%2C0-101.526%2C45.544-101.526%2C101.526v279.803c0%2C55.981%2C45.544%2C101.526%2C101.526%2C101.526h279.803%0A%09c55.981%2C0%2C101.526-45.545%2C101.526-101.526V116.099c0-55.981-45.545-101.526-101.526-101.526%0A%09C395.902%2C14.573%2C116.099%2C14.573%2C116.099%2C14.573z%22%2F%3E%0A%3Cpolygon%20style%3D%22fill%3A%23FFE000%3B%22%20points%3D%22256%2C374.81%2051.502%2C256%20256%2C137.19%20460.498%2C256%20%22%2F%3E%0A%3Cpath%20d%3D%22M256%2C382.097c-1.265%2C0-2.529-0.328-3.66-0.986L47.842%2C262.301c-2.245-1.305-3.626-3.705-3.626-6.301%0A%09s1.381-4.996%2C3.626-6.301l204.498-118.81c2.264-1.315%2C5.057-1.315%2C7.321%2C0l204.498%2C118.81c2.245%2C1.305%2C3.626%2C3.705%2C3.626%2C6.301%0A%09c0%2C2.596-1.381%2C4.996-3.626%2C6.301l-32.303%2C18.767c-3.48%2C2.02-7.939%2C0.841-9.961-2.64c-2.021-3.479-0.84-7.939%2C2.64-9.961%0A%09L445.993%2C256L256%2C145.617L66.007%2C256L256%2C366.383l139.861-81.258c3.478-2.021%2C7.938-0.841%2C9.961%2C2.64%0A%09c2.021%2C3.479%2C0.84%2C7.939-2.64%2C9.961L259.66%2C381.111C258.529%2C381.768%2C257.265%2C382.097%2C256%2C382.097z%22%2F%3E%0A%3Ccircle%20style%3D%22fill%3A%23103B9B%3B%22%20cx%3D%22256%22%20cy%3D%22256%22%20r%3D%2267.47%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23FFFFFF%3B%22%20d%3D%22M316.265%2C293.777c-2.7%2C0-5.294-1.507-6.556-4.097c-10.094-20.712-27.403-36.941-48.741-45.697%0A%09c-21.334-8.755-45.052-9.367-66.782-1.72c-3.794%2C1.333-7.955-0.659-9.292-4.455c-1.335-3.796%2C0.659-7.956%2C4.455-9.292%0A%09c25.106-8.835%2C52.506-8.129%2C77.152%2C1.986c24.649%2C10.116%2C44.646%2C28.865%2C56.308%2C52.796c1.763%2C3.617%2C0.259%2C7.979-3.359%2C9.742%0A%09C318.423%2C293.54%2C317.336%2C293.777%2C316.265%2C293.777z%22%2F%3E%0A%3Cpath%20d%3D%22M256%2C330.753c-41.219%2C0-74.753-33.534-74.753-74.753s33.534-74.753%2C74.753-74.753s74.753%2C33.534%2C74.753%2C74.753%0A%09S297.219%2C330.753%2C256%2C330.753z%20M256%2C195.82c-33.183%2C0-60.18%2C26.997-60.18%2C60.18s26.997%2C60.18%2C60.18%2C60.18s60.18-26.997%2C60.18-60.18%0A%09S289.183%2C195.82%2C256%2C195.82z%22%2F%3E%0A%3C%2Fsvg%3E";
16980
+ var flag_us = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512.001%20512.001%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cpath%20style%3D%22fill%3A%23FFFFFF%3B%22%20d%3D%22M395.901%2C7.287H116.099C56.003%2C7.287%2C7.286%2C56.004%2C7.286%2C116.1v279.803%0A%09c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h279.803c60.095%2C0%2C108.812-48.717%2C108.812-108.812V116.1%0A%09C504.714%2C56.004%2C455.997%2C7.287%2C395.901%2C7.287z%22%2F%3E%0A%3Cg%3E%0A%09%3Crect%20x%3D%227.286%22%20y%3D%22338.901%22%20style%3D%22fill%3A%23ED1F34%3B%22%20width%3D%22497.43%22%20height%3D%2255.26%22%2F%3E%0A%09%3Crect%20x%3D%22225.79%22%20y%3D%22228.361%22%20style%3D%22fill%3A%23ED1F34%3B%22%20width%3D%22278.92%22%20height%3D%2255.28%22%2F%3E%0A%09%3Crect%20x%3D%22236.17%22%20y%3D%22117.831%22%20style%3D%22fill%3A%23ED1F34%3B%22%20width%3D%22268.55%22%20height%3D%2255.26%22%2F%3E%0A%09%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M116.099%2C504.715h279.803c40.628%2C0%2C76.05-22.27%2C94.739-55.264H21.36%0A%09%09C40.049%2C482.445%2C75.471%2C504.715%2C116.099%2C504.715z%22%2F%3E%0A%09%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M490.64%2C62.552c-18.689-32.995-54.111-55.264-94.739-55.264H225.79v55.264H490.64z%22%2F%3E%0A%3C%2Fg%3E%0A%3Cpath%20style%3D%22fill%3A%23164FCE%3B%22%20d%3D%22M335.041%2C7.287H116.099C56.003%2C7.287%2C7.286%2C56.004%2C7.286%2C116.1v167.541h327.755L335.041%2C7.287%0A%09L335.041%2C7.287z%22%2F%3E%0A%3Cg%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2272.55%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22121.86%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22171.16%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22220.47%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22269.77%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2272.55%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22121.86%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22171.16%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22220.47%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22269.77%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2272.55%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22121.86%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22171.16%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22220.47%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22269.77%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2272.55%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22121.86%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22171.16%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22220.47%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22269.77%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%3C%2Fg%3E%0A%3Cpath%20d%3D%22M497.341%2C59.688c-0.199-0.465-0.447-0.902-0.734-1.311C476.551%2C23.521%2C438.921%2C0.001%2C395.901%2C0.001H116.099%0A%09C52.082%2C0.001%2C0%2C52.083%2C0%2C116.1v279.803c0%2C20.462%2C5.328%2C39.7%2C14.659%2C56.412c0.199%2C0.464%2C0.447%2C0.902%2C0.734%2C1.311%0A%09C35.449%2C488.481%2C73.079%2C512%2C116.099%2C512h279.803c43.02%2C0%2C80.65-23.52%2C100.706-58.376c0.287-0.409%2C0.535-0.846%2C0.734-1.311%0A%09c9.331-16.712%2C14.659-35.95%2C14.659-56.412V116.1C512%2C95.638%2C506.672%2C76.4%2C497.341%2C59.688z%20M438.39%2C386.883%0A%09c-4.024%2C0-7.286%2C3.262-7.286%2C7.287s3.262%2C7.286%2C7.286%2C7.286h58.883c-0.791%2C14.595-4.676%2C28.38-11.013%2C40.708H25.74%0A%09c-6.337-12.328-10.222-26.113-11.013-40.708h390.501c4.024%2C0%2C7.286-3.262%2C7.286-7.286c0-4.025-3.262-7.287-7.286-7.287H14.573%0A%09v-40.692h482.854v40.692L438.39%2C386.883L438.39%2C386.883z%20M497.273%2C110.546H342.328V69.838H486.26%0A%09C492.597%2C82.166%2C496.482%2C95.951%2C497.273%2C110.546z%20M389.101%2C180.383h108.326v40.691H342.328v-40.691h19.156%0A%09c4.024%2C0%2C7.286-3.262%2C7.286-7.287c0-4.025-3.262-7.286-7.286-7.286h-19.156v-40.692h155.099v40.692H389.101%0A%09c-4.024%2C0-7.287%2C3.262-7.287%2C7.286C381.814%2C177.121%2C385.076%2C180.383%2C389.101%2C180.383z%20M342.328%2C235.647h155.099v40.708H342.328%0A%09V235.647z%20M497.427%2C290.928v40.691H14.573v-40.691H497.427z%20M477.132%2C55.265H342.328V14.574h53.574%0A%09C429.082%2C14.574%2C458.594%2C30.575%2C477.132%2C55.265z%20M116.099%2C14.574h211.656v261.781H14.573V116.1%0A%09C14.573%2C60.119%2C60.117%2C14.574%2C116.099%2C14.574z%20M395.901%2C497.428H116.099c-33.181%2C0-62.693-16.001-81.231-40.691h442.264%0A%09C458.594%2C481.427%2C429.082%2C497.428%2C395.901%2C497.428z%22%2F%3E%0A%3C%2Fsvg%3E";
16981
+ var flag_es = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Crect%20x%3D%227.286%22%20y%3D%22131.64%22%20style%3D%22fill%3A%23FFE000%3B%22%20width%3D%22497.43%22%20height%3D%22248.71%22%2F%3E%0A%3Cg%3E%0A%09%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M395.901%2C7.287H116.099C56.003%2C7.287%2C7.286%2C56.003%2C7.286%2C116.099v15.545h497.427v-15.545%0A%09%09C504.714%2C56.003%2C455.997%2C7.287%2C395.901%2C7.287z%22%2F%3E%0A%09%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M7.286%2C395.901c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h279.803%0A%09%09c60.095%2C0%2C108.812-48.717%2C108.812-108.812v-15.545H7.286V395.901z%22%2F%3E%0A%3C%2Fg%3E%0A%3Cpath%20d%3D%22M395.901%2C0H116.099C52.082%2C0%2C0%2C52.082%2C0%2C116.099v279.803C0%2C459.918%2C52.082%2C512%2C116.099%2C512h279.803%0A%09C459.918%2C512%2C512%2C459.918%2C512%2C395.901V116.099C512%2C52.082%2C459.918%2C0%2C395.901%2C0z%20M116.099%2C14.573h279.803%0A%09c55.981%2C0%2C101.526%2C45.544%2C101.526%2C101.526v8.258H14.573v-8.258C14.573%2C60.117%2C60.117%2C14.573%2C116.099%2C14.573z%20M395.901%2C497.427%0A%09H116.099c-55.982%2C0-101.526-45.544-101.526-101.526v-8.258h390.655c4.024%2C0%2C7.286-3.262%2C7.286-7.287s-3.262-7.286-7.286-7.286%0A%09H14.573V138.93h482.854v234.14H438.39c-4.024%2C0-7.286%2C3.262-7.286%2C7.286s3.262%2C7.287%2C7.286%2C7.287h59.037v8.258%0A%09C497.427%2C451.883%2C451.883%2C497.427%2C395.901%2C497.427z%22%2F%3E%0A%3C%2Fsvg%3E";
16982
+ var flag_fr = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Crect%20x%3D%22173.1%22%20y%3D%227.287%22%20style%3D%22fill%3A%23FFFFFF%3B%22%20width%3D%22165.81%22%20height%3D%22497.43%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23164FCE%3B%22%20d%3D%22M116.099%2C7.287C56.003%2C7.287%2C7.286%2C56.003%2C7.286%2C116.099v279.803%0A%09c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h56.997V7.287H116.099z%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M395.901%2C7.287h-56.997v497.427h56.997c60.095%2C0%2C108.812-48.717%2C108.812-108.812V116.099%0A%09C504.714%2C56.003%2C455.997%2C7.287%2C395.901%2C7.287z%22%2F%3E%0A%3Cpath%20d%3D%22M395.901%2C0H116.099C52.082%2C0%2C0%2C52.082%2C0%2C116.099v279.803C0%2C459.918%2C52.082%2C512%2C116.099%2C512h279.803%0A%09C459.918%2C512%2C512%2C459.918%2C512%2C395.901V116.099C512%2C52.082%2C459.918%2C0%2C395.901%2C0z%20M14.573%2C395.901V116.099%0A%09c0-55.981%2C45.544-101.526%2C101.526-101.526h49.71v482.854h-49.71C60.117%2C497.427%2C14.573%2C451.883%2C14.573%2C395.901z%20M497.427%2C395.901%0A%09c0%2C55.982-45.545%2C101.526-101.526%2C101.526H346.19V156.515c0-4.024-3.262-7.286-7.286-7.286c-4.025%2C0-7.287%2C3.262-7.287%2C7.286%0A%09v340.912H180.382V14.573h151.236v92.199c0%2C4.024%2C3.262%2C7.286%2C7.287%2C7.286s7.286-3.262%2C7.286-7.286V14.573h49.711%0A%09c55.981%2C0%2C101.526%2C45.544%2C101.526%2C101.526L497.427%2C395.901L497.427%2C395.901z%22%2F%3E%0A%3C%2Fsvg%3E";
16983
+ var flag_de = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Crect%20x%3D%227.286%22%20y%3D%22173.1%22%20style%3D%22fill%3A%23ED1F34%3B%22%20width%3D%22497.43%22%20height%3D%22165.81%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23FFE000%3B%22%20d%3D%22M7.286%2C395.901c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h279.803%0A%09c60.095%2C0%2C108.812-48.717%2C108.812-108.812v-56.997H7.286V395.901z%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23333333%3B%22%20d%3D%22M395.901%2C7.286H116.099C56.003%2C7.286%2C7.286%2C56.003%2C7.286%2C116.099v56.997h497.427v-56.997%0A%09C504.714%2C56.003%2C455.997%2C7.286%2C395.901%2C7.286z%22%2F%3E%0A%3Cpath%20d%3D%22M395.901%2C0H116.099C52.082%2C0%2C0%2C52.082%2C0%2C116.099v279.803C0%2C459.918%2C52.082%2C512%2C116.099%2C512h279.803%0A%09C459.918%2C512%2C512%2C459.918%2C512%2C395.901V116.099C512%2C52.082%2C459.918%2C0%2C395.901%2C0z%20M116.099%2C14.573h279.803%0A%09c55.981%2C0%2C101.526%2C45.544%2C101.526%2C101.526v49.71H14.573v-49.71C14.573%2C60.117%2C60.117%2C14.573%2C116.099%2C14.573z%20M395.901%2C497.427%0A%09H116.099c-55.982%2C0-101.526-45.544-101.526-101.526v-49.71h390.655c4.025%2C0%2C7.286-3.262%2C7.286-7.286s-3.262-7.286-7.286-7.286%0A%09H14.573V180.382h482.854v151.236H438.39c-4.025%2C0-7.286%2C3.262-7.286%2C7.286s3.262%2C7.286%2C7.286%2C7.286h59.037v49.71%0A%09C497.427%2C451.883%2C451.882%2C497.427%2C395.901%2C497.427z%22%2F%3E%0A%3C%2Fsvg%3E";
16984
+ var flag_it = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Crect%20x%3D%22173.1%22%20y%3D%227.286%22%20style%3D%22fill%3A%23FFFFFF%3B%22%20width%3D%22165.81%22%20height%3D%22497.43%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23259245%3B%22%20d%3D%22M116.099%2C7.286C56.003%2C7.286%2C7.286%2C56.003%2C7.286%2C116.099v279.803%0A%09c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h56.997V7.286H116.099z%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M395.901%2C7.286h-56.997v497.427h56.997c60.095%2C0%2C108.812-48.717%2C108.812-108.812V116.099%0A%09C504.714%2C56.003%2C455.997%2C7.286%2C395.901%2C7.286z%22%2F%3E%0A%3Cpath%20d%3D%22M395.901%2C0H116.099C52.082%2C0%2C0%2C52.082%2C0%2C116.099v279.803C0%2C459.918%2C52.082%2C512%2C116.099%2C512h279.803%0A%09C459.918%2C512%2C512%2C459.918%2C512%2C395.901V116.099C512%2C52.082%2C459.918%2C0%2C395.901%2C0z%20M14.573%2C395.901V116.099%0A%09c0-55.982%2C45.544-101.526%2C101.526-101.526h49.71v482.854h-49.71C60.117%2C497.427%2C14.573%2C451.883%2C14.573%2C395.901z%20M497.427%2C395.901%0A%09c0%2C55.982-45.544%2C101.526-101.526%2C101.526h-49.71V156.515c0-4.024-3.262-7.286-7.287-7.286c-4.024%2C0-7.286%2C3.262-7.286%2C7.286%0A%09v340.912H180.382V14.573h151.236v92.199c0%2C4.024%2C3.262%2C7.286%2C7.286%2C7.286c4.024%2C0%2C7.287-3.262%2C7.287-7.286V14.573h49.71%0A%09c55.981%2C0%2C101.526%2C45.544%2C101.526%2C101.526L497.427%2C395.901L497.427%2C395.901z%22%2F%3E%0A%3C%2Fsvg%3E";
16985
+ var LOCALE_FLAGS = {
16986
+ "br": flag_br,
16987
+ "us": flag_us,
16988
+ "es": flag_es,
16989
+ "fr": flag_fr,
14383
16990
  "de": flag_de,
14384
16991
  "it": flag_it,
14385
16992
  // Locale code aliases
@@ -20512,25 +23119,6 @@ var ContactSection = React12__namespace.default.memo(
20512
23119
  ] });
20513
23120
  }
20514
23121
  );
20515
- var Progress = React12__namespace.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
20516
- ProgressPrimitive__namespace.Root,
20517
- {
20518
- ref,
20519
- className: clsx__default.default(
20520
- "relative h-4 w-full overflow-hidden rounded-full bg-secondary",
20521
- className
20522
- ),
20523
- ...props,
20524
- children: /* @__PURE__ */ jsxRuntime.jsx(
20525
- ProgressPrimitive__namespace.Indicator,
20526
- {
20527
- className: "h-full w-full flex-1 bg-primary transition-all",
20528
- style: { transform: `translateX(-${100 - (value || 0)}%)` }
20529
- }
20530
- )
20531
- }
20532
- ));
20533
- Progress.displayName = ProgressPrimitive__namespace.Root.displayName;
20534
23122
  function DropdownButton({
20535
23123
  as = Button,
20536
23124
  ...props
@@ -21528,6 +24116,7 @@ function SkipToContent({
21528
24116
  );
21529
24117
  }
21530
24118
 
24119
+ exports.AIOrchestratorDemo = AIOrchestratorDemo;
21531
24120
  exports.ARGENTINA_ACCENT_MAP = ARGENTINA_ACCENT_MAP;
21532
24121
  exports.ARGENTINA_MACRO_REGIONS = ARGENTINA_MACRO_REGIONS;
21533
24122
  exports.ARGENTINA_MAP_CENTER = ARGENTINA_MAP_CENTER;
@@ -21617,12 +24206,16 @@ exports.CookieConsent = CookieConsent;
21617
24206
  exports.CopyableId = CopyableId;
21618
24207
  exports.CountPill = CountPill;
21619
24208
  exports.CreateActionButton = CreateActionButton;
24209
+ exports.CustomerAnalyticsDemo = CustomerAnalyticsDemo;
21620
24210
  exports.DE_THEME_CONFIG = DE_THEME_CONFIG;
24211
+ exports.DashboardDemo = DashboardDemo;
24212
+ exports.DashboardDemoLayout = DashboardDemoLayout;
21621
24213
  exports.DashboardProgressShell = DashboardProgressShell;
21622
24214
  exports.DashboardView = DashboardView;
21623
24215
  exports.DataPagination = DataPagination;
21624
24216
  exports.DatePicker = DatePicker;
21625
24217
  exports.DeleteSwipeAction = DeleteSwipeAction;
24218
+ exports.DepartmentWorkflowDemo = DepartmentWorkflowDemo;
21626
24219
  exports.Description = Description4;
21627
24220
  exports.DetailsPopover = DetailsPopover;
21628
24221
  exports.DevModeBanner = DevModeBanner;
@@ -21680,6 +24273,7 @@ exports.FilterBadge = FilterBadge;
21680
24273
  exports.FilterPill = FilterPill;
21681
24274
  exports.FilterSectionHeader = FilterSectionHeader;
21682
24275
  exports.FilterTileButton = FilterTileButton;
24276
+ exports.FinancialDemo = FinancialDemo;
21683
24277
  exports.FloatingActionButton = FloatingActionButton;
21684
24278
  exports.FlyoutMenu = FlyoutMenu;
21685
24279
  exports.FlyoutNavGrid = FlyoutNavGrid;
@@ -21710,6 +24304,7 @@ exports.GlassModal = GlassModal;
21710
24304
  exports.Gradient = Gradient;
21711
24305
  exports.GradientBackground = GradientBackground;
21712
24306
  exports.GrowthIndicator = GrowthIndicator;
24307
+ exports.HRRecruitmentDemo = HRRecruitmentDemo;
21713
24308
  exports.Heading = Heading;
21714
24309
  exports.HeroPanel = HeroPanel;
21715
24310
  exports.HeroSection = HeroSection;
@@ -21739,6 +24334,7 @@ exports.InlineForm = InlineForm;
21739
24334
  exports.InlineSpinner = InlineSpinner;
21740
24335
  exports.Input = Input;
21741
24336
  exports.InteractiveGeoMap = InteractiveGeoMap;
24337
+ exports.InventoryDemo = InventoryDemo;
21742
24338
  exports.ItemSummary = ItemSummary;
21743
24339
  exports.JAPAN_ACCENT_MAP = JAPAN_ACCENT_MAP;
21744
24340
  exports.JAPAN_MACRO_REGIONS = JAPAN_MACRO_REGIONS;
@@ -21748,6 +24344,7 @@ exports.JAPAN_PREFECTURE_PALETTES = JAPAN_PREFECTURE_PALETTES;
21748
24344
  exports.JP_THEME_CONFIG = JP_THEME_CONFIG;
21749
24345
  exports.KORI_ERP_LOADER = KORI_ERP_LOADER;
21750
24346
  exports.KR_THEME_CONFIG = KR_THEME_CONFIG;
24347
+ exports.LGPDComplianceDemo = LGPDComplianceDemo;
21751
24348
  exports.LOCALE_FLAGS = LOCALE_FLAGS;
21752
24349
  exports.Label = Label2;
21753
24350
  exports.LabeledToggle = LabeledToggle;
@@ -21770,6 +24367,7 @@ exports.ManagementPageLayout = ManagementPageLayout;
21770
24367
  exports.ManagementSurface = ManagementSurface;
21771
24368
  exports.MapZoomControls = MapZoomControls;
21772
24369
  exports.MarketPricesCard = MarketPricesCard;
24370
+ exports.MarketingDemo = MarketingDemo;
21773
24371
  exports.MetricCard = MetricCard;
21774
24372
  exports.MonthPicker = MonthPicker;
21775
24373
  exports.MultiColumnPicker = MultiColumnPicker;
@@ -21884,6 +24482,7 @@ exports.SWEDEN_MAP_CENTER = SWEDEN_MAP_CENTER;
21884
24482
  exports.SafeArea = SafeArea;
21885
24483
  exports.SafeAreaSpacer = SafeAreaSpacer;
21886
24484
  exports.SafeAreaView = SafeAreaView;
24485
+ exports.SalesDemo = SalesDemo;
21887
24486
  exports.SearchBar = SearchBar;
21888
24487
  exports.SearchFilterToolbar = SearchFilterToolbar;
21889
24488
  exports.SearchInput = SearchInput;
@@ -21981,12 +24580,14 @@ exports.cardPress = cardPress;
21981
24580
  exports.computeDomain = computeDomain;
21982
24581
  exports.computeSeries = computeSeries;
21983
24582
  exports.createMotionProps = createMotionProps;
24583
+ exports.customerAnalyticsWorkflow = customerAnalyticsWorkflow;
21984
24584
  exports.durations = durations;
21985
24585
  exports.durationsReduced = durationsReduced;
21986
24586
  exports.easings = easings;
21987
24587
  exports.fadeOnly = fadeOnly;
21988
24588
  exports.fadeScale = fadeScale;
21989
24589
  exports.filterByPermission = filterByPermission;
24590
+ exports.financialWorkflow = financialWorkflow;
21990
24591
  exports.formatAddress = formatAddress;
21991
24592
  exports.formatCurrency = formatCurrency;
21992
24593
  exports.formatCurrency2 = formatCurrency2;
@@ -22183,6 +24784,8 @@ exports.getUsGradient = getUsGradient;
22183
24784
  exports.getUsHexColor = getUsHexColor;
22184
24785
  exports.getUsPalette = getUsPalette;
22185
24786
  exports.getVariants = getVariants;
24787
+ exports.hrWorkflow = hrWorkflow;
24788
+ exports.inventoryWorkflow = inventoryWorkflow;
22186
24789
  exports.iosColors = iosColors;
22187
24790
  exports.isValidArgentinaProvince = isValidArgentinaProvince;
22188
24791
  exports.isValidAustraliaState = isValidAustraliaState;
@@ -22215,8 +24818,10 @@ exports.isValidThailandProvince = isValidThailandProvince;
22215
24818
  exports.isValidTurkeyProvince = isValidTurkeyProvince;
22216
24819
  exports.isValidUKNation = isValidUKNation;
22217
24820
  exports.isValidUsState = isValidUsState;
24821
+ exports.lgpdWorkflow = lgpdWorkflow;
22218
24822
  exports.listItem = listItem;
22219
24823
  exports.listItemReduced = listItemReduced;
24824
+ exports.marketingWorkflow = marketingWorkflow;
22220
24825
  exports.notificationBanner = notificationBanner;
22221
24826
  exports.notificationBannerReduced = notificationBannerReduced;
22222
24827
  exports.pageControlDot = pageControlDot;
@@ -22224,6 +24829,7 @@ exports.prefersReducedMotion = prefersReducedMotion;
22224
24829
  exports.registerCountry = registerCountry;
22225
24830
  exports.registerSubdivisionTheme = registerSubdivisionTheme;
22226
24831
  exports.resolveGlassAccentRgb = resolveGlassAccentRgb;
24832
+ exports.salesWorkflow = salesWorkflow;
22227
24833
  exports.selectIsAuthenticated = selectIsAuthenticated;
22228
24834
  exports.selectShowShellChrome = selectShowShellChrome;
22229
24835
  exports.selectUserInitial = selectUserInitial;
@@ -22245,5 +24851,5 @@ exports.usePullToRefresh = usePullToRefresh;
22245
24851
  exports.validateDashboardSpec = validateDashboardSpec;
22246
24852
  exports.xScale = xScale;
22247
24853
  exports.yScale = yScale;
22248
- //# sourceMappingURL=chunk-7ZC6KI76.js.map
22249
- //# sourceMappingURL=chunk-7ZC6KI76.js.map
24854
+ //# sourceMappingURL=chunk-MV27AY4F.js.map
24855
+ //# sourceMappingURL=chunk-MV27AY4F.js.map