-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiscourse.html
More file actions
700 lines (564 loc) · 48.5 KB
/
discourse.html
File metadata and controls
700 lines (564 loc) · 48.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scaleable=no">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#F0F5FF" id="meta-theme-color">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#F0F5FF" id="meta-ms-nav-color">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" id="meta-apple-status-style">
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- Android Chrome on Lollipop and later -->
<meta name="mobile-web-app-capable" content="yes">
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sahitya:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/mdbassit/Coloris@latest/dist/coloris.min.css" />
<script src="https://cdn.jsdelivr.net/gh/mdbassit/Coloris@latest/dist/coloris.min.js"></script>
<!-- Standard Favicon -->
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<!-- PNG Favicons -->
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<!-- Apple Touch Icon -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<!-- Android/Chrome Icons -->
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="/android-chrome-512x512.png">
<link rel="manifest" href="/site.webmanifest">
<title>Discourse</title>
<link rel="stylesheet" href="/style.css?version=2" type="text/css" media="all" />
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MDXGZJ54HC"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-MDXGZJ54HC');
</script>
</head>
<body>
<nav data-nosnippet>
<a class="logo" href="/index.html">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 1024 1024" fill="currentColor">
<g>
<path fill="currentColor" d="M 483.18 921.50 C467.60,891.00 455.12,865.62 455.44,865.10 C456.18,863.90 470.94,860.43 484.21,858.34 C498.68,856.05 529.02,856.04 543.50,858.31 C554.53,860.04 568.67,863.33 569.77,864.44 C570.09,864.76 567.26,870.98 563.47,878.26 C559.69,885.54 552.29,899.83 547.04,910.02 C541.79,920.21 531.88,939.44 525.01,952.77 C518.13,966.10 512.28,976.99 512.01,976.98 C511.73,976.96 498.75,952.00 483.18,921.50 ZM 564.12 857.30 C540.21,849.72 503.06,849.05 466.03,855.53 C458.62,856.83 452.46,857.79 452.33,857.66 C451.87,857.20 447.74,836.77 432.00,757.00 C413.18,661.71 387.25,530.39 375.99,473.50 C371.64,451.50 365.35,419.55 362.01,402.50 C358.66,385.45 355.67,370.21 355.36,368.64 L 354.79 365.78 L 360.15 366.52 C385.48,369.98 407.62,385.59 418.63,407.75 C420.06,410.64 421.31,413.00 421.40,413.00 C421.49,413.00 426.73,409.61 433.03,405.47 C462.67,386.00 485.73,377.94 511.94,377.88 C537.94,377.82 563.15,386.47 590.76,404.92 L 602.80 412.97 L 615.20 400.70 C628.76,387.29 641.90,376.88 652.00,371.57 C658.43,368.19 667.59,365.26 668.60,366.26 C669.06,366.72 660.56,410.52 618.50,624.50 C606.62,684.96 593.44,752.11 580.44,818.50 C576.24,839.95 572.51,857.98 572.15,858.57 C571.71,859.30 569.11,858.88 564.12,857.30 ZM 538.91 444.02 C549.33,441.89 559.70,438.59 567.39,434.96 L 572.28 432.65 L 570.00 430.80 C566.06,427.61 551.81,420.31 544.35,417.66 C523.57,410.27 501.45,410.21 480.09,417.47 C472.37,420.10 458.86,426.94 454.44,430.47 L 451.73 432.63 L 461.61 436.43 C473.84,441.12 487.89,444.75 498.46,445.96 C509.53,447.22 527.43,446.36 538.91,444.02 ZM 434.47 825.81 C430.99,815.26 421.36,793.31 414.81,781.00 C389.89,734.19 355.34,689.24 307.55,641.46 C260.06,593.98 205.48,549.58 146.00,510.04 C135.82,503.28 127.07,497.36 126.55,496.87 C126.01,496.37 176.72,496.00 244.83,496.00 C339.35,496.00 364.14,496.26 364.44,497.25 C364.65,497.94 368.72,516.50 373.49,538.50 C378.25,560.50 385.69,594.70 390.02,614.50 C394.35,634.30 406.49,689.88 416.99,738.00 C427.49,786.12 436.54,827.23 437.10,829.35 C439.03,836.59 437.21,834.14 434.47,825.81 ZM 585.58 830.50 C585.91,828.85 589.49,812.42 593.52,794.00 C597.56,775.58 612.36,707.85 626.41,643.50 C640.47,579.15 653.44,519.75 655.25,511.50 L 658.53 496.50 L 777.26 496.25 C842.57,496.11 896.00,496.33 896.00,496.75 C896.00,497.16 891.39,500.43 885.75,504.00 C872.14,512.63 845.15,531.56 826.01,545.90 C731.85,616.45 656.96,695.08 615.94,766.50 C607.48,781.22 595.06,807.17 590.57,819.50 C586.17,831.59 584.68,834.87 585.58,830.50 ZM 354.58 361.86 C352.48,349.00 350.79,329.65 350.32,313.00 C348.73,257.36 362.95,212.99 392.54,181.20 C420.17,151.51 459.76,134.16 504.00,132.35 C578.24,129.31 639.21,167.48 662.96,231.88 C671.00,253.70 674.41,276.32 674.29,307.00 C674.21,327.94 671.44,360.86 669.50,364.00 C668.53,365.57 653.89,365.18 648.79,363.45 C635.98,359.08 628.09,343.93 628.00,323.50 C627.96,314.03 624.95,300.07 620.69,289.62 C606.05,253.72 558.28,225.63 512.00,225.72 C479.92,225.79 444.84,240.20 422.59,262.45 C405.82,279.21 399.12,295.03 396.53,324.00 C394.95,341.70 393.27,347.80 388.14,354.53 C382.60,361.77 376.76,364.36 364.84,364.84 L 355.13 365.23 L 354.58 361.86 Z" />
</g>
</svg>
OSHORead</a>
<ul class="menu">
<li><a href="contact.html">Contact</a></li>
<li><a href="about.html">About</a></li>
<li><a href="privacy-policy.html">Privacy Policy</a></li>
<div class="smol-grid">
<li>
<a href="https://discord.gg/EnQA8eRsbw">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M19.27 5.33C17.94 4.71 16.5 4.26 15 4a.1.1 0 0 0-.07.03c-.18.33-.39.76-.53 1.09a16.1 16.1 0 0 0-4.8 0c-.14-.34-.35-.76-.54-1.09c-.01-.02-.04-.03-.07-.03c-1.5.26-2.93.71-4.27 1.33c-.01 0-.02.01-.03.02c-2.72 4.07-3.47 8.03-3.1 11.95c0 .02.01.04.03.05c1.8 1.32 3.53 2.12 5.24 2.65c.03.01.06 0 .07-.02c.4-.55.76-1.13 1.07-1.74c.02-.04 0-.08-.04-.09c-.57-.22-1.11-.48-1.64-.78c-.04-.02-.04-.08-.01-.11c.11-.08.22-.17.33-.25c.02-.02.05-.02.07-.01c3.44 1.57 7.15 1.57 10.55 0c.02-.01.05-.01.07.01c.11.09.22.17.33.26c.04.03.04.09-.01.11c-.52.31-1.07.56-1.64.78c-.04.01-.05.06-.04.09c.32.61.68 1.19 1.07 1.74c.03.01.06.02.09.01c1.72-.53 3.45-1.33 5.25-2.65c.02-.01.03-.03.03-.05c.44-4.53-.73-8.46-3.1-11.95c-.01-.01-.02-.02-.04-.02M8.52 14.91c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.84 2.12-1.89 2.12m6.97 0c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.83 2.12-1.89 2.12"/></svg>
</a>
</li>
<li>
<a href="https://t.me/oshoread">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m4.64 6.8c-.15 1.58-.8 5.42-1.13 7.19c-.14.75-.42 1-.68 1.03c-.58.05-1.02-.38-1.58-.75c-.88-.58-1.38-.94-2.23-1.5c-.99-.65-.35-1.01.22-1.59c.15-.15 2.71-2.48 2.76-2.69a.2.2 0 0 0-.05-.18c-.06-.05-.14-.03-.21-.02c-.09.02-1.49.95-4.22 2.79c-.4.27-.76.41-1.08.4c-.36-.01-1.04-.2-1.55-.37c-.63-.2-1.12-.31-1.08-.66c.02-.18.27-.36.74-.55c2.92-1.27 4.86-2.11 5.83-2.51c2.78-1.16 3.35-1.36 3.73-1.36c.08 0 .27.02.39.12c.1.08.13.19.14.27c-.01.06.01.24 0 .38" stroke-width="0.2" stroke="currentColor"/></svg>
</a>
</li>
<li>
<a href="https://github.com/oshoapp">
<!--Tab to edit-->
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33s1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2"/></svg>
</a>
</li>
<li onclick="toggleTheme()">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M12 19a1 1 0 0 1 .993.883L13 20v1a1 1 0 0 1-1.993.117L11 21v-1a1 1 0 0 1 1-1m6.313-2.09l.094.083l.7.7a1 1 0 0 1-1.32 1.497l-.094-.083l-.7-.7a1 1 0 0 1 1.218-1.567zm-11.306.083a1 1 0 0 1 .083 1.32l-.083.094l-.7.7a1 1 0 0 1-1.497-1.32l.083-.094l.7-.7a1 1 0 0 1 1.414 0M4 11a1 1 0 0 1 .117 1.993L4 13H3a1 1 0 0 1-.117-1.993L3 11zm17 0a1 1 0 0 1 .117 1.993L21 13h-1a1 1 0 0 1-.117-1.993L20 11zM6.213 4.81l.094.083l.7.7a1 1 0 0 1-1.32 1.497l-.094-.083l-.7-.7A1 1 0 0 1 6.11 4.74zm12.894.083a1 1 0 0 1 .083 1.32l-.083.094l-.7.7a1 1 0 0 1-1.497-1.32l.083-.094l.7-.7a1 1 0 0 1 1.414 0M12 2a1 1 0 0 1 .993.883L13 3v1a1 1 0 0 1-1.993.117L11 4V3a1 1 0 0 1 1-1m0 5a5 5 0 1 1-4.995 5.217L7 12l.005-.217A5 5 0 0 1 12 7"/></svg>
</li>
</div>
</ul>
<a href="https://discord.gg/EnQA8eRsbw" class="hamburger">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M4 18q-.425 0-.712-.288T3 17t.288-.712T4 16h16q.425 0 .713.288T21 17t-.288.713T20 18zm0-5q-.425 0-.712-.288T3 12t.288-.712T4 11h16q.425 0 .713.288T21 12t-.288.713T20 13zm0-5q-.425 0-.712-.288T3 7t.288-.712T4 6h16q.425 0 .713.288T21 7t-.288.713T20 8z"/></svg>
</a>
</nav>
<div class="container">
<p id="content-paragraph">
</p>
<div id="highlight-toolbar" class="highlight-toolbar" data-nosnippet>
<button id="apply-highlight-btn" class="visible">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 20 20"><path fill="currentColor" d="M4.5 2A1.5 1.5 0 0 0 3 3.5v3A1.5 1.5 0 0 0 4.5 8h11A1.5 1.5 0 0 0 17 6.5v-3A1.5 1.5 0 0 0 15.5 2zM6 11a2 2 0 0 1-2-2h12a2 2 0 0 1-2 2zm0 1h8v1.074a2 2 0 0 1-1.106 1.789l-6.17 3.085A.5.5 0 0 1 6 17.501z"/></svg>
</button>
<button id="apply-underline-btn" class="visible">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><g fill="none"><path d="m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"/><path fill="currentColor" d="M18 18.5a1.5 1.5 0 0 1 .144 2.993L18 21.5H6a1.5 1.5 0 0 1-.144-2.993L6 18.5zm-1-16a1.5 1.5 0 0 1 1.493 1.356L18.5 4v7a6.5 6.5 0 0 1-12.996.233L5.5 11V4a1.5 1.5 0 0 1 2.993-.144L8.5 4v7a3.5 3.5 0 0 0 6.995.192L15.5 11V4A1.5 1.5 0 0 1 17 2.5"/></g></svg>
</button>
<button id="copy-btn" class="visible">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M7 9.667A2.667 2.667 0 0 1 9.667 7h8.666A2.667 2.667 0 0 1 21 9.667v8.666A2.667 2.667 0 0 1 18.333 21H9.667A2.667 2.667 0 0 1 7 18.333z"/><path d="M4.012 16.737A2 2 0 0 1 3 15V5c0-1.1.9-2 2-2h10c.75 0 1.158.385 1.5 1"/></g></svg>
</button>
<button id="share-btn" class="visible">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path fill="currentColor" d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81c1.66 0 3-1.34 3-3s-1.34-3-3-3s-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65c0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92"/></svg>
</button>
<button id="delete-style-btn" class="hidden">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path fill="currentColor" d="M2.75 6.167c0-.46.345-.834.771-.834h2.665c.529-.015.996-.378 1.176-.916l.03-.095l.115-.372c.07-.228.131-.427.217-.605c.338-.702.964-1.189 1.687-1.314c.184-.031.377-.031.6-.031h3.478c.223 0 .417 0 .6.031c.723.125 1.35.612 1.687 1.314c.086.178.147.377.217.605l.115.372l.03.095c.18.538.74.902 1.27.916h2.57c.427 0 .772.373.772.834S20.405 7 19.979 7H3.52c-.426 0-.771-.373-.771-.833M11.607 22h.787c2.707 0 4.06 0 4.941-.863c.88-.864.97-2.28 1.15-5.111l.26-4.081c.098-1.537.147-2.305-.295-2.792s-1.187-.487-2.679-.487H8.23c-1.491 0-2.237 0-2.679.487s-.392 1.255-.295 2.792l.26 4.08c.18 2.833.27 4.248 1.15 5.112S8.9 22 11.607 22"/></svg>
</button>
<div class="color-palette" id="color-palette"></div>
</div>
</div>
<div class="fab" onclick="toggleDropdown()" data-nosnippet>
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 16 16">
<path fill="#fff" fill-rule="evenodd" d="M12 6.5a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3M12 8a3 3 0 1 0-2.905-3.75H1.75a.75.75 0 0 0 0 1.5h7.345A3 3 0 0 0 12 8m-6.5 3a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0m1.405.75A3.001 3.001 0 0 1 1 11a3 3 0 0 1 5.905-.75h7.345a.75.75 0 0 1 0 1.5z" clip-rule="evenodd"/>
</svg>
</div>
<div class="dropdown" id="dropdown" data-nosnippet>
<div class="dropdown-section">
<label>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 7V5h13v2m-6-2v14m2 0H8m7-6v-1h6v1m-3-1v7m-1 0h2"/></svg>
Text Size
</label>
<div class="button-group">
<button onclick="adjustFontSize(1)">+</button>
<button onclick="adjustFontSize(-1)">-</button>
</div>
</div>
<div class="dropdown-section">
<label>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M10 8h11c.6 0 1-.4 1-1s-.4-1-1-1H10c-.6 0-1 .4-1 1s.4 1 1 1m-4.3 7.3V8.7q.3.3.6.3c.3 0 .5-.1.7-.2c.4-.4.5-1 .1-1.4l-1.7-2C5.2 5.1 5 5 4.7 5s-.6.1-.8.4l-1.7 2c-.3.4-.3 1 .2 1.4c.4.3.9.3 1.3 0v6.6c-.4-.3-.9-.4-1.3 0s-.5 1-.1 1.4l1.7 2c.1.1.4.2.7.2s.6-.1.8-.4l1.7-2c.4-.4.3-1.1-.1-1.4c-.5-.3-1.1-.3-1.4.1M21 11H10c-.6 0-1 .4-1 1s.4 1 1 1h11c.6 0 1-.4 1-1s-.4-1-1-1m0 5H10c-.6 0-1 .4-1 1s.4 1 1 1h11c.6 0 1-.4 1-1s-.4-1-1-1"/></svg>
Line Height
</label>
<div class="button-group">
<button onclick="adjustLineHeight(0.1)">+</button>
<button onclick="adjustLineHeight(-0.1)">-</button>
</div>
</div>
<div class="dropdown-section">
<label>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M21 20h-1V3a1 1 0 0 0-1-1h-3.5a1 1 0 0 0-.86.5L4.43 20H3a1 1 0 0 0 0 2h4a1 1 0 0 0 0-2h-.26l3.5-6H18v6h-1a1 1 0 0 0 0 2h4a1 1 0 0 0 0-2m-3-8h-6.59l4.66-8H18Z" stroke-width="0.5" stroke="currentColor"/></svg>
Font
</label>
<select onchange="changeFont(this.value)">
<option value="Poppins">Poppins</option>
<option value="Sahitya">Sahitya</option>
<option value="AdobeDevnagri">Adobe Devnagri</option>
<option value="TiffinDevnagri" selected>Tiffin Devnagri</option>
<option value="Georgia, serif">Georgia</option>
<option value="Times New Roman, serif">Times New Roman</option>
</select>
<div class="x-buttons">
<button id="autoScrollToggle">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10.4 13.45h3.2l.6 1.625q.075.2.238.313t.362.112q.35 0 .538-.275t.062-.6l-2.55-6.7q-.075-.2-.237-.312T12.25 7.5h-.5q-.2 0-.363.113t-.237.312L8.625 14.65q-.125.3.05.575t.525.275q.2 0 .363-.112t.237-.313zm.4-1.15L11.95 9h.1l1.15 3.3zM12 22q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12q0-.8.125-1.6T2.5 8.825q.125-.4.513-.537t.737.062q.375.2.538.588t.037.812q-.15.55-.238 1.113T4 12q0 3.35 2.325 5.675T12 20t5.675-2.325T20 12t-2.325-5.675T12 4q-.6 0-1.187.087T9.65 4.35q-.425.125-.8-.025T8.3 3.8t-.013-.762t.563-.513q.75-.275 1.55-.4T12 2q2.075 0 3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22M5.5 7q-.625 0-1.062-.437T4 5.5t.438-1.062T5.5 4t1.063.438T7 5.5t-.437 1.063T5.5 7m6.5 5"/></svg>
</button>
<button>
<svg onclick="toggleTheme()" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 19a1 1 0 0 1 .993.883L13 20v1a1 1 0 0 1-1.993.117L11 21v-1a1 1 0 0 1 1-1m6.313-2.09l.094.083l.7.7a1 1 0 0 1-1.32 1.497l-.094-.083l-.7-.7a1 1 0 0 1 1.218-1.567zm-11.306.083a1 1 0 0 1 .083 1.32l-.083.094l-.7.7a1 1 0 0 1-1.497-1.32l.083-.094l.7-.7a1 1 0 0 1 1.414 0M4 11a1 1 0 0 1 .117 1.993L4 13H3a1 1 0 0 1-.117-1.993L3 11zm17 0a1 1 0 0 1 .117 1.993L21 13h-1a1 1 0 0 1-.117-1.993L20 11zM6.213 4.81l.094.083l.7.7a1 1 0 0 1-1.32 1.497l-.094-.083l-.7-.7A1 1 0 0 1 6.11 4.74zm12.894.083a1 1 0 0 1 .083 1.32l-.083.094l-.7.7a1 1 0 0 1-1.497-1.32l.083-.094l.7-.7a1 1 0 0 1 1.414 0M12 2a1 1 0 0 1 .993.883L13 3v1a1 1 0 0 1-1.993.117L11 4V3a1 1 0 0 1 1-1m0 5a5 5 0 1 1-4.995 5.217L7 12l.005-.217A5 5 0 0 1 12 7"/></svg>
</button>
<button>
<svg onclick="toggleNightLight()" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M6 20h6v1c0 .55-.45 1-1 1H7c-.55 0-1-.45-1-1zm5-5.11V16H7v-2.42C5.23 12.81 4 11.05 4 9c0-2.76 2.24-5 5-5c.9 0 1.73.26 2.46.67c.54-.47 1.2-.86 1.89-1.17C12.16 2.57 10.65 2 9 2C5.13 2 2 5.13 2 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-.68c-.75-.36-1.43-.82-2-1.43m9.92-4.95l-.5-1.64l1.3-1.08l-1.68-.04l-.63-1.58l-.56 1.61l-1.68.11l1.33 1.03l-.4 1.65l1.4-.97zm-1.8 2.31a4.62 4.62 0 0 1-3.27-2.28c-.73-1.26-.8-2.72-.35-4c.14-.34-.16-.68-.5-.63c-3.44.66-5 4.79-2.78 7.61c1.81 2.24 5.28 2.32 7.17.05c.23-.26.08-.7-.27-.75"/></svg>
</button>
</div>
</div>
</div>
<div class="audioPlayer" data-nosnippet>
<div class="audioA">
<!--Tab to edit-->
<!--these 3 svg are loading, play ,pause (need to show one at a time, initially the loading svg then once loaded then play button & pause when paused-->
<svg class="loadingSvg" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 48 48" ><defs><mask id="ipSLoadingThree0"><g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="4.1"><path fill="#fff" stroke="#fff" d="M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4S4 12.954 4 24s8.954 20 20 20"/><path stroke="#000" d="M24 12v3m8.485.515l-2.121 2.121M36 24h-3m-.515 8.485l-2.121-2.121M24 36v-3m-8.485-.515l2.121-2.121M12 24h3m.515-8.485l2.121 2.121"/></g></mask></defs><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#ipSLoadingThree0)"/></svg>
<svg id="play" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 48 48"><defs><mask id="ipSPlay0"><g fill="none" stroke-linejoin="round" stroke-width="4.1"><path fill="#fff" stroke="#fff" d="M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4S4 12.954 4 24s8.954 20 20 20Z"/><path fill="#000" stroke="#000" d="M20 24v-6.928l6 3.464L32 24l-6 3.464l-6 3.464z"/></g></mask></defs><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#ipSPlay0)"/></svg>
<svg id="pause" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 48 48"><defs><mask id="ipSPauseOne0"><g fill="none" stroke-linejoin="round" stroke-width="4.1"><path fill="#fff" stroke="#fff" d="M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4S4 12.954 4 24s8.954 20 20 20Z"/><path stroke="#000" stroke-linecap="round" d="M19 18v12m10-12v12"/></g></mask></defs><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#ipSPauseOne0)"/></svg>
<svg id="plusTen" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 32 32"><path fill="currentColor" d="M4.5 4.252v3.422c2.95-3.16 7.172-4.737 11.519-4.672c5.941.088 10.697 3.268 13.783 8.074a1.25 1.25 0 1 1-2.104 1.35c-2.713-4.225-6.751-6.85-11.717-6.925c-4.013-.06-7.768 1.503-10.192 4.5H9.75a1.25 1.25 0 1 1 0 2.5h-6.5c-.69 0-1.25-.56-1.25-1.25v-7a1.25 1.25 0 0 1 2.5 0m7.986 10.847c.463.196.764.65.764 1.152V27.5a1.25 1.25 0 0 1-2.5 0v-8.47a23 23 0 0 1-1.607 1.043a1.25 1.25 0 0 1-1.286-2.144c1.046-.628 1.633-1.054 2.056-1.411c.31-.262.531-.483.81-.761c.12-.12.251-.252.405-.401a1.25 1.25 0 0 1 1.358-.257m4.463 2.2C17.787 15.882 19.18 15 21.1 15c1.923 0 3.314.88 4.152 2.298c.781 1.322 1.035 3.023 1.035 4.701c0 1.68-.254 3.38-1.035 4.702C24.414 28.12 23.022 29 21.1 29s-3.313-.88-4.15-2.298c-.782-1.322-1.036-3.023-1.036-4.702s.254-3.38 1.035-4.701m2.152 1.272c-.448.759-.687 1.933-.687 3.43c0 1.496.239 2.67.687 3.43c.393.663.97 1.07 2 1.07s1.606-.407 1.999-1.07c.448-.76.687-1.934.687-3.43s-.239-2.671-.687-3.43c-.393-.664-.97-1.07-2-1.07s-1.607.406-1.999 1.07"/></svg>
<svg id="minusTen" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 28 28"><path fill="currentColor" d="M4.844 10.537C7.142 6.925 10.15 5 14.25 5c3.948 0 7.367 1.701 9.05 4H19a1 1 0 1 0 0 2h6a1 1 0 0 0 1-1V4a1 1 0 1 0-2 0v2.747C21.723 4.442 18.115 3 14.25 3C9.35 3 5.755 5.38 3.156 9.463a1 1 0 0 0 1.688 1.074M18.238 13c-1.658 0-2.86.74-3.59 1.947c-.684 1.133-.91 2.597-.91 4.053s.226 2.92.91 4.053C15.378 24.26 16.58 25 18.238 25c1.66 0 2.86-.74 3.59-1.947c.685-1.133.91-2.597.91-4.053s-.225-2.92-.91-4.053c-.73-1.207-1.93-1.947-3.59-1.947m-2.5 6c0-1.305.212-2.341.622-3.018c.364-.602.912-.982 1.878-.982s1.515.38 1.879.982c.41.677.621 1.713.621 3.018s-.212 2.341-.621 3.018c-.364.602-.913.982-1.879.982s-1.514-.38-1.878-.982c-.41-.677-.622-1.713-.622-3.018M11 14a1 1 0 0 0-1.856-.516l-.001.001l-.006.009q-.008.015-.03.047a10 10 0 0 1-.667.89c-.474.562-1.143 1.225-1.954 1.711a1 1 0 0 0 1.029 1.716A9 9 0 0 0 9 16.735V24a1 1 0 0 0 2 0z"/></svg>
<!--speaker icon, volume dropdown will appear to change volume-->
<svg class="volume" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15 8a5 5 0 0 1 0 8m2.7-11a9 9 0 0 1 0 14M6 15H4a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h2l3.5-4.5A.8.8 0 0 1 11 5v14a.8.8 0 0 1-1.5.5z"/></svg>
<div class="info">
<marquee>Loading...</marquee> <!--title-->
<div class="linearH">
<span> <!--current audio listened-->
00:00
</span>
<input type="range" class="player" value="0"> <!--audio track progress draggable-->
<span>
00:00 <!--total duration-->
</span>
</div>
</div>
<!--queue icon to show drop-down of what to play next-->
<input type="checkbox" name="audiomore" id="audiomore" hidden>
<label for="audiomore" class="moree">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M15.88 9.29L12 13.17L8.12 9.29a.996.996 0 1 0-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41c-.39-.38-1.03-.39-1.42 0"/></svg>
</label>
</div>
<div class="audioB">
<svg class="plusTen" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 32 32"><path fill="currentColor" d="M4.5 4.252v3.422c2.95-3.16 7.172-4.737 11.519-4.672c5.941.088 10.697 3.268 13.783 8.074a1.25 1.25 0 1 1-2.104 1.35c-2.713-4.225-6.751-6.85-11.717-6.925c-4.013-.06-7.768 1.503-10.192 4.5H9.75a1.25 1.25 0 1 1 0 2.5h-6.5c-.69 0-1.25-.56-1.25-1.25v-7a1.25 1.25 0 0 1 2.5 0m7.986 10.847c.463.196.764.65.764 1.152V27.5a1.25 1.25 0 0 1-2.5 0v-8.47a23 23 0 0 1-1.607 1.043a1.25 1.25 0 0 1-1.286-2.144c1.046-.628 1.633-1.054 2.056-1.411c.31-.262.531-.483.81-.761c.12-.12.251-.252.405-.401a1.25 1.25 0 0 1 1.358-.257m4.463 2.2C17.787 15.882 19.18 15 21.1 15c1.923 0 3.314.88 4.152 2.298c.781 1.322 1.035 3.023 1.035 4.701c0 1.68-.254 3.38-1.035 4.702C24.414 28.12 23.022 29 21.1 29s-3.313-.88-4.15-2.298c-.782-1.322-1.036-3.023-1.036-4.702s.254-3.38 1.035-4.701m2.152 1.272c-.448.759-.687 1.933-.687 3.43c0 1.496.239 2.67.687 3.43c.393.663.97 1.07 2 1.07s1.606-.407 1.999-1.07c.448-.76.687-1.934.687-3.43s-.239-2.671-.687-3.43c-.393-.664-.97-1.07-2-1.07s-1.607.406-1.999 1.07"/></svg>
<svg class="minusTen" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 28 28"><path fill="currentColor" d="M4.844 10.537C7.142 6.925 10.15 5 14.25 5c3.948 0 7.367 1.701 9.05 4H19a1 1 0 1 0 0 2h6a1 1 0 0 0 1-1V4a1 1 0 1 0-2 0v2.747C21.723 4.442 18.115 3 14.25 3C9.35 3 5.755 5.38 3.156 9.463a1 1 0 0 0 1.688 1.074M18.238 13c-1.658 0-2.86.74-3.59 1.947c-.684 1.133-.91 2.597-.91 4.053s.226 2.92.91 4.053C15.378 24.26 16.58 25 18.238 25c1.66 0 2.86-.74 3.59-1.947c.685-1.133.91-2.597.91-4.053s-.225-2.92-.91-4.053c-.73-1.207-1.93-1.947-3.59-1.947m-2.5 6c0-1.305.212-2.341.622-3.018c.364-.602.912-.982 1.878-.982s1.515.38 1.879.982c.41.677.621 1.713.621 3.018s-.212 2.341-.621 3.018c-.364.602-.913.982-1.879.982s-1.514-.38-1.878-.982c-.41-.677-.622-1.713-.622-3.018M11 14a1 1 0 0 0-1.856-.516l-.001.001l-.006.009q-.008.015-.03.047a10 10 0 0 1-.667.89c-.474.562-1.143 1.225-1.954 1.711a1 1 0 0 0 1.029 1.716A9 9 0 0 0 9 16.735V24a1 1 0 0 0 2 0z"/></svg>
<svg class="plusThirty" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 28 28"><path fill="currentColor" d="M4.844 10.537C7.142 6.925 10.15 5 14.25 5c3.948 0 7.367 1.701 9.05 4H19a1 1 0 1 0 0 2h6a1 1 0 0 0 1-1V4a1 1 0 1 0-2 0v2.747C21.723 4.442 18.115 3 14.25 3C9.35 3 5.755 5.38 3.156 9.463a1 1 0 0 0 1.688 1.074M20.238 13c-1.658 0-2.86.74-3.59 1.947c-.684 1.133-.91 2.597-.91 4.053s.226 2.92.91 4.053C17.378 24.26 18.58 25 20.238 25c1.66 0 2.86-.74 3.59-1.947c.685-1.133.91-2.597.91-4.053s-.225-2.92-.91-4.053c-.73-1.207-1.93-1.947-3.59-1.947m-2.5 6c0-1.305.212-2.341.622-3.018c.364-.602.912-.982 1.878-.982s1.515.38 1.879.982c.41.677.621 1.713.621 3.018s-.212 2.341-.621 3.018c-.364.602-.913.982-1.879.982s-1.514-.38-1.878-.982c-.41-.677-.622-1.713-.622-3.018m-5.74-1.554c-.348.287-.98.554-1.998.554a1 1 0 1 0 0 2c1.018 0 1.65.267 1.998.554c.34.279.455.605.44.896c-.026.526-.63 1.55-2.688 1.55a3.84 3.84 0 0 1-1.927-.493a3 3 0 0 1-.57-.417l-.016-.015a1 1 0 0 0-1.481 1.343v.001l.002.002l.003.003l.008.008l.02.022l.063.063q.075.077.21.191c.178.151.435.344.768.535A5.84 5.84 0 0 0 9.75 25c2.692 0 4.588-1.476 4.686-3.45c.048-.959-.367-1.883-1.168-2.541l-.01-.009l.01-.009c.8-.658 1.216-1.582 1.168-2.54C14.338 14.475 12.442 13 9.75 13a5.84 5.84 0 0 0-2.92.757c-.333.19-.59.384-.768.535a4 4 0 0 0-.273.254l-.02.022l-.008.008l-.003.003l-.001.002l-.001.001a1 1 0 1 0 1.497 1.328q.029-.028.102-.092a3 3 0 0 1 .468-.325A3.84 3.84 0 0 1 9.75 15c2.058 0 2.662 1.024 2.689 1.55c.014.291-.101.617-.441.896"/></svg>
<select id="audioSpeed">
<option value="0.5">0.5</option>
<option value="0.75">0.75</option>
<option value="1" selected>1x</option>
<option value="1.15">1.15x</option>
<option value="1.25">1.25x</option>
<option value="1.5">1.5x</option>
<option value="1.75">1.75</option>
<option value="2">2x</option>
</select>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 48 48"><g fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="3"><path d="M16.866 7.47A18 18 0 0 0 16 13c0 9.941 8.059 18 18 18a17.9 17.9 0 0 0 7.134-1.47C38.801 36.767 32.012 42 24 42c-9.941 0-18-8.059-18-18c0-7.407 4.473-13.768 10.866-16.53Z"/><path stroke-linecap="round" d="M31.66 10H41l-10 8h10"/></g></svg>
<svg onclick="setAudioTimeFromScroll()" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16"><g fill="currentColor"><path fill-rule="evenodd" d="m10.57 1.14l3.28 3.3l.15.36v9.7l-.5.5h-11l-.5-.5V8.964A3.5 3.5 0 0 0 2.5 9H3v5h10V6H9.5L9 5.5V2H7.328l-1-1h3.892zM10 5h3l-3-3z" clip-rule="evenodd"/><path d="m4.914 1l2.147 2.146v.708L4.914 6l-.707-.707L5.5 4h-3a1.5 1.5 0 0 0 0 3H3v1h-.5c-.135 0-.268-.015-.4-.036q-.047-.006-.095-.015H2A2.5 2.5 0 0 1 .732 3.732a2.5 2.5 0 0 1 1.369-.697Q2.297 3.002 2.5 3h3L4.207 1.707z"/></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" onclick="openFullscreen()" width="24" height="24" viewBox="0 0 1024 1024"><path fill="currentColor" d="m685.904 383.184l275.264-273.572l-.896 155.072c-.289 12.928 9.967 24.176 22.912 23.888l16.416-.016c12.944-.304 23.648-8 23.92-20.928l.672-231.008c0-.223-.88-.399-.88-.623l1.264-11.712c.128-6.496-1.391-12.288-5.584-16.431c-4.143-4.176-9.951-6.72-16.4-6.544l-11.696.272c-.223 0-.399.08-.64.113L760.77.687c-12.928.288-23.632 10.976-23.92 23.92l-.032 16.417c1.967 15.248 13.952 24.16 26.88 23.872l151.248.4L640.657 337.92c-12.496 12.496-12.496 32.752 0 45.264c12.496 12.48 32.752 12.48 45.247 0M339.088 640.812L63.825 913.532l.88-154.224c.304-12.944-9.969-24.192-22.897-23.904l-17.423.032c-12.96.32-23.649 8-23.921 20.944l-.672 231.008c0 .224.88.367.88.623l-1.264 11.68c-.144 6.496 1.376 12.32 5.584 16.433c4.128 4.192 9.952 6.72 16.384 6.56l11.712-.288c.223 0 .383-.096.64-.096l230.495 1.008c12.928-.32 23.617-11.009 23.92-23.936l.032-16.432c-1.967-15.216-13.952-24.16-26.88-23.872l-151.247-.4L384.32 686.076c12.496-12.497 12.496-32.752 0-45.248s-32.737-12.512-45.233-.016zm685.122 346.56l-.672-231.01c-.288-12.944-10.992-20.624-23.92-20.944l-16.416-.032c-12.944-.289-23.184 10.975-22.912 23.903l.896 155.072l-275.28-273.552c-12.496-12.496-32.752-12.496-45.248 0s-12.496 32.752 0 45.248L914.93 958.649l-151.232.4c-12.928-.288-24.912 8.657-26.88 23.872l.032 16.432c.304 12.944 11.008 23.633 23.92 23.936l229.504-1.007c.24 0 .416.095.64.095l11.696.288c6.448.16 12.272-2.368 16.4-6.56c4.193-4.128 5.696-9.936 5.584-16.432l-1.263-11.68c0-.255.88-.399.88-.622zM110.049 65.321l151.264-.397c12.928.288 24.912-8.64 26.88-23.873l-.032-16.431C287.84 11.677 277.15.972 264.24.7l-230.512.992c-.256-.032-.416-.112-.64-.112l-11.712-.273C14.945 1.132 9.105 3.676 4.992 7.851C.784 11.995-.735 17.787-.592 24.283L.672 35.995c0 .223-.88.384-.88.624l.672 231.008c.288 12.928 10.977 20.624 23.921 20.928l17.424.015c12.928.288 23.183-10.96 22.895-23.888l-.88-154.224l275.264 272.72c12.48 12.497 32.753 12.497 45.25 0s12.496-32.768 0-45.264z"/></svg>
<svg class="full-player" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M5 19h2q.425 0 .713.288T8 20t-.288.713T7 21H4q-.425 0-.712-.288T3 20v-3q0-.425.288-.712T4 16t.713.288T5 17zm14 0v-2q0-.425.288-.712T20 16t.713.288T21 17v3q0 .425-.288.713T20 21h-3q-.425 0-.712-.288T16 20t.288-.712T17 19zM5 5v2q0 .425-.288.713T4 8t-.712-.288T3 7V4q0-.425.288-.712T4 3h3q.425 0 .713.288T8 4t-.288.713T7 5zm14 0h-2q-.425 0-.712-.288T16 4t.288-.712T17 3h3q.425 0 .713.288T21 4v3q0 .425-.288.713T20 8t-.712-.288T19 7z"/></svg>
</div>
<div class="audioMax">
<div class="max-nav">
<span>Now Playing</span>
<svg class="full-player" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59L7.11 5.7A.996.996 0 1 0 5.7 7.11L10.59 12L5.7 16.89a.996.996 0 1 0 1.41 1.41L12 13.41l4.89 4.89a.996.996 0 1 0 1.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"/></svg>
</div>
<div class="max-main">
<img sizes="" srcset="" src="/logo.svg" alt="">
</div>
<div class="max-controls">
<input type="range" class="player" value="0"> <!--audio track progress draggable-->
</div>
</div>
</div>
<div class="share-overlay" data-nosnippet>
<div class="share-dialog">
<div class="share-nav">
<span>Share & Export </span>
<svg onclick="toggleShare()" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m12 13.4l-4.9 4.9q-.275.275-.7.275t-.7-.275t-.275-.7t.275-.7l4.9-4.9l-4.9-4.9q-.275-.275-.275-.7t.275-.7t.7-.275t.7.275l4.9 4.9l4.9-4.9q.275-.275.7-.275t.7.275t.275.7t-.275.7L13.4 12l4.9 4.9q.275.275.275.7t-.275.7t-.7.275t-.7-.275z"/></svg>
</div>
<div class="share-body">
<div class="share-container">
<textarea id="share-text"></textarea>
</div>
<div class="share-pref">
</div>
</div>
</div>
</div>
<script src="/settings.js?version=1"></script>
<script src="/share-dialog.js"></script>
<script>
function openFullscreen() {
if (!document.fullscreenElement) {
let elem = document.documentElement; // Whole page
if (elem.requestFullscreen) {
elem.requestFullscreen();
} else if (elem.mozRequestFullScreen) { // Firefox
elem.mozRequestFullScreen();
} else if (elem.webkitRequestFullscreen) { // Chrome, Safari, Opera
elem.webkitRequestFullscreen();
} else if (elem.msRequestFullscreen) { // IE/Edge
elem.msRequestFullscreen();
}
} else {
if (document.exitFullscreen) {
document.exitFullscreen();
} else if (document.mozCancelFullScreen) { // Firefox
document.mozCancelFullScreen();
} else if (document.webkitExitFullscreen) { // Chrome, Safari, Opera
document.webkitExitFullscreen();
} else if (document.msExitFullscreen) { // IE/Edge
document.msExitFullscreen();
}
}
}
let slug;
// 1) Check if we have query param style (?slug=...)
const params = new URLSearchParams(window.location.search);
if (params.has("slug")) {
slug = params.get("slug");
} else {
// 2) Otherwise, extract it from the path (/discourse/slug-name)
const pathParts = window.location.pathname.split("/");
// Example: ["", "discourse", "adhyatam-upanishad-01"]
if (pathParts[1] === "discourse" && pathParts[2]) {
slug = pathParts[2];
}
}
//const slug = new URLSearchParams(window.location.search).get("slug");
const paragraph = document.getElementById("content-paragraph");
const audioTitle = document.querySelector('marquee');
if (!slug) {
paragraph.innerHTML = "No Discourse Found";
} else {
// Everything else goes inside this else block
const dbName = "OshoDiscourseDB";
const storeName = "discourses";
const openRequest = indexedDB.open(dbName, 1);
openRequest.onupgradeneeded = function (e) {
const db = e.target.result;
if (!db.objectStoreNames.contains(storeName)) {
db.createObjectStore(storeName, { keyPath: "slug" });
}
};
openRequest.onsuccess = function (e) {
const db = e.target.result;
const tx = db.transaction(storeName, "readonly");
const store = tx.objectStore(storeName);
const getRequest = store.get(slug);
getRequest.onsuccess = function () {
const result = getRequest.result;
if (result) {
document.title = result.title;
paragraph.innerHTML = result.description;
audioTitle.innerText = result.title;
applyPreHighlights();
initAudioPlayer("https://oshoworld.com" + result.audioFile);
} else {
fetchAndStoreSlug(db, slug);
}
};
getRequest.onerror = function () {
paragraph.innerHTML = "Error reading from offline storage.";
};
};
openRequest.onerror = function () {
paragraph.innerHTML = "Failed to open local database.";
};
function fetchAndStoreSlug(db, slug) {
const apiUrl = `https://extremekrish.github.io/osho/discourse/${slug}.json`;
fetch(apiUrl)
.then((res) => {
if (!res.ok) throw new Error("Network error");
return res.json();
})
.then((data) => {
const description = data.description;
const audioFile = data.audioFile;
const tx = db.transaction(storeName, "readwrite");
const store = tx.objectStore(storeName);
store.put({ slug: slug, description: description, title: data.title, audioFile: data.audioFile});
paragraph.innerHTML = description;
applyPreHighlights();
document.title = data.title + " | OSHO Discource";
audioTitle.innerText = data.title;
initAudioPlayer("https://oshoworld.com" + audioFile);
})
.catch((err) => {
paragraph.innerHTML = "Error fetching content: " + err.message;
});
}
}
var fileName = slug;
</script>
<script>
/*
function initAudioPlayer(audioUrl) {
const audio = new Audio(audioUrl);
audio.preload = "metadata";
const loadingSvg = document.querySelector(".loadingSvg");
const playSvg = document.querySelector("#play");
const pauseSvg = document.querySelector("#pause");
const range = document.querySelector(".player");
const currentTimeEl = document.querySelector(".linearH span:first-child");
const durationEl = document.querySelector(".linearH span:last-child");
const plusTen = document.querySelector("#plusTen");
const plusThirty = document.querySelector(".plusThirty");
const minusTen = document.querySelector("#minusTen");
const plusTenB = document.querySelector(".plusTen");
const minusTenB = document.querySelector(".minusTen");
const speedSelect = document.querySelector("#audioSpeed");
// === AUDIO SPEED ===
if (speedSelect) {
// Set default speed from the select value
audio.playbackRate = parseFloat(speedSelect.value);
// Listen for changes
speedSelect.addEventListener("change", () => {
audio.playbackRate = parseFloat(speedSelect.value);
});
}
playSvg.style.display = "none";
pauseSvg.style.display = "none";
audio.addEventListener("loadeddata", () => {
loadingSvg.style.display = "none";
playSvg.style.display = "inline";
durationEl.textContent = formatTime(audio.duration);
range.max = Math.floor(audio.duration);
});
playSvg.addEventListener("click", () => audio.play());
pauseSvg.addEventListener("click", () => audio.pause());
audio.addEventListener("play", () => {
playSvg.style.display = "none";
pauseSvg.style.display = "inline";
});
audio.addEventListener("pause", () => {
pauseSvg.style.display = "none";
playSvg.style.display = "inline";
});
audio.addEventListener("timeupdate", () => {
range.value = Math.floor(audio.currentTime);
currentTimeEl.textContent = formatTime(audio.currentTime);
range.style.setProperty('--fill-percent', (audio.currentTime / audio.duration) * 100 + '%');
});
range.addEventListener("input", () => {
audio.currentTime = range.value;
});
minusTen.addEventListener("click", () => {
audio.currentTime = Math.min(audio.currentTime + 10, audio.duration);
});
plusTen.addEventListener("click", () => {
audio.currentTime = Math.max(audio.currentTime - 10, 0);
});
plusThirty.addEventListener("click", () => {
audio.currentTime = Math.max(audio.currentTime + 30, 0);
});
minusTenB.addEventListener("click", () => {
audio.currentTime = Math.min(audio.currentTime + 10, audio.duration);
});
plusTenB.addEventListener("click", () => {
audio.currentTime = Math.max(audio.currentTime - 10, 0);
});
window.setAudioTimeFromScroll = function() {
const scrollHeight = document.documentElement.scrollHeight - window.innerHeight;
const scrollTop = window.scrollY;
const progress = (scrollTop + 200) / (scrollHeight + 200);
audio.currentTime = progress * audio.duration;
};
// Auto-scroll toggle
// Auto-scroll toggle
const autoScrollToggle = document.querySelector("#autoScrollToggle");
let autoScrollEnabled = false;
autoScrollToggle.addEventListener("click", () => {
autoScrollEnabled = !autoScrollEnabled;
autoScrollToggle.innerHTML = autoScrollEnabled ? '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10.4 13.45h3.2l.6 1.625q.075.2.238.313t.362.112q.35 0 .538-.275t.062-.6l-2.55-6.7q-.075-.2-.237-.312T12.25 7.5h-.5q-.2 0-.363.113t-.237.312L8.625 14.65q-.125.3.05.575t.525.275q.2 0 .363-.112t.237-.313zm.4-1.15L11.95 9h.1l1.15 3.3zM12 22q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12q0-.8.125-1.6T2.5 8.825q.125-.4.513-.537t.737.062q.375.2.538.588t.037.812q-.15.55-.238 1.113T4 12q0 3.35 2.325 5.675T12 20t5.675-2.325T20 12t-2.325-5.675T12 4q-.6 0-1.187.087T9.65 4.35q-.425.125-.8-.025T8.3 3.8t-.013-.762t.563-.513q.75-.275 1.55-.4T12 2q2.075 0 3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22M5.5 7q-.625 0-1.062-.437T4 5.5t.438-1.062T5.5 4t1.063.438T7 5.5t-.437 1.063T5.5 7m.5 5q0-2.5 1.75-4.25T12 6t4.25 1.75T18 12t-1.75 4.25T12 18t-4.25-1.75T6 12"/></svg>' : '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10.4 13.45h3.2l.6 1.625q.075.2.238.313t.362.112q.35 0 .538-.275t.062-.6l-2.55-6.7q-.075-.2-.237-.312T12.25 7.5h-.5q-.2 0-.363.113t-.237.312L8.625 14.65q-.125.3.05.575t.525.275q.2 0 .363-.112t.237-.313zm.4-1.15L11.95 9h.1l1.15 3.3zM12 22q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12q0-.8.125-1.6T2.5 8.825q.125-.4.513-.537t.737.062q.375.2.538.588t.037.812q-.15.55-.238 1.113T4 12q0 3.35 2.325 5.675T12 20t5.675-2.325T20 12t-2.325-5.675T12 4q-.6 0-1.187.087T9.65 4.35q-.425.125-.8-.025T8.3 3.8t-.013-.762t.563-.513q.75-.275 1.55-.4T12 2q2.075 0 3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22M5.5 7q-.625 0-1.062-.437T4 5.5t.438-1.062T5.5 4t1.063.438T7 5.5t-.437 1.063T5.5 7m6.5 5"/></svg>';
});
audio.addEventListener("timeupdate", () => {
if (autoScrollEnabled) {
const scrollHeight = document.documentElement.scrollHeight - window.innerHeight;
const progress = audio.currentTime / audio.duration;
/*
window.scrollTo({
top: (scrollHeight * progress) - 200, // 200px delay before moving
behavior: "smooth"
});
const offset = 200 * (1 - progress); // full delay at start, 0 delay at end
window.scrollTo({
top: scrollHeight * progress - offset,
behavior: "smooth"
});
}
});
return audio; // so you can control it outside if needed
}
*/
</script>
<script>
function initAudioPlayer(audioUrl) {
const audio = new Audio(audioUrl);
audio.preload = "metadata";
const loadingSvg = document.querySelector(".loadingSvg");
const playSvg = document.querySelector("#play");
const pauseSvg = document.querySelector("#pause");
// SELECT ALL players
const ranges = document.querySelectorAll(".player");
const currentTimeEl = document.querySelector(".linearH span:first-child");
const durationEl = document.querySelector(".linearH span:last-child");
const plusTen = document.querySelector("#plusTen");
const plusThirty = document.querySelector(".plusThirty");
const minusTen = document.querySelector("#minusTen");
const plusTenB = document.querySelector(".plusTen");
const minusTenB = document.querySelector(".minusTen");
const speedSelect = document.querySelector("#audioSpeed");
// === AUDIO SPEED ===
if (speedSelect) {
audio.playbackRate = parseFloat(speedSelect.value);
speedSelect.addEventListener("change", () => {
audio.playbackRate = parseFloat(speedSelect.value);
});
}
playSvg.style.display = "none";
pauseSvg.style.display = "none";
audio.addEventListener("loadeddata", () => {
loadingSvg.style.display = "none";
playSvg.style.display = "inline";
durationEl.textContent = formatTime(audio.duration);
ranges.forEach(range => range.max = Math.floor(audio.duration));
});
playSvg.addEventListener("click", () => audio.play());
pauseSvg.addEventListener("click", () => audio.pause());
audio.addEventListener("play", () => {
playSvg.style.display = "none";
pauseSvg.style.display = "inline";
});
audio.addEventListener("pause", () => {
pauseSvg.style.display = "none";
playSvg.style.display = "inline";
});
// TIME UPDATE — update all sliders
audio.addEventListener("timeupdate", () => {
ranges.forEach(range => {
range.value = Math.floor(audio.currentTime);
range.style.setProperty('--fill-percent', (audio.currentTime / audio.duration) * 100 + '%');
});
currentTimeEl.textContent = formatTime(audio.currentTime);
});
// SYNC when user drags *any* slider
ranges.forEach(range => {
range.addEventListener("input", () => {
audio.currentTime = range.value;
});
});
minusTen.addEventListener("click", () => {
audio.currentTime = Math.min(audio.currentTime + 10, audio.duration);
});
plusTen.addEventListener("click", () => {
audio.currentTime = Math.max(audio.currentTime - 10, 0);
});
plusThirty.addEventListener("click", () => {
audio.currentTime = Math.max(audio.currentTime + 30, 0);
});
minusTenB.addEventListener("click", () => {
audio.currentTime = Math.min(audio.currentTime + 10, audio.duration);
});
plusTenB.addEventListener("click", () => {
audio.currentTime = Math.max(audio.currentTime - 10, 0);
});
window.setAudioTimeFromScroll = function() {
const scrollHeight = document.documentElement.scrollHeight - window.innerHeight;
const scrollTop = window.scrollY;
const progress = (scrollTop + 200) / (scrollHeight + 200);
audio.currentTime = progress * audio.duration;
};
const autoScrollToggle = document.querySelector("#autoScrollToggle");
let autoScrollEnabled = false;
autoScrollToggle.addEventListener("click", () => {
autoScrollEnabled = !autoScrollEnabled;
autoScrollToggle.innerHTML = autoScrollEnabled ? '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10.4 13.45h3.2l.6 1.625q.075.2.238.313t.362.112q.35 0 .538-.275t.062-.6l-2.55-6.7q-.075-.2-.237-.312T12.25 7.5h-.5q-.2 0-.363.113t-.237.312L8.625 14.65q-.125.3.05.575t.525.275q.2 0 .363-.112t.237-.313zm.4-1.15L11.95 9h.1l1.15 3.3zM12 22q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12q0-.8.125-1.6T2.5 8.825q.125-.4.513-.537t.737.062q.375.2.538.588t.037.812q-.15.55-.238 1.113T4 12q0 3.35 2.325 5.675T12 20t5.675-2.325T20 12t-2.325-5.675T12 4q-.6 0-1.187.087T9.65 4.35q-.425.125-.8-.025T8.3 3.8t-.013-.762t.563-.513q.75-.275 1.55-.4T12 2q2.075 0 3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22M5.5 7q-.625 0-1.062-.437T4 5.5t.438-1.062T5.5 4t1.063.438T7 5.5t-.437 1.063T5.5 7m.5 5q0-2.5 1.75-4.25T12 6t4.25 1.75T18 12t-1.75 4.25T12 18t-4.25-1.75T6 12"/></svg>' : '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10.4 13.45h3.2l.6 1.625q.075.2.238.313t.362.112q.35 0 .538-.275t.062-.6l-2.55-6.7q-.075-.2-.237-.312T12.25 7.5h-.5q-.2 0-.363.113t-.237.312L8.625 14.65q-.125.3.05.575t.525.275q.2 0 .363-.112t.237-.313zm.4-1.15L11.95 9h.1l1.15 3.3zM12 22q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12q0-.8.125-1.6T2.5 8.825q.125-.4.513-.537t.737.062q.375.2.538.588t.037.812q-.15.55-.238 1.113T4 12q0 3.35 2.325 5.675T12 20t5.675-2.325T20 12t-2.325-5.675T12 4q-.6 0-1.187.087T9.65 4.35q-.425.125-.8-.025T8.3 3.8t-.013-.762t.563-.513q.75-.275 1.55-.4T12 2q2.075 0 3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22M5.5 7q-.625 0-1.062-.437T4 5.5t.438-1.062T5.5 4t1.063.438T7 5.5t-.437 1.063T5.5 7m6.5 5"/></svg>';
});
audio.addEventListener("timeupdate", () => {
if (autoScrollEnabled) {
const scrollHeight = document.documentElement.scrollHeight - window.innerHeight;
const progress = audio.currentTime / audio.duration;
const offset = 200 * (1 - progress);
window.scrollTo({
top: scrollHeight * progress - offset,
behavior: "smooth"
});
}
});
return audio;
}
function formatTime(sec) {
sec = Math.floor(sec) || 0;
let hours = Math.floor(sec / 3600);
let minutes = Math.floor((sec % 3600) / 60);
let seconds = sec % 60;
if (hours > 0) {
return `${String(hours).padStart(2, "0")}:${String(minutes).padStart(2, "0")}:${String(seconds).padStart(2, "0")}`;
} else {
return `${String(minutes).padStart(2, "0")}:${String(seconds).padStart(2, "0")}`;
}
}
document.addEventListener('click', (event) => {
if (!dropdown.contains(event.target) && !event.target.closest('.fab')) {
dropdown.classList.remove('show');
}
});
document.querySelector('label.moree').addEventListener('click', () => {
document.querySelector('.audioPlayer').classList.toggle('showmoree');
});
document.querySelectorAll('.full-player').forEach(player => {
player.addEventListener('click', () => {
document.querySelectorAll('.audioPlayer').forEach(audio => {
audio.classList.toggle('full');
});
});
});
// Example usage:
</script>
<script src="/text-highlighter.js"></script>
</body>
</html>