استكمال قرار 2026-07-27 (كوميت fff76c9 أرشف الباك إند):
apps/rider → apps/rider-archive-cubit
apps/driver → apps/driver-archive-cubit
dashboards/admin-web → dashboards/admin-web-archive
dashboards/service-web → dashboards/service-web-archive
إعادة تسمية بلا تعديل محتوى. rider/driver كانا إعادة بناء Cubit مبنية على
عقد NestJS المؤرشف. admin-web و service-web نموذجان بملف HTML واحد (164 و
128 سطراً) — يحلّ محلهما siro_admin و siro_service المكتملان.
يُحمل من المؤرشف ولا يُعاد اكتشافه: عقد map-saas المثبَّت بالتجربة في
apps/rider-archive-cubit/lib/core/api/ (x-api-key ترويسة، reverse مصفوفة،
route في points) ودرس مسار FCM.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
48 lines
878 B
Dart
Executable File
48 lines
878 B
Dart
Executable File
// File: lib/secure_string_operations.dart
|
|
|
|
library secure_string_operations;
|
|
|
|
class X {
|
|
static String c(String a, Map<String, String> b) {
|
|
StringBuffer c = StringBuffer();
|
|
c.write(a);
|
|
|
|
String d = "Bl";
|
|
c.write(b[d] ?? d);
|
|
|
|
StringBuffer e = StringBuffer();
|
|
String f = c.toString();
|
|
|
|
for (int g = 0; g < f.length; g++) {
|
|
String h = f[g];
|
|
e.write(b[h] ?? h);
|
|
}
|
|
|
|
return e.toString();
|
|
}
|
|
|
|
static String r(String a, Map<String, String> b) {
|
|
StringBuffer c = StringBuffer();
|
|
String d = "Bl";
|
|
int e = d.length;
|
|
|
|
for (int f = 0; f < a.length; f++) {
|
|
String g = a[f];
|
|
String h = b.keys.firstWhere(
|
|
(i) => b[i] == g,
|
|
orElse: () => g,
|
|
);
|
|
|
|
c.write(h);
|
|
}
|
|
|
|
String j = c.toString();
|
|
|
|
if (j.endsWith(d)) {
|
|
j = j.substring(0, j.length - e);
|
|
}
|
|
|
|
return j;
|
|
}
|
|
}
|