@almadar/ui 5.21.10 → 5.21.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/avl/index.js CHANGED
@@ -4,6 +4,7 @@ import React97__default, { createContext, useState, useMemo, useRef, useEffect,
4
4
  import { createLogger, isLogLevelEnabled } from '@almadar/logger';
5
5
  import ELK from 'elkjs/lib/elk.bundled.js';
6
6
  import { MarkerType, useReactFlow, Handle, Position, getBezierPath, EdgeLabelRenderer, useNodeId, ReactFlowProvider, BaseEdge, useNodesState, useEdgesState, ReactFlow, Controls, Background, BackgroundVariant } from '@xyflow/react';
7
+ import { useTranslate, useEventBus as useEventBus$1 } from '@almadar/ui/hooks';
7
8
  import * as LucideIcons2 from 'lucide-react';
8
9
  import { Loader2, X, List, Printer, ChevronRight, ChevronLeft, GitBranch, Pencil, Eye, Plus, ArrowRight, Trash, Code, FileText, WrapText, Check, Copy, AlertTriangle, Trash2, ZoomOut, ZoomIn, Download, RotateCcw, Menu as Menu$1, Package, Calendar, MoreHorizontal, Image as Image$1, Upload, ArrowLeft, HelpCircle, Search, Type, Heading1, Heading2, Heading3, ListOrdered, Quote, Minus, Eraser, TrendingUp, TrendingDown, AlertCircle, Circle, Clock, CheckCircle2, CheckCircle, XCircle, Play, Pause, SkipForward, Bug, Send, ChevronUp, ChevronDown, Wrench, Tag, User, DollarSign, Zap, Sword, Move, Heart, Shield } from 'lucide-react';
9
10
  import * as PhosphorIcons from '@phosphor-icons/react';
@@ -3851,504 +3852,6 @@ var init_Stack = __esm({
3851
3852
  HStack = (props) => /* @__PURE__ */ jsx(Stack, { direction: "horizontal", ...props });
3852
3853
  }
3853
3854
  });
