stat2025 commited on
Commit
8ee0039
·
verified ·
1 Parent(s): b336f8b

Upload 2 files

Browse files
Files changed (2) hide show
  1. DATA_generated.js +307 -0
  2. script.js +205 -179
DATA_generated.js ADDED
@@ -0,0 +1,307 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // بيانات الروابط (تم توليدها من ملف Excel)
2
+ const DATA = [
3
+ {
4
+ "name": "أبرار ناصر المطيري",
5
+ "url": "https://stat2025-map.static.hf.space/FIS/13.html"
6
+ },
7
+ {
8
+ "name": "أحمد حمود محمد الحربي",
9
+ "url": "https://stat2025-map.static.hf.space/BCS/59.html"
10
+ },
11
+ {
12
+ "name": "أروى سعيد بن عبدالله القحطاني",
13
+ "url": "https://stat2025-map.static.hf.space/BCS/29.html"
14
+ },
15
+ {
16
+ "name": "أماني مصطفى بن عبدالله الطيب",
17
+ "url": "https://stat2025-map.static.hf.space/BCS/42.html"
18
+ },
19
+ {
20
+ "name": "أمل احمد محمد مجرشي",
21
+ "url": "https://stat2025-map.static.hf.space/BCS/01.html"
22
+ },
23
+ {
24
+ "name": "أمل بنت علي بن علي السماعيل",
25
+ "url": "https://stat2025-map.static.hf.space/BCS/50.html"
26
+ },
27
+ {
28
+ "name": "أمل جعفر بن علي آل حماد",
29
+ "url": "https://stat2025-map.static.hf.space/BCS/40.html"
30
+ },
31
+ {
32
+ "name": "أمل صالح بن احمد آل مزعل",
33
+ "url": "https://stat2025-map.static.hf.space/BCS/06.html"
34
+ },
35
+ {
36
+ "name": "احلام صالح معيوض العصيمي",
37
+ "url": "https://stat2025-map.static.hf.space/BCS/43.html"
38
+ },
39
+ {
40
+ "name": "احمد متعب بن عوض الحربي",
41
+ "url": "https://stat2025-map.static.hf.space/BCS/56.html"
42
+ },
43
+ {
44
+ "name": "اسراء محمد بن علي الاصيل",
45
+ "url": "https://stat2025-map.static.hf.space/BCS/39.html"
46
+ },
47
+ {
48
+ "name": "اسعد بن ماجد بن احمد الهاشم",
49
+ "url": "https://stat2025-map.static.hf.space/BCS/37.html"
50
+ },
51
+ {
52
+ "name": "اسماء بنت محمد بن حسين العدساني",
53
+ "url": "https://stat2025-map.static.hf.space/BCS/52.html"
54
+ },
55
+ {
56
+ "name": "اشواق عبدالكريم الحنطي",
57
+ "url": "https://stat2025-map.static.hf.space/FIS/07.html"
58
+ },
59
+ {
60
+ "name": "الجازي معيض هادي ال دعلان",
61
+ "url": "https://stat2025-map.static.hf.space/BCS/36.html"
62
+ },
63
+ {
64
+ "name": "ايمان عبدالعزيز بن صالح الصالح",
65
+ "url": "https://stat2025-map.static.hf.space/BCS/09.html"
66
+ },
67
+ {
68
+ "name": "ايمان عبدالعزيز بن صالح الصالح",
69
+ "url": "https://stat2025-map.static.hf.space/BCS/23.html"
70
+ },
71
+ {
72
+ "name": "باسمه احمد بن محمد القرني",
73
+ "url": "https://stat2025-map.static.hf.space/BCS/31.html"
74
+ },
75
+ {
76
+ "name": "باقر عبدالله بن هاشم الهاشم",
77
+ "url": "https://stat2025-map.static.hf.space/BCS/47.html"
78
+ },
79
+ {
80
+ "name": "بخيته عادل احمد الدوسري",
81
+ "url": "https://stat2025-map.static.hf.space/BCS/12.html"
82
+ },
83
+ {
84
+ "name": "جمانه عزيز الخريصي",
85
+ "url": "https://stat2025-map.static.hf.space/FIS/04.html"
86
+ },
87
+ {
88
+ "name": "حسن عادل بن حسين الوصيبعي",
89
+ "url": "https://stat2025-map.static.hf.space/BCS/48.html"
90
+ },
91
+ {
92
+ "name": "حسن عبدالله ابوكبوس",
93
+ "url": "https://stat2025-map.static.hf.space/FIS/01.html"
94
+ },
95
+ {
96
+ "name": "حسين علي بن صالح الربيعه",
97
+ "url": "https://stat2025-map.static.hf.space/BCS/19.html"
98
+ },
99
+ {
100
+ "name": "حنين محمد مبارك آل مبارك",
101
+ "url": "https://stat2025-map.static.hf.space/BCS/28.html"
102
+ },
103
+ {
104
+ "name": "خديجة حسين هنبوبه",
105
+ "url": "https://stat2025-map.static.hf.space/FIS/11.html"
106
+ },
107
+ {
108
+ "name": "دانه احمد الدريب",
109
+ "url": "https://stat2025-map.static.hf.space/FIS/09.html"
110
+ },
111
+ {
112
+ "name": "روان سعود بن مرشد الرحيلي",
113
+ "url": "https://stat2025-map.static.hf.space/BCS/45.html"
114
+ },
115
+ {
116
+ "name": "ريم بنت محمد بن عبدالعزيز الملحم",
117
+ "url": "https://stat2025-map.static.hf.space/BCS/04.html"
118
+ },
119
+ {
120
+ "name": "ريما عبدالله السحيباني",
121
+ "url": "https://stat2025-map.static.hf.space/FIS/10.html"
122
+ },
123
+ {
124
+ "name": "زهراء بنت عايش بن علي الصاهود",
125
+ "url": "https://stat2025-map.static.hf.space/BCS/13.html"
126
+ },
127
+ {
128
+ "name": "سارة صالح القحطاني",
129
+ "url": "https://stat2025-map.static.hf.space/FIS/12.html"
130
+ },
131
+ {
132
+ "name": "ساره حسين بن عبدالهادي بوخمسين",
133
+ "url": "https://stat2025-map.static.hf.space/BCS/18.html"
134
+ },
135
+ {
136
+ "name": "ساره خالد سليمان المحيسن",
137
+ "url": "https://stat2025-map.static.hf.space/BCS/20.html"
138
+ },
139
+ {
140
+ "name": "سراب حميد عبدالمجيد السليمان",
141
+ "url": "https://stat2025-map.static.hf.space/BCS/25.html"
142
+ },
143
+ {
144
+ "name": "سلافه عباس محمد العلوي",
145
+ "url": "https://stat2025-map.static.hf.space/BCS/30.html"
146
+ },
147
+ {
148
+ "name": "سميه سامى بن احمد النعيم",
149
+ "url": "https://stat2025-map.static.hf.space/BCS/51.html"
150
+ },
151
+ {
152
+ "name": "شريفه ابراهيم بن عبدالله العقيل",
153
+ "url": "https://stat2025-map.static.hf.space/BCS/33.html"
154
+ },
155
+ {
156
+ "name": "شيماء عبدالرحمن بن دحباش سودي",
157
+ "url": "https://stat2025-map.static.hf.space/BCS/26.html"
158
+ },
159
+ {
160
+ "name": "صالح دلي بن عقلاء الشمري",
161
+ "url": "https://stat2025-map.static.hf.space/BCS/46.html"
162
+ },
163
+ {
164
+ "name": "طيبه فالح بن عبدالله الرويشد",
165
+ "url": "https://stat2025-map.static.hf.space/BCS/11.html"
166
+ },
167
+ {
168
+ "name": "عائشه سليمان بن نايف الحربي",
169
+ "url": "https://stat2025-map.static.hf.space/BCS/44.html"
170
+ },
171
+ {
172
+ "name": "عبدالله سالم الهاجري",
173
+ "url": "https://stat2025-map.static.hf.space/FIS/06.html"
174
+ },
175
+ {
176
+ "name": "عبدالمجيد مشعل محمد الحربي",
177
+ "url": "https://stat2025-map.static.hf.space/BCS/58.html"
178
+ },
179
+ {
180
+ "name": "عبدالهادي عون بن سعييد القحطاني",
181
+ "url": "https://stat2025-map.static.hf.space/BCS/05.html"
182
+ },
183
+ {
184
+ "name": "عقيله محمدحسين بن علي الجباره",
185
+ "url": "https://stat2025-map.static.hf.space/BCS/53.html"
186
+ },
187
+ {
188
+ "name": "غاده سعد بن عبدالرحمن القحطاني",
189
+ "url": "https://stat2025-map.static.hf.space/BCS/08.html"
190
+ },
191
+ {
192
+ "name": "غشمه محمد بن سعد الشهراني",
193
+ "url": "https://stat2025-map.static.hf.space/BCS/14.html"
194
+ },
195
+ {
196
+ "name": "فايزه محمد مسعود الحازمي",
197
+ "url": "https://stat2025-map.static.hf.space/BCS/22.html"
198
+ },
199
+ {
200
+ "name": "فوز عائد نومان المطيري",
201
+ "url": "https://stat2025-map.static.hf.space/BCS/61.html"
202
+ },
203
+ {
204
+ "name": "فيصل تركي فيصل القحطاني",
205
+ "url": "https://stat2025-map.static.hf.space/BCS/34.html"
206
+ },
207
+ {
208
+ "name": "قنوت محمد بن عبدالله آل حماد",
209
+ "url": "https://stat2025-map.static.hf.space/BCS/03.html"
210
+ },
211
+ {
212
+ "name": "لطيفه صالح بن عبدالرحمن العبد القادر",
213
+ "url": "https://stat2025-map.static.hf.space/BCS/32.html"
214
+ },
215
+ {
216
+ "name": "لطيفه علي بن حسين النعيم",
217
+ "url": "https://stat2025-map.static.hf.space/BCS/16.html"
218
+ },
219
+ {
220
+ "name": "لولوه بدر بن حمد الصياح",
221
+ "url": "https://stat2025-map.static.hf.space/BCS/21.html"
222
+ },
223
+ {
224
+ "name": "لين أحمد بن عبدالعزيز القصير",
225
+ "url": "https://stat2025-map.static.hf.space/BCS/35.html"
226
+ },
227
+ {
228
+ "name": "محمد صالح الخضير",
229
+ "url": "https://stat2025-map.static.hf.space/FIS/14.html"
230
+ },
231
+ {
232
+ "name": "محمد فهد محمد الحربي",
233
+ "url": "https://stat2025-map.static.hf.space/BCS/60.html"
234
+ },
235
+ {
236
+ "name": "مرتضى عبدالجليل بن عيسى الحكيم",
237
+ "url": "https://stat2025-map.static.hf.space/BCS/38.html"
238
+ },
239
+ {
240
+ "name": "مصطفى احمد بن جمعه الرمضان",
241
+ "url": "https://stat2025-map.static.hf.space/BCS/49.html"
242
+ },
243
+ {
244
+ "name": "مفلح مشبب علي القحطاني",
245
+ "url": "https://stat2025-map.static.hf.space/FIS/02.html"
246
+ },
247
+ {
248
+ "name": "منى خلف العنزي",
249
+ "url": "https://stat2025-map.static.hf.space/FIS/05.html"
250
+ },
251
+ {
252
+ "name": "منيره سعد بن احمد الجديدي",
253
+ "url": "https://stat2025-map.static.hf.space/BCS/54.html"
254
+ },
255
+ {
256
+ "name": "ناصر عبدالله بن ناصر القحطاني",
257
+ "url": "https://stat2025-map.static.hf.space/BCS/57.html"
258
+ },
259
+ {
260
+ "name": "نايف علي ال قحصان",
261
+ "url": "https://stat2025-map.static.hf.space/FIS/03.html"
262
+ },
263
+ {
264
+ "name": "نايف مطر الشمري",
265
+ "url": "https://stat2025-map.static.hf.space/FIS/15.html"
266
+ },
267
+ {
268
+ "name": "نبأ عادل بن عبدالكريم آل رضوان",
269
+ "url": "https://stat2025-map.static.hf.space/BCS/15.html"
270
+ },
271
+ {
272
+ "name": "نجود عبدالعزيز بن عقيل العمري",
273
+ "url": "https://stat2025-map.static.hf.space/BCS/24.html"
274
+ },
275
+ {
276
+ "name": "ندى ابراهيم بن علي المنصور",
277
+ "url": "https://stat2025-map.static.hf.space/BCS/17.html"
278
+ },
279
+ {
280
+ "name": "نوره عبدالله بن زهير الرزقي",
281
+ "url": "https://stat2025-map.static.hf.space/BCS/10.html"
282
+ },
283
+ {
284
+ "name": "نوف سعود بن سالم الخثعمي",
285
+ "url": "https://stat2025-map.static.hf.space/BCS/02.html"
286
+ },
287
+ {
288
+ "name": "نوف صالح بن محمد السميح",
289
+ "url": "https://stat2025-map.static.hf.space/BCS/55.html"
290
+ },
291
+ {
292
+ "name": "نيللي حسين عبدالله الجعص",
293
+ "url": "https://stat2025-map.static.hf.space/BCS/27.html"
294
+ },
295
+ {
296
+ "name": "وضحاء نائف سعد الشريف",
297
+ "url": "https://stat2025-map.static.hf.space/BCS/07.html"
298
+ },
299
+ {
300
+ "name": "��اسمين عيسى المطوع",
301
+ "url": "https://stat2025-map.static.hf.space/FIS/08.html"
302
+ },
303
+ {
304
+ "name": "يحي علي بن يحي المسين",
305
+ "url": "https://stat2025-map.static.hf.space/BCS/41.html"
306
+ }
307
+ ];
script.js CHANGED
@@ -1,180 +1,206 @@
1
-
2
- const DATA = [{"name": "أبرار ناصر المطيري", "url": "https://stat2025-map.static.hf.space/FIS/13.html"}, {"name": "أروى سعيد بن عبدالله القحطاني", "url": "https://stat2025-map.static.hf.space/BCS/37.html"}, {"name": "أسماء درويش سالم الدوسري", "url": "https://stat2025-map.static.hf.space/BCS/15.html"}, {"name": "أمل احمد محمد مجرشي", "url": "https://stat2025-map.static.hf.space/BCS/28.html"}, {"name": "أمل بنت علي بن علي السماعيل", "url": "https://stat2025-map.static.hf.space/BCS/07.html"}, {"name": "أمل جعفر بن علي آل حماد", "url": "https://stat2025-map.static.hf.space/BCS/30.html"}, {"name": "أمل صالح بن احمد آل مزعل", "url": "https://stat2025-map.static.hf.space/BCS/47.html"}, {"name": "ابرار بنت يوسف بن علي آل حماد", "url": "https://stat2025-map.static.hf.space/BCS/44.html"}, {"name": "احلام صالح معيوض العصيمي", "url": "https://stat2025-map.static.hf.space/BCS/16.html"}, {"name": "اسعد بن ماجد بن احمد الهاشم", "url": "https://stat2025-map.static.hf.space/BCS/46.html"}, {"name": "اسماء بنت محمد بن حسين العدساني", "url": "https://stat2025-map.static.hf.space/BCS/09.html"}, {"name": "اشواق عبدالكريم الحنطي", "url": "https://stat2025-map.static.hf.space/FIS/07.html"}, {"name": "ايمان عبدالعزيز بن صالح الصالح", "url": "https://stat2025-map.static.hf.space/BCS/40.html"}, {"name": "باسمه احمد بن محمد القرني", "url": "https://stat2025-map.static.hf.space/BCS/21.html"}, {"name": "باقر عبدالله بن هاشم الهاشم", "url": "https://stat2025-map.static.hf.space/BCS/11.html"}, {"name": "تركي وحيد بن عيسى المحيفيظ", "url": "https://stat2025-map.static.hf.space/BCS/01.html"}, {"name": "جمانه عزيز الخريصي", "url": "https://stat2025-map.static.hf.space/FIS/04.html"}, {"name": "حسن عادل بن حسين الوصيبعي", "url": "https://stat2025-map.static.hf.space/BCS/03.html"}, {"name": "حسن عبدالله ابوكبوس", "url": "https://stat2025-map.static.hf.space/FIS/01.html"}, {"name": "خديجة حسين هنبوبه", "url": "https://stat2025-map.static.hf.space/FIS/11.html"}, {"name": "دانه احمد الدريب", "url": "https://stat2025-map.static.hf.space/FIS/09.html"}, {"name": "ريما عبدالله السحيباني", "url": "https://stat2025-map.static.hf.space/FIS/10.html"}, {"name": "زكي بن عيسى بن عبدالله القفاص", "url": "https://stat2025-map.static.hf.space/BCS/51.html"}, {"name": "زهراء بنت عايش بن علي الصاهود", "url": "https://stat2025-map.static.hf.space/BCS/33.html"}, {"name": "سارة صالح القحطاني", "url": "https://stat2025-map.static.hf.space/FIS/12.html"}, {"name": "ساره خالد سليمان المحيسن", "url": "https://stat2025-map.static.hf.space/BCS/35.html"}, {"name": "ساره راشد عبدالله المديني", "url": "https://stat2025-map.static.hf.space/BCS/34.html"}, {"name": "ساره عبدالحميد بن حسين البوحمد", "url": "https://stat2025-map.static.hf.space/BCS/12.html"}, {"name": "سميه رياض بن عبدالله البراك", "url": "https://stat2025-map.static.hf.space/BCS/39.html"}, {"name": "سميه سامى بن احمد النعيم", "url": "https://stat2025-map.static.hf.space/BCS/05.html"}, {"name": "شريفه ابراهيم بن عبدالله العقيل", "url": "https://stat2025-map.static.hf.space/BCS/41.html"}, {"name": "شيماء عبدالرحمن بن دحباش سودي", "url": "https://stat2025-map.static.hf.space/BCS/19.html"}, {"name": "صالح دلي الشمري", "url": "https://stat2025-map.static.hf.space/BCS/48.html"}, {"name": "طيبه فالح بن عبدالله الرويشد", "url": "https://stat2025-map.static.hf.space/BCS/31.html"}, {"name": "عائشه سليمان بن نايف الحربي", "url": "https://stat2025-map.static.hf.space/BCS/13.html"}, {"name": "عبدالله خلف الجدعان", "url": "https://stat2025-map.static.hf.space/BCS/49.html"}, {"name": "عبدالله سالم الهاجري", "url": "https://stat2025-map.static.hf.space/FIS/06.html"}, {"name": "عقيله محمدحسين بن علي الجباره", "url": "https://stat2025-map.static.hf.space/BCS/06.html"}, {"name": "علياء فيصل بن محمد الكثيري", "url": "https://stat2025-map.static.hf.space/BCS/36.html"}, {"name": "غدير عبدالعزيز بن سعد القاسم", "url": "https://stat2025-map.static.hf.space/BCS/38.html"}, {"name": "فارس ثاني الشمري", "url": "https://stat2025-map.static.hf.space/BCS/50.html"}, {"name": "فاطمه حسين بن ابراهيم القرقوش", "url": "https://stat2025-map.static.hf.space/BCS/45.html"}, {"name": "فايزه محمد مسعود الحازمي", "url": "https://stat2025-map.static.hf.space/BCS/32.html"}, {"name": "فيصل تركي فيصل القحطاني", "url": "https://stat2025-map.static.hf.space/BCS/18.html"}, {"name": "لطيفه صالح بن عبدالرحمن العبد القادر", "url": "https://stat2025-map.static.hf.space/BCS/25.html"}, {"name": "لطيفه علي بن حسين النعيم", "url": "https://stat2025-map.static.hf.space/BCS/29.html"}, {"name": "لين أحمد بن عبدالعزيز القصير", "url": "https://stat2025-map.static.hf.space/BCS/22.html"}, {"name": "محمد دبيان بن مفرج الشمري", "url": "https://stat2025-map.static.hf.space/BCS/27.html"}, {"name": "محمد صالح الخضير", "url": "https://stat2025-map.static.hf.space/FIS/14.html"}, {"name": "مرتضى عبدالجليل بن عيسى الحكيم", "url": "https://stat2025-map.static.hf.space/BCS/43.html"}, {"name": "مصطفى احمد بن جمعه الرمضان", "url": "https://stat2025-map.static.hf.space/BCS/10.html"}, {"name": "مفلح مشبب علي القحطاني", "url": "https://stat2025-map.static.hf.space/FIS/02.html"}, {"name": "ممدوح مشعل ضيف الله الصخري", "url": "https://stat2025-map.static.hf.space/BCS/26.html"}, {"name": "منى خلف العنزي", "url": "https://stat2025-map.static.hf.space/FIS/05.html"}, {"name": "منيره سعد بن احمد الجديدي", "url": "https://stat2025-map.static.hf.space/BCS/04.html"}, {"name": "منيره سعود بن عبدالعزيز القوز", "url": "https://stat2025-map.static.hf.space/BCS/42.html"}, {"name": "نايف علي ال قحصان", "url": "https://stat2025-map.static.hf.space/FIS/03.html"}, {"name": "نايف مطر الشمري", "url": "https://stat2025-map.static.hf.space/FIS/15.html"}, {"name": "نبأ عادل بن عبدالكريم آل رضوان", "url": "https://stat2025-map.static.hf.space/BCS/23.html"}, {"name": "نجود عبدالعزيز بن عقيل العمري", "url": "https://stat2025-map.static.hf.space/BCS/20.html"}, {"name": "نوره عبدالله بن زهير الرزقي", "url": "https://stat2025-map.static.hf.space/BCS/24.html"}, {"name": "نوره عبدالله بن مانع الخالدي", "url": "https://stat2025-map.static.hf.space/BCS/02.html"}, {"name": "نوف صالح بن محمد السميح", "url": "https://stat2025-map.static.hf.space/BCS/08.html"}, {"name": "نيللي حسين عبدالله الجعص", "url": "https://stat2025-map.static.hf.space/BCS/17.html"}, {"name": "وضحه خالد بن مشرف الخالدي", "url": "https://stat2025-map.static.hf.space/BCS/14.html"}, {"name": "ياسمين عيسى المطوع", "url": "https://stat2025-map.static.hf.space/FIS/08.html"}];
3
-
4
-
5
-
6
- function normalizeArabic(s) {
7
- if (!s) return "";
8
- return String(s)
9
- .trim()
10
- .toLowerCase()
11
- .replace(/[\u064B-\u065F\u0670\u06D6-\u06ED]/g, "")
12
- .replace(/\u0640/g, "")
13
- .replace(/[إأآٱ]/g, "ا")
14
- .replace(/ى/g, "ي")
15
- .replace(/ة/g, "ه")
16
- .replace(/^ال\s+/g, "")
17
- .replace(/\s+/g, " ");
18
- }
19
-
20
- function escapeHtml(str) {
21
- return String(str)
22
- .replaceAll("&", "&")
23
- .replaceAll("<", "&lt;")
24
- .replaceAll(">", "&gt;")
25
- .replaceAll('"', "&quot;")
26
- .replaceAll("'", "&#039;");
27
- }
28
-
29
- function highlightMatch(name, rawQuery) {
30
- if (!rawQuery) return escapeHtml(name);
31
- const tokens = rawQuery.trim().split(/\s+/).filter(Boolean);
32
- if (!tokens.length) return escapeHtml(name);
33
-
34
- const t = tokens[0];
35
- const idx = name.indexOf(t);
36
- if (idx === -1) return escapeHtml(name);
37
-
38
- const before = escapeHtml(name.slice(0, idx));
39
- const mid = escapeHtml(name.slice(idx, idx + t.length));
40
- const after = escapeHtml(name.slice(idx + t.length));
41
- return `${before}<mark>${mid}</mark>${after}`;
42
- }
43
-
44
- const elQ = document.getElementById("q");
45
- const elResults = document.getElementById("results");
46
- const elCount = document.getElementById("countPill");
47
- const elTotal = document.getElementById("totalChip");
48
- const toast = document.getElementById("toast");
49
- const toastText = document.getElementById("toastText");
50
-
51
- elTotal.innerHTML = `إجمالي: <b>${DATA.length}</b>`;
52
-
53
- function showToast(msg = "تم نسخ الرابط") {
54
- toastText.textContent = msg;
55
- toast.classList.add("show");
56
- clearTimeout(window.__toastT);
57
- window.__toastT = setTimeout(() => toast.classList.remove("show"), 1200);
58
- }
59
-
60
- async function copyLink(url) {
61
- try {
62
- await navigator.clipboard.writeText(url);
63
- showToast();
64
- } catch (e) {
65
- const ta = document.createElement("textarea");
66
- ta.value = url;
67
- document.body.appendChild(ta);
68
- ta.select();
69
- document.execCommand("copy");
70
- document.body.removeChild(ta);
71
- showToast();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  }
73
- }
74
-
75
- function renderResults(list, rawQuery) {
76
- elResults.innerHTML = "";
77
-
78
- if (!list.length) {
79
- elCount.textContent = "النتائج: 0";
80
- elResults.innerHTML = `<div class="empty">لا توجد نتائج</div>`;
81
- return;
82
- }
83
-
84
- elCount.textContent = `النتائج: ${list.length}`;
85
- const frag = document.createDocumentFragment();
86
-
87
- list.forEach(item => {
88
- const row = document.createElement("div");
89
- row.className = "result";
90
-
91
- const nm = document.createElement("div");
92
- nm.className = "name";
93
- nm.innerHTML = highlightMatch(item.name, rawQuery);
94
-
95
- const actions = document.createElement("div");
96
- actions.className = "actions";
97
-
98
- const open = document.createElement("a");
99
- open.className = "openBtn";
100
- open.href = item.url;
101
- open.target = "_blank";
102
- open.rel = "noopener";
103
- open.innerHTML = `فتح <span aria-hidden="true">↗</span>`;
104
-
105
- const copy = document.createElement("button");
106
- copy.className = "copyBtn";
107
- copy.type = "button";
108
- copy.innerHTML = `نسخ <span aria-hidden="true">⧉</span>`;
109
- copy.addEventListener("click", () => copyLink(item.url));
110
-
111
- actions.appendChild(open);
112
- actions.appendChild(copy);
113
-
114
- row.appendChild(nm);
115
- row.appendChild(actions);
116
-
117
- frag.appendChild(row);
118
- });
119
-
120
- elResults.appendChild(frag);
121
- }
122
-
123
- function doSearch() {
124
- const raw = (elQ.value || "").trim();
125
- const q = normalizeArabic(raw);
126
-
127
- if (!q) {
128
- elCount.textContent = "النتائج: 0";
129
- elResults.innerHTML = "";
130
- return;
131
- }
132
-
133
- const tokens = q.split(" ").filter(Boolean);
134
-
135
- const matched = DATA.filter(d => {
136
- const nameNorm = normalizeArabic(d.name);
137
- return tokens.every(t => nameNorm.includes(t));
138
- });
139
-
140
- matched.sort((a, b) => {
141
- const al = (a.name || "").length;
142
- const bl = (b.name || "").length;
143
- if (al !== bl) return al - bl;
144
- return (a.name || "").localeCompare(b.name || "", "ar");
145
- });
146
-
147
- renderResults(matched, raw);
148
- }
149
-
150
- document.getElementById("btnSearch").addEventListener("click", doSearch);
151
- document.getElementById("btnClear").addEventListener("click", () => {
152
- elQ.value = "";
153
- elQ.focus();
154
- elResults.innerHTML = "";
155
- elCount.textContent = "النتائج: 0";
156
- });
157
-
158
- let t = null;
159
- elQ.addEventListener("input", () => {
160
- clearTimeout(t);
161
- t = setTimeout(doSearch, 140);
162
- });
163
-
164
- elQ.addEventListener("keydown", (e) => {
165
- if (e.key === "Enter") doSearch();
166
- });
167
-
168
- // Persist last query (invisible)
169
- try {
170
- const last = localStorage.getItem("maps_last_query");
171
- if (last) {
172
- elQ.value = last;
173
- doSearch();
174
- }
175
- elQ.addEventListener("input", () => {
176
- localStorage.setItem("maps_last_query", elQ.value || "");
177
- });
178
- } catch(_){}
179
-
180
- elCount.textContent = "النتائج: 0";
 
