-
Notifications
You must be signed in to change notification settings - Fork 0
/
window.html
1635 lines (1604 loc) · 95.4 KB
/
window.html
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
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="initial-scale=1">
<meta name="supported-color-schemes" content="light dark">
<title>Typora</title>
<link rel="stylesheet" href="typora://app/typemark/lib.asar/bootstrape/css/bootstrap.css" crossorigin="anonymous">
<link rel="stylesheet" css-include href="typora://app/typemark/lib.asar/diagram/css/mermaid.css"
crossorigin="anonymous">
<link rel="stylesheet" href="./style/font-awesome-4.1.0/css/font-awesome.min.css" crossorigin="anonymous">
<link rel="stylesheet" href="./style/ionicons-2.0.1/css/ionicons.min.css" crossorigin="anonymous">
<link rel="stylesheet" href="./style/typora-icon/style.css" crossorigin="anonymous">
<link rel="stylesheet" href="./style/typora-file-icon/style.css" crossorigin="anonymous">
<link rel="stylesheet" css-include href="./style/base.css" crossorigin="anonymous">
<link rel="stylesheet" href="./style/base-control.css" crossorigin="anonymous">
<link rel="stylesheet" css-include href="./style/codemirror.css" crossorigin="anonymous">
<link rel="stylesheet" href="./style/window.css" crossorigin="anonymous">
<link rel="stylesheet" href="./style/megamenu.css" crossorigin="anonymous">
<link rel="stylesheet" href="typora-bg://bg.css" id="bg_css" crossorigin="anonymous">
<link rel="stylesheet" href="typora://app/userData/themes/current-theme.css" id="theme_css" crossorigin="anonymous">
<link rel="stylesheet" href="" id="base_user_css" crossorigin="anonymous">
<link rel="stylesheet" href="" id="theme_user_css" crossorigin="anonymous">
<link rel="stylesheet" href="./zfolder-plugin/zfolder.css" crossorigin="anonymous">
</head>
<body class="typora-node native-window no-collapse-outline allow-file-tree-scroll">
<header aria-hidden="true">
<div aria-hidden="true" class="dropdown-menu stopselect dropmenu" id="toc-dropmenu" role="menu">
<div class="outline-title-wrapper"><span class="outline-title" data-localize="Outline"
data-lg="Front">Outline</span> <span class="btn fa fa-arrow-circle-left"
id="pin-outline-btn"></span></div>
<div class="divider outline-title-divider"></div>
<div role="list" id="toc-content" class="outline-content" data-after-content="Outline is Empty."></div>
</div>
<div aria-hidden="true" class="stopselect dropmenu sidebar-menu" id="typora-sidebar" role="menu">
<div class="info-panel-tab-wrapper ty-tab-wrapper">
<div style="flex:1"></div>
<div class="info-panel-tab" id="info-panel-tab-file">
<div class="info-panel-tab-title" data-localize="Files" data-lg="Front">Files</div>
<div class="info-panel-tab-border"></div>
</div>
<div class="info-panel-tab" id="info-panel-tab-search-back">
<div class="info-panel-tab-title" data-localize="Files" data-lg="Front">Files</div>
<div class="info-panel-tab-border"></div>
</div>
<div style="flex:1"></div>
<div class="info-panel-tab" id="info-panel-tab-outline">
<div class="info-panel-tab-title" data-localize="Outline" data-lg="Front">Outline</div>
<div class="info-panel-tab-border"></div>
</div>
<div class="info-panel-tab" id="info-panel-tab-search">
<div class="info-panel-tab-title" data-localize="Search" data-lg="Front">Search</div>
<div class="info-panel-tab-border"></div>
</div>
<div style="flex:1"></div>
</div>
<div class="sidebar-osx-tab ty-tab-wrapper">
<div class="sidebar-tabs">
<div class="sidebar-tab-btn" id="switch-sidebar-icon"><span class="ty-icon ty-three-cells"
ty-hint="Switch to File List view"></span></div>
<div class="sidebar-tab" id="sidepanel-segmented-input-files"></div>
<div class="sidebar-tab" id="sidepanel-segmented-input-outline" data-localize="Outline"
data-lg="Front">Outline</div>
<div class="sidebar-tab-btn" id="sidebar-search-btn" ty-hint="Search"><span
class="ion-ios7-search-strong"></span></div>
</div>
<div class="ty-sidebar-search-panel" id="ty-sidebar-search-tabs">
<div class="sidebar-tab-btn" id="ty-sidebar-search-back-btn"><span class="ty-icon ty-left-arrow"
ty-hint="Close Search"></span></div>
</div>
</div>
<div class="sidebar-content" id="sidebar-content">
<div id="file-library-search">
<div id="file-library-search-panel" class="ty-sidebar-search-panel"><input type="search"
id="file-library-search-input" placeholder="Search" aria-label="Search files"
autocomplete="off" data-localize="Search"> <span ty-hint="Case Sensitive"
id="filesearch-case-option-btn" class="searchpanel-search-option-btn"
aria-label="Case Sensitive"><svg class="icon">
<use xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#find-and-replace-icon-case"></use>
</svg> </span><span ty-hint="Whole Word" id="filesearch-word-option-btn"
class="searchpanel-search-option-btn" aria-label="Whole Word"><svg class="icon">
<use xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#find-and-replace-icon-word"></use>
</svg> </span><span ty-hint="Regular Expression" id="filesearch-regexp-option-btn"
class="searchpanel-search-option-btn" aria-label="Regular Expression"><svg class="icon">
<use xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#find-and-replace-icon-regexp"></use>
</svg> </span><span class="btn close-btn" aria-label="Close outline filter"
id="close-outline-filter-btn" style="display:none"><span
class="ion-close-round"></span></span></div>
<div id="file-library-search-result"></div>
<script id="file-search-item-template" type="text/x-template"><div class="ty-search-item">
<div class="ty-search-item-summary">
<div class="ty-search-item-collapse-icon">
<i class="fa fa-caret-right"></i>
<i class="fa fa-caret-down"></i>
</div>
<div style="display:-webkit-flex;display:flex;">
<div class="file-list-item-file-name">
<span class="file-list-item-file-name-part"></span><span class="file-list-item-file-ext-part"></span>
</div>
<div class="file-list-item-right"><span class="file-list-item-count">0</span></div>
</div>
<div class="file-list-item-parent-loc"></div>
</div>
<div class="ty-search-item-matches"></div>
</div></script>
</div>
<div id="outline-content" class="outline-content sidebar-content-content"
data-after-content="Outline is Empty."></div>
<div id="file-library" class="sidebar-content-content">
<div id="file-library-tree" class="no-selection" data-state="rendering"
data-after-content="No Folder is Opened."></div>
<div id="file-library-list" class="no-selection" data-state="">
<div id="sidebar-loading-template" class="file-list-item">
<div class="sidebar-loading">
<div class="typora-quick-open-info"><span data-localize="Loading"
data-lg="Front">Loading</span></div>
<div class="typora-search-spinner">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
<div class="oversize-list-template">
<div class="oversize-list-template-mark"><i class="fa fa-exclamation-triangle"
aria-hidden="true"></i></div>
<div data-localize="Selected folders contains too many files. \nPlease switch to <a id='switch-to-tree-on-oversize'>File Tree view</a> for better performance."
data-lg="Front" data-lt="html">Selected folders contains too many files. Please
switch to <a id="switch-to-tree-on-oversize">File Tree view</a> for better
performance.</div>
</div>
</div>
<div id="file-library-list-children" data-after-content="No Files Available"></div>
</div>
<script id="file-list-item-template" type="text/x-template"><div class="file-list-item file-library-node file-library-file-node" data-create-date="" data-path="" data-parent-path="" tabindex="-1">
<div class="file-list-item-parent-loc">/</div>
<div class="file-list-item-time"></div>
<div class="file-list-item-file-name">
<span class="file-list-item-file-name-part"></span><span class="file-list-item-file-ext-part"></span>
</div>
<div class="file-list-item-summary"></div>
</div></script>
<script id="folder-menu-item-template" type="text/x-template"><li role="presentation" class="folder-menu-item file-action-item folder-menu-groupm show" ty-hint-pos="right">
<a role="menuitem" tabindex="-1" href="#"><i class="fa fa-folder-o"></i><span></span></a>
</li></script>
<script id="sidebar-loading-template" type="text/x-template"><div class="sidebar-loading-template">
</div></script>
<script id="file-library-node-template" type="text/x-template"><div class="file-library-node file-tree-node" data-path="" data-has-sub="false" tabindex="-1">
<div class="file-node-background">
</div>
<div class="file-node-content" draggable="true">
<span class="file-node-open-state">
<i class="fa fa-caret-right"></i><i class="fa fa-caret-down"></i>
</span>
<i class="file-node-icon"></i>
<span class="file-node-title"><span class="file-node-title-name-part"></span><span class="file-node-title-ext-part"></span></span>
<div class="file-tree-rename-div">
<input class="file-tree-rename-input" />
</div>
</div>
<div class="file-node-children">
</div>
</div></script>
</div>
<div id="file-info-content" class="sidebar-content-content" style="display:none">
<div id="file-info-meta-group">
<div id="file-info-last-saved-sub" class="file-info-item-subtitle">Saved just now</div>
<div class="file-info-title file-info-field">
<div id="file-info-filename" class="file-info-field-value">Utitled.md</div>
<div id="file-info-filename-input-area" class="file-info-field-value" style="display:none">
<input id="file-info-filename-input"> <span id="file-info-filename-input-ext"></span>
</div>
</div>
<div class="file-info-field" id="file-info-file-path"><i
class="fa fa-folder-o file-info-field-key"></i> <span
class="file-info-field-value"></span></div>
<div class="file-info-field" id="file-info-last-modified"><i
class="fa fa-clock-o file-info-field-key"></i> <span
class="file-info-field-value"></span></div>
</div>
<div id="file-info-save-group">
<div class="file-info-item-subtitle">This is a New Document</div>
<div id="file-info-save-btn" class="file-info-save-btn">Save Now</div>
</div>
<div id="file-info-contet-group">
<div class="file-info-item-subtitle">Content</div>
<div class="file-info-field file-info-field-read"><span class="file-info-field-read-value"
id="file-info-field-read-value-minutes">0</span>minutes</div>
<div class="file-info-field file-info-field-read"><span class="file-info-field-read-value"
id="file-info-field-read-value-word">0</span>words</div>
<div class="file-info-field file-info-field-read"><span class="file-info-field-read-value"
id="file-info-field-read-value-ch">0</span>characters</div>
</div>
</div>
</div>
<div class="sidebar-footer no-selection" id="ty-sidebar-footer">
<div style="display: -webkit-flex;display: flex;background:inherit">
<div class="sidebar-footer-item footer-item-right footer-btn file-action-item not-empty-menu-group"
id="sidebar-new-file-btn" ty-hint="New File"><span class="ty-icon ty-add"
style="position:relative;top:1px"></span></div>
<div class="sidebar-footer-item footer-item-left footer-btn outline-action-item"
id="unpin-outline-btn" ty-hint="Unpin Outline Panel"><span><span
class="ty-icon ty-export1"></span> <span></span></span></div>
<div class="sidebar-footer-main-item" id="sidebar-menu-btn"><span class="sidebar-footer-item"><span
class="sidebar-footer-main-item-label" id="sidebar-footer-main-item-label">Open
Folder... </span><span class="footer-btn"><span class="ty-icon ty-dots-v"
aria-hidden="true"></span></span></span>
<ul id="sidebar-files-menu" class="dropdown-menu" role="menu" aria-labelledby="drop5"
tabindex="-1">
<li role="presentation" class="menuitem-group-label file-action-item not-empty-menu-group">
<span data-localize="Action" data-lg="Front">Action</span> <span
class="ty-icon ty-delete-button" ty-hint="Close Sidebar Menu"
id="close-sidebar-menu-btn"></span>
</li>
<li role="presentation" class="file-action-item not-empty-menu-group"><a role="menuitem"
tabindex="-1" href="#" id="new-file-from-sidebar-menu" data-localize="New File"
data-lg="Front">New File</a></li>
<li role="presentation" class="file-action-item not-empty-menu-group"><a role="menuitem"
tabindex="-1" href="#" id="search-from-sidebar-menu" data-localize="Search"
data-lg="Menu">Search</a></li>
<li role="presentation" class="file-action-item not-empty-menu-group"><a role="menuitem"
tabindex="-1" href="#" id="reveal-folder-from-sidebar-menu"
data-localize="Reveal in Finder" data-lg="Front">Reveal in Finder</a></li>
<li role="presentation" class="file-action-item not-empty-menu-group"><a role="menuitem"
tabindex="-1" href="#" id="open-folder-from-sidebar-menu"
data-localize="Open Folder..." data-lg="Front">Open Folder...</a></li>
<li role="presentation" class="file-action-item not-empty-menu-group"><a role="menuitem"
tabindex="-1" href="#" id="refresh-from-sidebar-menu" data-localize="Refresh Folder"
data-lg="Front">Refresh Folder</a></li>
<li role="presentation"
class="menuitem-group-label file-action-item file-sort-item not-empty-menu-group"><span
data-localize="Sort" data-lg="Front">Sort</span> <span
class="sort-button-area"><span><span id="ty-group-by-folder-btn"
class="ty-icon ty-package ty-side-sort-btn active"
ty-hint="Group By Folder"></span> </span><span><span
id="ty-sort-by-natural-btn"
class="ty-icon ty-sort-by-natural ty-side-sort-btn ty-side-sort-btn2 active"
ty-hint="Sort Naturally (Ascending)"></span> <span id="ty-sort-by-name-btn"
class="ty-icon ty-sort-by-alphabet-a ty-side-sort-btn ty-side-sort-btn2"
ty-hint="Sort by Name (Ascending)"></span> <span id="ty-sort-by-date-btn"
class="ty-icon ty-sort-by-date-a ty-side-sort-btn ty-side-sort-btn2"
ty-hint="Sort by Modification Date (Ascending)"></span> <span
id="ty-sort-by-create-btn"
class="ty-icon ty-sort-new-up ty-side-sort-btn ty-side-sort-btn2"
ty-hint="Sort by Creation Date (Ascending)"></span></span></span>
<div class="clearfix"></div>
</li>
<li role="presentation"
class="menuitem-group-label file-action-item folder-menu-group show"><span
data-localize="Recent Locations" data-lg="Menu">Recent Locations</span></li>
<li role="presentation"
class="folder-menu-item folder-menu-group selected-folder-menu-item file-action-item show">
<a role="menuitem" tabindex="-1" href="#"><i
class="fa fa-folder-o"></i><span></span></a>
</li>
<li role="presentation" class="menuitem-group-label file-action-item empty-menu-group"
id="folder-menu-item-after"><span data-localize="Location"
data-lg="Front">Location</span></li>
<li role="presentation" class="file-action-item empty-menu-group"><a role="menuitem"
tabindex="-1" href="#" id="open-folder-from-sidebar-menu"
data-localize="Open Folder..." data-lg="Front">Open Folder...</a></li>
</ul>
</div>
<div class="sidebar-footer-item footer-item-right footer-btn file-action-item not-empty-menu-group"
id="switch-file-list-btn" ty-hint="Switch File List/Tree View"><span
class="switch-file-list-btn-to-list"><span class="ty-icon ty-three-cells"></span>
</span><span class="switch-file-list-btn-to-tree"><span
class="ty-icon ty-file-tree"></span></span></div>
</div>
</div>
</div>
<div aria-hidden="true" id="typora-sidebar-resizer">
<div class="typora-sidebar-resizer-bar"></div>
</div>
<div id="top-titlebar" class="stopselect"><span id="w-titlebar-left"><span class="toolbar-icon"
style="float:left" id="w-menu-btn"><span class="ty-menu-btn-area"><span
class="ty-menu-btn-area-sub ty-menu-btn-area-sub1"></span> <span
class="ty-menu-btn-area-sub ty-menu-btn-area-sub2"></span> <span
class="ty-menu-btn-area-sub ty-menu-btn-area-sub3"></span> </span></span><span
class="title-text" id="title-text">Typora</span> </span><span id="w-traffic-lights"><span id="w-min"
class="btn toolbar-icon"><span class="ty-icon ty-minimize10"></span> </span><span id="w-max-group"
class=""><span id="w-max" class="btn toolbar-icon"><span class="ty-icon ty-maximize10"></span>
</span><span id="w-full" class="btn toolbar-icon"><span class="ion-arrow-resize"></span>
</span><span id="w-pin" class="btn toolbar-icon"><span class="ion-pin"></span> </span></span><span
id="w-unpin" class="btn toolbar-icon"><span class="ion-pin"></span> </span><span id="w-restore"
class="btn toolbar-icon"><span style="zoom:1.1" class="ty-icon ty-window-restore"></span>
</span><span id="w-close" class="btn toolbar-icon"><span class="ty-icon ty-close10"></span>
</span></span><span id="w-top-margin"></span></div>
<div class="megamenu-menu stopselect" id="megamenu-menu-sidebar">
<div class="megamenu-menu-header quiet-focus" tabindex="-1"><a class="menu-style-btn"
id="megamenu-back-btn"><i class="ion-android-arrow-back"></i></a> <a
id="megamenu-menu-header-title"><span class="megamenu-menu-header-title-menu" data-localize="Menu"
data-lg="Panel">Menu</span> <span class="megamenu-menu-header-title-back" data-localize="Back"
data-lg="Panel">Back</span></a></div>
<ul class="dropdown-menu megamenu-menu-list" id="megamenu-menu-list">
<li><a role="menuitem" id="m-new" title="New"><i class="fa fa-file-o"></i><span data-localize="New"
data-lg="Menu">New</span></a></li>
<li><a role="menuitem" id="m-open" class="active" title="Open"><i class="fa fa-folder-open-o"></i><span
data-localize="Open" data-lg="Menu">Open</span></a></li>
<li><a role="menuitem" id="m-save" title="Save"><i class="fa fa-save"></i><span data-localize="Save"
data-lg="Menu">Save</span></a> <a role="menuitem" id="m-saved" title="Saved"><i
class="fa fa-check-circle-o"></i><span data-localize="Saved"
data-lg="Front">Saved</span></a></li>
<li><a role="menuitem" id="m-save-as" title="Save As.."><i class="fa fa-paste"></i><span
data-localize="Save As" data-lg="Menu">Save As</span></a></li>
<li class="divider"></li>
<li><a role="menuitem" id="m-export" title="Export"><i class="fa fa-share-square-o"></i><span
data-localize="Export" data-lg="Menu">Export</span></a></li>
<li><a role="menuitem" id="m-print" title="Print"><i class="fa fa-print"></i><span data-localize="Print"
data-lg="Menu">Print</span></a></li>
<li class="divider"></li>
<li><a role="menuitem" id="m-theme" title="Theme"><i class="fa fa-magic"></i><span
data-localize="Themes" data-lg="Menu">Themes</span></a></li>
<li><a role="menuitem" id="m-preference" title="Preferences"><i class="fa fa-cog"></i><span
data-localize="Preferences" data-lg="Menu">Preferences</span></a></li>
<li><a role="menuitem" id="m-about" title="About"><i class="fa fa-question-circle"></i><span
data-localize="About" data-lg="Menu">About</span></a></li>
<li class="divider"></li>
<li><a role="menuitem" id="m-close" title="Close"><i class="fa fa-power-off"></i><span
data-localize="Close" data-lg="Front">Close</span></a></li>
</ul>
</div>
</header>
<content>
<div id="md-searchpanel" class="form-inline searchpanel-replace-mode">
<div style="display: -webkit-flex;display: flex;flex-wrap: nowrap" id="searchpanel-search-group">
<div style="text-align:right">
<div class="ty-search-panel-row"><span class="input-group-addon search-type-selection btn"
style="display: inline-block" id="md-search-type-label"><label><span data-localize="Search"
data-lg="Front">Search</span> </label><i class="fa fa-sort-desc"></i></span>
</div>
<div class="ty-search-panel-row ty-replace-panel-row"><span
class="input-group-addon search-type-selection btn" style="display: inline-block"
id="md-replace-type-label"><label><span data-localize="Replace"
data-lg="Front">Replace</span> </label><i class="fa fa-sort-asc"></i></span>
</div>
</div>
<div style="-webkit-flex:1; flex: 1">
<div class="ty-search-panel-row"><input type="text" class="form-control" data-localize="search text"
data-lg="Front" placeholder="search text" autocorrect="off" spellcheck="false"
autocapitalize="off" id="search-panel-input"> <span ty-hint="Regular Expression"
id="searchpanel-regexp-option-btn" class="searchpanel-search-option-btn"
aria-label="Regular Expression"><svg class="icon" style="width: 20px;height: 14px">
<use xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#find-and-replace-icon-regexp"></use>
</svg> </span><span ty-hint="Case Sensitive" id="searchpanel-case-option-btn"
class="searchpanel-search-option-btn" aria-label="Case Sensitive"><svg class="icon"
style="width: 20px;height: 14px">
<use xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#find-and-replace-icon-case"></use>
</svg> </span><span ty-hint="Whole Word" id="searchpanel-word-option-btn"
class="searchpanel-search-option-btn" aria-label="Whole Word"><svg class="icon"
style="width: 20px;height: 14px">
<use xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#find-and-replace-icon-word"></use>
</svg></span></div>
<div class="ty-search-panel-row ty-replace-panel-row"><input type="text" class="form-control"
data-localize="replace with" data-lg="Front" placeholder="replace with" autocorrect="off"
spellcheck="false" autocapitalize="off" id="search-panel-replace-input"></div>
</div>
<div style="-webkit-flex:0 150px;flex:0">
<div class="ty-search-panel-row"><span class="input-group-addon btn"
style="border-right: 0;padding: 0 8px" id="search-panel-prev"><span
class="ion-chevron-up"></span> </span><span class="input-group-addon btn"
id="search-panel-next" style="border-left:0;padding: 0 8px"><span
class="ion-chevron-down"></span> </span><span class="input-group-addon"
id="search-panel-status" style="border-left:0;padding: 0 12px 0 0"></span> <span
class="input-group-addon btn close-btn"><span class="ion-close-round"></span> <span
class="ty-icon ty-upload" aria-hidden="true"></span></span></div>
<div class="ty-search-panel-row ty-replace-panel-row"><span class="input-group-addon btn"
style="padding-right: 15px;border-right: 0;text-align:left"
id="search-panel-replaceall-btn"><span data-localize="All" data-lg="Front">All</span>
</span><span class="input-group-addon btn" style="text-align: right;border-left:0"
id="search-panel-replace-btn"><span data-localize="Replace" data-lg="Front">Replace</span>
</span><span class="input-group-addon" style="text-align: right;border-left:0"></span></div>
</div>
</div>
<div class="input-group input-group-sm" id="searchpanel-msg">
<div class="alert alert-warning" role="alert">
<span class="searchpanel-msg-icon fa fa-check"></span>
<span id="searchpanel-msg-content" data-localize="Search text not found in article"
data-lg="Front">Search text not found in article</span>
<span id="searchpanel-msg-close-btn" class="searchpanel-msg-btn" style="padding-right:4px"
data-localize="Dismiss" data-lg="Front">Dismiss</span>
<span id="searchpanel-msg-undo-btn" class="searchpanel-msg-btn" data-localize="Undo"
data-lg="Front">Undo</span>
</div>
</div>
</div>
<div id="typora-quick-open" class="modal-dialog" style="display:none">
<div id="typora-quick-open-input"><input type="text" class="input" tabindex="1" autocorrect="off"
spellcheck="false" autocapitalize="off" value="" placeholder="Search by file name"
data-localize="Search by file name" data-lg="Front"></div>
<div class="typora-quick-open-list" id="typora-quick-open-list">
<div class="ty-quick-open-category" id="ty-quick-open-folder-category">
<div class="ty-quick-open-category-title" data-localize="Recent Locations" data-lg="Menu">Recent
Locations</div>
<div id="ty-quick-open-folder-list-inner" class="ty-quick-open-category-list-inner"></div>
</div>
<div class="ty-quick-open-category" id="ty-quick-open-recent-category">
<div class="ty-quick-open-category-title" data-localize="Recent Files" data-lg="Menu">Recent Files
</div>
<div id="ty-quick-open-recent-list-inner" class="ty-quick-open-category-list-inner"></div>
</div>
<div class="ty-quick-open-category" id="ty-quick-open-infolder-category">
<div class="ty-quick-open-category-title" data-localize="File Results" data-lg="Menu">File Results
</div>
<div class="typora-quick-open-list-inner"></div>
</div>
</div>
<script id="typora-quick-open-item-templ" type="text/x-custom-template"><div class="typora-quick-open-item">
<div class="typora-quick-open-item-title"></div>
<div class="typora-quick-open-item-path"></div>
</div></script>
<script id="typora-uploading-image-templ" type="text/x-custom-template"><span class="md-image-uploading-mask-wrapper">
<span class="md-image-uploading-mask">
<span class="md-image-uploading-label"></span>
<span class="uploading-line"></span>
<span class="uploading-line"></span>
<span class="uploading-line"></span>
</span>
</span></script>
<script id="typora-quick-loading-item-templ" type="text/x-custom-template" aria-hidden="true"><div class="typora-quick-open-info-item">
<div class="typora-quick-open-info" data-localize="Searching" data-lg="Front">Searching</div>
<div class="typora-search-spinner"> <div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>
</div></script>
</div>
<script type="text/javascript">if (window.process) {
var typoraOptionPrefix = /^--tyopt=/;
for (argv of process.argv) {
if (typoraOptionPrefix.exec(argv)) {
window._options = JSON.parse(argv.substr("--tyopt=".length));
window.dirname = window._options.dirname;
break;
}
}
}
var mathPackages = ['noundefined', 'autoload', 'ams', 'textmacros', 'xypic'];
if ((window._options || {}).allowPhysicsConflict) {
mathPackages.push('physics');
}
var autoNumberingForMath = (window._options || {}).autoNumberingForMath;
var mathJaxTags = autoNumberingForMath ? "all" : "none";
if (autoNumberingForMath == "ams") mathJaxTags = "ams";
if (autoNumberingForMath == "0" || autoNumberingForMath == "null" || autoNumberingForMath == "false" || autoNumberingForMath == "nil") mathJaxTags = "none";
window.MathJax = {
loader: { load: [/*'ui/safe', 'a11y/semantic-enrich',*/ 'input/tex/extensions/xypic'] },
startup: {
typeset: false,
ready: () => {
console.debug('MathJax is loaded, but not yet initialized');
const { RANGES } = MathJax._.core.MmlTree.OperatorDictionary;
RANGES[28][3] = RANGES[30][3] = RANGES[33][3] = RANGES[47][3] = 'mtext';
MathJax.startup.defaultReady();
MathJax.startup.document.addStyleSheet();
},
pageReady: () => {
/*var safeOptions = MathJax.startup.document.safe.options;
safeOptions.safeProtocols.file = false;
safeOptions.idPattern = /^mjx-[-a-zA-Z0-9_.:]+$/;
safeOptions.dataPattern = /^data-(mjx|semantic)-/;*/
//MathJax.startup.document.options.internalSpeechTitles = true;
console.debug('MathJax is initialized');
}
},
tex: {
macros: {
/*
MathJax.startup.input[0].configuration.handlers.get("macro")._configuration.items
*/
// https://github.com/mathjax/MathJax/pull/1810/files
AA: "\u00c5", alef: "\\aleph", alefsym: "\\aleph", Alpha: "\\mathrm{A}", and: "\\land", ang: "\\angle", Bbb: "\\mathbb", Beta: "\\mathrm{B}", bold: "\\mathbf", bull: "\\bullet", C: "\\mathbb{C}", Chi: "\\mathrm{X}", clubs: "\\clubsuit", cnums: "\\mathbb{C}", Complex: "\\mathbb{C}", coppa: "\u03D9", Coppa: "\u03D8", Dagger: "\\ddagger", Digamma: "\u03DC", darr: "\\downarrow", dArr: "\\Downarrow", Darr: "\\Downarrow", diamonds: "\\diamondsuit", empty: "\\emptyset", Epsilon: "\\mathrm{E}", Eta: "\\mathrm{H}", euro: "\u20AC", exist: "\\exists", geneuro: "\u20AC", geneuronarrow: "\u20AC", geneurowide: "\u20AC", H: "\\mathbb{H}", hAar: "\\Leftrightarrow", harr: "\\leftrightarrow", Harr: "\\Leftrightarrow", hearts: "\\heartsuit", image: "\\Im", infin: "\\infty", Iota: "\\mathrm{I}", isin: "\\in", Kappa: "\\mathrm{K}", koppa: "\u03DF", Koppa: "\u03DE", lang: "\\langle", larr: "\\leftarrow", Larr: "\\Leftarrow", lArr: "\\Leftarrow", lrarr: "\\leftrightarrow", Lrarr: "\\Leftrightarrow", lrArr: "\\Leftrightarrow", Mu: "\\mathrm{M}", N: "\\mathbb{N}", natnums: "\\mathbb{N}", Nu: "\\mathrm{N}", O: "\\emptyset", officialeuro: "\u20AC", Omicron: "\\mathrm{O}", or: "\\lor", P: "\u00B6", pagecolor: ["", 1], part: "\\partial", plusmn: "\\pm", Q: "\\mathbb{Q}", R: "\\mathbb{R}", rang: "\\rangle", rarr: "\\rightarrow", Rarr: "\\Rightarrow", rArr: "\\Rightarrow", real: "\\Re", reals: "\\mathbb{R}", Reals: "\\mathbb{R}", Rho: "\\mathrm{P}", sdot: "\\cdot", sampi: "\u03E1", Sampi: "\u03E0", sect: "\\S", spades: "\\spadesuit", stigma: "\u03DB", Stigma: "\u03DA", sub: "\\subset", sube: "\\subseteq", supe: "\\supseteq", Tau: "\\mathrm{T}", textvisiblespace: "\u2423", thetasym: "\\vartheta", uarr: "\\uparrow", uArr: "\\Uparrow", Uarr: "\\Uparrow", varcoppa: "\u03D9", varstigma: "\u03DB", vline: "\\smash{\\large\\lvert}", weierp: "\\wp", Z: "\\mathbb{Z}", Zeta: "\\mathrm{Z}",
dashint: "\\unicodeInt{x2A0D}",
ddashint: "\\unicodeInt{x2A0E}",
oiint: "\\unicodeInt{x222F}",
oiiint: "\\unicodeInt{x2230}",
ointctrclockwise: "\\unicodeInt{x2233}",
unicodeInt: ["\\mathop{\\vcenter{\\mathchoice{\\huge\\unicode{#1}\\,}{\\unicode{#1}}{\\unicode{#1}}{\\unicode{#1}}}\\,}\\nolimits", 1],
varointclockwise: "\\unicodeInt{x2232}",
},
maxBuffer: 10 * 1024,
displayMath: [['$$\n', '\n$$'], ['$$\r\n', '\r\n$$']],
inlineMath: [['$', '$'], ['$$', '$$']],
processEscapes: true,
packages: { '[+]': mathPackages },
tags: mathJaxTags,
formatError: // function called when TeX syntax errors occur
(jax, err) => {
var message = err.message.replace(/\n.*/, "");
return jax.parseOptions.nodeFactory.create("error", message, err.id, "Error: " + message);
},
useLabelIds: true
},
svg: {
scale: 1,
minScale: 80,
},
options: {
skipHtmlTags: ["script", "noscript", "style", "textarea", "pre", "code", "span"],
processHtmlClass: "md-mathjax-preview|md-inline-math|inline-math-export-jax|math-in-toc",
menuOptions: {
settings: {
inTabOrder: false
}
},
sre: {
speech: 'shallow', // or 'shallow', or 'deep'
},
enableMenu: false,
ignoreHtmlClass: 'tex2jax_ignore',
renderActions: {
//
// Force speech enrichment regardless of the menu settings
// https://mathjax.github.io/MathJax-demos-web/speech-tex-chtml.html.html
/*enrich: {'[+]': [
function (doc) {doc.enrich(true)},
function (math, doc) {math.enrich(doc, true)}
]}*/
}
}
};</script>
<style id="no-sel-style"></style>
<script type="text/javascript" src="./lib.asar/MathJax3/es5/tex-svg-full.js" id="MathJax-script"
defer="defer"></script>
<style type="text/css" id="write-style"></style>
<div id="typora-source" style="z-index:-1"></div>
<div class="md-notification-container">
<div id="md-notification"></div>
</div>
<div id="typora-table-row-tracker" style="display: none" class="md-tooltip-hide typora-table-tracker">
<div class="typora-table-drag-area"></div>
<div class="typora-table-data-area"></div>
</div>
<div id="typora-table-col-tracker" style="display: none" class="md-tooltip-hide typora-table-tracker">
<div class="typora-table-drag-area"></div>
<div class="typora-table-data-area"></div>
</div>
<div id="typora-table-row-insert-marker" class="typora-table-insert-marker" style="display: none"><i
class="fa fa-caret-left"></i> <i class="fa fa-caret-right"></i></div>
<div id="typora-table-col-insert-marker" class="typora-table-insert-marker" style="display: none"><i
class="fa fa-caret-down"></i> <i class="fa fa-caret-up"></i></div><svg
xmlns="http://www.w3.org/2000/svg" style="display: none">
<symbol id="find-and-replace-icon-case" viewBox="0 0 20 16" fill-rule="evenodd">
<path
d="M10.919,13 L9.463,13 C9.29966585,13 9.16550052,12.9591671 9.0605,12.8775 C8.95549947,12.7958329 8.8796669,12.6943339 8.833,12.573 L8.077,10.508 L3.884,10.508 L3.128,12.573 C3.09066648,12.6803339 3.01716722,12.7783329 2.9075,12.867 C2.79783279,12.9556671 2.66366746,13 2.505,13 L1.042,13 L5.018,2.878 L6.943,2.878 L10.919,13 Z M4.367,9.178 L7.594,9.178 L6.362,5.811 C6.30599972,5.66166592 6.24416701,5.48550102 6.1765,5.2825 C6.108833,5.07949898 6.04233366,4.85900119 5.977,4.621 C5.91166634,4.85900119 5.84750032,5.08066564 5.7845,5.286 C5.72149969,5.49133436 5.65966697,5.67099923 5.599,5.825 L4.367,9.178 Z M18.892,13 L18.115,13 C17.9516658,13 17.8233338,12.9755002 17.73,12.9265 C17.6366662,12.8774998 17.5666669,12.7783341 17.52,12.629 L17.366,12.118 C17.1839991,12.2813341 17.0055009,12.4248327 16.8305,12.5485 C16.6554991,12.6721673 16.4746676,12.7759996 16.288,12.86 C16.1013324,12.9440004 15.903001,13.0069998 15.693,13.049 C15.4829989,13.0910002 15.2496679,13.112 14.993,13.112 C14.6896651,13.112 14.4096679,13.0711671 14.153,12.9895 C13.896332,12.9078329 13.6758342,12.7853342 13.4915,12.622 C13.3071657,12.4586658 13.1636672,12.2556679 13.061,12.013 C12.9583328,11.7703321 12.907,11.4880016 12.907,11.166 C12.907,10.895332 12.9781659,10.628168 13.1205,10.3645 C13.262834,10.100832 13.499665,9.8628344 13.831,9.6505 C14.162335,9.43816561 14.6033306,9.2620007 15.154,9.122 C15.7046694,8.9819993 16.3883292,8.90266676 17.205,8.884 L17.205,8.464 C17.205,7.98333093 17.103501,7.62750116 16.9005,7.3965 C16.697499,7.16549885 16.4023352,7.05 16.015,7.05 C15.7349986,7.05 15.5016676,7.08266634 15.315,7.148 C15.1283324,7.21333366 14.9661673,7.28683292 14.8285,7.3685 C14.6908326,7.45016707 14.5636672,7.52366634 14.447,7.589 C14.3303327,7.65433366 14.2020007,7.687 14.062,7.687 C13.9453327,7.687 13.8450004,7.65666697 13.761,7.596 C13.6769996,7.53533303 13.6093336,7.46066711 13.558,7.372 L13.243,6.819 C14.0690041,6.06299622 15.0653275,5.685 16.232,5.685 C16.6520021,5.685 17.0264983,5.75383264 17.3555,5.8915 C17.6845016,6.02916736 17.9633322,6.22049877 18.192,6.4655 C18.4206678,6.71050122 18.5944994,7.00333163 18.7135,7.344 C18.8325006,7.68466837 18.892,8.05799797 18.892,8.464 L18.892,13 Z M15.532,11.922 C15.7093342,11.922 15.8726659,11.9056668 16.022,11.873 C16.1713341,11.8403332 16.3124993,11.7913337 16.4455,11.726 C16.5785006,11.6606663 16.7068327,11.5801671 16.8305,11.4845 C16.9541673,11.3888329 17.0789993,11.2756673 17.205,11.145 L17.205,9.934 C16.7009975,9.95733345 16.279835,10.0004997 15.9415,10.0635 C15.603165,10.1265003 15.3313343,10.2069995 15.126,10.305 C14.9206656,10.4030005 14.7748337,10.5173327 14.6885,10.648 C14.6021662,10.7786673 14.559,10.9209992 14.559,11.075 C14.559,11.3783349 14.6488324,11.5953327 14.8285,11.726 C15.0081675,11.8566673 15.2426652,11.922 15.532,11.922 L15.532,11.922 Z">
</path>
</symbol>
<symbol id="find-and-replace-icon-word" viewBox="0 0 20 16" fill-rule="evenodd">
<rect opacity="0.6" x="1" y="3" width="2" height="6"></rect>
<rect opacity="0.6" x="17" y="3" width="2" height="6"></rect>
<rect x="6" y="3" width="2" height="6"></rect>
<rect x="12" y="3" width="2" height="6"></rect>
<rect x="9" y="3" width="2" height="6"></rect>
<path d="M4.5,13 L15.5,13 L16,13 L16,12 L15.5,12 L4.5,12 L4,12 L4,13 L4.5,13 L4.5,13 Z"></path>
<path d="M4,10.5 L4,12.5 L4,13 L5,13 L5,12.5 L5,10.5 L5,10 L4,10 L4,10.5 L4,10.5 Z"></path>
<path d="M15,10.5 L15,12.5 L15,13 L16,13 L16,12.5 L16,10.5 L16,10 L15,10 L15,10.5 L15,10.5 Z"></path>
</symbol>
<symbol id="find-and-replace-icon-regexp" viewBox="0 0 20 16" fill-rule="evenodd">
<path xmlns="http://www.w3.org/2000/svg"
d="M1.62 10a13.63 13.63 0 0 0 .45 3.51A13.39 13.39 0 0 0 3.4 16.7a.91.91 0 0 1 .1.27.41.41 0 0 1 0 .21.38.38 0 0 1-.1.15l-.14.11-.83.5a14.89 14.89 0 0 1-1.11-2 13.62 13.62 0 0 1-.74-2 13.22 13.22 0 0 1-.42-2 16.4 16.4 0 0 1 0-4.14 13.22 13.22 0 0 1 .42-2 13.84 13.84 0 0 1 .74-2A14.94 14.94 0 0 1 2.4 2l.83.51.14.11a.4.4 0 0 1 .1.15.41.41 0 0 1 0 .21.93.93 0 0 1-.1.27A13.6 13.6 0 0 0 1.62 10zM5 13.51a1.53 1.53 0 0 1 .11-.59 1.5 1.5 0 0 1 .31-.48 1.5 1.5 0 0 1 1.65-.32 1.51 1.51 0 0 1 .8.8 1.47 1.47 0 0 1 .12.59 1.46 1.46 0 0 1-.12.59 1.56 1.56 0 0 1-.32.48 1.46 1.46 0 0 1-.48.32 1.57 1.57 0 0 1-1.18 0 1.4 1.4 0 0 1-.47-.32A1.5 1.5 0 0 1 5 13.51zm10.8-4.72l-.54.94-1.75-1-.34-.23a1.38 1.38 0 0 1-.27-.26A1.84 1.84 0 0 1 13 9v2h-1V9a2.16 2.16 0 0 1 .12-.76 1.82 1.82 0 0 1-.58.48l-1.74 1-.54-.94 1.73-1a2.25 2.25 0 0 1 .75-.29 1.77 1.77 0 0 1-.75-.28L9.2 6.2l.54-.94 1.75 1 .33.24a1.64 1.64 0 0 1 .27.27A2 2 0 0 1 12 6V4h1v2a2.93 2.93 0 0 1 0 .4 1.36 1.36 0 0 1-.1.36 2.24 2.24 0 0 1 .59-.49l1.74-1 .54.94-1.73 1-.36.18a1.29 1.29 0 0 1-.36.1 2.11 2.11 0 0 1 .36.1 2 2 0 0 1 .36.19zM18.37 10a13.65 13.65 0 0 0-.45-3.51 13.81 13.81 0 0 0-1.32-3.27.93.93 0 0 1-.1-.27.45.45 0 0 1 0-.21.36.36 0 0 1 .1-.15l.14-.11.86-.48a15.54 15.54 0 0 1 1.1 2 13.79 13.79 0 0 1 .74 2 13.18 13.18 0 0 1 .42 2 16.16 16.16 0 0 1 .14 2 16.21 16.21 0 0 1-.13 2 13.18 13.18 0 0 1-.42 2 13.57 13.57 0 0 1-.74 2 15.49 15.49 0 0 1-1.1 2l-.84-.5-.14-.11a.35.35 0 0 1-.1-.15.44.44 0 0 1 0-.21.91.91 0 0 1 .1-.27 13.62 13.62 0 0 0 1.31-3.23 13.69 13.69 0 0 0 .43-3.53z" />
</symbol>
</svg>
<div class="modal fade" id="table-insert-dialog" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<div class="modal-title" id="myModalLabel" data-localize="Insert Table" data-lg="Front">Insert
Table</div>
</div>
<div class="modal-body">
<div class="row">
<div class="col-lg-6">
<div class="input-group"><span class="input-group-addon" data-localize="Columns"
data-lg="Front">Columns</span> <input id="table-insert-col" class="form-control"
value="3"></div>
</div>
<div class="col-lg-6">
<div class="input-group"><span class="input-group-addon" data-localize="Rows"
data-lg="Front">Rows</span> <input id="table-insert-row" class="form-control"
value="4"></div>
</div>
</div>
</div>
<div class="modal-footer"><button type="button" class="btn btn-default" data-dismiss="modal"
data-localize="Cancel" data-lg="Front">Cancel</button> <button type="button"
class="btn btn-primary" data-localize="OK" data-lg="Front">OK</button></div>
</div>
</div>
</div>
<div class="modal fade stopselect" id="image-create-folder-confirm" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header"><button type="button" class="close">×</button>
<div class="modal-title" data-localize="Copy Image to…" data-lg="Front">Copy Image to…</div>
</div>
<div class="modal-body">
<div class="row"
data-localize='Typora are trying copy the newly inserted image to folder <code id="image-create-folder-target"></code> according to your YAML Front Matter setting. But the target folder does not exist, create it now?'
data-lg="Front" data-lt="html">Typora are trying copy the newly inserted image to folder
<code id="image-create-folder-target"></code> according to your YAML Front Matter setting.
But the target folder does not exist, create it now?
</div>
</div>
<div class="modal-footer"><button type="button"
class="btn btn-primary image-create-folder-dialog-yes" data-localize="Create Folder"
data-lg="Front">Create Folder</button> <button type="button"
class="btn btn-default image-create-folder-dialog-no" data-localize="Cancel"
data-lg="Front">Cancel</button> <button type="button"
class="btn btn-default image-create-folder-dialog-help" style="float:left"
data-localize="More Info" data-lg="Front">Learn More…</button></div>
</div>
</div>
</div>
<div id="componenet">
<div class="md-mathjax-tooltip">
<div class="btn-group btn-group-sm"><button type="button"
class="btn btn-default jax-trigger-delete-button" aria-label="Delete Math"><i
class="ty-icon ty-delete"></i></button></div>
</div>
<div class="md-diagram-panel md-fences-adv-panel">
<div class="md-diagram-panel-header"></div>
<div class="md-diagram-panel-preview"></div>
<div class="md-diagram-panel-error"></div>
</div>
<script id="md-mathblock-panel-templ" type="text/x-custom-template"><div class="md-mathblock-panel md-rawblock-panel" contenteditable="false">
<div contenteditable="false" class="md-rawblock-control md-rawblock-before">$$
<span class="md-math-tag-input ty-input ty-input-before" tabindex="-1" contenteditable="plaintext-only"></span>
</div>
<div class="md-rawblock-control md-rawblock-input md-mathblock-input">
</div>
<div contenteditable="false" class="md-rawblock-control md-rawblock-after">$$
<span class="md-math-tag-input ty-input ty-input-after" tabindex="-1" contenteditable="plaintext-only"></span>
</div>
<div class="code-tooltip" contenteditable="false">
<div class="md-mathjax-preview" contenteditable="false"></div>
</div>
</div></script>
<script id="md-rawblock-tooltip-templ" type="text/x-custom-template"><div class="md-rawblock-tooltip md-rawblock-control" contenteditable="false">
<span class="md-rawblock-tooltip-name">{type}</span>
<span class="md-rawblock-tooltip-btn md-rawblock-tooltip-edit-btn" ty-hint="Edit">
<i class="fa fa-code" aria-hidden="true"></i>
</span>
<span class="md-rawblock-tooltip-btn md-rawblock-tooltip-ok-btn" ty-hint="Finish Editing">
<i class="ion-checkmark"></i>
</span>
</div></script>
<script id="md-html-iframe-preload-temp" type="text/x-custom-template">function iframePreloadScript(cid){
var resizeTimer;
var stopObserverTimer;
function resize(){
resizeTimer = null;
top.postMessage({
msg: "changeHeight",
height: document.body.parentElement.offsetHeight,
cid: cid
}, "*");
}
var observer = new MutationObserver(function(){
if(!resizeTimer) {
requestAnimationFrame(resize);
resizeTimer = true;
}
});
function startListenContentChanges(onInit) {
if(!document.body) return;
if(stopObserverTimer) {
clearTimeout(stopObserverTimer);
observer.disconnect();
}
observer.observe(document.body, {
attributes: true,
childList: true,
subtree: true
});
resize();
setTimeout(resize, 300);
if(onInit) {
setTimeout(resize, 1000);
setTimeout(resize, 3000);
setTimeout(resize, 5000);
}
}
function initApplication(){
startListenContentChanges(true);
window.addEventListener('message', function(e){
if(e.data == "syncHeight") {
startListenContentChanges();
}
});
var mousedownPos;
document.addEventListener("mousedown", function(e){
top.postMessage({
msg: "mousedown",
cid: cid
}, "*");
mousedownPos = null;
if(e.target.tagName == "A") {
e.target.target = "_blank";
} else if(e.ctrlKey || e.metaKey){
top.postMessage({
msg: "startEditing",
cid: cid
}, "*");
e.preventDefault();
} else {
mousedownPos = [e.offsetX, e.offsetY]
}
});
document.addEventListener("contextmenu", function(e){
top.postMessage({
msg: "contextmenu",
event: {
clientY: e.clientY,
clientX: e.clientX
},
cid: cid
}, "*");
});
}
document.onreadystatechange = function () {
if (document.readyState === "interactive") {
initApplication();
}
}
};</script>
</div>
<script id="md-htmlblock-panel-placeholder-templ"
type="text/x-custom-template"><div class="ty-lds-spinner"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div></script>
<script id="md-htmlblock-panel-novideo-templ" type="text/x-custom-template"><div class="md-resouce-error-wrapper">
<span class="md-resouce-error-mark"><span class="ty-icon ty-no-video"></span></span>
<span class="md-resouce-error-message">{src}</span>
</div></script>
<script id="md-htmlblock-panel-nohtml-templ" type="text/x-custom-template"><div class="md-resouce-error-wrapper">
<span class="md-resouce-error-mark"><span class="ty-icon ty-error-file"></span></span>
<span class="md-resouce-error-message">{src}</span>
</div></script>
<script id="ty-enter-mode-warning-temp" type="text/x-custom-template"><p class="ty-enter-mode-warning-header" style="margin-bottom: 0"></p>
<div style="padding-left: 64px;display: flex;flex-direction: row;align-items: flex-end;justify-content: space-between;margin-bottom: 8px;">
<div class="ty-enter-mode-warning-body" style="opacity: 0.7;font-size: 0.8rem;text-align: left;flex:1;margin-right: 16px;">
</div>
<div style="padding:0;background: inherit;">
<label style="opacity: 0.7;font-size: 0.8rem;margin-right:16px;"><input id="ty-suppress-mode-warning-input" type="checkbox" style="margin-right:8px;vertical-align: middle;"><span data-localize="Do not show this again" data-lg="Panel" style="vertical-align: middle;">Do not show this again</span></label>
<button id="ty-suppress-mode-warning-close-btn" class='btn btn-default btn-sm' style='float:right;margin-top:1px;' data-localize='Dismiss' data-lg="Front">Dismiss</button>
</div>
</div></script><template id="ty-resize-temp">
<div class="ty-resize-top ty-resize-top-top ty-resize-control"></div>
<div class="ty-resize-bottom ty-resize-bottom ty-resize-control"></div>
<div class="ty-resize-top ty-resize-top-left ty-resize-control"></div>
<div class="ty-resize-top ty-resize-top-right ty-resize-control"></div>
<div class="ty-resize-left ty-resize-top-left ty-resize-control"></div>
<div class="ty-resize-right ty-resize-top-right ty-resize-control"></div>
<div class="ty-resize-bottom ty-resize-bottom-left ty-resize-control"></div>
<div class="ty-resize-bottom ty-resize-bottom-right ty-resize-control"></div>
<div class="ty-resize-left ty-resize-bottom-left ty-resize-control"></div>
<div class="ty-resize-right ty-resize-bottom-right ty-resize-control"></div>
</template><span class="tip" title="tooltip content"></span> <span id="inline-math-export-jax"
class="inline-math-export-jax" style="display: none">$x}$</span>
<div id="bottom-hint" class="ty-block-hint" style="display:none">Paragraph</div>
<div id="ty-auto-suggest" class="auto-suggest-container"></div>
<div id="typora-caret"
style="display:none; position:absolute; width:1px; box-sizing: border-box;border-right:1px solid"></div>
<div id="math-inline-preview" class="code-tooltip md-tooltip-hide md-hover-tip" style="display:none">
<div class="md-arrow"></div>
<div id="math-inline-preview-content" class="code-tooltip-content"></div>
</div>
<div id="zoom-hint" style="display:none" role="panel"><span id="zoom-hint-current">100%</span> <span
id="zoom-hint-in" role="button" class="zoom-hint-button" aria-label="zoom out"><i
class="ion-minus-round"></i></span> <span id="zoom-hint-out" role="button" class="zoom-hint-button"
aria-label="zoom in"><i class="ion-plus-round"></i></span> <span id="zoom-hint-reset" role="button"
class="zoom-hint-button" aria-label="reset zoom factor">Reset</span></div>
<div id="write" class="ty-before-first-render" contenteditable="false" spellcheck="true" tabindex="-1">
<div style="opacity: 0">
<h1>ABCDEFG</h1>
<p>abcdefg</p>
</div>
</div><canvas style="display:none" id="video-canvas"></canvas>
<div id="ty-oversize-body" contenteditable="false" style="display: none">
<div class="ty-oversize-modal">
<div style="font-size:24px;opacity: 0.8;text-align: left;margin-bottom:8px"><i
class="fa fa-exclamation-triangle" aria-hidden="true"></i></div>
<div style="opacity: 0.8" data-localize="The file is too large to render in Typora." data-lg="Front">The
file is too large to render in Typora.</div>
<div style="margin-top: 24px;text-align: right"><button style="display: none"
id="ty-oversize-file-open-in" class="btn btn-default" data-localize="Open in…"
data-lg="Front">Open in…</button> <button style="display: none" id="ty-oversize-file-quick-look"
class="btn btn-default" data-localize="QuickLook" data-lg="Front">QuickLook</button></div>
</div>
</div>
<div id="mermaid-canvas" style="display: none"></div>
<ul class="dropdown-menu context-menu" id="context-menu-for-source" role="menu">
<li data-group="copy-paste" data-key="cut"><a role="menuitem" data-localize="Cut" data-lg="Menu">Cut</a>
</li>
<li data-group="copy-paste" data-key="copy"><a role="menuitem" data-localize="Copy" data-lg="Menu">Copy</a>
</li>
<li data-group="copy-paste" data-key="paste"><a role="menuitem" data-localize="Paste"
data-lg="Menu">Paste</a></li>
</ul>
<ul class="dropdown-menu context-menu" id="context-menu" role="menu">
<li data-group="image" data-key="reveal-img-in-finder" class="hide"><a role="menuitem"><span
data-localize="Open Image Location…" data-lg="Menu">Open Image Location…</span><span
class="ty-menu-shortcut"></span></a></li>
<li data-group="image" data-key="reveal-img-in-browser" class="hide"><a role="menuitem"><span
data-localize="Open Image in Browser…" data-lg="Menu">Open Image in Browser…</span><span
class="ty-menu-shortcut"></span></a></li>
<li data-group="image" data-key="copy-img-to-target" class="hide"><a role="menuitem"><span
data-localize="Copy to %@" data-lg="Menu">Copy to %@</span></a></li>
<li data-group="image" data-key="select-img-target" class="hide"><a role="menuitem"><span
data-localize="Copy Image to…" data-lg="Menu">Copy Image to…</span><span
class="ty-menu-shortcut"></span></a></li>
<li data-group="image" data-key="move-img-to-target" class="hide"><a role="menuitem"><span
data-localize="Move to %@" data-lg="Menu">Copy to %@</span></a></li>
<li data-group="image" data-key="select-img-target-move" class="hide"><a role="menuitem"><span
data-localize="Rename or Move Image to…" data-lg="Menu">Rename or Move Image to…</span><span
class="ty-menu-shortcut"></span></a></li>
<li data-group="image" data-key="upload-img" class="hide"><a role="menuitem"><span
data-localize="Upload Image" data-lg="Menu">Upload Images</span><span
class="ty-menu-shortcut"></span></a></li>
<li data-group="image" data-key="zoom-img" class="hide has-extra-menu"><a role="menuitem"><span
data-localize="Zoom Image" data-lg="Menu">Zoom Image</span> <i
class="fa fa-caret-right"></i></a></li>
<li data-group="image" data-key="switch-img-syntax" class="hide has-extra-menu"><a role="menuitem"><span
data-localize="Switch Image Syntax" data-lg="Menu">Switch Image Syntax</span> <i
class="fa fa-caret-right"></i></a></li>
<li data-group="image" data-key="delete-img-file" class="hide"><a role="menuitem"><span
data-localize="Delete Image File" data-lg="Menu">Delete Image File</span><span
class="ty-menu-shortcut"></span></a></li>
<li data-group="image" data-key="delete-img" class="hide"><a role="menuitem"><span
class="ty-menu-shortcut"></span><span data-localize="Delete Image" data-lg="Menu">Delete
Image</span></a></li>
<li class="divider hide" data-group="image"></li>
<li data-group="video" data-key="play" class="hide"><a role="menuitem"><span data-localize="Play"
data-lg="Menu">Play</span></a></li>
<li data-group="video" data-key="pause" class="hide"><a role="menuitem"><span data-localize="Pause"
data-lg="Menu">Pause</span></a></li>
<li class="divider hide" data-group="video"></li>
<li data-group="hyperlink" data-key="jumpto"><a role="menuitem"><span data-localize="Open Link"
data-lg="Menu">Open Link</span><span
class="ty-menu-shortcut ty-no-key-mod">Ctrl+Click</span></a></li>
<li class="divider hide" data-group="hyperlink" id="divider-after-jumpto"></li>
<li class="divider hide" data-group="spell-check" id="divider-before-learn"></li>
<li data-group="spell-check" data-key="learn"><a role="menuitem" data-localize="Learn Spelling"
data-lg="Menu">Learn Spelling</a></li>
<li data-group="spell-check" data-key="unlearn"><a role="menuitem" data-localize="Unlearn Spelling"
data-lg="Menu">Unlearn Spelling</a></li>
<li class="divider" data-group="spell-check"></li>
<li id="search-service-placeholder" class="hide"></li>
<li data-group="edit-block" data-key="edit"><a role="menuitem"><span data-localize="Edit"
data-lg="Menu">Edit</span><span class="ty-menu-shortcut ty-no-key-mod">Click</span></a></li>
<li data-group="copy-paste" class="has-btn-submenu"><span class="menu-item-container"><a
class="menu-style-btn" data-key="cut" data-label="Cut" data-lg="Menu" data-key-str="ctrl+x"><i
class="ty-icon ty-cut"></i></a> <a class="menu-style-btn" data-key="copy" data-label="Copy"
data-lg="Menu" data-key-str="ctrl+c"><i class="ty-icon ty-copy"></i></a> <a
class="menu-style-btn" data-key="paste" data-label="Paste" data-lg="Menu"
data-key-str="ctrl+v"><i class="ty-icon ty-paste"></i></a> <a class="menu-style-btn"
data-key="backspace" data-label="Delete Selected" data-lg="Menu" data-key-str=""><i
class="ty-icon ty-delete1"></i></a></span></li>
<li data-group="hyperlink" data-key="copy_link" class="hide"><a role="menuitem"><span
data-localize="Copy Link Address" data-lg="Menu">Copy Link Address</span><span
class="ty-menu-shortcut"></span></a></li>
<li data-group="emoji" data-key="copy-emoji" class="hide"><a role="menuitem"><span
data-localize="Copy Emoji" data-lg="Menu">Copy Emoji</span><span
class="ty-menu-shortcut ty-no-key-mod"></span></a></li>
<li data-group="image" data-key="copy-img" class="hide"><a role="menuitem"><span
data-localize="Copy Image Content" data-lg="Menu">Copy Image Content</span><span
class="ty-menu-shortcut"></span></a></li>
<li data-key="copy-as" data-group="copy-paste" class="has-extra-menu"><a role="menuitem"><span
data-localize="Copy / Paste As…" data-lg="Menu">Copy / Paste As…</span> <i
class="fa fa-caret-right"></i></a></li>
<li data-key="copy-all-code" data-group="code" class="hide"><a role="menuitem"><span
data-localize="Copy Code Content" data-lg="Menu">Copy Code Content</span></a></li>
<li data-key="format-selected-code" data-group="code" class="hide"><a role="menuitem"><span
data-localize="Auto Indent Selected Code" data-lg="Menu">Format Selected Code Content</span></a>
</li>
<li data-key="format-all-code" data-group="code" class="hide"><a role="menuitem"><span
data-localize="Auto Indent Whole Code" data-lg="Menu">Format Whole Code Content</span></a></li>
<li data-key="download-as" data-group="adv-media"><a role="menuitem"><span data-localize="Save %@ As…"
data-lg="Menu">Save Media As…</span><span class="ty-menu-shortcut ty-no-key-mod"></span></a>
</li>
<li class="divider"></li>
<li data-group="inline-style" class="has-btn-submenu"><span class="menu-item-container"><a
class="menu-style-btn" data-key data-style="strong" data-label="Strong" data-lg="Menu"
data-key-str="ctrl+b"><i class="ty-icon ty-bold"></i></a> <a class="menu-style-btn" data-key
data-style="em" data-label="Emphasis" data-lg="Menu" data-key-str="ctrl+i"><i
class="ty-icon ty-italic"></i></a> <a class="menu-style-btn" data-key data-style="code"
data-label="Code" data-lg="Menu" data-key-str="ctrl+shift+`"><i class="ty-icon ty-code"></i></a>
<a class="menu-style-btn" data-key data-style="link" data-label="Hyperlink" data-lg="Menu"><i
class="ty-icon ty-link-icon" data-key-str="ctrl+k"></i></a></span></li>
<li data-group="block-wrap" class="has-btn-submenu"><span class="menu-item-container"><a
class="menu-style-btn" data-key data-indent="blockquote" data-label="Quote" data-lg="Menu"
data-key-str="ctrl+shift+q"><i class="ty-icon ty-quote"></i></a> <a class="menu-style-btn"
data-key data-indent="ol" data-label="Ordered List" data-lg="Menu"
data-key-str="Ctrl+Shift+["><i class="ty-icon ty-number"></i></a> <a class="menu-style-btn"
data-key data-indent="ul" data-label="Unordered List" data-lg="Menu"
data-key-str="Ctrl+Shift+]"><i class="ty-icon ty-bullet-list"></i></a> <a class="menu-style-btn"
data-key data-indent="tasklist" data-label="Task List" data-lg="Menu"><i
class="ty-icon ty-check"></i></a></span></li>
<li data-group="block-tab" data-block-auto-hide class="has-btn-submenu"><span class="menu-item-container"><a
class="menu-style-btn menu-style-btn-2width" data-key data-tab="left" data-label="Outdent"
data-lg="Menu" data-key-str="Tab"><i class="ty-icon ty-left"></i></a> <a
class="menu-style-btn menu-style-btn-2width" data-key data-tab="right" data-label="Indent"
data-lg="Menu" data-key-str="Shift+Tab"><i class="ty-icon ty-right"></i></a></span></li>
<li class="divider" data-group="inline-style"></li>
<li data-key="table" data-group="table" class="has-extra-menu"><a role="menuitem"><span
data-localize="Table" data-lg="Menu">Table</span> <i class="fa fa-caret-right"></i></a></li>
<li data-key="block-style" class="has-extra-menu"><a role="menuitem"><span data-localize="Paragraph"
data-lg="Menu">Paragraph</span> <i class="fa fa-caret-right"></i></a></li>
<li data-key="insert" class="has-extra-menu"><a role="menuitem"><span data-localize="Insert"
data-lg="Menu">Insert</span> <i class="fa fa-caret-right"></i></a></li>
<li class="divider" data-group="delete-block"></li>
<li data-key="delete-block" data-group="delete-block"><a role="menuitem"><span data-localize="Delete Block"
data-lg="Menu">Delete Block</span><span class="ty-menu-shortcut"></span></a></li>
<li class="divider" data-group="dev-tool"></li>
<li data-group="dev-tool" data-key="dev-tool"><a role="menuitem" data-localize="Inspect Element"
data-lg="Menu">Inspect Element</a></li>
</ul>
<ul class="dropdown-menu context-menu ext-context-menu" id="block-style-menu" role="menu">
<li data-block-auto-disable data-key><a role="menuitem" data-block="header1" class="state-off"><span
data-localize="Heading 1" data-lg="Menu">Heading 1</span><span
class="ty-menu-shortcut">Ctrl+1</span></a></li>
<li data-block-auto-disable data-key><a role="menuitem" data-block="header2" class="state-off"><span
data-localize="Heading 2" data-lg="Menu">Heading 2</span><span
class="ty-menu-shortcut">Ctrl+2</span></a></li>
<li data-block-auto-disable data-key><a role="menuitem" data-block="header3" class="state-off"><span
data-localize="Heading 3" data-lg="Menu">Heading 3</span><span
class="ty-menu-shortcut">Ctrl+3</span></a></li>
<li data-block-auto-disable data-key><a role="menuitem" data-block="header4" class="state-off"><span
data-localize="Heading 4" data-lg="Menu">Heading 4</span><span
class="ty-menu-shortcut">Ctrl+4</span></a></li>
<li data-block-auto-disable data-key><a role="menuitem" data-block="header5" class="state-off"><span
data-localize="Heading 5" data-lg="Menu">Heading 5</span><span
class="ty-menu-shortcut">Ctrl+5</span></a></li>
<li data-block-auto-disable data-key><a role="menuitem" data-block="header6" class="state-off"><span
data-localize="Heading 6" data-lg="Menu">Heading 6</span><span
class="ty-menu-shortcut">Ctrl+6</span></a></li>
<li class="divider"></li>
<li data-key><a role="menuitem" data-block="paragraph" class="state-off state-on"><span
data-localize="Paragraph" data-lg="Menu">Paragraph</span><span
class="ty-menu-shortcut">Ctrl+0</span></a></li>
</ul>
<ul class="dropdown-menu context-menu ext-context-menu" id="edit-menu" role="menu">
<li data-key="copy_as_markdown" data-copy-action><a role="menuitem"><span data-localize="Copy as Markdown"
data-lg="Menu">Copy as Markdown</span><span class="ty-menu-shortcut">Ctrl+Shift+C</span></a>
</li>
<li data-key="copy_as_html_source" data-copy-action><a role="menuitem"><span
data-localize="Copy as HTML Code" data-lg="Menu">Copy as HTML Code</span><span
class="ty-menu-shortcut"></span></a></li>
<li data-key="copy_as_simple_html" data-copy-action><a role="menuitem"><span
data-localize="Copy without Theme Styling" data-lg="Menu">Copy without Theme Styling</span><span
class="ty-menu-shortcut"></span></a></li>
<li class="divider" data-group="adv-media"></li>
<li data-key="copy_as_image" data-group="adv-media"><a role="menuitem"><span data-localize="Copy as Image"
data-lg="Menu">Copy as Image</span><span class="ty-menu-shortcut"></span></a></li>
<li data-key="copy_as_word" data-group="math" menu-for-win><a role="menuitem"><span
data-localize="Copy to MS Word" data-lg="Menu">Copy to MS Word</span><span
class="ty-menu-shortcut"></span></a></li>
<li data-key="copy_as_mathml" data-group="math"><a role="menuitem"><span data-localize="Copy as MathML"
data-lg="Menu">Copy as MathML</span><span class="ty-menu-shortcut"></span></a></li>
<li data-key="copy_as_math_tex" data-group="math"><a role="menuitem"><span data-localize="Copy as Tex"
data-lg="Menu">Copy as Tex</span><span class="ty-menu-shortcut"></span></a></li>
<li class="divider" data-paste-action></li>
<li data-key="paste_as_plain" data-paste-action><a role="menuitem"><span data-localize="Paste as Plain Text"
data-lg="Menu">Paste as Plain Text</span><span class="ty-menu-shortcut">Ctrl+Shift+V</span></a>
</li>
</ul>
<ul class="dropdown-menu context-menu ext-context-menu" id="zoom-img-menu" role="menu">
<li data-key="zoom-img-to-factor" data-factor="25%"><a role="menuitem">25%</a></li>
<li data-key="zoom-img-to-factor" data-factor="33%"><a role="menuitem">33%</a></li>
<li data-key="zoom-img-to-factor" data-factor="50%"><a role="menuitem">50%</a></li>
<li data-key="zoom-img-to-factor" data-factor="67%"><a role="menuitem">67%</a></li>
<li data-key="zoom-img-to-factor" data-factor="80%"><a role="menuitem">80%</a></li>
<li class="divider"></li>
<li data-key="zoom-img-to-factor" data-factor="100%"><a role="menuitem">100%</a></li>
<li class="divider"></li>
<li data-key="zoom-img-to-factor" data-factor="150%"><a role="menuitem">150%</a></li>
<li data-key="zoom-img-to-factor" data-factor="200%"><a role="menuitem">200%</a></li>
</ul>