3854
-
3855
- // locales/en.json
3856
- var en_default;
3857
- var init_en = __esm({
3858
- "locales/en.json"() {
3859
- en_default = {
3860
- $meta: {
3861
- locale: "en",
3862
- direction: "ltr"
3863
- },
3864
- "common.save": "Save",
3865
- "common.cancel": "Cancel",
3866
- "common.delete": "Delete",
3867
- "common.close": "Close",
3868
- "common.confirm": "Are you sure?",
3869
- "common.create": "Create",
3870
- "common.edit": "Edit",
3871
- "common.view": "View",
3872
- "common.add": "Add",
3873
- "common.remove": "Remove",
3874
- "common.search": "Search...",
3875
- "common.filter": "Filter",
3876
- "common.actions": "Actions",
3877
- "common.yes": "Yes",
3878
- "common.no": "No",
3879
- "common.selected": "selected",
3880
- "common.ok": "OK",
3881
- "common.done": "Done",
3882
- "common.apply": "Apply",
3883
- "common.reset": "Reset",
3884
- "common.refresh": "Refresh",
3885
- "common.export": "Export",
3886
- "common.import": "Import",
3887
- "common.copy": "Copy",
3888
- "common.settings": "Settings",
3889
- "nav.previous": "Previous",
3890
- "nav.next": "Next",
3891
- "nav.back": "Back",
3892
- "nav.home": "Home",
3893
- "form.submit": "Submit",
3894
- "form.saving": "Saving...",
3895
- "form.required": "This field is required",
3896
- "form.invalidEmail": "Enter a valid email address",
3897
- "form.selectPlaceholder": "Select {{label}}...",
3898
- "form.searchPlaceholder": "Search {{entity}}...",
3899
- "table.empty.title": "No items found",
3900
- "table.empty.description": "No items to display.",
3901
- "table.search.placeholder": "Search...",
3902
- "table.pagination.showing": "Showing {{start}} to {{end}} of {{total}} results",
3903
- "table.pagination.page": "Page {{page}} of {{totalPages}}",
3904
- "table.bulk.selected": "{{count}} selected",
3905
- "table.loading": "Loading...",
3906
- "status.loading": "Loading...",
3907
- "status.scheduled": "Scheduled",
3908
- "status.inProgress": "In Progress",
3909
- "status.completed": "Completed",
3910
- "status.cancelled": "Cancelled",
3911
- "status.pending": "Pending",
3912
- "status.active": "Active",
3913
- "status.inactive": "Inactive",
3914
- "status.draft": "Draft",
3915
- "status.archived": "Archived",
3916
- "error.generic": "Something went wrong",
3917
- "error.retry": "Try again",
3918
- "error.notFound": "Not found",
3919
- "error.loadFailed": "Failed to load: {{message}}",
3920
- "error.configMissing": "Configuration not found for: {{id}}",
3921
- "common.loading": "Loading...",
3922
- "common.showMore": "Show More",
3923
- "common.showLess": "Show Less",
3924
- "common.noResults": "No results found",
3925
- "common.saveChanges": "Save Changes",
3926
- "common.retry": "Retry",
3927
- "common.open": "Open",
3928
- "common.back": "Back",
3929
- "empty.noItems": "No items",
3930
- "empty.noData": "No data available",
3931
- "empty.noItemsYet": "No items yet",
3932
- "empty.noItemsAdded": "No items added yet",
3933
- "empty.noOptionsFound": "No options found",
3934
- "list.addItemPlaceholder": "Add new item...",
3935
- "error.occurred": "An error occurred",
3936
- "error.failedToLoad": "Failed to load data",
3937
- "wizard.back": "Back",
3938
- "wizard.next": "Next",
3939
- "wizard.complete": "Complete",
3940
- "wizard.stepOf": "Step {{current}} of {{total}}",
3941
- "pagination.previous": "Previous",
3942
- "pagination.next": "Next",
3943
- "pagination.total": "Total:",
3944
- "pagination.show": "Show:",
3945
- "pagination.goTo": "Go to:",
3946
- "pagination.go": "Go",
3947
- "auth.signIn": "Sign in",
3948
- "auth.signOut": "Sign out",
3949
- "dialog.confirm": "Confirm",
3950
- "dialog.cancel": "Cancel",
3951
- "dialog.loading": "Loading...",
3952
- "dialog.delete.title": "Delete {{item}}?",
3953
- "dialog.delete.message": "This action cannot be undone.",
3954
- "trait.availableActions": "Available Actions",
3955
- "trait.transitions": "Transitions",
3956
- "trait.availableNow": "Available now",
3957
- "book.startReading": "Start Reading",
3958
- "book.tableOfContents": "Table of Contents",
3959
- "book.partNumber": "Part {{number}}",
3960
- "book.print": "Print",
3961
- "book.previousPage": "Previous page",
3962
- "book.nextPage": "Next page",
3963
- "quiz.showAnswer": "Show answer",
3964
- "quiz.hideAnswer": "Hide answer",
3965
- "aria.closeModal": "Close modal",
3966
- "aria.closeToast": "Dismiss toast",
3967
- "aria.closeAlert": "Dismiss alert",
3968
- "aria.removeFilter": "Remove filter",
3969
- "aria.closeDrawer": "Close drawer",
3970
- "aria.closePanel": "Close panel",
3971
- "aria.previousImage": "Previous image",
3972
- "aria.nextImage": "Next image",
3973
- "aria.dismiss": "Dismiss",
3974
- "aria.previousSlide": "Previous slide",
3975
- "aria.nextSlide": "Next slide",
3976
- "aria.previousDays": "Previous days",
3977
- "aria.nextDays": "Next days",
3978
- "aria.decrease": "Decrease",
3979
- "aria.increase": "Increase",
3980
- "aria.breadcrumb": "Breadcrumb",
3981
- "aria.tableOfContents": "Table of contents",
3982
- "aria.docsSidebar": "Documentation sidebar",
3983
- "aria.selectAllRows": "Select all rows",
3984
- "aria.selectAll": "Select all",
3985
- "aria.upvote": "Upvote",
3986
- "aria.downvote": "Downvote",
3987
- "aria.qrScanner": "QR scanner",
3988
- "aria.mockScanDev": "Mock scan (dev)",
3989
- "aria.openMenu": "Open menu",
3990
- "aria.closeMenu": "Close menu",
3991
- "aria.openSidebar": "Open sidebar",
3992
- "sidebar.expand": "Expand sidebar",
3993
- "sidebar.collapse": "Collapse sidebar",
3994
- "sidebar.close": "Close sidebar",
3995
- "loading.items": "Loading items...",
3996
- "card.imageAlt": "Image",
3997
- "canvas.emptyMessage": "No content",
3998
- "canvas.errorTitle": "Canvas error",
3999
- "book.noData": "No data",
4000
- "common.notifications": "Notifications",
4001
- "common.remaining": "{{count}} remaining",
4002
- "error.somethingWentWrong": "Something went wrong",
4003
- "error.loadingItems": "Loading items...",
4004
- "error.noItemsFound": "No items found",
4005
- "debug.noEntityData": "No entity data",
4006
- "debug.noEntities": "No entities",
4007
- "debug.noTicks": "No ticks registered",
4008
- "debug.noActiveTraits": "No active traits",
4009
- "debug.noGuardEvaluations": "No guard evaluations",
4010
- "debug.noBridgeData": "No bridge data",
4011
- "debug.status": "Status",
4012
- "debug.eventsForwarded": "Events Forwarded (Client \u2192 Server)",
4013
- "debug.eventsReceived": "Events Received (Server \u2192 Client)",
4014
- "debug.lastHeartbeat": "Last Heartbeat",
4015
- "debug.noEventsYet": "No events yet",
4016
- "debug.noTransitionsRecorded": "No transitions recorded",
4017
- "debug.noVerificationChecks": "No verification checks yet",
4018
- "display.chartError": "Chart error",
4019
- "display.codeViewerError": "Code viewer error",
4020
- "display.noCode": "No code",
4021
- "display.documentError": "Document error",
4022
- "display.noDocument": "No document",
4023
- "display.graphError": "Graph error",
4024
- "display.noGraphData": "No graph data",
4025
- "display.galleryError": "Gallery error",
4026
- "display.noMedia": "No media",
4027
- "display.meterError": "Meter error",
4028
- "display.signaturePadError": "Signature pad error",
4029
- "display.timelineError": "Timeline error",
4030
- "display.noEvents": "No events",
4031
- "template.features": "Features",
4032
- "template.howItWorks": "How It Works",
4033
- "template.showcase": "Showcase",
4034
- "template.faq": "Frequently Asked Questions",
4035
- "template.ourTeam": "Our Team",
4036
- "template.caseStudies": "Case Studies",
4037
- "richBlockEditor.toolbar.text": "Text",
4038
- "richBlockEditor.toolbar.h1": "H1",
4039
- "richBlockEditor.toolbar.h2": "H2",
4040
- "richBlockEditor.toolbar.h3": "H3",
4041
- "richBlockEditor.toolbar.bulletList": "Bullet list",
4042
- "richBlockEditor.toolbar.numbered": "Numbered",
4043
- "richBlockEditor.toolbar.quote": "Quote",
4044
- "richBlockEditor.toolbar.code": "Code",
4045
- "richBlockEditor.toolbar.divider": "Divider",
4046
- "richBlockEditor.toolbar.image": "Image",
4047
- "richBlockEditor.blockType.paragraph": "Text",
4048
- "richBlockEditor.blockType.heading1": "Heading 1",
4049
- "richBlockEditor.blockType.heading2": "Heading 2",
4050
- "richBlockEditor.blockType.heading3": "Heading 3",
4051
- "richBlockEditor.blockType.bulletList": "Bullet list",
4052
- "richBlockEditor.blockType.numberedList": "Numbered list",
4053
- "richBlockEditor.blockType.quote": "Quote",
4054
- "richBlockEditor.blockType.code": "Code",
4055
- "richBlockEditor.blockType.divider": "Divider",
4056
- "richBlockEditor.blockType.image": "Image",
4057
- "richBlockEditor.blockActions": "Block actions",
4058
- "richBlockEditor.duplicate": "Duplicate",
4059
- "richBlockEditor.turnInto": "Turn into",
4060
- "richBlockEditor.placeholder.heading1": "Heading 1",
4061
- "richBlockEditor.placeholder.heading2": "Heading 2",
4062
- "richBlockEditor.placeholder.heading3": "Heading 3",
4063
- "richBlockEditor.placeholder.quote": "Quote",
4064
- "richBlockEditor.placeholder.code": "Enter code",
4065
- "richBlockEditor.placeholder.paragraph": "Start writing...",
4066
- "richBlockEditor.placeholder.listItem": "List item",
4067
- "richBlockEditor.placeholder.caption": "Caption (optional)",
4068
- "richBlockEditor.aria.heading1Block": "Heading 1 block",
4069
- "richBlockEditor.aria.heading2Block": "Heading 2 block",
4070
- "richBlockEditor.aria.heading3Block": "Heading 3 block",
4071
- "richBlockEditor.aria.quoteBlock": "Quote block",
4072
- "richBlockEditor.aria.codeBlock": "Code block",
4073
- "richBlockEditor.aria.codeLanguage": "Code language",
4074
- "richBlockEditor.aria.imageUrl": "Image URL",
4075
- "richBlockEditor.aria.imageCaption": "Image caption",
4076
- "richBlockEditor.aria.listItem": "List item",
4077
- "richBlockEditor.aria.removeListItem": "Remove list item",
4078
- "richBlockEditor.aria.paragraphBlock": "Paragraph block",
4079
- "richBlockEditor.embeddedImage": "Embedded image",
4080
- "richBlockEditor.noImageUrl": "No image URL set",
4081
- "richBlockEditor.addItem": "Add item",
4082
- "richBlockEditor.insertParagraphBelow": "Insert paragraph below",
4083
- "richBlockEditor.editorToolbar": "Block editor toolbar",
4084
- "richBlockEditor.insertEntry": "Insert {{label}}",
4085
- "versionDiff.compare": "Compare",
4086
- "versionDiff.to": "to",
4087
- "versionDiff.beforeRevision": "Before revision",
4088
- "versionDiff.afterRevision": "After revision",
4089
- "versionDiff.switchToInline": "Switch to inline view",
4090
- "versionDiff.switchToSideBySide": "Switch to side-by-side view",
4091
- "versionDiff.revert": "Revert",
4092
- "versionDiff.byAuthor": " by {{author}}",
4093
- "violationAlert.actionType.measure": "Corrective Measure",
4094
- "violationAlert.actionType.admin": "Administrative Action",
4095
- "violationAlert.actionType.penalty": "Penalty Proceedings",
4096
- "violationAlert.fallbackMessage": "Violation",
4097
- "violationAlert.adminLabel": "Admin:",
4098
- "violationAlert.penaltyLabel": "Penalty:",
4099
- "violationAlert.goToField": "Go to field",
4100
- "branchingLogic.title": "Branching logic",
4101
- "branchingLogic.if": "If",
4102
- "branchingLogic.goTo": "go to",
4103
- "branchingLogic.rules": "Rules",
4104
- "branchingLogic.logicGraph": "Logic graph",
4105
- "branchingLogic.addRule": "Add rule",
4106
- "branchingLogic.deleteRule": "Delete rule",
4107
- "branchingLogic.endOfSurvey": "End of survey",
4108
- "branchingLogic.brokenReference": "Broken reference",
4109
- "branchingLogic.selectQuestion": "Select question",
4110
- "branchingLogic.selectTarget": "Select target",
4111
- "branchingLogic.selectValue": "Select value",
4112
- "branchingLogic.addValue": "Add value",
4113
- "branchingLogic.value": "Value",
4114
- "branchingLogic.typeValuePressEnter": "Type value, press Enter",
4115
- "branchingLogic.operatorEquals": "equals",
4116
- "branchingLogic.operatorNotEquals": "does not equal",
4117
- "branchingLogic.operatorContains": "contains",
4118
- "branchingLogic.operatorIn": "is one of",
4119
- "branchingLogic.graphAriaLabel": "Branching logic graph",
4120
- "branchingLogic.ruleCountOne": "{{count}} rule",
4121
- "branchingLogic.ruleCountOther": "{{count}} rules",
4122
- "branchingLogic.brokenCount": "{{count}} broken",
4123
- "branchingLogic.emptyNoQuestions": "Add questions before building branching rules.",
4124
- "branchingLogic.emptyNoRules": "No rules yet. Add a rule to define branching logic.",
4125
- "filterGroup.filters": "Filters",
4126
- "filterGroup.all": "All",
4127
- "filterGroup.clear": "Clear",
4128
- "filterGroup.clearAll": "Clear all",
4129
- "filterGroup.from": "From",
4130
- "filterGroup.to": "To",
4131
- "filterGroup.allOf": "All {{label}}",
4132
- "filterGroup.activeCount": "{{count}} active",
4133
- "debug.guardEvaluationsHint": "Guard evaluations will appear when transitions or ticks with guards execute",
4134
- "debug.expression": "Expression",
4135
- "debug.inputs": "Inputs",
4136
- "debug.trait": "Trait",
4137
- "debug.filterAll": "All",
4138
- "debug.filterPassed": "Passed",
4139
- "debug.filterFailed": "Failed",
4140
- "debug.traitsInitHint": "Traits will appear when the state machine initializes",
4141
- "debug.traitsMountHint": "Traits will appear when components using them are mounted",
4142
- "debug.activeStates": "Active States",
4143
- "debug.availableEvents": "Available Events",
4144
- "debug.noTransitionsFromState": "No transitions from current state",
4145
- "debug.guarded": "guarded",
4146
- "debug.otherEvents": "Other Events (not available from current state)",
4147
- "debug.recentTransitions": "Recent Transitions",
4148
- "debug.transitionsCount": "{{count}} transitions",
4149
- "debug.states": "States",
4150
- "debug.transitions": "Transitions",
4151
- "debug.guards": "Guards",
4152
- "debug.debugModeHint": "Debug mode may not be enabled",
4153
- "debug.entitiesSpawnHint": "Entities will appear when spawned",
4154
- "debug.singleton": "Singleton",
4155
- "debug.singletonsCount": "Singletons ({{count}})",
4156
- "debug.runtimeCount": "Runtime ({{count}})",
4157
- "debug.moreEntities": "+{{count}} more entities",
4158
- "debug.persistent": "Persistent",
4159
- "debug.loadedCount": "{{count}} loaded",
4160
- "debug.notLoaded": "not loaded",
4161
- "debug.eventsExecuteHint": "Events will appear as traits, ticks, and other systems execute",
4162
- "debug.allCount": "All ({{count}})",
4163
- "debug.autoScroll": "Auto-scroll",
4164
- "debug.transitionsProcessHint": "Transitions will appear as the state machine processes events",
4165
- "debug.transitionsRecorded": "{{count}} transitions recorded",
4166
- "debug.guardLabel": "guard:",
4167
- "debug.effectsCount": "{{count}} effects",
4168
- "debug.bridgeInitHint": "The ServerBridge has not been initialized. Bridge health will appear once the runtime connects to the server.",
4169
- "debug.never": "Never",
4170
- "debug.connected": "Connected",
4171
- "debug.disconnected": "Disconnected",
4172
- "debug.lastError": "Last Error",
4173
- "debug.totalEventsProcessed": "{{count}} total events processed",
4174
- "debug.server": "server",
4175
- "debug.clientEffectsCount": "{{count}} clientEffects",
4176
- "debug.emitLabel": "emit:",
4177
- "debug.rowsCount": "{{count}} rows",
4178
- "debug.serverResponse": "server response",
4179
- "debug.collapseVerificationTimeline": "Collapse verification timeline",
4180
- "debug.expandVerificationTimeline": "Expand verification timeline",
4181
- "debug.failCount": "{{count}} fail",
4182
- "debug.ok": "OK",
4183
- "debug.localCount": "{{count}} local",
4184
- "debug.serverCount": "{{count}} server",
4185
- "debug.waitingForTransitions": "Waiting for transitions...",
4186
- "debug.tabDispatch": "Dispatch",
4187
- "debug.tabVerify": "Verify",
4188
- "debug.tabVerifyAlert": "Verify (!)",
4189
- "debug.tabTimeline": "Timeline",
4190
- "debug.tabBridge": "Bridge",
4191
- "debug.tabTraits": "Traits",
4192
- "debug.tabTicks": "Ticks",
4193
- "debug.tabEntities": "Entities",
4194
- "debug.tabEvents": "Events",
4195
- "debug.tabGuards": "Guards",
4196
- "debug.debugger": "Debugger",
4197
- "debug.failedCount": "{{count}} failed",
4198
- "debug.traitsCount": "{{count}} traits",
4199
- "debug.idle": "Idle",
4200
- "debug.openDebugger": "Open Debugger (`)",
4201
- "debug.kflowVerifier": "KFlow Verifier",
4202
- "debug.allPassing": "All passing",
4203
- "debug.runtime": "Runtime",
4204
- "debug.close": "Close (`)",
4205
- "debug.toggleHint": "Press ` to toggle | window.__orbitalVerification for automation",
4206
- "replyTree.expandReplies": "Expand replies",
4207
- "replyTree.collapseReplies": "Collapse replies",
4208
- "replyTree.voteOnReplyBy": "Vote on reply by {{author}}",
4209
- "replyTree.replyTo": "Reply to {{author}}",
4210
- "replyTree.replyToPlaceholder": "Reply to {{author}}\u2026",
4211
- "replyTree.reply": "Reply",
4212
- "replyTree.flagReplyBy": "Flag reply by {{author}}",
4213
- "replyTree.flag": "Flag",
4214
- "replyTree.send": "Send",
4215
- "replyTree.continueThread": "Continue thread",
4216
- "replyTree.noRepliesYet": "No replies yet.",
4217
- "signaturePad.label": "Signature",
4218
- "signaturePad.helperText": "Draw your signature above",
4219
- "signaturePad.clear": "Clear",
4220
- "signaturePad.confirm": "Confirm",
4221
- "qrScanner.cameraUnavailable": "Camera unavailable",
4222
- "qrScanner.paused": "Paused",
4223
- "qrScanner.resumeScanning": "Resume scanning",
4224
- "qrScanner.pauseScanning": "Pause scanning",
4225
- "qrScanner.switchToFrontCamera": "Switch to front camera",
4226
- "qrScanner.switchToRearCamera": "Switch to rear camera",
4227
- "qrScanner.mockScan": "Mock Scan",
4228
- "docSearch.placeholder": "Search documentation...",
4229
- "stateMachine.loading": "Loading state machine\u2026",
4230
- "stateMachine.noStateMachine": "No state machine to visualize",
4231
- "avl.trigger": "Trigger",
4232
- "avl.guard": "Guard",
4233
- "avl.effects": "Effects",
4234
- "avl.props": "Props",
4235
- "avl.entity": "Entity",
4236
- "avl.traits": "Traits",
4237
- "avl.transition": "Transition",
4238
- "avl.onEntity": "on {{entity}}",
4239
- "avl.linkedTo": "linked to {{entity}}",
4240
- "avl.pressEscToZoomOut": "Press Esc to zoom out",
4241
- "avl.zoomIn": "Zoom in",
4242
- "avl.zoomOut": "Zoom out",
4243
- "avl.orbitalLabel": "Orbital: {{name}}",
4244
- "avl.orbitalLabelHighlighted": "Orbital: {{name}} (highlighted)",
4245
- "avl.noTraitData": "No trait data",
4246
- "avl.computingLayout": "Computing layout...",
4247
- "avl.noStateMachine": "No state machine",
4248
- "avl.listensFor": "listens for {{event}}",
4249
- "avl.emits": "emits {{event}}",
4250
- "avl.pageLayout": "Page Layout",
4251
- "avl.overlaySuffix": "(overlay)",
4252
- "orbPreview.previewBadge": "Preview",
4253
- "orbPreview.doubleClickToOpen": "Double-click to open",
4254
- "orbPreview.dropToAddAndOpen": "Drop to add and open",
4255
- "orbPreview.dispatching": "Coordinator is dispatching to this orbital",
4256
- "orbPreview.noPreview": "No preview available",
4257
- "orbPreview.screensCount": "{{count}} screens",
4258
- "detailView.noTransitionData": "No transition data",
4259
- "orbInspector.required": "req",
4260
- "orbInspector.addField": "Add Field",
4261
- "orbInspector.serviceMode": "Service Mode",
4262
- "orbInspector.standalone": "Standalone",
4263
- "orbInspector.embedded": "Embedded",
4264
- "orbInspector.rendersOwnUi": "Renders its own UI",
4265
- "orbInspector.headless": "Headless, wired to other behaviors",
4266
- "orbInspector.addEffect": "Add Effect",
4267
- "orbInspector.guardExpression": "Guard expression",
4268
- "orbInspector.selectPatternForStyles": "Select a pattern to view its style tokens.",
4269
- "orbInspector.tokens": "Tokens",
4270
- "orbInspector.noTokenContract": "No token contract declared for this pattern.",
4271
- "orbInspector.variant": "Variant",
4272
- "orbInspector.size": "Size",
4273
- "orbInspector.statesCount": "{{count}} states",
4274
- "orbInspector.onEntity": " on {{entity}}",
4275
- "orbInspector.projectThemeTokens": "Project theme tokens",
4276
- "orbInspector.tokenGroup.colors": "Colors",
4277
- "orbInspector.tokenGroup.radii": "Radii",
4278
- "orbInspector.tokenGroup.spacing": "Spacing",
4279
- "orbInspector.tokenGroup.shadows": "Shadows",
4280
- "orbInspector.tab.inspector": "Inspector",
4281
- "orbInspector.tab.styles": "Styles",
4282
- "orbInspector.tab.code": "Code",
4283
- "canvas.goBackToOverview": "Go back to overview",
4284
- "canvas.overview": "Overview",
4285
- "canvas.expanded": "Expanded",
4286
- "canvas.modulesCount": "{{count}} modules",
4287
- "canvas.screensCount": "{{count}} screens",
4288
- "canvas.switchToView": "Switch to {{label}} view",
4289
- "lawReference.viewFullText": "View full law text",
4290
- "statCard.defaultLabel": "Stat",
4291
- "statCard.vsLastPeriod": "vs last period",
4292
- "mediaGallery.upload": "Upload",
4293
- "mediaGallery.noMediaDescription": "No media items to display.",
4294
- "pagination.jumpPlaceholder": "Page",
4295
- "table.selectRow": "Select row {{id}}",
4296
- "card.selectItem": "Select {{item}}",
4297
- "card.itemFallback": "item",
4298
- "fileTree.noFiles": "No files",
4299
- "masterDetail.selectItem": "Select an item to view details",
4300
- "empty.createFirst": "Create your first item to get started.",
4301
- "upload.dropOrBrowse": "Drop files here or click to browse",
4302
- "upload.dropFilesHere": "Drop files here",
4303
- "upload.accepted": "Accepted: {{accept}}",
4304
- "upload.maxSize": "Max size: {{size}}",
4305
- "upload.maxFiles": "Up to {{count}} files",
4306
- "upload.error.maxFiles": "Maximum {{count}} files allowed",
4307
- "upload.error.invalidType": "Invalid file type: {{name}}",
4308
- "upload.error.tooLarge": "File too large: {{name}} (max {{size}})",
4309
- "optionConstraint.requiredOne": "Required, pick 1",
4310
- "optionConstraint.optionalOne": "Optional, pick up to 1",
4311
- "optionConstraint.pickExactly": "Pick exactly {{count}}",
4312
- "optionConstraint.pickRange": "Pick {{min}}-{{max}}",
4313
- "optionConstraint.pickAtLeast": "Pick at least {{count}}",
4314
- "optionConstraint.pickUpTo": "Pick up to {{count}}",
4315
- "optionConstraint.optional": "Optional",
4316
- "optionConstraint.outOfStock": "Out of stock",
4317
- "optionConstraint.error.pickOne": "Pick 1 option",
4318
- "optionConstraint.error.pickOnlyOne": "Pick only 1 option",
4319
- "optionConstraint.error.pickMore": "Pick at least {{count}} more",
4320
- "optionConstraint.error.removeOptions": "Remove {{count}} options",
4321
- "stateMachine.pinned": "Pinned",
4322
- "stateMachine.eventCount": "{{count}} events",
4323
- "stateMachine.externalEffects": "External Effects",
4324
- "stateMachine.legend.initial": "Initial",
4325
- "stateMachine.legend.final": "Final",
4326
- "stateMachine.legend.state": "State",
4327
- "stateMachine.legend.multiEvent": "Multi-event",
4328
- "relationSelect.selectPlaceholder": "Select..."
4329
- };
4330
- }
4331
- });
4332
- function useTranslate() {
4333
- return useContext(I18nContext);
4334
- }
4335
- var _meta, coreMessages, coreLocale, I18nContext;
4336
- var init_useTranslate = __esm({
4337
- "hooks/useTranslate.ts"() {
4338
- "use client";
4339
- init_en();
4340
- ({ $meta: _meta, ...coreMessages } = en_default);
4341
- coreLocale = coreMessages;
4342
- I18nContext = createContext({
4343
- locale: "en",
4344
- direction: "ltr",
4345
- t: (key) => coreLocale[key] ?? key
4346
- // core locale fallback
4347
- });
4348
- I18nContext.displayName = "I18nContext";
4349
- I18nContext.Provider;
4350
- }
4351
- });
4352
3855
  var MAX_VISIBLE_EFFECTS, AvlTransitionLane;
