@nice2dev/i18n 1.0.6 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { jsx as O } from "react/jsx-runtime";
2
- import { useMemo as v, useContext as F, createContext as U, useEffect as I, useState as P, useCallback as Q } from "react";
1
+ import { jsx as B } from "react/jsx-runtime";
2
+ import { useMemo as w, useContext as N, createContext as I, useEffect as L, useState as P, useCallback as Q } from "react";
3
3
  const j = [
4
4
  "en",
5
5
  "pl",
@@ -22,8 +22,25 @@ const j = [
22
22
  "ja",
23
23
  "ko",
24
24
  "zh",
25
- "ar"
26
- ], be = {
25
+ "ar",
26
+ // ── Added in v1.0.10 (G4.1 — 30+ languages) ──
27
+ "hi",
28
+ // Hindi
29
+ "bn",
30
+ // Bengali
31
+ "th",
32
+ // Thai
33
+ "vi",
34
+ // Vietnamese
35
+ "id",
36
+ // Indonesian
37
+ "sw",
38
+ // Swahili
39
+ "fil",
40
+ // Filipino
41
+ "ms"
42
+ // Malay
43
+ ], ve = {
27
44
  // ── Global / Generic ──
28
45
  ok: "OK",
29
46
  cancel: "Cancel",
@@ -415,8 +432,176 @@ const j = [
415
432
  "wm.closeAll": "Close all",
416
433
  "wm.minimizeAll": "Minimize all",
417
434
  "wm.newWindow": "New window",
418
- "wm.moveToFront": "Move to front"
419
- }, we = {
435
+ "wm.moveToFront": "Move to front",
436
+ // ── No-Code Foundation ──
437
+ "noCode.title": "No-Code Studio",
438
+ "noCode.description": "Build applications visually",
439
+ "noCode.newProject": "New Project",
440
+ "noCode.openProject": "Open Project",
441
+ "noCode.saveProject": "Save Project",
442
+ "noCode.exportProject": "Export Project",
443
+ "noCode.importProject": "Import Project",
444
+ "noCode.projectName": "Project Name",
445
+ "noCode.projectSettings": "Project Settings",
446
+ "noCode.recentProjects": "Recent Projects",
447
+ "noCode.templates": "Templates",
448
+ "noCode.preview": "Preview",
449
+ "noCode.codeView": "Code View",
450
+ "noCode.splitView": "Split View",
451
+ "noCode.visualView": "Visual View",
452
+ "noCode.generate": "Generate Code",
453
+ "noCode.deploy": "Deploy",
454
+ // No-Code: Component Designer
455
+ "noCode.componentDesigner.title": "Component Designer",
456
+ "noCode.componentDesigner.newComponent": "New Component",
457
+ "noCode.componentDesigner.componentName": "Component Name",
458
+ "noCode.componentDesigner.addProp": "Add Prop",
459
+ "noCode.componentDesigner.editProp": "Edit Prop",
460
+ "noCode.componentDesigner.deleteProp": "Delete Prop",
461
+ "noCode.componentDesigner.propName": "Prop Name",
462
+ "noCode.componentDesigner.propType": "Prop Type",
463
+ "noCode.componentDesigner.propRequired": "Required",
464
+ "noCode.componentDesigner.propDefault": "Default Value",
465
+ "noCode.componentDesigner.addState": "Add State",
466
+ "noCode.componentDesigner.stateName": "State Name",
467
+ "noCode.componentDesigner.stateType": "State Type",
468
+ "noCode.componentDesigner.stateDefault": "Initial Value",
469
+ "noCode.componentDesigner.addHook": "Add Hook",
470
+ "noCode.componentDesigner.hooks": "Hooks",
471
+ "noCode.componentDesigner.template": "Template",
472
+ "noCode.componentDesigner.styles": "Styles",
473
+ "noCode.componentDesigner.events": "Events",
474
+ "noCode.componentDesigner.palette": "Component Palette",
475
+ "noCode.componentDesigner.dragDrop": "Drag components here",
476
+ // No-Code: Page Builder
477
+ "noCode.pageBuilder.title": "Page Builder",
478
+ "noCode.pageBuilder.newPage": "New Page",
479
+ "noCode.pageBuilder.pageName": "Page Name",
480
+ "noCode.pageBuilder.pageRoute": "Route Path",
481
+ "noCode.pageBuilder.addSection": "Add Section",
482
+ "noCode.pageBuilder.editSection": "Edit Section",
483
+ "noCode.pageBuilder.deleteSection": "Delete Section",
484
+ "noCode.pageBuilder.sectionLayout": "Section Layout",
485
+ "noCode.pageBuilder.columns": "Columns",
486
+ "noCode.pageBuilder.responsive": "Responsive",
487
+ "noCode.pageBuilder.mobile": "Mobile",
488
+ "noCode.pageBuilder.tablet": "Tablet",
489
+ "noCode.pageBuilder.desktop": "Desktop",
490
+ "noCode.pageBuilder.showGrid": "Show Grid",
491
+ "noCode.pageBuilder.hideGrid": "Hide Grid",
492
+ "noCode.pageBuilder.metadata": "Page Metadata",
493
+ "noCode.pageBuilder.seo": "SEO Settings",
494
+ // No-Code: State Designer
495
+ "noCode.stateDesigner.title": "State Designer",
496
+ "noCode.stateDesigner.newStore": "New Store",
497
+ "noCode.stateDesigner.storeName": "Store Name",
498
+ "noCode.stateDesigner.storeType": "Store Type",
499
+ "noCode.stateDesigner.addState": "Add State Field",
500
+ "noCode.stateDesigner.addAction": "Add Action",
501
+ "noCode.stateDesigner.editAction": "Edit Action",
502
+ "noCode.stateDesigner.deleteAction": "Delete Action",
503
+ "noCode.stateDesigner.actionName": "Action Name",
504
+ "noCode.stateDesigner.actionParams": "Parameters",
505
+ "noCode.stateDesigner.actionBody": "Action Body",
506
+ "noCode.stateDesigner.asyncAction": "Async Action",
507
+ "noCode.stateDesigner.addSelector": "Add Selector",
508
+ "noCode.stateDesigner.selectorName": "Selector Name",
509
+ "noCode.stateDesigner.selectorBody": "Selector Logic",
510
+ "noCode.stateDesigner.persistence": "Persistence",
511
+ "noCode.stateDesigner.devtools": "DevTools",
512
+ // No-Code: API Flow
513
+ "noCode.apiFlow.title": "API Flow Designer",
514
+ "noCode.apiFlow.newEndpoint": "New Endpoint",
515
+ "noCode.apiFlow.endpointUrl": "Endpoint URL",
516
+ "noCode.apiFlow.method": "HTTP Method",
517
+ "noCode.apiFlow.headers": "Headers",
518
+ "noCode.apiFlow.body": "Request Body",
519
+ "noCode.apiFlow.response": "Response",
520
+ "noCode.apiFlow.auth": "Authentication",
521
+ "noCode.apiFlow.authType": "Auth Type",
522
+ "noCode.apiFlow.bearerToken": "Bearer Token",
523
+ "noCode.apiFlow.apiKey": "API Key",
524
+ "noCode.apiFlow.testEndpoint": "Test Endpoint",
525
+ "noCode.apiFlow.mockResponse": "Mock Response",
526
+ "noCode.apiFlow.errorHandling": "Error Handling",
527
+ "noCode.apiFlow.retry": "Retry Policy",
528
+ "noCode.apiFlow.cache": "Caching",
529
+ // No-Code: Data Mapper
530
+ "noCode.dataMapper.title": "Data Mapper",
531
+ "noCode.dataMapper.sourceSchema": "Source Schema",
532
+ "noCode.dataMapper.targetSchema": "Target Schema",
533
+ "noCode.dataMapper.addMapping": "Add Mapping",
534
+ "noCode.dataMapper.editMapping": "Edit Mapping",
535
+ "noCode.dataMapper.deleteMapping": "Delete Mapping",
536
+ "noCode.dataMapper.sourceField": "Source Field",
537
+ "noCode.dataMapper.targetField": "Target Field",
538
+ "noCode.dataMapper.transform": "Transform",
539
+ "noCode.dataMapper.validation": "Validation",
540
+ "noCode.dataMapper.testData": "Test Data",
541
+ "noCode.dataMapper.preview": "Preview Result",
542
+ "noCode.dataMapper.autoMap": "Auto Map",
543
+ // No-Code: Event Orchestrator
544
+ "noCode.eventOrchestrator.title": "Event Orchestrator",
545
+ "noCode.eventOrchestrator.newFlow": "New Event Flow",
546
+ "noCode.eventOrchestrator.flowName": "Flow Name",
547
+ "noCode.eventOrchestrator.trigger": "Trigger",
548
+ "noCode.eventOrchestrator.triggerType": "Trigger Type",
549
+ "noCode.eventOrchestrator.addHandler": "Add Handler",
550
+ "noCode.eventOrchestrator.editHandler": "Edit Handler",
551
+ "noCode.eventOrchestrator.deleteHandler": "Delete Handler",
552
+ "noCode.eventOrchestrator.handlerName": "Handler Name",
553
+ "noCode.eventOrchestrator.debounce": "Debounce",
554
+ "noCode.eventOrchestrator.throttle": "Throttle",
555
+ "noCode.eventOrchestrator.delay": "Delay",
556
+ "noCode.eventOrchestrator.condition": "Condition",
557
+ "noCode.eventOrchestrator.chain": "Chain Events",
558
+ // No-Code: Test Builder
559
+ "noCode.testBuilder.title": "Test Builder",
560
+ "noCode.testBuilder.newTest": "New Test",
561
+ "noCode.testBuilder.testName": "Test Name",
562
+ "noCode.testBuilder.testDescription": "Description",
563
+ "noCode.testBuilder.addScenario": "Add Scenario",
564
+ "noCode.testBuilder.editScenario": "Edit Scenario",
565
+ "noCode.testBuilder.deleteScenario": "Delete Scenario",
566
+ "noCode.testBuilder.addAssertion": "Add Assertion",
567
+ "noCode.testBuilder.assertionType": "Assertion Type",
568
+ "noCode.testBuilder.expected": "Expected Value",
569
+ "noCode.testBuilder.actual": "Actual Value",
570
+ "noCode.testBuilder.mock": "Mock Setup",
571
+ "noCode.testBuilder.runTests": "Run Tests",
572
+ "noCode.testBuilder.testsPassed": "Tests Passed",
573
+ "noCode.testBuilder.testsFailed": "Tests Failed",
574
+ "noCode.testBuilder.coverage": "Coverage",
575
+ "noCode.testBuilder.accessibility": "Accessibility Check",
576
+ // No-Code: Code Template
577
+ "noCode.codeTemplate.title": "Code Templates",
578
+ "noCode.codeTemplate.newTemplate": "New Template",
579
+ "noCode.codeTemplate.templateName": "Template Name",
580
+ "noCode.codeTemplate.templateEngine": "Template Engine",
581
+ "noCode.codeTemplate.variables": "Variables",
582
+ "noCode.codeTemplate.addVariable": "Add Variable",
583
+ "noCode.codeTemplate.variableName": "Variable Name",
584
+ "noCode.codeTemplate.variableType": "Variable Type",
585
+ "noCode.codeTemplate.variableDefault": "Default Value",
586
+ "noCode.codeTemplate.generateFiles": "Generate Files",
587
+ "noCode.codeTemplate.outputPath": "Output Path",
588
+ "noCode.codeTemplate.presets": "Presets",
589
+ "noCode.codeTemplate.presetReact": "React Component",
590
+ "noCode.codeTemplate.presetNextPage": "Next.js Page",
591
+ "noCode.codeTemplate.presetHook": "Custom Hook",
592
+ "noCode.codeTemplate.presetStore": "Store Module",
593
+ // No-Code: Code Preview
594
+ "noCode.codePreview.title": "Code Preview",
595
+ "noCode.codePreview.showDiff": "Show Diff",
596
+ "noCode.codePreview.hideDiff": "Hide Diff",
597
+ "noCode.codePreview.copyCode": "Copy Code",
598
+ "noCode.codePreview.downloadCode": "Download Code",
599
+ "noCode.codePreview.importCode": "Import Code",
600
+ "noCode.codePreview.language": "Language",
601
+ "noCode.codePreview.format": "Format Code",
602
+ "noCode.codePreview.linesChanged": "Lines Changed",
603
+ "noCode.codePreview.noChanges": "No Changes"
604
+ }, be = {
420
605
  ok: "OK",
421
606
  cancel: "Anuluj",
422
607
  save: "Zapisz",
@@ -778,8 +963,167 @@ const j = [
778
963
  "wm.closeAll": "Zamknij wszystkie",
779
964
  "wm.minimizeAll": "Minimalizuj wszystkie",
780
965
  "wm.newWindow": "Nowe okno",
781
- "wm.moveToFront": "Na wierzch"
782
- }, ye = {
966
+ "wm.moveToFront": "Na wierzch",
967
+ // No-Code Foundation
968
+ "noCode.title": "Studio No-Code",
969
+ "noCode.description": "Twórz aplikacje wizualnie",
970
+ "noCode.newProject": "Nowy projekt",
971
+ "noCode.openProject": "Otwórz projekt",
972
+ "noCode.saveProject": "Zapisz projekt",
973
+ "noCode.exportProject": "Eksportuj projekt",
974
+ "noCode.importProject": "Importuj projekt",
975
+ "noCode.projectName": "Nazwa projektu",
976
+ "noCode.projectSettings": "Ustawienia projektu",
977
+ "noCode.recentProjects": "Ostatnie projekty",
978
+ "noCode.templates": "Szablony",
979
+ "noCode.preview": "Podgląd",
980
+ "noCode.codeView": "Widok kodu",
981
+ "noCode.splitView": "Widok podzielony",
982
+ "noCode.visualView": "Widok wizualny",
983
+ "noCode.generate": "Generuj kod",
984
+ "noCode.deploy": "Wdrożenie",
985
+ "noCode.componentDesigner.title": "Projektant komponentów",
986
+ "noCode.componentDesigner.newComponent": "Nowy komponent",
987
+ "noCode.componentDesigner.componentName": "Nazwa komponentu",
988
+ "noCode.componentDesigner.addProp": "Dodaj właściwość",
989
+ "noCode.componentDesigner.editProp": "Edytuj właściwość",
990
+ "noCode.componentDesigner.deleteProp": "Usuń właściwość",
991
+ "noCode.componentDesigner.propName": "Nazwa właściwości",
992
+ "noCode.componentDesigner.propType": "Typ właściwości",
993
+ "noCode.componentDesigner.propRequired": "Wymagane",
994
+ "noCode.componentDesigner.propDefault": "Wartość domyślna",
995
+ "noCode.componentDesigner.addState": "Dodaj stan",
996
+ "noCode.componentDesigner.stateName": "Nazwa stanu",
997
+ "noCode.componentDesigner.stateType": "Typ stanu",
998
+ "noCode.componentDesigner.stateDefault": "Wartość początkowa",
999
+ "noCode.componentDesigner.addHook": "Dodaj hook",
1000
+ "noCode.componentDesigner.hooks": "Hooki",
1001
+ "noCode.componentDesigner.template": "Szablon",
1002
+ "noCode.componentDesigner.styles": "Style",
1003
+ "noCode.componentDesigner.events": "Zdarzenia",
1004
+ "noCode.componentDesigner.palette": "Paleta komponentów",
1005
+ "noCode.componentDesigner.dragDrop": "Przeciągnij komponenty tutaj",
1006
+ "noCode.pageBuilder.title": "Kreator stron",
1007
+ "noCode.pageBuilder.newPage": "Nowa strona",
1008
+ "noCode.pageBuilder.pageName": "Nazwa strony",
1009
+ "noCode.pageBuilder.pageRoute": "Ścieżka",
1010
+ "noCode.pageBuilder.addSection": "Dodaj sekcję",
1011
+ "noCode.pageBuilder.editSection": "Edytuj sekcję",
1012
+ "noCode.pageBuilder.deleteSection": "Usuń sekcję",
1013
+ "noCode.pageBuilder.sectionLayout": "Układ sekcji",
1014
+ "noCode.pageBuilder.columns": "Kolumny",
1015
+ "noCode.pageBuilder.responsive": "Responsywność",
1016
+ "noCode.pageBuilder.mobile": "Mobilne",
1017
+ "noCode.pageBuilder.tablet": "Tablet",
1018
+ "noCode.pageBuilder.desktop": "Desktop",
1019
+ "noCode.pageBuilder.showGrid": "Pokaż siatkę",
1020
+ "noCode.pageBuilder.hideGrid": "Ukryj siatkę",
1021
+ "noCode.pageBuilder.metadata": "Metadane strony",
1022
+ "noCode.pageBuilder.seo": "Ustawienia SEO",
1023
+ "noCode.stateDesigner.title": "Projektant stanu",
1024
+ "noCode.stateDesigner.newStore": "Nowy magazyn",
1025
+ "noCode.stateDesigner.storeName": "Nazwa magazynu",
1026
+ "noCode.stateDesigner.storeType": "Typ magazynu",
1027
+ "noCode.stateDesigner.addState": "Dodaj pole stanu",
1028
+ "noCode.stateDesigner.addAction": "Dodaj akcję",
1029
+ "noCode.stateDesigner.editAction": "Edytuj akcję",
1030
+ "noCode.stateDesigner.deleteAction": "Usuń akcję",
1031
+ "noCode.stateDesigner.actionName": "Nazwa akcji",
1032
+ "noCode.stateDesigner.actionParams": "Parametry",
1033
+ "noCode.stateDesigner.actionBody": "Ciało akcji",
1034
+ "noCode.stateDesigner.asyncAction": "Akcja asynchroniczna",
1035
+ "noCode.stateDesigner.addSelector": "Dodaj selektor",
1036
+ "noCode.stateDesigner.selectorName": "Nazwa selektora",
1037
+ "noCode.stateDesigner.selectorBody": "Logika selektora",
1038
+ "noCode.stateDesigner.persistence": "Trwałość",
1039
+ "noCode.stateDesigner.devtools": "Narzędzia deweloperskie",
1040
+ "noCode.apiFlow.title": "Projektant API",
1041
+ "noCode.apiFlow.newEndpoint": "Nowy endpoint",
1042
+ "noCode.apiFlow.endpointUrl": "URL endpointu",
1043
+ "noCode.apiFlow.method": "Metoda HTTP",
1044
+ "noCode.apiFlow.headers": "Nagłówki",
1045
+ "noCode.apiFlow.body": "Ciało żądania",
1046
+ "noCode.apiFlow.response": "Odpowiedź",
1047
+ "noCode.apiFlow.auth": "Uwierzytelnianie",
1048
+ "noCode.apiFlow.authType": "Typ uwierzytelniania",
1049
+ "noCode.apiFlow.bearerToken": "Token Bearer",
1050
+ "noCode.apiFlow.apiKey": "Klucz API",
1051
+ "noCode.apiFlow.testEndpoint": "Testuj endpoint",
1052
+ "noCode.apiFlow.mockResponse": "Mockowa odpowiedź",
1053
+ "noCode.apiFlow.errorHandling": "Obsługa błędów",
1054
+ "noCode.apiFlow.retry": "Polityka ponawiania",
1055
+ "noCode.apiFlow.cache": "Cache",
1056
+ "noCode.dataMapper.title": "Mapowanie danych",
1057
+ "noCode.dataMapper.sourceSchema": "Schemat źródłowy",
1058
+ "noCode.dataMapper.targetSchema": "Schemat docelowy",
1059
+ "noCode.dataMapper.addMapping": "Dodaj mapowanie",
1060
+ "noCode.dataMapper.editMapping": "Edytuj mapowanie",
1061
+ "noCode.dataMapper.deleteMapping": "Usuń mapowanie",
1062
+ "noCode.dataMapper.sourceField": "Pole źródłowe",
1063
+ "noCode.dataMapper.targetField": "Pole docelowe",
1064
+ "noCode.dataMapper.transform": "Transformacja",
1065
+ "noCode.dataMapper.validation": "Walidacja",
1066
+ "noCode.dataMapper.testData": "Dane testowe",
1067
+ "noCode.dataMapper.preview": "Podgląd wyniku",
1068
+ "noCode.dataMapper.autoMap": "Automapowanie",
1069
+ "noCode.eventOrchestrator.title": "Orkiestrator zdarzeń",
1070
+ "noCode.eventOrchestrator.newFlow": "Nowy przepływ",
1071
+ "noCode.eventOrchestrator.flowName": "Nazwa przepływu",
1072
+ "noCode.eventOrchestrator.trigger": "Wyzwalacz",
1073
+ "noCode.eventOrchestrator.triggerType": "Typ wyzwalacza",
1074
+ "noCode.eventOrchestrator.addHandler": "Dodaj handler",
1075
+ "noCode.eventOrchestrator.editHandler": "Edytuj handler",
1076
+ "noCode.eventOrchestrator.deleteHandler": "Usuń handler",
1077
+ "noCode.eventOrchestrator.handlerName": "Nazwa handlera",
1078
+ "noCode.eventOrchestrator.debounce": "Debounce",
1079
+ "noCode.eventOrchestrator.throttle": "Throttle",
1080
+ "noCode.eventOrchestrator.delay": "Opóźnienie",
1081
+ "noCode.eventOrchestrator.condition": "Warunek",
1082
+ "noCode.eventOrchestrator.chain": "Łańcuch zdarzeń",
1083
+ "noCode.testBuilder.title": "Kreator testów",
1084
+ "noCode.testBuilder.newTest": "Nowy test",
1085
+ "noCode.testBuilder.testName": "Nazwa testu",
1086
+ "noCode.testBuilder.testDescription": "Opis",
1087
+ "noCode.testBuilder.addScenario": "Dodaj scenariusz",
1088
+ "noCode.testBuilder.editScenario": "Edytuj scenariusz",
1089
+ "noCode.testBuilder.deleteScenario": "Usuń scenariusz",
1090
+ "noCode.testBuilder.addAssertion": "Dodaj asercję",
1091
+ "noCode.testBuilder.assertionType": "Typ asercji",
1092
+ "noCode.testBuilder.expected": "Oczekiwana wartość",
1093
+ "noCode.testBuilder.actual": "Rzeczywista wartość",
1094
+ "noCode.testBuilder.mock": "Konfiguracja mocków",
1095
+ "noCode.testBuilder.runTests": "Uruchom testy",
1096
+ "noCode.testBuilder.testsPassed": "Testy zaliczone",
1097
+ "noCode.testBuilder.testsFailed": "Testy niezaliczone",
1098
+ "noCode.testBuilder.coverage": "Pokrycie",
1099
+ "noCode.testBuilder.accessibility": "Sprawdzenie dostępności",
1100
+ "noCode.codeTemplate.title": "Szablony kodu",
1101
+ "noCode.codeTemplate.newTemplate": "Nowy szablon",
1102
+ "noCode.codeTemplate.templateName": "Nazwa szablonu",
1103
+ "noCode.codeTemplate.templateEngine": "Silnik szablonów",
1104
+ "noCode.codeTemplate.variables": "Zmienne",
1105
+ "noCode.codeTemplate.addVariable": "Dodaj zmienną",
1106
+ "noCode.codeTemplate.variableName": "Nazwa zmiennej",
1107
+ "noCode.codeTemplate.variableType": "Typ zmiennej",
1108
+ "noCode.codeTemplate.variableDefault": "Wartość domyślna",
1109
+ "noCode.codeTemplate.generateFiles": "Generuj pliki",
1110
+ "noCode.codeTemplate.outputPath": "Ścieżka wyjściowa",
1111
+ "noCode.codeTemplate.presets": "Ustawienia predefiniowane",
1112
+ "noCode.codeTemplate.presetReact": "Komponent React",
1113
+ "noCode.codeTemplate.presetNextPage": "Strona Next.js",
1114
+ "noCode.codeTemplate.presetHook": "Własny Hook",
1115
+ "noCode.codeTemplate.presetStore": "Moduł magazynu",
1116
+ "noCode.codePreview.title": "Podgląd kodu",
1117
+ "noCode.codePreview.showDiff": "Pokaż różnice",
1118
+ "noCode.codePreview.hideDiff": "Ukryj różnice",
1119
+ "noCode.codePreview.copyCode": "Kopiuj kod",
1120
+ "noCode.codePreview.downloadCode": "Pobierz kod",
1121
+ "noCode.codePreview.importCode": "Importuj kod",
1122
+ "noCode.codePreview.language": "Język",
1123
+ "noCode.codePreview.format": "Formatuj kod",
1124
+ "noCode.codePreview.linesChanged": "Zmienione linie",
1125
+ "noCode.codePreview.noChanges": "Brak zmian"
1126
+ }, Ce = {
783
1127
  ok: "OK",
784
1128
  cancel: "Abbrechen",
785
1129
  save: "Speichern",
@@ -1141,8 +1485,167 @@ const j = [
1141
1485
  "wm.closeAll": "Alle schließen",
1142
1486
  "wm.minimizeAll": "Alle minimieren",
1143
1487
  "wm.newWindow": "Neues Fenster",
1144
- "wm.moveToFront": "In den Vordergrund"
1145
- }, Ee = {
1488
+ "wm.moveToFront": "In den Vordergrund",
1489
+ // No-Code Foundation
1490
+ "noCode.title": "No-Code Studio",
1491
+ "noCode.description": "Anwendungen visuell erstellen",
1492
+ "noCode.newProject": "Neues Projekt",
1493
+ "noCode.openProject": "Projekt öffnen",
1494
+ "noCode.saveProject": "Projekt speichern",
1495
+ "noCode.exportProject": "Projekt exportieren",
1496
+ "noCode.importProject": "Projekt importieren",
1497
+ "noCode.projectName": "Projektname",
1498
+ "noCode.projectSettings": "Projekteinstellungen",
1499
+ "noCode.recentProjects": "Letzte Projekte",
1500
+ "noCode.templates": "Vorlagen",
1501
+ "noCode.preview": "Vorschau",
1502
+ "noCode.codeView": "Code-Ansicht",
1503
+ "noCode.splitView": "Geteilte Ansicht",
1504
+ "noCode.visualView": "Visuelle Ansicht",
1505
+ "noCode.generate": "Code generieren",
1506
+ "noCode.deploy": "Bereitstellen",
1507
+ "noCode.componentDesigner.title": "Komponenten-Designer",
1508
+ "noCode.componentDesigner.newComponent": "Neue Komponente",
1509
+ "noCode.componentDesigner.componentName": "Komponentenname",
1510
+ "noCode.componentDesigner.addProp": "Eigenschaft hinzufügen",
1511
+ "noCode.componentDesigner.editProp": "Eigenschaft bearbeiten",
1512
+ "noCode.componentDesigner.deleteProp": "Eigenschaft löschen",
1513
+ "noCode.componentDesigner.propName": "Eigenschaftsname",
1514
+ "noCode.componentDesigner.propType": "Eigenschaftstyp",
1515
+ "noCode.componentDesigner.propRequired": "Erforderlich",
1516
+ "noCode.componentDesigner.propDefault": "Standardwert",
1517
+ "noCode.componentDesigner.addState": "Status hinzufügen",
1518
+ "noCode.componentDesigner.stateName": "Statusname",
1519
+ "noCode.componentDesigner.stateType": "Statustyp",
1520
+ "noCode.componentDesigner.stateDefault": "Anfangswert",
1521
+ "noCode.componentDesigner.addHook": "Hook hinzufügen",
1522
+ "noCode.componentDesigner.hooks": "Hooks",
1523
+ "noCode.componentDesigner.template": "Vorlage",
1524
+ "noCode.componentDesigner.styles": "Stile",
1525
+ "noCode.componentDesigner.events": "Ereignisse",
1526
+ "noCode.componentDesigner.palette": "Komponentenpalette",
1527
+ "noCode.componentDesigner.dragDrop": "Komponenten hierher ziehen",
1528
+ "noCode.pageBuilder.title": "Seiten-Builder",
1529
+ "noCode.pageBuilder.newPage": "Neue Seite",
1530
+ "noCode.pageBuilder.pageName": "Seitenname",
1531
+ "noCode.pageBuilder.pageRoute": "Route",
1532
+ "noCode.pageBuilder.addSection": "Abschnitt hinzufügen",
1533
+ "noCode.pageBuilder.editSection": "Abschnitt bearbeiten",
1534
+ "noCode.pageBuilder.deleteSection": "Abschnitt löschen",
1535
+ "noCode.pageBuilder.sectionLayout": "Abschnittslayout",
1536
+ "noCode.pageBuilder.columns": "Spalten",
1537
+ "noCode.pageBuilder.responsive": "Responsiv",
1538
+ "noCode.pageBuilder.mobile": "Mobil",
1539
+ "noCode.pageBuilder.tablet": "Tablet",
1540
+ "noCode.pageBuilder.desktop": "Desktop",
1541
+ "noCode.pageBuilder.showGrid": "Raster anzeigen",
1542
+ "noCode.pageBuilder.hideGrid": "Raster ausblenden",
1543
+ "noCode.pageBuilder.metadata": "Seitenmetadaten",
1544
+ "noCode.pageBuilder.seo": "SEO-Einstellungen",
1545
+ "noCode.stateDesigner.title": "Status-Designer",
1546
+ "noCode.stateDesigner.newStore": "Neuer Store",
1547
+ "noCode.stateDesigner.storeName": "Store-Name",
1548
+ "noCode.stateDesigner.storeType": "Store-Typ",
1549
+ "noCode.stateDesigner.addState": "Statusfeld hinzufügen",
1550
+ "noCode.stateDesigner.addAction": "Aktion hinzufügen",
1551
+ "noCode.stateDesigner.editAction": "Aktion bearbeiten",
1552
+ "noCode.stateDesigner.deleteAction": "Aktion löschen",
1553
+ "noCode.stateDesigner.actionName": "Aktionsname",
1554
+ "noCode.stateDesigner.actionParams": "Parameter",
1555
+ "noCode.stateDesigner.actionBody": "Aktionskörper",
1556
+ "noCode.stateDesigner.asyncAction": "Asynchrone Aktion",
1557
+ "noCode.stateDesigner.addSelector": "Selektor hinzufügen",
1558
+ "noCode.stateDesigner.selectorName": "Selektorname",
1559
+ "noCode.stateDesigner.selectorBody": "Selektorlogik",
1560
+ "noCode.stateDesigner.persistence": "Persistenz",
1561
+ "noCode.stateDesigner.devtools": "Entwicklertools",
1562
+ "noCode.apiFlow.title": "API-Flow-Designer",
1563
+ "noCode.apiFlow.newEndpoint": "Neuer Endpunkt",
1564
+ "noCode.apiFlow.endpointUrl": "Endpunkt-URL",
1565
+ "noCode.apiFlow.method": "HTTP-Methode",
1566
+ "noCode.apiFlow.headers": "Header",
1567
+ "noCode.apiFlow.body": "Anfragekörper",
1568
+ "noCode.apiFlow.response": "Antwort",
1569
+ "noCode.apiFlow.auth": "Authentifizierung",
1570
+ "noCode.apiFlow.authType": "Authentifizierungstyp",
1571
+ "noCode.apiFlow.bearerToken": "Bearer-Token",
1572
+ "noCode.apiFlow.apiKey": "API-Schlüssel",
1573
+ "noCode.apiFlow.testEndpoint": "Endpunkt testen",
1574
+ "noCode.apiFlow.mockResponse": "Mock-Antwort",
1575
+ "noCode.apiFlow.errorHandling": "Fehlerbehandlung",
1576
+ "noCode.apiFlow.retry": "Wiederholungsrichtlinie",
1577
+ "noCode.apiFlow.cache": "Cache",
1578
+ "noCode.dataMapper.title": "Datenmapper",
1579
+ "noCode.dataMapper.sourceSchema": "Quellschema",
1580
+ "noCode.dataMapper.targetSchema": "Zielschema",
1581
+ "noCode.dataMapper.addMapping": "Zuordnung hinzufügen",
1582
+ "noCode.dataMapper.editMapping": "Zuordnung bearbeiten",
1583
+ "noCode.dataMapper.deleteMapping": "Zuordnung löschen",
1584
+ "noCode.dataMapper.sourceField": "Quellfeld",
1585
+ "noCode.dataMapper.targetField": "Zielfeld",
1586
+ "noCode.dataMapper.transform": "Transformation",
1587
+ "noCode.dataMapper.validation": "Validierung",
1588
+ "noCode.dataMapper.testData": "Testdaten",
1589
+ "noCode.dataMapper.preview": "Ergebnisvorschau",
1590
+ "noCode.dataMapper.autoMap": "Automatisch zuordnen",
1591
+ "noCode.eventOrchestrator.title": "Ereignis-Orchestrator",
1592
+ "noCode.eventOrchestrator.newFlow": "Neuer Flow",
1593
+ "noCode.eventOrchestrator.flowName": "Flow-Name",
1594
+ "noCode.eventOrchestrator.trigger": "Auslöser",
1595
+ "noCode.eventOrchestrator.triggerType": "Auslösertyp",
1596
+ "noCode.eventOrchestrator.addHandler": "Handler hinzufügen",
1597
+ "noCode.eventOrchestrator.editHandler": "Handler bearbeiten",
1598
+ "noCode.eventOrchestrator.deleteHandler": "Handler löschen",
1599
+ "noCode.eventOrchestrator.handlerName": "Handler-Name",
1600
+ "noCode.eventOrchestrator.debounce": "Entprellen",
1601
+ "noCode.eventOrchestrator.throttle": "Drosseln",
1602
+ "noCode.eventOrchestrator.delay": "Verzögerung",
1603
+ "noCode.eventOrchestrator.condition": "Bedingung",
1604
+ "noCode.eventOrchestrator.chain": "Ereigniskette",
1605
+ "noCode.testBuilder.title": "Test-Builder",
1606
+ "noCode.testBuilder.newTest": "Neuer Test",
1607
+ "noCode.testBuilder.testName": "Testname",
1608
+ "noCode.testBuilder.testDescription": "Beschreibung",
1609
+ "noCode.testBuilder.addScenario": "Szenario hinzufügen",
1610
+ "noCode.testBuilder.editScenario": "Szenario bearbeiten",
1611
+ "noCode.testBuilder.deleteScenario": "Szenario löschen",
1612
+ "noCode.testBuilder.addAssertion": "Assertion hinzufügen",
1613
+ "noCode.testBuilder.assertionType": "Assertionstyp",
1614
+ "noCode.testBuilder.expected": "Erwarteter Wert",
1615
+ "noCode.testBuilder.actual": "Tatsächlicher Wert",
1616
+ "noCode.testBuilder.mock": "Mock-Konfiguration",
1617
+ "noCode.testBuilder.runTests": "Tests ausführen",
1618
+ "noCode.testBuilder.testsPassed": "Tests bestanden",
1619
+ "noCode.testBuilder.testsFailed": "Tests fehlgeschlagen",
1620
+ "noCode.testBuilder.coverage": "Abdeckung",
1621
+ "noCode.testBuilder.accessibility": "Barrierefreiheitsprüfung",
1622
+ "noCode.codeTemplate.title": "Code-Vorlagen",
1623
+ "noCode.codeTemplate.newTemplate": "Neue Vorlage",
1624
+ "noCode.codeTemplate.templateName": "Vorlagenname",
1625
+ "noCode.codeTemplate.templateEngine": "Vorlagen-Engine",
1626
+ "noCode.codeTemplate.variables": "Variablen",
1627
+ "noCode.codeTemplate.addVariable": "Variable hinzufügen",
1628
+ "noCode.codeTemplate.variableName": "Variablenname",
1629
+ "noCode.codeTemplate.variableType": "Variablentyp",
1630
+ "noCode.codeTemplate.variableDefault": "Standardwert",
1631
+ "noCode.codeTemplate.generateFiles": "Dateien generieren",
1632
+ "noCode.codeTemplate.outputPath": "Ausgabepfad",
1633
+ "noCode.codeTemplate.presets": "Voreinstellungen",
1634
+ "noCode.codeTemplate.presetReact": "React-Komponente",
1635
+ "noCode.codeTemplate.presetNextPage": "Next.js-Seite",
1636
+ "noCode.codeTemplate.presetHook": "Benutzerdefinierter Hook",
1637
+ "noCode.codeTemplate.presetStore": "Store-Modul",
1638
+ "noCode.codePreview.title": "Code-Vorschau",
1639
+ "noCode.codePreview.showDiff": "Unterschiede anzeigen",
1640
+ "noCode.codePreview.hideDiff": "Unterschiede ausblenden",
1641
+ "noCode.codePreview.copyCode": "Code kopieren",
1642
+ "noCode.codePreview.downloadCode": "Code herunterladen",
1643
+ "noCode.codePreview.importCode": "Code importieren",
1644
+ "noCode.codePreview.language": "Sprache",
1645
+ "noCode.codePreview.format": "Code formatieren",
1646
+ "noCode.codePreview.linesChanged": "Geänderte Zeilen",
1647
+ "noCode.codePreview.noChanges": "Keine Änderungen"
1648
+ }, ye = {
1146
1649
  ok: "OK",
1147
1650
  cancel: "Annuler",
1148
1651
  save: "Enregistrer",
@@ -1504,8 +2007,167 @@ const j = [
1504
2007
  "wm.closeAll": "Tout fermer",
1505
2008
  "wm.minimizeAll": "Tout réduire",
1506
2009
  "wm.newWindow": "Nouvelle fenêtre",
1507
- "wm.moveToFront": "Au premier plan"
1508
- }, ze = {
2010
+ "wm.moveToFront": "Au premier plan",
2011
+ // No-Code Foundation
2012
+ "noCode.title": "Studio No-Code",
2013
+ "noCode.description": "Créez des applications visuellement",
2014
+ "noCode.newProject": "Nouveau projet",
2015
+ "noCode.openProject": "Ouvrir le projet",
2016
+ "noCode.saveProject": "Enregistrer le projet",
2017
+ "noCode.exportProject": "Exporter le projet",
2018
+ "noCode.importProject": "Importer le projet",
2019
+ "noCode.projectName": "Nom du projet",
2020
+ "noCode.projectSettings": "Paramètres du projet",
2021
+ "noCode.recentProjects": "Projets récents",
2022
+ "noCode.templates": "Modèles",
2023
+ "noCode.preview": "Aperçu",
2024
+ "noCode.codeView": "Vue code",
2025
+ "noCode.splitView": "Vue divisée",
2026
+ "noCode.visualView": "Vue visuelle",
2027
+ "noCode.generate": "Générer le code",
2028
+ "noCode.deploy": "Déployer",
2029
+ "noCode.componentDesigner.title": "Concepteur de composants",
2030
+ "noCode.componentDesigner.newComponent": "Nouveau composant",
2031
+ "noCode.componentDesigner.componentName": "Nom du composant",
2032
+ "noCode.componentDesigner.addProp": "Ajouter une propriété",
2033
+ "noCode.componentDesigner.editProp": "Modifier la propriété",
2034
+ "noCode.componentDesigner.deleteProp": "Supprimer la propriété",
2035
+ "noCode.componentDesigner.propName": "Nom de la propriété",
2036
+ "noCode.componentDesigner.propType": "Type de propriété",
2037
+ "noCode.componentDesigner.propRequired": "Obligatoire",
2038
+ "noCode.componentDesigner.propDefault": "Valeur par défaut",
2039
+ "noCode.componentDesigner.addState": "Ajouter un état",
2040
+ "noCode.componentDesigner.stateName": "Nom de l'état",
2041
+ "noCode.componentDesigner.stateType": "Type d'état",
2042
+ "noCode.componentDesigner.stateDefault": "Valeur initiale",
2043
+ "noCode.componentDesigner.addHook": "Ajouter un hook",
2044
+ "noCode.componentDesigner.hooks": "Hooks",
2045
+ "noCode.componentDesigner.template": "Modèle",
2046
+ "noCode.componentDesigner.styles": "Styles",
2047
+ "noCode.componentDesigner.events": "Événements",
2048
+ "noCode.componentDesigner.palette": "Palette de composants",
2049
+ "noCode.componentDesigner.dragDrop": "Glissez les composants ici",
2050
+ "noCode.pageBuilder.title": "Créateur de pages",
2051
+ "noCode.pageBuilder.newPage": "Nouvelle page",
2052
+ "noCode.pageBuilder.pageName": "Nom de la page",
2053
+ "noCode.pageBuilder.pageRoute": "Chemin de route",
2054
+ "noCode.pageBuilder.addSection": "Ajouter une section",
2055
+ "noCode.pageBuilder.editSection": "Modifier la section",
2056
+ "noCode.pageBuilder.deleteSection": "Supprimer la section",
2057
+ "noCode.pageBuilder.sectionLayout": "Disposition de section",
2058
+ "noCode.pageBuilder.columns": "Colonnes",
2059
+ "noCode.pageBuilder.responsive": "Réactif",
2060
+ "noCode.pageBuilder.mobile": "Mobile",
2061
+ "noCode.pageBuilder.tablet": "Tablette",
2062
+ "noCode.pageBuilder.desktop": "Bureau",
2063
+ "noCode.pageBuilder.showGrid": "Afficher la grille",
2064
+ "noCode.pageBuilder.hideGrid": "Masquer la grille",
2065
+ "noCode.pageBuilder.metadata": "Métadonnées de page",
2066
+ "noCode.pageBuilder.seo": "Paramètres SEO",
2067
+ "noCode.stateDesigner.title": "Concepteur d'état",
2068
+ "noCode.stateDesigner.newStore": "Nouveau store",
2069
+ "noCode.stateDesigner.storeName": "Nom du store",
2070
+ "noCode.stateDesigner.storeType": "Type de store",
2071
+ "noCode.stateDesigner.addState": "Ajouter un champ d'état",
2072
+ "noCode.stateDesigner.addAction": "Ajouter une action",
2073
+ "noCode.stateDesigner.editAction": "Modifier l'action",
2074
+ "noCode.stateDesigner.deleteAction": "Supprimer l'action",
2075
+ "noCode.stateDesigner.actionName": "Nom de l'action",
2076
+ "noCode.stateDesigner.actionParams": "Paramètres",
2077
+ "noCode.stateDesigner.actionBody": "Corps de l'action",
2078
+ "noCode.stateDesigner.asyncAction": "Action asynchrone",
2079
+ "noCode.stateDesigner.addSelector": "Ajouter un sélecteur",
2080
+ "noCode.stateDesigner.selectorName": "Nom du sélecteur",
2081
+ "noCode.stateDesigner.selectorBody": "Logique du sélecteur",
2082
+ "noCode.stateDesigner.persistence": "Persistance",
2083
+ "noCode.stateDesigner.devtools": "Outils de développement",
2084
+ "noCode.apiFlow.title": "Concepteur API",
2085
+ "noCode.apiFlow.newEndpoint": "Nouveau endpoint",
2086
+ "noCode.apiFlow.endpointUrl": "URL du endpoint",
2087
+ "noCode.apiFlow.method": "Méthode HTTP",
2088
+ "noCode.apiFlow.headers": "En-têtes",
2089
+ "noCode.apiFlow.body": "Corps de requête",
2090
+ "noCode.apiFlow.response": "Réponse",
2091
+ "noCode.apiFlow.auth": "Authentification",
2092
+ "noCode.apiFlow.authType": "Type d'authentification",
2093
+ "noCode.apiFlow.bearerToken": "Token Bearer",
2094
+ "noCode.apiFlow.apiKey": "Clé API",
2095
+ "noCode.apiFlow.testEndpoint": "Tester le endpoint",
2096
+ "noCode.apiFlow.mockResponse": "Réponse simulée",
2097
+ "noCode.apiFlow.errorHandling": "Gestion des erreurs",
2098
+ "noCode.apiFlow.retry": "Politique de réessai",
2099
+ "noCode.apiFlow.cache": "Cache",
2100
+ "noCode.dataMapper.title": "Mappeur de données",
2101
+ "noCode.dataMapper.sourceSchema": "Schéma source",
2102
+ "noCode.dataMapper.targetSchema": "Schéma cible",
2103
+ "noCode.dataMapper.addMapping": "Ajouter un mapping",
2104
+ "noCode.dataMapper.editMapping": "Modifier le mapping",
2105
+ "noCode.dataMapper.deleteMapping": "Supprimer le mapping",
2106
+ "noCode.dataMapper.sourceField": "Champ source",
2107
+ "noCode.dataMapper.targetField": "Champ cible",
2108
+ "noCode.dataMapper.transform": "Transformation",
2109
+ "noCode.dataMapper.validation": "Validation",
2110
+ "noCode.dataMapper.testData": "Données de test",
2111
+ "noCode.dataMapper.preview": "Aperçu du résultat",
2112
+ "noCode.dataMapper.autoMap": "Mapping automatique",
2113
+ "noCode.eventOrchestrator.title": "Orchestrateur d'événements",
2114
+ "noCode.eventOrchestrator.newFlow": "Nouveau flux",
2115
+ "noCode.eventOrchestrator.flowName": "Nom du flux",
2116
+ "noCode.eventOrchestrator.trigger": "Déclencheur",
2117
+ "noCode.eventOrchestrator.triggerType": "Type de déclencheur",
2118
+ "noCode.eventOrchestrator.addHandler": "Ajouter un handler",
2119
+ "noCode.eventOrchestrator.editHandler": "Modifier le handler",
2120
+ "noCode.eventOrchestrator.deleteHandler": "Supprimer le handler",
2121
+ "noCode.eventOrchestrator.handlerName": "Nom du handler",
2122
+ "noCode.eventOrchestrator.debounce": "Rebond",
2123
+ "noCode.eventOrchestrator.throttle": "Limitation",
2124
+ "noCode.eventOrchestrator.delay": "Délai",
2125
+ "noCode.eventOrchestrator.condition": "Condition",
2126
+ "noCode.eventOrchestrator.chain": "Chaîne d'événements",
2127
+ "noCode.testBuilder.title": "Créateur de tests",
2128
+ "noCode.testBuilder.newTest": "Nouveau test",
2129
+ "noCode.testBuilder.testName": "Nom du test",
2130
+ "noCode.testBuilder.testDescription": "Description",
2131
+ "noCode.testBuilder.addScenario": "Ajouter un scénario",
2132
+ "noCode.testBuilder.editScenario": "Modifier le scénario",
2133
+ "noCode.testBuilder.deleteScenario": "Supprimer le scénario",
2134
+ "noCode.testBuilder.addAssertion": "Ajouter une assertion",
2135
+ "noCode.testBuilder.assertionType": "Type d'assertion",
2136
+ "noCode.testBuilder.expected": "Valeur attendue",
2137
+ "noCode.testBuilder.actual": "Valeur réelle",
2138
+ "noCode.testBuilder.mock": "Configuration des mocks",
2139
+ "noCode.testBuilder.runTests": "Exécuter les tests",
2140
+ "noCode.testBuilder.testsPassed": "Tests réussis",
2141
+ "noCode.testBuilder.testsFailed": "Tests échoués",
2142
+ "noCode.testBuilder.coverage": "Couverture",
2143
+ "noCode.testBuilder.accessibility": "Vérification d'accessibilité",
2144
+ "noCode.codeTemplate.title": "Modèles de code",
2145
+ "noCode.codeTemplate.newTemplate": "Nouveau modèle",
2146
+ "noCode.codeTemplate.templateName": "Nom du modèle",
2147
+ "noCode.codeTemplate.templateEngine": "Moteur de modèle",
2148
+ "noCode.codeTemplate.variables": "Variables",
2149
+ "noCode.codeTemplate.addVariable": "Ajouter une variable",
2150
+ "noCode.codeTemplate.variableName": "Nom de variable",
2151
+ "noCode.codeTemplate.variableType": "Type de variable",
2152
+ "noCode.codeTemplate.variableDefault": "Valeur par défaut",
2153
+ "noCode.codeTemplate.generateFiles": "Générer les fichiers",
2154
+ "noCode.codeTemplate.outputPath": "Chemin de sortie",
2155
+ "noCode.codeTemplate.presets": "Préréglages",
2156
+ "noCode.codeTemplate.presetReact": "Composant React",
2157
+ "noCode.codeTemplate.presetNextPage": "Page Next.js",
2158
+ "noCode.codeTemplate.presetHook": "Hook personnalisé",
2159
+ "noCode.codeTemplate.presetStore": "Module store",
2160
+ "noCode.codePreview.title": "Aperçu du code",
2161
+ "noCode.codePreview.showDiff": "Afficher les différences",
2162
+ "noCode.codePreview.hideDiff": "Masquer les différences",
2163
+ "noCode.codePreview.copyCode": "Copier le code",
2164
+ "noCode.codePreview.downloadCode": "Télécharger le code",
2165
+ "noCode.codePreview.importCode": "Importer le code",
2166
+ "noCode.codePreview.language": "Langage",
2167
+ "noCode.codePreview.format": "Formater le code",
2168
+ "noCode.codePreview.linesChanged": "Lignes modifiées",
2169
+ "noCode.codePreview.noChanges": "Aucune modification"
2170
+ }, Ee = {
1509
2171
  ok: "OK",
1510
2172
  cancel: "Cancelar",
1511
2173
  save: "Guardar",
@@ -1982,7 +2644,7 @@ const j = [
1982
2644
  "lang.ko": "Coreano",
1983
2645
  "lang.zh": "Cinese",
1984
2646
  "lang.ar": "Arabo"
1985
- }, xe = {
2647
+ }, ze = {
1986
2648
  ok: "OK",
1987
2649
  cancel: "Cancelar",
1988
2650
  save: "Salvar",
@@ -2345,7 +3007,7 @@ const j = [
2345
3007
  "wm.minimizeAll": "Minimizar todos",
2346
3008
  "wm.newWindow": "Nova janela",
2347
3009
  "wm.moveToFront": "Trazer para frente"
2348
- }, Ae = {
3010
+ }, De = {
2349
3011
  ok: "OK",
2350
3012
  cancel: "Annuleren",
2351
3013
  save: "Opslaan",
@@ -2430,7 +3092,7 @@ const j = [
2430
3092
  "lang.ko": "Koreaans",
2431
3093
  "lang.zh": "Chinees",
2432
3094
  "lang.ar": "Arabisch"
2433
- }, Ce = {
3095
+ }, Ae = {
2434
3096
  ok: "OK",
2435
3097
  cancel: "Avbryt",
2436
3098
  save: "Spara",
@@ -2500,7 +3162,7 @@ const j = [
2500
3162
  "lang.ko": "Koreanska",
2501
3163
  "lang.zh": "Kinesiska",
2502
3164
  "lang.ar": "Arabiska"
2503
- }, De = {
3165
+ }, xe = {
2504
3166
  ok: "OK",
2505
3167
  cancel: "Avbryt",
2506
3168
  save: "Lagre",
@@ -3052,7 +3714,7 @@ const j = [
3052
3714
  "wm.minimizeAll": "Minimalizovat vše",
3053
3715
  "wm.newWindow": "Nové okno",
3054
3716
  "wm.moveToFront": "Přenést dopředu"
3055
- }, Fe = {
3717
+ }, Ne = {
3056
3718
  ok: "OK",
3057
3719
  cancel: "Zrušiť",
3058
3720
  save: "Uložiť",
@@ -3115,7 +3777,7 @@ const j = [
3115
3777
  "lang.ko": "Kórejčina",
3116
3778
  "lang.zh": "Čínština",
3117
3779
  "lang.ar": "Arabčina"
3118
- }, Le = {
3780
+ }, Fe = {
3119
3781
  ok: "OK",
3120
3782
  cancel: "Mégse",
3121
3783
  save: "Mentés",
@@ -3178,7 +3840,7 @@ const j = [
3178
3840
  "lang.ko": "Koreai",
3179
3841
  "lang.zh": "Kínai",
3180
3842
  "lang.ar": "Arab"
3181
- }, Re = {
3843
+ }, Me = {
3182
3844
  ok: "OK",
3183
3845
  cancel: "Anulare",
3184
3846
  save: "Salvare",
@@ -3233,7 +3895,7 @@ const j = [
3233
3895
  "lang.ko": "Coreeană",
3234
3896
  "lang.zh": "Chineză",
3235
3897
  "lang.ar": "Arabă"
3236
- }, Ne = {
3898
+ }, Oe = {
3237
3899
  ok: "OK",
3238
3900
  cancel: "Отказ",
3239
3901
  save: "Запис",
@@ -3288,7 +3950,7 @@ const j = [
3288
3950
  "lang.ko": "Корейски",
3289
3951
  "lang.zh": "Китайски",
3290
3952
  "lang.ar": "Арабски"
3291
- }, Me = {
3953
+ }, Re = {
3292
3954
  ok: "OK",
3293
3955
  cancel: "Скасувати",
3294
3956
  save: "Зберегти",
@@ -3651,7 +4313,7 @@ const j = [
3651
4313
  "wm.minimizeAll": "Згорнути всі",
3652
4314
  "wm.newWindow": "Нове вікно",
3653
4315
  "wm.moveToFront": "На передній план"
3654
- }, Ie = {
4316
+ }, Le = {
3655
4317
  ok: "OK",
3656
4318
  cancel: "キャンセル",
3657
4319
  save: "保存",
@@ -4014,7 +4676,7 @@ const j = [
4014
4676
  "wm.minimizeAll": "すべて最小化",
4015
4677
  "wm.newWindow": "新しいウィンドウ",
4016
4678
  "wm.moveToFront": "最前面に移動"
4017
- }, Oe = {
4679
+ }, Be = {
4018
4680
  ok: "확인",
4019
4681
  cancel: "취소",
4020
4682
  save: "저장",
@@ -4377,7 +5039,7 @@ const j = [
4377
5039
  "wm.minimizeAll": "모두 최소화",
4378
5040
  "wm.newWindow": "새 창",
4379
5041
  "wm.moveToFront": "맨 앞으로"
4380
- }, Ue = {
5042
+ }, Ie = {
4381
5043
  ok: "确定",
4382
5044
  cancel: "取消",
4383
5045
  save: "保存",
@@ -4740,7 +5402,7 @@ const j = [
4740
5402
  "wm.minimizeAll": "最小化全部",
4741
5403
  "wm.newWindow": "新建窗口",
4742
5404
  "wm.moveToFront": "置于最前"
4743
- }, We = {
5405
+ }, Ue = {
4744
5406
  ok: "حسناً",
4745
5407
  cancel: "إلغاء",
4746
5408
  save: "حفظ",
@@ -5103,75 +5765,173 @@ const j = [
5103
5765
  "wm.minimizeAll": "تصغير الكل",
5104
5766
  "wm.newWindow": "نافذة جديدة",
5105
5767
  "wm.moveToFront": "نقل إلى الأمام"
5106
- }, b = {
5107
- en: be,
5108
- pl: we,
5109
- de: ye,
5110
- fr: Ee,
5111
- es: ze,
5768
+ }, He = {
5769
+ ok: "ठीक है",
5770
+ cancel: "रद्द करें",
5771
+ save: "सहेजें",
5772
+ close: "बंद करें",
5773
+ yes: "हाँ",
5774
+ no: "नहीं",
5775
+ loading: "लोड हो रहा है…",
5776
+ error: "त्रुटि",
5777
+ success: "सफलता",
5778
+ search: "खोजें"
5779
+ }, Ke = {
5780
+ ok: "ঠিক আছে",
5781
+ cancel: "বাতিল",
5782
+ save: "সংরক্ষণ",
5783
+ close: "বন্ধ",
5784
+ yes: "হ্যাঁ",
5785
+ no: "না",
5786
+ loading: "লোড হচ্ছে…",
5787
+ error: "ত্রুটি",
5788
+ success: "সফল",
5789
+ search: "অনুসন্ধান"
5790
+ }, Ve = {
5791
+ ok: "ตกลง",
5792
+ cancel: "ยกเลิก",
5793
+ save: "บันทึก",
5794
+ close: "ปิด",
5795
+ yes: "ใช่",
5796
+ no: "ไม่",
5797
+ loading: "กำลังโหลด…",
5798
+ error: "ข้อผิดพลาด",
5799
+ success: "สำเร็จ",
5800
+ search: "ค้นหา"
5801
+ }, We = {
5802
+ ok: "OK",
5803
+ cancel: "Hủy",
5804
+ save: "Lưu",
5805
+ close: "Đóng",
5806
+ yes: "Có",
5807
+ no: "Không",
5808
+ loading: "Đang tải…",
5809
+ error: "Lỗi",
5810
+ success: "Thành công",
5811
+ search: "Tìm kiếm"
5812
+ }, Ze = {
5813
+ ok: "OK",
5814
+ cancel: "Batal",
5815
+ save: "Simpan",
5816
+ close: "Tutup",
5817
+ yes: "Ya",
5818
+ no: "Tidak",
5819
+ loading: "Memuat…",
5820
+ error: "Kesalahan",
5821
+ success: "Berhasil",
5822
+ search: "Cari"
5823
+ }, qe = {
5824
+ ok: "Sawa",
5825
+ cancel: "Ghairi",
5826
+ save: "Hifadhi",
5827
+ close: "Funga",
5828
+ yes: "Ndiyo",
5829
+ no: "Hapana",
5830
+ loading: "Inapakia…",
5831
+ error: "Hitilafu",
5832
+ success: "Imefanikiwa",
5833
+ search: "Tafuta"
5834
+ }, Ge = {
5835
+ ok: "OK",
5836
+ cancel: "Kanselahin",
5837
+ save: "I-save",
5838
+ close: "Isara",
5839
+ yes: "Oo",
5840
+ no: "Hindi",
5841
+ loading: "Naglo-load…",
5842
+ error: "Error",
5843
+ success: "Tagumpay",
5844
+ search: "Maghanap"
5845
+ }, $e = {
5846
+ ok: "OK",
5847
+ cancel: "Batal",
5848
+ save: "Simpan",
5849
+ close: "Tutup",
5850
+ yes: "Ya",
5851
+ no: "Tidak",
5852
+ loading: "Memuat…",
5853
+ error: "Ralat",
5854
+ success: "Berjaya",
5855
+ search: "Cari"
5856
+ }, v = {
5857
+ en: ve,
5858
+ pl: be,
5859
+ de: Ce,
5860
+ fr: ye,
5861
+ es: Ee,
5112
5862
  it: Se,
5113
- pt: xe,
5114
- nl: Ae,
5115
- sv: Ce,
5116
- no: De,
5863
+ pt: ze,
5864
+ nl: De,
5865
+ sv: Ae,
5866
+ no: xe,
5117
5867
  da: Te,
5118
5868
  fi: Pe,
5119
5869
  cs: je,
5120
- sk: Fe,
5121
- hu: Le,
5122
- ro: Re,
5123
- bg: Ne,
5124
- uk: Me,
5125
- ja: Ie,
5126
- ko: Oe,
5127
- zh: Ue,
5128
- ar: We
5129
- }, Be = (e, a) => a, X = U(Be), Ra = ({
5870
+ sk: Ne,
5871
+ hu: Fe,
5872
+ ro: Me,
5873
+ bg: Oe,
5874
+ uk: Re,
5875
+ ja: Le,
5876
+ ko: Be,
5877
+ zh: Ie,
5878
+ ar: Ue,
5879
+ hi: He,
5880
+ bn: Ke,
5881
+ th: Ve,
5882
+ vi: We,
5883
+ id: Ze,
5884
+ sw: qe,
5885
+ fil: Ge,
5886
+ ms: $e
5887
+ }, Je = (e, o) => o, X = I(Je), Vo = ({
5130
5888
  t: e,
5131
- lang: a = "en",
5889
+ lang: o = "en",
5132
5890
  overrides: t,
5133
- children: o
5891
+ children: a
5134
5892
  }) => {
5135
- const r = v(() => {
5136
- if (e) return e;
5137
- const n = b[a] ?? b.en, i = t ? { ...n, ...t } : n;
5893
+ const n = w(() => {
5894
+ if (e)
5895
+ return e;
5896
+ const r = v[o] ?? v.en, i = t ? { ...r, ...t } : r;
5138
5897
  return (s, l) => i[s] ?? l;
5139
- }, [e, a, t]);
5140
- return /* @__PURE__ */ O(X.Provider, { value: r, children: o });
5898
+ }, [e, o, t]);
5899
+ return /* @__PURE__ */ B(X.Provider, { value: n, children: a });
5141
5900
  };
5142
- function Na() {
5143
- return { t: F(X) };
5901
+ function Wo() {
5902
+ return { t: N(X) };
5144
5903
  }
5145
- function Ma(e = "en", a) {
5146
- const t = b[e] ?? b.en, o = a ? { ...t, ...a } : t;
5147
- return (r, n) => o[r] ?? n;
5904
+ function Zo(e = "en", o) {
5905
+ const t = v[e] ?? v.en, a = o ? { ...t, ...o } : t;
5906
+ return (n, r) => a[n] ?? r;
5148
5907
  }
5149
- function Ia(e, a = {}) {
5150
- let t = e.replace(/\{(\w+)\}/g, (o, r) => {
5151
- const n = a[r];
5152
- return n !== void 0 ? String(n) : o;
5908
+ function qo(e, o = {}) {
5909
+ let t = e.replace(/\{(\w+)\}/g, (a, n) => {
5910
+ const r = o[n];
5911
+ return r !== void 0 ? String(r) : a;
5153
5912
  });
5154
5913
  return t = t.replace(
5155
5914
  /\{(\w+),\s*plural,\s*one\{([^}]+)\}\s*other\{([^}]+)\}\}/g,
5156
- (o, r, n, i) => {
5157
- const s = a[r];
5158
- return typeof s != "number" ? o : (s === 1 ? n : i).replace(/#/g, String(s));
5915
+ (a, n, r, i) => {
5916
+ const s = o[n];
5917
+ return typeof s != "number" ? a : (s === 1 ? r : i).replace(/#/g, String(s));
5159
5918
  }
5160
5919
  ), t;
5161
5920
  }
5162
- function Ke(e) {
5921
+ function _e(e) {
5163
5922
  return j.includes(e);
5164
5923
  }
5165
- function Oa() {
5166
- var a;
5167
- if (typeof navigator > "u") return "en";
5168
- const e = (a = navigator.language) == null ? void 0 : a.split("-")[0];
5169
- return Ke(e) ? e : "en";
5924
+ function Go() {
5925
+ var o;
5926
+ if (typeof navigator > "u")
5927
+ return "en";
5928
+ const e = (o = navigator.language) == null ? void 0 : o.split("-")[0];
5929
+ return _e(e) ? e : "en";
5170
5930
  }
5171
- function ee(e, a) {
5172
- var n;
5173
- const t = Math.abs(e), o = Math.floor(t), r = e.toString().includes(".") && ((n = e.toString().split(".")[1]) == null ? void 0 : n.length) || 0;
5174
- switch (r > 0 && parseInt(e.toString().split(".")[1] || "0", 10), a) {
5931
+ function ee(e, o) {
5932
+ var r;
5933
+ const t = Math.abs(e), a = Math.floor(t), n = e.toString().includes(".") && ((r = e.toString().split(".")[1]) == null ? void 0 : r.length) || 0;
5934
+ switch (n > 0 && parseInt(e.toString().split(".")[1] || "0", 10), o) {
5175
5935
  // ── English-like (one/other) ───────────────────────────
5176
5936
  case "en":
5177
5937
  case "de":
@@ -5183,29 +5943,29 @@ function ee(e, a) {
5183
5943
  case "it":
5184
5944
  case "es":
5185
5945
  case "pt":
5186
- return o === 1 && r === 0 ? "one" : "other";
5946
+ return a === 1 && n === 0 ? "one" : "other";
5187
5947
  // ── French (one/many/other) ────────────────────────────
5188
5948
  case "fr":
5189
- return o === 0 || o === 1 ? "one" : t >= 1e6 ? "many" : "other";
5949
+ return a === 0 || a === 1 ? "one" : t >= 1e6 ? "many" : "other";
5190
5950
  // ── Polish (Slavic: one/few/many/other) ────────────────
5191
5951
  case "pl":
5192
- return o === 1 && r === 0 ? "one" : r === 0 && o % 10 >= 2 && o % 10 <= 4 && !(o % 100 >= 12 && o % 100 <= 14) ? "few" : r === 0 && o !== 1 && (o % 10 === 0 || o % 10 === 1) || r === 0 && o % 10 >= 5 && o % 10 <= 9 || r === 0 && o % 100 >= 12 && o % 100 <= 14 ? "many" : "other";
5952
+ return a === 1 && n === 0 ? "one" : n === 0 && a % 10 >= 2 && a % 10 <= 4 && !(a % 100 >= 12 && a % 100 <= 14) ? "few" : n === 0 && a !== 1 && (a % 10 === 0 || a % 10 === 1) || n === 0 && a % 10 >= 5 && a % 10 <= 9 || n === 0 && a % 100 >= 12 && a % 100 <= 14 ? "many" : "other";
5193
5953
  // ── Ukrainian (Slavic: one/few/many/other) ─────────────
5194
5954
  case "uk":
5195
- return r === 0 && o % 10 === 1 && o % 100 !== 11 ? "one" : r === 0 && o % 10 >= 2 && o % 10 <= 4 && !(o % 100 >= 12 && o % 100 <= 14) ? "few" : r === 0 && o % 10 === 0 || r === 0 && o % 10 >= 5 && o % 10 <= 9 || r === 0 && o % 100 >= 11 && o % 100 <= 14 ? "many" : "other";
5955
+ return n === 0 && a % 10 === 1 && a % 100 !== 11 ? "one" : n === 0 && a % 10 >= 2 && a % 10 <= 4 && !(a % 100 >= 12 && a % 100 <= 14) ? "few" : n === 0 && a % 10 === 0 || n === 0 && a % 10 >= 5 && a % 10 <= 9 || n === 0 && a % 100 >= 11 && a % 100 <= 14 ? "many" : "other";
5196
5956
  // ── Bulgarian (one/other) ──────────────────────────────
5197
5957
  case "bg":
5198
5958
  return e === 1 ? "one" : "other";
5199
5959
  // ── Czech/Slovak (Slavic: one/few/many/other) ──────────
5200
5960
  case "cs":
5201
5961
  case "sk":
5202
- return o === 1 && r === 0 ? "one" : o >= 2 && o <= 4 && r === 0 ? "few" : r !== 0 ? "many" : "other";
5962
+ return a === 1 && n === 0 ? "one" : a >= 2 && a <= 4 && n === 0 ? "few" : n !== 0 ? "many" : "other";
5203
5963
  // ── Hungarian (one/other) ──────────────────────────────
5204
5964
  case "hu":
5205
5965
  return e === 1 ? "one" : "other";
5206
5966
  // ── Romanian (one/few/other) ───────────────────────────
5207
5967
  case "ro":
5208
- return o === 1 && r === 0 ? "one" : r !== 0 || e === 0 || e % 100 >= 2 && e % 100 <= 19 ? "few" : "other";
5968
+ return a === 1 && n === 0 ? "one" : n !== 0 || e === 0 || e % 100 >= 2 && e % 100 <= 19 ? "few" : "other";
5209
5969
  // ── Japanese/Korean/Chinese (other only) ─────────────────
5210
5970
  case "ja":
5211
5971
  case "ko":
@@ -5213,18 +5973,26 @@ function ee(e, a) {
5213
5973
  return "other";
5214
5974
  // ── Arabic (zero/one/two/few/many/other) ────────────────
5215
5975
  case "ar": {
5216
- if (e === 0) return "zero";
5217
- if (e === 1) return "one";
5218
- if (e === 2) return "two";
5976
+ if (e === 0)
5977
+ return "zero";
5978
+ if (e === 1)
5979
+ return "one";
5980
+ if (e === 2)
5981
+ return "two";
5219
5982
  const i = e % 100;
5220
5983
  return i >= 3 && i <= 10 ? "few" : i >= 11 && i <= 99 ? "many" : "other";
5221
5984
  }
5222
5985
  default:
5223
- return o === 1 && r === 0 ? "one" : "other";
5986
+ if (typeof Intl < "u" && typeof Intl.PluralRules == "function")
5987
+ try {
5988
+ return new Intl.PluralRules(o).select(e);
5989
+ } catch {
5990
+ }
5991
+ return a === 1 && n === 0 ? "one" : "other";
5224
5992
  }
5225
5993
  }
5226
- function ae(e, a) {
5227
- switch (a) {
5994
+ function oe(e, o) {
5995
+ switch (o) {
5228
5996
  // ── English ────────────────────────────────────────────
5229
5997
  case "en":
5230
5998
  return e % 10 === 1 && e % 100 !== 11 ? "one" : e % 10 === 2 && e % 100 !== 12 ? "two" : e % 10 === 3 && e % 100 !== 13 ? "few" : "other";
@@ -5249,140 +6017,151 @@ function ae(e, a) {
5249
6017
  case "da":
5250
6018
  case "fi":
5251
6019
  default:
6020
+ if (typeof Intl < "u" && typeof Intl.PluralRules == "function")
6021
+ try {
6022
+ return new Intl.PluralRules(o, { type: "ordinal" }).select(e);
6023
+ } catch {
6024
+ }
5252
6025
  return "other";
5253
6026
  }
5254
6027
  }
5255
- function Ze(e) {
5256
- var r;
6028
+ function Ye(e) {
6029
+ var n;
5257
6030
  if (e = e.trim(), !e.includes(","))
5258
6031
  return { type: "simple", name: e };
5259
- const a = e.split(",").map((n) => n.trim()), t = a[0], o = (r = a[1]) == null ? void 0 : r.toLowerCase();
5260
- if (!o || !t) return null;
5261
- if (o === "number")
5262
- return { type: "number", name: t, style: a[2] };
5263
- if (o === "date" || o === "time")
5264
- return { type: o, name: t, style: a[2] || "medium" };
5265
- if (o === "plural" || o === "select" || o === "selectordinal") {
5266
- const n = a.slice(2).join(",").trim(), i = {}, s = /(=?\w+)\s*\{([^{}]*(?:\{[^{}]*\}[^{}]*)*)\}/g;
6032
+ const o = e.split(",").map((r) => r.trim()), t = o[0], a = (n = o[1]) == null ? void 0 : n.toLowerCase();
6033
+ if (!a || !t)
6034
+ return null;
6035
+ if (a === "number")
6036
+ return { type: "number", name: t, style: o[2] };
6037
+ if (a === "date" || a === "time")
6038
+ return { type: a, name: t, style: o[2] || "medium" };
6039
+ if (a === "plural" || a === "select" || a === "selectordinal") {
6040
+ const r = o.slice(2).join(",").trim(), i = {}, s = /(=?\w+)\s*\{([^{}]*(?:\{[^{}]*\}[^{}]*)*)\}/g;
5267
6041
  let l;
5268
- for (; (l = s.exec(n)) !== null; )
6042
+ for (; (l = s.exec(r)) !== null; )
5269
6043
  i[l[1]] = l[2];
5270
- return { type: o, name: t, options: i };
6044
+ return { type: a, name: t, options: i };
5271
6045
  }
5272
6046
  return { type: "simple", name: t };
5273
6047
  }
5274
- function qe(e, a, t) {
5275
- const o = {};
6048
+ function Qe(e, o, t) {
6049
+ const a = {};
5276
6050
  switch (t) {
5277
6051
  case "currency":
5278
- o.style = "currency", o.currency = "USD";
6052
+ a.style = "currency", a.currency = "USD";
5279
6053
  break;
5280
6054
  case "percent":
5281
- o.style = "percent";
6055
+ a.style = "percent";
5282
6056
  break;
5283
6057
  case "integer":
5284
- o.maximumFractionDigits = 0;
6058
+ a.maximumFractionDigits = 0;
5285
6059
  break;
5286
6060
  }
5287
- return new Intl.NumberFormat(a, o).format(e);
6061
+ return new Intl.NumberFormat(o, a).format(e);
5288
6062
  }
5289
- function He(e, a, t) {
5290
- const o = e instanceof Date ? e : new Date(e);
5291
- let r;
6063
+ function Xe(e, o, t) {
6064
+ const a = e instanceof Date ? e : new Date(e);
6065
+ let n;
5292
6066
  switch (t) {
5293
6067
  case "short":
5294
- r = { dateStyle: "short" };
6068
+ n = { dateStyle: "short" };
5295
6069
  break;
5296
6070
  case "long":
5297
- r = { dateStyle: "long" };
6071
+ n = { dateStyle: "long" };
5298
6072
  break;
5299
6073
  case "full":
5300
- r = { dateStyle: "full" };
6074
+ n = { dateStyle: "full" };
5301
6075
  break;
5302
6076
  case "medium":
5303
6077
  default:
5304
- r = { dateStyle: "medium" };
6078
+ n = { dateStyle: "medium" };
5305
6079
  break;
5306
6080
  }
5307
- return new Intl.DateTimeFormat(a, r).format(o);
6081
+ return new Intl.DateTimeFormat(o, n).format(a);
5308
6082
  }
5309
- function Ve(e, a, t) {
5310
- const o = e instanceof Date ? e : new Date(e);
5311
- let r;
6083
+ function eo(e, o, t) {
6084
+ const a = e instanceof Date ? e : new Date(e);
6085
+ let n;
5312
6086
  switch (t) {
5313
6087
  case "short":
5314
- r = { timeStyle: "short" };
6088
+ n = { timeStyle: "short" };
5315
6089
  break;
5316
6090
  case "long":
5317
- r = { timeStyle: "long" };
6091
+ n = { timeStyle: "long" };
5318
6092
  break;
5319
6093
  case "full":
5320
- r = { timeStyle: "full" };
6094
+ n = { timeStyle: "full" };
5321
6095
  break;
5322
6096
  case "medium":
5323
6097
  default:
5324
- r = { timeStyle: "medium" };
6098
+ n = { timeStyle: "medium" };
5325
6099
  break;
5326
6100
  }
5327
- return new Intl.DateTimeFormat(a, r).format(o);
6101
+ return new Intl.DateTimeFormat(o, n).format(a);
5328
6102
  }
5329
- function B(e, a, t) {
6103
+ function H(e, o, t) {
5330
6104
  return e.replace(/#/g, String(t));
5331
6105
  }
5332
- function Ge(e, a = {}, t = {}) {
5333
- const o = t.lang || "en", r = t.locale || o, n = /\{([^{}]*(?:\{[^{}]*\}[^{}]*)*)\}/g;
5334
- return e.replace(n, (i, s) => {
5335
- const l = Ze(s);
5336
- if (!l) return i;
5337
- const d = a[l.name];
5338
- if (d === void 0) return i;
6106
+ function oo(e, o = {}, t = {}) {
6107
+ const a = t.lang || "en", n = t.locale || a, r = /\{([^{}]*(?:\{[^{}]*\}[^{}]*)*)\}/g;
6108
+ return e.replace(r, (i, s) => {
6109
+ const l = Ye(s);
6110
+ if (!l)
6111
+ return i;
6112
+ const d = o[l.name];
6113
+ if (d === void 0)
6114
+ return i;
5339
6115
  switch (l.type) {
5340
6116
  case "simple":
5341
6117
  return String(d);
5342
6118
  case "number":
5343
- return typeof d != "number" ? i : qe(d, r, l.style);
6119
+ return typeof d != "number" ? i : Qe(d, n, l.style);
5344
6120
  case "date":
5345
- return He(d, r, l.style);
6121
+ return Xe(d, n, l.style);
5346
6122
  case "time":
5347
- return Ve(d, r, l.style);
6123
+ return eo(d, n, l.style);
5348
6124
  case "plural": {
5349
- if (typeof d != "number" || !l.options) return i;
5350
- const m = ee(d, o), f = `=${d}`, u = l.options[f] ?? l.options[m] ?? l.options.other ?? "";
5351
- return B(u, l.name, d);
6125
+ if (typeof d != "number" || !l.options)
6126
+ return i;
6127
+ const m = ee(d, a), f = `=${d}`, u = l.options[f] ?? l.options[m] ?? l.options.other ?? "";
6128
+ return H(u, l.name, d);
5352
6129
  }
5353
6130
  case "selectordinal": {
5354
- if (typeof d != "number" || !l.options) return i;
5355
- const m = ae(d, o), f = l.options[m] ?? l.options.other ?? "";
5356
- return B(f, l.name, d);
6131
+ if (typeof d != "number" || !l.options)
6132
+ return i;
6133
+ const m = oe(d, a), f = l.options[m] ?? l.options.other ?? "";
6134
+ return H(f, l.name, d);
5357
6135
  }
5358
6136
  case "select": {
5359
- if (!l.options) return i;
6137
+ if (!l.options)
6138
+ return i;
5360
6139
  const m = l.options[String(d)] ?? l.options.other ?? "";
5361
- return B(m, l.name, d);
6140
+ return H(m, l.name, d);
5362
6141
  }
5363
6142
  default:
5364
6143
  return i;
5365
6144
  }
5366
6145
  });
5367
6146
  }
5368
- function Ua(e, a = "en") {
5369
- return function(o, r, n) {
5370
- const i = e[o] ?? r;
5371
- return n ? Ge(i, n, { lang: a }) : i;
6147
+ function $o(e, o = "en") {
6148
+ return function(a, n, r) {
6149
+ const i = e[a] ?? n;
6150
+ return r ? oo(i, r, { lang: o }) : i;
5372
6151
  };
5373
6152
  }
5374
- function Wa(e, a, t = "en") {
5375
- const o = ee(e, t);
5376
- return (a[o] ?? a.other).replace(/#/g, String(e));
6153
+ function Jo(e, o, t = "en") {
6154
+ const a = ee(e, t);
6155
+ return (o[a] ?? o.other).replace(/#/g, String(e));
5377
6156
  }
5378
- function Ba(e, a, t = "en") {
5379
- const o = ae(e, t);
5380
- return (a[o] ?? a.other).replace(/#/g, String(e));
6157
+ function _o(e, o, t = "en") {
6158
+ const a = oe(e, t);
6159
+ return (o[a] ?? o.other).replace(/#/g, String(e));
5381
6160
  }
5382
- function Ka(e, a) {
5383
- return a[e] ?? a.other;
6161
+ function Yo(e, o) {
6162
+ return o[e] ?? o.other;
5384
6163
  }
5385
- const $e = [
6164
+ const ao = [
5386
6165
  "ar",
5387
6166
  // Arabic
5388
6167
  "he",
@@ -5396,28 +6175,29 @@ const $e = [
5396
6175
  "ps"
5397
6176
  // Pashto
5398
6177
  ];
5399
- function oe(e) {
5400
- return $e.includes(e);
6178
+ function ae(e) {
6179
+ return ao.includes(e);
5401
6180
  }
5402
- function Je(e) {
5403
- return oe(e) ? "rtl" : "ltr";
6181
+ function to(e) {
6182
+ return ae(e) ? "rtl" : "ltr";
5404
6183
  }
5405
- function _e(e) {
5406
- if (typeof document > "u") return;
5407
- const a = Je(e);
5408
- document.documentElement.setAttribute("dir", a), document.documentElement.setAttribute("lang", e);
6184
+ function no(e) {
6185
+ if (typeof document > "u")
6186
+ return;
6187
+ const o = to(e);
6188
+ document.documentElement.setAttribute("dir", o), document.documentElement.setAttribute("lang", e);
5409
6189
  }
5410
- function Za() {
6190
+ function Qo() {
5411
6191
  return typeof document > "u" ? "ltr" : document.documentElement.getAttribute("dir") || "ltr";
5412
6192
  }
5413
- function Ye(e, a) {
5414
- return a ? e.rtl : e.ltr;
6193
+ function ro(e, o) {
6194
+ return o ? e.rtl : e.ltr;
5415
6195
  }
5416
- function qa(e) {
6196
+ function Xo(e) {
5417
6197
  return e === "left" ? "right" : "left";
5418
6198
  }
5419
- function Qe(e, a) {
5420
- return a && {
6199
+ function io(e, o) {
6200
+ return o && {
5421
6201
  left: "right",
5422
6202
  right: "left",
5423
6203
  start: "end",
@@ -5426,7 +6206,7 @@ function Qe(e, a) {
5426
6206
  "flex-end": "flex-start"
5427
6207
  }[e] || e;
5428
6208
  }
5429
- function Xe(e) {
6209
+ function so(e) {
5430
6210
  return {
5431
6211
  // Margins
5432
6212
  "margin-left": "margin-inline-start",
@@ -5456,36 +6236,39 @@ function Xe(e) {
5456
6236
  "text-align: right": "text-align: end"
5457
6237
  }[e] || e;
5458
6238
  }
5459
- const V = U({
6239
+ const q = I({
5460
6240
  dir: "ltr",
5461
6241
  isRTL: !1,
5462
6242
  flip: (e) => e,
5463
6243
  value: (e) => e.ltr
5464
- }), Ha = ({
6244
+ }), ea = ({
5465
6245
  lang: e,
5466
- autoSetDocument: a = !0,
6246
+ autoSetDocument: o = !0,
5467
6247
  children: t
5468
6248
  }) => {
5469
- const o = oe(e), r = o ? "rtl" : "ltr";
5470
- I(() => {
5471
- a && _e(e);
5472
- }, [e, a]);
5473
- const n = v(() => ({
5474
- dir: r,
5475
- isRTL: o,
5476
- flip: (i) => Qe(i, o),
5477
- value: (i) => Ye(i, o)
5478
- }), [r, o]);
5479
- return /* @__PURE__ */ O(V.Provider, { value: n, children: t });
6249
+ const a = ae(e), n = a ? "rtl" : "ltr";
6250
+ L(() => {
6251
+ o && no(e);
6252
+ }, [e, o]);
6253
+ const r = w(
6254
+ () => ({
6255
+ dir: n,
6256
+ isRTL: a,
6257
+ flip: (i) => io(i, a),
6258
+ value: (i) => ro(i, a)
6259
+ }),
6260
+ [n, a]
6261
+ );
6262
+ return /* @__PURE__ */ B(q.Provider, { value: r, children: t });
5480
6263
  };
5481
- function Va() {
5482
- return F(V);
6264
+ function oa() {
6265
+ return N(q);
5483
6266
  }
5484
- function Ga() {
5485
- return F(V).isRTL;
6267
+ function aa() {
6268
+ return N(q).isRTL;
5486
6269
  }
5487
- function $a(e) {
5488
- const a = [], t = [
6270
+ function ta(e) {
6271
+ const o = [], t = [
5489
6272
  "left",
5490
6273
  "right",
5491
6274
  "margin-left",
@@ -5495,9 +6278,9 @@ function $a(e) {
5495
6278
  "border-left",
5496
6279
  "border-right"
5497
6280
  ];
5498
- for (const [o, r] of Object.entries(e))
5499
- t.includes(o) && a.push(`Use logical property instead of '${o}' → '${Xe(o)}'`), o === "text-align" && (r === "left" || r === "right") && a.push(`Use 'text-align: start/end' instead of 'text-align: ${r}'`), o === "float" && (r === "left" || r === "right") && a.push(`Use flexbox or grid instead of 'float: ${r}' for RTL support`);
5500
- return a;
6281
+ for (const [a, n] of Object.entries(e))
6282
+ t.includes(a) && o.push(`Use logical property instead of '${a}' → '${so(a)}'`), a === "text-align" && (n === "left" || n === "right") && o.push(`Use 'text-align: start/end' instead of 'text-align: ${n}'`), a === "float" && (n === "left" || n === "right") && o.push(`Use flexbox or grid instead of 'float: ${n}' for RTL support`);
6283
+ return o;
5501
6284
  }
5502
6285
  const K = {
5503
6286
  // Direction multiplier: 1 for LTR, -1 for RTL
@@ -5507,40 +6290,41 @@ const K = {
5507
6290
  // Inline end (right in LTR, left in RTL)
5508
6291
  inlineEnd: "--nice-inline-end"
5509
6292
  };
5510
- function Ja(e) {
6293
+ function na(e) {
5511
6294
  return {
5512
6295
  [K.dirMultiplier]: e ? "-1" : "1",
5513
6296
  [K.inlineStart]: e ? "right" : "left",
5514
6297
  [K.inlineEnd]: e ? "left" : "right"
5515
6298
  };
5516
6299
  }
5517
- function _a() {
5518
- return Object.keys(b.en);
6300
+ function ra() {
6301
+ return Object.keys(v.en);
5519
6302
  }
5520
- function ea(e) {
5521
- if (e === "en") return [];
5522
- const a = b.en, t = b[e], o = [];
5523
- for (const [r, n] of Object.entries(a))
5524
- t[r] || o.push({ key: r, englishValue: n });
5525
- return o;
6303
+ function lo(e) {
6304
+ if (e === "en")
6305
+ return [];
6306
+ const o = v.en, t = v[e], a = [];
6307
+ for (const [n, r] of Object.entries(o))
6308
+ t[n] || a.push({ key: n, englishValue: r });
6309
+ return a;
5526
6310
  }
5527
- function aa(e) {
5528
- const a = Object.keys(b.en).length, t = Object.keys(b[e]).length, o = a - t, r = Math.round(t / a * 100);
6311
+ function co(e) {
6312
+ const o = Object.keys(v.en).length, t = Object.keys(v[e]).length, a = o - t, n = Math.round(t / o * 100);
5529
6313
  return {
5530
6314
  lang: e,
5531
- totalKeys: a,
6315
+ totalKeys: o,
5532
6316
  translatedKeys: t,
5533
- missingKeys: o,
5534
- coverage: r
6317
+ missingKeys: a,
6318
+ coverage: n
5535
6319
  };
5536
6320
  }
5537
- function oa() {
5538
- return j.map((e) => aa(e));
6321
+ function mo() {
6322
+ return j.map((e) => co(e));
5539
6323
  }
5540
- function Ya(e, a) {
5541
- const t = a.map((o) => {
5542
- const r = o.translated.replace(/'/g, "\\'");
5543
- return ` '${o.key}': '${r}',`;
6324
+ function ia(e, o) {
6325
+ const t = o.map((a) => {
6326
+ const n = a.translated.replace(/'/g, "\\'");
6327
+ return ` '${a.key}': '${n}',`;
5544
6328
  });
5545
6329
  return `// Auto-translated additions for ${e} (review before merging)
5546
6330
  // Generated on ${(/* @__PURE__ */ new Date()).toISOString()}
@@ -5549,9 +6333,9 @@ ${t.join(`
5549
6333
  `)}
5550
6334
  }`;
5551
6335
  }
5552
- function Qa() {
5553
- const e = oa();
5554
- let a = `# Translation Coverage Report
6336
+ function sa() {
6337
+ const e = mo();
6338
+ let o = `# Translation Coverage Report
5555
6339
 
5556
6340
  Generated: ${(/* @__PURE__ */ new Date()).toISOString()}
5557
6341
 
@@ -5561,28 +6345,28 @@ Generated: ${(/* @__PURE__ */ new Date()).toISOString()}
5561
6345
  |----------|------------|---------|----------|
5562
6346
  `;
5563
6347
  for (const t of e) {
5564
- const o = "█".repeat(Math.floor(t.coverage / 10)) + "░".repeat(10 - Math.floor(t.coverage / 10));
5565
- a += `| ${t.lang} | ${t.translatedKeys} | ${t.missingKeys} | ${o} ${t.coverage}% |
6348
+ const a = "█".repeat(Math.floor(t.coverage / 10)) + "░".repeat(10 - Math.floor(t.coverage / 10));
6349
+ o += `| ${t.lang} | ${t.translatedKeys} | ${t.missingKeys} | ${a} ${t.coverage}% |
5566
6350
  `;
5567
6351
  }
5568
- a += `
6352
+ o += `
5569
6353
  ## Languages with Missing Translations
5570
6354
 
5571
6355
  `;
5572
- for (const t of e.filter((o) => o.missingKeys > 0)) {
5573
- a += `### ${t.lang.toUpperCase()} (${t.coverage}% complete)
6356
+ for (const t of e.filter((a) => a.missingKeys > 0)) {
6357
+ o += `### ${t.lang.toUpperCase()} (${t.coverage}% complete)
5574
6358
 
5575
6359
  `;
5576
- const o = ea(t.lang);
5577
- a += `Missing ${o.length} keys:
6360
+ const a = lo(t.lang);
6361
+ o += `Missing ${a.length} keys:
5578
6362
 
5579
- `, a += "```\n", a += o.slice(0, 10).map((r) => r.key).join(`
5580
- `), o.length > 10 && (a += `
5581
- ... and ${o.length - 10} more`), a += "\n```\n\n";
6363
+ `, o += "```\n", o += a.slice(0, 10).map((n) => n.key).join(`
6364
+ `), a.length > 10 && (o += `
6365
+ ... and ${a.length - 10} more`), o += "\n```\n\n";
5582
6366
  }
5583
- return a;
6367
+ return o;
5584
6368
  }
5585
- const ta = {
6369
+ const uo = {
5586
6370
  en: "en-US",
5587
6371
  pl: "pl-PL",
5588
6372
  de: "de-DE",
@@ -5604,114 +6388,266 @@ const ta = {
5604
6388
  ja: "ja-JP",
5605
6389
  ko: "ko-KR",
5606
6390
  zh: "zh-CN",
5607
- ar: "ar-SA"
6391
+ ar: "ar-SA",
6392
+ hi: "hi-IN",
6393
+ bn: "bn-BD",
6394
+ th: "th-TH",
6395
+ vi: "vi-VN",
6396
+ id: "id-ID",
6397
+ sw: "sw-KE",
6398
+ fil: "fil-PH",
6399
+ ms: "ms-MY"
5608
6400
  };
5609
- function A(e) {
5610
- return ta[e] ?? "en-US";
6401
+ function D(e) {
6402
+ return uo[e] ?? "en-US";
5611
6403
  }
5612
- function ra(e, a = "medium") {
5613
- const t = A(e), o = new Intl.DateTimeFormat(t, { dateStyle: a });
6404
+ function po(e, o = "medium") {
6405
+ const t = D(e), a = new Intl.DateTimeFormat(t, { dateStyle: o });
5614
6406
  return {
5615
- format: (r) => o.format(r instanceof Date ? r : new Date(r)),
5616
- formatRange: (r, n) => {
5617
- const i = r instanceof Date ? r : new Date(r), s = n instanceof Date ? n : new Date(n);
5618
- return o.formatRange(i, s);
6407
+ format: (n) => a.format(n instanceof Date ? n : new Date(n)),
6408
+ formatRange: (n, r) => {
6409
+ const i = n instanceof Date ? n : new Date(n), s = r instanceof Date ? r : new Date(r);
6410
+ return a.formatRange(i, s);
5619
6411
  },
5620
- formatRelative: (r) => la(r instanceof Date ? r : new Date(r), t)
6412
+ formatRelative: (n) => ko(n instanceof Date ? n : new Date(n), t)
5621
6413
  };
5622
6414
  }
5623
- function Xa(e, a = "medium") {
5624
- return v(() => ra(e, a), [e, a]);
6415
+ function la(e, o = "medium") {
6416
+ return w(() => po(e, o), [e, o]);
5625
6417
  }
5626
- function na(e, a = "short") {
5627
- const t = A(e), o = new Intl.DateTimeFormat(t, { timeStyle: a });
6418
+ function go(e, o = "short") {
6419
+ const t = D(e), a = new Intl.DateTimeFormat(t, { timeStyle: o });
5628
6420
  return {
5629
- format: (r) => o.format(r instanceof Date ? r : new Date(r))
6421
+ format: (n) => a.format(n instanceof Date ? n : new Date(n))
5630
6422
  };
5631
6423
  }
5632
- function eo(e, a = "short") {
5633
- return v(() => na(e, a), [e, a]);
6424
+ function da(e, o = "short") {
6425
+ return w(() => go(e, o), [e, o]);
5634
6426
  }
5635
- function ia(e) {
5636
- const a = A(e);
6427
+ function ho(e) {
6428
+ const o = D(e);
5637
6429
  return {
5638
- format: (t) => new Intl.NumberFormat(a).format(t),
5639
- formatCompact: (t) => new Intl.NumberFormat(a, { notation: "compact" }).format(t),
5640
- formatPercent: (t) => new Intl.NumberFormat(a, { style: "percent", maximumFractionDigits: 1 }).format(t)
6430
+ format: (t) => new Intl.NumberFormat(o).format(t),
6431
+ formatCompact: (t) => new Intl.NumberFormat(o, { notation: "compact" }).format(t),
6432
+ formatPercent: (t) => new Intl.NumberFormat(o, { style: "percent", maximumFractionDigits: 1 }).format(t)
5641
6433
  };
5642
6434
  }
5643
- function ao(e) {
5644
- return v(() => ia(e), [e]);
6435
+ function ca(e) {
6436
+ return w(() => ho(e), [e]);
5645
6437
  }
5646
- function sa(e, a = "USD") {
5647
- const t = A(e), o = new Intl.NumberFormat(t, { style: "currency", currency: a });
6438
+ function fo(e, o = "USD") {
6439
+ const t = D(e), a = new Intl.NumberFormat(t, { style: "currency", currency: o });
5648
6440
  return {
5649
- format: (r) => o.format(r)
6441
+ format: (n) => a.format(n)
5650
6442
  };
5651
6443
  }
5652
- function oo(e, a = "USD") {
5653
- return v(() => sa(e, a), [e, a]);
6444
+ function ma(e, o = "USD") {
6445
+ return w(() => fo(e, o), [e, o]);
5654
6446
  }
5655
- function la(e, a) {
5656
- const t = Date.now(), o = e.getTime() - t, r = Math.abs(o), n = new Intl.RelativeTimeFormat(a, { numeric: "auto" });
5657
- return r < 6e4 ? n.format(Math.round(o / 1e3), "second") : r < 36e5 ? n.format(Math.round(o / 6e4), "minute") : r < 864e5 ? n.format(Math.round(o / 36e5), "hour") : r < 2592e6 ? n.format(Math.round(o / 864e5), "day") : r < 31536e6 ? n.format(Math.round(o / 2592e6), "month") : n.format(Math.round(o / 31536e6), "year");
6447
+ function ko(e, o) {
6448
+ const t = Date.now(), a = e.getTime() - t, n = Math.abs(a), r = new Intl.RelativeTimeFormat(o, { numeric: "auto" });
6449
+ return n < 6e4 ? r.format(Math.round(a / 1e3), "second") : n < 36e5 ? r.format(Math.round(a / 6e4), "minute") : n < 864e5 ? r.format(Math.round(a / 36e5), "hour") : n < 2592e6 ? r.format(Math.round(a / 864e5), "day") : n < 31536e6 ? r.format(Math.round(a / 2592e6), "month") : r.format(Math.round(a / 31536e6), "year");
5658
6450
  }
5659
6451
  const te = [
5660
- { en: "Save", translations: { pl: "Zapisz", de: "Speichern", fr: "Enregistrer", es: "Guardar", uk: "Зберегти", cs: "Uložit", ja: "保存", ko: "저장", zh: "保存", ar: "حفظ" } },
5661
- { en: "Cancel", translations: { pl: "Anuluj", de: "Abbrechen", fr: "Annuler", es: "Cancelar", uk: "Скасувати", cs: "Zrušit", ja: "キャンセル", ko: "취소", zh: "取消", ar: "إلغاء" } },
5662
- { en: "Delete", translations: { pl: "Usuń", de: "Löschen", fr: "Supprimer", es: "Eliminar", uk: "Видалити", cs: "Smazat", ja: "削除", ko: "삭제", zh: "删除", ar: "حذف" } },
5663
- { en: "Edit", translations: { pl: "Edytuj", de: "Bearbeiten", fr: "Modifier", es: "Editar", uk: "Редагувати", cs: "Upravit", ja: "編集", ko: "편집", zh: "编辑", ar: "تعديل" } },
5664
- { en: "Add", translations: { pl: "Dodaj", de: "Hinzufügen", fr: "Ajouter", es: "Añadir", uk: "Додати", cs: "Přidat", ja: "追加", ko: "추가", zh: "添加", ar: "إضافة" } },
5665
- { en: "Search", translations: { pl: "Szukaj", de: "Suchen", fr: "Rechercher", es: "Buscar", uk: "Шукати", cs: "Hledat", ja: "検索", ko: "검색", zh: "搜索", ar: "بحث" } },
5666
- { en: "Settings", translations: { pl: "Ustawienia", de: "Einstellungen", fr: "Paramètres", es: "Configuración", uk: "Налаштування", cs: "Nastavení", ja: "設定", ko: "설정", zh: "设置", ar: "إعدادات" } },
5667
- { en: "Loading", translations: { pl: "Ładowanie", de: "Laden", fr: "Chargement", es: "Cargando", uk: "Завантаження", cs: "Načítání", ja: "読み込み中", ko: "로딩 중", zh: "加载中", ar: "جاري التحميل" } },
5668
- { en: "Error", translations: { pl: "Błąd", de: "Fehler", fr: "Erreur", es: "Error", uk: "Помилка", cs: "Chyba", ja: "エラー", ko: "오류", zh: "错误", ar: "خطأ" } },
5669
- { en: "Success", translations: { pl: "Sukces", de: "Erfolg", fr: "Succès", es: "Éxito", uk: "Успіх", cs: "Úspěch", ja: "成功", ko: "성공", zh: "成功", ar: "نجاح" } }
6452
+ {
6453
+ en: "Save",
6454
+ translations: {
6455
+ pl: "Zapisz",
6456
+ de: "Speichern",
6457
+ fr: "Enregistrer",
6458
+ es: "Guardar",
6459
+ uk: "Зберегти",
6460
+ cs: "Uložit",
6461
+ ja: "保存",
6462
+ ko: "저장",
6463
+ zh: "保存",
6464
+ ar: "حفظ"
6465
+ }
6466
+ },
6467
+ {
6468
+ en: "Cancel",
6469
+ translations: {
6470
+ pl: "Anuluj",
6471
+ de: "Abbrechen",
6472
+ fr: "Annuler",
6473
+ es: "Cancelar",
6474
+ uk: "Скасувати",
6475
+ cs: "Zrušit",
6476
+ ja: "キャンセル",
6477
+ ko: "취소",
6478
+ zh: "取消",
6479
+ ar: "إلغاء"
6480
+ }
6481
+ },
6482
+ {
6483
+ en: "Delete",
6484
+ translations: {
6485
+ pl: "Usuń",
6486
+ de: "Löschen",
6487
+ fr: "Supprimer",
6488
+ es: "Eliminar",
6489
+ uk: "Видалити",
6490
+ cs: "Smazat",
6491
+ ja: "削除",
6492
+ ko: "삭제",
6493
+ zh: "删除",
6494
+ ar: "حذف"
6495
+ }
6496
+ },
6497
+ {
6498
+ en: "Edit",
6499
+ translations: {
6500
+ pl: "Edytuj",
6501
+ de: "Bearbeiten",
6502
+ fr: "Modifier",
6503
+ es: "Editar",
6504
+ uk: "Редагувати",
6505
+ cs: "Upravit",
6506
+ ja: "編集",
6507
+ ko: "편집",
6508
+ zh: "编辑",
6509
+ ar: "تعديل"
6510
+ }
6511
+ },
6512
+ {
6513
+ en: "Add",
6514
+ translations: {
6515
+ pl: "Dodaj",
6516
+ de: "Hinzufügen",
6517
+ fr: "Ajouter",
6518
+ es: "Añadir",
6519
+ uk: "Додати",
6520
+ cs: "Přidat",
6521
+ ja: "追加",
6522
+ ko: "추가",
6523
+ zh: "添加",
6524
+ ar: "إضافة"
6525
+ }
6526
+ },
6527
+ {
6528
+ en: "Search",
6529
+ translations: {
6530
+ pl: "Szukaj",
6531
+ de: "Suchen",
6532
+ fr: "Rechercher",
6533
+ es: "Buscar",
6534
+ uk: "Шукати",
6535
+ cs: "Hledat",
6536
+ ja: "検索",
6537
+ ko: "검색",
6538
+ zh: "搜索",
6539
+ ar: "بحث"
6540
+ }
6541
+ },
6542
+ {
6543
+ en: "Settings",
6544
+ translations: {
6545
+ pl: "Ustawienia",
6546
+ de: "Einstellungen",
6547
+ fr: "Paramètres",
6548
+ es: "Configuración",
6549
+ uk: "Налаштування",
6550
+ cs: "Nastavení",
6551
+ ja: "設定",
6552
+ ko: "설정",
6553
+ zh: "设置",
6554
+ ar: "إعدادات"
6555
+ }
6556
+ },
6557
+ {
6558
+ en: "Loading",
6559
+ translations: {
6560
+ pl: "Ładowanie",
6561
+ de: "Laden",
6562
+ fr: "Chargement",
6563
+ es: "Cargando",
6564
+ uk: "Завантаження",
6565
+ cs: "Načítání",
6566
+ ja: "読み込み中",
6567
+ ko: "로딩 중",
6568
+ zh: "加载中",
6569
+ ar: "جاري التحميل"
6570
+ }
6571
+ },
6572
+ {
6573
+ en: "Error",
6574
+ translations: {
6575
+ pl: "Błąd",
6576
+ de: "Fehler",
6577
+ fr: "Erreur",
6578
+ es: "Error",
6579
+ uk: "Помилка",
6580
+ cs: "Chyba",
6581
+ ja: "エラー",
6582
+ ko: "오류",
6583
+ zh: "错误",
6584
+ ar: "خطأ"
6585
+ }
6586
+ },
6587
+ {
6588
+ en: "Success",
6589
+ translations: {
6590
+ pl: "Sukces",
6591
+ de: "Erfolg",
6592
+ fr: "Succès",
6593
+ es: "Éxito",
6594
+ uk: "Успіх",
6595
+ cs: "Úspěch",
6596
+ ja: "成功",
6597
+ ko: "성공",
6598
+ zh: "成功",
6599
+ ar: "نجاح"
6600
+ }
6601
+ }
5670
6602
  ];
5671
- function da(e, a) {
5672
- const t = te.find(
5673
- (o) => o.en.toLowerCase() === e.toLowerCase()
5674
- );
5675
- return t == null ? void 0 : t.translations[a];
6603
+ function wo(e, o) {
6604
+ const t = te.find((a) => a.en.toLowerCase() === e.toLowerCase());
6605
+ return t == null ? void 0 : t.translations[o];
5676
6606
  }
5677
- function to(e, a, t = 0.8) {
5678
- const o = b.en, r = b[a], n = e.toLowerCase().trim();
6607
+ function ua(e, o, t = 0.8) {
6608
+ const a = v.en, n = v[o], r = e.toLowerCase().trim();
5679
6609
  let i;
5680
- for (const [s, l] of Object.entries(o)) {
5681
- const d = r[s];
5682
- if (!d) continue;
5683
- const m = ca(n, l.toLowerCase().trim());
6610
+ for (const [s, l] of Object.entries(a)) {
6611
+ const d = n[s];
6612
+ if (!d)
6613
+ continue;
6614
+ const m = vo(r, l.toLowerCase().trim());
5684
6615
  m >= t && (!i || m > i.similarity) && (i = { key: s, english: l, translated: d, similarity: m });
5685
6616
  }
5686
6617
  return i;
5687
6618
  }
5688
- function ro(e) {
5689
- return te.filter((a) => a.translations[e] != null).map((a) => ({ en: a.en, translation: a.translations[e] }));
6619
+ function pa(e) {
6620
+ return te.filter((o) => o.translations[e] != null).map((o) => ({
6621
+ en: o.en,
6622
+ translation: o.translations[e]
6623
+ }));
5690
6624
  }
5691
- function no(e) {
5692
- const a = b[e], t = b.en, o = [];
5693
- for (const [r, n] of Object.entries(t)) {
5694
- const i = da(n, e), s = a[r];
5695
- i && s && s !== i && o.push({ key: r, currentTranslation: s, glossaryTranslation: i });
6625
+ function ga(e) {
6626
+ const o = v[e], t = v.en, a = [];
6627
+ for (const [n, r] of Object.entries(t)) {
6628
+ const i = wo(r, e), s = o[n];
6629
+ i && s && s !== i && a.push({ key: n, currentTranslation: s, glossaryTranslation: i });
5696
6630
  }
5697
- return o;
6631
+ return a;
5698
6632
  }
5699
6633
  function J(e) {
5700
- const a = /* @__PURE__ */ new Set();
6634
+ const o = /* @__PURE__ */ new Set();
5701
6635
  for (let t = 0; t < e.length - 1; t++)
5702
- a.add(e.substring(t, t + 2));
5703
- return a;
6636
+ o.add(e.substring(t, t + 2));
6637
+ return o;
5704
6638
  }
5705
- function ca(e, a) {
5706
- if (e === a) return 1;
5707
- if (e.length < 2 || a.length < 2) return 0;
5708
- const t = J(e), o = J(a);
5709
- let r = 0;
5710
- for (const n of t)
5711
- o.has(n) && r++;
5712
- return 2 * r / (t.size + o.size);
6639
+ function vo(e, o) {
6640
+ if (e === o)
6641
+ return 1;
6642
+ if (e.length < 2 || o.length < 2)
6643
+ return 0;
6644
+ const t = J(e), a = J(o);
6645
+ let n = 0;
6646
+ for (const r of t)
6647
+ a.has(r) && n++;
6648
+ return 2 * n / (t.size + a.size);
5713
6649
  }
5714
- const re = {
6650
+ const ne = {
5715
6651
  UTC: ["UTC", "Etc/UTC", "Etc/GMT"],
5716
6652
  NorthAmerica: [
5717
6653
  "America/New_York",
@@ -5779,119 +6715,117 @@ function G() {
5779
6715
  return "UTC";
5780
6716
  }
5781
6717
  }
5782
- function io(e) {
6718
+ function ha(e) {
5783
6719
  try {
5784
6720
  return new Intl.DateTimeFormat("en", { timeZone: e }), !0;
5785
6721
  } catch {
5786
6722
  return !1;
5787
6723
  }
5788
6724
  }
5789
- function L(e, a = "en", t = /* @__PURE__ */ new Date()) {
5790
- var w, R;
5791
- const o = A(a), r = new Intl.DateTimeFormat(o, {
6725
+ function F(e, o = "en", t = /* @__PURE__ */ new Date()) {
6726
+ var b, M;
6727
+ const a = D(o), n = new Intl.DateTimeFormat(a, {
5792
6728
  timeZone: e,
5793
6729
  timeZoneName: "long"
5794
- }), n = new Intl.DateTimeFormat(o, {
6730
+ }), r = new Intl.DateTimeFormat(a, {
5795
6731
  timeZone: e,
5796
6732
  timeZoneName: "short"
5797
- }), i = r.formatToParts(t), s = n.formatToParts(t), l = ((w = i.find((D) => D.type === "timeZoneName")) == null ? void 0 : w.value) || e, d = ((R = s.find((D) => D.type === "timeZoneName")) == null ? void 0 : R.value) || e, m = new Date(t.toLocaleString("en-US", { timeZone: "UTC" })), f = new Date(t.toLocaleString("en-US", { timeZone: e })), u = Math.round((f.getTime() - m.getTime()) / 6e4), g = new Date(t.getFullYear(), 0, 1), k = new Date(t.getFullYear(), 6, 1), p = q(e, g), E = q(e, k), z = q(e, t), y = Math.min(p, E), C = z !== y && p !== E;
6733
+ }), i = n.formatToParts(t), s = r.formatToParts(t), l = ((b = i.find((x) => x.type === "timeZoneName")) == null ? void 0 : b.value) || e, d = ((M = s.find((x) => x.type === "timeZoneName")) == null ? void 0 : M.value) || e, m = new Date(t.toLocaleString("en-US", { timeZone: "UTC" })), f = new Date(t.toLocaleString("en-US", { timeZone: e })), u = Math.round((f.getTime() - m.getTime()) / 6e4), p = new Date(t.getFullYear(), 0, 1), k = new Date(t.getFullYear(), 6, 1), g = W(e, p), y = W(e, k), E = W(e, t), C = Math.min(g, y), A = E !== C && g !== y;
5798
6734
  return {
5799
6735
  id: e,
5800
6736
  displayName: l,
5801
6737
  shortName: d,
5802
6738
  offsetMinutes: u,
5803
- offsetString: pa(u),
5804
- isDST: C
6739
+ offsetString: Eo(u),
6740
+ isDST: A
5805
6741
  };
5806
6742
  }
5807
- function so(e = "en", a = /* @__PURE__ */ new Date()) {
5808
- return Object.values(re).flat().map((o) => L(o, e, a));
6743
+ function fa(e = "en", o = /* @__PURE__ */ new Date()) {
6744
+ return Object.values(ne).flat().map((a) => F(a, e, o));
5809
6745
  }
5810
- function lo(e = "en", a = /* @__PURE__ */ new Date()) {
6746
+ function ka(e = "en", o = /* @__PURE__ */ new Date()) {
5811
6747
  const t = {};
5812
- for (const [o, r] of Object.entries(re))
5813
- t[o] = r.map((n) => L(n, e, a));
6748
+ for (const [a, n] of Object.entries(ne))
6749
+ t[a] = n.map((r) => F(r, e, o));
5814
6750
  return t;
5815
6751
  }
5816
- function ne(e, a, t) {
5817
- const o = e.toLocaleString("en-US", { timeZone: a }), r = new Date(o), n = e.toLocaleString("en-US", { timeZone: t }), i = new Date(n), s = r.getTime() - i.getTime();
6752
+ function re(e, o, t) {
6753
+ const a = e.toLocaleString("en-US", { timeZone: o }), n = new Date(a), r = e.toLocaleString("en-US", { timeZone: t }), i = new Date(r), s = n.getTime() - i.getTime();
5818
6754
  return new Date(e.getTime() + s);
5819
6755
  }
5820
- function ma(e, a) {
5821
- const t = a || G();
5822
- return ne(e, t, "UTC");
6756
+ function bo(e, o) {
6757
+ const t = o || G();
6758
+ return re(e, t, "UTC");
5823
6759
  }
5824
- function ua(e, a) {
5825
- const t = a || G();
5826
- return ne(e, "UTC", t);
6760
+ function Co(e, o) {
6761
+ const t = o || G();
6762
+ return re(e, "UTC", t);
5827
6763
  }
5828
- function ga(e, a, t = {}) {
5829
- const o = A(e), { dateStyle: r = "medium", timeStyle: n = "short", nameStyle: i = "short" } = t, s = new Intl.DateTimeFormat(o, {
5830
- timeZone: a,
5831
- dateStyle: r,
5832
- timeStyle: n
5833
- }), l = new Intl.DateTimeFormat(o, {
5834
- timeZone: a,
5835
- dateStyle: r,
5836
- timeStyle: n,
6764
+ function yo(e, o, t = {}) {
6765
+ const a = D(e), { dateStyle: n = "medium", timeStyle: r = "short", nameStyle: i = "short" } = t, s = new Intl.DateTimeFormat(a, {
6766
+ timeZone: o,
6767
+ dateStyle: n,
6768
+ timeStyle: r
6769
+ }), l = new Intl.DateTimeFormat(a, {
6770
+ timeZone: o,
6771
+ dateStyle: n,
6772
+ timeStyle: r,
5837
6773
  timeZoneName: i
5838
- }), d = new Intl.DateTimeFormat(o, {
5839
- timeZone: a,
6774
+ }), d = new Intl.DateTimeFormat(a, {
6775
+ timeZone: o,
5840
6776
  timeZoneName: "short"
5841
6777
  });
5842
6778
  return {
5843
6779
  format: (m) => s.format(m),
5844
6780
  formatWithZone: (m) => l.format(m),
5845
- getOffset: (m) => L(a, e, m).offsetString,
6781
+ getOffset: (m) => F(o, e, m).offsetString,
5846
6782
  getAbbreviation: (m) => {
5847
6783
  var u;
5848
- return ((u = d.formatToParts(m).find((g) => g.type === "timeZoneName")) == null ? void 0 : u.value) || "";
6784
+ return ((u = d.formatToParts(m).find((p) => p.type === "timeZoneName")) == null ? void 0 : u.value) || "";
5849
6785
  }
5850
6786
  };
5851
6787
  }
5852
- function Z(e, a = /* @__PURE__ */ new Date()) {
5853
- return L(e, "en", a).isDST;
6788
+ function V(e, o = /* @__PURE__ */ new Date()) {
6789
+ return F(e, "en", o).isDST;
5854
6790
  }
5855
- function co(e, a = /* @__PURE__ */ new Date()) {
5856
- const t = Z(e, a);
5857
- let o = new Date(a);
5858
- const r = new Date(a);
5859
- for (r.setFullYear(r.getFullYear() + 1); o < r; )
5860
- if (o.setDate(o.getDate() + 1), Z(e, o) !== t) {
5861
- o.setDate(o.getDate() - 1);
5862
- const n = new Date(o);
5863
- n.setHours(0, 0, 0, 0);
5864
- const i = new Date(o);
5865
- for (i.setDate(i.getDate() + 2); i.getTime() - n.getTime() > 6e4; ) {
5866
- const s = new Date((n.getTime() + i.getTime()) / 2);
5867
- Z(e, s) === t ? n.setTime(s.getTime()) : i.setTime(s.getTime());
6791
+ function wa(e, o = /* @__PURE__ */ new Date()) {
6792
+ const t = V(e, o), a = new Date(o), n = new Date(o);
6793
+ for (n.setFullYear(n.getFullYear() + 1); a < n; )
6794
+ if (a.setDate(a.getDate() + 1), V(e, a) !== t) {
6795
+ a.setDate(a.getDate() - 1);
6796
+ const r = new Date(a);
6797
+ r.setHours(0, 0, 0, 0);
6798
+ const i = new Date(a);
6799
+ for (i.setDate(i.getDate() + 2); i.getTime() - r.getTime() > 6e4; ) {
6800
+ const s = new Date((r.getTime() + i.getTime()) / 2);
6801
+ V(e, s) === t ? r.setTime(s.getTime()) : i.setTime(s.getTime());
5868
6802
  }
5869
6803
  return i;
5870
6804
  }
5871
6805
  return null;
5872
6806
  }
5873
- function mo(e, a, t) {
5874
- const [o] = P(() => G()), r = a || o, n = v(() => ga(e, r, t), [e, r, t]), i = v(() => L(r, e), [r, e]);
6807
+ function va(e, o, t) {
6808
+ const [a] = P(() => G()), n = o || a, r = w(() => yo(e, n, t), [e, n, t]), i = w(() => F(n, e), [n, e]);
5875
6809
  return {
5876
- timezone: r,
6810
+ timezone: n,
5877
6811
  info: i,
5878
- format: n.format,
5879
- formatWithZone: n.formatWithZone,
5880
- getOffset: n.getOffset,
5881
- getAbbreviation: n.getAbbreviation,
5882
- toUTC: (s) => ma(s, r),
5883
- fromUTC: (s) => ua(s, r)
6812
+ format: r.format,
6813
+ formatWithZone: r.formatWithZone,
6814
+ getOffset: r.getOffset,
6815
+ getAbbreviation: r.getAbbreviation,
6816
+ toUTC: (s) => bo(s, n),
6817
+ fromUTC: (s) => Co(s, n)
5884
6818
  };
5885
6819
  }
5886
- function q(e, a) {
5887
- const t = a.toLocaleString("en-US", { timeZone: "UTC" }), o = a.toLocaleString("en-US", { timeZone: e }), r = new Date(t), n = new Date(o);
5888
- return Math.round((n.getTime() - r.getTime()) / 6e4);
6820
+ function W(e, o) {
6821
+ const t = o.toLocaleString("en-US", { timeZone: "UTC" }), a = o.toLocaleString("en-US", { timeZone: e }), n = new Date(t), r = new Date(a);
6822
+ return Math.round((r.getTime() - n.getTime()) / 6e4);
5889
6823
  }
5890
- function pa(e) {
5891
- const a = e >= 0 ? "+" : "-", t = Math.abs(e), o = Math.floor(t / 60), r = t % 60;
5892
- return `${a}${o.toString().padStart(2, "0")}:${r.toString().padStart(2, "0")}`;
6824
+ function Eo(e) {
6825
+ const o = e >= 0 ? "+" : "-", t = Math.abs(e), a = Math.floor(t / 60), n = t % 60;
6826
+ return `${o}${a.toString().padStart(2, "0")}:${n.toString().padStart(2, "0")}`;
5893
6827
  }
5894
- const W = {
6828
+ const U = {
5895
6829
  gregory: {
5896
6830
  id: "gregory",
5897
6831
  displayName: "Gregorian",
@@ -6047,72 +6981,80 @@ const W = {
6047
6981
  ja: "japanese",
6048
6982
  ko: "gregory",
6049
6983
  zh: "gregory",
6050
- ar: "islamic"
6984
+ ar: "islamic",
6985
+ hi: "gregory",
6986
+ bn: "gregory",
6987
+ th: "buddhist",
6988
+ vi: "gregory",
6989
+ id: "gregory",
6990
+ sw: "gregory",
6991
+ fil: "gregory",
6992
+ ms: "gregory"
6051
6993
  };
6052
- function se(e, a = "gregory", t = {}) {
6053
- const o = A(e), { dateStyle: r = "medium", showEra: n = !1, showWeekday: i = !1 } = t, s = {
6054
- calendar: a,
6055
- dateStyle: r
6994
+ function se(e, o = "gregory", t = {}) {
6995
+ const a = D(e), { dateStyle: n = "medium", showEra: r = !1, showWeekday: i = !1 } = t, s = {
6996
+ calendar: o,
6997
+ dateStyle: n
6056
6998
  };
6057
6999
  i && (delete s.dateStyle, s.weekday = "long", s.year = "numeric", s.month = "long", s.day = "numeric");
6058
- const l = new Intl.DateTimeFormat(o, s), d = {
6059
- calendar: a,
7000
+ const l = new Intl.DateTimeFormat(a, s), d = {
7001
+ calendar: o,
6060
7002
  year: "numeric",
6061
7003
  month: "long",
6062
7004
  day: "numeric",
6063
7005
  era: "long"
6064
- }, m = new Intl.DateTimeFormat(o, d), f = new Intl.DateTimeFormat(o, { calendar: a, month: "long" }), u = new Intl.DateTimeFormat(o, { calendar: a, weekday: "long" });
7006
+ }, m = new Intl.DateTimeFormat(a, d), f = new Intl.DateTimeFormat(a, { calendar: o, month: "long" }), u = new Intl.DateTimeFormat(a, { calendar: o, weekday: "long" });
6065
7007
  return {
6066
- format: (g) => l.format(g),
6067
- formatWithEra: (g) => m.format(g),
6068
- getMonthName: (g) => f.format(g),
7008
+ format: (p) => l.format(p),
7009
+ formatWithEra: (p) => m.format(p),
7010
+ getMonthName: (p) => f.format(p),
6069
7011
  getMonthNames: () => {
6070
- const g = [], k = new Date(2024, 0, 15);
6071
- for (let p = 0; p < 12; p++)
6072
- k.setMonth(p), g.push(f.format(k));
6073
- return g;
7012
+ const p = [], k = new Date(2024, 0, 15);
7013
+ for (let g = 0; g < 12; g++)
7014
+ k.setMonth(g), p.push(f.format(k));
7015
+ return p;
6074
7016
  },
6075
- getWeekdayName: (g) => u.format(g),
7017
+ getWeekdayName: (p) => u.format(p),
6076
7018
  getWeekdayNames: () => {
6077
- const g = [], k = new Date(2024, 0, 7);
6078
- for (let p = 0; p < 7; p++)
6079
- k.setDate(7 + p), g.push(u.format(k));
6080
- return g;
7019
+ const p = [], k = new Date(2024, 0, 7);
7020
+ for (let g = 0; g < 7; g++)
7021
+ k.setDate(7 + g), p.push(u.format(k));
7022
+ return p;
6081
7023
  },
6082
- parseParts: (g) => {
6083
- var E, z, y, C;
6084
- const p = new Intl.DateTimeFormat(o, {
6085
- calendar: a,
7024
+ parseParts: (p) => {
7025
+ var y, E, C, A;
7026
+ const g = new Intl.DateTimeFormat(a, {
7027
+ calendar: o,
6086
7028
  year: "numeric",
6087
7029
  month: "numeric",
6088
7030
  day: "numeric",
6089
7031
  era: "short"
6090
- }).formatToParts(g);
7032
+ }).formatToParts(p);
6091
7033
  return {
6092
- calendar: a,
6093
- year: parseInt(((E = p.find((w) => w.type === "year")) == null ? void 0 : E.value) || "0", 10),
6094
- month: parseInt(((z = p.find((w) => w.type === "month")) == null ? void 0 : z.value) || "0", 10),
6095
- day: parseInt(((y = p.find((w) => w.type === "day")) == null ? void 0 : y.value) || "0", 10),
6096
- era: (C = p.find((w) => w.type === "era")) == null ? void 0 : C.value,
6097
- gregorianDate: g
7034
+ calendar: o,
7035
+ year: parseInt(((y = g.find((b) => b.type === "year")) == null ? void 0 : y.value) || "0", 10),
7036
+ month: parseInt(((E = g.find((b) => b.type === "month")) == null ? void 0 : E.value) || "0", 10),
7037
+ day: parseInt(((C = g.find((b) => b.type === "day")) == null ? void 0 : C.value) || "0", 10),
7038
+ era: (A = g.find((b) => b.type === "era")) == null ? void 0 : A.value,
7039
+ gregorianDate: p
6098
7040
  };
6099
7041
  },
6100
- getEraName: (g) => {
6101
- var E;
6102
- return (E = new Intl.DateTimeFormat(o, {
6103
- calendar: a,
7042
+ getEraName: (p) => {
7043
+ var y;
7044
+ return (y = new Intl.DateTimeFormat(a, {
7045
+ calendar: o,
6104
7046
  era: "long"
6105
- }).formatToParts(g).find((z) => z.type === "era")) == null ? void 0 : E.value;
7047
+ }).formatToParts(p).find((E) => E.type === "era")) == null ? void 0 : y.value;
6106
7048
  }
6107
7049
  };
6108
7050
  }
6109
- function le(e, a, t = "en") {
6110
- return se(t, a).parseParts(e);
7051
+ function le(e, o, t = "en") {
7052
+ return se(t, o).parseParts(e);
6111
7053
  }
6112
- function ha(e, a = "en") {
6113
- return le(/* @__PURE__ */ new Date(), e, a);
7054
+ function So(e, o = "en") {
7055
+ return le(/* @__PURE__ */ new Date(), e, o);
6114
7056
  }
6115
- const uo = [
7057
+ const ba = [
6116
7058
  "Muharram",
6117
7059
  "Safar",
6118
7060
  "Rabi' al-Awwal",
@@ -6126,13 +7068,13 @@ const uo = [
6126
7068
  "Dhu al-Qi'dah",
6127
7069
  "Dhu al-Hijjah"
6128
7070
  ];
6129
- function fa(e) {
7071
+ function zo(e) {
6130
7072
  return (11 * e + 14) % 30 < 11;
6131
7073
  }
6132
- function go(e, a) {
6133
- return a === 12 ? fa(e) ? 30 : 29 : a % 2 === 1 ? 30 : 29;
7074
+ function Ca(e, o) {
7075
+ return o === 12 ? zo(e) ? 30 : 29 : o % 2 === 1 ? 30 : 29;
6134
7076
  }
6135
- const po = [
7077
+ const ya = [
6136
7078
  "Tishrei",
6137
7079
  "Cheshvan",
6138
7080
  "Kislev",
@@ -6145,7 +7087,7 @@ const po = [
6145
7087
  "Tammuz",
6146
7088
  "Av",
6147
7089
  "Elul"
6148
- ], ho = [
7090
+ ], Ea = [
6149
7091
  "Tishrei",
6150
7092
  "Cheshvan",
6151
7093
  "Kislev",
@@ -6160,27 +7102,27 @@ const po = [
6160
7102
  "Av",
6161
7103
  "Elul"
6162
7104
  ];
6163
- function fo(e) {
7105
+ function Sa(e) {
6164
7106
  return (7 * e + 1) % 19 < 7;
6165
7107
  }
6166
- const H = [
7108
+ const Z = [
6167
7109
  { name: "Meiji", kanji: "明治", startDate: new Date(1868, 9, 23) },
6168
7110
  { name: "Taisho", kanji: "大正", startDate: new Date(1912, 6, 30) },
6169
7111
  { name: "Showa", kanji: "昭和", startDate: new Date(1926, 11, 25) },
6170
7112
  { name: "Heisei", kanji: "平成", startDate: new Date(1989, 0, 8) },
6171
7113
  { name: "Reiwa", kanji: "令和", startDate: new Date(2019, 4, 1) }
6172
7114
  ];
6173
- function ka(e) {
6174
- for (let a = H.length - 1; a >= 0; a--)
6175
- if (e >= H[a].startDate)
6176
- return H[a];
7115
+ function Do(e) {
7116
+ for (let o = Z.length - 1; o >= 0; o--)
7117
+ if (e >= Z[o].startDate)
7118
+ return Z[o];
6177
7119
  return null;
6178
7120
  }
6179
- function ko(e) {
6180
- const a = ka(e);
6181
- return a ? e.getFullYear() - a.startDate.getFullYear() + 1 : null;
7121
+ function za(e) {
7122
+ const o = Do(e);
7123
+ return o ? e.getFullYear() - o.startDate.getFullYear() + 1 : null;
6182
7124
  }
6183
- const vo = [
7125
+ const Da = [
6184
7126
  "Farvardin",
6185
7127
  "Ordibehesht",
6186
7128
  "Khordad",
@@ -6194,10 +7136,10 @@ const vo = [
6194
7136
  "Bahman",
6195
7137
  "Esfand"
6196
7138
  ];
6197
- function bo(e) {
7139
+ function Aa(e) {
6198
7140
  return ((e - 474) % 2820 + 2820) % 2820 * 682 % 2816 < 682;
6199
7141
  }
6200
- const va = [
7142
+ const Ao = [
6201
7143
  "Rat",
6202
7144
  "Ox",
6203
7145
  "Tiger",
@@ -6211,10 +7153,10 @@ const va = [
6211
7153
  "Dog",
6212
7154
  "Pig"
6213
7155
  ];
6214
- function wo(e) {
6215
- return va[(e - 4) % 12];
7156
+ function xa(e) {
7157
+ return Ao[(e - 4) % 12];
6216
7158
  }
6217
- const ba = [
7159
+ const xo = [
6218
7160
  "Jia",
6219
7161
  "Yi",
6220
7162
  "Bing",
@@ -6226,45 +7168,45 @@ const ba = [
6226
7168
  "Ren",
6227
7169
  "Gui"
6228
7170
  ];
6229
- function yo(e) {
6230
- return ba[(e - 4) % 10];
7171
+ function Ta(e) {
7172
+ return xo[(e - 4) % 10];
6231
7173
  }
6232
- function Eo(e, a, t) {
6233
- const o = a || ie[e], r = v(
6234
- () => se(e, o, t),
6235
- [e, o, t]
6236
- ), n = v(() => W[o], [o]), i = v(() => ha(o, e), [o, e]);
7174
+ function Pa(e, o, t) {
7175
+ const a = o || ie[e], n = w(
7176
+ () => se(e, a, t),
7177
+ [e, a, t]
7178
+ ), r = w(() => U[a], [a]), i = w(() => So(a, e), [a, e]);
6237
7179
  return {
6238
- calendar: o,
6239
- info: n,
7180
+ calendar: a,
7181
+ info: r,
6240
7182
  current: i,
6241
- format: r.format,
6242
- formatWithEra: r.formatWithEra,
6243
- getMonthName: r.getMonthName,
6244
- getMonthNames: r.getMonthNames,
6245
- getWeekdayName: r.getWeekdayName,
6246
- getWeekdayNames: r.getWeekdayNames,
6247
- parseParts: r.parseParts,
6248
- getEraName: r.getEraName,
6249
- toCalendar: (s) => le(s, o, e)
7183
+ format: n.format,
7184
+ formatWithEra: n.formatWithEra,
7185
+ getMonthName: n.getMonthName,
7186
+ getMonthNames: n.getMonthNames,
7187
+ getWeekdayName: n.getWeekdayName,
7188
+ getWeekdayNames: n.getWeekdayNames,
7189
+ parseParts: n.parseParts,
7190
+ getEraName: n.getEraName,
7191
+ toCalendar: (s) => le(s, a, e)
6250
7192
  };
6251
7193
  }
6252
- function zo() {
6253
- return Object.keys(W);
7194
+ function ja() {
7195
+ return Object.keys(U);
6254
7196
  }
6255
- function So(e, a = "en") {
6256
- const t = { ...W[e] };
7197
+ function Na(e, o = "en") {
7198
+ const t = { ...U[e] };
6257
7199
  try {
6258
- const o = A(a), n = new Intl.DisplayNames([o], { type: "calendar" }).of(e);
6259
- n && (t.displayName = n);
7200
+ const a = D(o), r = new Intl.DisplayNames([a], { type: "calendar" }).of(e);
7201
+ r && (t.displayName = r);
6260
7202
  } catch {
6261
7203
  }
6262
7204
  return t;
6263
7205
  }
6264
- function xo(e) {
6265
- const a = ie[e], t = /* @__PURE__ */ new Set([a]);
6266
- for (const [o, r] of Object.entries(W))
6267
- r.associatedLanguages.includes(e) && t.add(o);
7206
+ function Fa(e) {
7207
+ const o = ie[e], t = /* @__PURE__ */ new Set([o]);
7208
+ for (const [a, n] of Object.entries(U))
7209
+ n.associatedLanguages.includes(e) && t.add(a);
6268
7210
  return t.add("gregory"), Array.from(t);
6269
7211
  }
6270
7212
  const $ = {
@@ -6322,7 +7264,7 @@ const $ = {
6322
7264
  X: "Χ",
6323
7265
  Y: "Ÿ",
6324
7266
  Z: "Ž"
6325
- }, wa = {
7267
+ }, To = {
6326
7268
  ...$,
6327
7269
  // Additional mappings
6328
7270
  a: "ặ",
@@ -6337,60 +7279,61 @@ const $ = {
6337
7279
  O: "Ộ",
6338
7280
  U: "Ụ",
6339
7281
  Y: "Ỵ"
6340
- }, ya = "‪", Ea = "‫", _ = "‬", za = "~∼~≈";
6341
- function Ao(e, a = !1) {
6342
- const t = a ? wa : $;
6343
- return e.split("").map((o) => t[o] || o).join("");
7282
+ }, Po = "‪", jo = "‫", _ = "‬", No = "~∼~≈";
7283
+ function Ma(e, o = !1) {
7284
+ const t = o ? To : $;
7285
+ return e.split("").map((a) => t[a] || a).join("");
6344
7286
  }
6345
- function Co(e, a = "[", t = "]") {
6346
- return `${a}${e}${t}`;
7287
+ function Oa(e, o = "[", t = "]") {
7288
+ return `${o}${e}${t}`;
6347
7289
  }
6348
- function Sa(e, a = 0.3, t = !1) {
7290
+ function Fo(e, o = 0.3, t = !1) {
6349
7291
  if (t)
6350
- return xa(e);
6351
- const r = Math.ceil(e.length * (1 + a)) - e.length;
6352
- if (r <= 0) return e;
6353
- const n = za[0].repeat(r);
6354
- return e + n;
7292
+ return Mo(e);
7293
+ const n = Math.ceil(e.length * (1 + o)) - e.length;
7294
+ if (n <= 0)
7295
+ return e;
7296
+ const r = No[0].repeat(n);
7297
+ return e + r;
6355
7298
  }
6356
- function xa(e) {
6357
- const a = /* @__PURE__ */ new Set(["a", "e", "i", "o", "u", "A", "E", "I", "O", "U"]);
6358
- return e.split("").map((t) => a.has(t) ? t + t : t).join("");
7299
+ function Mo(e) {
7300
+ const o = /* @__PURE__ */ new Set(["a", "e", "i", "o", "u", "A", "E", "I", "O", "U"]);
7301
+ return e.split("").map((t) => o.has(t) ? t + t : t).join("");
6359
7302
  }
6360
- function Aa(e, a = !1) {
6361
- return a ? `${Ea}${e}${_}` : `${ya}${e}${_}`;
7303
+ function Oo(e, o = !1) {
7304
+ return o ? `${jo}${e}${_}` : `${Po}${e}${_}`;
6362
7305
  }
6363
- function de(e, a = {}) {
7306
+ function de(e, o = {}) {
6364
7307
  const {
6365
7308
  addBrackets: t = !0,
6366
- expansionFactor: o = 0.3,
6367
- addAccents: r = !0,
6368
- addBidiMarkers: n = !1,
7309
+ expansionFactor: a = 0.3,
7310
+ addAccents: n = !0,
7311
+ addBidiMarkers: r = !1,
6369
7312
  useVowelDoubling: i = !1,
6370
7313
  preservePlaceholders: s = !0,
6371
7314
  preserveHtml: l = !0,
6372
7315
  prefix: d = "[",
6373
7316
  suffix: m = "]"
6374
- } = a, f = /* @__PURE__ */ new Map();
6375
- let u = e, g = 0;
7317
+ } = o, f = /* @__PURE__ */ new Map();
7318
+ let u = e, p = 0;
6376
7319
  s && (u = u.replace(/\{[^}]+\}/g, (k) => {
6377
- const p = `__PH${g++}__`;
6378
- return f.set(p, k), p;
7320
+ const g = `__PH${p++}__`;
7321
+ return f.set(g, k), g;
6379
7322
  })), l && (u = u.replace(/<[^>]+>/g, (k) => {
6380
- const p = `__PH${g++}__`;
6381
- return f.set(p, k), p;
6382
- })), r && (u = Ca(u, f)), o > 0 && (u = Sa(u, o, i)), n && (u = Aa(u)), t && (u = `${d}${u}${m}`);
6383
- for (const [k, p] of f.entries())
6384
- u = u.replace(k, p);
7323
+ const g = `__PH${p++}__`;
7324
+ return f.set(g, k), g;
7325
+ })), n && (u = Ro(u, f)), a > 0 && (u = Fo(u, a, i)), r && (u = Oo(u)), t && (u = `${d}${u}${m}`);
7326
+ for (const [k, g] of f.entries())
7327
+ u = u.replace(k, g);
6385
7328
  return u;
6386
7329
  }
6387
- function Ca(e, a) {
6388
- const t = new Set(a.keys());
6389
- return e.split("").map((o) => {
6390
- for (const r of t)
6391
- if (e.includes(r) && r.includes(o))
6392
- return o;
6393
- return $[o] || o;
7330
+ function Ro(e, o) {
7331
+ const t = new Set(o.keys());
7332
+ return e.split("").map((a) => {
7333
+ for (const n of t)
7334
+ if (e.includes(n) && n.includes(a))
7335
+ return a;
7336
+ return $[a] || a;
6394
7337
  }).join("");
6395
7338
  }
6396
7339
  function T(e) {
@@ -6427,22 +7370,22 @@ function T(e) {
6427
7370
  };
6428
7371
  }
6429
7372
  }
6430
- function Do(e, a) {
7373
+ function Ra(e, o) {
6431
7374
  const t = {};
6432
- for (const [o, r] of Object.entries(e))
6433
- t[o] = de(r, a);
7375
+ for (const [a, n] of Object.entries(e))
7376
+ t[a] = de(n, o);
6434
7377
  return t;
6435
7378
  }
6436
- function Da(e) {
7379
+ function Lo(e) {
6437
7380
  return /[^\x00-\x7F]/.test(e);
6438
7381
  }
6439
- function Ta(e) {
7382
+ function Bo(e) {
6440
7383
  if (!e || /^[\d.,-]+$/.test(e) || e.startsWith("["))
6441
7384
  return !1;
6442
- const a = /[a-zA-Z]{2,}/.test(e), t = Da(e);
6443
- return a && !t;
7385
+ const o = /[a-zA-Z]{2,}/.test(e), t = Lo(e);
7386
+ return o && !t;
6444
7387
  }
6445
- function To(e, a) {
7388
+ function La(e, o) {
6446
7389
  const t = {
6447
7390
  totalKeys: Object.keys(e).length,
6448
7391
  hardcodedStrings: [],
@@ -6450,15 +7393,15 @@ function To(e, a) {
6450
7393
  placeholderMismatches: [],
6451
7394
  potentialIssues: 0
6452
7395
  };
6453
- for (const [o, r] of Object.entries(e)) {
6454
- if (!r || r.trim() === "") {
6455
- t.emptyValues.push(o), t.potentialIssues++;
7396
+ for (const [a, n] of Object.entries(e)) {
7397
+ if (!n || n.trim() === "") {
7398
+ t.emptyValues.push(a), t.potentialIssues++;
6456
7399
  continue;
6457
7400
  }
6458
- if (Ta(r) && t.hardcodedStrings.push(o), a && a[o]) {
6459
- const n = Y(r), i = Y(a[o]), s = n.filter((d) => !i.includes(d)), l = i.filter((d) => !n.includes(d));
7401
+ if (Bo(n) && t.hardcodedStrings.push(a), o && o[a]) {
7402
+ const r = Y(n), i = Y(o[a]), s = r.filter((d) => !i.includes(d)), l = i.filter((d) => !r.includes(d));
6460
7403
  (s.length > 0 || l.length > 0) && (t.placeholderMismatches.push({
6461
- key: o,
7404
+ key: a,
6462
7405
  placeholders: [
6463
7406
  ...s.map((d) => `-${d}`),
6464
7407
  ...l.map((d) => `+${d}`)
@@ -6471,27 +7414,27 @@ function To(e, a) {
6471
7414
  function Y(e) {
6472
7415
  return (e.match(/\{([^}]+)\}/g) || []).map((t) => t.replace(/[{}]/g, "").split(",")[0].trim());
6473
7416
  }
6474
- const ce = U(null);
6475
- function Po({
7417
+ const ce = I(null);
7418
+ function Ba({
6476
7419
  children: e,
6477
- initialEnabled: a = !1,
7420
+ initialEnabled: o = !1,
6478
7421
  initialMode: t = "full"
6479
7422
  }) {
6480
- const [o, r] = P(a), [n, i] = P(t), s = v(() => T(n), [n]), l = v(() => (m) => o ? de(m, s) : m, [o, s]), d = v(
7423
+ const [a, n] = P(o), [r, i] = P(t), s = w(() => T(r), [r]), l = w(() => (m) => a ? de(m, s) : m, [a, s]), d = w(
6481
7424
  () => ({
6482
- enabled: o,
6483
- mode: n,
7425
+ enabled: a,
7426
+ mode: r,
6484
7427
  options: s,
6485
- toggle: () => r((m) => !m),
7428
+ toggle: () => n((m) => !m),
6486
7429
  setMode: i,
6487
7430
  transform: l
6488
7431
  }),
6489
- [o, n, s, l]
7432
+ [a, r, s, l]
6490
7433
  );
6491
- return /* @__PURE__ */ O(ce.Provider, { value: d, children: e });
7434
+ return /* @__PURE__ */ B(ce.Provider, { value: d, children: e });
6492
7435
  }
6493
- function jo() {
6494
- const e = F(ce);
7436
+ function Ia() {
7437
+ const e = N(ce);
6495
7438
  return e || {
6496
7439
  enabled: !1,
6497
7440
  mode: "full",
@@ -6500,10 +7443,10 @@ function jo() {
6500
7443
  },
6501
7444
  setMode: () => {
6502
7445
  },
6503
- transform: (a) => a
7446
+ transform: (o) => o
6504
7447
  };
6505
7448
  }
6506
- const Fo = {
7449
+ const Ua = {
6507
7450
  /** Minimal: brackets only */
6508
7451
  MINIMAL: { addBrackets: !0, addAccents: !1, expansionFactor: 0 },
6509
7452
  /** Accented: brackets + accents */
@@ -6521,372 +7464,373 @@ const Fo = {
6521
7464
  /** CJK: Short expansion, no accents (CJK often shorter) */
6522
7465
  CJK: { addBrackets: !0, addAccents: !1, expansionFactor: -0.1 }
6523
7466
  };
6524
- class Pa {
6525
- constructor(a = 0) {
6526
- this.cache = /* @__PURE__ */ new Map(), this.ttl = a;
7467
+ class Io {
7468
+ constructor(o = 0) {
7469
+ this.cache = /* @__PURE__ */ new Map(), this.ttl = o;
6527
7470
  }
6528
- getCacheKey(a, t) {
6529
- return t ? `${a}:${t}` : a;
7471
+ getCacheKey(o, t) {
7472
+ return t ? `${o}:${t}` : o;
6530
7473
  }
6531
- get(a, t) {
6532
- const o = this.getCacheKey(a, t), r = this.cache.get(o);
6533
- return r ? this.ttl > 0 && Date.now() > r.expiresAt ? (this.cache.delete(o), null) : r.data : null;
7474
+ get(o, t) {
7475
+ const a = this.getCacheKey(o, t), n = this.cache.get(a);
7476
+ return n ? this.ttl > 0 && Date.now() > n.expiresAt ? (this.cache.delete(a), null) : n.data : null;
6534
7477
  }
6535
- set(a, t, o) {
6536
- const r = this.getCacheKey(a, o), n = Date.now();
6537
- this.cache.set(r, {
7478
+ set(o, t, a) {
7479
+ const n = this.getCacheKey(o, a), r = Date.now();
7480
+ this.cache.set(n, {
6538
7481
  data: t,
6539
- loadedAt: n,
6540
- expiresAt: this.ttl > 0 ? n + this.ttl : 1 / 0
7482
+ loadedAt: r,
7483
+ expiresAt: this.ttl > 0 ? r + this.ttl : 1 / 0
6541
7484
  });
6542
7485
  }
6543
- has(a, t) {
6544
- return this.get(a, t) !== null;
7486
+ has(o, t) {
7487
+ return this.get(o, t) !== null;
6545
7488
  }
6546
- delete(a, t) {
7489
+ delete(o, t) {
6547
7490
  if (t)
6548
- this.cache.delete(this.getCacheKey(a, t));
7491
+ this.cache.delete(this.getCacheKey(o, t));
6549
7492
  else
6550
- for (const o of this.cache.keys())
6551
- (o === a || o.startsWith(`${a}:`)) && this.cache.delete(o);
7493
+ for (const a of this.cache.keys())
7494
+ (a === o || a.startsWith(`${o}:`)) && this.cache.delete(a);
6552
7495
  }
6553
7496
  clear() {
6554
7497
  this.cache.clear();
6555
7498
  }
6556
7499
  getStats() {
6557
- const a = /* @__PURE__ */ new Set();
7500
+ const o = /* @__PURE__ */ new Set();
6558
7501
  for (const t of this.cache.keys())
6559
- a.add(t.split(":")[0]);
7502
+ o.add(t.split(":")[0]);
6560
7503
  return {
6561
7504
  size: this.cache.size,
6562
- languages: Array.from(a)
7505
+ languages: Array.from(o)
6563
7506
  };
6564
7507
  }
6565
7508
  }
6566
7509
  function me(e) {
6567
7510
  const {
6568
- loadFn: a,
7511
+ loadFn: o,
6569
7512
  fallbackLang: t = "en",
6570
- cacheTtl: o = 0,
6571
- preloadLanguages: r = [],
6572
- namespaces: n = [],
7513
+ cacheTtl: a = 0,
7514
+ preloadLanguages: n = [],
7515
+ namespaces: r = [],
6573
7516
  defaultNamespace: i,
6574
7517
  onLoadStart: s,
6575
7518
  onLoadComplete: l,
6576
7519
  onLoadError: d
6577
- } = e, m = new Pa(o), f = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Map();
6578
- let g = t;
7520
+ } = e, m = new Io(a), f = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Map();
7521
+ let p = t;
6579
7522
  const k = /* @__PURE__ */ new Set();
6580
- function p() {
6581
- const c = z();
7523
+ function g() {
7524
+ const c = E();
6582
7525
  k.forEach((h) => h(c));
6583
7526
  }
6584
- function E(c, h) {
7527
+ function y(c, h) {
6585
7528
  return h ? `${c}:${h}` : c;
6586
7529
  }
6587
- function z() {
7530
+ function E() {
6588
7531
  const c = /* @__PURE__ */ new Set(), h = /* @__PURE__ */ new Set();
6589
7532
  for (const S of j)
6590
7533
  m.has(S) && c.add(S);
6591
7534
  for (const S of f) {
6592
- const N = S.split(":")[0];
6593
- h.add(N);
7535
+ const O = S.split(":")[0];
7536
+ h.add(O);
6594
7537
  }
6595
7538
  return {
6596
7539
  loadedLanguages: c,
6597
7540
  loadingLanguages: h,
6598
7541
  failedLanguages: new Map(u),
6599
- currentLanguage: g
7542
+ currentLanguage: p
6600
7543
  };
6601
7544
  }
6602
- async function y(c, h) {
6603
- const S = E(c, h), N = m.get(c, h);
6604
- if (N) return N;
7545
+ async function C(c, h) {
7546
+ const S = y(c, h), O = m.get(c, h);
7547
+ if (O)
7548
+ return O;
6605
7549
  if (f.has(S))
6606
- return new Promise((x) => {
6607
- const M = setInterval(() => {
6608
- f.has(S) || (clearInterval(M), x(m.get(c, h)));
7550
+ return new Promise((z) => {
7551
+ const R = setInterval(() => {
7552
+ f.has(S) || (clearInterval(R), z(m.get(c, h)));
6609
7553
  }, 50);
6610
7554
  });
6611
- f.add(S), u.delete(c), s == null || s(c, h), p();
7555
+ f.add(S), u.delete(c), s == null || s(c, h), g();
6612
7556
  try {
6613
- const x = await a(c, h);
6614
- return m.set(c, x, h), l == null || l(c, h), x;
6615
- } catch (x) {
6616
- const M = x instanceof Error ? x : new Error(String(x));
6617
- return u.set(c, M), d == null || d(c, M, h), c !== t && !h ? (console.warn(`Failed to load ${c}, falling back to ${t}`), y(t, h)) : null;
7557
+ const z = await o(c, h);
7558
+ return m.set(c, z, h), l == null || l(c, h), z;
7559
+ } catch (z) {
7560
+ const R = z instanceof Error ? z : new Error(String(z));
7561
+ return u.set(c, R), d == null || d(c, R, h), c !== t && !h ? (console.warn(`Failed to load ${c}, falling back to ${t}`), C(t, h)) : null;
6618
7562
  } finally {
6619
- f.delete(S), p();
7563
+ f.delete(S), g();
6620
7564
  }
6621
7565
  }
6622
- async function C(c) {
6623
- await Promise.all(c.map((h) => y(h)));
7566
+ async function A(c) {
7567
+ await Promise.all(c.map((h) => C(h)));
6624
7568
  }
6625
- async function w() {
6626
- r.length !== 0 && await Promise.allSettled(
6627
- r.map((c) => n.length > 0 ? Promise.all(n.map((h) => y(c, h))) : y(c))
7569
+ async function b() {
7570
+ n.length !== 0 && await Promise.allSettled(
7571
+ n.map((c) => r.length > 0 ? Promise.all(r.map((h) => C(c, h))) : C(c))
6628
7572
  );
6629
7573
  }
6630
- function R(c, h) {
7574
+ function M(c, h) {
6631
7575
  return m.get(c, h);
6632
7576
  }
6633
- function D(c, h) {
7577
+ function x(c, h) {
6634
7578
  return m.has(c, h);
6635
7579
  }
6636
- function ge(c) {
7580
+ function pe(c) {
6637
7581
  for (const h of f)
6638
7582
  if (h === c || h.startsWith(`${c}:`))
6639
7583
  return !0;
6640
7584
  return !1;
6641
7585
  }
6642
- function pe() {
7586
+ function ge() {
6643
7587
  return m.getStats().languages;
6644
7588
  }
6645
7589
  function he(c) {
6646
- c ? m.delete(c) : m.clear(), p();
7590
+ c ? m.delete(c) : m.clear(), g();
6647
7591
  }
6648
7592
  async function fe(c) {
6649
- D(c) || await y(c), g = c, p();
7593
+ x(c) || await C(c), p = c, g();
6650
7594
  }
6651
7595
  function ke() {
6652
- return g;
7596
+ return p;
6653
7597
  }
6654
- function ve(c) {
7598
+ function we(c) {
6655
7599
  return k.add(c), () => k.delete(c);
6656
7600
  }
6657
7601
  return {
6658
- loadLanguage: y,
6659
- loadLanguages: C,
6660
- preloadLanguages: w,
6661
- getTranslations: R,
6662
- isLoaded: D,
6663
- isLoading: ge,
6664
- getLoadedLanguages: pe,
7602
+ loadLanguage: C,
7603
+ loadLanguages: A,
7604
+ preloadLanguages: b,
7605
+ getTranslations: M,
7606
+ isLoaded: x,
7607
+ isLoading: pe,
7608
+ getLoadedLanguages: ge,
6665
7609
  clearCache: he,
6666
- getState: z,
7610
+ getState: E,
6667
7611
  setLanguage: fe,
6668
7612
  getCurrentLanguage: ke,
6669
- subscribe: ve
7613
+ subscribe: we
6670
7614
  };
6671
7615
  }
6672
- function Lo(e, a) {
7616
+ function Ha(e, o) {
6673
7617
  return me({
6674
- ...a,
6675
- loadFn: async (t, o) => {
6676
- const r = o ? `${e}/${t}/${o}.json` : `${e}/${t}.json`, n = await fetch(r);
6677
- if (!n.ok)
6678
- throw new Error(`Failed to load translations: ${n.status}`);
6679
- return n.json();
7618
+ ...o,
7619
+ loadFn: async (t, a) => {
7620
+ const n = a ? `${e}/${t}/${a}.json` : `${e}/${t}.json`, r = await fetch(n);
7621
+ if (!r.ok)
7622
+ throw new Error(`Failed to load translations: ${r.status}`);
7623
+ return r.json();
6680
7624
  }
6681
7625
  });
6682
7626
  }
6683
- function Ro(e, a) {
7627
+ function Ka(e, o) {
6684
7628
  return me({
6685
- ...a,
6686
- loadFn: async (t, o) => (await e(t, o)).default
7629
+ ...o,
7630
+ loadFn: async (t, a) => (await e(t, a)).default
6687
7631
  });
6688
7632
  }
6689
- const ue = U(null);
6690
- function No({
7633
+ const ue = I(null);
7634
+ function Va({
6691
7635
  children: e,
6692
- loader: a,
7636
+ loader: o,
6693
7637
  initialLanguage: t,
6694
- namespace: o
7638
+ namespace: a
6695
7639
  }) {
6696
- const [r, n] = P(() => a.getState()), [i, s] = P(null);
6697
- I(() => a.subscribe(n), [a]), I(() => {
6698
- t && !a.isLoaded(t, o) && a.loadLanguage(t, o).catch(s);
6699
- }, [a, t, o]);
6700
- const l = v(() => a.getTranslations(r.currentLanguage, o) || {}, [a, r.currentLanguage, o]), d = Q(
7640
+ const [n, r] = P(() => o.getState()), [i, s] = P(null);
7641
+ L(() => o.subscribe(r), [o]), L(() => {
7642
+ t && !o.isLoaded(t, a) && o.loadLanguage(t, a).catch(s);
7643
+ }, [o, t, a]);
7644
+ const l = w(() => o.getTranslations(n.currentLanguage, a) || {}, [o, n.currentLanguage, a]), d = Q(
6701
7645
  async (f) => {
6702
7646
  s(null);
6703
7647
  try {
6704
- await a.setLanguage(f);
7648
+ await o.setLanguage(f);
6705
7649
  } catch (u) {
6706
7650
  s(u instanceof Error ? u : new Error(String(u)));
6707
7651
  }
6708
7652
  },
6709
- [a]
6710
- ), m = v(
7653
+ [o]
7654
+ ), m = w(
6711
7655
  () => ({
6712
- loader: a,
7656
+ loader: o,
6713
7657
  translations: l,
6714
- isLoading: r.loadingLanguages.size > 0,
7658
+ isLoading: n.loadingLanguages.size > 0,
6715
7659
  error: i,
6716
7660
  setLanguage: d,
6717
- currentLanguage: r.currentLanguage,
6718
- loadedLanguages: Array.from(r.loadedLanguages)
7661
+ currentLanguage: n.currentLanguage,
7662
+ loadedLanguages: Array.from(n.loadedLanguages)
6719
7663
  }),
6720
- [a, l, r, i, d]
7664
+ [o, l, n, i, d]
6721
7665
  );
6722
- return /* @__PURE__ */ O(ue.Provider, { value: m, children: e });
7666
+ return /* @__PURE__ */ B(ue.Provider, { value: m, children: e });
6723
7667
  }
6724
- function ja() {
6725
- const e = F(ue);
7668
+ function Uo() {
7669
+ const e = N(ue);
6726
7670
  if (!e)
6727
7671
  throw new Error("useDynamicI18n must be used within DynamicI18nProvider");
6728
7672
  return e;
6729
7673
  }
6730
- function Mo(e) {
6731
- const { translations: a, currentLanguage: t, loader: o, isLoading: r } = ja();
6732
- return I(() => {
6733
- e && !o.isLoaded(t, e) && o.loadLanguage(t, e);
6734
- }, [o, t, e]), { t: Q(
7674
+ function Wa(e) {
7675
+ const { translations: o, currentLanguage: t, loader: a, isLoading: n } = Uo();
7676
+ return L(() => {
7677
+ e && !a.isLoaded(t, e) && a.loadLanguage(t, e);
7678
+ }, [a, t, e]), { t: Q(
6735
7679
  (i, s) => {
6736
- let l = a[i] || i;
7680
+ let l = o[i] || i;
6737
7681
  if (s)
6738
7682
  for (const [d, m] of Object.entries(s))
6739
7683
  l = l.replace(new RegExp(`\\{${d}\\}`, "g"), String(m));
6740
7684
  return l;
6741
7685
  },
6742
- [a]
6743
- ), isLoading: r, currentLanguage: t };
7686
+ [o]
7687
+ ), isLoading: n, currentLanguage: t };
6744
7688
  }
6745
- function Io(e, a, t) {
7689
+ function Za(e, o, t) {
6746
7690
  switch (t) {
6747
7691
  case "immediate":
6748
- e.loadLanguages(a);
7692
+ e.loadLanguages(o);
6749
7693
  break;
6750
7694
  case "idle":
6751
7695
  "requestIdleCallback" in window ? window.requestIdleCallback(() => {
6752
- e.loadLanguages(a);
6753
- }) : setTimeout(() => e.loadLanguages(a), 1e3);
7696
+ e.loadLanguages(o);
7697
+ }) : setTimeout(() => e.loadLanguages(o), 1e3);
6754
7698
  break;
6755
7699
  case "visible":
6756
7700
  if ("IntersectionObserver" in window) {
6757
- const r = new IntersectionObserver(
7701
+ const n = new IntersectionObserver(
6758
7702
  () => {
6759
- e.loadLanguages(a), r.disconnect();
7703
+ e.loadLanguages(o), n.disconnect();
6760
7704
  },
6761
7705
  { threshold: 0.1 }
6762
7706
  );
6763
- r.observe(document.body);
7707
+ n.observe(document.body);
6764
7708
  } else
6765
- e.loadLanguages(a);
7709
+ e.loadLanguages(o);
6766
7710
  break;
6767
7711
  case "interaction":
6768
- const o = () => {
6769
- e.loadLanguages(a), window.removeEventListener("click", o), window.removeEventListener("keydown", o), window.removeEventListener("touchstart", o);
7712
+ const a = () => {
7713
+ e.loadLanguages(o), window.removeEventListener("click", a), window.removeEventListener("keydown", a), window.removeEventListener("touchstart", a);
6770
7714
  };
6771
- window.addEventListener("click", o, { once: !0 }), window.addEventListener("keydown", o, { once: !0 }), window.addEventListener("touchstart", o, { once: !0 });
7715
+ window.addEventListener("click", a, { once: !0 }), window.addEventListener("keydown", a, { once: !0 }), window.addEventListener("touchstart", a, { once: !0 });
6772
7716
  break;
6773
7717
  }
6774
7718
  }
6775
- async function Oo(e, a) {
6776
- const { fallback: t = "en", preferredLanguages: o = [] } = a || {};
6777
- for (const n of o)
6778
- if (j.includes(n))
6779
- return await e.setLanguage(n), n;
6780
- const r = navigator.language.split("-")[0].toLowerCase();
6781
- return j.includes(r) ? (await e.setLanguage(r), r) : (await e.setLanguage(t), t);
7719
+ async function qa(e, o) {
7720
+ const { fallback: t = "en", preferredLanguages: a = [] } = o || {};
7721
+ for (const r of a)
7722
+ if (j.includes(r))
7723
+ return await e.setLanguage(r), r;
7724
+ const n = navigator.language.split("-")[0].toLowerCase();
7725
+ return j.includes(n) ? (await e.setLanguage(n), n) : (await e.setLanguage(t), t);
6782
7726
  }
6783
7727
  export {
6784
- W as CALENDAR_INFO,
6785
- ba as CELESTIAL_STEMS,
6786
- va as CHINESE_ZODIAC,
7728
+ U as CALENDAR_INFO,
7729
+ xo as CELESTIAL_STEMS,
7730
+ Ao as CHINESE_ZODIAC,
6787
7731
  ie as DEFAULT_CALENDAR,
6788
- No as DynamicI18nProvider,
6789
- po as HEBREW_MONTHS,
6790
- ho as HEBREW_MONTHS_LEAP,
6791
- uo as HIJRI_MONTHS,
6792
- H as JAPANESE_ERAS,
7732
+ Va as DynamicI18nProvider,
7733
+ ya as HEBREW_MONTHS,
7734
+ Ea as HEBREW_MONTHS_LEAP,
7735
+ ba as HIJRI_MONTHS,
7736
+ Z as JAPANESE_ERAS,
6793
7737
  te as NICE_GLOSSARY,
6794
- b as NICE_I18N_DICTIONARIES,
7738
+ v as NICE_I18N_DICTIONARIES,
6795
7739
  j as NICE_SUPPORTED_LANGS,
6796
- Ra as NiceI18nProvider,
6797
- vo as PERSIAN_MONTHS,
6798
- Fo as PSEUDO_PRESETS,
6799
- Po as PseudoLocalizationProvider,
6800
- Ha as RTLProvider,
7740
+ Vo as NiceI18nProvider,
7741
+ Da as PERSIAN_MONTHS,
7742
+ Ua as PSEUDO_PRESETS,
7743
+ Ba as PseudoLocalizationProvider,
7744
+ ea as RTLProvider,
6801
7745
  K as RTL_CSS_VARS,
6802
- $e as RTL_LANGUAGES,
6803
- re as TIMEZONE_GROUPS,
6804
- Ao as addAccents,
6805
- Aa as addBidiMarkers,
6806
- Co as addBrackets,
6807
- To as analyzeDictionary,
6808
- $a as analyzeStylesForRTL,
6809
- Da as containsNonAscii,
6810
- ne as convertTimezone,
7746
+ ao as RTL_LANGUAGES,
7747
+ ne as TIMEZONE_GROUPS,
7748
+ Ma as addAccents,
7749
+ Oo as addBidiMarkers,
7750
+ Oa as addBrackets,
7751
+ La as analyzeDictionary,
7752
+ ta as analyzeStylesForRTL,
7753
+ Lo as containsNonAscii,
7754
+ re as convertTimezone,
6811
7755
  se as createCalendarFormatter,
6812
- sa as createCurrencyFormatter,
6813
- ra as createDateFormatter,
7756
+ fo as createCurrencyFormatter,
7757
+ po as createDateFormatter,
6814
7758
  me as createDynamicLoader,
6815
- Lo as createFetchLoader,
6816
- Ua as createICUTranslator,
6817
- Ro as createImportLoader,
6818
- ia as createNumberFormatter,
6819
- na as createTimeFormatter,
6820
- ga as createTimezoneFormatter,
6821
- Ma as createTranslator,
6822
- Oo as detectAndLoad,
6823
- Oa as detectBrowserLanguage,
6824
- Ta as detectHardcodedText,
7759
+ Ha as createFetchLoader,
7760
+ $o as createICUTranslator,
7761
+ Ka as createImportLoader,
7762
+ ho as createNumberFormatter,
7763
+ go as createTimeFormatter,
7764
+ yo as createTimezoneFormatter,
7765
+ Zo as createTranslator,
7766
+ qa as detectAndLoad,
7767
+ Go as detectBrowserLanguage,
7768
+ Bo as detectHardcodedText,
6825
7769
  G as detectTimezone,
6826
- Sa as expandText,
6827
- to as findSimilarTranslation,
6828
- Qe as flipAlignment,
6829
- qa as flipHorizontal,
6830
- Ge as formatICU,
6831
- Ia as formatMessage,
6832
- ua as fromUTC,
6833
- Qa as generateCoverageReport,
6834
- Ya as generateTranslationCode,
6835
- so as getAllTimezones,
6836
- oa as getAllTranslationStats,
6837
- zo as getAvailableCalendars,
6838
- So as getCalendarInfo,
6839
- yo as getCelestialStem,
6840
- wo as getChineseZodiac,
6841
- ha as getCurrentCalendarDate,
6842
- Za as getDocumentDirection,
6843
- ro as getGlossaryForLanguage,
6844
- go as getHijriMonthDays,
6845
- ka as getJapaneseEra,
6846
- ko as getJapaneseYear,
6847
- A as getLocaleTag,
6848
- Xe as getLogicalProperty,
6849
- ea as getMissingTranslations,
6850
- co as getNextDSTTransition,
6851
- ae as getOrdinalCategory,
7770
+ Fo as expandText,
7771
+ ua as findSimilarTranslation,
7772
+ io as flipAlignment,
7773
+ Xo as flipHorizontal,
7774
+ oo as formatICU,
7775
+ qo as formatMessage,
7776
+ Co as fromUTC,
7777
+ sa as generateCoverageReport,
7778
+ ia as generateTranslationCode,
7779
+ fa as getAllTimezones,
7780
+ mo as getAllTranslationStats,
7781
+ ja as getAvailableCalendars,
7782
+ Na as getCalendarInfo,
7783
+ Ta as getCelestialStem,
7784
+ xa as getChineseZodiac,
7785
+ So as getCurrentCalendarDate,
7786
+ Qo as getDocumentDirection,
7787
+ pa as getGlossaryForLanguage,
7788
+ Ca as getHijriMonthDays,
7789
+ Do as getJapaneseEra,
7790
+ za as getJapaneseYear,
7791
+ D as getLocaleTag,
7792
+ so as getLogicalProperty,
7793
+ lo as getMissingTranslations,
7794
+ wa as getNextDSTTransition,
7795
+ oe as getOrdinalCategory,
6852
7796
  ee as getPluralCategory,
6853
7797
  T as getPseudoLocalizationPreset,
6854
- Ja as getRTLCSSVars,
6855
- xo as getRecommendedCalendars,
6856
- _a as getSourceKeys,
6857
- Je as getTextDirection,
6858
- L as getTimezoneInfo,
6859
- lo as getTimezonesGrouped,
6860
- aa as getTranslationStats,
6861
- Z as isDSTActive,
6862
- fo as isHebrewLeapYear,
6863
- fa as isHijriLeapYear,
6864
- bo as isPersianLeapYear,
6865
- oe as isRTLLanguage,
6866
- Ke as isSupported,
6867
- io as isValidTimezone,
6868
- da as lookupGlossary,
6869
- Ba as ordinal,
6870
- Wa as plural,
6871
- Io as preloadWithStrategy,
7798
+ na as getRTLCSSVars,
7799
+ Fa as getRecommendedCalendars,
7800
+ ra as getSourceKeys,
7801
+ to as getTextDirection,
7802
+ F as getTimezoneInfo,
7803
+ ka as getTimezonesGrouped,
7804
+ co as getTranslationStats,
7805
+ V as isDSTActive,
7806
+ Sa as isHebrewLeapYear,
7807
+ zo as isHijriLeapYear,
7808
+ Aa as isPersianLeapYear,
7809
+ ae as isRTLLanguage,
7810
+ _e as isSupported,
7811
+ ha as isValidTimezone,
7812
+ wo as lookupGlossary,
7813
+ _o as ordinal,
7814
+ Jo as plural,
7815
+ Za as preloadWithStrategy,
6872
7816
  de as pseudoLocalize,
6873
- Do as pseudoLocalizeDictionary,
6874
- Ye as rtlValue,
6875
- Ka as select,
6876
- _e as setDocumentDirection,
7817
+ Ra as pseudoLocalizeDictionary,
7818
+ ro as rtlValue,
7819
+ Yo as select,
7820
+ no as setDocumentDirection,
6877
7821
  le as toCalendar,
6878
- ma as toUTC,
6879
- Eo as useCalendar,
6880
- ja as useDynamicI18n,
6881
- Mo as useDynamicTranslation,
6882
- Ga as useIsRTL,
6883
- oo as useNiceCurrencyFormat,
6884
- Xa as useNiceDateFormat,
6885
- ao as useNiceNumberFormat,
6886
- eo as useNiceTimeFormat,
6887
- Na as useNiceTranslation,
6888
- jo as usePseudoLocalization,
6889
- Va as useRTL,
6890
- mo as useTimezone,
6891
- no as validateAgainstGlossary
7822
+ bo as toUTC,
7823
+ Pa as useCalendar,
7824
+ Uo as useDynamicI18n,
7825
+ Wa as useDynamicTranslation,
7826
+ aa as useIsRTL,
7827
+ ma as useNiceCurrencyFormat,
7828
+ la as useNiceDateFormat,
7829
+ ca as useNiceNumberFormat,
7830
+ da as useNiceTimeFormat,
7831
+ Wo as useNiceTranslation,
7832
+ Ia as usePseudoLocalization,
7833
+ oa as useRTL,
7834
+ va as useTimezone,
7835
+ ga as validateAgainstGlossary
6892
7836
  };