@powerhousedao/ph-clint-app 0.1.0-dev.105 → 0.1.0-dev.106

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/connect/assets/{ClearStorageModal-DyU-FIgY-C2SQvwxh.js → ClearStorageModal-DyU-FIgY-BJAb391v.js} +2 -2
  2. package/dist/connect/assets/{ClearStorageModal-DyU-FIgY-C2SQvwxh.js.map → ClearStorageModal-DyU-FIgY-BJAb391v.js.map} +1 -1
  3. package/dist/connect/assets/{DebugSettingsModal-CwUN9gIr-C27CiPQG.js → DebugSettingsModal-CwUN9gIr-BHtXVwZu.js} +2 -2
  4. package/dist/connect/assets/{DebugSettingsModal-CwUN9gIr-C27CiPQG.js.map → DebugSettingsModal-CwUN9gIr-BHtXVwZu.js.map} +1 -1
  5. package/dist/connect/assets/{InspectorModal-Cd8kbCV8-D9TUaRon.js → InspectorModal-Cd8kbCV8-wCEPH9Q6.js} +2 -2
  6. package/dist/connect/assets/{InspectorModal-Cd8kbCV8-D9TUaRon.js.map → InspectorModal-Cd8kbCV8-wCEPH9Q6.js.map} +1 -1
  7. package/dist/connect/assets/{OpenFileDocumentsModal-BQsaBP4x-HmKTWcS8.js → OpenFileDocumentsModal-BQsaBP4x-D0QTl2mc.js} +2 -2
  8. package/dist/connect/assets/{OpenFileDocumentsModal-BQsaBP4x-HmKTWcS8.js.map → OpenFileDocumentsModal-BQsaBP4x-D0QTl2mc.js.map} +1 -1
  9. package/dist/connect/assets/{SettingsModal-CgjW-M2a-BbUA87ne.js → SettingsModal-CgjW-M2a-BKJzJ25U.js} +2 -2
  10. package/dist/connect/assets/{SettingsModal-CgjW-M2a-BbUA87ne.js.map → SettingsModal-CgjW-M2a-BKJzJ25U.js.map} +1 -1
  11. package/dist/connect/assets/{app-loader-l5wtQh5z-BCq0Ui4Q.js → app-loader-l5wtQh5z-CYQpkwjk.js} +4 -4
  12. package/dist/connect/assets/{app-loader-l5wtQh5z-BCq0Ui4Q.js.map → app-loader-l5wtQh5z-CYQpkwjk.js.map} +1 -1
  13. package/dist/connect/assets/{components-BH57lxCU-CXFU4DBE.js → components-BH57lxCU-BZ_0YIzo.js} +2 -2
  14. package/dist/connect/assets/{components-BH57lxCU-CXFU4DBE.js.map → components-BH57lxCU-BZ_0YIzo.js.map} +1 -1
  15. package/dist/connect/assets/{connect.config-CaXMoB42-DPDK2YJi.js → connect.config-CaXMoB42-Dbb5nzkI.js} +2 -2
  16. package/dist/connect/assets/{connect.config-CaXMoB42-DPDK2YJi.js.map → connect.config-CaXMoB42-Dbb5nzkI.js.map} +1 -1
  17. package/dist/connect/assets/{connection-state-Eqc2izmt-DYeEdoBH.js → connection-state-Eqc2izmt-CZj5x6c0.js} +2 -2
  18. package/dist/connect/assets/{connection-state-Eqc2izmt-DYeEdoBH.js.map → connection-state-Eqc2izmt-CZj5x6c0.js.map} +1 -1
  19. package/dist/connect/assets/{cookie-banner-BxXvPdIY-DciefBm4.js → cookie-banner-BxXvPdIY-DwJZO4Kr.js} +2 -2
  20. package/dist/connect/assets/{cookie-banner-BxXvPdIY-DciefBm4.js.map → cookie-banner-BxXvPdIY-DwJZO4Kr.js.map} +1 -1
  21. package/dist/connect/assets/{index-CCrGK-st.js → index-ypRDyz0_.js} +3 -3
  22. package/dist/connect/assets/{index-CCrGK-st.js.map → index-ypRDyz0_.js.map} +1 -1
  23. package/dist/connect/assets/{load-ftpCX1HI-C4L1Z5YI.js → load-ftpCX1HI-CPPnPa1h.js} +2 -2
  24. package/dist/connect/assets/{load-ftpCX1HI-C4L1Z5YI.js.map → load-ftpCX1HI-CPPnPa1h.js.map} +1 -1
  25. package/dist/connect/assets/{pglite-seed-Cl2d-iyl-Abmu_EqV.js → pglite-seed-Cl2d-iyl-Dm71yfXU.js} +2 -2
  26. package/dist/connect/assets/{pglite-seed-Cl2d-iyl-Abmu_EqV.js.map → pglite-seed-Cl2d-iyl-Dm71yfXU.js.map} +1 -1
  27. package/dist/connect/assets/{preferences-store-DZUIAkHE-BwJzNFRa.js → preferences-store-DZUIAkHE-DMBWFJbj.js} +2 -2
  28. package/dist/connect/assets/{preferences-store-DZUIAkHE-BwJzNFRa.js.map → preferences-store-DZUIAkHE-DMBWFJbj.js.map} +1 -1
  29. package/dist/connect/assets/{reactor-CItc8KaF-DIjxfM4l.js → reactor-CItc8KaF-2ruIW1vZ.js} +2 -2
  30. package/dist/connect/assets/{reactor-CItc8KaF-DIjxfM4l.js.map → reactor-CItc8KaF-2ruIW1vZ.js.map} +1 -1
  31. package/dist/connect/assets/{registerServiceWorker-smkROQhm-Qbc3RMCx.js → registerServiceWorker-smkROQhm-K2kHougF.js} +2 -2
  32. package/dist/connect/assets/{registerServiceWorker-smkROQhm-Qbc3RMCx.js.map → registerServiceWorker-smkROQhm-K2kHougF.js.map} +1 -1
  33. package/dist/connect/index.html +1 -1
  34. package/dist/connect/powerhouse.config.json +1 -1
  35. package/dist/connect/service-worker.js +1 -1
  36. package/package.json +6 -1