4353
3856
  var init_AvlTransitionLane = __esm({
4354
3857
  "components/avl/molecules/AvlTransitionLane.tsx"() {
@@ -4978,7 +4481,6 @@ var log2, SWIM_GUTTER, CENTER_W, BehaviorView;
4978
4481
  var init_BehaviorView = __esm({
4979
4482
  "components/avl/molecules/BehaviorView.tsx"() {
4980
4483
  "use client";
4981
- init_useTranslate();
4982
4484
  init_AvlState();
4983
4485
  init_AvlTransitionLane();
4984
4486
  init_AvlSwimLane();
@@ -6830,7 +6332,6 @@ var init_Modal = __esm({
6830
6332
  init_Overlay();
6831
6333
  init_cn();
6832
6334
  init_useEventBus();
6833
- init_useTranslate();
6834
6335
  sizeClasses2 = {
6835
6336
  sm: "max-w-md",
6836
6337
  md: "max-w-2xl",
@@ -7052,7 +6553,6 @@ var init_Drawer = __esm({
7052
6553
  init_Overlay();
7053
6554
  init_cn();
7054
6555
  init_useEventBus();
7055
- init_useTranslate();
7056
6556
  sizeWidths = {
7057
6557
  sm: "w-full sm:w-80",
7058
6558
  // 320px
@@ -7325,7 +6825,6 @@ var init_Toast = __esm({
7325
6825
  init_Badge();
7326
6826
  init_cn();
7327
6827
  init_useEventBus();
7328
- init_useTranslate();
7329
6828
  variantClasses = {
7330
6829
  success: "bg-card border-[length:var(--border-width)] border-success",
7331
6830
  error: "bg-card border-[length:var(--border-width)] border-error",
@@ -8287,7 +7786,6 @@ var init_Input = __esm({
8287
7786
  "components/core/atoms/Input.tsx"() {
8288
7787
  init_cn();
8289
7788
  init_Icon();
8290
- init_useTranslate();
8291
7789
  Input = React97__default.forwardRef(
8292
7790
  ({
8293
7791
  className,
@@ -8671,7 +8169,6 @@ var init_FilterPill = __esm({
8671
8169
  "components/core/atoms/FilterPill.tsx"() {
8672
8170
  init_cn();
8673
8171
  init_useEventBus();
8674
- init_useTranslate();
8675
8172
  init_Icon();
8676
8173
  variantStyles5 = {
8677
8174
  default: [
@@ -9797,7 +9294,6 @@ var init_LawReferenceTooltip = __esm({
9797
9294
  init_Typography();
9798
9295
  init_Divider();
9799
9296
  init_cn();
9800
- init_useTranslate();
9801
9297
  positionStyles2 = {
9802
9298
  top: "bottom-full left-1/2 -translate-x-1/2 mb-2",
9803
9299
  bottom: "top-full left-1/2 -translate-x-1/2 mt-2",
@@ -12793,7 +12289,6 @@ var init_ErrorState = __esm({
12793
12289
  init_Typography();
12794
12290
  init_Icon();
12795
12291
  init_useEventBus();
12796
- init_useTranslate();
12797
12292
  ErrorState = ({
12798
12293
  title,
12799
12294
  message,
@@ -12836,7 +12331,6 @@ var init_ErrorBoundary = __esm({
12836
12331
  "use client";
12837
12332
  init_cn();
12838
12333
  init_ErrorState();
12839
- init_useTranslate();
12840
12334
  DefaultFallback = ({ error, onRetry }) => {
12841
12335
  const { t } = useTranslate();
12842
12336
  return /* @__PURE__ */ jsx(
@@ -12986,7 +12480,6 @@ var init_Skeleton = __esm({
12986
12480
  "components/core/molecules/Skeleton.tsx"() {
12987
12481
  "use client";
12988
12482
  init_cn();
12989
- init_useTranslate();
12990
12483
  init_Box();
12991
12484
  init_Stack();
12992
12485
  init_Stack();
@@ -13663,7 +13156,6 @@ var AboutPageTemplate;
13663
13156
  var init_AboutPageTemplate = __esm({
13664
13157
  "components/marketing/templates/AboutPageTemplate.tsx"() {
13665
13158
  init_cn();
13666
- init_useTranslate();
13667
13159
  init_Stack();
13668
13160
  init_Box();
13669
13161
  init_Typography();
@@ -13768,7 +13260,6 @@ var init_Alert = __esm({
13768
13260
  init_Icon();
13769
13261
  init_Typography();
13770
13262
  init_useEventBus();
13771
- init_useTranslate();
13772
13263
  variantBorderClasses = {
13773
13264
  info: "border-info",
13774
13265
  success: "border-success",
@@ -14128,7 +13619,6 @@ var init_Menu = __esm({
14128
13619
  init_Badge();
14129
13620
  init_cn();
14130
13621
  init_useEventBus();
14131
- init_useTranslate();
14132
13622
  Menu = ({
14133
13623
  trigger,
14134
13624
  items,
@@ -14136,7 +13626,7 @@ var init_Menu = __esm({
14136
13626
  className
14137
13627
  }) => {
14138
13628
  const eventBus = useEventBus();
14139
- const { t } = useTranslate();
13629
+ const { t, direction } = useTranslate();
14140
13630
  const [isOpen, setIsOpen] = useState(false);
14141
13631
  const [activeSubMenu, setActiveSubMenu] = useState(null);
14142
13632
  const [triggerRect, setTriggerRect] = useState(null);
@@ -14190,6 +13680,18 @@ var init_Menu = __esm({
14190
13680
  "bottom-start": "top-full left-0 mt-2",
14191
13681
  "bottom-end": "top-full right-0 mt-2"
14192
13682
  };
13683
+ const rtlMirror = {
13684
+ "top-left": "top-right",
13685
+ "top-right": "top-left",
13686
+ "bottom-left": "bottom-right",
13687
+ "bottom-right": "bottom-left",
13688
+ "top-start": "top-end",
13689
+ "top-end": "top-start",
13690
+ "bottom-start": "bottom-end",
13691
+ "bottom-end": "bottom-start"
13692
+ };
13693
+ const effectivePosition = direction === "rtl" ? rtlMirror[position] ?? position : position;
13694
+ const subMenuSideClass = direction === "rtl" ? "right-full mr-2" : "left-full ml-2";
14193
13695
  const triggerChild = React97__default.isValidElement(trigger) ? trigger : /* @__PURE__ */ jsx(Typography, { variant: "small", as: "span", children: trigger });
14194
13696
  const triggerElement = React97__default.cloneElement(
14195
13697
  triggerChild,
@@ -14217,7 +13719,7 @@ var init_Menu = __esm({
14217
13719
  onMouseEnter: () => hasSubMenu && setActiveSubMenu(itemId),
14218
13720
  "data-testid": item.event ? `action-${item.event}` : void 0,
14219
13721
  className: cn(
14220
- "w-full flex items-center justify-between gap-3 px-4 py-2 text-left",
13722
+ "w-full flex items-center justify-between gap-3 px-4 py-2 text-start",
14221
13723
  "text-sm transition-colors",
14222
13724
  "hover:bg-muted",
14223
13725
  "focus:outline-none focus:bg-muted",
@@ -14236,7 +13738,7 @@ var init_Menu = __esm({
14236
13738
  }
14237
13739
  ),
14238
13740
  item.badge !== void 0 && /* @__PURE__ */ jsx(Badge, { variant: "default", size: "sm", children: item.badge }),
14239
- hasSubMenu && /* @__PURE__ */ jsx(Icon, { name: "chevron-right", size: "sm", className: "flex-shrink-0" })
13741
+ hasSubMenu && /* @__PURE__ */ jsx(Icon, { name: direction === "rtl" ? "chevron-left" : "chevron-right", size: "sm", className: "flex-shrink-0" })
14240
13742
  ] })
14241
13743
  },
14242
13744
  itemId
@@ -14256,7 +13758,8 @@ var init_Menu = __esm({
14256
13758
  Box,
14257
13759
  {
14258
13760
  className: cn(
14259
- "absolute left-full top-0 ml-2 z-50",
13761
+ "absolute top-0 z-50",
13762
+ subMenuSideClass,
14260
13763
  menuContainerStyles
14261
13764
  ),
14262
13765
  children: renderMenuItems(item.subMenu)
@@ -14274,12 +13777,12 @@ var init_Menu = __esm({
14274
13777
  className: cn(
14275
13778
  "absolute z-50",
14276
13779
  menuContainerStyles,
14277
- positionClasses3[position],
13780
+ positionClasses3[effectivePosition],
14278
13781
  className
14279
13782
  ),
14280
13783
  style: {
14281
- left: position.includes("left") ? 0 : "auto",
14282
- right: position.includes("right") ? 0 : "auto"
13784
+ left: effectivePosition.includes("left") ? 0 : "auto",
13785
+ right: effectivePosition.includes("right") ? 0 : "auto"
14283
13786
  },
14284
13787
  role: "menu",
14285
13788
  children: renderMenuItems(items)
@@ -14416,7 +13919,6 @@ var init_FloatingActionButton = __esm({
14416
13919
  init_Typography();
14417
13920
  init_cn();
14418
13921
  init_useEventBus();
14419
- init_useTranslate();
14420
13922
  FloatingActionButton = ({
14421
13923
  action,
14422
13924
  actionPayload,
@@ -14600,7 +14102,7 @@ var init_MapView = __esm({
14600
14102
  L.Marker.prototype.options.icon = defaultIcon;
14601
14103
  const { useEffect: useEffect79, useRef: useRef71, useCallback: useCallback122, useState: useState113 } = React97__default;
14602
14104
  const { Typography: Typography2 } = await Promise.resolve().then(() => (init_Typography(), Typography_exports));
14603
- const { useEventBus: useEventBus2 } = await Promise.resolve().then(() => (init_useEventBus(), useEventBus_exports));
14105
+ const { useEventBus: useEventBus3 } = await Promise.resolve().then(() => (init_useEventBus(), useEventBus_exports));
14604
14106
  function MapUpdater({ centerLat, centerLng, zoom }) {
14605
14107
  const map = useMap();
14606
14108
  const prevRef = useRef71({ centerLat, centerLng, zoom });
@@ -14642,7 +14144,7 @@ var init_MapView = __esm({
14642
14144
  className,
14643
14145
  showAttribution = true
14644
14146
  }) {
14645
- const eventBus = useEventBus2();
14147
+ const eventBus = useEventBus3();
14646
14148
  const [clickedPosition, setClickedPosition] = useState113(null);
14647
14149
  const handleMapClick = useCallback122((lat, lng) => {
14648
14150
  if (showClickedPin) {
@@ -15338,7 +14840,6 @@ var init_ActionTile = __esm({
15338
14840
  "components/game/organisms/puzzles/sequencer/ActionTile.tsx"() {
15339
14841
  init_atoms2();
15340
14842
  init_cn();
15341
- init_useTranslate();
15342
14843
  DRAG_MIME = "application/x-almadar-slot-item";
15343
14844
  SIZE_CONFIG = {
15344
14845
  sm: { px: "px-2 py-1", icon: "text-lg", text: "text-xs" },
@@ -15376,7 +14877,6 @@ var init_ActionPalette = __esm({
15376
14877
  "components/game/organisms/puzzles/sequencer/ActionPalette.tsx"() {
15377
14878
  init_atoms2();
15378
14879
  init_cn();
15379
- init_useTranslate();
15380
14880
  init_ActionTile();
15381
14881
  ActionPalette.displayName = "ActionPalette";
15382
14882
  }
@@ -15386,7 +14886,6 @@ var init_AuthLayout = __esm({
15386
14886
  "components/core/templates/AuthLayout.tsx"() {
15387
14887
  "use client";
15388
14888
  init_cn();
15389
- init_useTranslate();
15390
14889
  init_Box();
15391
14890
  init_Stack();
15392
14891
  init_Typography();
@@ -15531,7 +15030,6 @@ var init_LoadingState = __esm({
15531
15030
  init_atoms2();
15532
15031
  init_Stack();
15533
15032
  init_Typography();
15534
- init_useTranslate();
15535
15033
  LoadingState = ({
15536
15034
  title,
15537
15035
  message,
@@ -16747,7 +16245,6 @@ var init_IsometricCanvas = __esm({
16747
16245
  "use client";
16748
16246
  init_cn();
16749
16247
  init_useEventBus();
16750
- init_useTranslate();
16751
16248
  init_Box();
16752
16249
  init_Stack();
16753
16250
  init_Icon();
@@ -17111,7 +16608,6 @@ var init_BattleBoard = __esm({
17111
16608
  "use client";
17112
16609
  init_cn();
17113
16610
  init_useEventBus();
17114
- init_useTranslate();
17115
16611
  init_Box();
17116
16612
  init_Button();
17117
16613
  init_Typography();
@@ -17156,7 +16652,6 @@ var MIN_DIAGRAM_WIDTH, ScaledDiagram;
17156
16652
  var init_ScaledDiagram = __esm({
17157
16653
  "components/core/molecules/ScaledDiagram.tsx"() {
17158
16654
  init_Box();
17159
- init_useTranslate();
17160
16655
  init_cn();
17161
16656
  MIN_DIAGRAM_WIDTH = 200;
17162
16657
  ScaledDiagram = ({
@@ -17299,7 +16794,6 @@ var init_CodeBlock = __esm({
17299
16794
  init_Textarea();
17300
16795
  init_Icon();
17301
16796
  init_useEventBus();
17302
- init_useTranslate();
17303
16797
  SyntaxHighlighter.registerLanguage("json", langJson);
17304
16798
  SyntaxHighlighter.registerLanguage("javascript", langJavascript);
17305
16799
  SyntaxHighlighter.registerLanguage("js", langJavascript);
@@ -17806,7 +17300,6 @@ var init_MarkdownContent = __esm({
17806
17300
  init_katex_min();
17807
17301
  init_Box();
17808
17302
  init_CodeBlock();
17809
- init_useTranslate();
17810
17303
  init_cn();
17811
17304
  MarkdownContent = React97__default.memo(
17812
17305
  ({ content, direction, className }) => {
@@ -18111,7 +17604,6 @@ var init_Card2 = __esm({
18111
17604
  "components/core/molecules/Card.tsx"() {
18112
17605
  "use client";
18113
17606
  init_useEventBus();
18114
- init_useTranslate();
18115
17607
  init_useLongPress();
18116
17608
  Card2.displayName = "Card";
18117
17609
  }
@@ -18125,7 +17617,6 @@ var init_QuizBlock = __esm({
18125
17617
  init_Button();
18126
17618
  init_Icon();
18127
17619
  init_Box();
18128
- init_useTranslate();
18129
17620
  init_cn();
18130
17621
  QuizBlock = ({
18131
17622
  question,
@@ -18168,7 +17659,6 @@ var init_StateMachineView = __esm({
18168
17659
  init_Typography();
18169
17660
  init_Button();
18170
17661
  init_Icon();
18171
- init_useTranslate();
18172
17662
  init_useEventBus();
18173
17663
  init_cn();
18174
17664
  StateNode = ({ state, config }) => {
@@ -19535,7 +19025,6 @@ var init_JazariStateMachine = __esm({
19535
19025
  init_StateMachineView();
19536
19026
  init_visualizer();
19537
19027
  init_svg_paths();
19538
- init_useTranslate();
19539
19028
  init_cn();
19540
19029
  JAZARI_VISUALIZER_CONFIG = {
19541
19030
  ...DEFAULT_CONFIG,
@@ -19691,7 +19180,6 @@ var init_ContentRenderer = __esm({
19691
19180
  init_ScaledDiagram();
19692
19181
  init_JazariStateMachine();
19693
19182
  init_parseContentSegments();
19694
- init_useTranslate();
19695
19183
  init_cn();
19696
19184
  ContentRenderer = ({
19697
19185
  content,
@@ -19785,7 +19273,6 @@ var init_BookChapterView = __esm({
19785
19273
  init_ScaledDiagram();
19786
19274
  init_ContentRenderer();
19787
19275
  init_JazariStateMachine();
19788
- init_useTranslate();
19789
19276
  init_cn();
19790
19277
  BookChapterView = ({
19791
19278
  chapter,
@@ -19824,7 +19311,6 @@ var init_BookCoverPage = __esm({
19824
19311
  init_Typography();
19825
19312
  init_Button();
19826
19313
  init_Box();
19827
- init_useTranslate();
19828
19314
  init_cn();
19829
19315
  BookCoverPage = ({
19830
19316
  title,
@@ -19904,7 +19390,6 @@ var init_BookNavBar = __esm({
19904
19390
  init_Typography();
19905
19391
  init_ProgressBar();
19906
19392
  init_Box();
19907
- init_useTranslate();
19908
19393
  init_cn();
19909
19394
  BookNavBar = ({
19910
19395
  currentPage,
@@ -20006,7 +19491,6 @@ var init_BookTableOfContents = __esm({
20006
19491
  init_Button();
20007
19492
  init_Box();
20008
19493
  init_Badge();
20009
- init_useTranslate();
20010
19494
  init_cn();
20011
19495
  BookTableOfContents = ({
20012
19496
  parts,
@@ -20066,7 +19550,6 @@ var init_EmptyState = __esm({
20066
19550
  init_Stack();
20067
19551
  init_Typography();
20068
19552
  init_useEventBus();
20069
- init_useTranslate();
20070
19553
  ICON_NAME_ALIASES = {
20071
19554
  check: "check-circle",
20072
19555
  error: "x-circle",
@@ -20237,7 +19720,6 @@ var init_BookViewer = __esm({
20237
19720
  init_Box();
20238
19721
  init_Stack();
20239
19722
  init_useEventBus();
20240
- init_useTranslate();
20241
19723
  init_cn();
20242
19724
  init_BookCoverPage();
20243
19725
  init_BookTableOfContents();
@@ -20669,7 +20151,6 @@ var init_BranchingLogicBuilder = __esm({
20669
20151
  init_FilterPill();
20670
20152
  init_Box();
20671
20153
  init_useEventBus();
20672
- init_useTranslate();
20673
20154
  init_cn();
20674
20155
  END_OF_SURVEY = "end-of-survey";
20675
20156
  RuleRow = ({
@@ -21122,7 +20603,6 @@ var init_Breadcrumb = __esm({
21122
20603
  init_Typography();
21123
20604
  init_cn();
21124
20605
  init_useEventBus();
21125
- init_useTranslate();
21126
20606
  Breadcrumb = ({
21127
20607
  items,
21128
20608
  separator = "chevron-right",
@@ -21358,7 +20838,6 @@ var init_BuilderBoard = __esm({
21358
20838
  "components/game/organisms/puzzles/builder/BuilderBoard.tsx"() {
21359
20839
  init_atoms2();
21360
20840
  init_useEventBus();
21361
- init_useTranslate();
21362
20841
  BuilderBoard.displayName = "BuilderBoard";
21363
20842
  }
21364
20843
  });
@@ -21836,7 +21315,6 @@ var init_CalendarGrid = __esm({
21836
21315
  init_TimeSlotCell();
21837
21316
  init_useEventBus();
21838
21317
  init_useSwipeGesture();
21839
- init_useTranslate();
21840
21318
  SHORT_DATE = { month: "short", day: "numeric" };
21841
21319
  CalendarGrid.displayName = "CalendarGrid";
21842
21320
  }
@@ -23145,7 +22623,6 @@ var init_Pagination = __esm({
23145
22623
  init_Stack();
23146
22624
  init_cn();
23147
22625
  init_useEventBus();
23148
- init_useTranslate();
23149
22626
  Pagination = ({
23150
22627
  currentPage,
23151
22628
  totalPages,
@@ -23349,7 +22826,6 @@ var init_CardGrid = __esm({
23349
22826
  init_cn();
23350
22827
  init_getNestedValue();
23351
22828
  init_useEventBus();
23352
- init_useTranslate();
23353
22829
  init_atoms2();
23354
22830
  init_Badge();
23355
22831
  init_Box();
@@ -23578,7 +23054,6 @@ var init_Carousel = __esm({
23578
23054
  init_cn();
23579
23055
  init_useEventBus();
23580
23056
  init_useSwipeGesture();
23581
- init_useTranslate();
23582
23057
  init_Box();
23583
23058
  init_Stack();
23584
23059
  init_Button();
@@ -23815,7 +23290,6 @@ var init_CaseStudyOrganism = __esm({
23815
23290
  "use client";
23816
23291
  init_cn();
23817
23292
  init_useEventBus();
23818
- init_useTranslate();
23819
23293
  init_Stack();
23820
23294
  init_Typography();
23821
23295
  init_SimpleGrid();
@@ -24020,7 +23494,6 @@ var init_Chart = __esm({
24020
23494
  init_ErrorState();
24021
23495
  init_EmptyState();
24022
23496
  init_useEventBus();
24023
- init_useTranslate();
24024
23497
  CHART_COLORS = [
24025
23498
  "var(--color-primary)",
24026
23499
  "var(--color-success)",
@@ -24928,7 +24401,6 @@ var init_ClassifierBoard = __esm({
24928
24401
  "components/game/organisms/puzzles/classifier/ClassifierBoard.tsx"() {
24929
24402
  init_atoms2();
24930
24403
  init_useEventBus();
24931
- init_useTranslate();
24932
24404
  ClassifierBoard.displayName = "ClassifierBoard";
24933
24405
  }
24934
24406
  });
@@ -24960,7 +24432,6 @@ var init_CodeView = __esm({
24960
24432
  "components/game/organisms/puzzles/state-architect/CodeView.tsx"() {
24961
24433
  init_atoms2();
24962
24434
  init_cn();
24963
- init_useTranslate();
24964
24435
  CodeView.displayName = "CodeView";
24965
24436
  }
24966
24437
  });
@@ -24974,7 +24445,6 @@ var init_Tabs = __esm({
24974
24445
  init_Box();
24975
24446
  init_cn();
24976
24447
  init_useEventBus();
24977
- init_useTranslate();
24978
24448
  Tabs = ({
24979
24449
  items,
24980
24450
  tabs,
@@ -25151,7 +24621,6 @@ var init_CodeViewer = __esm({
25151
24621
  init_EmptyState();
25152
24622
  init_Tabs();
25153
24623
  init_useEventBus();
25154
- init_useTranslate();
25155
24624
  DIFF_STYLES = {
25156
24625
  add: {
25157
24626
  bg: "bg-success/10",
@@ -25523,7 +24992,6 @@ var init_ConfirmDialog = __esm({
25523
24992
  init_Box();
25524
24993
  init_Stack();
25525
24994
  init_cn();
25526
- init_useTranslate();
25527
24995
  variantConfig = {
25528
24996
  danger: {
25529
24997
  icon: Trash2,
@@ -26005,7 +25473,6 @@ var init_DashboardGrid = __esm({
26005
25473
  "components/core/organisms/layout/DashboardGrid.tsx"() {
26006
25474
  init_cn();
26007
25475
  init_Box();
26008
- init_useTranslate();
26009
25476
  gapStyles5 = {
26010
25477
  sm: "gap-2",
26011
25478
  md: "gap-4",
@@ -26099,7 +25566,6 @@ var init_DashboardLayout = __esm({
26099
25566
  init_Icon();
26100
25567
  init_useAuthContext();
26101
25568
  init_useEventBus();
26102
- init_useTranslate();
26103
25569
  init_CurrentPagePathContext();
26104
25570
  DashboardLayout = ({
26105
25571
  appName = "{{APP_TITLE}}",
@@ -27444,7 +26910,6 @@ var init_DataGrid = __esm({
27444
26910
  init_cn();
27445
26911
  init_getNestedValue();
27446
26912
  init_useEventBus();
27447
- init_useTranslate();
27448
26913
  init_Box();
27449
26914
  init_Stack();
27450
26915
  init_Typography();
@@ -27883,7 +27348,6 @@ var init_DataList = __esm({
27883
27348
  init_cn();
27884
27349
  init_getNestedValue();
27885
27350
  init_useEventBus();
27886
- init_useTranslate();
27887
27351
  init_Box();
27888
27352
  init_Stack();
27889
27353
  init_Typography();
@@ -27938,7 +27402,6 @@ var init_FileTree = __esm({
27938
27402
  init_Box();
27939
27403
  init_Typography();
27940
27404
  init_Icon();
27941
- init_useTranslate();
27942
27405
  TreeNodeItem = ({
27943
27406
  node,
27944
27407
  depth,
@@ -28145,7 +27608,6 @@ var init_FilterGroup = __esm({
28145
27608
  init_Icon();
28146
27609
  init_useEventBus();
28147
27610
  init_useQuerySingleton();
28148
- init_useTranslate();
28149
27611
  resolveFilterType = (filter) => filter.filterType ?? filter.type;
28150
27612
  lookStyles6 = {
28151
27613
  toolbar: "",
@@ -28787,7 +28249,6 @@ var init_RelationSelect = __esm({
28787
28249
  init_Spinner();
28788
28250
  init_Typography();
28789
28251
  init_debug();
28790
- init_useTranslate();
28791
28252
  isRelationsDebugEnabled = () => isDebugEnabled();
28792
28253
  RelationSelect = ({
28793
28254
  value,
@@ -29012,7 +28473,6 @@ var init_SearchInput = __esm({
29012
28473
  init_cn();
29013
28474
  init_useEventBus();
29014
28475
  init_useQuerySingleton();
29015
- init_useTranslate();
29016
28476
  SearchInput = ({
29017
28477
  value,
29018
28478
  onSearch,
@@ -29115,7 +28575,6 @@ var init_SidePanel = __esm({
29115
28575
  init_Typography();
29116
28576
  init_cn();
29117
28577
  init_useEventBus();
29118
- init_useTranslate();
29119
28578
  SidePanel = ({
29120
28579
  title,
29121
28580
  children,
@@ -29294,7 +28753,6 @@ var init_WizardNavigation = __esm({
29294
28753
  init_Icon();
29295
28754
  init_cn();
29296
28755
  init_useEventBus();
29297
- init_useTranslate();
29298
28756
  WizardNavigation = ({
29299
28757
  currentStep,
29300
28758
  totalSteps,
@@ -29382,7 +28840,6 @@ var init_RepeatableFormSection = __esm({
29382
28840
  init_Card();
29383
28841
  init_Icon();
29384
28842
  init_useEventBus();
29385
- init_useTranslate();
29386
28843
  RepeatableFormSection = ({
29387
28844
  sectionType,
29388
28845
  title,
@@ -29513,7 +28970,6 @@ var actionTypeLabelKeys, actionTypeIcons, ViolationAlert;
29513
28970
  var init_ViolationAlert = __esm({
29514
28971
  "components/core/molecules/ViolationAlert.tsx"() {
29515
28972
  init_cn();
29516
- init_useTranslate();
29517
28973
  init_Box();
29518
28974
  init_Stack();
29519
28975
  init_Typography();
@@ -30019,7 +29475,6 @@ var init_LineChart = __esm({
30019
29475
  "use client";
30020
29476
  init_cn();
30021
29477
  init_atoms2();
30022
- init_useTranslate();
30023
29478
  LineChart2 = ({
30024
29479
  data,
30025
29480
  width = 400,
@@ -31975,7 +31430,6 @@ var init_GraphView = __esm({
31975
31430
  "use client";
31976
31431
  init_cn();
31977
31432
  init_atoms2();
31978
- init_useTranslate();
31979
31433
  GROUP_COLORS = [
31980
31434
  "#3b82f6",
31981
31435
  // blue-500
@@ -32301,7 +31755,6 @@ var init_NumberStepper = __esm({
32301
31755
  init_cn();
32302
31756
  init_Icon();
32303
31757
  init_useEventBus();
32304
- init_useTranslate();
32305
31758
  sizeStyles10 = {
32306
31759
  sm: {
32307
31760
  button: "w-7 h-7",
@@ -32642,7 +32095,6 @@ var init_UploadDropZone = __esm({
32642
32095
  init_Icon();
32643
32096
  init_Typography();
32644
32097
  init_useEventBus();
32645
- init_useTranslate();
32646
32098
  UploadDropZone = ({
32647
32099
  accept,
32648
32100
  maxSize,
@@ -32809,7 +32261,6 @@ var init_Lightbox = __esm({
32809
32261
  init_Icon();
32810
32262
  init_cn();
32811
32263
  init_useEventBus();
32812
- init_useTranslate();
32813
32264
  Lightbox = ({
32814
32265
  images = [],
32815
32266
  currentIndex = 0,
@@ -33294,7 +32745,6 @@ var init_TableView = __esm({
33294
32745
  init_cn();
33295
32746
  init_getNestedValue();
33296
32747
  init_useEventBus();
33297
- init_useTranslate();
33298
32748
  init_Box();
33299
32749
  init_Stack();
33300
32750
  init_Typography();
@@ -33498,7 +32948,6 @@ var init_Meter = __esm({
33498
32948
  init_LoadingState();
33499
32949
  init_ErrorState();
33500
32950
  init_useEventBus();
33501
- init_useTranslate();
33502
32951
  DEFAULT_THRESHOLDS = [
33503
32952
  { value: 30, color: "var(--color-error)" },
33504
32953
  { value: 70, color: "var(--color-warning)" },
@@ -35445,7 +34894,6 @@ var init_VoteStack = __esm({
35445
34894
  init_cn();
35446
34895
  init_Icon();
35447
34896
  init_useEventBus();
35448
- init_useTranslate();
35449
34897
  sizeStyles12 = {
35450
34898
  sm: {
35451
34899
  button: "w-7 h-7",
@@ -35900,7 +35348,6 @@ var init_QrScanner = __esm({
35900
35348
  init_atoms2();
35901
35349
  init_Icon();
35902
35350
  init_useEventBus();
35903
- init_useTranslate();
35904
35351
  QrScanner = ({
35905
35352
  onScan,
35906
35353
  scanEvent,
@@ -36127,7 +35574,6 @@ var init_OptionConstraintGroup = __esm({
36127
35574
  "components/core/molecules/OptionConstraintGroup.tsx"() {
36128
35575
  init_cn();
36129
35576
  init_useEventBus();
36130
- init_useTranslate();
36131
35577
  init_Typography();
36132
35578
  init_Box();
36133
35579
  init_Label();
@@ -37083,7 +36529,6 @@ var init_RichBlockEditor = __esm({
37083
36529
  init_Input();
37084
36530
  init_Icon();
37085
36531
  init_useEventBus();
37086
- init_useTranslate();
37087
36532
  TOOLBAR_ENTRIES = [
37088
36533
  { type: "paragraph", labelKey: "richBlockEditor.toolbar.text", icon: Type },
37089
36534
  { type: "heading-1", labelKey: "richBlockEditor.toolbar.h1", icon: Heading1 },
@@ -37274,7 +36719,6 @@ var init_ReplyTree = __esm({
37274
36719
  "use client";
37275
36720
  init_cn();
37276
36721
  init_useEventBus();
37277
- init_useTranslate();
37278
36722
  init_atoms2();
37279
36723
  init_VoteStack();
37280
36724
  ReplyTreeNode = ({
@@ -37582,7 +37026,6 @@ var init_VersionDiff = __esm({
37582
37026
  "use client";
37583
37027
  init_cn();
37584
37028
  init_useEventBus();
37585
- init_useTranslate();
37586
37029
  init_atoms2();
37587
37030
  init_Stack();
37588
37031
  INLINE_STYLES = {
@@ -37898,7 +37341,6 @@ var init_DocBreadcrumb = __esm({
37898
37341
  init_Stack();
37899
37342
  init_Typography();
37900
37343
  init_Icon();
37901
- init_useTranslate();
37902
37344
  DocBreadcrumb = ({
37903
37345
  items,
37904
37346
  className
@@ -38327,7 +37769,6 @@ var init_DocSearch = __esm({
38327
37769
  init_Typography();
38328
37770
  init_Icon();
38329
37771
  init_Input();
38330
- init_useTranslate();
38331
37772
  }
38332
37773
  });
38333
37774
  var DocSidebarCategory, DocSidebar;
@@ -38340,7 +37781,6 @@ var init_DocSidebar = __esm({
38340
37781
  init_Stack();
38341
37782
  init_Typography();
38342
37783
  init_Icon();
38343
- init_useTranslate();
38344
37784
  DocSidebarCategory = ({ item, depth }) => {
38345
37785
  const [expanded, setExpanded] = useState(
38346
37786
  () => item.items?.some(function hasActive(child) {
@@ -38447,7 +37887,6 @@ var init_DocTOC = __esm({
38447
37887
  init_Box();
38448
37888
  init_Stack();
38449
37889
  init_Typography();
38450
- init_useTranslate();
38451
37890
  DocTOC = ({
38452
37891
  items,
38453
37892
  activeId,
@@ -38773,7 +38212,6 @@ var init_Header = __esm({
38773
38212
  init_Stack();
38774
38213
  init_Typography();
38775
38214
  init_cn();
38776
- init_useTranslate();
38777
38215
  lookStyles8 = {
38778
38216
  "compact-bar": "",
38779
38217
  hero: "py-section min-h-[200px] [&_h1]:text-display-1",
@@ -39093,7 +38531,6 @@ var init_Sidebar = __esm({
39093
38531
  init_Typography();
39094
38532
  init_cn();
39095
38533
  init_useEventBus();
39096
- init_useTranslate();
39097
38534
  SidebarNavItem = ({ item, collapsed }) => {
39098
38535
  const Icon3 = item.icon;
39099
38536
  const isActive = item.active ?? item.isActive;
@@ -39347,7 +38784,6 @@ var init_WizardContainer = __esm({
39347
38784
  init_Stack();
39348
38785
  init_Icon();
39349
38786
  init_cn();
39350
- init_useTranslate();
39351
38787
  WizardContainer = ({
39352
38788
  steps,
39353
38789
  currentStep: controlledStep,
@@ -39921,7 +39357,6 @@ var init_SignaturePad = __esm({
39921
39357
  init_LoadingState();
39922
39358
  init_ErrorState();
39923
39359
  init_useEventBus();
39924
- init_useTranslate();
39925
39360
  SignaturePad = ({
39926
39361
  label,
39927
39362
  helperText,
@@ -40115,7 +39550,6 @@ var init_DocumentViewer = __esm({
40115
39550
  init_EmptyState();
40116
39551
  init_Tabs();
40117
39552
  init_useEventBus();
40118
- init_useTranslate();
40119
39553
  DocumentViewer = ({
40120
39554
  title,
40121
39555
  src,
@@ -40320,7 +39754,6 @@ var init_GraphCanvas = __esm({
40320
39754
  init_ErrorState();
40321
39755
  init_EmptyState();
40322
39756
  init_useEventBus();
40323
- init_useTranslate();
40324
39757
  GROUP_COLORS2 = [
40325
39758
  "var(--color-primary)",
40326
39759
  "var(--color-success)",
@@ -41058,7 +40491,6 @@ var init_DataTable = __esm({
41058
40491
  init_molecules2();
41059
40492
  init_Icon();
41060
40493
  init_useEventBus();
41061
- init_useTranslate();
41062
40494
  init_types3();
41063
40495
  lookStyles9 = {
41064
40496
  dense: "",
@@ -41205,7 +40637,6 @@ var init_DebuggerBoard = __esm({
41205
40637
  "components/game/organisms/puzzles/debugger/DebuggerBoard.tsx"() {
41206
40638
  init_atoms2();
41207
40639
  init_useEventBus();
41208
- init_useTranslate();
41209
40640
  DebuggerBoard.displayName = "DebuggerBoard";
41210
40641
  }
41211
40642
  });
@@ -41376,7 +40807,6 @@ var init_DetailPanel = __esm({
41376
40807
  init_cn();
41377
40808
  init_getNestedValue();
41378
40809
  init_useEventBus();
41379
- init_useTranslate();
41380
40810
  ReactMarkdown2 = lazy(() => import('react-markdown'));
41381
40811
  DetailPanel = ({
41382
40812
  title: propTitle,
@@ -41955,7 +41385,6 @@ var init_TraitStateViewer = __esm({
41955
41385
  "components/game/organisms/TraitStateViewer.tsx"() {
41956
41386
  "use client";
41957
41387
  init_cn();
41958
- init_useTranslate();
41959
41388
  init_Box();
41960
41389
  init_Typography();
41961
41390
  init_Stack();
@@ -42014,7 +41443,6 @@ var init_RuleEditor = __esm({
42014
41443
  "components/game/organisms/puzzles/event-handler/RuleEditor.tsx"() {
42015
41444
  init_atoms2();
42016
41445
  init_cn();
42017
- init_useTranslate();
42018
41446
  RuleEditor.displayName = "RuleEditor";
42019
41447
  }
42020
41448
  });
@@ -42089,7 +41517,6 @@ var init_ObjectRulePanel = __esm({
42089
41517
  "components/game/organisms/puzzles/event-handler/ObjectRulePanel.tsx"() {
42090
41518
  init_atoms2();
42091
41519
  init_cn();
42092
- init_useTranslate();
42093
41520
  init_TraitStateViewer();
42094
41521
  init_RuleEditor();
42095
41522
  nextRuleId = 1;
@@ -42134,7 +41561,6 @@ var init_EventLog = __esm({
42134
41561
  "components/game/organisms/puzzles/event-handler/EventLog.tsx"() {
42135
41562
  init_atoms2();
42136
41563
  init_cn();
42137
- init_useTranslate();
42138
41564
  STATUS_STYLES = {
42139
41565
  pending: "text-muted-foreground",
42140
41566
  active: "text-primary animate-pulse",
@@ -42348,7 +41774,6 @@ var init_EventHandlerBoard = __esm({
42348
41774
  init_atoms2();
42349
41775
  init_cn();
42350
41776
  init_useEventBus();
42351
- init_useTranslate();
42352
41777
  init_TraitStateViewer();
42353
41778
  init_ObjectRulePanel();
42354
41779
  init_EventLog();
@@ -42418,7 +41843,6 @@ var init_FeatureGridOrganism = __esm({
42418
41843
  "use client";
42419
41844
  init_cn();
42420
41845
  init_useEventBus();
42421
- init_useTranslate();
42422
41846
  init_Stack();
42423
41847
  init_Typography();
42424
41848
  init_FeatureGrid();
@@ -42601,7 +42025,6 @@ var init_Form = __esm({
42601
42025
  init_RelationSelect();
42602
42026
  init_Alert();
42603
42027
  init_useEventBus();
42604
- init_useTranslate();
42605
42028
  init_debug();
42606
42029
  layoutStyles = {
42607
42030
  vertical: "flex flex-col",
@@ -43761,7 +43184,6 @@ var init_HeroOrganism = __esm({
43761
43184
  "use client";
43762
43185
  init_cn();
43763
43186
  init_useEventBus();
43764
- init_useTranslate();
43765
43187
  init_HeroSection();
43766
43188
  init_LoadingState();
43767
43189
  init_ErrorState();
@@ -43867,7 +43289,6 @@ var LandingPageTemplate;
43867
43289
  var init_LandingPageTemplate = __esm({
43868
43290
  "components/marketing/templates/LandingPageTemplate.tsx"() {
43869
43291
  init_cn();
43870
- init_useTranslate();
43871
43292
  init_Stack();
43872
43293
  init_Box();
43873
43294
  init_Container();
@@ -44067,7 +43488,6 @@ var init_List = __esm({
44067
43488
  init_cn();
44068
43489
  init_getNestedValue();
44069
43490
  init_useEventBus();
44070
- init_useTranslate();
44071
43491
  init_types3();
44072
43492
  STATUS_STYLES2 = {
44073
43493
  complete: {
@@ -44562,7 +43982,6 @@ var init_MasterDetail = __esm({
44562
43982
  "components/core/organisms/MasterDetail.tsx"() {
44563
43983
  "use client";
44564
43984
  init_DataTable();
44565
- init_useTranslate();
44566
43985
  MasterDetail.displayName = "MasterDetail";
44567
43986
  }
44568
43987
  });
@@ -44571,7 +43990,6 @@ var init_MasterDetailLayout = __esm({
44571
43990
  "components/core/organisms/layout/MasterDetailLayout.tsx"() {
44572
43991
  init_cn();
44573
43992
  init_Typography();
44574
- init_useTranslate();
44575
43993
  DefaultEmptyDetail = () => {
44576
43994
  const { t } = useTranslate();
44577
43995
  return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center h-full border-2 border-dashed border-border", children: /* @__PURE__ */ jsx(
@@ -44632,7 +44050,6 @@ var init_MediaGallery = __esm({
44632
44050
  init_ErrorState();
44633
44051
  init_EmptyState();
44634
44052
  init_useEventBus();
44635
- init_useTranslate();
44636
44053
  COLUMN_CLASSES = {
44637
44054
  2: "grid-cols-2",
44638
44055
  3: "grid-cols-2 sm:grid-cols-3",
@@ -45033,7 +44450,6 @@ var init_NegotiatorBoard = __esm({
45033
44450
  "components/game/organisms/puzzles/negotiator/NegotiatorBoard.tsx"() {
45034
44451
  init_atoms2();
45035
44452
  init_useEventBus();
45036
- init_useTranslate();
45037
44453
  NegotiatorBoard.displayName = "NegotiatorBoard";
45038
44454
  }
45039
44455
  });
@@ -45043,7 +44459,6 @@ var init_PricingOrganism = __esm({
45043
44459
  "use client";
45044
44460
  init_cn();
45045
44461
  init_useEventBus();
45046
- init_useTranslate();
45047
44462
  init_Stack();
45048
44463
  init_Typography();
45049
44464
  init_PricingGrid();
@@ -45093,7 +44508,6 @@ var PricingPageTemplate;
45093
44508
  var init_PricingPageTemplate = __esm({
45094
44509
  "components/marketing/templates/PricingPageTemplate.tsx"() {
45095
44510
  init_cn();
45096
- init_useTranslate();
45097
44511
  init_Stack();
45098
44512
  init_Box();
45099
44513
  init_Container();
@@ -45676,7 +45090,6 @@ var init_TraitsTab = __esm({
45676
45090
  init_Typography();
45677
45091
  init_Stack();
45678
45092
  init_EmptyState();
45679
- init_useTranslate();
45680
45093
  TraitsTab.displayName = "TraitsTab";
45681
45094
  }
45682
45095
  });
@@ -45754,7 +45167,6 @@ var init_TicksTab = __esm({
45754
45167
  init_Stack();
45755
45168
  init_Card();
45756
45169
  init_EmptyState();
45757
- init_useTranslate();
45758
45170
  TicksTab.displayName = "TicksTab";
45759
45171
  }
45760
45172
  });
@@ -45828,7 +45240,6 @@ var init_EntitiesTab = __esm({
45828
45240
  init_Typography();
45829
45241
  init_Stack();
45830
45242
  init_EmptyState();
45831
- init_useTranslate();
45832
45243
  EntitiesTab.displayName = "EntitiesTab";
45833
45244
  }
45834
45245
  });
@@ -45945,7 +45356,6 @@ var init_EventFlowTab = __esm({
45945
45356
  init_Button();
45946
45357
  init_Checkbox();
45947
45358
  init_EmptyState();
45948
- init_useTranslate();
45949
45359
  TYPE_BADGES = {
45950
45360
  trait: { variant: "primary", icon: "\u{1F504}" },
45951
45361
  tick: { variant: "warning", icon: "\u23F1\uFE0F" },
@@ -46040,7 +45450,6 @@ var init_GuardsPanel = __esm({
46040
45450
  init_ButtonGroup();
46041
45451
  init_Button();
46042
45452
  init_EmptyState();
46043
- init_useTranslate();
46044
45453
  GuardsPanel.displayName = "GuardsPanel";
46045
45454
  }
46046
45455
  });
@@ -46116,7 +45525,6 @@ var init_VerificationTab = __esm({
46116
45525
  init_Typography();
46117
45526
  init_Stack();
46118
45527
  init_EmptyState();
46119
- init_useTranslate();
46120
45528
  STATUS_CONFIG = {
46121
45529
  pass: { variant: "success", icon: "\u2713", label: "PASS" },
46122
45530
  fail: { variant: "danger", icon: "\u2717", label: "FAIL" },
@@ -46252,7 +45660,6 @@ var init_TransitionTimeline = __esm({
46252
45660
  init_Typography();
46253
45661
  init_EmptyState();
46254
45662
  init_Checkbox();
46255
- init_useTranslate();
46256
45663
  EFFECT_STATUS_VARIANT = {
46257
45664
  executed: "success",
46258
45665
  failed: "danger",
@@ -46342,7 +45749,6 @@ var init_ServerBridgeTab = __esm({
46342
45749
  init_Stack();
46343
45750
  init_Card();
46344
45751
  init_EmptyState();
46345
- init_useTranslate();
46346
45752
  ServerBridgeTab.displayName = "ServerBridgeTab";
46347
45753
  }
46348
45754
  });
@@ -46507,7 +45913,6 @@ var init_EventDispatcherTab = __esm({
46507
45913
  init_Stack();
46508
45914
  init_EmptyState();
46509
45915
  init_useEventBus();
46510
- init_useTranslate();
46511
45916
  EventDispatcherTab.displayName = "EventDispatcherTab";
46512
45917
  }
46513
45918
  });
@@ -46882,7 +46287,6 @@ var init_RuntimeDebugger2 = __esm({
46882
46287
  init_TransitionTimeline();
46883
46288
  init_ServerBridgeTab();
46884
46289
  init_EventDispatcherTab();
46885
- init_useTranslate();
46886
46290
  init_RuntimeDebugger();
46887
46291
  RuntimeDebugger.displayName = "RuntimeDebugger";
46888
46292
  }
@@ -47369,7 +46773,6 @@ var init_SequencerBoard = __esm({
47369
46773
  init_atoms2();
47370
46774
  init_cn();
47371
46775
  init_useEventBus();
47372
- init_useTranslate();
47373
46776
  init_TraitStateViewer();
47374
46777
  init_SequenceBar();
47375
46778
  init_ActionPalette();
@@ -47388,7 +46791,6 @@ var init_ShowcaseOrganism = __esm({
47388
46791
  "use client";
47389
46792
  init_cn();
47390
46793
  init_useEventBus();
47391
- init_useTranslate();
47392
46794
  init_Stack();
47393
46795
  init_Typography();
47394
46796
  init_SimpleGrid();
@@ -47947,7 +47349,6 @@ var init_SimulatorBoard = __esm({
47947
47349
  "components/game/organisms/puzzles/simulator/SimulatorBoard.tsx"() {
47948
47350
  init_atoms2();
47949
47351
  init_useEventBus();
47950
- init_useTranslate();
47951
47352
  SimulatorBoard.displayName = "SimulatorBoard";
47952
47353
  }
47953
47354
  });
@@ -48052,7 +47453,6 @@ var init_StatCard = __esm({
48052
47453
  init_Button();
48053
47454
  init_Sparkline();
48054
47455
  init_useEventBus();
48055
- init_useTranslate();
48056
47456
  init_Icon();
48057
47457
  StatCard = ({
48058
47458
  label: propLabel,
@@ -48408,7 +47808,6 @@ var init_VariablePanel = __esm({
48408
47808
  "components/game/organisms/puzzles/state-architect/VariablePanel.tsx"() {
48409
47809
  init_atoms2();
48410
47810
  init_cn();
48411
- init_useTranslate();
48412
47811
  VariablePanel.displayName = "VariablePanel";
48413
47812
  }
48414
47813
  });
@@ -48725,7 +48124,6 @@ var init_StateArchitectBoard = __esm({
48725
48124
  init_atoms2();
48726
48125
  init_cn();
48727
48126
  init_useEventBus();
48728
- init_useTranslate();
48729
48127
  init_TraitStateViewer();
48730
48128
  init_StateNode();
48731
48129
  init_TransitionArrow();
@@ -48745,7 +48143,6 @@ var init_StatsOrganism = __esm({
48745
48143
  "components/marketing/organisms/StatsOrganism.tsx"() {
48746
48144
  "use client";
48747
48145
  init_cn();
48748
- init_useTranslate();
48749
48146
  init_StatsGrid();
48750
48147
  init_LoadingState();
48751
48148
  init_ErrorState();
@@ -48788,7 +48185,6 @@ var init_StepFlowOrganism = __esm({
48788
48185
  "components/core/organisms/StepFlowOrganism.tsx"() {
48789
48186
  "use client";
48790
48187
  init_cn();
48791
- init_useTranslate();
48792
48188
  init_Stack();
48793
48189
  init_Typography();
48794
48190
  init_StepFlow();
@@ -48958,7 +48354,6 @@ var init_TeamOrganism = __esm({
48958
48354
  "components/marketing/organisms/TeamOrganism.tsx"() {
48959
48355
  "use client";
48960
48356
  init_cn();
48961
- init_useTranslate();
48962
48357
  init_Stack();
48963
48358
  init_Typography();
48964
48359
  init_SimpleGrid();
@@ -49016,7 +48411,6 @@ var init_Timeline = __esm({
49016
48411
  init_LoadingState();
49017
48412
  init_ErrorState();
49018
48413
  init_EmptyState();
49019
- init_useTranslate();
49020
48414
  lookStyles10 = {
49021
48415
  "vertical-compact": "gap-1 [&>*]:py-1",
49022
48416
  "vertical-spacious": "",
@@ -51090,7 +50484,6 @@ var init_UISlotRenderer = __esm({
51090
50484
  init_Box();
51091
50485
  init_Typography();
51092
50486
  init_useEventBus();
51093
- init_useTranslate();
51094
50487
  init_slot_types();
51095
50488
  init_cn();
51096
50489
  init_ErrorBoundary();
@@ -52419,9 +51812,6 @@ var AvlEmitListen = ({
52419
51812
  ] });
52420
51813
  };
52421
51814
  AvlEmitListen.displayName = "AvlEmitListen";
52422
-
52423
- // components/avl/molecules/AvlSlotMap.tsx
52424
- init_useTranslate();
52425
51815
  var SLOT_PRESETS = {
52426
51816
  header: { x: 10, y: 5, width: 340, height: 35 },
52427
51817
  main: { x: 120, y: 50, width: 230, height: 195 },
@@ -53498,7 +52888,6 @@ var SystemNode = ({ data }) => {
53498
52888
  SystemNode.displayName = "SystemNode";
53499
52889
 
53500
52890
  // components/avl/molecules/DetailView.tsx
53501
- init_useTranslate();
53502
52891
  init_AvlState();
53503
52892
  init_AvlEffect();
53504
52893
  init_types();
@@ -53583,7 +52972,6 @@ AvlOrbitalNode.displayName = "AvlOrbitalNode";
53583
52972
 
53584
52973
  // components/avl/molecules/AvlTransitionEdge.tsx
53585
52974
  init_types();
53586
- init_useTranslate();
53587
52975
  var AvlTransitionEdge = ({
53588
52976
  id,
53589
52977
  sourceX,
@@ -55039,9 +54427,6 @@ function convertObjectProps(props) {
55039
54427
  function convertFnFormLambdasInProps(props) {
55040
54428
  return convertObjectProps(props);
55041
54429
  }
55042
-
55043
- // hooks/index.ts
55044
- init_useEventBus();
55045
54430
  var log12 = createLogger("almadar:ui:effects:client-handlers");
55046
54431
  function createClientEffectHandlers(options) {
55047
54432
  const { eventBus, slotSetter, navigate, notify, callService } = options;
@@ -55110,7 +54495,7 @@ function normalizeEventKey(eventKey) {
55110
54495
  return eventKey.startsWith("UI:") ? eventKey.slice(3) : eventKey;
55111
54496
  }
55112
54497
  function useTraitStateMachine(traitBindings, uiSlots, options) {
55113
- const eventBus = useEventBus();
54498
+ const eventBus = useEventBus$1();
55114
54499
  const { entities } = useEntitySchema();
55115
54500
  const traitConfigsByName = options?.traitConfigsByName;
55116
54501
  const orbitalsByTrait = options?.orbitalsByTrait;
@@ -56951,7 +56336,6 @@ function BrowserPlayground({
56951
56336
 
56952
56337
  // components/avl/molecules/OrbPreviewNode.tsx
56953
56338
  init_useEventBus();
56954
- init_useTranslate();
56955
56339
 
56956
56340
  // components/avl/molecules/useCanvasDnd.tsx
56957
56341
  init_useEventBus();
@@ -58166,7 +57550,6 @@ init_AvlEffect();
58166
57550
  init_AvlFieldType();
58167
57551
  init_types();
58168
57552
  init_useEventBus();
58169
- init_useTranslate();
58170
57553
  var inspectorLog = createLogger("almadar:ui:inspector");
58171
57554
  function formatExpression(expr) {
58172
57555
  if (!expr) return "";
@@ -58883,7 +58266,6 @@ init_Typography();
58883
58266
  init_Badge();
58884
58267
 
58885
58268
  // components/avl/organisms/AvlTraitScene.tsx
58886
- init_useTranslate();
58887
58269
  init_AvlState();
58888
58270
  init_AvlTransitionLane();
58889
58271
  init_AvlSwimLane();
@@ -58996,9 +58378,6 @@ var AvlTraitScene = ({
58996
58378
  );
58997
58379
  };
58998
58380
  AvlTraitScene.displayName = "AvlTraitScene";
58999
-
59000
- // components/avl/molecules/TraitCardNode.tsx
59001
- init_useTranslate();
59002
58381
  var TraitCardSelectionContext = createContext({
59003
58382
  selectTransition: () => {
59004
58383
  }
@@ -59098,7 +58477,6 @@ TraitCardNode.displayName = "TraitCardNode";
59098
58477
 
59099
58478
  // components/avl/organisms/FlowCanvas.tsx
59100
58479
  init_useEventBus();
59101
- init_useTranslate();
59102
58480
  var flowCanvasLog = createLogger("almadar:ui:flow-canvas");
59103
58481
  var NODE_TYPES = {
59104
58482
  preview: OrbPreviewNode,
@@ -59857,7 +59235,6 @@ init_Stack();
59857
59235
  init_Typography();
59858
59236
  init_Button();
59859
59237
  init_Icon();
59860
- init_useTranslate();
59861
59238
  var UNIT_DISPLAY_W = 240;
59862
59239
  var UNIT_DISPLAY_H = 160;
59863
59240
  function layoutOrbitals(count, containerW, containerH) {