@gentiq/admin 0.0.0-stage → 1.0.0-alpha.2

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/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Aryan Shekarlaban
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md CHANGED
@@ -1,3 +1,11 @@
1
- # Temporary Holding Version
1
+ # @gentiq/admin
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The Gentiq admin panel: `AdminPanel` (users, plans, settings, analytics, chat history and operations), its page table (`defaultAdminPages`, which a host extends through `AdminPanel`'s `pages`), the session hook `useAdminSession`, the data hooks it runs on (`useAdminUsers` and the rest), and its `admin` translation namespace. It builds on [`@gentiq/ui`](https://www.npmjs.com/package/@gentiq/ui), [`@gentiq/react`](https://www.npmjs.com/package/@gentiq/react) and [`@gentiq/core`](https://www.npmjs.com/package/@gentiq/core).
4
+
5
+ Apps on [`gentiq`](https://www.npmjs.com/package/gentiq) import the panel from `gentiq/admin`, which re-exports this package, and load `gentiq/style.css`, which carries the panel's classes.
6
+
7
+ - `@gentiq/admin` is the public surface, recorded in `api/index.api.md`.
8
+ - `@gentiq/admin/style.css` is `@gentiq/ui`'s stylesheet with the panel's classes. An app on the scoped packages that shows the panel loads it in place of `@gentiq/ui/style.css`.
9
+ - `react-router-dom` is a peer dependency: the panel routes its pages with it, and brings its own `BrowserRouter`, at its `path` (default `/admin`), when none is around it.
10
+
11
+ Its version moves in lockstep with `gentiq`.
@@ -0,0 +1,61 @@
1
+ "use client";
2
+ const e = "اختر خيارًا", t = "جارٍ التحميل...", a = "إعادة المحاولة", z = "حفظ", _ = "جارٍ الحفظ...", s = "إلغاء", o = "تعديل", P = "بحث", n = "بحث...", r = "لا توجد بيانات متاحة", i = "جارٍ تحميل المزيد...", l = "هل تريد بالتأكيد الحذف؟", d = "خطأ في تحميل البيانات", c = "إغلاق", u = { section_title: "عمليات الصيانة", no_jobs: "لا توجد عمليات مسجَّلة في هذا التثبيت.", run: "تشغيل", run_dry: "تشغيل تجريبي", run_started: 'بدأت العملية "{{name}}"', run_failed: "تعذّر بدء العملية", history: "سجلّ التشغيل", history_help: "عمليات التشغيل الأخيرة. انقر على صف لعرض مدخلاته ومخرجاته.", inputs: "المدخلات", no_runs: "لا توجد عمليات تشغيل بعد.", dry_run: "تشغيل تجريبي", dry_run_help: "محاكاة العملية دون كتابة أي تغييرات.", confirm_destructive: 'هذه عملية مُدمِّرة. اكتب "{{name}}" للتأكيد.', output: "المخرجات", no_output: "(لا توجد مخرجات)", output_truncated: "...[تم اقتطاع المخرجات]", result: "النتيجة", cancel_run: "إلغاء التشغيل", triggered_by: "بدأها {{user}}", triggered_by_api: "بدأت عبر مفتاح واجهة برمجة التطبيقات", danger: { safe: "آمنة", caution: "تتطلب حذرًا", destructive: "مُدمِّرة" }, status: { queued: "في الانتظار", processing: "قيد التنفيذ", completed: "مكتملة", failed: "فشلت", cancelled: "أُلغيت" }, raw: { title: "تشغيل كود Python مباشر", warning: "يؤدي هذا إلى تنفيذ كود Python عشوائي على الخادم بكامل صلاحيات العملية. لا توجد بيئة معزولة — فقط التحكم في الوصول وسجلّ تدقيق. استخدمه فقط إذا كنت تعرف تمامًا ما تفعله.", confirm_label: 'اكتب "{{phrase}}" لتفعيل التشغيل.', run: "تنفيذ", files_hint: 'أسنِد ملفًا إلى `result` لنشره للتنزيل، مثل result = ctx.save_file(text, filename="export.csv").', name: "Python خام" }, resolve: "حلّ", page_subtitle: "شغّل عمليات الصيانة المسجَّلة في هذا التثبيت، وتابع مخرجاتها، ونزّل الملفات التي تنتجها.", files: { title_zero: "{{count}} ملف", title_one: "ملف واحد", title_two: "ملفان", title_few: "{{count}} ملفات", title_many: "{{count}} ملفًا", title_other: "{{count}} ملف", download: "تنزيل", download_failed: "تعذّر تنزيل الملف", missing: "لم يعد هذا الملف موجودًا في التخزين.", none: "لا توجد ملفات بعد.", none_help: "تنشر العملية ملفًا بإرجاع نتيجة ctx.save_file(...)؛ ويظهر هنا فور انتهاء التشغيل." }, tabs: { jobs: "العمليات", files: "الملفات", history: "السجلّ", raw: "Python مباشر", status: "الحالة" } }, p = { title: "لوحة الإدارة", logout: "تسجيل الخروج", tabs: { analytics: "التحليلات", chat_history: "المحادثات", users: "المستخدمون", admins: "المسؤولون", operations: "العمليات", settings: "الإعدادات", plans: "الخطط", integrations: "التكاملات" }, language: "تغيير اللغة", unavailable_title: "لوحة الإدارة غير متاحة", unavailable_message: "هذا الخادم لا يشغّل واجهة الإدارة. أضف إضافة AdminAPI إلى الخادم لاستخدام اللوحة." }, m = { title: "إعدادات النظام", subtitle: "أدِر الإعدادات العامة لمظهر التطبيق وسلوكه.", sections: { general: "المعلومات الأساسية", chat: "تجربة المحادثة", usage: "الاستهلاك والوصول" }, tabs: { general: "عام", chat: "المحادثة", usage: "الاستهلاك والوصول", translations: "الترجمات" }, general: { app_name: "اسم التطبيق", admin_title: "عنوان لوحة الإدارة", language: "اللغة الافتراضية", language_help: "اللغة التي يراها المستخدمون عند زيارتهم الأولى (إن لم يتم اكتشافها تلقائيًا).", language_locked: "إبقاء الجميع على هذه اللغة", language_locked_help: "إخفاء اختيار اللغة في إعدادات المستخدمين، فيرى الجميع اللغة الافتراضية.", appearance: "المظهر الافتراضي", appearance_help: "تُطبَّق هذه القيم ما لم يحفظ المستخدم تفضيلات مظهر خاصة به.", default_theme: "المظهر الافتراضي", theme_locked: "إبقاء الجميع على هذا المظهر", theme_locked_help: "إخفاء اختيار المظهر في إعدادات المستخدمين، فيرى الجميع المظهر واللون والزوايا الافتراضية.", default_accent: "لون التمييز الافتراضي", default_accent_help: "أدخل أي لون CSS يدعمه المتصفح، مثل ‎#3b82f6‎ أو ‎rgb(59 130 246)‎ أو ‎oklch(0.623 0.214 259.815)‎.", default_accent_invalid: "أدخل لون CSS صالحًا يدعمه المتصفح.", default_radius_app: "الافتراضي للتطبيق", default_accent_preview: "معاينة لون التمييز", loader: "مؤشر الانتظار", loader_help: "يظهر أثناء تجهيز المساعد للرد وأثناء تحميل المحادثة. تحتاج كل الأنماط عدا النقاط إلى أن يحمّل التطبيق gentiq/loaders.css؛ وإلى أن يفعل ذلك تظهر النقاط.", loaders: { dots: "نقاط", orb: "كرة", triangle: "مثلث", cross: "صليب", comet: "مذنّب", aurora: "شفق" } }, chat: { welcome_greeting: "عبارة الترحيب", welcome_subtitle: "العنوان الفرعي للترحيب", disclaimer: "نص التنبيه", show_tool_details: "إظهار التفاصيل التقنية للأدوات", show_tool_details_help: "فعّل هذا الخيار لعرض التفاصيل التقنية لأدوات الذكاء الاصطناعي للمستخدمين.", show_reasoning: "إظهار التفكير", show_reasoning_help: "يعرض كتلة تفكير النموذج داخل المحادثة. أما لوحة الإدارة فتعرضها دائمًا.", show_settings: "إظهار أيقونة الإعدادات للمستخدمين", show_settings_help: "يعرض أيقونة ترس للإعدادات في واجهة المحادثة ليخصّصها المستخدم.", show_version_in_settings: "إظهار إصدار التطبيق في إعدادات المستخدم", show_version_in_settings_help: "يعرض إصدار التطبيق أسفل نافذة إعدادات المستخدم. لا يؤثر ذلك على صفحة إعدادات الإدارة.", disable_signup: "تعطيل إنشاء الحسابات", disable_signup_help: "يخفي تبويب إنشاء الحساب بحيث يمكن للمستخدمين تسجيل الدخول فقط.", disable_auth_page: "تعطيل صفحة الدخول وإنشاء الحساب", disable_auth_page_help: "يخفي صفحة المصادقة بالكامل ويمنع المستخدمين من الوصول إلى نماذج الدخول أو إنشاء الحساب.", composer_attachments: "تفعيل إرفاق الملفات", composer_attachments_help: "يسمح للمستخدمين برفع الملفات وإرفاقها برسائلهم.", composer_voice: "تفعيل الإدخال الصوتي", composer_voice_help: "يعرض ميكروفونًا في مربع الكتابة ليتمكن المستخدمون من إملاء رسائلهم.", composer_voice_unavailable: "لم يُضبط أي محوّل للكلام إلى نص في الخادم، لذا يبقى الميكروفون مخفيًا حتى يُضبط.", thread_actions_feedback: "تفعيل أزرار التقييم", thread_actions_feedback_help: "يعرض زرَّي الإعجاب وعدم الإعجاب على ردود الذكاء الاصطناعي.", thread_actions_retry: "تفعيل زر إعادة المحاولة", thread_actions_retry_help: "يعرض زرًا لإعادة توليد آخر رد من الذكاء الاصطناعي.", history_enabled: "تفعيل الشريط الجانبي لسجلّ المحادثات", history_enabled_help: "يعرض الشريط الجانبي الذي يحتوي على المحادثات السابقة.", history_show_delete: "السماح بحذف المحادثات", history_show_rename: "السماح بإعادة تسمية المحادثات", history_show_share: "السماح بمشاركة المحادثات", history_show_pin: "السماح بتثبيت المحادثات", header_actions: "أزرار الشريط العلوي", header_actions_help: "أظهر أو أخفِ الأزرار الإضافية التي يضيفها هذا التطبيق إلى الشريط العلوي للمحادثة.", sections_modes: "أوضاع تبويبات الإعدادات", sections_modes_help: "تحكّم في ظهور تبويبات الإعدادات وإمكانية التفاعل معها للمستخدمين.", mode_editable: "تفعيل (قابل للتعديل)", mode_faded: "تعتيم (للقراءة فقط)", mode_hidden: "إخفاء (تعطيل)", general_tab: "تبويب «عام»", profile_tab: "تبويب «الملف الشخصي»", account_tab: "تبويب «الحساب»", inner_fields_modes: "ظهور الحقول الداخلية", inner_fields_modes_help: "اضبط ظهور كل حقل داخل كل تبويب.", greeting_placeholder: "مثال: chat:welcome" }, save_success: "تم حفظ الإعدادات بنجاح", save_error: "تعذّر حفظ الإعدادات", save: "حفظ التغييرات", translations_management: "إدارة الترجمات", editor_tips: "تُحفظ جميع التغييرات تلقائيًا في الحالة المحلية. لا تنسَ الضغط على «حفظ التغييرات» لتثبيتها.", sync_from_code: "المزامنة من الكود", reset_button: "إعادة التعيين إلى الوضع الافتراضي", reset_confirm_title: "إعادة تعيين الإعدادات؟", reset_confirm_description: "سيؤدي هذا إلى إعادة جميع الحقول إلى قيمها الافتراضية الأصلية من الكود. ستُفقد التغييرات غير المحفوظة.", preview: "معاينة", tips_label: "نصائح", usage: { default_access: "الوصول الافتراضي", default_access_help: "ما يحصل عليه المستخدم عندما لا تكون لديه خطة ولا رصيد خاص به.", from_app: "كما هو محدَّد في كود التطبيق", from_app_value: "كما هو محدَّد في كود التطبيق ({{value}})", unlimited: "غير محدود", plan: "خطة", credits: "رصيد ابتدائي", default_plan: "الخطة الافتراضية", default_credits: "الرصيد الابتدائي ({{meter}})", default_credits_help: "يستطيع كل مستخدم استهلاك هذا القدر قبل أن تُرفَض طلباته.", credits_meter: "وحدة الرصيد الواحدة تساوي", credits_meter_help: "تغييره يغيّر معنى الرصيد المتبقي لدى الجميع.", quota_timezone: "المنطقة الزمنية للحصة", quota_timezone_help: "تُعاد الحدود اليومية عند منتصف الليل بهذه المنطقة الزمنية، والأسبوعية في أول أيام الأسبوع، والشهرية في اليوم الأول من الشهر. اتركه فارغًا لاستخدام إعداد التطبيق.", quota_timezone_now: "الساعة الآن {{time}} في {{timezone}}.", quota_timezone_invalid: "منطقة زمنية غير معروفة.", quota_calendar: "التقويم", quota_calendar_help: "التقويم الذي تُحسب به الحدود الشهرية ومدد الخطط. يبدأ الشهر الفارسي في 1 فروردين و1 أرديبهشت وهكذا. اتركه لإعداد التطبيق ليتبع المنطقة الزمنية: فارسي في إيران وأفغانستان.", calendars: { gregorian: "ميلادي", persian: "فارسي (هجري شمسي)" }, week_start: "يبدأ الأسبوع يوم", week_start_help: "موعد إعادة تعيين الحدود الأسبوعية.", weekdays: { monday: "الاثنين", tuesday: "الثلاثاء", wednesday: "الأربعاء", thursday: "الخميس", friday: "الجمعة", saturday: "السبت", sunday: "الأحد" }, show_usage_bar: "إظهار الاستهلاك في الشريط العلوي", show_usage_bar_help: "شريط صغير في الشريط العلوي للمحادثة يوضح ما تبقى من حصة المستخدم أو من رصيده. يُخفى للمستخدمين غير المحدودين.", show_usage_details: "إظهار التفاصيل عند التمرير", show_usage_details_help: "عند تمرير المؤشر فوق شريط الاستهلاك أو النقر عليه تظهر بطاقة بالنسبة المتبقية من كل حد. تظهر الكميات الدقيقة ومواعيد إعادة التعيين في إعدادات المستخدم. عند إيقافه، تظهر النسبة المتبقية فقط." }, default_value: "افتراضي", overridden: "مُعدَّل", reset_field: "إعادة إلى الافتراضي", invalid_json: "هذا ليس JSON صالحًا بعد، لذلك لم يُطبَّق.", translations_default: "كل النصوص في مساحة الأسماء هذه افتراضية.", translations_overridden_one: "تم تغيير نص واحد عن الافتراضي.", translations_overridden_other: "تم تغيير {{count}} نص عن الافتراضي.", translations_overridden_zero: "لم يُغيَّر أي نص عن الافتراضي.", translations_overridden_two: "تم تغيير نصين عن الافتراضي.", translations_overridden_few: "تم تغيير {{count}} نصوص عن الافتراضي.", translations_overridden_many: "تم تغيير {{count}} نصًا عن الافتراضي.", add_language: "إضافة لغة", add_namespace: "إضافة مساحة أسماء", add_language_prompt: "أدخل رمز اللغة (مثل en أو fa أو fr):", add_namespace_prompt: "أدخل مساحة الأسماء (مثل chat أو admin):", json_editor: "محرر JSON" }, h = { title: "التحليلات والإحصاءات", days: "{{count}} يومًا", time_range_label: "آخر", days_unit: "يومًا", total_users: "إجمالي المستخدمين", total_threads: "إجمالي المحادثات", total_messages: "إجمالي الرسائل", total_token_usage: "إجمالي استهلاك الرموز", usage_cost: "الاستهلاك والتكلفة", input: "المدخلات", output: "المخرجات", cost: "التكلفة", threads_chart: "المحادثات", messages_chart: "الرسائل", token_usage_chart: "استهلاك الرموز", cost_chart: "التكلفة اليومية", active_users: "المستخدمون النشطون", conversations: "محادثات", threads: "محادثات", feedback: "تقييمات المستخدمين", total_feedback: "إجمالي التقييمات", positive: "إيجابية", negative: "سلبية", loading_analytics: "جارٍ تحميل التحليلات...", error_loading: "خطأ في تحميل البيانات", source_human: "المستخدمون", source_service: "الخدمة", source_all: "الكل", source_caption_human: "عرض المستخدمين الحقيقيين فقط", source_caption_service: "عرض حركة الخدمات فقط", source_caption_all: "عرض كل الحركة" }, g = { title: "إدارة سجلّ المحادثات", search_button: "بحث", threads_list: "قائمة المحادثات", thread_count: "{{count}}", no_thread_title: "محادثة بلا عنوان", messages: "الرسائل", messages_for: "رسائل المحادثة: {{title}}", select_thread: "اختر محادثة لعرضها", no_threads: "لم يتم العثور على محادثات", empty_thread: "هذه المحادثة فارغة", loading_threads: "جارٍ التحميل...", loading_messages: "جارٍ تحميل الرسائل...", user_label: "المستخدم", assistant_label: "مساعد الذكاء الاصطناعي", subagent_label: "وكيل فرعي", input_tokens: "المدخلات: {{value}}", output_tokens: "المخرجات: {{value}}", total_tokens: "الإجمالي: {{value}}", cost: "التكلفة: {{value}}", unpriced: "بدون تسعير", voice_input: "إدخال صوتي", voice_input_help: "أملى المستخدم هذه الرسالة. تكلفة تفريغها مضمّنة في تكلفة الإدخال لهذه الجولة.", voice_seconds: "{{value}} ث", voice_download: "تنزيل التسجيل", voice_play: "تشغيل التسجيل", voice_pause: "إيقاف التسجيل مؤقتًا", voice_seek: "التنقل في التسجيل", voice_load_failed: "تعذر تشغيل هذا التسجيل.", detailed_view: "العرض التفصيلي", detailed_view_help: "حالات الفشل وإعادة المحاولة بين الرسائل، ورموز كل إجابة وتوقيتاتها، وجهاز المستخدم. يراها المشرفون فقط.", events: { turn_unfinished: "لم يكتمل هذا الدور: ربما أُعيد تشغيل الخادم", turn_recovered: "تمت الإجابة بعد حدوث مشكلات", turn_cancelled: "أُلغي الدور: أُغلق الاتصال", turn_empty: "انتهى الدور دون إجابة", turn_failed: "فشل الدور", turn_failed_kind: "فشل الدور: {{kind}}", error_kinds: { quota: "نفدت الحصة", rate_limit: "تجاوز حد الطلبات", auth: "رُفض مفتاح API", timeout: "انتهت المهلة", provider_5xx: "خطأ من المزوّد", bad_response: "استجابة غير صالحة", other: "خطأ غير معروف" }, stalled_model_first_output: "في انتظار أول مخرجات من النموذج", stalled_model_streaming: "في انتظار مزيد من مخرجات النموذج", stalled_tool: "في انتظار أداة", tool_failed: "فشلت الأداة: {{tool}}", model_call_failed: "فشل استدعاء النموذج", model_call_rejected: "رفض النموذج الاستدعاء (HTTP {{status}})", model_call_slow: "تأخر النموذج في بدء الإجابة", model_call_retried: "إعادة محاولة استدعاء النموذج (المحاولة {{attempt}})", model_response_broke_off: "انقطعت استجابة النموذج", message_retried: "أعاد المستخدم إرسال هذه الرسالة", turn_refused: "رُفضت الرسالة: {{reason}}", reason_quota_exceeded: "بلوغ الحد", reason_credits_exhausted: "نفد الرصيد", reason_plan_expired: "انتهت الخطة", reason_maintenance: "الصيانة", save_failed: "تعذّر حفظ {{stage}}", stage_user_message: "رسالة المستخدم", stage_assistant_message: "الإجابة", seconds: "{{value}} ث", first_output: "أول مخرجات: {{value}} ث", bytes: "المستلَم: {{value}} بايت", removed_messages: "الرسائل اللاحقة المحذوفة: {{value}}", request_id: "معرّف الطلب", copy_request_id: "نسخ معرّف الطلب", copied: "تم نسخ معرّف الطلب", total: "الإجمالي: {{value}} ث", model_calls: "استدعاءات النموذج: {{value}}", step_model: "استدعاء النموذج", step_tool: "الأداة: {{tool}}", step_failed: "فشل", took: "استغرق: {{value}} ث", no_output: "لا مخرجات", never_returned: "لم تُرجع نتيجة", used_of: "استُخدم {{used}} من {{limit}}", plan_name: "الخطة: {{value}}", resets_at: "يُعاد الضبط: {{value}}", ended_at: "انتهت: {{value}}", reason_request_too_large: "الرسالة كبيرة جدًا", reason_invalid_request: "طلب غير صالح", reason_internal_error: "خطأ في الخادم", attachment_failed: "أُسقط المرفق: {{reason}}", attachment_too_large: "كبير جدًا", attachment_unreadable: "غير قابل للقراءة", attachment_upload_failed: "تعذّر تخزينه", device_mobile: "هاتف", device_tablet: "جهاز لوحي", device_desktop: "حاسوب" }, all_feedbacks: "كل المحادثات", liked_feedbacks: "أعجبت 👍", disliked_feedbacks: "لم تُعجب 👎", any_feedback: "التي بها تقييم", output_available: "المخرجات متاحة", running: "قيد التنفيذ...", thinking: "التفكير", unnamed_file: "ملف بلا اسم", download_file: "تنزيل الملف", source_human: "المستخدمون", source_service: "الخدمة", source_all: "كل المصادر", external_user_id: "مرجع الخدمة", view_conversation: "عرض المحادثة", plan: "الخطة", loading_slow: "لا يزال التحميل جاريًا — الخادم أبطأ من المعتاد.", load_failed: "تعذّر تحميل هذه المحادثة.", retry: "حاول مرة أخرى", searching: "جارٍ البحث…", filters: { button: "عوامل التصفية", title: "تصفية المحادثات", help: "يجب أن تتحقق كل عوامل التصفية المحددة.", apply: "تطبيق", show_results: "عرض النتائج ({{n}})", reset: "إعادة تعيين", clear_all: "مسح الكل", remove: "إزالة عامل التصفية", section_users: "المستخدمون", users_placeholder: "ابحث بالاسم أو اسم المستخدم أو الهاتف أو البريد…", users_none: "لم يُعثر على مستخدمين", section_date: "التاريخ", date_started: "البدء", date_active: "آخر نشاط", from: "من", to: "إلى", preset_hour: "آخر ساعة", preset_day: "آخر 24 ساعة", preset_week: "آخر 7 أيام", preset_month: "آخر 30 يومًا", section_plans: "الخطة الحالية", plans_help: "الخطة التي يشترك فيها كل مستخدم الآن.", section_groups: "مجموعة الاشتراك", groups_placeholder: "ابحث في المجموعات…", groups_none: "لم يُعثر على مجموعات", section_profile: "حقول الملف الشخصي", profile_values_placeholder: "قيم مطابقة تمامًا، مفصولة بفواصل", any: "الكل", yes: "نعم", no: "لا", section_cost: "التكلفة ({{currency}})", min: "الحد الأدنى", max: "الحد الأقصى", section_feedback: "التقييم", feedback_all: "الكل", feedback_any: "مُقيَّمة", feedback_none: "غير مُقيَّمة", voice_only: "مع إدخال صوتي", section_source: "نوع الحركة", external_ref_placeholder: "مرجع الخدمة بالضبط", section_deleted: "المحادثات المحذوفة", deleted_include: "إظهار", deleted_exclude: "إخفاء", deleted_only: "المحذوفة فقط", deleted_exclude_chip: "إخفاء المحذوفة", deleted_only_chip: "المحذوفة فقط", chip_user: "المستخدم", chip_group: "المجموعة", chip_cost: "التكلفة", sort: "الترتيب", sort_newest: "الأحدث أولًا", sort_oldest: "الأقدم أولًا", sort_recent_activity: "النشطة مؤخرًا", sort_cost: "الأعلى تكلفة", sort_tokens: "الأكثر رموزًا", invalid_date_range: "يجب أن يسبق تاريخ البدء تاريخ الانتهاء.", invalid_cost: "أدخل تكلفة تساوي صفرًا أو أكثر.", invalid_cost_range: "يجب ألا تتجاوز التكلفة الدنيا التكلفة القصوى.", since: "منذ {{date}}", until: "حتى {{date}}" }, search_messages_placeholder: "ابحث في عناوين المحادثات ونصوص رسائلها…", tool: "أداة", tool_input: "المدخلات", tool_output: "المخرجات", tool_error: "خطأ" }, v = { title: "إدارة المستخدمين", page_subtitle: "الحسابات وما يمكنها استخدامه ومقدار ما استهلكته.", user_count: "عدد المستخدمين: {{count}}", add_user: "إضافة مستخدم جديد", edit_user: "تعديل المستخدم", phone: "رقم الهاتف", phone_placeholder: "0512345678", name: "الاسم", surname: "اسم العائلة", actions: "الإجراءات", copy_token: "نسخ الرمز (تجديد تلقائي)", token_copied: "تم نسخ الرمز بنجاح", no_token: "لم يُعثر على رمز لهذا المستخدم", updating: "جارٍ التحديث...", no_users: "لم يُعثر على مستخدمين.", sort_ascending: "ترتيب تصاعدي", sort_descending: "ترتيب تنازلي", confirm_delete_user: "هل تريد بالتأكيد حذف هذا المستخدم؟", metadata: "البيانات الوصفية (JSON)", custom_fields: "حقول إضافية", metadata_raw: "البيانات الوصفية (JSON خام)", advanced_usage: "استخدام متقدّم", invalid_json: "صيغة JSON غير صالحة", source_human: "المستخدمون", source_service: "الخدمة", source_all: "الكل", account_type: "نوع الحساب", account_type_human: "مستخدم بشري", account_type_service: "خدمة (واجهة برمجة خارجية)", account_type_service_help: "مستهلك خارجي لواجهة البرمجة. رقم الهاتف اختياري؛ شارك رمز هذا الحساب مع الخدمة المتكاملة.", service_name: "اسم الخدمة", service_name_placeholder: "مثال: تكامل نظام Acme لإدارة العملاء", optional: "اختياري", username: "اسم المستخدم", username_placeholder: "اسم المستخدم", email: "البريد الإلكتروني", email_placeholder: "you@example.com", at_least_one_login_field: "يُرجى تعبئة حقل واحد على الأقل لتسجيل الدخول.", plan_custom: "حدود مخصَّصة", plan_until: "حتى {{date}}", credit_grants: "منح الرصيد", access: { title: "الوصول والاستهلاك", column: "الوصول", now: "سارٍ الآن", mode_default: "افتراضي", mode_plan: "خطة", mode_credits: "رصيد", mode_unlimited: "غير محدود", default_is_unlimited: "ما يحصل عليه الجميع: بلا حدود", default_is_plan: "ما يحصل عليه الجميع: خطة {{plan}}", default_is_credits: "ما يحصل عليه الجميع: {{amount}} من الرصيد ({{meter}})", plan_hint: "حدود من قائمة الخطط تُعاد كل يوم أو أسبوع أو شهر", credits_hint: "رصيد ثابت يُستهلك ولا يُعاد أبدًا", unlimited_hint: "بلا أي حدود", default_badge: "افتراضي", pinned_default_plan: "هذه هي الخطة الافتراضية. اختيارها هنا يُبقي هذا المستخدم على {{plan}} حتى لو غيّرت الخطة الافتراضية لاحقًا. ليتبع المستخدم الخطة الافتراضية، اختر «افتراضي».", via_resolver: "حدَّده التطبيق", via_subscription: "مُعيَّن", via_credits: "رصيد خاص", via_default: "الوصول الافتراضي", no_limits: "بلا حدود استهلاك", credits_left: "متبقٍّ {{amount}} {{meter}}", dormant_credits: "يُحتفَظ بـ {{amount}} من الرصيد ({{meter}}) لحين انتهاء هذا.", reset: "إعادة تعيين هذه النافذة", confirm_reset: "هل تمنح هذا المستخدم المخصَّص الكامل لهذه النافذة مجددًا؟", change: "تغيير الوصول", change_help: "للمستخدم نوع واحد من الوصول. تطبيق التغيير يستبدل ما لديه الآن.", new_user_help: "اتركه على «افتراضي» ما لم يكن ينبغي أن يحصل هذا المستخدم على شيء آخر.", plan: "الخطة", no_plans: "لا توجد خطط بعد. أنشئ واحدة من تبويب «الخطط».", for_open: "حتى التغيير", credits_operation: "الرصيد", credits_set: "تعيين إلى", credits_add: "إضافة", credits_amount: "الكمية ({{meter}})", summary_default: "العودة إلى الوصول الافتراضي", summary_plan: "خطة {{plan}}، {{length}}", summary_unlimited: "غير محدود، {{length}}", summary_credits_set: "متبقٍّ {{amount}} من الرصيد ({{meter}}) بالضبط", summary_credits_add: "{{amount}} إضافية من الرصيد ({{meter}})", incomplete: "أكمل اختيار الوصول الجديد.", confirm: "هل تريد تغيير وصول هذا المستخدم إلى: {{change}}؟", apply: "تطبيق", history: "السجل ({{count}})", no_history: "لم تُعيَّن أي خطط بعد.", status_active: "نشط", status_scheduled: "مجدولة", status_ended: "منتهية", open_ended: "حتى التغيير", end_now: "إنهاء الآن", confirm_end: "هل تريد إنهاء هذا الآن؟ سيعود المستخدم إلى رصيده أو إلى الوصول الافتراضي.", for_duration: "لمدة {{length}}" }, bulk: { open: "تغيير الوصول", title: "تغيير الوصول لعدة مستخدمين", help: "اختر المستخدمين، ثم ما سيحصلون عليه. سيُستبدل كل ما لديهم الآن.", who: "مَن", what: "ما يحصلون عليه", target_everyone: "جميع المستخدمين", target_list: "المستخدمون الظاهرون في القائمة", target_ids: "مستخدمون محدَّدون، حسب المعرّف", target_plan: "المستخدمون المشتركون في خطة", target_field: "المستخدمون حسب حقل في الملف الشخصي", field: "الحقل", field_values: "القيم، مفصولة بفواصل", plan: "الخطة", who_incomplete: "أكمل اختيار مَن ينطبق عليهم هذا.", counting: "جارٍ عدّ المستخدمين…", matched: "المستخدمون المطابقون: {{count}}", summary: "{{change}} — لـ {{count}} مستخدمًا", summary_incomplete: "اختر المستخدمين وما سيحصلون عليه.", confirm: "هل تريد التطبيق على {{count}} مستخدمًا: {{change}}؟", apply: "تطبيق على {{count}} مستخدمًا" }, analytics: { title: "تحليلات الاستهلاك", requests: "الطلبات", tokens: "الرموز", tokens_split: "{{input}} إدخال · {{output}} إخراج", cost: "التكلفة", unpriced: "طلبات غير مسعّرة: {{value}}", threads: "المحادثات", threads_total: "{{value}} إجمالًا", tokens_chart: "الرموز يوميًا", cost_chart: "التكلفة يوميًا", allowance: "الحصة الآن", all_time: "منذ البداية", last_active: "آخر نشاط", never: "أبدًا" }, group: { label: "مجموعة الاشتراك", help: "المستخدمون في المجموعة نفسها يتشاركون خطة واحدة وحصة استخدام واحدة", placeholder: "لا شيء: مجموعة خاصة به", confirm_join: "إضافة هذا المستخدم إلى مجموعة تُنهي خطته ورصيده الخاصين.", shared_zero: "يشترك في المجموعة {{group}} دون مستخدمين آخرين. تنطبق التغييرات هنا على المجموعة كلها.", shared_one: "يشترك في المجموعة {{group}} مع مستخدم واحد آخر. تنطبق التغييرات هنا على المجموعة كلها.", shared_two: "يشترك في المجموعة {{group}} مع مستخدمَين آخرَين. تنطبق التغييرات هنا على المجموعة كلها.", shared_few: "يشترك في المجموعة {{group}} مع {{count}} مستخدمين آخرين. تنطبق التغييرات هنا على المجموعة كلها.", shared_many: "يشترك في المجموعة {{group}} مع {{count}} مستخدمًا آخر. تنطبق التغييرات هنا على المجموعة كلها.", shared_other: "يشترك في المجموعة {{group}} مع {{count}} مستخدم آخر. تنطبق التغييرات هنا على المجموعة كلها.", alone: "في المجموعة {{group}}، ولا أعضاء آخرين فيها بعد. تنطبق التغييرات هنا على المجموعة كلها.", show_members: "عرض أعضاء هذه المجموعة", bulk_note: "يتغيّر وصول المجموعة مرة واحدة لجميع أعضائها. لا يُمنح الرصيد لأعضاء المجموعات: المجموعات تأخذ خططًا." }, search_placeholder: "ابحث بالاسم أو اسم المستخدم أو الهاتف أو البريد أو المجموعة…", filters: { title: "تصفية المستخدمين", section_joined: "تاريخ الانضمام" }, api_badge: "API" }, f = { title: "إدارة المسؤولين", admin_count: "عدد المسؤولين: {{count}}", add_admin: "إضافة مسؤول جديد", edit_admin: "تعديل المسؤول", username: "اسم المستخدم", name: "الاسم", password: "كلمة المرور", password_edit: "كلمة مرور جديدة (اتركها فارغة للإبقاء على الحالية)", permissions: "الصلاحيات", perm_chat_history: "سجلّ المحادثات", perm_admin_management: "إدارة المسؤولين", perm_user_management: "إدارة المستخدمين", perm_analytics: "التحليلات", perm_settings: "الإعدادات", perm_operations: "العمليات", no_admins: "لم يُعثر على مسؤولين.", confirm_delete_admin: "هل تريد بالتأكيد حذف هذا المسؤول؟", perm_integrations: "التكاملات" }, y = { access_denied_title: "تم رفض الوصول", access_denied_message: "لا تملك الصلاحيات اللازمة للوصول إلى هذه الصفحة. يمكنك التواصل مع المسؤول!", back_to_dashboard: "العودة إلى لوحة التحكم" }, w = { title: "لوحة الإدارة", setup_title: "الإعداد الأولي", setup_description: "لا يوجد حساب مسؤول بعد. أدخل رمز الإعداد واختر كلمة مرور للمستخدم المسؤول الافتراضي.", set_password: "تعيين كلمة المرور", set_password_placeholder: "اختر كلمة مرور قوية", confirm_password: "تأكيد كلمة المرور", confirm_password_placeholder: "أعد إدخال كلمة المرور", passwords_mismatch: "كلمتا المرور غير متطابقتين", password_too_short: "يجب ألّا تقل كلمة المرور عن 4 أحرف", create_admin: "إنشاء المسؤول وتسجيل الدخول", setting_up: "جارٍ الإعداد...", username: "اسم المستخدم", username_placeholder: "اسم المستخدم", password: "كلمة المرور", password_placeholder: "••••••••", submit: "تسجيل الدخول", logging_in: "جارٍ تسجيل الدخول...", error: "فشل تسجيل الدخول", copyright: "© 2026 منصة روبوتات الدردشة بالذكاء الاصطناعي", setup_token: "رمز الإعداد", setup_token_help: "قيمة ADMIN_SETUP_TOKEN في بيئة الخادم.", setup_disabled: "لا يوجد حساب مسؤول بعد. لإنشاء حساب هنا، اضبط ADMIN_SETUP_TOKEN في بيئة الخادم ثم أعد تشغيله." }, b = { title: "الخطط", page_subtitle: "الخطط التي يمكن منحها للمستخدمين: مددها وحدودها.", timezone: "تُعاد حدود الاستهلاك اليومية عند منتصف الليل بتوقيت {{timezone}}.", add_plan: "خطة جديدة", edit_plan: "تعديل الخطة", key: "المفتاح", key_help: "ترسل التكاملات هذا المفتاح لتعيين الخطة. لا يمكن تغييره لاحقًا.", name: "الاسم", description: "الوصف", limits: "الحدود", limits_help: "تُرفَض الرسالة بمجرد بلوغ أي من هذه الحدود. عدم وجود حدود يعني بلا حدود.", limits_clock: "تبدأ الأيام الساعة 00:00 بتوقيت {{timezone}}، بما في ذلك الحدود المحسوبة من بداية الاشتراك.", add_limit: "إضافة حد", remove_limit: "إزالة الحد", meter: "المقياس", custom_meter: "مقياس مخصَّص…", amount: "الكمية", amount_cost: "الكمية (العملة)", window: "النافذة", unit: { minute_zero: "دقيقة", minute_one: "دقيقة", minute_two: "دقيقة", minute_few: "دقائق", minute_many: "دقيقة", minute_other: "دقيقة", hour_zero: "ساعة", hour_one: "ساعة", hour_two: "ساعة", hour_few: "ساعات", hour_many: "ساعة", hour_other: "ساعة", day_zero: "يوم", day_one: "يوم", day_two: "يوم", day_few: "أيام", day_many: "يوم", day_other: "يوم", week_zero: "أسبوع", week_one: "أسبوع", week_two: "أسبوع", week_few: "أسابيع", week_many: "أسبوع", week_other: "أسبوع", month_zero: "شهر", month_one: "شهر", month_two: "شهر", month_few: "أشهر", month_many: "شهر", month_other: "شهر" }, anchor: "يُحسب من", anchor_calendar: "التقويم", anchor_subscription: "بداية الاشتراك", anchor_multi_help: "لا يحتوي التقويم إلا على دقائق وساعات وأيام وأسابيع وأشهر مفردة يمكن المحاذاة معها، لذا تُحسب نافذة «{{window}}» من بداية الاشتراك.", features: "الميزات", features_help: "ما يحصل عليه مستخدمو هذه الخطة إلى جانب حدودها. يحصل المستخدمون بلا خطة على القيمة الافتراضية لكل ميزة.", features_code_help: "تبقى المفاتيح التي تغيّرها هنا بعد إعادة النشر؛ وإذا أعدت ميزة إلى ما يقوله الكود فإنها تتبع الكود من جديد.", feature_overridden: "مُغيَّرة هنا", feature_builtin: "مدمجة", feature_names: { voice_input: "الإدخال الصوتي" }, feature_descriptions: { voice_input: "أملِ رسائلك بالميكروفون في مربع الكتابة." }, no_features: "لا شيء", custom_features: "قيم مخصصة (JSON)", custom_features_help: "تُمرَّر إلى الوكيل كما هي. لا يقرؤها Gentiq.", unlimited: "غير محدود", subscribers: "الاشتراكات", badge_code: "في الكود", badge_archived: "مؤرشفة", badge_default: "افتراضية", archive: "أرشفة", unarchive: "استعادة", delete_title: "حذف {{name}}", delete_unused: "لا أحد على هذه الخطة. تحتفظ الاشتراكات السابقة بمفتاحها في سجلها.", delete_in_use: "الاشتراكات النشطة أو المجدولة على هذه الخطة: {{count}}.", delete_is_default: "وهي أيضًا الوصول الافتراضي.", replace_with: "نقلهم إلى", replace_with_help: "يُنقلون إلى هذه الخطة كما لو أنك أسندتها إليهم: تبدأ اليوم، أو حين كان سيبدأ اشتراك مجدول، وتستمر بمدة هذه الخطة وحدودها. لا يُحتفظ بشيء من الاشتراك القديم. وإن كانت هذه الخطة هي الوصول الافتراضي، تصبح الخطة الجديدة هي الافتراضية.", no_replacement: "أنشئ خطة أخرى أولًا: يحتاج مستخدمو هذه الخطة إلى خطة ينتقلون إليها.", read_only: "هذه الخطة معرَّفة في كود التطبيق. غيّرها هناك وأعد النشر.", no_plans: "لا توجد خطط بعد. يحصل المستخدمون على الوصول الافتراضي حتى تنشئ خطة وتعيّنها.", invalid_limits: "يحتاج كل حد إلى مقياس، وكمية 0 أو أكثر، ونافذة من وحدة كاملة واحدة أو أكثر.", subtitle: "يحصل المستخدمون الذين لم يُعيَّن لهم شيء على الوصول الافتراضي. {{access}}.", duration: "المدة", duration_help: "المدة التي تستمر فيها الخطة بعد تعيينها. تُطبَّق حدودها ضمن هذه المدة — فالخطة السنوية قد لا تسمح إلا بكمية محدودة في اليوم وفي الأسبوع. لا يتجدد شيء تلقائيًا: عيّن الخطة مرة أخرى عندما يدفع المستخدم مجددًا.", duration_custom: "مخصَّصة…", duration_every: "عدد الوحدات", invalid_duration: "تحتاج المدة المخصَّصة إلى عدد صحيح يساوي 1 أو أكثر.", align: "تنتهي", align_day: "عند بداية اليوم", align_calendar: "حسب التقويم", align_day_help: "تُحسب من بداية اليوم الذي تُمنح فيه: شهر من 16 سبتمبر ينتهي في 16 أكتوبر الساعة 00:00 بتوقيت {{timezone}}.", align_calendar_help: "تُعدّ الفترة التي تُمنح فيها الفترة الأولى، فتنتهي الساعة 00:00 بتوقيت {{timezone}} في أول يوم من شهر أو أسبوع أو سنة في تقويم الحصص: شهر من 25 شهريور ينتهي في 1 مهر.", align_calendar_short: "تنتهي حسب التقويم" }, k = { title: "التكاملات", subtitle: "مفاتيح API للمنصّات التي تسجّل دخول مستخدميها إلى هذه المحادثة.", add_key: "مفتاح API جديد", name: "الاسم", name_placeholder: "مثال: بوابة المدرسة", scopes: "الصلاحيات", key: "المفتاح", created: "أُنشئ في {{datetime}}", last_used: "آخر استخدام", never_used: "أبدًا", status: "الحالة", active: "نشط", revoked: "مُلغى", revoke: "إلغاء", confirm_revoke: "هل تريد إلغاء هذا المفتاح؟ سترفض فورًا الطلبات التي تستخدمه.", secret_title: "انسخ مفتاحك الجديد", secret_help: "لن يُعرَض هذا المفتاح إلا هذه المرة فقط. احتفظ به على خادم المنصّة، ولا تضعه أبدًا في متصفح.", copy: "نسخ", copied: "تم النسخ", done: "تم", no_keys: "لا توجد مفاتيح API بعد.", scope_required: "اختر صلاحية واحدة على الأقل.", scope: { users_read: "قراءة المستخدمين", users_write: "إنشاء المستخدمين وتحديثهم", sessions_write: "تسجيل دخول المستخدمين", subscriptions_read: "قراءة الاشتراكات", subscriptions_write: "تعيين الخطط وإنهاؤها", credits_write: "إضافة رصيد", usage_read: "قراءة الاستهلاك", plans_read: "قراءة الخطط" } }, x = { banner: "وضع الصيانة مفعّل. لا يستطيع المستخدمون إرسال الرسائل.", banner_manage: "إدارة", maintenance: { title: "وضع الصيانة", help: "أغلق المحادثة أمام الرسائل الجديدة واعرض إشعارًا للمستخدمين. يبقى سجلّ المحادثات قابلًا للقراءة.", unavailable: "وضع الصيانة معطّل في شيفرة هذا التطبيق.", operational: "يعمل: المحادثة مفتوحة", active: "قيد الصيانة", scheduled: "صيانة مجدولة", by_rule: "قاعدة مراقبة: {{rule}}", by_admin: "{{admin}}", display_banner: "شريط أعلى المحادثة", display_fullscreen: "ملء الشاشة", started_by: "بدأها", reason: "السبب", reason_placeholder: "لسجل الحوادث؛ لا يراه المستخدمون", starts_at: "تبدأ", since: "منذ", ends_at: "تنتهي", until_ended: "عندما يُنهيها مشرف", notice: "الإشعار", notice_title: "العنوان", notice_message: "الرسالة", notice_help: "اتركه فارغًا لعرض الإشعار الافتراضي بلغة كل مستخدم.", display: "طريقة العرض", schedule_help: "اترك «تبدأ» فارغًا للبدء الآن، و«تنتهي» فارغًا لإبقائها حتى تُنهيها بنفسك.", start: "بدء الصيانة", schedule: "جدولة الصيانة", end: "إنهاء الصيانة", started: "تم تفعيل وضع الصيانة", scheduled_toast: "تمت جدولة الصيانة", ended: "تم إيقاف وضع الصيانة" }, rules: { title: "قواعد المراقبة", help: "فحوص يُجريها التطبيق على حركة المحادثة الخاصة به. تُسجَّل القاعدة التي تنطلق أدناه، ويمكنها وضع المحادثة في الصيانة تلقائيًا.", default_display: "الإشعار المعروض عندما تبدأ قاعدةٌ الصيانة", default_display_help: "تستخدم القواعد العنوان والرسالة الافتراضيين.", tripped: "انطلقت", action: "عند انطلاقها", action_notify: "تسجيل وإشعار", action_maintenance: "بدء الصيانة", auto_resolve: "إنهاء الصيانة بعد (ثانية)", auto_resolve_never: "أبدًا: يُنهيها مشرف", save: "حفظ", discard: "تجاهل", saved: "تم حفظ قاعدة المراقبة", model_quota: { name: "نفاد حصة النموذج", description: "يُفيد مزوّد النموذج بأن حصة الحساب أو رصيده قد نفد. تفشل كل الإجابات حتى يُعاد شحنه." }, error_rate: { name: "إجابات فاشلة", description: "انتهت نسبة كبيرة من الإجابات الأخيرة بخطأ أو عادت فارغة." }, hung_streams: { name: "إجابات عالقة", description: "إجابات بدأت ولم تنتهِ قط. هكذا يظهر توقف المحادثة عن الرد بصمت." } }, params: { window_s: "النافذة الزمنية (ثانية)", min_errors: "أخطاء الحصة", threshold: "نسبة الفشل (0–1)", min_samples: "الحد الأدنى للإجابات", max_age_s: "عالقة بعد (ثانية)", min_count: "الإجابات العالقة" }, worker: { title: "آخر {{minutes}} دقيقة على هذا الخادم", help: "عملية الخادم التي أجابت عن هذه الصفحة فقط. استخدم Grafana للنشر بأكمله.", turns: "الإجابات", success_ratio: "تمت الإجابة", errors: "الأخطاء", empty: "فارغة", inflight: "قيد البث الآن", oldest_inflight: "أقدم بث" }, error_kinds: { quota: "الحصة", rate_limit: "حدّ المعدّل", auth: "مفتاح API", timeout: "انتهاء المهلة", provider_5xx: "عطل لدى المزوّد", bad_response: "استجابة غير صالحة", other: "أخرى" }, incidents: { title: "الحوادث", help: "قواعد المراقبة التي انطلقت وفترات الصيانة، الأحدث أولًا.", empty: "لا توجد حوادث بعد.", manual: "صيانة بواسطة مشرف", open: "جارية", resolved: "تم حلّها", resolved_at: "حُلّت {{time}}" } }, q = { placeholder: "اختر التاريخ والوقت", clear: "مسح", previous_month: "الشهر السابق", next_month: "الشهر التالي", calendar_persian: "هجري شمسي", calendar_gregory: "ميلادي", time: "الوقت", hour: "الساعة", minute: "الدقيقة", now: "الآن", done: "تم" }, S = {
3
+ select_placeholder: e,
4
+ loading: t,
5
+ retry: a,
6
+ save: "حفظ",
7
+ saving: _,
8
+ cancel: s,
9
+ delete: "حذف",
10
+ edit: o,
11
+ search: "بحث",
12
+ search_placeholder: n,
13
+ no_data: r,
14
+ loading_more: i,
15
+ confirm_delete: l,
16
+ error_loading: d,
17
+ close: c,
18
+ jobs: u,
19
+ dashboard: p,
20
+ app_settings: m,
21
+ analytics: h,
22
+ chat_history: g,
23
+ users: v,
24
+ admins: f,
25
+ errors: y,
26
+ login: w,
27
+ plans: b,
28
+ integrations: k,
29
+ status: x,
30
+ date_picker: q
31
+ };
32
+ export {
33
+ f as admins,
34
+ h as analytics,
35
+ m as app_settings,
36
+ s as cancel,
37
+ g as chat_history,
38
+ c as close,
39
+ l as confirm_delete,
40
+ p as dashboard,
41
+ q as date_picker,
42
+ S as default,
43
+ o as edit,
44
+ d as error_loading,
45
+ y as errors,
46
+ k as integrations,
47
+ u as jobs,
48
+ t as loading,
49
+ i as loading_more,
50
+ w as login,
51
+ r as no_data,
52
+ b as plans,
53
+ a as retry,
54
+ z as save,
55
+ _ as saving,
56
+ P as search,
57
+ n as search_placeholder,
58
+ e as select_placeholder,
59
+ x as status,
60
+ v as users
61
+ };