1
+ const DATA = [
2
+ {
3
+ "name": "أروى سعيد بن عبدالله القحطاني",
4
+ "url": "https://stat2025-map.static.hf.space/BCS/37.html"
5
+ },
6
+ {
7
+ "name": "أسماء درويش سالم الدوسري",
8
+ "url": "https://stat2025-map.static.hf.space/BCS/15.html"
9
+ },
10
+ {
11
+ "name": "أمل احمد محمد مجرشي",
12
+ "url": "https://stat2025-map.static.hf.space/BCS/28.html"
13
+ },
14
+ {
15
+ "name": "أمل بنت علي بن علي السماعيل",
16
+ "url": "https://stat2025-map.static.hf.space/BCS/07.html"
17
+ },
18
+ {
19
+ "name": "أمل جعفر بن علي آل حماد",
20
+ "url": "https://stat2025-map.static.hf.space/BCS/30.html"
21
+ },
22
+ {
23
+ "name": "أمل صالح بن احمد آل مزعل",
24
+ "url": "https://stat2025-map.static.hf.space/BCS/47.html"
25
+ },
26
+ {
27
+ "name": "ابرار بنت يوسف بن علي آل حماد",
28
+ "url": "https://stat2025-map.static.hf.space/BCS/44.html"
29
+ },
30
+ {
31
+ "name": "احلام صالح معيوض العصيمي",
32
+ "url": "https://stat2025-map.static.hf.space/BCS/16.html"
33
+ },
34
+ {
35
+ "name": "اسعد بن ماجد بن احمد الهاشم",
36
+ "url": "https://stat2025-map.static.hf.space/BCS/46.html"
37
+ },
38
+ {
39
+ "name": "اسماء بنت محمد بن حسين العدساني",
40
+ "url": "https://stat2025-map.static.hf.space/BCS/09.html"
41
+ },
42
+ {
43
+ "name": "ايمان عبدالعزيز بن صالح الصالح",
44
+ "url": "https://stat2025-map.static.hf.space/BCS/40.html"
45
+ },
46
+ {
47
+ "name": "باسمه احمد بن محمد القرني",
48
+ "url": "https://stat2025-map.static.hf.space/BCS/21.html"
49
+ },
50
+ {
51
+ "name": "باقر عبدالله بن هاشم الهاشم",
52
+ "url": "https://stat2025-map.static.hf.space/BCS/11.html"
53
+ },
54
+ {
55
+ "name": "تركي وحيد بن عيسى المحيفيظ",
56
+ "url": "https://stat2025-map.static.hf.space/BCS/01.html"
57
+ },
58
+ {
59
+ "name": "حسن عادل بن حسين الوصيبعي",
60
+ "url": "https://stat2025-map.static.hf.space/BCS/03.html"
61
+ },
62
+ {
63
+ "name": "زكي بن عيسى بن عبدالله القفاص",
64
+ "url": "https://stat2025-map.static.hf.space/BCS/51.html"
65
+ },
66
+ {
67
+ "name": "زهراء بنت عايش بن علي الصاهود",
68
+ "url": "https://stat2025-map.static.hf.space/BCS/33.html"
69
+ },
70
+ {
71
+ "name": "ساره خالد سليمان المحيسن",
72
+ "url": "https://stat2025-map.static.hf.space/BCS/35.html"
73
+ },
74
+ {
75
+ "name": "ساره راشد عبدالله المديني",
76
+ "url": "https://stat2025-map.static.hf.space/BCS/34.html"
77
+ },
78
+ {
79
+ "name": "ساره عبدالحميد بن حسين البوحمد",
80
+ "url": "https://stat2025-map.static.hf.space/BCS/12.html"
81
+ },
82
+ {
83
+ "name": "سميه رياض بن عبدالله البراك",
84
+ "url": "https://stat2025-map.static.hf.space/BCS/39.html"
85
+ },
86
+ {
87
+ "name": "سميه سامى بن احمد النعيم",
88
+ "url": "https://stat2025-map.static.hf.space/BCS/05.html"
89
+ },
90
+ {
91
+ "name": "شريفه ابراهيم بن عبدالله العقيل",
92
+ "url": "https://stat2025-map.static.hf.space/BCS/41.html"
93
+ },
94
+ {
95
+ "name": "شيماء عبدالرحمن بن دحباش سودي",
96
+ "url": "https://stat2025-map.static.hf.space/BCS/19.html"
97
+ },
98
+ {
99
+ "name": "صالح دلي الشمري",
100
+ "url": "https://stat2025-map.static.hf.space/BCS/48.html"
101
+ },
102
+ {
103
+ "name": "طيبه فالح بن عبدالله الرويشد",
104
+ "url": "https://stat2025-map.static.hf.space/BCS/31.html"
105
+ },
106
+ {
107
+ "name": "عائشه سليمان بن نايف الحربي",
108
+ "url": "https://stat2025-map.static.hf.space/BCS/13.html"
109
+ },
110
+ {
111
+ "name": "عبدالله خلف الجدعان",
112
+ "url": "https://stat2025-map.static.hf.space/BCS/49.html"
113
+ },
114
+ {
115
+ "name": "عقيله محمدحسين بن علي الجباره",
116
+ "url": "https://stat2025-map.static.hf.space/BCS/06.html"
117
+ },
118
+ {
119
+ "name": "علياء فيصل بن محمد الكثيري",
120
+ "url": "https://stat2025-map.static.hf.space/BCS/36.html"
121
+ },
122
+ {
123
+ "name": "غدير عبدالعزيز بن سعد القاسم",
124
+ "url": "https://stat2025-map.static.hf.space/BCS/38.html"
125
+ },
126
+ {
127
+ "name": "فارس ثاني الشمري",
128
+ "url": "https://stat2025-map.static.hf.space/BCS/50.html"
129
+ },
130
+ {
131
+ "name": "فاطمه حسين بن ابراهيم القرقوش",
132
+ "url": "https://stat2025-map.static.hf.space/BCS/45.html"
133
+ },
134
+ {
135
+ "name": "فايزه محمد مسعود الحازمي",
136
+ "url": "https://stat2025-map.static.hf.space/BCS/32.html"
137
+ },
138
+ {
139
+ "name": "فيصل تركي فيصل القحطاني",
140
+ "url": "https://stat2025-map.static.hf.space/BCS/18.html"
141
+ },
142
+ {
143
+ "name": "لطيفه صالح بن عبدالرحمن العبد القادر",
144
+ "url": "https://stat2025-map.static.hf.space/BCS/25.html"
145
+ },
146
+ {
147
+ "name": "لطيفه علي بن حسين النعيم",
148
+ "url": "https://stat2025-map.static.hf.space/BCS/29.html"
149
+ },
150
+ {
151
+ "name": "لين أحمد بن عبدالعزيز القصير",
152
+ "url": "https://stat2025-map.static.hf.space/BCS/22.html"
153
+ },
154
+ {
155
+ "name": "محمد دبيان بن مفرج الشمري",
156
+ "url": "https://stat2025-map.static.hf.space/BCS/27.html"
157
+ },
158
+ {
159
+ "name": "مرتضى عبدالجليل بن عيسى الحكيم",
160
+ "url": "https://stat2025-map.static.hf.space/BCS/43.html"
161
+ },
162
+ {
163
+ "name": "مصطفى احمد بن جمعه الرمضان",
164
+ "url": "https://stat2025-map.static.hf.space/BCS/10.html"
165
+ },
166
+ {
167
+ "name": "ممدوح مشعل ضيف الله الصخري",
168
+ "url": "https://stat2025-map.static.hf.space/BCS/26.html"
169
+ },
170
+ {
171
+ "name": "منيره سعد بن احمد الجديدي",
172
+ "url": "https://stat2025-map.static.hf.space/BCS/04.html"
173
+ },
174
+ {
175
+ "name": "منيره سعود بن عبدالعزيز القوز",
176
+ "url": "https://stat2025-map.static.hf.space/BCS/42.html"
177
+ },
178
+ {
179
+ "name": "نبأ عادل بن عبدالكريم آل رضوان",
180
+ "url": "https://stat2025-map.static.hf.space/BCS/23.html"
181
+ },
182
+ {
183
+ "name": "نجود عبدالعزيز بن عقيل العمري",
184
+ "url": "https://stat2025-map.static.hf.space/BCS/20.html"
185
+ },
186
+ {
187
+ "name": "نوره عبدالله بن زهير الرزقي",
188
+ "url": "https://stat2025-map.static.hf.space/BCS/24.html"
189
+ },
190
+ {
191
+ "name": "نوره عبدالله بن مانع الخالدي",
192
+ "url": "https://stat2025-map.static.hf.space/BCS/02.html"
193
+ },
194
+ {
195
+ "name": "نوف صالح بن محمد السميح",
196
+ "url": "https://stat2025-map.static.hf.space/BCS/08.html"
197
+ },
198
+ {
199
+ "name": "نيللي حسين عبدالله الجعص",
200
+ "url": "https://stat2025-map.static.hf.space/BCS/17.html"
201
+ },
202
+ {
203
+ "name": "وضحه خالد بن مشرف الخالدي",
204
+ "url": "https://stat2025-map.static.hf.space/BCS/14.html"
205
  }
206
+ ];