@@ -1 +1 @@
1
- {"version":3,"file":"SettingsModal-CgjW-M2a-BbUA87ne.js","names":["__iconData","__iconData","__iconData","__iconData","Icon","CircleHelp"],"sources":["../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/utils/toLucideIconData.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/build/defaultAttributes.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconNode.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconForReact.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/context.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/Icon.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/createLucideIcon.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/bot.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/circle-question-mark.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/package.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/pen-line.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/triangle-alert.mjs","../../../../../node_modules/.pnpm/@powerhousedao+connect@6.2.3_031a39ff375233beffe5df359486f16d/node_modules/@powerhousedao/connect/dist/SettingsModal-CgjW-M2a.js"],"sourcesContent":["/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toKebabCase = (string) => string?.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase();\n\nexport { toKebabCase };\n//# sourceMappingURL=toKebabCase.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { toKebabCase } from './toKebabCase.mjs';\n\nfunction toLucideIconData(iconName, iconNode, aliases = []) {\n if (iconNode == null) {\n throw new Error(\"[lucide]: iconNode is required when icon name is used\");\n }\n return {\n name: toKebabCase(iconName),\n size: 24,\n node: iconNode,\n ...aliases.length > 0 ? { aliases } : {}\n };\n}\n\nexport { toLucideIconData };\n//# sourceMappingURL=toLucideIconData.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toCamelCase = (string) => {\n let out = \"\";\n let upperNext = false;\n for (const ch of string) {\n if (ch === \"-\" || ch === \"_\" || ch <= \" \") {\n upperNext = out.length > 0;\n continue;\n }\n if (out.length === 0) {\n out += ch.toLowerCase();\n } else {\n out += upperNext ? ch.toUpperCase() : ch;\n }\n upperNext = false;\n }\n return out;\n};\n\nexport { toCamelCase };\n//# sourceMappingURL=toCamelCase.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { toCamelCase } from './toCamelCase.mjs';\n\nconst toPascalCase = (string) => {\n const camelCase = toCamelCase(string);\n return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);\n};\n\nexport { toPascalCase };\n//# sourceMappingURL=toPascalCase.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst mergeClasses = (...classes) => classes.filter((className, index, array) => {\n return Boolean(className) && className.trim() !== \"\" && array.indexOf(className) === index;\n}).join(\" \").trim();\n\nexport { mergeClasses };\n//# sourceMappingURL=mergeClasses.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst defaultAttributes = {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-width\": 2,\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n};\n\nexport { defaultAttributes as default };\n//# sourceMappingURL=defaultAttributes.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport defaultAttributes from './defaultAttributes.mjs';\nimport { mergeClasses } from '../utils/mergeClasses.mjs';\n\nfunction isDefined(value) {\n return value !== null && value !== void 0;\n}\nfunction buildLucideIconNode(icon, params = {}) {\n const attributeNames = params.attributeNames ?? {};\n const getAttributeName = (attributeName) => attributeNames[attributeName] ?? attributeName;\n const viewBoxWidth = icon.size ?? icon.width ?? defaultAttributes[\"width\"];\n const viewBoxHeight = icon.size ?? icon.height ?? defaultAttributes[\"height\"];\n const aliasClassNames = icon.aliases?.filter((alias) => typeof alias === \"string\" && alias.trim() !== \"\").map((alias) => `lucide-${alias}`) ?? [];\n const iconClassNames = [...icon.name ? [`lucide-${icon.name}`] : [], ...aliasClassNames];\n const classNamesFromClassName = params.className?.split(\" \").filter(Boolean) ?? [];\n const className = params.includeDefaultClasses === false ? mergeClasses(...classNamesFromClassName) : mergeClasses(\"lucide\", ...iconClassNames, ...classNamesFromClassName);\n const calculatedStrokeWidth = params.absoluteStrokeWidth ? Number(params.strokeWidth ?? defaultAttributes[\"stroke-width\"]) * Number(icon.size ?? icon.width ?? defaultAttributes[\"width\"]) / Number(params.size ?? params.width ?? defaultAttributes[\"width\"]) : params.strokeWidth ?? defaultAttributes[\"stroke-width\"];\n const attributes = {\n ...Object.entries(defaultAttributes).reduce((attrs, [attrName, value]) => {\n attrs[getAttributeName(attrName)] = value;\n return attrs;\n }, {}),\n ...\"color\" in params && params.color && {\n [getAttributeName(\"stroke\")]: params.color\n },\n ...\"size\" in params && isDefined(params.size) && {\n [getAttributeName(\"width\")]: params.size,\n [getAttributeName(\"height\")]: params.size\n },\n ...\"width\" in params && isDefined(params.width) && {\n [getAttributeName(\"width\")]: params.width\n },\n ...\"height\" in params && isDefined(params.height) && {\n [getAttributeName(\"height\")]: params.height\n },\n [getAttributeName(\"stroke-width\")]: calculatedStrokeWidth,\n ...className && {\n [getAttributeName(\"class\")]: className\n },\n [getAttributeName(\"viewBox\")]: `0 0 ${viewBoxWidth} ${viewBoxHeight}`,\n ...params.hasA11yProp === false ? {\n [getAttributeName(\"aria-hidden\")]: \"true\"\n } : {},\n ...\"attributes\" in params && params.attributes\n };\n return [\n \"svg\",\n attributes,\n icon.node.map((child) => {\n const [name, attrs, children] = child;\n const nextAttrs = params.nonScalingStroke ? { [getAttributeName(\"vector-effect\")]: \"non-scaling-stroke\", ...attrs } : attrs;\n return children ? [name, nextAttrs, children] : [name, nextAttrs];\n })\n ];\n}\n\nexport { buildLucideIconNode as default };\n//# sourceMappingURL=buildLucideIconNode.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport buildLucideIconNode from './buildLucideIconNode.mjs';\n\nfunction buildLucideIconForReact(icon, params = {}) {\n return buildLucideIconNode(icon, {\n ...params,\n attributeNames: {\n ...params.attributeNames,\n class: \"className\",\n \"stroke-width\": \"strokeWidth\",\n \"stroke-linecap\": \"strokeLinecap\",\n \"stroke-linejoin\": \"strokeLinejoin\",\n \"vector-effect\": \"vectorEffect\"\n }\n });\n}\n\nexport { buildLucideIconForReact as default };\n//# sourceMappingURL=buildLucideIconForReact.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst hasA11yProp = (props) => {\n for (const prop in props) {\n if (prop.startsWith(\"aria-\") || prop === \"role\" || prop === \"title\") {\n return true;\n }\n }\n return false;\n};\n\nexport { hasA11yProp };\n//# sourceMappingURL=hasA11yProp.mjs.map\n","\"use strict\";\n\"use client\";\n/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { createContext, useContext, useMemo, createElement } from 'react';\n\nconst LucideContext = createContext({});\nfunction LucideProvider({\n children,\n size,\n color,\n strokeWidth,\n absoluteStrokeWidth,\n nonScalingStroke,\n className\n}) {\n const value = useMemo(\n () => ({\n size,\n color,\n strokeWidth,\n absoluteStrokeWidth,\n nonScalingStroke,\n className\n }),\n [size, color, strokeWidth, absoluteStrokeWidth, nonScalingStroke, className]\n );\n return createElement(LucideContext.Provider, { value }, children);\n}\nconst useLucideContext = () => useContext(LucideContext);\n\nexport { LucideProvider, useLucideContext };\n//# sourceMappingURL=context.mjs.map\n","\"use strict\";\n\"use client\";\n/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport { mergeClasses } from './shared/src/utils/mergeClasses.mjs';\nimport buildLucideIconForReact from './shared/src/build/buildLucideIconForReact.mjs';\nimport { hasA11yProp } from './shared/src/utils/hasA11yProp.mjs';\nimport { useLucideContext } from './context.mjs';\n\nconst Icon = forwardRef(\n ({\n color,\n size,\n width,\n height,\n strokeWidth,\n absoluteStrokeWidth,\n nonScalingStroke,\n className = \"\",\n children,\n iconNode = [],\n icon = {\n node: iconNode,\n aliases: [],\n size: 24\n },\n ...rest\n }, ref) => {\n const {\n size: contextSize = 24,\n strokeWidth: contextStrokeWidth = 2,\n absoluteStrokeWidth: contextAbsoluteStrokeWidth = false,\n nonScalingStroke: contextNonScalingStroke = false,\n color: contextColor = \"currentColor\",\n className: contextClass = \"\"\n } = useLucideContext() ?? {};\n const hasAccessibleProp = Boolean(children) || hasA11yProp(rest);\n const [name, svgAttributes, builtIconNode = []] = buildLucideIconForReact(icon, {\n color: color ?? contextColor,\n width: width ?? size ?? contextSize,\n height: height ?? size ?? contextSize,\n strokeWidth: strokeWidth ?? contextStrokeWidth,\n absoluteStrokeWidth: absoluteStrokeWidth ?? contextAbsoluteStrokeWidth,\n nonScalingStroke: nonScalingStroke ?? contextNonScalingStroke,\n className: mergeClasses(contextClass, className),\n hasA11yProp: hasAccessibleProp,\n attributes: rest\n });\n return createElement(\n name,\n {\n ref,\n ...svgAttributes\n },\n [\n ...builtIconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...Array.isArray(children) ? children : [children]\n ]\n );\n }\n);\n\nexport { Icon as default };\n//# sourceMappingURL=Icon.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport { toLucideIconData } from './shared/src/utils/toLucideIconData.mjs';\nimport { toPascalCase } from './shared/src/utils/toPascalCase.mjs';\nimport Icon from './Icon.mjs';\n\nfunction createLucideIcon(iconDataOrName, iconNode = [], aliases = []) {\n const iconData = typeof iconDataOrName === \"string\" ? toLucideIconData(iconDataOrName, iconNode, aliases) : iconDataOrName;\n const Component = forwardRef(\n ({ className, ...props }, ref) => createElement(Icon, {\n ref,\n icon: iconData,\n className,\n ...props\n })\n );\n if (iconData.name) {\n Component.displayName = toPascalCase(iconData.name);\n }\n return Component;\n}\n\nexport { createLucideIcon as default };\n//# sourceMappingURL=createLucideIcon.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconData = {\n name: \"bot\",\n size: 24,\n node: [\n [\"path\", { d: \"M12 8V4H8\", key: \"hb8ula\" }],\n [\"rect\", { width: \"16\", height: \"12\", x: \"4\", y: \"8\", rx: \"2\", key: \"enze0r\" }],\n [\"path\", { d: \"M2 14h2\", key: \"vft8re\" }],\n [\"path\", { d: \"M20 14h2\", key: \"4cs60a\" }],\n [\"path\", { d: \"M15 13v2\", key: \"1xurst\" }],\n [\"path\", { d: \"M9 13v2\", key: \"rq6x2g\" }]\n ]\n};\n__iconData.node;\nconst Bot = createLucideIcon(__iconData);\n\nexport { __iconData, Bot as default };\n//# sourceMappingURL=bot.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconData = {\n name: \"circle-question-mark\",\n size: 24,\n node: [\n [\"circle\", { cx: \"12\", cy: \"12\", r: \"10\", key: \"1mglay\" }],\n [\"path\", { d: \"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3\", key: \"1u773s\" }],\n [\"path\", { d: \"M12 17h.01\", key: \"p32p05\" }]\n ],\n aliases: [\"help-circle\", \"circle-help\"]\n};\n__iconData.node;\nconst CircleQuestionMark = createLucideIcon(__iconData);\n\nexport { __iconData, CircleQuestionMark as default };\n//# sourceMappingURL=circle-question-mark.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconData = {\n name: \"package\",\n size: 24,\n node: [\n [\n \"path\",\n {\n d: \"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z\",\n key: \"1a0edw\"\n }\n ],\n [\"path\", { d: \"M12 22V12\", key: \"d0xqtd\" }],\n [\"polyline\", { points: \"3.29 7 12 12 20.71 7\", key: \"ousv84\" }],\n [\"path\", { d: \"m7.5 4.27 9 5.15\", key: \"1c824w\" }]\n ]\n};\n__iconData.node;\nconst Package = createLucideIcon(__iconData);\n\nexport { __iconData, Package as default };\n//# sourceMappingURL=package.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconData = {\n name: \"pen-line\",\n size: 24,\n node: [\n [\"path\", { d: \"M13 21h8\", key: \"1jsn5i\" }],\n [\n \"path\",\n {\n d: \"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z\",\n key: \"1a8usu\"\n }\n ]\n ],\n aliases: [\"edit-3\"]\n};\n__iconData.node;\nconst PenLine = createLucideIcon(__iconData);\n\nexport { __iconData, PenLine as default };\n//# sourceMappingURL=pen-line.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconData = {\n name: \"triangle-alert\",\n size: 24,\n node: [\n [\n \"path\",\n {\n d: \"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\",\n key: \"wmoenq\"\n }\n ],\n [\"path\", { d: \"M12 9v4\", key: \"juzpu7\" }],\n [\"path\", { d: \"M12 17h.01\", key: \"p32p05\" }]\n ],\n aliases: [\"alert-triangle\"]\n};\n__iconData.node;\nconst TriangleAlert = createLucideIcon(__iconData);\n\nexport { __iconData, TriangleAlert as default };\n//# sourceMappingURL=triangle-alert.mjs.map\n","\n!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]=\"16dd2d42-107f-5e31-abf9-f920f913fb2f\")}catch(e){}}();\nimport { r as connectConfig } from \"./connect.config-CaXMoB42.js\";\nimport { r as toast } from \"./toast-C6WW-_O-.js\";\nimport { t as useRegistryPackages } from \"./useRegistryPackages-DuoU75ap.js\";\nimport { a as shortGitSha, n as getGitSha, r as getGitUrl } from \"./build-info-BV8UtyA4.js\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nimport { t } from \"i18next\";\nimport { useCallback, useMemo, useState } from \"react\";\nimport { About, DangerZone, DefaultEditor, PackageManager, SettingsModal as SettingsModal$1, ThemeSwitch } from \"@powerhousedao/design-system/connect\";\nimport { DriveCollectionId, closePHModal, deleteDrive, setSelectedDrive, showPHModal, useDriveSystemInfo, useDrives, usePHModal, useSyncList, useVetraPackageManager } from \"@powerhousedao/reactor-browser\";\nimport { Icon } from \"@powerhousedao/design-system\";\nimport { getAiSettings, isAiConfigured, updateAiSettings } from \"@powerhousedao/reactor-browser/ai\";\nimport { Bot, CircleHelp, Package, PenLine, TriangleAlert } from \"lucide-react\";\n//#region package.json\nvar package_default = {\n\tname: \"@powerhousedao/connect\",\n\tproductName: \"Powerhouse-Connect\",\n\tversion: \"6.2.3\",\n\tdescription: \"Powerhouse Connect\",\n\tmain: \"dist/index.html\",\n\ttype: \"module\",\n\tengines: { \"node\": \">=24.0.0\" },\n\tfiles: [\n\t\t\"dist\",\n\t\t\"style.css\",\n\t\t\"nginx.conf\",\n\t\t\"nginx.sh\",\n\t\t\"scripts\",\n\t\t\"assets\",\n\t\t\"public\",\n\t\t\"heroku\",\n\t\t\".env\"\n\t],\n\texports: {\n\t\t\".\": {\n\t\t\t\"source\": \"./start-connect.tsx\",\n\t\t\t\"types\": \"./dist/start-connect.d.ts\",\n\t\t\t\"import\": \"./dist/start-connect.js\"\n\t\t},\n\t\t\"./main.js\": {\n\t\t\t\"source\": \"./main.tsx\",\n\t\t\t\"types\": \"./dist/main.d.ts\",\n\t\t\t\"import\": \"./dist/main.js\"\n\t\t},\n\t\t\"./assets/*\": \"./assets/*\",\n\t\t\"./style.css\": \"./dist/style.css\"\n\t},\n\tsideEffects: [\n\t\t\"./dist/main.js\",\n\t\t\"./dist/start-connect.js\",\n\t\t\"./dist/i18n-*.js\",\n\t\t\"./src/i18n/index.ts\",\n\t\t\"./dist/style.css\"\n\t],\n\tlicense: \"AGPL-3.0-only\",\n\tauthor: \"powerhouse.inc\",\n\trepository: {\n\t\t\"type\": \"git\",\n\t\t\"url\": \"https://github.com/powerhouse-inc/powerhouse\"\n\t},\n\tbugs: { \"url\": \"https://github.com/powerhouse-inc/powerhouse/issues\" },\n\thomepage: \"https://github.com/powerhouse-inc/powerhouse#readme\",\n\tscripts: {\n\t\t\"tsc\": \"tsc\",\n\t\t\"lint\": \"cd ../.. && oxlint apps/connect\",\n\t\t\"test\": \"vitest --run\",\n\t\t\"dev\": \"vite dev\",\n\t\t\"build\": \"pnpm run build:bundle && pnpm run build:css\",\n\t\t\"build:bundle\": \"tsdown\",\n\t\t\"build:css\": \"pnpm exec tailwindcss -i style.css -o dist/style.css\",\n\t\t\"build:debug\": \"cross-env PH_DEBUG_BUILD=true vite build\",\n\t\t\"preview\": \"vite preview\",\n\t\t\"docker:build\": \"docker build -f ./Dockerfile --tag connect-test-dev --build-arg TAG=dev .\",\n\t\t\"docker:run\": \"docker run -it -p 4000:4000 -v $(realpath ../../../monorepo):/monorepo -v $(pwd)/nginx.conf:/etc/nginx/nginx.conf.template -e PH_CONNECT_BASE_PATH=/develop/powerhouse/connect -e PORT=4000 connect-test-dev\"\n\t},\n\tdependencies: {\n\t\t\"@electric-sql/pglite\": \"catalog:\",\n\t\t\"@electric-sql/pglite-tools\": \"catalog:\",\n\t\t\"@openfeature/core\": \"1.9.1\",\n\t\t\"@openfeature/web-sdk\": \"1.6.2\",\n\t\t\"@openpanel/web\": \"^1.4.1\",\n\t\t\"@powerhousedao/config\": \"workspace:*\",\n\t\t\"@powerhousedao/design-system\": \"workspace:*\",\n\t\t\"@powerhousedao/document-engineering\": \"catalog:\",\n\t\t\"@powerhousedao/powerhouse-vetra-packages\": \"workspace:*\",\n\t\t\"@powerhousedao/reactor\": \"workspace:*\",\n\t\t\"@powerhousedao/reactor-attachments\": \"workspace:*\",\n\t\t\"@powerhousedao/reactor-browser\": \"workspace:*\",\n\t\t\"@powerhousedao/reactor-mcp\": \"workspace:*\",\n\t\t\"@powerhousedao/shared\": \"workspace:*\",\n\t\t\"@powerhousedao/vetra\": \"workspace:*\",\n\t\t\"@powerhousedao/workflow\": \"workspace:*\",\n\t\t\"@privy-io/react-auth\": \"3.35.0\",\n\t\t\"@rainbow-me/rainbowkit\": \"^2.2.11\",\n\t\t\"@renown/sdk\": \"workspace:*\",\n\t\t\"@sentry/react\": \"^10.17.0\",\n\t\t\"@tanstack/react-query\": \"^5.90.2\",\n\t\t\"document-model\": \"workspace:*\",\n\t\t\"i18next\": \"^25.5.3\",\n\t\t\"kysely\": \"catalog:\",\n\t\t\"kysely-pglite-dialect\": \"catalog:\",\n\t\t\"lucide-react\": \"^1.16.0\",\n\t\t\"pglite-legacy-02\": \"npm:@electric-sql/pglite@0.2.17\",\n\t\t\"pglite-tools-legacy-02\": \"npm:@electric-sql/pglite-tools@0.2.4\",\n\t\t\"react-error-boundary\": \"^4.0.11\",\n\t\t\"react-hotkeys-hook\": \"^4.6.2\",\n\t\t\"react-i18next\": \"^16.0.0\",\n\t\t\"react-router-dom\": \"^6.11.2\",\n\t\t\"tailwind-merge\": \"catalog:\",\n\t\t\"usehooks-ts\": \"^3.1.1\",\n\t\t\"wagmi\": \"2.19.5\",\n\t\t\"zod\": \"catalog:\"\n\t},\n\tdevDependencies: {\n\t\t\"cross-env\": \"catalog:\",\n\t\t\"@tailwindcss/cli\": \"catalog:\",\n\t\t\"@tailwindcss/vite\": \"catalog:\",\n\t\t\"@testing-library/dom\": \"^10.4.0\",\n\t\t\"@testing-library/react\": \"^16.0.1\",\n\t\t\"@types/bun\": \"catalog:\",\n\t\t\"@types/node\": \"catalog:\",\n\t\t\"@types/react\": \"catalog:\",\n\t\t\"@types/react-dom\": \"catalog:\",\n\t\t\"@types/wicg-file-system-access\": \"^2023.10.7\",\n\t\t\"@vitejs/plugin-react\": \"catalog:\",\n\t\t\"happy-dom\": \"^20.8.9\",\n\t\t\"react\": \"catalog:\",\n\t\t\"react-dom\": \"catalog:\",\n\t\t\"tailwindcss\": \"catalog:\",\n\t\t\"tsdown\": \"catalog:\",\n\t\t\"typescript\": \"catalog:\",\n\t\t\"vite\": \"catalog:\",\n\t\t\"vite-tsconfig-paths\": \"catalog:\"\n\t},\n\tpeerDependencies: {\n\t\t\"react\": \">=19.0.0\",\n\t\t\"react-dom\": \">=19.0.0\"\n\t}\n};\n//#endregion\n//#region src/components/modal/modals/settings/about.tsx\nconst About$1 = () => {\n\tconst onOpenInspector = () => {\n\t\tclosePHModal();\n\t\tshowPHModal({ type: \"inspector\" });\n\t};\n\treturn /* @__PURE__ */ jsxs(\"div\", { children: [\n\t\t/* @__PURE__ */ jsx(About, {\n\t\t\tpackageJson: package_default,\n\t\t\tphCliVersion: typeof connectConfig.phCliVersion === \"string\" ? connectConfig.phCliVersion : void 0\n\t\t}),\n\t\t/* @__PURE__ */ jsx(AppGitHash, {}),\n\t\t/* @__PURE__ */ jsx(ConnectedDrives, {}),\n\t\t/* @__PURE__ */ jsxs(\"div\", {\n\t\t\tclassName: \"bg-background p-3\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ jsx(\"h2\", {\n\t\t\t\t\tclassName: \"mb-2 font-semibold text-foreground\",\n\t\t\t\t\tchildren: \"Inspector\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ jsx(\"p\", {\n\t\t\t\t\tclassName: \"mb-3 text-sm font-normal text-foreground\",\n\t\t\t\t\tchildren: \"Explore the local database and sync state for debugging.\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ jsxs(\"button\", {\n\t\t\t\t\tclassName: \"flex items-center gap-x-2 rounded-md border border-border bg-transparent px-3 py-1 text-sm font-medium text-foreground transition-colors hover:hover-effect\",\n\t\t\t\t\tonClick: onOpenInspector,\n\t\t\t\t\ttype: \"button\",\n\t\t\t\t\tchildren: [\"Open Inspector \", /* @__PURE__ */ jsx(Icon, {\n\t\t\t\t\t\tname: \"CircleInfo\",\n\t\t\t\t\t\tsize: 16\n\t\t\t\t\t})]\n\t\t\t\t})\n\t\t\t]\n\t\t})\n\t] });\n};\nfunction AppGitHash() {\n\tconst sha = getGitSha();\n\tif (sha === \"unknown\") return null;\n\tconst url = getGitUrl();\n\tconst label = shortGitSha(sha);\n\treturn /* @__PURE__ */ jsxs(\"div\", {\n\t\tclassName: \"bg-background p-3 text-sm\",\n\t\tchildren: [/* @__PURE__ */ jsx(\"span\", {\n\t\t\tclassName: \"font-semibold\",\n\t\t\tchildren: \"Git hash: \"\n\t\t}), url ? /* @__PURE__ */ jsx(\"a\", {\n\t\t\tclassName: \"font-mono underline\",\n\t\t\thref: url,\n\t\t\ttarget: \"_blank\",\n\t\t\trel: \"noreferrer noopener\",\n\t\t\ttitle: sha,\n\t\t\tchildren: label\n\t\t}) : /* @__PURE__ */ jsx(\"span\", {\n\t\t\tclassName: \"font-mono\",\n\t\t\ttitle: sha,\n\t\t\tchildren: label\n\t\t})]\n\t});\n}\nfunction ConnectedDrives() {\n\tconst drives = useDrives() ?? [];\n\tconst remotes = useSyncList();\n\tconst remoteDrives = useMemo(() => drives.filter((d) => remotes.some((r) => r.meta.collectionId.equals(DriveCollectionId.forDrive(d.header.id)))), [drives, remotes]);\n\treturn /* @__PURE__ */ jsxs(\"div\", {\n\t\tclassName: \"my-4 bg-background p-3\",\n\t\tchildren: [/* @__PURE__ */ jsx(\"h2\", {\n\t\t\tclassName: \"mb-2 font-semibold text-foreground\",\n\t\t\tchildren: \"Connected drives\"\n\t\t}), remoteDrives.length === 0 ? /* @__PURE__ */ jsx(\"p\", {\n\t\t\tclassName: \"text-sm font-normal text-foreground\",\n\t\t\tchildren: \"No connected remote drives.\"\n\t\t}) : /* @__PURE__ */ jsx(\"ul\", {\n\t\t\tclassName: \"flex flex-col gap-3\",\n\t\t\tchildren: remoteDrives.map((drive) => /* @__PURE__ */ jsx(DriveAboutEntry, { drive }, drive.header.id))\n\t\t})]\n\t});\n}\nfunction DriveAboutEntry({ drive }) {\n\tconst info = useDriveSystemInfo(drive);\n\tconst name = drive.state.global.name || drive.header.name;\n\treturn /* @__PURE__ */ jsxs(\"li\", {\n\t\tclassName: \"text-sm text-foreground\",\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ jsxs(\"div\", {\n\t\t\t\tclassName: \"flex items-baseline gap-2\",\n\t\t\t\tchildren: [/* @__PURE__ */ jsx(\"span\", {\n\t\t\t\t\tclassName: \"font-medium\",\n\t\t\t\t\tchildren: name\n\t\t\t\t}), info.status === \"ready\" && /* @__PURE__ */ jsx(\"span\", {\n\t\t\t\t\tclassName: \"text-xs text-muted-foreground\",\n\t\t\t\t\tchildren: info.host\n\t\t\t\t})]\n\t\t\t}),\n\t\t\tinfo.status === \"loading\" && /* @__PURE__ */ jsx(\"div\", {\n\t\t\t\tclassName: \"mt-1 text-xs text-muted-foreground\",\n\t\t\t\tchildren: \"Loading…\"\n\t\t\t}),\n\t\t\tinfo.status === \"error\" && /* @__PURE__ */ jsx(\"div\", {\n\t\t\t\tclassName: \"mt-1 text-xs text-destructive\",\n\t\t\t\tchildren: \"Could not load system info\"\n\t\t\t}),\n\t\t\tinfo.status === \"ready\" && /* @__PURE__ */ jsxs(\"div\", {\n\t\t\t\tclassName: \"mt-1 text-xs text-foreground\",\n\t\t\t\tchildren: [/* @__PURE__ */ jsxs(\"div\", { children: [\n\t\t\t\t\t/* @__PURE__ */ jsx(\"span\", {\n\t\t\t\t\t\tclassName: \"font-medium\",\n\t\t\t\t\t\tchildren: \"Version:\"\n\t\t\t\t\t}),\n\t\t\t\t\t\" \",\n\t\t\t\t\tinfo.version\n\t\t\t\t] }), /* @__PURE__ */ jsxs(\"div\", { children: [/* @__PURE__ */ jsx(\"span\", {\n\t\t\t\t\tclassName: \"font-medium\",\n\t\t\t\t\tchildren: \"Git hash: \"\n\t\t\t\t}), info.gitUrl ? /* @__PURE__ */ jsx(\"a\", {\n\t\t\t\t\tclassName: \"font-mono hover:underline\",\n\t\t\t\t\thref: info.gitUrl,\n\t\t\t\t\ttarget: \"_blank\",\n\t\t\t\t\trel: \"noreferrer noopener\",\n\t\t\t\t\ttitle: info.gitHash,\n\t\t\t\t\tchildren: shortGitSha(info.gitHash)\n\t\t\t\t}) : /* @__PURE__ */ jsx(\"span\", {\n\t\t\t\t\tclassName: \"font-mono\",\n\t\t\t\t\ttitle: info.gitHash,\n\t\t\t\t\tchildren: shortGitSha(info.gitHash)\n\t\t\t\t})] })]\n\t\t\t}),\n\t\t\tinfo.status === \"local\" && /* @__PURE__ */ jsx(\"div\", {\n\t\t\t\tclassName: \"mt-1 text-xs text-muted-foreground\",\n\t\t\t\tchildren: \"Local drive — N/A\"\n\t\t\t})\n\t\t]\n\t});\n}\n//#endregion\n//#region src/components/modal/modals/settings/ai-assistant.tsx\nconst FIELD_CLASS = \"w-full rounded-md border border-border bg-background p-2.5 text-sm text-foreground outline-none placeholder:text-muted-foreground\";\n/**\n* Settings-modal section for the in-browser AI assistant: the user master\n* toggle, the OpenAI-compatible endpoint configuration, and a\n* save-and-test-connection action. Only mounted when the deployment\n* enables the feature (`connect.ai.assistantEnabled`).\n*/\nconst AiAssistant = () => {\n\tconst [draft, setDraft] = useState(() => getAiSettings());\n\tconst [test, setTest] = useState({ status: \"idle\" });\n\tconst patch = (value) => setDraft((d) => ({\n\t\t...d,\n\t\t...value\n\t}));\n\tconst saveAndTest = async () => {\n\t\tupdateAiSettings(draft);\n\t\tif (!isAiConfigured(draft)) {\n\t\t\tsetTest({\n\t\t\t\tstatus: \"error\",\n\t\t\t\tmessage: \"Base URL, API key and model are all required.\"\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tsetTest({ status: \"testing\" });\n\t\ttry {\n\t\t\tconst base = draft.baseUrl.trim().replace(/\\/+$/, \"\");\n\t\t\tconst res = await fetch(`${base}/models`, { headers: draft.apiKey.trim() ? { Authorization: `Bearer ${draft.apiKey.trim()}` } : void 0 });\n\t\t\tif (!res.ok) throw new Error(`HTTP ${res.status}${res.statusText ? ` ${res.statusText}` : \"\"}`);\n\t\t\tconst list = (await res.json())?.data;\n\t\t\tconst count = Array.isArray(list) ? list.length : 0;\n\t\t\tsetTest({\n\t\t\t\tstatus: \"ok\",\n\t\t\t\tmessage: count ? `Connected — ${count} model(s) available.` : \"Connected.\"\n\t\t\t});\n\t\t} catch (error) {\n\t\t\tsetTest({\n\t\t\t\tstatus: \"error\",\n\t\t\t\tmessage: `Connection failed: ${error instanceof Error ? error.message : String(error)}`\n\t\t\t});\n\t\t}\n\t};\n\treturn /* @__PURE__ */ jsxs(\"div\", {\n\t\tclassName: \"space-y-4 p-1\",\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ jsxs(\"div\", { children: [/* @__PURE__ */ jsxs(\"h3\", {\n\t\t\t\tclassName: \"flex items-center gap-2 text-sm font-semibold text-foreground\",\n\t\t\t\tchildren: [/* @__PURE__ */ jsx(Bot, { size: 16 }), \" AI Assistant\"]\n\t\t\t}), /* @__PURE__ */ jsx(\"p\", {\n\t\t\t\tclassName: \"mt-1 text-xs text-muted-foreground\",\n\t\t\t\tchildren: \"An in-page assistant that creates and changes documents, manages drives, and inspects read models through an OpenAI-compatible endpoint.\"\n\t\t\t})] }),\n\t\t\t/* @__PURE__ */ jsxs(\"label\", {\n\t\t\t\tclassName: \"flex items-center gap-2 text-sm text-foreground\",\n\t\t\t\tchildren: [/* @__PURE__ */ jsx(\"input\", {\n\t\t\t\t\ttype: \"checkbox\",\n\t\t\t\t\tchecked: draft.enabled,\n\t\t\t\t\tonChange: (event) => {\n\t\t\t\t\t\tpatch({ enabled: event.target.checked });\n\t\t\t\t\t\tupdateAiSettings({ enabled: event.target.checked });\n\t\t\t\t\t}\n\t\t\t\t}), \"Enable AI assistant\"]\n\t\t\t}),\n\t\t\tdraft.enabled && /* @__PURE__ */ jsxs(\"div\", {\n\t\t\t\tclassName: \"space-y-2 rounded-lg border border-border p-3\",\n\t\t\t\tchildren: [\n\t\t\t\t\t/* @__PURE__ */ jsx(\"div\", {\n\t\t\t\t\t\tclassName: \"mb-1 text-xs font-semibold tracking-wide text-muted-foreground uppercase\",\n\t\t\t\t\t\tchildren: \"Endpoint\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ jsx(\"input\", {\n\t\t\t\t\t\ttype: \"url\",\n\t\t\t\t\t\tplaceholder: \"Base URL (e.g. https://api.openai.com/v1)\",\n\t\t\t\t\t\tvalue: draft.baseUrl,\n\t\t\t\t\t\tonChange: (e) => patch({ baseUrl: e.target.value }),\n\t\t\t\t\t\tclassName: FIELD_CLASS,\n\t\t\t\t\t\tspellCheck: false\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ jsx(\"input\", {\n\t\t\t\t\t\ttype: \"password\",\n\t\t\t\t\t\tplaceholder: \"API key\",\n\t\t\t\t\t\tvalue: draft.apiKey,\n\t\t\t\t\t\tonChange: (e) => patch({ apiKey: e.target.value }),\n\t\t\t\t\t\tclassName: FIELD_CLASS,\n\t\t\t\t\t\tautoComplete: \"off\",\n\t\t\t\t\t\tspellCheck: false\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ jsx(\"input\", {\n\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\tplaceholder: \"Model (e.g. gpt-4o-mini)\",\n\t\t\t\t\t\tvalue: draft.model,\n\t\t\t\t\t\tonChange: (e) => patch({ model: e.target.value }),\n\t\t\t\t\t\tclassName: FIELD_CLASS,\n\t\t\t\t\t\tspellCheck: false\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ jsxs(\"label\", {\n\t\t\t\t\t\tclassName: \"flex items-center gap-2 pt-1 text-sm text-foreground\",\n\t\t\t\t\t\tchildren: [/* @__PURE__ */ jsx(\"input\", {\n\t\t\t\t\t\t\ttype: \"checkbox\",\n\t\t\t\t\t\t\tchecked: draft.autoApproveWrites,\n\t\t\t\t\t\t\tonChange: (event) => patch({ autoApproveWrites: event.target.checked })\n\t\t\t\t\t\t}), \"Auto-approve write actions\"]\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ jsx(\"p\", {\n\t\t\t\t\t\tclassName: \"text-xs text-muted-foreground\",\n\t\t\t\t\t\tchildren: \"Requests go directly from this browser to the endpoint; the API key is never sent to Powerhouse servers. The endpoint must allow cross-origin (CORS) requests from this site.\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ jsxs(\"div\", {\n\t\t\t\t\t\tclassName: \"flex items-center gap-3 pt-1\",\n\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t/* @__PURE__ */ jsx(\"button\", {\n\t\t\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\t\t\tonClick: () => void saveAndTest(),\n\t\t\t\t\t\t\t\tdisabled: test.status === \"testing\",\n\t\t\t\t\t\t\t\tclassName: \"rounded-md bg-primary px-3 py-1.5 text-sm font-semibold text-primary-foreground hover:bg-primary/90 disabled:disabled-effect\",\n\t\t\t\t\t\t\t\tchildren: test.status === \"testing\" ? \"Testing…\" : \"Save & test connection\"\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\ttest.status === \"ok\" && /* @__PURE__ */ jsx(\"span\", {\n\t\t\t\t\t\t\t\tclassName: \"text-xs text-foreground\",\n\t\t\t\t\t\t\t\tchildren: test.message\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\ttest.status === \"error\" && /* @__PURE__ */ jsx(\"span\", {\n\t\t\t\t\t\t\t\tclassName: \"text-xs text-destructive\",\n\t\t\t\t\t\t\t\tchildren: test.message\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t]\n\t\t\t\t\t})\n\t\t\t\t]\n\t\t\t})\n\t\t]\n\t});\n};\n//#endregion\n//#region src/components/modal/modals/settings/danger-zone.tsx\nconst DangerZone$1 = () => {\n\tconst drives = useDrives();\n\tconst handleDeleteDrive = async (drive) => {\n\t\tawait deleteDrive(drive.header.id);\n\t\tsetSelectedDrive(void 0);\n\t};\n\tconst handleClearStorage = () => {\n\t\tshowPHModal({ type: \"clearStorage\" });\n\t};\n\treturn /* @__PURE__ */ jsx(DangerZone, {\n\t\tdrives: drives ?? [],\n\t\tonDeleteDrive: (drive) => {\n\t\t\thandleDeleteDrive(drive);\n\t\t},\n\t\tonClearStorage: handleClearStorage\n\t});\n};\n//#endregion\n//#region src/components/modal/modals/settings/default-editor.tsx\nconst documentModelEditorOptions = [{\n\tlabel: \"V1\",\n\tvalue: \"document-model-editor\"\n}, {\n\tlabel: \"V2\",\n\tvalue: \"document-model-editor-v2\"\n}];\nconst DefaultEditor$1 = () => {\n\tconst [documentModelEditor, setDocumentModelEditor] = useState(documentModelEditorOptions[1]);\n\tconst handleSetDocumentEditor = useCallback((value) => {\n\t\tconst option = documentModelEditorOptions.find((dm) => dm.value == value);\n\t\tif (option) setDocumentModelEditor(option);\n\t}, []);\n\treturn /* @__PURE__ */ jsx(DefaultEditor, {\n\t\tdocumentModelEditor: documentModelEditor.value,\n\t\tsetDocumentModelEditor: handleSetDocumentEditor,\n\t\tdocumentModelEditorOptions\n\t});\n};\n//#endregion\n//#region src/components/modal/modals/settings/package-manager.tsx\n/**\n* Split a `name@tag` spec into its bare package name. Mirrors the design-system's\n* `parsePackageSpec` — duplicated here to avoid reaching into a deep subpath\n* export. Scoped names split on the LAST `@`, unscoped on the first.\n*/\nfunction parseBareName(spec) {\n\tconst trimmed = spec.trim();\n\tconst at = trimmed.startsWith(\"@\") ? trimmed.lastIndexOf(\"@\") : trimmed.indexOf(\"@\");\n\treturn at > 0 ? trimmed.slice(0, at) : trimmed;\n}\nconst ConnectPackageManager = () => {\n\tconst packageManager = useVetraPackageManager();\n\tconst { registryPackageList, installedPackages, availablePackages, availableHasMore, isLoadingAvailable, isLoadingMoreAvailable, availableError, ensureAvailableLoaded, ensureInstalledMetadataLoaded, fetchAvailablePage, loadMoreAvailable, setAvailableSearch, updateRegistryPackageStatus, registerFallbackRegistryPackage } = useRegistryPackages();\n\tasync function handleInstall(packageSpec) {\n\t\tif (!packageManager) return;\n\t\tconst bareName = parseBareName(packageSpec);\n\t\tconst wasKnownToRegistry = registryPackageList.some((p) => p.name === bareName);\n\t\tconst result = await packageManager.addPackage(packageSpec);\n\t\tif (result.type === \"success\") {\n\t\t\tif (wasKnownToRegistry) updateRegistryPackageStatus(bareName, \"registry-install\");\n\t\t\telse registerFallbackRegistryPackage(bareName, result.package, packageManager.getPackageVersion(bareName) ?? packageManager.getPackageVersion(packageSpec), \"registry-install\");\n\t\t\ttoast(`Package \"${packageSpec}\" installed successfully`, { type: \"connect-success\" });\n\t\t} else {\n\t\t\tconst message = result.error.message;\n\t\t\tconsole.error(`[Connect][PackageManager] Install failed for \"${packageSpec}\":`, result.error);\n\t\t\tconst userMessage = /failed to fetch|404|not found/i.test(message) ? `Couldn't install \"${packageSpec}\". It isn't available on this registry or via npm.` : `Couldn't install \"${packageSpec}\". Please try again.`;\n\t\t\ttoast(userMessage, { type: \"error\" });\n\t\t}\n\t}\n\tfunction handleUninstall(packageName) {\n\t\tif (!packageManager) return;\n\t\ttry {\n\t\t\tpackageManager.removePackage(packageName);\n\t\t\tupdateRegistryPackageStatus(packageName, \"available\");\n\t\t\ttoast(`Package \"${packageName}\" uninstalled successfully`, { type: \"connect-success\" });\n\t\t} catch (error) {\n\t\t\tconsole.error(`[Connect][PackageManager] Uninstall failed for \"${packageName}\":`, error);\n\t\t\ttoast(`Couldn't uninstall \"${packageName}\". Please try again.`, { type: \"error\" });\n\t\t}\n\t}\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\tclassName: \"flex min-h-0 flex-1 flex-col\",\n\t\tchildren: /* @__PURE__ */ jsx(PackageManager, {\n\t\t\tmutable: true,\n\t\t\tinstalledPackages,\n\t\t\tavailablePackages,\n\t\t\tisAvailableLoading: isLoadingAvailable,\n\t\t\tisLoadingMoreAvailable,\n\t\t\thasMoreAvailable: availableHasMore,\n\t\t\tonLoadMoreAvailable: loadMoreAvailable,\n\t\t\tavailableError,\n\t\t\tonAvailableRetry: () => {\n\t\t\t\tfetchAvailablePage({ reset: true });\n\t\t\t},\n\t\t\tonAvailableSearchChange: setAvailableSearch,\n\t\t\tonAvailableTabOpen: ensureAvailableLoaded,\n\t\t\tonInstalledTabOpen: ensureInstalledMetadataLoaded,\n\t\t\tonInstall: handleInstall,\n\t\t\tonUninstall: handleUninstall\n\t\t})\n\t});\n};\n//#endregion\n//#region src/components/modal/modals/SettingsModal.tsx\nconst iconProps = { size: 16 };\nconst SettingsModal = () => {\n\tconst open = usePHModal()?.type === \"settings\";\n\tconst tabs = useMemo(() => [\n\t\t...connectConfig.aiAssistantEnabled ? [{\n\t\t\tid: \"ai-assistant\",\n\t\t\ticon: /* @__PURE__ */ jsx(Bot, { ...iconProps }),\n\t\t\tlabel: \"AI Assistant\",\n\t\t\tcontent: AiAssistant\n\t\t}] : [],\n\t\t{\n\t\t\tid: \"package-manager\",\n\t\t\ticon: /* @__PURE__ */ jsx(Package, { ...iconProps }),\n\t\t\tlabel: \"Package Manager\",\n\t\t\tcontent: ConnectPackageManager\n\t\t},\n\t\t{\n\t\t\tid: \"default-editors\",\n\t\t\ticon: /* @__PURE__ */ jsx(PenLine, { ...iconProps }),\n\t\t\tlabel: \"Default Editors\",\n\t\t\tcontent: DefaultEditor$1\n\t\t},\n\t\t{\n\t\t\tid: \"danger-zone\",\n\t\t\ticon: /* @__PURE__ */ jsx(TriangleAlert, {\n\t\t\t\t...iconProps,\n\t\t\t\tclassName: \"text-destructive\"\n\t\t\t}),\n\t\t\tlabel: /* @__PURE__ */ jsx(\"span\", {\n\t\t\t\tclassName: \"text-destructive\",\n\t\t\t\tchildren: \"Danger Zone\"\n\t\t\t}),\n\t\t\tcontent: () => /* @__PURE__ */ jsx(DangerZone$1, {})\n\t\t},\n\t\t{\n\t\t\tid: \"about\",\n\t\t\ticon: /* @__PURE__ */ jsx(CircleHelp, { ...iconProps }),\n\t\t\tlabel: \"About\",\n\t\t\tcontent: About$1\n\t\t}\n\t], []);\n\treturn /* @__PURE__ */ jsx(SettingsModal$1, {\n\t\topen,\n\t\ttitle: t(\"modals.connectSettings.title\"),\n\t\tonOpenChange: (status) => {\n\t\t\tif (!status) return closePHModal();\n\t\t},\n\t\ttabs,\n\t\tnavFooter: /* @__PURE__ */ jsx(ThemeSwitch, { horizontal: true })\n\t});\n};\n//#endregion\nexport { SettingsModal };\n\n//# sourceMappingURL=SettingsModal-CgjW-M2a.js.map\n//# debugId=16dd2d42-107f-5e31-abf9-f920f913fb2f\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],"mappings":"u/BAOA,IAAM,GAAe,GAAW,GAAQ,QAAQ,qBAAsB,OAAO,CAAC,CAAC,YAAY,ECE3F,SAAS,GAAiB,EAAU,EAAU,EAAU,CAAC,EAAG,CAC1D,GAAI,GAAY,KACd,MAAU,MAAM,uDAAuD,EAEzE,MAAO,CACL,KAAM,GAAY,CAAQ,EAC1B,KAAM,GACN,KAAM,EACN,GAAG,EAAQ,OAAS,EAAI,CAAE,SAAQ,EAAI,CAAC,CACzC,CACF,CCZA,IAAM,GAAe,GAAW,CAC9B,IAAI,EAAM,GACN,EAAY,GAChB,IAAK,IAAM,KAAM,EAAQ,CACvB,GAAI,IAAO,KAAO,IAAO,KAAO,GAAM,IAAK,CACzC,EAAY,EAAI,OAAS,EACzB,QACF,CACI,EAAI,SAAW,EACjB,GAAO,EAAG,YA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,CAAE,MAAO,EAAK,CAAC,CACnC,EACA,wBAAyB,EACzB,mBAAoB,EACpB,mBAAoB,EACpB,UAAW,EACX,YAAa,CACd,CAAC,CACF,CAAC,CACF,EAGM,EAAY,CAAE,KAAM,EAAG,EACvB,OAAsB,CAC3B,IAAM,EAAO,EAAW,CAAC,EAAE,OAAS,WAC9B,EAAO,MAAc,CAC1B,GAAG,EAAc,mBAAqB,CAAC,CACtC,GAAI,eACJ,KAAsB,EAAI,EAAK,CAAE,GAAG,CAAU,CAAC,EAC/C,MAAO,eACP,QAAS,EACV,CAAC,EAAI,CAAC,EACN,CACC,GAAI,kBACJ,KAAsB,EAAI,GAAS,CAAE,GAAG,CAAU,CAAC,EACnD,MAAO,kBACP,QAAS,EACV,EACA,CACC,GAAI,kBACJ,KAAsB,EAAI,GAAS,CAAE,GAAG,CAAU,CAAC,EACnD,MAAO,kBACP,QAAS,EACV,EACA,CACC,GAAI,cACJ,KAAsB,EAAI,GAAe,CACxC,GAAG,EACH,UAAW,kBACZ,CAAC,EACD,MAAuB,EAAI,OAAQ,CAClC,UAAW,mBACX,SAAU,aACX,CAAC,EACD,YAA+B,EAAI,EAAc,CAAC,CAAC,CACpD,EACA,CACC,GAAI,QACJ,KAAsB,EAAIC,EAAY,CAAE,GAAG,CAAU,CAAC,EACtD,MAAO,QACP,QAAS,EACV,CACD,EAAG,CAAC,CAAC,EACL,OAAuB,EAAI,EAAiB,CAC3C,OACA,MAAO,EAAE,8BAA8B,EACvC,aAAe,GAAW,CACzB,GAAI,CAAC,EAAQ,OAAO,EAAa,CAClC,EACA,OACA,UAA2B,EAAI,EAAa,CAAE,WAAY,EAAK,CAAC,CACjE,CAAC,CACF"}
1
+ {"version":3,"file":"SettingsModal-CgjW-M2a-BKJzJ25U.js","names":["__iconData","__iconData","__iconData","__iconData","Icon","CircleHelp"],"sources":["../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/utils/toLucideIconData.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/build/defaultAttributes.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconNode.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconForReact.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/context.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/Icon.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/createLucideIcon.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/bot.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/circle-question-mark.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/package.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/pen-line.mjs","../../../../../node_modules/.pnpm/lucide-react@1.59.0_@types+react@19.3.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/triangle-alert.mjs","../../../../../node_modules/.pnpm/@powerhousedao+connect@6.2.3_031a39ff375233beffe5df359486f16d/node_modules/@powerhousedao/connect/dist/SettingsModal-CgjW-M2a.js"],"sourcesContent":["/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toKebabCase = (string) => string?.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase();\n\nexport { toKebabCase };\n//# sourceMappingURL=toKebabCase.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { toKebabCase } from './toKebabCase.mjs';\n\nfunction toLucideIconData(iconName, iconNode, aliases = []) {\n if (iconNode == null) {\n throw new Error(\"[lucide]: iconNode is required when icon name is used\");\n }\n return {\n name: toKebabCase(iconName),\n size: 24,\n node: iconNode,\n ...aliases.length > 0 ? { aliases } : {}\n };\n}\n\nexport { toLucideIconData };\n//# sourceMappingURL=toLucideIconData.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toCamelCase = (string) => {\n let out = \"\";\n let upperNext = false;\n for (const ch of string) {\n if (ch === \"-\" || ch === \"_\" || ch <= \" \") {\n upperNext = out.length > 0;\n continue;\n }\n if (out.length === 0) {\n out += ch.toLowerCase();\n } else {\n out += upperNext ? ch.toUpperCase() : ch;\n }\n upperNext = false;\n }\n return out;\n};\n\nexport { toCamelCase };\n//# sourceMappingURL=toCamelCase.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { toCamelCase } from './toCamelCase.mjs';\n\nconst toPascalCase = (string) => {\n const camelCase = toCamelCase(string);\n return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);\n};\n\nexport { toPascalCase };\n//# sourceMappingURL=toPascalCase.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst mergeClasses = (...classes) => classes.filter((className, index, array) => {\n return Boolean(className) && className.trim() !== \"\" && array.indexOf(className) === index;\n}).join(\" \").trim();\n\nexport { mergeClasses };\n//# sourceMappingURL=mergeClasses.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst defaultAttributes = {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-width\": 2,\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n};\n\nexport { defaultAttributes as default };\n//# sourceMappingURL=defaultAttributes.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport defaultAttributes from './defaultAttributes.mjs';\nimport { mergeClasses } from '../utils/mergeClasses.mjs';\n\nfunction isDefined(value) {\n return value !== null && value !== void 0;\n}\nfunction buildLucideIconNode(icon, params = {}) {\n const attributeNames = params.attributeNames ?? {};\n const getAttributeName = (attributeName) => attributeNames[attributeName] ?? attributeName;\n const viewBoxWidth = icon.size ?? icon.width ?? defaultAttributes[\"width\"];\n const viewBoxHeight = icon.size ?? icon.height ?? defaultAttributes[\"height\"];\n const aliasClassNames = icon.aliases?.filter((alias) => typeof alias === \"string\" && alias.trim() !== \"\").map((alias) => `lucide-${alias}`) ?? [];\n const iconClassNames = [...icon.name ? [`lucide-${icon.name}`] : [], ...aliasClassNames];\n const classNamesFromClassName = params.className?.split(\" \").filter(Boolean) ?? [];\n const className = params.includeDefaultClasses === false ? mergeClasses(...classNamesFromClassName) : mergeClasses(\"lucide\", ...iconClassNames, ...classNamesFromClassName);\n const calculatedStrokeWidth = params.absoluteStrokeWidth ? Number(params.strokeWidth ?? defaultAttributes[\"stroke-width\"]) * Number(icon.size ?? icon.width ?? defaultAttributes[\"width\"]) / Number(params.size ?? params.width ?? defaultAttributes[\"width\"]) : params.strokeWidth ?? defaultAttributes[\"stroke-width\"];\n const attributes = {\n ...Object.entries(defaultAttributes).reduce((attrs, [attrName, value]) => {\n attrs[getAttributeName(attrName)] = value;\n return attrs;\n }, {}),\n ...\"color\" in params && params.color && {\n [getAttributeName(\"stroke\")]: params.color\n },\n ...\"size\" in params && isDefined(params.size) && {\n [getAttributeName(\"width\")]: params.size,\n [getAttributeName(\"height\")]: params.size\n },\n ...\"width\" in params && isDefined(params.width) && {\n [getAttributeName(\"width\")]: params.width\n },\n ...\"height\" in params && isDefined(params.height) && {\n [getAttributeName(\"height\")]: params.height\n },\n [getAttributeName(\"stroke-width\")]: calculatedStrokeWidth,\n ...className && {\n [getAttributeName(\"class\")]: className\n },\n [getAttributeName(\"viewBox\")]: `0 0 ${viewBoxWidth} ${viewBoxHeight}`,\n ...params.hasA11yProp === false ? {\n [getAttributeName(\"aria-hidden\")]: \"true\"\n } : {},\n ...\"attributes\" in params && params.attributes\n };\n return [\n \"svg\",\n attributes,\n icon.node.map((child) => {\n const [name, attrs, children] = child;\n const nextAttrs = params.nonScalingStroke ? { [getAttributeName(\"vector-effect\")]: \"non-scaling-stroke\", ...attrs } : attrs;\n return children ? [name, nextAttrs, children] : [name, nextAttrs];\n })\n ];\n}\n\nexport { buildLucideIconNode as default };\n//# sourceMappingURL=buildLucideIconNode.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport buildLucideIconNode from './buildLucideIconNode.mjs';\n\nfunction buildLucideIconForReact(icon, params = {}) {\n return buildLucideIconNode(icon, {\n ...params,\n attributeNames: {\n ...params.attributeNames,\n class: \"className\",\n \"stroke-width\": \"strokeWidth\",\n \"stroke-linecap\": \"strokeLinecap\",\n \"stroke-linejoin\": \"strokeLinejoin\",\n \"vector-effect\": \"vectorEffect\"\n }\n });\n}\n\nexport { buildLucideIconForReact as default };\n//# sourceMappingURL=buildLucideIconForReact.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst hasA11yProp = (props) => {\n for (const prop in props) {\n if (prop.startsWith(\"aria-\") || prop === \"role\" || prop === \"title\") {\n return true;\n }\n }\n return false;\n};\n\nexport { hasA11yProp };\n//# sourceMappingURL=hasA11yProp.mjs.map\n","\"use strict\";\n\"use client\";\n/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { createContext, useContext, useMemo, createElement } from 'react';\n\nconst LucideContext = createContext({});\nfunction LucideProvider({\n children,\n size,\n color,\n strokeWidth,\n absoluteStrokeWidth,\n nonScalingStroke,\n className\n}) {\n const value = useMemo(\n () => ({\n size,\n color,\n strokeWidth,\n absoluteStrokeWidth,\n nonScalingStroke,\n className\n }),\n [size, color, strokeWidth, absoluteStrokeWidth, nonScalingStroke, className]\n );\n return createElement(LucideContext.Provider, { value }, children);\n}\nconst useLucideContext = () => useContext(LucideContext);\n\nexport { LucideProvider, useLucideContext };\n//# sourceMappingURL=context.mjs.map\n","\"use strict\";\n\"use client\";\n/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport { mergeClasses } from './shared/src/utils/mergeClasses.mjs';\nimport buildLucideIconForReact from './shared/src/build/buildLucideIconForReact.mjs';\nimport { hasA11yProp } from './shared/src/utils/hasA11yProp.mjs';\nimport { useLucideContext } from './context.mjs';\n\nconst Icon = forwardRef(\n ({\n color,\n size,\n width,\n height,\n strokeWidth,\n absoluteStrokeWidth,\n nonScalingStroke,\n className = \"\",\n children,\n iconNode = [],\n icon = {\n node: iconNode,\n aliases: [],\n size: 24\n },\n ...rest\n }, ref) => {\n const {\n size: contextSize = 24,\n strokeWidth: contextStrokeWidth = 2,\n absoluteStrokeWidth: contextAbsoluteStrokeWidth = false,\n nonScalingStroke: contextNonScalingStroke = false,\n color: contextColor = \"currentColor\",\n className: contextClass = \"\"\n } = useLucideContext() ?? {};\n const hasAccessibleProp = Boolean(children) || hasA11yProp(rest);\n const [name, svgAttributes, builtIconNode = []] = buildLucideIconForReact(icon, {\n color: color ?? contextColor,\n width: width ?? size ?? contextSize,\n height: height ?? size ?? contextSize,\n strokeWidth: strokeWidth ?? contextStrokeWidth,\n absoluteStrokeWidth: absoluteStrokeWidth ?? contextAbsoluteStrokeWidth,\n nonScalingStroke: nonScalingStroke ?? contextNonScalingStroke,\n className: mergeClasses(contextClass, className),\n hasA11yProp: hasAccessibleProp,\n attributes: rest\n });\n return createElement(\n name,\n {\n ref,\n ...svgAttributes\n },\n [\n ...builtIconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...Array.isArray(children) ? children : [children]\n ]\n );\n }\n);\n\nexport { Icon as default };\n//# sourceMappingURL=Icon.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport { toLucideIconData } from './shared/src/utils/toLucideIconData.mjs';\nimport { toPascalCase } from './shared/src/utils/toPascalCase.mjs';\nimport Icon from './Icon.mjs';\n\nfunction createLucideIcon(iconDataOrName, iconNode = [], aliases = []) {\n const iconData = typeof iconDataOrName === \"string\" ? toLucideIconData(iconDataOrName, iconNode, aliases) : iconDataOrName;\n const Component = forwardRef(\n ({ className, ...props }, ref) => createElement(Icon, {\n ref,\n icon: iconData,\n className,\n ...props\n })\n );\n if (iconData.name) {\n Component.displayName = toPascalCase(iconData.name);\n }\n return Component;\n}\n\nexport { createLucideIcon as default };\n//# sourceMappingURL=createLucideIcon.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconData = {\n name: \"bot\",\n size: 24,\n node: [\n [\"path\", { d: \"M12 8V4H8\", key: \"hb8ula\" }],\n [\"rect\", { width: \"16\", height: \"12\", x: \"4\", y: \"8\", rx: \"2\", key: \"enze0r\" }],\n [\"path\", { d: \"M2 14h2\", key: \"vft8re\" }],\n [\"path\", { d: \"M20 14h2\", key: \"4cs60a\" }],\n [\"path\", { d: \"M15 13v2\", key: \"1xurst\" }],\n [\"path\", { d: \"M9 13v2\", key: \"rq6x2g\" }]\n ]\n};\n__iconData.node;\nconst Bot = createLucideIcon(__iconData);\n\nexport { __iconData, Bot as default };\n//# sourceMappingURL=bot.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconData = {\n name: \"circle-question-mark\",\n size: 24,\n node: [\n [\"circle\", { cx: \"12\", cy: \"12\", r: \"10\", key: \"1mglay\" }],\n [\"path\", { d: \"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3\", key: \"1u773s\" }],\n [\"path\", { d: \"M12 17h.01\", key: \"p32p05\" }]\n ],\n aliases: [\"help-circle\", \"circle-help\"]\n};\n__iconData.node;\nconst CircleQuestionMark = createLucideIcon(__iconData);\n\nexport { __iconData, CircleQuestionMark as default };\n//# sourceMappingURL=circle-question-mark.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconData = {\n name: \"package\",\n size: 24,\n node: [\n [\n \"path\",\n {\n d: \"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z\",\n key: \"1a0edw\"\n }\n ],\n [\"path\", { d: \"M12 22V12\", key: \"d0xqtd\" }],\n [\"polyline\", { points: \"3.29 7 12 12 20.71 7\", key: \"ousv84\" }],\n [\"path\", { d: \"m7.5 4.27 9 5.15\", key: \"1c824w\" }]\n ]\n};\n__iconData.node;\nconst Package = createLucideIcon(__iconData);\n\nexport { __iconData, Package as default };\n//# sourceMappingURL=package.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconData = {\n name: \"pen-line\",\n size: 24,\n node: [\n [\"path\", { d: \"M13 21h8\", key: \"1jsn5i\" }],\n [\n \"path\",\n {\n d: \"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z\",\n key: \"1a8usu\"\n }\n ]\n ],\n aliases: [\"edit-3\"]\n};\n__iconData.node;\nconst PenLine = createLucideIcon(__iconData);\n\nexport { __iconData, PenLine as default };\n//# sourceMappingURL=pen-line.mjs.map\n","/**\n * @license lucide-react v1.59.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconData = {\n name: \"triangle-alert\",\n size: 24,\n node: [\n [\n \"path\",\n {\n d: \"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\",\n key: \"wmoenq\"\n }\n ],\n [\"path\", { d: \"M12 9v4\", key: \"juzpu7\" }],\n [\"path\", { d: \"M12 17h.01\", key: \"p32p05\" }]\n ],\n aliases: [\"alert-triangle\"]\n};\n__iconData.node;\nconst TriangleAlert = createLucideIcon(__iconData);\n\nexport { __iconData, TriangleAlert as default };\n//# sourceMappingURL=triangle-alert.mjs.map\n","\n!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]=\"16dd2d42-107f-5e31-abf9-f920f913fb2f\")}catch(e){}}();\nimport { r as connectConfig } from \"./connect.config-CaXMoB42.js\";\nimport { r as toast } from \"./toast-C6WW-_O-.js\";\nimport { t as useRegistryPackages } from \"./useRegistryPackages-DuoU75ap.js\";\nimport { a as shortGitSha, n as getGitSha, r as getGitUrl } from \"./build-info-BV8UtyA4.js\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nimport { t } from \"i18next\";\nimport { useCallback, useMemo, useState } from \"react\";\nimport { About, DangerZone, DefaultEditor, PackageManager, SettingsModal as SettingsModal$1, ThemeSwitch } from \"@powerhousedao/design-system/connect\";\nimport { DriveCollectionId, closePHModal, deleteDrive, setSelectedDrive, showPHModal, useDriveSystemInfo, useDrives, usePHModal, useSyncList, useVetraPackageManager } from \"@powerhousedao/reactor-browser\";\nimport { Icon } from \"@powerhousedao/design-system\";\nimport { getAiSettings, isAiConfigured, updateAiSettings } from \"@powerhousedao/reactor-browser/ai\";\nimport { Bot, CircleHelp, Package, PenLine, TriangleAlert } from \"lucide-react\";\n//#region package.json\nvar package_default = {\n\tname: \"@powerhousedao/connect\",\n\tproductName: \"Powerhouse-Connect\",\n\tversion: \"6.2.3\",\n\tdescription: \"Powerhouse Connect\",\n\tmain: \"dist/index.html\",\n\ttype: \"module\",\n\tengines: { \"node\": \">=24.0.0\" },\n\tfiles: [\n\t\t\"dist\",\n\t\t\"style.css\",\n\t\t\"nginx.conf\",\n\t\t\"nginx.sh\",\n\t\t\"scripts\",\n\t\t\"assets\",\n\t\t\"public\",\n\t\t\"heroku\",\n\t\t\".env\"\n\t],\n\texports: {\n\t\t\".\": {\n\t\t\t\"source\": \"./start-connect.tsx\",\n\t\t\t\"types\": \"./dist/start-connect.d.ts\",\n\t\t\t\"import\": \"./dist/start-connect.js\"\n\t\t},\n\t\t\"./main.js\": {\n\t\t\t\"source\": \"./main.tsx\",\n\t\t\t\"types\": \"./dist/main.d.ts\",\n\t\t\t\"import\": \"./dist/main.js\"\n\t\t},\n\t\t\"./assets/*\": \"./assets/*\",\n\t\t\"./style.css\": \"./dist/style.css\"\n\t},\n\tsideEffects: [\n\t\t\"./dist/main.js\",\n\t\t\"./dist/start-connect.js\",\n\t\t\"./dist/i18n-*.js\",\n\t\t\"./src/i18n/index.ts\",\n\t\t\"./dist/style.css\"\n\t],\n\tlicense: \"AGPL-3.0-only\",\n\tauthor: \"powerhouse.inc\",\n\trepository: {\n\t\t\"type\": \"git\",\n\t\t\"url\": \"https://github.com/powerhouse-inc/powerhouse\"\n\t},\n\tbugs: { \"url\": \"https://github.com/powerhouse-inc/powerhouse/issues\" },\n\thomepage: \"https://github.com/powerhouse-inc/powerhouse#readme\",\n\tscripts: {\n\t\t\"tsc\": \"tsc\",\n\t\t\"lint\": \"cd ../.. && oxlint apps/connect\",\n\t\t\"test\": \"vitest --run\",\n\t\t\"dev\": \"vite dev\",\n\t\t\"build\": \"pnpm run build:bundle && pnpm run build:css\",\n\t\t\"build:bundle\": \"tsdown\",\n\t\t\"build:css\": \"pnpm exec tailwindcss -i style.css -o dist/style.css\",\n\t\t\"build:debug\": \"cross-env PH_DEBUG_BUILD=true vite build\",\n\t\t\"preview\": \"vite preview\",\n\t\t\"docker:build\": \"docker build -f ./Dockerfile --tag connect-test-dev --build-arg TAG=dev .\",\n\t\t\"docker:run\": \"docker run -it -p 4000:4000 -v $(realpath ../../../monorepo):/monorepo -v $(pwd)/nginx.conf:/etc/nginx/nginx.conf.template -e PH_CONNECT_BASE_PATH=/develop/powerhouse/connect -e PORT=4000 connect-test-dev\"\n\t},\n\tdependencies: {\n\t\t\"@electric-sql/pglite\": \"catalog:\",\n\t\t\"@electric-sql/pglite-tools\": \"catalog:\",\n\t\t\"@openfeature/core\": \"1.9.1\",\n\t\t\"@openfeature/web-sdk\": \"1.6.2\",\n\t\t\"@openpanel/web\": \"^1.4.1\",\n\t\t\"@powerhousedao/config\": \"workspace:*\",\n\t\t\"@powerhousedao/design-system\": \"workspace:*\",\n\t\t\"@powerhousedao/document-engineering\": \"catalog:\",\n\t\t\"@powerhousedao/powerhouse-vetra-packages\": \"workspace:*\",\n\t\t\"@powerhousedao/reactor\": \"workspace:*\",\n\t\t\"@powerhousedao/reactor-attachments\": \"workspace:*\",\n\t\t\"@powerhousedao/reactor-browser\": \"workspace:*\",\n\t\t\"@powerhousedao/reactor-mcp\": \"workspace:*\",\n\t\t\"@powerhousedao/shared\": \"workspace:*\",\n\t\t\"@powerhousedao/vetra\": \"workspace:*\",\n\t\t\"@powerhousedao/workflow\": \"workspace:*\",\n\t\t\"@privy-io/react-auth\": \"3.35.0\",\n\t\t\"@rainbow-me/rainbowkit\": \"^2.2.11\",\n\t\t\"@renown/sdk\": \"workspace:*\",\n\t\t\"@sentry/react\": \"^10.17.0\",\n\t\t\"@tanstack/react-query\": \"^5.90.2\",\n\t\t\"document-model\": \"workspace:*\",\n\t\t\"i18next\": \"^25.5.3\",\n\t\t\"kysely\": \"catalog:\",\n\t\t\"kysely-pglite-dialect\": \"catalog:\",\n\t\t\"lucide-react\": \"^1.16.0\",\n\t\t\"pglite-legacy-02\": \"npm:@electric-sql/pglite@0.2.17\",\n\t\t\"pglite-tools-legacy-02\": \"npm:@electric-sql/pglite-tools@0.2.4\",\n\t\t\"react-error-boundary\": \"^4.0.11\",\n\t\t\"react-hotkeys-hook\": \"^4.6.2\",\n\t\t\"react-i18next\": \"^16.0.0\",\n\t\t\"react-router-dom\": \"^6.11.2\",\n\t\t\"tailwind-merge\": \"catalog:\",\n\t\t\"usehooks-ts\": \"^3.1.1\",\n\t\t\"wagmi\": \"2.19.5\",\n\t\t\"zod\": \"catalog:\"\n\t},\n\tdevDependencies: {\n\t\t\"cross-env\": \"catalog:\",\n\t\t\"@tailwindcss/cli\": \"catalog:\",\n\t\t\"@tailwindcss/vite\": \"catalog:\",\n\t\t\"@testing-library/dom\": \"^10.4.0\",\n\t\t\"@testing-library/react\": \"^16.0.1\",\n\t\t\"@types/bun\": \"catalog:\",\n\t\t\"@types/node\": \"catalog:\",\n\t\t\"@types/react\": \"catalog:\",\n\t\t\"@types/react-dom\": \"catalog:\",\n\t\t\"@types/wicg-file-system-access\": \"^2023.10.7\",\n\t\t\"@vitejs/plugin-react\": \"catalog:\",\n\t\t\"happy-dom\": \"^20.8.9\",\n\t\t\"react\": \"catalog:\",\n\t\t\"react-dom\": \"catalog:\",\n\t\t\"tailwindcss\": \"catalog:\",\n\t\t\"tsdown\": \"catalog:\",\n\t\t\"typescript\": \"catalog:\",\n\t\t\"vite\": \"catalog:\",\n\t\t\"vite-tsconfig-paths\": \"catalog:\"\n\t},\n\tpeerDependencies: {\n\t\t\"react\": \">=19.0.0\",\n\t\t\"react-dom\": \">=19.0.0\"\n\t}\n};\n//#endregion\n//#region src/components/modal/modals/settings/about.tsx\nconst About$1 = () => {\n\tconst onOpenInspector = () => {\n\t\tclosePHModal();\n\t\tshowPHModal({ type: \"inspector\" });\n\t};\n\treturn /* @__PURE__ */ jsxs(\"div\", { children: [\n\t\t/* @__PURE__ */ jsx(About, {\n\t\t\tpackageJson: package_default,\n\t\t\tphCliVersion: typeof connectConfig.phCliVersion === \"string\" ? connectConfig.phCliVersion : void 0\n\t\t}),\n\t\t/* @__PURE__ */ jsx(AppGitHash, {}),\n\t\t/* @__PURE__ */ jsx(ConnectedDrives, {}),\n\t\t/* @__PURE__ */ jsxs(\"div\", {\n\t\t\tclassName: \"bg-background p-3\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ jsx(\"h2\", {\n\t\t\t\t\tclassName: \"mb-2 font-semibold text-foreground\",\n\t\t\t\t\tchildren: \"Inspector\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ jsx(\"p\", {\n\t\t\t\t\tclassName: \"mb-3 text-sm font-normal text-foreground\",\n\t\t\t\t\tchildren: \"Explore the local database and sync state for debugging.\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ jsxs(\"button\", {\n\t\t\t\t\tclassName: \"flex items-center gap-x-2 rounded-md border border-border bg-transparent px-3 py-1 text-sm font-medium text-foreground transition-colors hover:hover-effect\",\n\t\t\t\t\tonClick: onOpenInspector,\n\t\t\t\t\ttype: \"button\",\n\t\t\t\t\tchildren: [\"Open Inspector \", /* @__PURE__ */ jsx(Icon, {\n\t\t\t\t\t\tname: \"CircleInfo\",\n\t\t\t\t\t\tsize: 16\n\t\t\t\t\t})]\n\t\t\t\t})\n\t\t\t]\n\t\t})\n\t] });\n};\nfunction AppGitHash() {\n\tconst sha = getGitSha();\n\tif (sha === \"unknown\") return null;\n\tconst url = getGitUrl();\n\tconst label = shortGitSha(sha);\n\treturn /* @__PURE__ */ jsxs(\"div\", {\n\t\tclassName: \"bg-background p-3 text-sm\",\n\t\tchildren: [/* @__PURE__ */ jsx(\"span\", {\n\t\t\tclassName: \"font-semibold\",\n\t\t\tchildren: \"Git hash: \"\n\t\t}), url ? /* @__PURE__ */ jsx(\"a\", {\n\t\t\tclassName: \"font-mono underline\",\n\t\t\thref: url,\n\t\t\ttarget: \"_blank\",\n\t\t\trel: \"noreferrer noopener\",\n\t\t\ttitle: sha,\n\t\t\tchildren: label\n\t\t}) : /* @__PURE__ */ jsx(\"span\", {\n\t\t\tclassName: \"font-mono\",\n\t\t\ttitle: sha,\n\t\t\tchildren: label\n\t\t})]\n\t});\n}\nfunction ConnectedDrives() {\n\tconst drives = useDrives() ?? [];\n\tconst remotes = useSyncList();\n\tconst remoteDrives = useMemo(() => drives.filter((d) => remotes.some((r) => r.meta.collectionId.equals(DriveCollectionId.forDrive(d.header.id)))), [drives, remotes]);\n\treturn /* @__PURE__ */ jsxs(\"div\", {\n\t\tclassName: \"my-4 bg-background p-3\",\n\t\tchildren: [/* @__PURE__ */ jsx(\"h2\", {\n\t\t\tclassName: \"mb-2 font-semibold text-foreground\",\n\t\t\tchildren: \"Connected drives\"\n\t\t}), remoteDrives.length === 0 ? /* @__PURE__ */ jsx(\"p\", {\n\t\t\tclassName: \"text-sm font-normal text-foreground\",\n\t\t\tchildren: \"No connected remote drives.\"\n\t\t}) : /* @__PURE__ */ jsx(\"ul\", {\n\t\t\tclassName: \"flex flex-col gap-3\",\n\t\t\tchildren: remoteDrives.map((drive) => /* @__PURE__ */ jsx(DriveAboutEntry, { drive }, drive.header.id))\n\t\t})]\n\t});\n}\nfunction DriveAboutEntry({ drive }) {\n\tconst info = useDriveSystemInfo(drive);\n\tconst name = drive.state.global.name || drive.header.name;\n\treturn /* @__PURE__ */ jsxs(\"li\", {\n\t\tclassName: \"text-sm text-foreground\",\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ jsxs(\"div\", {\n\t\t\t\tclassName: \"flex items-baseline gap-2\",\n\t\t\t\tchildren: [/* @__PURE__ */ jsx(\"span\", {\n\t\t\t\t\tclassName: \"font-medium\",\n\t\t\t\t\tchildren: name\n\t\t\t\t}), info.status === \"ready\" && /* @__PURE__ */ jsx(\"span\", {\n\t\t\t\t\tclassName: \"text-xs text-muted-foreground\",\n\t\t\t\t\tchildren: info.host\n\t\t\t\t})]\n\t\t\t}),\n\t\t\tinfo.status === \"loading\" && /* @__PURE__ */ jsx(\"div\", {\n\t\t\t\tclassName: \"mt-1 text-xs text-muted-foreground\",\n\t\t\t\tchildren: \"Loading…\"\n\t\t\t}),\n\t\t\tinfo.status === \"error\" && /* @__PURE__ */ jsx(\"div\", {\n\t\t\t\tclassName: \"mt-1 text-xs text-destructive\",\n\t\t\t\tchildren: \"Could not load system info\"\n\t\t\t}),\n\t\t\tinfo.status === \"ready\" && /* @__PURE__ */ jsxs(\"div\", {\n\t\t\t\tclassName: \"mt-1 text-xs text-foreground\",\n\t\t\t\tchildren: [/* @__PURE__ */ jsxs(\"div\", { children: [\n\t\t\t\t\t/* @__PURE__ */ jsx(\"span\", {\n\t\t\t\t\t\tclassName: \"font-medium\",\n\t\t\t\t\t\tchildren: \"Version:\"\n\t\t\t\t\t}),\n\t\t\t\t\t\" \",\n\t\t\t\t\tinfo.version\n\t\t\t\t] }), /* @__PURE__ */ jsxs(\"div\", { children: [/* @__PURE__ */ jsx(\"span\", {\n\t\t\t\t\tclassName: \"font-medium\",\n\t\t\t\t\tchildren: \"Git hash: \"\n\t\t\t\t}), info.gitUrl ? /* @__PURE__ */ jsx(\"a\", {\n\t\t\t\t\tclassName: \"font-mono hover:underline\",\n\t\t\t\t\thref: info.gitUrl,\n\t\t\t\t\ttarget: \"_blank\",\n\t\t\t\t\trel: \"noreferrer noopener\",\n\t\t\t\t\ttitle: info.gitHash,\n\t\t\t\t\tchildren: shortGitSha(info.gitHash)\n\t\t\t\t}) : /* @__PURE__ */ jsx(\"span\", {\n\t\t\t\t\tclassName: \"font-mono\",\n\t\t\t\t\ttitle: info.gitHash,\n\t\t\t\t\tchildren: shortGitSha(info.gitHash)\n\t\t\t\t})] })]\n\t\t\t}),\n\t\t\tinfo.status === \"local\" && /* @__PURE__ */ jsx(\"div\", {\n\t\t\t\tclassName: \"mt-1 text-xs text-muted-foreground\",\n\t\t\t\tchildren: \"Local drive — N/A\"\n\t\t\t})\n\t\t]\n\t});\n}\n//#endregion\n//#region src/components/modal/modals/settings/ai-assistant.tsx\nconst FIELD_CLASS = \"w-full rounded-md border border-border bg-background p-2.5 text-sm text-foreground outline-none placeholder:text-muted-foreground\";\n/**\n* Settings-modal section for the in-browser AI assistant: the user master\n* toggle, the OpenAI-compatible endpoint configuration, and a\n* save-and-test-connection action. Only mounted when the deployment\n* enables the feature (`connect.ai.assistantEnabled`).\n*/\nconst AiAssistant = () => {\n\tconst [draft, setDraft] = useState(() => getAiSettings());\n\tconst [test, setTest] = useState({ status: \"idle\" });\n\tconst patch = (value) => setDraft((d) => ({\n\t\t...d,\n\t\t...value\n\t}));\n\tconst saveAndTest = async () => {\n\t\tupdateAiSettings(draft);\n\t\tif (!isAiConfigured(draft)) {\n\t\t\tsetTest({\n\t\t\t\tstatus: \"error\",\n\t\t\t\tmessage: \"Base URL, API key and model are all required.\"\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tsetTest({ status: \"testing\" });\n\t\ttry {\n\t\t\tconst base = draft.baseUrl.trim().replace(/\\/+$/, \"\");\n\t\t\tconst res = await fetch(`${base}/models`, { headers: draft.apiKey.trim() ? { Authorization: `Bearer ${draft.apiKey.trim()}` } : void 0 });\n\t\t\tif (!res.ok) throw new Error(`HTTP ${res.status}${res.statusText ? ` ${res.statusText}` : \"\"}`);\n\t\t\tconst list = (await res.json())?.data;\n\t\t\tconst count = Array.isArray(list) ? list.length : 0;\n\t\t\tsetTest({\n\t\t\t\tstatus: \"ok\",\n\t\t\t\tmessage: count ? `Connected — ${count} model(s) available.` : \"Connected.\"\n\t\t\t});\n\t\t} catch (error) {\n\t\t\tsetTest({\n\t\t\t\tstatus: \"error\",\n\t\t\t\tmessage: `Connection failed: ${error instanceof Error ? error.message : String(error)}`\n\t\t\t});\n\t\t}\n\t};\n\treturn /* @__PURE__ */ jsxs(\"div\", {\n\t\tclassName: \"space-y-4 p-1\",\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ jsxs(\"div\", { children: [/* @__PURE__ */ jsxs(\"h3\", {\n\t\t\t\tclassName: \"flex items-center gap-2 text-sm font-semibold text-foreground\",\n\t\t\t\tchildren: [/* @__PURE__ */ jsx(Bot, { size: 16 }), \" AI Assistant\"]\n\t\t\t}), /* @__PURE__ */ jsx(\"p\", {\n\t\t\t\tclassName: \"mt-1 text-xs text-muted-foreground\",\n\t\t\t\tchildren: \"An in-page assistant that creates and changes documents, manages drives, and inspects read models through an OpenAI-compatible endpoint.\"\n\t\t\t})] }),\n\t\t\t/* @__PURE__ */ jsxs(\"label\", {\n\t\t\t\tclassName: \"flex items-center gap-2 text-sm text-foreground\",\n\t\t\t\tchildren: [/* @__PURE__ */ jsx(\"input\", {\n\t\t\t\t\ttype: \"checkbox\",\n\t\t\t\t\tchecked: draft.enabled,\n\t\t\t\t\tonChange: (event) => {\n\t\t\t\t\t\tpatch({ enabled: event.target.checked });\n\t\t\t\t\t\tupdateAiSettings({ enabled: event.target.checked });\n\t\t\t\t\t}\n\t\t\t\t}), \"Enable AI assistant\"]\n\t\t\t}),\n\t\t\tdraft.enabled && /* @__PURE__ */ jsxs(\"div\", {\n\t\t\t\tclassName: \"space-y-2 rounded-lg border border-border p-3\",\n\t\t\t\tchildren: [\n\t\t\t\t\t/* @__PURE__ */ jsx(\"div\", {\n\t\t\t\t\t\tclassName: \"mb-1 text-xs font-semibold tracking-wide text-muted-foreground uppercase\",\n\t\t\t\t\t\tchildren: \"Endpoint\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ jsx(\"input\", {\n\t\t\t\t\t\ttype: \"url\",\n\t\t\t\t\t\tplaceholder: \"Base URL (e.g. https://api.openai.com/v1)\",\n\t\t\t\t\t\tvalue: draft.baseUrl,\n\t\t\t\t\t\tonChange: (e) => patch({ baseUrl: e.target.value }),\n\t\t\t\t\t\tclassName: FIELD_CLASS,\n\t\t\t\t\t\tspellCheck: false\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ jsx(\"input\", {\n\t\t\t\t\t\ttype: \"password\",\n\t\t\t\t\t\tplaceholder: \"API key\",\n\t\t\t\t\t\tvalue: draft.apiKey,\n\t\t\t\t\t\tonChange: (e) => patch({ apiKey: e.target.value }),\n\t\t\t\t\t\tclassName: FIELD_CLASS,\n\t\t\t\t\t\tautoComplete: \"off\",\n\t\t\t\t\t\tspellCheck: false\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ jsx(\"input\", {\n\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\tplaceholder: \"Model (e.g. gpt-4o-mini)\",\n\t\t\t\t\t\tvalue: draft.model,\n\t\t\t\t\t\tonChange: (e) => patch({ model: e.target.value }),\n\t\t\t\t\t\tclassName: FIELD_CLASS,\n\t\t\t\t\t\tspellCheck: false\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ jsxs(\"label\", {\n\t\t\t\t\t\tclassName: \"flex items-center gap-2 pt-1 text-sm text-foreground\",\n\t\t\t\t\t\tchildren: [/* @__PURE__ */ jsx(\"input\", {\n\t\t\t\t\t\t\ttype: \"checkbox\",\n\t\t\t\t\t\t\tchecked: draft.autoApproveWrites,\n\t\t\t\t\t\t\tonChange: (event) => patch({ autoApproveWrites: event.target.checked })\n\t\t\t\t\t\t}), \"Auto-approve write actions\"]\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ jsx(\"p\", {\n\t\t\t\t\t\tclassName: \"text-xs text-muted-foreground\",\n\t\t\t\t\t\tchildren: \"Requests go directly from this browser to the endpoint; the API key is never sent to Powerhouse servers. The endpoint must allow cross-origin (CORS) requests from this site.\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ jsxs(\"div\", {\n\t\t\t\t\t\tclassName: \"flex items-center gap-3 pt-1\",\n\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t/* @__PURE__ */ jsx(\"button\", {\n\t\t\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\t\t\tonClick: () => void saveAndTest(),\n\t\t\t\t\t\t\t\tdisabled: test.status === \"testing\",\n\t\t\t\t\t\t\t\tclassName: \"rounded-md bg-primary px-3 py-1.5 text-sm font-semibold text-primary-foreground hover:bg-primary/90 disabled:disabled-effect\",\n\t\t\t\t\t\t\t\tchildren: test.status === \"testing\" ? \"Testing…\" : \"Save & test connection\"\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\ttest.status === \"ok\" && /* @__PURE__ */ jsx(\"span\", {\n\t\t\t\t\t\t\t\tclassName: \"text-xs text-foreground\",\n\t\t\t\t\t\t\t\tchildren: test.message\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\ttest.status === \"error\" && /* @__PURE__ */ jsx(\"span\", {\n\t\t\t\t\t\t\t\tclassName: \"text-xs text-destructive\",\n\t\t\t\t\t\t\t\tchildren: test.message\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t]\n\t\t\t\t\t})\n\t\t\t\t]\n\t\t\t})\n\t\t]\n\t});\n};\n//#endregion\n//#region src/components/modal/modals/settings/danger-zone.tsx\nconst DangerZone$1 = () => {\n\tconst drives = useDrives();\n\tconst handleDeleteDrive = async (drive) => {\n\t\tawait deleteDrive(drive.header.id);\n\t\tsetSelectedDrive(void 0);\n\t};\n\tconst handleClearStorage = () => {\n\t\tshowPHModal({ type: \"clearStorage\" });\n\t};\n\treturn /* @__PURE__ */ jsx(DangerZone, {\n\t\tdrives: drives ?? [],\n\t\tonDeleteDrive: (drive) => {\n\t\t\thandleDeleteDrive(drive);\n\t\t},\n\t\tonClearStorage: handleClearStorage\n\t});\n};\n//#endregion\n//#region src/components/modal/modals/settings/default-editor.tsx\nconst documentModelEditorOptions = [{\n\tlabel: \"V1\",\n\tvalue: \"document-model-editor\"\n}, {\n\tlabel: \"V2\",\n\tvalue: \"document-model-editor-v2\"\n}];\nconst DefaultEditor$1 = () => {\n\tconst [documentModelEditor, setDocumentModelEditor] = useState(documentModelEditorOptions[1]);\n\tconst handleSetDocumentEditor = useCallback((value) => {\n\t\tconst option = documentModelEditorOptions.find((dm) => dm.value == value);\n\t\tif (option) setDocumentModelEditor(option);\n\t}, []);\n\treturn /* @__PURE__ */ jsx(DefaultEditor, {\n\t\tdocumentModelEditor: documentModelEditor.value,\n\t\tsetDocumentModelEditor: handleSetDocumentEditor,\n\t\tdocumentModelEditorOptions\n\t});\n};\n//#endregion\n//#region src/components/modal/modals/settings/package-manager.tsx\n/**\n* Split a `name@tag` spec into its bare package name. Mirrors the design-system's\n* `parsePackageSpec` — duplicated here to avoid reaching into a deep subpath\n* export. Scoped names split on the LAST `@`, unscoped on the first.\n*/\nfunction parseBareName(spec) {\n\tconst trimmed = spec.trim();\n\tconst at = trimmed.startsWith(\"@\") ? trimmed.lastIndexOf(\"@\") : trimmed.indexOf(\"@\");\n\treturn at > 0 ? trimmed.slice(0, at) : trimmed;\n}\nconst ConnectPackageManager = () => {\n\tconst packageManager = useVetraPackageManager();\n\tconst { registryPackageList, installedPackages, availablePackages, availableHasMore, isLoadingAvailable, isLoadingMoreAvailable, availableError, ensureAvailableLoaded, ensureInstalledMetadataLoaded, fetchAvailablePage, loadMoreAvailable, setAvailableSearch, updateRegistryPackageStatus, registerFallbackRegistryPackage } = useRegistryPackages();\n\tasync function handleInstall(packageSpec) {\n\t\tif (!packageManager) return;\n\t\tconst bareName = parseBareName(packageSpec);\n\t\tconst wasKnownToRegistry = registryPackageList.some((p) => p.name === bareName);\n\t\tconst result = await packageManager.addPackage(packageSpec);\n\t\tif (result.type === \"success\") {\n\t\t\tif (wasKnownToRegistry) updateRegistryPackageStatus(bareName, \"registry-install\");\n\t\t\telse registerFallbackRegistryPackage(bareName, result.package, packageManager.getPackageVersion(bareName) ?? packageManager.getPackageVersion(packageSpec), \"registry-install\");\n\t\t\ttoast(`Package \"${packageSpec}\" installed successfully`, { type: \"connect-success\" });\n\t\t} else {\n\t\t\tconst message = result.error.message;\n\t\t\tconsole.error(`[Connect][PackageManager] Install failed for \"${packageSpec}\":`, result.error);\n\t\t\tconst userMessage = /failed to fetch|404|not found/i.test(message) ? `Couldn't install \"${packageSpec}\". It isn't available on this registry or via npm.` : `Couldn't install \"${packageSpec}\". Please try again.`;\n\t\t\ttoast(userMessage, { type: \"error\" });\n\t\t}\n\t}\n\tfunction handleUninstall(packageName) {\n\t\tif (!packageManager) return;\n\t\ttry {\n\t\t\tpackageManager.removePackage(packageName);\n\t\t\tupdateRegistryPackageStatus(packageName, \"available\");\n\t\t\ttoast(`Package \"${packageName}\" uninstalled successfully`, { type: \"connect-success\" });\n\t\t} catch (error) {\n\t\t\tconsole.error(`[Connect][PackageManager] Uninstall failed for \"${packageName}\":`, error);\n\t\t\ttoast(`Couldn't uninstall \"${packageName}\". Please try again.`, { type: \"error\" });\n\t\t}\n\t}\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\tclassName: \"flex min-h-0 flex-1 flex-col\",\n\t\tchildren: /* @__PURE__ */ jsx(PackageManager, {\n\t\t\tmutable: true,\n\t\t\tinstalledPackages,\n\t\t\tavailablePackages,\n\t\t\tisAvailableLoading: isLoadingAvailable,\n\t\t\tisLoadingMoreAvailable,\n\t\t\thasMoreAvailable: availableHasMore,\n\t\t\tonLoadMoreAvailable: loadMoreAvailable,\n\t\t\tavailableError,\n\t\t\tonAvailableRetry: () => {\n\t\t\t\tfetchAvailablePage({ reset: true });\n\t\t\t},\n\t\t\tonAvailableSearchChange: setAvailableSearch,\n\t\t\tonAvailableTabOpen: ensureAvailableLoaded,\n\t\t\tonInstalledTabOpen: ensureInstalledMetadataLoaded,\n\t\t\tonInstall: handleInstall,\n\t\t\tonUninstall: handleUninstall\n\t\t})\n\t});\n};\n//#endregion\n//#region src/components/modal/modals/SettingsModal.tsx\nconst iconProps = { size: 16 };\nconst SettingsModal = () => {\n\tconst open = usePHModal()?.type === \"settings\";\n\tconst tabs = useMemo(() => [\n\t\t...connectConfig.aiAssistantEnabled ? [{\n\t\t\tid: \"ai-assistant\",\n\t\t\ticon: /* @__PURE__ */ jsx(Bot, { ...iconProps }),\n\t\t\tlabel: \"AI Assistant\",\n\t\t\tcontent: AiAssistant\n\t\t}] : [],\n\t\t{\n\t\t\tid: \"package-manager\",\n\t\t\ticon: /* @__PURE__ */ jsx(Package, { ...iconProps }),\n\t\t\tlabel: \"Package Manager\",\n\t\t\tcontent: ConnectPackageManager\n\t\t},\n\t\t{\n\t\t\tid: \"default-editors\",\n\t\t\ticon: /* @__PURE__ */ jsx(PenLine, { ...iconProps }),\n\t\t\tlabel: \"Default Editors\",\n\t\t\tcontent: DefaultEditor$1\n\t\t},\n\t\t{\n\t\t\tid: \"danger-zone\",\n\t\t\ticon: /* @__PURE__ */ jsx(TriangleAlert, {\n\t\t\t\t...iconProps,\n\t\t\t\tclassName: \"text-destructive\"\n\t\t\t}),\n\t\t\tlabel: /* @__PURE__ */ jsx(\"span\", {\n\t\t\t\tclassName: \"text-destructive\",\n\t\t\t\tchildren: \"Danger Zone\"\n\t\t\t}),\n\t\t\tcontent: () => /* @__PURE__ */ jsx(DangerZone$1, {})\n\t\t},\n\t\t{\n\t\t\tid: \"about\",\n\t\t\ticon: /* @__PURE__ */ jsx(CircleHelp, { ...iconProps }),\n\t\t\tlabel: \"About\",\n\t\t\tcontent: About$1\n\t\t}\n\t], []);\n\treturn /* @__PURE__ */ jsx(SettingsModal$1, {\n\t\topen,\n\t\ttitle: t(\"modals.connectSettings.title\"),\n\t\tonOpenChange: (status) => {\n\t\t\tif (!status) return closePHModal();\n\t\t},\n\t\ttabs,\n\t\tnavFooter: /* @__PURE__ */ jsx(ThemeSwitch, { horizontal: true })\n\t});\n};\n//#endregion\nexport { SettingsModal };\n\n//# sourceMappingURL=SettingsModal-CgjW-M2a.js.map\n//# debugId=16dd2d42-107f-5e31-abf9-f920f913fb2f\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],"mappings":"u/BAOA,IAAM,GAAe,GAAW,GAAQ,QAAQ,qBAAsB,OAAO,CAAC,CAAC,YAAY,ECE3F,SAAS,GAAiB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