-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnm__dumi-theme-antd-style__dist__layouts__DocLayout__index.72e160b2.async.js
More file actions
1218 lines (1078 loc) · 474 KB
/
nm__dumi-theme-antd-style__dist__layouts__DocLayout__index.72e160b2.async.js
File metadata and controls
1218 lines (1078 loc) · 474 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
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
(self.webpackChunk_dext7r_docs=self.webpackChunk_dext7r_docs||[]).push([[860],{96421:function(X,m,l){"use strict";l.d(m,{Z:function(){return ne}});var h=l(13110),B=l.n(h),d=l(36521),z=l.n(d),D=l(19704),R=l.n(D),f=function(Z){return function(te){for(var ye=new RegExp(Z.key+"-([a-zA-Z0-9-_]+)","gm"),I={html:te,ids:[],css:""},j,L={};(j=ye.exec(te))!==null;)L[j[1]]===void 0&&(L[j[1]]=!0);return I.ids=Object.keys(Z.inserted).filter(function(K){if((L[K]!==void 0||Z.registered[Z.key+"-"+K]===void 0)&&Z.inserted[K]!==!0)return I.css+=Z.inserted[K],!0}),I}},M=function(Z){return function(te){for(var ye=new RegExp(Z.key+"-([a-zA-Z0-9-_]+)","gm"),I={html:te,styles:[]},j,L={};(j=ye.exec(te))!==null;)L[j[1]]===void 0&&(L[j[1]]=!0);var K=[],V="";return Object.keys(Z.inserted).forEach(function(W){(L[W]!==void 0||Z.registered[Z.key+"-"+W]===void 0)&&Z.inserted[W]!==!0&&(Z.registered[Z.key+"-"+W]?(K.push(W),V+=Z.inserted[W]):I.styles.push({key:Z.key+"-global",ids:[W],css:Z.inserted[W]}))}),I.styles.push({key:Z.key,ids:K,css:V}),I}};function C(E,Z,te,ye){return'<style data-emotion="'+E+" "+Z+'"'+ye+">"+te+"</style>"}var r=function(Z,te){return function(ye){var I=Z.inserted,j=Z.key,L=Z.registered,K=new RegExp("<|"+j+"-([a-zA-Z0-9-_]+)","gm"),V={},W="",re="",pe="";for(var ze in I)if(I.hasOwnProperty(ze)){var Ge=I[ze],mo=j+"-"+ze;Ge!==!0&&L[mo]===void 0&&(pe+=Ge,re+=" "+ze)}pe!==""&&(W=C(j,re.substring(1),pe,te));for(var O="",k="",ce=0,Se;(Se=K.exec(ye))!==null;){if(Se[0]==="<"){O!==""&&(W+=C(j,O.substring(1),k,te),O="",k=""),W+=ye.substring(ce,Se.index),ce=Se.index;continue}var Be=Se[1],po=I[Be];po===!0||po===void 0||V[Be]||(V[Be]=!0,k+=po,O+=" "+Be)}return W+=ye.substring(ce),W}},H=function(Z,te){return function(){var ye={},I=z()(),j=B()(function(K){var V=K[0],W=K[1];if(V==="open"){for(var re="",pe={},ze,Ge=W.toString(),mo=new RegExp(Z.key+"-([a-zA-Z0-9-_]+)","gm");(ze=mo.exec(Ge))!==null;)ze!==null&&ye[ze[1]]===void 0&&(pe[ze[1]]=!0);Object.keys(Z.inserted).forEach(function(O){Z.inserted[O]!==!0&&ye[O]===void 0&&(pe[O]===!0||Z.registered[Z.key+"-"+O]===void 0&&(pe[O]=!0))&&(ye[O]=!0,re+=Z.inserted[O])}),re!==""&&this.queue('<style data-emotion="'+Z.key+" "+Object.keys(pe).join(" ")+'"'+te+">"+re+"</style>")}this.queue(W)},function(){this.queue(null)});return R()(I,j)}},Q=function(Z,te){return function(ye){var I="";return ye.styles.forEach(function(j){I+=C(j.key,j.ids.join(" "),j.css,te)}),I}};function ne(E){E.compat!==!0&&(E.compat=!0);var Z=E.nonce!==void 0?' nonce="'+E.nonce+'"':"";return{extractCritical:f(E),extractCriticalToChunks:M(E),renderStylesToString:r(E,Z),renderStylesToNodeStream:H(E,Z),constructStyleTagsFromChunks:Q(E,Z)}}},54516:function(X,m,l){"use strict";l.r(m),l.d(m,{default:function(){return yp}});var h=l(67564),B=l(19836),d=l(97458),z=function(o){return{ids:Object.keys(o.inserted),css:Object.values(o.inserted).filter(function(t){return typeof t=="string"}).join("")}},D=(0,h.Df)(),R=function(o,t){var n,a=typeof(t==null?void 0:t.includeAntd)!="undefined"?t.includeAntd:!0,s=(n=t==null?void 0:t.antdCache)!==null&&n!==void 0?n:D,u=(0,h.EN)(s),p=u.replace(/<style\s[^>]*>/g,"").replace(/<\/style>/g,""),v={style:(0,d.jsx)("style",{"data-antd-version":B.Z,dangerouslySetInnerHTML:{__html:p}},"antd"),ids:Array.from(s.cache.keys()),key:"antd",css:p,tag:'<style data-antd-version="'.concat(B.Z,'">').concat(p,"</style>")},w=l.g.__ANTD_STYLE_CACHE_MANAGER_FOR_SSR__.getCacheList().map(function(x){var A=l(96421).Z,T=o?A(x).extractCritical(o):z(x);if(!T.css)return null;var $=T.css,_=T.ids;return{key:x.key,style:(0,d.jsx)("style",{"data-emotion":"".concat(x.key," ").concat(_.join(" ")),dangerouslySetInnerHTML:{__html:$}},x.key),css:$,ids:_,tag:'<style data-emotion="'.concat(x.key," ").concat(T.ids.join(" "),'">').concat(T.css,"</style>")}});return p&&a&&w.unshift(v),w.filter(Boolean)};R.cache=D;var f=l(57889),M=l(44204),C=l.n(M),r=l(52983),H=l(56007),Q=l(41393),ne=l(51865),E=l.n(ne),Z=l(71308),te=l(82193),ye=l(40977),I=l(23409),j=l(47383),L=l(85261);const K=e=>{const{componentCls:o,colorText:t,fontSize:n,lineHeight:a,fontFamily:s}=e;return{[o]:{color:t,fontSize:n,lineHeight:a,fontFamily:s}}},V=()=>({});var W=(0,L.I$)("App",K,V);const re=()=>r.useContext(j.Z),pe=e=>{const{prefixCls:o,children:t,className:n,rootClassName:a,message:s,notification:u,style:p,component:v="div"}=e,{getPrefixCls:w}=(0,r.useContext)(Z.E_),x=w("app",o),[A,T,$]=W(x),_=E()(T,x,n,a,$),N=(0,r.useContext)(j.J),P=r.useMemo(()=>({message:Object.assign(Object.assign({},N.message),s),notification:Object.assign(Object.assign({},N.notification),u)}),[s,u,N.message,N.notification]),[Y,fe]=(0,te.Z)(P.message),[ee,J]=(0,I.Z)(P.notification),[ae,q]=(0,ye.Z)(),de=r.useMemo(()=>({message:Y,notification:ee,modal:ae}),[Y,ee,ae]),ie=v===!1?r.Fragment:v,oe={className:_,style:p};return A(r.createElement(j.Z.Provider,{value:de},r.createElement(j.J.Provider,{value:P},r.createElement(ie,Object.assign({},v===!1?void 0:oe),q,fe,J,t))))};pe.useApp=re;var ze=pe,Ge=l(74388),mo=["children"];function O(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function k(e){for(var o=1;o<arguments.length;o++){var t=arguments[o]!=null?arguments[o]:{};o%2?O(Object(t),!0).forEach(function(n){(0,H.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var ce=function(e){var o=e.children,t=(0,Q.Z)(e,mo);return(0,d.jsx)(Ge.f,k(k({},t),{},{children:(0,d.jsx)(ze,{children:o})}))},Se=l(54166),Be=l(43112),po=l(77837),Le=l.n(po);function G(e){var o=(0,r.useRef)(e);return o.current=e,o}var U=G,le=function(e){return e!==null&&typeof e=="object"},Te=function(e){return typeof e=="function"},De=function(e){return typeof e=="string"},Xe=function(e){return typeof e=="boolean"},wo=function(e){return typeof e=="number"},So=function(e){return typeof e=="undefined"},Ro=!1,jo=Ro,S=function(e){jo&&(Te(e)||console.error("useUnmount expected parameter is a function, got ".concat(typeof e)));var o=U(e);(0,r.useEffect)(function(){return function(){o.current()}},[])},y=S;function me(e,o){var t;jo&&(Te(e)||console.error("useDebounceFn expected parameter is a function, got ".concat(typeof e)));var n=U(e),a=(t=o==null?void 0:o.wait)!==null&&t!==void 0?t:1e3,s=(0,r.useMemo)(function(){return Le()(function(){for(var u=[],p=0;p<arguments.length;p++)u[p]=arguments[p];return n.current.apply(n,(0,Be.ev)([],(0,Be.CR)(u),!1))},a,o)},[]);return y(function(){s.cancel()}),{run:s,cancel:s.cancel,flush:s.flush}}var xe=me,Je=function(e){return function(o,t){var n=(0,r.useRef)(!1);e(function(){return function(){n.current=!1}},[]),e(function(){if(!n.current)n.current=!0;else return o()},t)}},Ne=null,g=Je(r.useEffect);function i(e,o,t){var n=(0,Be.CR)((0,r.useState)({}),2),a=n[0],s=n[1],u=xe(function(){s({})},t).run;(0,r.useEffect)(function(){return u()},o),g(e,[a])}var c=i,b=l(45463),F=["setLoading"],se=["setLoading"],he=typeof window!="undefined",Ke={},no=function(o,t){(0,r.useEffect)(function(){r.startTransition(function(){o()})},t)},co=function(o,t){c(function(){o()},t,{wait:32,maxWait:96})},bo=typeof r.startTransition=="function"?no:co,Qe=function(o,t,n){var a=(0,b.AC)(),s=n||function(u,p){return a.setState((0,H.Z)({},u,p))};!he&&!Ke[o]&&(s(o,t),Ke[o]=!0),bo(function(){s(o,t)},[t])},Bo={"zh-CN":"\u9996\u9875","en-US":"Home"},at=function(o){return{title:Bo[o],link:"/",activePath:"/"}},it=(0,r.memo)(function(){var e=(0,f.WF)(),o=(0,f.tx)(),t=(0,f.eL)(),n=(0,f.zh)(),a=(0,f.OK)(),s=(0,f.TH)(),u=(0,f.bU)(),p=(0,b.AC)();return Qe("siteData",e,function(){var v=e.setLoading,w=(0,Q.Z)(e,F),x=p.getState(),A=x.siteData,T=A.setLoading,$=(0,Q.Z)(A,se);C()(w,$)||p.setState({siteData:e})}),Qe("sidebar",o),Qe("routeMeta",t),Qe("location",s),Qe("tabMeta",n),Qe("locale",u),Qe("navData",a,function(){var v=e.themeConfig.hideHomeNav?a:[at(u.id)].concat((0,Se.Z)(a));p.setState({navData:v})}),null}),fi=l(98955),No=l(3454);function pi(){const[,e]=r.useReducer(o=>o+1,0);return e}var gi=l(52510);const Et=["xxl","xl","lg","md","sm","xs"],hi=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),mi=e=>{const o=e,t=[].concat(Et).reverse();return t.forEach((n,a)=>{const s=n.toUpperCase(),u=`screen${s}Min`,p=`screen${s}`;if(!(o[u]<=o[p]))throw new Error(`${u}<=${p} fails : !(${o[u]}<=${o[p]})`);if(a<t.length-1){const v=`screen${s}Max`;if(!(o[p]<=o[v]))throw new Error(`${p}<=${v} fails : !(${o[p]}<=${o[v]})`);const x=`screen${t[a+1].toUpperCase()}Min`;if(!(o[v]<=o[x]))throw new Error(`${v}<=${x} fails : !(${o[v]}<=${o[x]})`)}}),e};function bi(){const[,e]=(0,gi.ZP)(),o=hi(mi(e));return r.useMemo(()=>{const t=new Map;let n=-1,a={};return{matchHandlers:{},dispatch(s){return a=s,t.forEach(u=>u(a)),t.size>=1},subscribe(s){return t.size||this.register(),n+=1,t.set(n,s),s(a),n},unsubscribe(s){t.delete(s),t.size||this.unregister()},unregister(){Object.keys(o).forEach(s=>{const u=o[s],p=this.matchHandlers[u];p==null||p.mql.removeListener(p==null?void 0:p.listener)}),t.clear()},register(){Object.keys(o).forEach(s=>{const u=o[s],p=w=>{let{matches:x}=w;this.dispatch(Object.assign(Object.assign({},a),{[s]:x}))},v=window.matchMedia(u);v.addListener(p),this.matchHandlers[u]={mql:v,listener:p},p(v)})},responsiveMap:o}},[e])}const Ep=(e,o)=>{if(o&&typeof o=="object")for(let t=0;t<Et.length;t++){const n=Et[t];if(e[n]&&o[n]!==void 0)return o[n]}};function vi(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const o=(0,r.useRef)({}),t=pi(),n=bi();return(0,No.Z)(()=>{const a=n.subscribe(s=>{o.current=s,e&&t()});return()=>n.unsubscribe(a)},[]),o.current}var yi=vi;function xi(){return yi()}var wi={useBreakpoint:xi},Zo=function(){var o=wi.useBreakpoint();return(0,r.useMemo)(function(){return(0,fi.f)(o)},[o])},go=l(51569),Xo=l(22213),Si=l(98631);function Jt(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function qt(e){for(var o=1;o<arguments.length;o++){var t=arguments[o]!=null?arguments[o]:{};o%2?Jt(Object(t),!0).forEach(function(n){(0,H.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Jt(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var en=function(o){if(o.location.pathname==="/")return"/";var t=o.navData.filter(function(n){return n.link!=="/"}).find(function(n){return o.location.pathname.startsWith(n.activePath||n.link)});return(t==null?void 0:t.activePath)||(t==null?void 0:t.link)||""},on=function(o){var t,n,a=o.routeMeta,s=a.toc,u=a.frontmatter;return(t=o.tabMeta)!==null&&t!==void 0&&t.toc&&(s=o.tabMeta.toc),(n=o.tabMeta)!==null&&n!==void 0&&n.frontmatter&&(u=o.tabMeta.frontmatter),s.reduce(function(p,v){var w=function(T){if(!u.tocDepth||typeof u.tocDepth=="number"&&u.tocDepth>T-1)return!0};if(v.depth===2&&w(2))p.push(qt({},v));else if(v.depth===3&&w(3)){var x=p[p.length-1];x&&(x.children=x.children||[],x.children.push(qt({},v)))}return p},[])},tn=function(o){var t;return((t=o.sidebar)===null||t===void 0?void 0:t.map(function(n){return n.children}).flat())||[]},Ci=function(o){var t=tn(o),n=o.location.pathname,a=t.findIndex(function(s){return s.link===n});return{prev:t[a-1],currentIndex:a,next:t[a+1]}},ho=l(43131),ki={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Ei=ki,Mo=l(78628),Oi=function(o,t){return r.createElement(Mo.Z,(0,ho.Z)({},o,{ref:t,icon:Ei}))},Mi=r.forwardRef(Oi),Ai=Mi,zi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"},Ti=zi,Ri=function(o,t){return r.createElement(Mo.Z,(0,ho.Z)({},o,{ref:t,icon:Ti}))},ji=r.forwardRef(Ri),nn=ji,Me=l(11584),yo=l(43280),rn,an,ln,cn,Ii=(0,yo.kc)(function(e){var o=e.token,t=e.css;return{container:t(rn||(rn=(0,Me.Z)([`
background: `,`;
padding: 16px 24px;
border-radius: 8px;
cursor: pointer;
min-width: 250px;
&:hover {
background: `,`;
}
`])),o.colorBgContainer,o.colorFillTertiary),nav:t(an||(an=(0,Me.Z)([`
color: `,`;
font-size: 12px;
`])),o.colorTextTertiary),title:t(ln||(ln=(0,Me.Z)([`
font-size: 16px;
`]))),alignmentEnd:t(cn||(cn=(0,Me.Z)([`
justify-content: flex-end;
`])))}}),Bi=function(o){var t=o.title,n=o.link,a=o.type,s=Ii(),u=s.styles,p=s.cx,v=(0,f.YB)(),w=(0,r.useMemo)(function(){switch(a){case"prev":return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Ai,{})," ",v.formatMessage({id:"content.footer.actions.previous"})]});case"next":return(0,d.jsxs)(d.Fragment,{children:[v.formatMessage({id:"content.footer.actions.next"})," ",(0,d.jsx)(nn,{})]})}},[a]);return(0,d.jsx)(f.rU,{to:n,children:(0,d.jsxs)(go.D,{className:u.container,gap:8,children:[(0,d.jsx)(go.D,{horizontal:!0,gap:4,className:p(u.nav,a==="next"&&u.alignmentEnd),children:w}),(0,d.jsx)(go.D,{horizontal:!0,className:p(u.title,a==="next"&&u.alignmentEnd),children:t})]})})},sn=(0,r.memo)(Bi);function dn(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function un(e){for(var o=1;o<arguments.length;o++){var t=arguments[o]!=null?arguments[o]:{};o%2?dn(Object(t),!0).forEach(function(n){(0,H.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dn(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var $i=function(){var o=(0,b.HX)(Ci,C()),t=o.prev,n=o.next,a=Zo(),s=a.mobile;return(0,d.jsxs)(go.D,{horizontal:!s,gap:s?12:0,distribution:"space-between",style:{margin:s?12:0},children:[t?(0,d.jsx)(sn,un({type:"prev"},t)):(0,d.jsx)("div",{}),n?(0,d.jsx)(sn,un({type:"next"},n)):(0,d.jsx)("div",{})]})},Hi=(0,r.memo)($i),fn,_i=(0,yo.kc)(function(e){var o=e.token,t=e.responsive,n=e.isDarkMode,a=e.css;return{content:a(fn||(fn=(0,Me.Z)([`
min-height: 400px;
flex: 1;
width: 100%;
box-sizing: border-box;
padding: 24px 48px;
border-radius: 10px;
background-color: `,`;
box-shadow: `,`;
&:has([data-page-tabs='true']) {
padding-top: 8px;
}
`,` {
padding: 8px 16px;
border-radius: 0;
}
.markdown {
color: `,`;
h1,
h2,
h3 {
color: `,`;
}
p {
line-height: 1.8;
}
// hyperlink
a {
color: `,`;
&:hover {
color: `,`;
}
&:active {
color: `,`;
}
}
img {
max-width: 100%;
opacity: `,`;
}
> [data-code-type='highlighter'] {
pre {
margin: 8px 0 !important;
}
}
// inline code
> :not([data-code-type='highlighter']) code {
padding: 2px 6px;
//FIXME: \u7B49\u4E0B\u4E00\u7248 token \u4F18\u5316\u5347\u7EA7
color: `,`;
background: `,`;
border-radius: 4px;
}
// pre tag
pre {
font-size: 14px;
padding-left: 24px;
padding-right: 24px;
}
// table
table {
width: 100%;
border-spacing: 1px;
}
th {
background: `,`;
}
tr {
}
th,
td {
padding-block-start: 10px;
padding-block-end: 10px;
padding-inline-start: 16px;
padding-inline-end: 16px;
border-bottom: 1px solid `,`;
}
// blockquote
blockquote {
font-style: italic;
margin: 16px 0;
padding: 0 12px;
color: `,`;
border-left: 3px solid `,`;
}
// list
ul li {
line-height: 1.8;
}
// anchor of headings
h1,
h2,
h3,
h4,
h5,
h6 {
> a[aria-hidden]:first-child {
float: left;
width: 20px;
padding-inline-end: 4px;
margin-inline-start: -24px;
color: `,`;
// hide phantom blank node
font-size: 0;
text-align: right;
line-height: inherit;
&:hover {
border: 0;
}
> .icon-link::before {
content: '#';
color: `,`;
font-size: 20px;
}
}
&:not(:hover) > a[aria-hidden]:first-child > .icon-link {
visibility: hidden;
}
}
}
`])),o.colorBgContainer,o.boxShadowTertiary,t.mobile,n?o.colorTextSecondary:o.colorText,o.colorText,o.colorLink,o.colorLinkHover,o.colorLinkActive,n?.8:1,n?o["cyan-7"]:o.colorPrimaryText,n?o["cyan-1"]:o.colorPrimaryBg,o.colorFillTertiary,o.colorBorderSecondary,o.colorTextDescription,o.colorBorder,o.colorText,o.colorTextTertiary)}}),Di=function(o){var t=o.children,n=(0,b.HX)(function(w){return w.siteData.loading}),a=_i(),s=a.styles,u=a.cx,p=Zo(),v=p.mobile;return(0,d.jsxs)(go.D,{width:"100%",gap:v?0:24,children:[(0,d.jsxs)("div",{className:u("dumi-antd-style-content",s.content),children:[(0,d.jsx)(Si.Z,{active:!0,paragraph:!0,loading:n}),(0,d.jsx)("div",{style:{display:n?"none":void 0},children:t})]}),(0,d.jsx)(Hi,{})]})},Ni=(0,r.memo)(Di),Li={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.7 279.8l61.3-58.9V208H683.7L532.4 586.4 360.3 208H137.7v12.9l71.6 86.6c7 6.4 10.6 15.8 9.7 25.2V673c2.2 12.3-1.7 24.8-10.3 33.7L128 805v12.7h228.6v-12.9l-80.6-98a39.99 39.99 0 01-11.1-33.7V378.7l200.7 439.2h23.3l172.6-439.2v349.9c0 9.2 0 11.1-6 17.2l-62.1 60.3V819h301.2v-12.9l-59.9-58.9c-5.2-4-7.9-10.7-6.8-17.2V297a18.1 18.1 0 016.8-17.2z"}}]},name:"medium",theme:"outlined"},Fi=Li,Wi=function(o,t){return r.createElement(Mo.Z,(0,ho.Z)({},o,{ref:t,icon:Fi}))},Pi=r.forwardRef(Wi),Ui=Pi,Zi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 254.3c-30.6 13.2-63.9 22.7-98.2 26.4a170.1 170.1 0 0075-94 336.64 336.64 0 01-108.2 41.2A170.1 170.1 0 00672 174c-94.5 0-170.5 76.6-170.5 170.6 0 13.2 1.6 26.4 4.2 39.1-141.5-7.4-267.7-75-351.6-178.5a169.32 169.32 0 00-23.2 86.1c0 59.2 30.1 111.4 76 142.1a172 172 0 01-77.1-21.7v2.1c0 82.9 58.6 151.6 136.7 167.4a180.6 180.6 0 01-44.9 5.8c-11.1 0-21.6-1.1-32.2-2.6C211 652 273.9 701.1 348.8 702.7c-58.6 45.9-132 72.9-211.7 72.9-14.3 0-27.5-.5-41.2-2.1C171.5 822 261.2 850 357.8 850 671.4 850 843 590.2 843 364.7c0-7.4 0-14.8-.5-22.2 33.2-24.3 62.3-54.4 85.5-88.2z"}}]},name:"twitter",theme:"outlined"},Vi=Zi,Gi=function(o,t){return r.createElement(Mo.Z,(0,ho.Z)({},o,{ref:t,icon:Vi}))},Ki=r.forwardRef(Gi),Xi=Ki,Yi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M564.7 230.1V803h60l25.2 71.4L756.3 803h131.5V230.1H564.7zm247.7 497h-59.9l-75.1 50.4-17.8-50.4h-18V308.3h170.7v418.8zM526.1 486.9H393.3c2.1-44.9 4.3-104.3 6.6-172.9h130.9l-.1-8.1c0-.6-.2-14.7-2.3-29.1-2.1-15-6.6-34.9-21-34.9H287.8c4.4-20.6 15.7-69.7 29.4-93.8l6.4-11.2-12.9-.7c-.8 0-19.6-.9-41.4 10.6-35.7 19-51.7 56.4-58.7 84.4-18.4 73.1-44.6 123.9-55.7 145.6-3.3 6.4-5.3 10.2-6.2 12.8-1.8 4.9-.8 9.8 2.8 13 10.5 9.5 38.2-2.9 38.5-3 .6-.3 1.3-.6 2.2-1 13.9-6.3 55.1-25 69.8-84.5h56.7c.7 32.2 3.1 138.4 2.9 172.9h-141l-2.1 1.5c-23.1 16.9-30.5 63.2-30.8 65.2l-1.4 9.2h167c-12.3 78.3-26.5 113.4-34 127.4-3.7 7-7.3 14-10.7 20.8-21.3 42.2-43.4 85.8-126.3 153.6-3.6 2.8-7 8-4.8 13.7 2.4 6.3 9.3 9.1 24.6 9.1 5.4 0 11.8-.3 19.4-1 49.9-4.4 100.8-18 135.1-87.6 17-35.1 31.7-71.7 43.9-108.9L497 850l5-12c.8-1.9 19-46.3 5.1-95.9l-.5-1.8-108.1-123-22 16.6c6.4-26.1 10.6-49.9 12.5-71.1h158.7v-8c0-40.1-18.5-63.9-19.2-64.9l-2.4-3z"}}]},name:"zhihu",theme:"outlined"},Qi=Yi,Ji=function(o,t){return r.createElement(Mo.Z,(0,ho.Z)({},o,{ref:t,icon:Qi}))},qi=r.forwardRef(Ji),pn=qi,el={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}}]},name:"github",theme:"outlined"},ol=el,tl=function(o,t){return r.createElement(Mo.Z,(0,ho.Z)({},o,{ref:t,icon:ol}))},nl=r.forwardRef(tl),rl=nl,al={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"}}]},name:"history",theme:"outlined"},il=al,ll=function(o,t){return r.createElement(Mo.Z,(0,ho.Z)({},o,{ref:t,icon:il}))},cl=r.forwardRef(ll),sl=cl,dl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm72-112c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48zm400-188h-59.3c-2.6 0-5 1.2-6.5 3.3L763.7 538.1l-49.9-68.8a7.92 7.92 0 00-6.5-3.3H648c-6.5 0-10.3 7.4-6.5 12.7l109.2 150.7a16.1 16.1 0 0026 0l165.8-228.7c3.8-5.3 0-12.7-6.5-12.7zm-44 306h-64.2c-5.5 0-10.6 2.9-13.6 7.5a352.2 352.2 0 01-49.8 62.2A355.92 355.92 0 01651.1 840a355 355 0 01-138.7 27.9c-48.1 0-94.8-9.4-138.7-27.9a355.92 355.92 0 01-113.3-76.3A353.06 353.06 0 01184 650.5c-18.6-43.8-28-90.5-28-138.5s9.4-94.7 28-138.5c17.9-42.4 43.6-80.5 76.4-113.2 32.8-32.7 70.9-58.4 113.3-76.3a355 355 0 01138.7-27.9c48.1 0 94.8 9.4 138.7 27.9 42.4 17.9 80.5 43.6 113.3 76.3 19 19 35.6 39.8 49.8 62.2 2.9 4.7 8.1 7.5 13.6 7.5H892c6 0 9.8-6.3 7.2-11.6C828.8 178.5 684.7 82 517.7 80 278.9 77.2 80.5 272.5 80 511.2 79.5 750.1 273.3 944 512.4 944c169.2 0 315.6-97 386.7-238.4A8 8 0 00892 694z"}}]},name:"issues-close",theme:"outlined"},ul=dl,fl=function(o,t){return r.createElement(Mo.Z,(0,ho.Z)({},o,{ref:t,icon:ul}))},pl=r.forwardRef(fl),gl=pl,so=l(77583),hl=function(o){var t=o.prefixCls,n=o.icon,a=o.title,s=o.items,u=s===void 0?[]:s,p=o.style,v=o.className;return r.createElement("div",{className:E()("".concat(t,"-column"),v),style:p},(a||n)&&r.createElement("h2",null,n&&r.createElement("span",{className:"".concat(t,"-column-icon")},n),a),u.map(function(w,x){var A=w.LinkComponent||"a";return r.createElement("div",{className:E()("".concat(t,"-item"),w.className),style:w.style,key:x},r.createElement(A,{href:w.url,to:typeof A!="string"?w.url:void 0,target:w.openExternal?"_blank":void 0,rel:w.openExternal?"noopener noreferrer":void 0},w.icon&&r.createElement("span",{className:"".concat(t,"-item-icon")},w.icon),w.title),w.description&&r.createElement(r.Fragment,null,r.createElement("span",{className:"".concat(t,"-item-separator")},"-"),r.createElement("span",{className:"".concat(t,"-item-description")},w.description)))}))},ml=hl,bl=["prefixCls","className","style","bottom","columns","maxColumnsPerRow","backgroundColor","columnLayout","theme"],vl=function(o){var t=o.prefixCls,n=t===void 0?"rc-footer":t,a=o.className,s=o.style,u=o.bottom,p=o.columns,v=o.maxColumnsPerRow,w=o.backgroundColor,x=o.columnLayout,A=o.theme,T=A===void 0?"dark":A,$=(0,Q.Z)(o,bl),_=E()("".concat(n),a,(0,H.Z)({},"".concat(n,"-").concat(T),!!T)),N=typeof v=="number"&&v>0;return r.createElement("footer",(0,so.Z)((0,so.Z)({},$),{},{className:_,style:(0,so.Z)((0,so.Z)({},s),{},{backgroundColor:w})}),r.createElement("section",{className:"".concat(n,"-container")},p&&p.length>0&&r.createElement("section",{className:"".concat(n,"-columns"),style:{justifyContent:x,flexWrap:N?"wrap":void 0}},p.map(function(P,Y){var fe=P.title,ee=P.icon,J=P.style,ae=P.className,q=P.items,de=q===void 0?[]:q,ie=(0,so.Z)({},J);return N&&(ie.flex="0 0 ".concat(100/(v+1)+.1,"%")),r.createElement(ml,{key:Y,prefixCls:n,title:fe,icon:ee,items:de,style:ie,className:ae})}))),u&&r.createElement("section",{className:"".concat(n,"-bottom")},r.createElement("div",{className:"".concat(n,"-bottom-container")},u)))},yl=vl,gn,hn,xl=(0,yo.kc)(function(e,o){var t=e.css,n=e.responsive,a=e.token,s="rc-footer";return{container:t(gn||(gn=(0,Me.Z)([`
grid-area: footer;
border-top: 1px solid `,`;
color: `,`;
text-align: center;
align-self: stretch;
`,` {
border: none;
flex-direction: column;
}
`])),a.colorSplit,a.colorTextDescription,n.mobile),footer:t(hn||(hn=(0,Me.Z)([`
color: `,`;
font-size: 14px;
line-height: 1.5;
background-color: `,`;
&.`,` {
a {
color: `,`;
text-decoration: none;
transition: all 0.3s;
&:hover {
color: `,`;
}
}
}
.`,` {
&-container {
width: 100%;
max-width: `,`px;
margin: auto;
padding: `,`;
}
&-columns {
display: flex;
justify-content: space-around;
}
&-column {
h2 {
position: relative;
margin: 0 auto;
color: `,`;
font-weight: 500;
font-size: 16px;
}
&-icon {
position: relative;
top: -1px;
display: inline-block;
width: 22px;
text-align: center;
vertical-align: middle;
margin-inline-end: 0.5em;
> span,
> svg,
img {
display: block;
width: 100%;
}
}
}
&-item {
margin: 12px 0;
&-icon {
position: relative;
top: -1px;
display: inline-block;
width: 16px;
text-align: center;
vertical-align: middle;
margin-inline-end: 0.4em;
> span,
> svg,
img {
display: block;
width: 100%;
}
}
&-separator {
margin: 0 0.3em;
}
}
&-bottom {
&-container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 16px 0;
font-size: 16px;
line-height: 32px;
text-align: center;
border-top: 1px solid `,`;
}
}
&-light {
color: rgba(0, 0, 0, 0.85);
background-color: transparent;
h2,
a {
color: rgba(0, 0, 0, 0.85);
}
}
&-light &-bottom-container {
border-top-color: #e8e8e8;
}
&-light &-item-separator,
&-light &-item-description {
color: rgba(0, 0, 0, 0.45);
}
}
`,` {
.`,` {
text-align: center;
&-container {
padding: 40px 0;
}
&-columns {
display: block;
}
&-column {
display: block;
margin-bottom: 40px;
&:last-child {
margin-bottom: 0;
}
}
}
}
`])),a.colorTextSecondary,a.colorBgLayout,s,a.colorTextTertiary,a.colorLinkHover,s,a.contentMaxWidth,o?"0":"60px 0 20px",a.colorText,o?"transparent":a.colorBorderSecondary,n.mobile,s)}}),wl=function(o){var t=o.columns,n=o.bottom,a=o.theme,s=!t||(t==null?void 0:t.length)===0,u=xl(s),p=u.styles;return(0,d.jsx)("div",{className:p.container,children:(0,d.jsx)(yl,{theme:a,className:p.footer,columns:t,bottom:n})})},Sl=wl,mn=function(){var e=[{title:"\u76F8\u5173\u8D44\u6E90",items:[{title:"Ant Design Pro",url:"https://pro.ant.design",openExternal:!0},{title:"Ant Design Pro Components",url:"https://procomponents.ant.design",openExternal:!0},{title:"Umi",description:"React \u5E94\u7528\u5F00\u53D1\u6846\u67B6",url:"https://umijs.org",openExternal:!0},{title:"Dumi",description:"\u7EC4\u4EF6/\u6587\u6863\u7814\u53D1\u5DE5\u5177",url:"https://d.umijs.org",openExternal:!0},{title:"qiankun",description:"\u5FAE\u524D\u7AEF\u6846\u67B6",url:"https://qiankun.umijs.org",openExternal:!0}]},{title:"\u793E\u533A",items:[{icon:(0,d.jsx)(Ui,{}),title:"Medium",url:"http://medium.com/ant-design/",openExternal:!0},{icon:(0,d.jsx)(Xi,{style:{color:"#1DA1F2"}}),title:"Twitter",url:"http://twitter.com/antdesignui",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/XuVpGqBFxXplzvLjJBZB.svg",alt:"yuque"}),title:"Ant Design \u8BED\u96C0\u4E13\u680F",url:"https://yuque.com/ant-design/ant-design",openExternal:!0},{icon:(0,d.jsx)(pn,{style:{color:"#056de8"}}),title:"Ant Design \u77E5\u4E4E\u4E13\u680F",url:"https://www.zhihu.com/column/c_1564262000561106944",openExternal:!0},{icon:(0,d.jsx)(pn,{style:{color:"#056de8"}}),title:"\u4F53\u9A8C\u79D1\u6280\u4E13\u680F",url:"http://zhuanlan.zhihu.com/xtech",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/mZBWtboYbnMkTBaRIuWQ.png",alt:"seeconf"}),title:"SEE Conf",description:"SEE Conf-\u8682\u8681\u4F53\u9A8C\u79D1\u6280\u5927\u4F1A",url:"https://seeconf.antfin.com/",openExternal:!0}]},{title:"\u5E2E\u52A9",items:[{icon:(0,d.jsx)(rl,{}),title:"GitHub",url:"https://github.com/h7ml/shark.git",openExternal:!0},{icon:(0,d.jsx)(sl,{}),title:"\u66F4\u65B0\u65E5\u5FD7",url:"/changelog"},{icon:(0,d.jsx)(gl,{}),title:"\u8BA8\u8BBA",url:"https://github.com/h7ml/shark/issues",openExternal:!0}]},{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg",alt:"more products"}),title:"\u66F4\u591A\u4EA7\u54C1",items:[{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/XuVpGqBFxXplzvLjJBZB.svg",alt:"yuque"}),title:"\u8BED\u96C0",url:"https://yuque.com",description:"\u77E5\u8BC6\u521B\u4F5C\u4E0E\u5206\u4EAB\u5DE5\u5177",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/antfincdn/nc7Fc0XBg5/8a6844f5-a6ed-4630-9177-4fa5d0b7dd47.png",alt:"AntV"}),title:"AntV",url:"https://antv.vision",description:"\u6570\u636E\u53EF\u89C6\u5316\u89E3\u51B3\u65B9\u6848",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://www.eggjs.org/logo.svg",alt:"Egg"}),title:"Egg",url:"https://eggjs.org",description:"\u4F01\u4E1A\u7EA7 Node.js \u6846\u67B6",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/DMDOlAUhmktLyEODCMBR.ico",alt:"kitchen"}),title:"Kitchen",description:"Sketch \u5DE5\u5177\u96C6",url:"https://kitchen.alipay.com",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg",alt:"xtech"}),title:"\u8682\u8681\u4F53\u9A8C\u79D1\u6280",url:"https://xtech.antfin.com/",openExternal:!0}]}],o=new Date().getFullYear();return(0,d.jsx)(Sl,{bottom:(0,d.jsxs)("p",{children:[(0,d.jsx)("a",{href:"/sitemap.xml",target:"_blank",children:"\u7AD9\u70B9\u5730\u56FE"})," ","|\xA9"," ",o," ","h7ml Company. All rights reserved."]}),columns:e})},Co=l(67200),lt=l(99538),Cl=l(81580);function ct(e){var o=e.pathname,t=e.current,n=e.target,a="base"in t?o.replace(t.base.replace(/\/$/,""),"")||"/":o.replace(new RegExp("".concat(t.suffix,"$")),"");return"base"in n?"".concat(n.base.replace(/\/$/,"")).concat(a).replace(/([^/])\/$/,"$1"):"".concat(a).concat(n.suffix)}var kl={"zh-CN":"\u{1F1E8}\u{1F1F3}","en-US":"\u{1F1FA}\u{1F1F8}","jp-JP":"\u{1F1EF}\u{1F1F5}","ko-KR":"\u{1F1F0}\u{1F1F7}","ru-RU":"\u{1F1F7}\u{1F1FA}","es-ES":"\u{1F1EA}\u{1F1F8}","fr-FR":"\u{1F1EB}\u{1F1F7}","de-DE":"\u{1F1E9}\u{1F1EA}","pt-BR":"\u{1F1E7}\u{1F1F7}","it-IT":"\u{1F1EE}\u{1F1F9}","tr-TR":"\u{1F1F9}\u{1F1F7}","vi-VN":"\u{1F1FB}\u{1F1F3}"},bn={"zh-CN":"\u4E2D","en-US":"EN"},El=function(o){var t=o.locale,n=o.current,a=(0,f.TH)(),s=a.pathname,u=(0,r.useState)(function(){return ct({pathname:s,current:n,target:t})}),p=(0,Co.Z)(u,2),v=p[0],w=p[1];return(0,r.useEffect)(function(){w(ct({pathname:s,current:n,target:t}))},[s,n.id,t.id]),(0,d.jsx)(f.rU,{to:v,children:(0,d.jsx)(lt.ZP,{style:{minWidth:34,padding:0,display:"flex",alignItems:"center",justifyContent:"center"},children:bn[t.id]})})},Ol=function(){var o=(0,b.HX)(function(n){return n.siteData.locales}),t=(0,b.HX)(function(n){return n.locale});return o.length<=1?null:o.length>2?(0,d.jsx)(Cl.Z,{value:o.findIndex(function(n){return n.id===t.id}),onChange:function(a){console.log(ct({pathname:location.pathname,current:t,target:o[a]})),f.m8.push(ct({pathname:location.pathname,current:t,target:o[a]}))},options:o.map(function(n){return{value:n.id,label:bn[n.id]}}),renderItem:function(a,s){return"".concat(kl[o[s].id]," ").concat(o[s].name)},style:{height:32,minWidth:32,padding:0,display:"flex",alignItems:"center",justifyContent:"center"}}):(0,d.jsx)(El,{locale:o.find(function(n){var a=n.id;return a!==t.id}),current:t})},Ml=(0,r.memo)(Ol);function st(e,o){if(Object.is(e,o))return!0;if(typeof e!="object"||e===null||typeof o!="object"||o===null)return!1;if(e instanceof Map&&o instanceof Map){if(e.size!==o.size)return!1;for(const[n,a]of e)if(!Object.is(a,o.get(n)))return!1;return!0}if(e instanceof Set&&o instanceof Set){if(e.size!==o.size)return!1;for(const n of e)if(!o.has(n))return!1;return!0}const t=Object.keys(e);if(t.length!==Object.keys(o).length)return!1;for(const n of t)if(!Object.prototype.hasOwnProperty.call(o,n)||!Object.is(e[n],o[n]))return!1;return!0}var Op=(e,o)=>(console.warn("[DEPRECATED] Default export is deprecated. Instead use `import { shallow } from 'zustand/shallow'`."),st(e,o)),Vo=l(39378),vn=function(o){return o.siteData.themeConfig.name},yn=function(o){var t,n;return((t=o.siteData.themeConfig)===null||t===void 0||(t=t.socialLinks)===null||t===void 0?void 0:t.github)||((n=o.siteData.themeConfig)===null||n===void 0?void 0:n.github)},Al=function(o){var t=o.siteData.themeConfig.logo;return t?(t.startsWith("http"),t):t||""},zl=function(o){var t,n=o.routeMeta.frontmatter;if(o.siteData.themeConfig.apiHeader===!1||n.apiHeader===!1)return!1;if(n.apiHeader)return!0;var a=["/api","/components"].concat((0,Se.Z)(((t=o.siteData.themeConfig.apiHeader)===null||t===void 0?void 0:t.match)||[]));return a.some(function(s){return o.location.pathname.startsWith(s)})};function Tl(e,o){var t={camel:function(){return(0,Vo.camelCase)(e)},pascal:function(){return(0,Vo.upperFirst)((0,Vo.camelCase)(e))},kebab:function(){return(0,Vo.kebabCase)(e)},snake:function(){return(0,Vo.snakeCase)(e)},default:function(){return e}};return(t[o]||t.default)()}var Rl=function(o){var t,n,a,s,u,p,v,w,x=yn(o),A=((t=o.routeMeta)===null||t===void 0?void 0:t.frontmatter)||{},T=(n=o.locale)===null||n===void 0?void 0:n.id,$=function(ue){if(x)return ue.replace("{github}",x).replace("{atomId}",A.atomId||"").replace(/\{atomId\.([^}]+)}/g,function(ve,Ce){return Tl(A.atomId||"",Ce)}).replace("{title}",A.title).replace("{locale}",T)},_=function(ue){return ue===!1?!1:typeof ue=="string"},N=((a=o.siteData)===null||a===void 0||(a=a.themeConfig)===null||a===void 0?void 0:a.apiHeader)||{},P=N.pkg,Y=P===void 0?(s=o.siteData)===null||s===void 0||(s=s.pkg)===null||s===void 0?void 0:s.name:P,fe=N.sourceUrl,ee=N.docUrl,J=((u=A.apiHeader)===null||u===void 0?void 0:u.pkg)||Y,ae=A.atomId||A.title,q=((p=A.apiHeader)===null||p===void 0?void 0:p.defaultImport)||!1,de=((v=A.apiHeader)===null||v===void 0?void 0:v.sourceUrl)||fe,ie=_(de)?$(de):void 0,oe=((w=A.apiHeader)===null||w===void 0?void 0:w.docUrl)||ee,ke=_(oe)?$(oe):void 0;return{title:A.title,description:A.description,pkg:J,defaultImport:q,componentName:ae,sourceUrl:ie,docUrl:ke}},xn=function(o){var t=o.routeMeta.frontmatter;return(0,Vo.merge)({},t.token,o.siteData.themeConfig.siteToken)},wn={apiHeader:Rl,flattenSidebar:tn,token:xn,logo:Al},Sn,jl=(0,yo.kc)(function(e){var o=e.css,t=e.responsive,n=e.token;return o(Sn||(Sn=(0,Me.Z)([`
display: inline-flex;
align-items: center;
font-family: AliPuHui, `,`;
color: `,`;
font-size: 22px;
line-height: 1;
font-weight: 500;
text-decoration: none;
gap: 10px;
`,` {
font-size: 18px;
}
`])),n.fontFamily,n.colorText,t.mobile)}),Il=function(){var o=(0,b.HX)(function(x){return x.siteData.themeConfig},C()),t=(0,b.HX)(function(x){return x.locale},C()),n=(0,b.HX)(wn.logo,st),a=jl(),s=a.styles,u=a.cx,p=o.name,v=o.hideNameOnHeader,w=v===void 0?!1:v;return o&&(0,d.jsxs)(f.rU,{className:u(s),to:"base"in t?t.base:"/",children:[!!n&&(0,d.jsx)("img",{src:n,alt:o.name,height:32}),!w&&p]})},Cn=(0,r.memo)(Il),Bl=l(51877),$l=function(){return r.createElement(r.Fragment,null)},Hl=$l,kn,En,_l=(0,yo.kc)(function(e){var o=e.css,t=e.responsive,n=e.token,a=e.stylish,s=e.prefixCls,u=".".concat(s,"-tabs"),p=16,v=6;return{tabs:o(kn||(kn=(0,Me.Z)([`
`,"-tab + ",`-tab {
margin: `,`px 4px !important;
padding: 0 12px !important;
}
`,`-tab {
color: `,`;
transition: background-color 100ms ease-out;
&:first-child {
margin: `,"px 4px ",`px 0;
padding: `,`px 12px !important;
}
&:hover {
color: `,` !important;
background: `,`;
border-radius: `,`px;
}
}
`,`-nav {
margin-bottom: 0;
}
`,` {
display: none;
}
`])),u,u,p,u,n.colorTextSecondary,p,p,v,n.colorText,n.colorFillTertiary,n.borderRadius,u,t.mobile),link:o(En||(En=(0,Me.Z)([`
`,`
`])),a.resetLinkColor)}}),Dl=function(){var o=_l(),t=o.styles,n=/^(\w+:)\/\/|^(mailto|tel):/,a=(0,b.HX)(function(u){return u.navData},st),s=(0,b.HX)(en);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Bl.Z,{onChange:function(p){var v,w=(v=a.find(function(x){return x.activePath===p||x.link===p}))===null||v===void 0?void 0:v.link;!w||n.test(w)||f.m8.push(w)},activeKey:s,className:t.tabs,items:a.map(function(u){return{label:n.test(u.link||"")?(0,d.jsx)("a",{href:u.link,className:t.link,target:"_blank",rel:"noreferrer",children:u.title}):(0,d.jsx)(f.rU,{className:t.link,to:u.link,children:u.title}),key:u.activePath||u.link}})}),(0,d.jsx)(Hl,{})]})},Nl=(0,r.memo)(Dl),Ll={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Fl=Ll,Wl=function(o,t){return r.createElement(Mo.Z,(0,ho.Z)({},o,{ref:t,icon:Fl}))},Pl=r.forwardRef(Wl),On=Pl,Ul=Object.defineProperty,Mn=Object.getOwnPropertySymbols,Zl=Object.prototype.hasOwnProperty,Vl=Object.prototype.propertyIsEnumerable,An=(e,o,t)=>o in e?Ul(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,Gl=(e,o)=>{for(var t in o||(o={}))Zl.call(o,t)&&An(e,t,o[t]);if(Mn)for(var t of Mn(o))Vl.call(o,t)&&An(e,t,o[t]);return e};const Kl=e=>r.createElement("svg",Gl({viewBox:"0 0 1024 1024"},e),r.createElement("path",{d:"m885.2 446.3-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0 0 60.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}));var Mp="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJtODg1LjIgNDQ2LjMtLjItLjgtMTEyLjItMjg1LjFjLTUtMTYuMS0xOS45LTI3LjItMzYuOC0yNy4ySDI4MS4yYy0xNyAwLTMyLjEgMTEuMy0zNi45IDI3LjZMMTM5LjQgNDQzbC0uMy43LS4yLjhjLTEuMyA0LjktMS43IDkuOS0xIDE0LjgtLjEgMS42LS4yIDMuMi0uMiA0LjhWODMwYTYwLjkgNjAuOSAwIDAgMCA2MC44IDYwLjhoNjI3LjJjMzMuNSAwIDYwLjgtMjcuMyA2MC45LTYwLjhWNDY0LjFjMC0xLjMgMC0yLjYtLjEtMy43LjQtNC45IDAtOS42LTEuMy0xNC4xem0tMjk1LjgtNDMtLjMgMTUuN2MtLjggNDQuOS0zMS44IDc1LjEtNzcuMSA3NS4xLTIyLjEgMC00MS4xLTcuMS01NC44LTIwLjZTNDM2IDQ0MS4yIDQzNS42IDQxOWwtLjMtMTUuN0gyMjkuNUwzMDkgMjEwaDM5OS4ybDgxLjcgMTkzLjNINTg5LjR6bS0zNzUgNzYuOGgxNTcuM2MyNC4zIDU3LjEgNzYgOTAuOCAxNDAuNCA5MC44IDMzLjcgMCA2NS05LjQgOTAuMy0yNy4yIDIyLjItMTUuNiAzOS41LTM3LjQgNTAuNy02My42aDE1Ni41VjgxNEgyMTQuNFY0ODAuMXoiLz48L3N2Zz4=",Xl=function(e,o,t,n){function a(s){return s instanceof t?s:new t(function(u){u(s)})}return new(t||(t=Promise))(function(s,u){function p(x){try{w(n.next(x))}catch(A){u(A)}}function v(x){try{w(n.throw(x))}catch(A){u(A)}}function w(x){x.done?s(x.value):a(x.value).then(p,v)}w((n=n.apply(e,o||[])).next())})};function dt(e){let o=0,t=0,n=e;do o+=n.offsetTop||0,t+=n.offsetLeft||0,n=n.offsetParent;while(n);return{top:o,left:t}}class Yl{constructor(o){this.element=o}getHorizontalScroll(){return this.element.scrollLeft}getVerticalScroll(){return this.element.scrollTop}getMaxHorizontalScroll(){return this.element.scrollWidth-this.element.clientWidth}getMaxVerticalScroll(){return this.element.scrollHeight-this.element.clientHeight}getHorizontalElementScrollOffset(o,t){return dt(o).left-dt(t).left}getVerticalElementScrollOffset(o,t){return dt(o).top-dt(t).top}scrollTo(o,t){this.element.scrollLeft=o,this.element.scrollTop=t}}class Ql{constructor(){this.element=window}getHorizontalScroll(){return window.scrollX||document.documentElement.scrollLeft}getVerticalScroll(){return window.scrollY||document.documentElement.scrollTop}getMaxHorizontalScroll(){return Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth,document.body.clientWidth,document.documentElement.clientWidth)-window.innerWidth}getMaxVerticalScroll(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)-window.innerHeight}getHorizontalElementScrollOffset(o){return(window.scrollX||document.documentElement.scrollLeft)+o.getBoundingClientRect().left}getVerticalElementScrollOffset(o){return(window.scrollY||document.documentElement.scrollTop)+o.getBoundingClientRect().top}scrollTo(o,t){window.scrollTo(o,t)}}const Fo={elements:[],cancelMethods:[],add:(e,o)=>{Fo.elements.push(e),Fo.cancelMethods.push(o)},remove:(e,o)=>{const t=Fo.elements.indexOf(e);t>-1&&(o&&Fo.cancelMethods[t](),Fo.elements.splice(t,1),Fo.cancelMethods.splice(t,1))}},zn=typeof window!="undefined",Jl={cancelOnUserAction:!0,easing:e=>--e*e*e+1,elementToScroll:zn?window:null,horizontalOffset:0,maxDuration:3e3,minDuration:250,speed:500,verticalOffset:0};function ql(e,o={}){return Xl(this,void 0,void 0,function*(){if(zn){if(!window.Promise)throw"Browser doesn't support Promises, and animated-scroll-to depends on it, please provide a polyfill."}else return new Promise(J=>{J(!1)});let t,n,a,s=Object.assign(Object.assign({},Jl),o);const u=s.elementToScroll===window,p=!!s.elementToScroll.nodeName;if(!u&&!p)throw"Element to scroll needs to be either window or DOM element.";const v=u?document.documentElement:s.elementToScroll;getComputedStyle(v).getPropertyValue("scroll-behavior")==="smooth"&&console.warn(`${v.tagName} has "scroll-behavior: smooth" which can mess up with animated-scroll-to's animations`);const x=u?new Ql:new Yl(s.elementToScroll);if(e instanceof Element){if(a=e,p&&(!s.elementToScroll.contains(a)||s.elementToScroll.isSameNode(a)))throw"options.elementToScroll has to be a parent of scrollToElement";t=x.getHorizontalElementScrollOffset(a,s.elementToScroll),n=x.getVerticalElementScrollOffset(a,s.elementToScroll)}else if(typeof e=="number")t=x.getHorizontalScroll(),n=e;else if(Array.isArray(e)&&e.length===2)t=e[0]===null?x.getHorizontalScroll():e[0],n=e[1]===null?x.getVerticalScroll():e[1];else throw`Wrong function signature. Check documentation.
Available method signatures are:
animateScrollTo(y:number, options)
animateScrollTo([x:number | null, y:number | null], options)
animateScrollTo(scrollToElement:Element, options)`;t+=s.horizontalOffset,n+=s.verticalOffset;const A=x.getMaxHorizontalScroll(),T=x.getHorizontalScroll();t>A&&(t=A);const $=t-T,_=x.getMaxVerticalScroll(),N=x.getVerticalScroll();n>_&&(n=_);const P=n-N,Y=Math.abs(Math.round($/1e3*s.speed)),fe=Math.abs(Math.round(P/1e3*s.speed));let ee=Y>fe?Y:fe;return ee<s.minDuration?ee=s.minDuration:ee>s.maxDuration&&(ee=s.maxDuration),new Promise((J,ae)=>{$===0&&P===0&&J(!0),Fo.remove(x.element,!0);let q;const de=()=>{ue(),cancelAnimationFrame(q),J(!1)};Fo.add(x.element,de);const ie=ge=>ge.preventDefault(),oe=s.cancelOnUserAction?de:ie,ke=s.cancelOnUserAction?{passive:!0}:{passive:!1},be=["wheel","touchstart","keydown","mousedown"],ue=()=>{be.forEach(ge=>{x.element.removeEventListener(ge,oe,ke)})};be.forEach(ge=>{x.element.addEventListener(ge,oe,ke)});const ve=Date.now(),Ce=()=>{var ge=Date.now()-ve,Ee=ge/ee;const we=Math.round(T+$*s.easing(Ee)),je=Math.round(N+P*s.easing(Ee));ge<ee&&(we!==t||je!==n)?(x.scrollTo(we,je),q=requestAnimationFrame(Ce)):(x.scrollTo(t,n),cancelAnimationFrame(q),ue(),Fo.remove(x.element,!1),J(!0))};q=requestAnimationFrame(Ce)})})}var ec=ql;function Ot(e,o){return rc(e)||nc(e,o)||tc(e,o)||oc()}function oc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tc(e,o){if(e){if(typeof e=="string")return Tn(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Tn(e,o)}}function Tn(e,o){(o==null||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}function nc(e,o){var t=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,a,s,u,p=[],v=!0,w=!1;try{if(s=(t=t.call(e)).next,o===0){if(Object(t)!==t)return;v=!1}else for(;!(v=(n=s.call(t)).done)&&(p.push(n.value),p.length!==o);v=!0);}catch(x){w=!0,a=x}finally{try{if(!v&&t.return!=null&&(u=t.return(),Object(u)!==u))return}finally{if(w)throw a}}return p}}function rc(e){if(Array.isArray(e))return e}var ac=function(){return r.createElement("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M5.333 10.667h21.334c.889 0 1.333.444 1.333 1.333s-.444 1.333-1.333 1.333H5.333C4.444 13.333 4 12.89 4 12s.444-1.333 1.333-1.333Z"}),r.createElement("path",{d:"M13.207 2.667h.126a1.206 1.206 0 0 1 1.2 1.326l-2.413 24.14a1.333 1.333 0 0 1-1.327 1.2h-.126a1.206 1.206 0 0 1-1.2-1.326l2.413-24.14c.068-.682.642-1.2 1.327-1.2Zm8 0h.126a1.206 1.206 0 0 1 1.2 1.326l-2.413 24.14a1.333 1.333 0 0 1-1.327 1.2h-.126a1.206 1.206 0 0 1-1.2-1.326l2.413-24.14c.068-.682.642-1.2 1.327-1.2Z"}),r.createElement("path",{d:"M5.333 18.667h21.334c.889 0 1.333.444 1.333 1.333s-.444 1.333-1.333 1.333H5.333C4.444 21.333 4 20.89 4 20s.444-1.333 1.333-1.333Z"}))},ic=function(){return r.createElement("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M9.402 0h14.78L30 6.16V24.5c0 1.933-1.71 3.5-3.589 3.5H9.401C7.524 28 6 26.433 6 24.5v-21C6 1.567 7.523 0 9.402 0ZM23 2v4.183c0 .451.366.817.817.817H28l-5-5Zm3.333 24c.92 0 1.667-.768 1.667-1.714V8.857h-5c-.92 0-1.667-.767-1.667-1.714V2H9.667C8.747 2 8 2.768 8 3.714v20.572C8 25.232 8.746 26 9.667 26h16.666Z"}))},lc=function(){return r.createElement("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M6.12 14.589h6.628l1.52 4.004h2.485l-5.938-15.19H8.053L2.115 18.732H4.6l1.52-4.143ZM8.88 6.855c.139-.414.277-.828.415-1.38h.138c0 .138.138.414.414 1.104 0 .138.138.276.138.276 0 .138.829 2.072 2.21 5.938H6.672c1.519-3.866 2.21-5.8 2.21-5.938Zm8.148 2.348h12.705v1.933H17.029V9.203ZM2.115 20.665h27.619v1.933H2.114v-1.933Zm14.914-5.662h12.705v1.933H17.029v-1.933ZM2.115 26.327h27.619v1.933H2.114v-1.933ZM17.029 3.54h12.705v1.934H17.029V3.54Z"}))},cc=function(){return r.createElement("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M28 6h-5a5 5 0 0 0-10 0H8a2 2 0 0 0-2 2v5a5 5 0 0 0 0 10v5a2 2 0 0 0 2 2h7v-2a3 3 0 0 1 6 0v2h7a2 2 0 0 0 2-2v-7h-2a3 3 0 0 1 0-6h2V8a2 2 0 0 0-2-2Zm-5 12a5 5 0 0 0 5 5v5h-5a5 5 0 0 0-10 0H8v-7H6a3 3 0 0 1 0-6h2V8h7V6a3 3 0 0 1 6 0v2h7v5a5 5 0 0 0-5 5Z"}))},sc={title:ac,page:ic,content:lc,demo:cc},Rn=function(o){return r.createElement(r.Fragment,null,o.texts.map(function(t,n){return r.createElement(r.Fragment,{key:n},t.highlighted?r.createElement("mark",null,t.text):t.text)}))},dc=function(o){var t=(0,r.useCallback)(function(){var p=0,v=[];return o.forEach(function(w){w.title&&v.push({type:"title",value:{title:w.title}}),w.hints.forEach(function(x){v.push({type:"hint",activeIndex:p++,value:x})})}),[v,p]},[o]),n=(0,r.useState)(t),a=Ot(n,2),s=a[0],u=a[1];return(0,r.useEffect)(function(){u(t)},[o]),s},uc=function(o){var t=dc(o.data),n=Ot(t,2),a=n[0],s=n[1],u=(0,r.useState)(-1),p=Ot(u,2),v=p[0],w=p[1],x=(0,f.TH)(),A=x.pathname,T=function(_){var N;(N=o.onItemSelect)===null||N===void 0||N.call(o,_);var P=new URL(_==null?void 0:_.link,location.origin);(P==null?void 0:P.pathname)===A&&!P.hash&&setTimeout(function(){ec(0,{maxDuration:300})},1)};return(0,r.useEffect)(function(){var $=function(N){if(N.key==="ArrowDown")w((v+1)%s);else if(N.key==="ArrowUp")w((v+s-1)%s);else if(N.key==="Enter"&&v>=0){var P=a.find(function(Y){return Y.type==="hint"&&Y.activeIndex===v}).value;f.m8.push(P.link),T==null||T(P),document.activeElement.blur()}["Escape","Enter"].includes(N.key)&&w(-1)};return document.addEventListener("keydown",$),function(){return document.removeEventListener("keydown",$)}}),r.createElement("div",{className:"dumi-default-search-result",onMouseEnter:function(){return w(-1)},onMouseDownCapture:function(_){return _.preventDefault()},onMouseUpCapture:function(){document.activeElement.blur()}},o.data.length||o.loading?r.createElement("dl",null,a.map(function($,_){return $.type==="title"?r.createElement("dt",{key:String(_)},$.value.title):r.createElement("dd",{key:String(_)},r.createElement(f.rU,{to:$.value.link,"data-active":v===$.activeIndex||void 0,onClick:function(){return T==null?void 0:T($.value)}},r.createElement(sc[$.value.type]),r.createElement("h4",null,r.createElement(Rn,{texts:$.value.highlightTitleTexts})),r.createElement("p",null,r.createElement(Rn,{texts:$.value.highlightTexts}))))})):r.createElement("div",{className:"dumi-default-search-empty"},r.createElement(Kl,null),r.createElement(f._H,{id:"search.not.found"})))},jn=uc,In=(0,r.forwardRef)(function(e,o){var t=(0,f.YB)(),n=(0,r.useRef)(!1),a=(0,r.useRef)(null);return(0,r.useImperativeHandle)(o,function(){return a.current}),(0,d.jsx)("input",{className:e.className,onCompositionStart:function(){return n.current=!0},onCompositionEnd:function(u){n.current=!1,e.onChange(u.currentTarget.value)},onFocus:e.onFocus,onBlur:e.onBlur,onKeyDown:function(u){["ArrowDown","ArrowUp"].includes(u.key)&&u.preventDefault(),u.key==="Escape"&&!n.current&&u.currentTarget.blur()},onChange:function(u){setTimeout(function(){n.current||e.onChange(u.target.value)},1)},placeholder:t.formatMessage({id:"header.search.placeholder"}),ref:a})}),Bn,$n,Hn,fc=(0,yo.kc)(function(e){var o=e.token,t=e.css;return{modal:t(Bn||(Bn=(0,Me.Z)([`
position: fixed;
top: 0;
inset-inline-start: 0;
z-index: 1000;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
`]))),mask:t($n||($n=(0,Me.Z)([`
background-color: `,`;
width: 100%;
height: 100%;
`])),o.colorBgMask),content:t(Hn||(Hn=(0,Me.Z)([`
position: absolute;
top: 60px;
background-color: `,`;
width: 500px;
padding: 12px;
box-sizing: border-box;
box-shadow: inset 1px 1px 0 0 hsla(0deg, 0%, 100%, 50%), 0 3px 8px 0 #555a64;
border-radius: 8px;
max-height: calc(100% - 120px);
display: flex;
flex-direction: column;
`])),o.colorBgElevated)}}),pc=function(o){var t=fc(),n=t.styles;return(0,r.useEffect)(function(){if(o.visible)document.body.style.overflow="hidden";else{var a;document.body.style.overflow="",(a=o.onClose)===null||a===void 0||a.call(o)}},[o.visible]),o.visible?(0,d.jsxs)("div",{className:n.modal,children:[(0,d.jsx)("div",{className:n.mask,onClick:o.onMaskClick}),(0,d.jsx)("div",{className:n.content,children:o.children})]}):null},_n,Dn,Nn,Ln,Fn,gc=(0,yo.kc)(function(e){var o=e.token,t=e.responsive,n=e.css,a=e.cx;return{container:n(_n||(_n=(0,Me.Z)([`
position: relative;
// TODO: support search for mobile devices
`,` {
display: none;
}
`])),t.mobile),shortcut:a("site-header-shortcut",n(Dn||(Dn=(0,Me.Z)([`
position: absolute;
top: 50%;
inset-inline-end: 11px;
display: inline-block;
padding: 4px 8px;
color: `,`;
font-size: 12px;
line-height: 1;
white-space: nowrap;
background-color: `,`;
border-radius: 11px;
border: 1px solid `,`;
transform: translateY(-50%);
transition: all 0.3s;
pointer-events: none;
`,` {
display: none;
}
`])),o.colorTextDescription,o.colorFillSecondary,o.colorBorderSecondary,t.mobile)),popover:n(Nn||(Nn=(0,Me.Z)([`
position: absolute;
top: 100%;
inset-inline-end: 0;
display: flex;
flex-direction: column;
width: 540px;
max-height: 460px;
margin-top: 18px;
background-color: `,`;
border-radius: 8px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 20%);
&::before {
content: '';
position: absolute;
bottom: 100%;
inset-inline-end: 100px;
display: inline-block;
width: 0;
height: 0;
border: 8px solid transparent;
border-bottom-color: #fff;
}
> section {
flex: 1;
min-height: 60px;
overflow: auto;
overscroll-behavior: contain;
-webkit-overflow-scrolling: touch;
border-radius: inherit;
}
`])),o.colorBgElevated),svg:a(n(Ln||(Ln=(0,Me.Z)([`
position: absolute;
top: 50%;
margin-top: 1px;
inset-inline-start: 16px;
width: 16px;
color: `,`;
transform: translateY(-50%);
`])),o.colorTextPlaceholder)),input:n(Fn||(Fn=(0,Me.Z)([`
width: 280px;
height: `,`px;
padding: 0;
padding-inline-start: 40px;
padding-inline-end: 12px;
color: `,`;
font-size: 14px;
border: 1px solid `,`;
border-radius: 20px;
box-sizing: border-box;
outline: none;
transition: all 0.3s;
background-color: transparent;
&:focus {
border-color: `,`;
background: `,`;
~ .site-header-shortcut {
opacity: 0;
}
}
&::-webkit-input-placeholder {
color: `,`;
}
`])),o.controlHeightLG,o.colorTextSecondary,o.colorBorder,o.colorBorderSecondary,o.colorBgElevated,o.colorTextPlaceholder)}}),Mt,Wn=/(mac|iphone|ipod|ipad)/i.test(typeof navigator!="undefined"?(Mt=navigator)===null||Mt===void 0?void 0:Mt.platform:""),hc=function(o){return["TEXTAREA","INPUT"].includes(o.tagName)||o.contentEditable==="true"},mc=function(){var o=gc(),t=o.styles,n=(0,r.useState)(!1),a=(0,Co.Z)(n,2),s=a[0],u=a[1],p=(0,r.useRef)(null),v=(0,r.useRef)(null),w=(0,r.useState)("\u2318"),x=(0,Co.Z)(w,2),A=x[0],T=x[1],$=(0,f.OO)(),_=$.keywords,N=$.setKeywords,P=$.result,Y=$.loading,fe=(0,r.useState)(!1),ee=(0,Co.Z)(fe,2),J=ee[0],ae=ee[1];return(0,r.useEffect)(function(){Wn||T("Ctrl");var q=function(ie){if(((Wn?ie.metaKey:ie.ctrlKey)&&ie.key==="k"||ie.key==="/"&&!hc(ie.target))&&(ie.preventDefault(),p.current)){var oe=p.current.getBoundingClientRect(),ke=oe.top,be=oe.bottom,ue=oe.left,ve=oe.right,Ce=ke>=0&&ue>=0&&be<=window.innerHeight&&ve<=window.innerWidth;Ce?p.current.focus():(N(""),ae(!0),setTimeout(function(){var ge;(ge=v.current)===null||ge===void 0||ge.focus()}))}ie.key==="Escape"&&(ie.preventDefault(),ae(!1))};return document.addEventListener("keydown",q),function(){return document.removeEventListener("keydown",q)}},[]),(0,d.jsxs)("div",{className:t.container,children:[(0,d.jsx)(On,{className:t.svg}),(0,d.jsx)(In,{onFocus:function(){return u(!0)},onBlur:function(){setTimeout(function(){u(!1)},1)},onChange:function(de){return N(de)},ref:p,className:t.input}),(0,d.jsxs)("span",{className:t.shortcut,children:[A," K"]}),_.trim()&&s&&(P.length||!Y)&&!J&&(0,d.jsx)("div",{className:t.popover,children:(0,d.jsx)("section",{children:(0,d.jsx)(jn,{data:P,loading:Y})})}),(0,d.jsxs)(pc,{visible:J,onMaskClick:function(){ae(!1)},onClose:function(){return N("")},children:[(0,d.jsxs)("div",{style:{position:"relative"},children:[(0,d.jsx)(On,{className:t.svg}),(0,d.jsx)(In,{className:t.input,onFocus:function(){return u(!0)},onBlur:function(){setTimeout(function(){u(!1)},1)},onChange:function(de){return N(de)},ref:v})]}),(0,d.jsx)(jn,{data:P,loading:Y,onItemSelect:function(){ae(!1)}})]})]})},bc=mc,vc=l(87510),yc=r.createContext(null),Pn=r.createContext({}),Un=yc,At=l(59078),Wo=l(89182),ut=l(87744),zt=l(29222),xc=["prefixCls","className","containerRef"],wc=function(o){var t=o.prefixCls,n=o.className,a=o.containerRef,s=(0,Q.Z)(o,xc),u=r.useContext(Pn),p=u.panel,v=(0,zt.x1)(p,a);return r.createElement("div",(0,ho.Z)({className:E()("".concat(t,"-content"),n),role:"dialog",ref:v},(0,ut.Z)(o,{aria:!0}),{"aria-modal":"true"},s))},Sc=wc,Zn=l(31194);function Vn(e){return typeof e=="string"&&String(Number(e))===e?((0,Zn.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}function Ap(e){warning(!("wrapperClassName"in e),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!e.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Gn={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Cc(e,o){var t,n,a,s=e.prefixCls,u=e.open,p=e.placement,v=e.inline,w=e.push,x=e.forceRender,A=e.autoFocus,T=e.keyboard,$=e.classNames,_=e.rootClassName,N=e.rootStyle,P=e.zIndex,Y=e.className,fe=e.id,ee=e.style,J=e.motion,ae=e.width,q=e.height,de=e.children,ie=e.mask,oe=e.maskClosable,ke=e.maskMotion,be=e.maskClassName,ue=e.maskStyle,ve=e.afterOpenChange,Ce=e.onClose,ge=e.onMouseEnter,Ee=e.onMouseOver,we=e.onMouseLeave,je=e.onClick,Fe=e.onKeyDown,_e=e.onKeyUp,Ie=e.styles,We=r.useRef(),Pe=r.useRef(),Ye=r.useRef();r.useImperativeHandle(o,function(){return We.current});var Oe=function(lo){var vo=lo.keyCode,Eo=lo.shiftKey;switch(vo){case Wo.Z.TAB:{if(vo===Wo.Z.TAB){if(!Eo&&document.activeElement===Ye.current){var To;(To=Pe.current)===null||To===void 0||To.focus({preventScroll:!0})}else if(Eo&&document.activeElement===Pe.current){var Ho;(Ho=Ye.current)===null||Ho===void 0||Ho.focus({preventScroll:!0})}}break}case Wo.Z.ESC:{Ce&&T&&(lo.stopPropagation(),Ce(lo));break}}};r.useEffect(function(){if(u&&A){var Ve;(Ve=We.current)===null||Ve===void 0||Ve.focus({preventScroll:!0})}},[u]);var Ae=r.useState(!1),$e=(0,Co.Z)(Ae,2),uo=$e[0],qe=$e[1],Ue=r.useContext(Un),ao;typeof w=="boolean"?ao=w?{}:{distance:0}:ao=w||{};var ro=(t=(n=(a=ao)===null||a===void 0?void 0:a.distance)!==null&&n!==void 0?n:Ue==null?void 0:Ue.pushDistance)!==null&&t!==void 0?t:180,eo=r.useMemo(function(){return{pushDistance:ro,push:function(){qe(!0)},pull:function(){qe(!1)}}},[ro]);r.useEffect(function(){if(u){var Ve;Ue==null||(Ve=Ue.push)===null||Ve===void 0||Ve.call(Ue)}else{var lo;Ue==null||(lo=Ue.pull)===null||lo===void 0||lo.call(Ue)}},[u]),r.useEffect(function(){return function(){var Ve;Ue==null||(Ve=Ue.pull)===null||Ve===void 0||Ve.call(Ue)}},[]);var io=ie&&r.createElement(At.ZP,(0,ho.Z)({key:"mask"},ke,{visible:u}),function(Ve,lo){var vo=Ve.className,Eo=Ve.style;return r.createElement("div",{className:E()("".concat(s,"-mask"),vo,$==null?void 0:$.mask,be),style:(0,so.Z)((0,so.Z)((0,so.Z)({},Eo),ue),Ie==null?void 0:Ie.mask),onClick:oe&&u?Ce:void 0,ref:lo})}),zo=typeof J=="function"?J(p):J,Re={};if(uo&&ro)switch(p){case"top":Re.transform="translateY(".concat(ro,"px)");break;case"bottom":Re.transform="translateY(".concat(-ro,"px)");break;case"left":Re.transform="translateX(".concat(ro,"px)");break;default:Re.transform="translateX(".concat(-ro,"px)");break}p==="left"||p==="right"?Re.width=Vn(ae):Re.height=Vn(q);var oo={onMouseEnter:ge,onMouseOver:Ee,onMouseLeave:we,onClick:je,onKeyDown:Fe,onKeyUp:_e},xo=r.createElement(At.ZP,(0,ho.Z)({key:"panel"},zo,{visible:u,forceRender:x,onVisibleChanged:function(lo){ve==null||ve(lo)},removeOnLeave:!1,leavedClassName:"".concat(s,"-content-wrapper-hidden")}),function(Ve,lo){var vo=Ve.className,Eo=Ve.style;return r.createElement("div",(0,ho.Z)({className:E()("".concat(s,"-content-wrapper"),$==null?void 0:$.wrapper,vo),style:(0,so.Z)((0,so.Z)((0,so.Z)({},Re),Eo),Ie==null?void 0:Ie.wrapper)},(0,ut.Z)(e,{data:!0})),r.createElement(Sc,(0,ho.Z)({id:fe,containerRef:lo,prefixCls:s,className:E()(Y,$==null?void 0:$.content),style:(0,so.Z)((0,so.Z)({},ee),Ie==null?void 0:Ie.content)},(0,ut.Z)(e,{aria:!0}),oo),de))}),Ze=(0,so.Z)({},N);return P&&(Ze.zIndex=P),r.createElement(Un.Provider,{value:eo},r.createElement("div",{className:E()(s,"".concat(s,"-").concat(p),_,(0,H.Z)((0,H.Z)({},"".concat(s,"-open"),u),"".concat(s,"-inline"),v)),style:Ze,tabIndex:-1,ref:We,onKeyDown:Oe},io,r.createElement("div",{tabIndex:0,ref:Pe,style:Gn,"aria-hidden":"true","data-sentinel":"start"}),xo,r.createElement("div",{tabIndex:0,ref:Ye,style:Gn,"aria-hidden":"true","data-sentinel":"end"})))}var kc=r.forwardRef(Cc),Ec=kc,Oc=function(o){var t=o.open,n=t===void 0?!1:t,a=o.prefixCls,s=a===void 0?"rc-drawer":a,u=o.placement,p=u===void 0?"right":u,v=o.autoFocus,w=v===void 0?!0:v,x=o.keyboard,A=x===void 0?!0:x,T=o.width,$=T===void 0?378:T,_=o.mask,N=_===void 0?!0:_,P=o.maskClosable,Y=P===void 0?!0:P,fe=o.getContainer,ee=o.forceRender,J=o.afterOpenChange,ae=o.destroyOnClose,q=o.onMouseEnter,de=o.onMouseOver,ie=o.onMouseLeave,oe=o.onClick,ke=o.onKeyDown,be=o.onKeyUp,ue=o.panelRef,ve=r.useState(!1),Ce=(0,Co.Z)(ve,2),ge=Ce[0],Ee=Ce[1],we=r.useState(!1),je=(0,Co.Z)(we,2),Fe=je[0],_e=je[1];(0,No.Z)(function(){_e(!0)},[]);var Ie=Fe?n:!1,We=r.useRef(),Pe=r.useRef();(0,No.Z)(function(){Ie&&(Pe.current=document.activeElement)},[Ie]);var Ye=function(qe){var Ue;if(Ee(qe),J==null||J(qe),!qe&&Pe.current&&!((Ue=We.current)!==null&&Ue!==void 0&&Ue.contains(Pe.current))){var ao;(ao=Pe.current)===null||ao===void 0||ao.focus({preventScroll:!0})}},Oe=r.useMemo(function(){return{panel:ue}},[ue]);if(!ee&&!ge&&!Ie&&ae)return null;var Ae={onMouseEnter:q,onMouseOver:de,onMouseLeave:ie,onClick:oe,onKeyDown:ke,onKeyUp:be},$e=(0,so.Z)((0,so.Z)({},o),{},{open:Ie,prefixCls:s,placement:p,autoFocus:w,keyboard:A,width:$,mask:N,maskClosable:Y,inline:fe===!1,afterOpenChange:Ye,ref:We},Ae);return r.createElement(Pn.Provider,{value:Oe},r.createElement(vc.Z,{open:Ie||ee||ge,autoDestroy:!1,getContainer:fe,autoLock:N&&(Ie||ge)},r.createElement(Ec,$e)))},Mc=Oc,Ac=Mc,Kn=l(25954),ft=l(53499),zc=l(27816),Tt=l(96830),Xn=l(85866),Tc=l(82572),Yo=l(79428),Yn=e=>{var o,t;const{prefixCls:n,title:a,footer:s,extra:u,onClose:p,headerStyle:v,bodyStyle:w,footerStyle:x,children:A,classNames:T,styles:$}=e,{drawer:_}=r.useContext(Z.E_),N=r.useCallback(J=>r.createElement("button",{type:"button",onClick:p,"aria-label":"Close",className:`${n}-close`},J),[p]),[P,Y]=(0,Yo.Z)((0,Yo.w)(e),(0,Yo.w)(_),{closable:!0,closeIconRender:N}),fe=r.useMemo(()=>{var J,ae;return!a&&!P?null:r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(J=_==null?void 0:_.styles)===null||J===void 0?void 0:J.header),v),$==null?void 0:$.header),className:E()(`${n}-header`,{[`${n}-header-close-only`]:P&&!a&&!u},(ae=_==null?void 0:_.classNames)===null||ae===void 0?void 0:ae.header,T==null?void 0:T.header)},r.createElement("div",{className:`${n}-header-title`},Y,a&&r.createElement("div",{className:`${n}-title`},a)),u&&r.createElement("div",{className:`${n}-extra`},u))},[P,Y,u,v,n,a]),ee=r.useMemo(()=>{var J,ae;if(!s)return null;const q=`${n}-footer`;return r.createElement("div",{className:E()(q,(J=_==null?void 0:_.classNames)===null||J===void 0?void 0:J.footer,T==null?void 0:T.footer),style:Object.assign(Object.assign(Object.assign({},(ae=_==null?void 0:_.styles)===null||ae===void 0?void 0:ae.footer),x),$==null?void 0:$.footer)},s)},[s,x,n]);return r.createElement(r.Fragment,null,fe,r.createElement("div",{className:E()(`${n}-body`,T==null?void 0:T.body,(o=_==null?void 0:_.classNames)===null||o===void 0?void 0:o.body),style:Object.assign(Object.assign(Object.assign({},(t=_==null?void 0:_.styles)===null||t===void 0?void 0:t.body),w),$==null?void 0:$.body)},A),ee)},Ao=l(75646),Lo=l(57363);const Rc=e=>{const o="100%";return{left:`translateX(-${o})`,right:`translateX(${o})`,top:`translateY(-${o})`,bottom:`translateY(${o})`}[e]},Qn=(e,o)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":o}),"&-leave":Object.assign(Object.assign({},o),{"&-active":e})}),Jn=(e,o)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${o}`}}},Qn({opacity:e},{opacity:1})),jc=(e,o)=>[Jn(.7,o),Qn({transform:Rc(e)},{transform:"none"})];var Ic=e=>{const{componentCls:o,motionDurationSlow:t}=e;return{[o]:{[`${o}-mask-motion`]:Jn(0,t),[`${o}-panel-motion`]:["left","right","top","bottom"].reduce((n,a)=>Object.assign(Object.assign({},n),{[`&-${a}`]:jc(a,t)}),{})}}};const Bc=e=>{const{borderRadiusSM:o,componentCls:t,zIndexPopup:n,colorBgMask:a,colorBgElevated:s,motionDurationSlow:u,motionDurationMid:p,paddingXS:v,padding:w,paddingLG:x,fontSizeLG:A,lineHeightLG:T,lineWidth:$,lineType:_,colorSplit:N,marginXS:P,colorIcon:Y,colorIconHover:fe,colorBgTextHover:ee,colorBgTextActive:J,colorText:ae,fontWeightStrong:q,footerPaddingBlock:de,footerPaddingInline:ie,calc:oe}=e,ke=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:s,display:"flex",flexDirection:"column",[`&${t}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:n,background:a,pointerEvents:"auto"},[ke]:{position:"absolute",zIndex:n,maxWidth:"100vw",transition:`all ${u}`,"&-hidden":{display:"none"}},[`&-left > ${ke}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${ke}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${ke}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${ke}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${t}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:s,pointerEvents:"auto"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,h.bf)(w)} ${(0,h.bf)(x)}`,fontSize:A,lineHeight:T,borderBottom:`${(0,h.bf)($)} ${_} ${N}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:Object.assign({display:"inline-flex",width:oe(A).add(v).equal(),height:oe(A).add(v).equal(),borderRadius:o,justifyContent:"center",alignItems:"center",marginInlineEnd:P,color:Y,fontWeight:q,fontSize:A,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${p}`,textRendering:"auto","&:hover":{color:fe,backgroundColor:ee,textDecoration:"none"},"&:active":{backgroundColor:J}},(0,Ao.Qy)(e)),[`${t}-title`]:{flex:1,margin:0,color:ae,fontWeight:e.fontWeightStrong,fontSize:A,lineHeight:T},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:x,overflow:"auto"},[`${t}-footer`]:{flexShrink:0,padding:`${(0,h.bf)(de)} ${(0,h.bf)(ie)}`,borderTop:`${(0,h.bf)($)} ${_} ${N}`},"&-rtl":{direction:"rtl"}}}},$c=e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding});var qn=(0,L.I$)("Drawer",e=>{const o=(0,Lo.TS)(e,{});return[Bc(o),Ic(o)]},$c),er=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t};const Rp=null,Hc={distance:180},or=e=>{var o;const{rootClassName:t,width:n,height:a,size:s="default",mask:u=!0,push:p=Hc,open:v,afterOpenChange:w,onClose:x,prefixCls:A,getContainer:T,style:$,className:_,visible:N,afterVisibleChange:P,maskStyle:Y,drawerStyle:fe,contentWrapperStyle:ee}=e,J=er(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:ae,getPrefixCls:q,direction:de,drawer:ie}=r.useContext(Z.E_),oe=q("drawer",A),[ke,be,ue]=qn(oe),ve=T===void 0&&ae?()=>ae(document.body):T,Ce=E()({"no-mask":!u,[`${oe}-rtl`]:de==="rtl"},t,be,ue),ge=r.useMemo(()=>n!=null?n:s==="large"?736:378,[n,s]),Ee=r.useMemo(()=>a!=null?a:s==="large"?736:378,[a,s]),we={motionName:(0,ft.m)(oe,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},je=Ae=>({motionName:(0,ft.m)(oe,`panel-motion-${Ae}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Fe=(0,Tc.H)(),[_e,Ie]=(0,Kn.Cn)("Drawer",J.zIndex),{classNames:We={},styles:Pe={}}=J,{classNames:Ye={},styles:Oe={}}=ie||{};return ke(r.createElement(Xn.BR,null,r.createElement(Tt.Ux,{status:!0,override:!0},r.createElement(zc.Z.Provider,{value:Ie},r.createElement(Ac,Object.assign({prefixCls:oe,onClose:x,maskMotion:we,motion:je},J,{classNames:{mask:E()(We.mask,Ye.mask),content:E()(We.content,Ye.content)},styles:{mask:Object.assign(Object.assign(Object.assign({},Pe.mask),Y),Oe.mask),content:Object.assign(Object.assign(Object.assign({},Pe.content),fe),Oe.content),wrapper:Object.assign(Object.assign(Object.assign({},Pe.wrapper),ee),Oe.wrapper)},open:v!=null?v:N,mask:u,push:p,width:ge,height:Ee,style:Object.assign(Object.assign({},ie==null?void 0:ie.style),$),className:E()(ie==null?void 0:ie.className,_),rootClassName:Ce,getContainer:ve,afterOpenChange:w!=null?w:P,panelRef:Fe,zIndex:_e}),r.createElement(Yn,Object.assign({prefixCls:oe},J,{onClose:x})))))))},_c=e=>{const{prefixCls:o,style:t,className:n,placement:a="right"}=e,s=er(e,["prefixCls","style","className","placement"]),{getPrefixCls:u}=r.useContext(Z.E_),p=u("drawer",o),[v,w,x]=qn(p),A=E()(p,`${p}-pure`,`${p}-${a}`,w,x,n);return v(r.createElement("div",{className:A,style:t},r.createElement(Yn,Object.assign({prefixCls:p},s))))};or._InternalPanelDoNotUseOrYouWillBeFired=_c;var Dc=or,Go=l(72355),jp=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t};const Ip={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},tr=r.createContext({}),Bp=(()=>{let e=0;return function(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${o}${e}`}})(),$p=null;var Hp=null,Nc=l(74293),pt=l(58483),Po=l(13066),Ko=l(93164),Rt=l(47032),Lc=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t},nr=e=>{const{prefixCls:o,className:t,dashed:n}=e,a=Lc(e,["prefixCls","className","dashed"]),{getPrefixCls:s}=r.useContext(Z.E_),u=s("menu",o),p=E()({[`${u}-item-divider-dashed`]:!!n},t);return r.createElement(Go.iz,Object.assign({className:p},a))},Qo=l(9498),Jo=l(48378),gt=(0,r.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),rr=e=>{var o;const{className:t,children:n,icon:a,title:s,danger:u}=e,{prefixCls:p,firstLevel:v,direction:w,disableMenuItemTitleTooltip:x,inlineCollapsed:A}=r.useContext(gt),T=fe=>{const ee=r.createElement("span",{className:`${p}-title-content`},n);return(!a||r.isValidElement(n)&&n.type==="span")&&n&&fe&&v&&typeof n=="string"?r.createElement("div",{className:`${p}-inline-collapsed-noicon`},n.charAt(0)):ee},{siderCollapsed:$}=r.useContext(tr);let _=s;typeof s=="undefined"?_=v?n:"":s===!1&&(_="");const N={title:_};!$&&!A&&(N.title=null,N.open=!1);const P=(0,Qo.Z)(n).length;let Y=r.createElement(Go.ck,Object.assign({},(0,Po.Z)(e,["title","icon","danger"]),{className:E()({[`${p}-item-danger`]:u,[`${p}-item-only-child`]:(a?P+1:P)===1},t),title:typeof s=="string"?s:void 0}),(0,Ko.Tm)(a,{className:E()(r.isValidElement(a)?(o=a.props)===null||o===void 0?void 0:o.className:"",`${p}-item-icon`)}),T(A));return x||(Y=r.createElement(Jo.Z,Object.assign({},N,{placement:w==="rtl"?"left":"right",overlayClassName:`${p}-inline-collapsed-tooltip`}),Y)),Y},ar=e=>{var o;const{popupClassName:t,icon:n,title:a,theme:s}=e,u=r.useContext(gt),{prefixCls:p,inlineCollapsed:v,theme:w}=u,x=(0,Go.Xl)();let A;if(!n)A=v&&!x.length&&a&&typeof a=="string"?r.createElement("div",{className:`${p}-inline-collapsed-noicon`},a.charAt(0)):r.createElement("span",{className:`${p}-title-content`},a);else{const _=r.isValidElement(a)&&a.type==="span";A=r.createElement(r.Fragment,null,(0,Ko.Tm)(n,{className:E()(r.isValidElement(n)?(o=n.props)===null||o===void 0?void 0:o.className:"",`${p}-item-icon`)}),_?a:r.createElement("span",{className:`${p}-title-content`},a))}const T=r.useMemo(()=>Object.assign(Object.assign({},u),{firstLevel:!1}),[u]),[$]=(0,Kn.Cn)("Menu");return r.createElement(gt.Provider,{value:T},r.createElement(Go.Wd,Object.assign({},(0,Po.Z)(e,["icon"]),{title:A,popupClassName:E()(p,t,`${p}-${s||w}`),popupStyle:{zIndex:$}})))},Fc=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t};function jt(e){return(e||[]).map((o,t)=>{if(o&&typeof o=="object"){const n=o,{label:a,children:s,key:u,type:p}=n,v=Fc(n,["label","children","key","type"]),w=u!=null?u:`tmp-${t}`;return s||p==="group"?p==="group"?r.createElement(Go.BW,Object.assign({key:w},v,{title:a}),jt(s)):r.createElement(ar,Object.assign({key:w},v,{title:a}),jt(s)):p==="divider"?r.createElement(nr,Object.assign({key:w},v)):r.createElement(rr,Object.assign({key:w},v),a)}return null}).filter(o=>o)}function Wc(e){return r.useMemo(()=>e&&jt(e),[e])}var Fp=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t};const Pc=r.createContext(null),Wp=null;var ir=Pc,It=l(66671),lr=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),cr=l(76782),Uc=l(80917),Zc=e=>{const{componentCls:o,motionDurationSlow:t,horizontalLineHeight:n,colorSplit:a,lineWidth:s,lineType:u,itemPaddingInline:p}=e;return{[`${o}-horizontal`]:{lineHeight:n,border:0,borderBottom:`${(0,h.bf)(s)} ${u} ${a}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${o}-item, ${o}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:p},[`> ${o}-item:hover,
> ${o}-item-active,
> ${o}-submenu ${o}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${o}-item, ${o}-submenu-title`]:{transition:[`border-color ${t}`,`background ${t}`].join(",")},[`${o}-submenu-arrow`]:{display:"none"}}}},Vc=e=>{let{componentCls:o,menuArrowOffset:t,calc:n}=e;return{[`${o}-rtl`]:{direction:"rtl"},[`${o}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${o}-rtl${o}-vertical,
${o}-submenu-rtl ${o}-vertical`]:{[`${o}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,h.bf)(n(t).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,h.bf)(t)})`}}}}};const sr=e=>Object.assign({},(0,Ao.oN)(e));var dr=(e,o)=>{const{componentCls:t,itemColor:n,itemSelectedColor:a,groupTitleColor:s,itemBg:u,subMenuItemBg:p,itemSelectedBg:v,activeBarHeight:w,activeBarWidth:x,activeBarBorderWidth:A,motionDurationSlow:T,motionEaseInOut:$,motionEaseOut:_,itemPaddingInline:N,motionDurationMid:P,itemHoverColor:Y,lineType:fe,colorSplit:ee,itemDisabledColor:J,dangerItemColor:ae,dangerItemHoverColor:q,dangerItemSelectedColor:de,dangerItemActiveBg:ie,dangerItemSelectedBg:oe,popupBg:ke,itemHoverBg:be,itemActiveBg:ue,menuSubMenuBg:ve,horizontalItemSelectedColor:Ce,horizontalItemSelectedBg:ge,horizontalItemBorderRadius:Ee,horizontalItemHoverBg:we}=e;return{[`${t}-${o}, ${t}-${o} > ${t}`]:{color:n,background:u,[`&${t}-root:focus-visible`]:Object.assign({},sr(e)),[`${t}-item-group-title`]:{color:s},[`${t}-submenu-selected`]:{[`> ${t}-submenu-title`]:{color:a}},[`${t}-item, ${t}-submenu-title`]:{color:n,[`&:not(${t}-item-disabled):focus-visible`]:Object.assign({},sr(e))},[`${t}-item-disabled, ${t}-submenu-disabled`]:{color:`${J} !important`},[`${t}-item:not(${t}-item-selected):not(${t}-submenu-selected)`]:{[`&:hover, > ${t}-submenu-title:hover`]:{color:Y}},[`&:not(${t}-horizontal)`]:{[`${t}-item:not(${t}-item-selected)`]:{"&:hover":{backgroundColor:be},"&:active":{backgroundColor:ue}},[`${t}-submenu-title`]:{"&:hover":{backgroundColor:be},"&:active":{backgroundColor:ue}}},[`${t}-item-danger`]:{color:ae,[`&${t}-item:hover`]:{[`&:not(${t}-item-selected):not(${t}-submenu-selected)`]:{color:q}},[`&${t}-item:active`]:{background:ie}},[`${t}-item a`]:{"&, &:hover":{color:"inherit"}},[`${t}-item-selected`]:{color:a,[`&${t}-item-danger`]:{color:de},["a, a:hover"]:{color:"inherit"}},[`& ${t}-item-selected`]:{backgroundColor:v,[`&${t}-item-danger`]:{backgroundColor:oe}},[`&${t}-submenu > ${t}`]:{backgroundColor:ve},[`&${t}-popup > ${t}`]:{backgroundColor:ke},[`&${t}-submenu-popup > ${t}`]:{backgroundColor:ke},[`&${t}-horizontal`]:Object.assign(Object.assign({},o==="dark"?{borderBottom:0}:{}),{[`> ${t}-item, > ${t}-submenu`]:{top:A,marginTop:e.calc(A).mul(-1).equal(),marginBottom:0,borderRadius:Ee,"&::after":{position:"absolute",insetInline:N,bottom:0,borderBottom:`${(0,h.bf)(w)} solid transparent`,transition:`border-color ${T} ${$}`,content:'""'},["&:hover, &-active, &-open"]:{background:we,"&::after":{borderBottomWidth:w,borderBottomColor:Ce}},["&-selected"]:{color:Ce,backgroundColor:ge,"&:hover":{backgroundColor:ge},"&::after":{borderBottomWidth:w,borderBottomColor:Ce}}}}),[`&${t}-root`]:{[`&${t}-inline, &${t}-vertical`]:{borderInlineEnd:`${(0,h.bf)(A)} ${fe} ${ee}`}},[`&${t}-inline`]:{[`${t}-sub${t}-inline`]:{background:p},[`${t}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,h.bf)(x)} solid ${a}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${P} ${_}`,`opacity ${P} ${_}`].join(","),content:'""'},[`&${t}-item-danger`]:{"&::after":{borderInlineEndColor:de}}},[`${t}-selected, ${t}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${P} ${$}`,`opacity ${P} ${$}`].join(",")}}}}}};const ur=e=>{const{componentCls:o,itemHeight:t,itemMarginInline:n,padding:a,menuArrowSize:s,marginXS:u,itemMarginBlock:p,itemWidth:v}=e,w=e.calc(s).add(a).add(u).equal();return{[`${o}-item`]:{position:"relative",overflow:"hidden"},[`${o}-item, ${o}-submenu-title`]:{height:t,lineHeight:(0,h.bf)(t),paddingInline:a,overflow:"hidden",textOverflow:"ellipsis",marginInline:n,marginBlock:p,width:v},[`> ${o}-item,
> ${o}-submenu > ${o}-submenu-title`]:{height:t,lineHeight:(0,h.bf)(t)},[`${o}-item-group-list ${o}-submenu-title,
${o}-submenu-title`]:{paddingInlineEnd:w}}};var Gc=e=>{const{componentCls:o,iconCls:t,itemHeight:n,colorTextLightSolid:a,dropdownWidth:s,controlHeightLG:u,motionDurationMid:p,motionEaseOut:v,paddingXL:w,itemMarginInline:x,fontSizeLG:A,motionDurationSlow:T,paddingXS:$,boxShadowSecondary:_,collapsedWidth:N,collapsedIconSize:P}=e,Y={height:n,lineHeight:(0,h.bf)(n),listStylePosition:"inside",listStyleType:"disc"};return[{[o]:{["&-inline, &-vertical"]:Object.assign({[`&${o}-root`]:{boxShadow:"none"}},ur(e))},[`${o}-submenu-popup`]:{[`${o}-vertical`]:Object.assign(Object.assign({},ur(e)),{boxShadow:_})}},{[`${o}-submenu-popup ${o}-vertical${o}-sub`]:{minWidth:s,maxHeight:`calc(100vh - ${(0,h.bf)(e.calc(u).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${o}-inline`]:{width:"100%",[`&${o}-root`]:{[`${o}-item, ${o}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${T}`,`background ${T}`,`padding ${p} ${v}`].join(","),[`> ${o}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${o}-sub${o}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${o}-submenu > ${o}-submenu-title`]:Y,[`& ${o}-item-group-title`]:{paddingInlineStart:w}},[`${o}-item`]:Y}},{[`${o}-inline-collapsed`]:{width:N,[`&${o}-root`]:{[`${o}-item, ${o}-submenu ${o}-submenu-title`]:{[`> ${o}-inline-collapsed-noicon`]:{fontSize:A,textAlign:"center"}}},[`> ${o}-item,
> ${o}-item-group > ${o}-item-group-list > ${o}-item,
> ${o}-item-group > ${o}-item-group-list > ${o}-submenu > ${o}-submenu-title,
> ${o}-submenu > ${o}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,h.bf)(e.calc(A).div(2).equal())} - ${(0,h.bf)(x)})`,textOverflow:"clip",[`
${o}-submenu-arrow,
${o}-submenu-expand-icon
`]:{opacity:0},[`${o}-item-icon, ${t}`]:{margin:0,fontSize:P,lineHeight:(0,h.bf)(n),"+ span":{display:"inline-block",opacity:0}}},[`${o}-item-icon, ${t}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${o}-item-icon, ${t}`]:{display:"none"},"a, a:hover":{color:a}},[`${o}-item-group-title`]:Object.assign(Object.assign({},Ao.vS),{paddingInline:$})}}]};const fr=e=>{const{componentCls:o,motionDurationSlow:t,motionDurationMid:n,motionEaseInOut:a,motionEaseOut:s,iconCls:u,iconSize:p,iconMarginInlineEnd:v}=e;return{[`${o}-item, ${o}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${t}`,`background ${t}`,`padding ${t} ${a}`].join(","),[`${o}-item-icon, ${u}`]:{minWidth:p,fontSize:p,transition:[`font-size ${n} ${s}`,`margin ${t} ${a}`,`color ${t}`].join(","),"+ span":{marginInlineStart:v,opacity:1,transition:[`opacity ${t} ${a}`,`margin ${t}`,`color ${t}`].join(",")}},[`${o}-item-icon`]:Object.assign({},(0,Ao.Ro)()),[`&${o}-item-only-child`]:{[`> ${u}, > ${o}-item-icon`]:{marginInlineEnd:0}}},[`${o}-item-disabled, ${o}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${o}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},pr=e=>{const{componentCls:o,motionDurationSlow:t,motionEaseInOut:n,borderRadius:a,menuArrowSize:s,menuArrowOffset:u}=e;return{[`${o}-submenu`]:{["&-expand-icon, &-arrow"]:{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:s,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${t} ${n}, opacity ${t}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(s).mul(.6).equal(),height:e.calc(s).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:a,transition:[`background ${t} ${n}`,`transform ${t} ${n}`,`top ${t} ${n}`,`color ${t} ${n}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,h.bf)(e.calc(u).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,h.bf)(u)})`}}}}},Kc=e=>{const{antCls:o,componentCls:t,fontSize:n,motionDurationSlow:a,motionDurationMid:s,motionEaseInOut:u,paddingXS:p,padding:v,colorSplit:w,lineWidth:x,zIndexPopup:A,borderRadiusLG:T,subMenuItemBorderRadius:$,menuArrowSize:_,menuArrowOffset:N,lineType:P,groupTitleLineHeight:Y,groupTitleFontSize:fe}=e;return[{"":{[`${t}`]:Object.assign(Object.assign({},(0,Ao.dF)()),{["&-hidden"]:{display:"none"}})},[`${t}-submenu-hidden`]:{display:"none"}},{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ao.Wf)(e)),(0,Ao.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:n,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${a} cubic-bezier(0.2, 0, 0, 1) 0s`,["ul, ol"]:{margin:0,padding:0,listStyle:"none"},["&-overflow"]:{display:"flex",[`${t}-item`]:{flex:"none"}},[`${t}-item, ${t}-submenu, ${t}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${t}-item-group-title`]:{padding:`${(0,h.bf)(p)} ${(0,h.bf)(v)}`,fontSize:fe,lineHeight:Y,transition:`all ${a}`},[`&-horizontal ${t}-submenu`]:{transition:[`border-color ${a} ${u}`,`background ${a} ${u}`].join(",")},[`${t}-submenu, ${t}-submenu-inline`]:{transition:[`border-color ${a} ${u}`,`background ${a} ${u}`,`padding ${s} ${u}`].join(",")},[`${t}-submenu ${t}-sub`]:{cursor:"initial",transition:[`background ${a} ${u}`,`padding ${a} ${u}`].join(",")},[`${t}-title-content`]:{transition:`color ${a}`,[`> ${o}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${t}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${t}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:w,borderStyle:P,borderWidth:0,borderTopWidth:x,marginBlock:x,padding:0,"&-dashed":{borderStyle:"dashed"}}}),fr(e)),{[`${t}-item-group`]:{[`${t}-item-group-list`]:{margin:0,padding:0,[`${t}-item, ${t}-submenu-title`]:{paddingInline:`${(0,h.bf)(e.calc(n).mul(2).equal())} ${(0,h.bf)(v)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:A,borderRadius:T,boxShadow:"none",transformOrigin:"0 0",[`&${t}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${t}`]:Object.assign(Object.assign(Object.assign({borderRadius:T},fr(e)),pr(e)),{[`${t}-item, ${t}-submenu > ${t}-submenu-title`]:{borderRadius:$},[`${t}-submenu-title::after`]:{transition:`transform ${a} ${u}`}})},[`
&-placement-leftTop,
&-placement-bottomRight,
`]:{transformOrigin:"100% 0"},[`
&-placement-leftBottom,
&-placement-topRight,
`]:{transformOrigin:"100% 100%"},[`
&-placement-rightBottom,
&-placement-topLeft,
`]:{transformOrigin:"0 100%"},[`
&-placement-bottomLeft,
&-placement-rightTop,
`]:{transformOrigin:"0 0"},[`
&-placement-leftTop,
&-placement-leftBottom
`]:{paddingInlineEnd:e.paddingXS},[`
&-placement-rightTop,
&-placement-rightBottom
`]:{paddingInlineStart:e.paddingXS},[`
&-placement-topRight,
&-placement-topLeft
`]:{paddingBottom:e.paddingXS},[`
&-placement-bottomRight,
&-placement-bottomLeft
`]:{paddingTop:e.paddingXS}}}),pr(e)),{[`&-inline-collapsed ${t}-submenu-arrow,
&-inline ${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,h.bf)(N)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,h.bf)(e.calc(N).mul(-1).equal())})`}},[`${t}-submenu-open${t}-submenu-inline > ${t}-submenu-title > ${t}-submenu-arrow`]:{transform:`translateY(${(0,h.bf)(e.calc(_).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,h.bf)(e.calc(N).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,h.bf)(N)})`}}})},{[`${o}-layout-header`]:{[t]:{lineHeight:"inherit"}}}]},Xc=e=>{var o,t,n;const{colorPrimary:a,colorError:s,colorTextDisabled:u,colorErrorBg:p,colorText:v,colorTextDescription:w,colorBgContainer:x,colorFillAlter:A,colorFillContent:T,lineWidth:$,lineWidthBold:_,controlItemBgActive:N,colorBgTextHover:P,controlHeightLG:Y,lineHeight:fe,colorBgElevated:ee,marginXXS:J,padding:ae,fontSize:q,controlHeightSM:de,fontSizeLG:ie,colorTextLightSolid:oe,colorErrorHover:ke}=e,be=(o=e.activeBarWidth)!==null&&o!==void 0?o:0,ue=(t=e.activeBarBorderWidth)!==null&&t!==void 0?t:$,ve=(n=e.itemMarginInline)!==null&&n!==void 0?n:e.marginXXS,Ce=new It.C(oe).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:v,itemColor:v,colorItemTextHover:v,itemHoverColor:v,colorItemTextHoverHorizontal:a,horizontalItemHoverColor:a,colorGroupTitle:w,groupTitleColor:w,colorItemTextSelected:a,itemSelectedColor:a,colorItemTextSelectedHorizontal:a,horizontalItemSelectedColor:a,colorItemBg:x,itemBg:x,colorItemBgHover:P,itemHoverBg:P,colorItemBgActive:T,itemActiveBg:N,colorSubItemBg:A,subMenuItemBg:A,colorItemBgSelected:N,itemSelectedBg:N,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:be,colorActiveBarHeight:_,activeBarHeight:_,colorActiveBarBorderSize:$,activeBarBorderWidth:ue,colorItemTextDisabled:u,itemDisabledColor:u,colorDangerItemText:s,dangerItemColor:s,colorDangerItemTextHover:s,dangerItemHoverColor:s,colorDangerItemTextSelected:s,dangerItemSelectedColor:s,colorDangerItemBgActive:p,dangerItemActiveBg:p,colorDangerItemBgSelected:p,dangerItemSelectedBg:p,itemMarginInline:ve,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Y,groupTitleLineHeight:fe,collapsedWidth:Y*2,popupBg:ee,itemMarginBlock:J,itemPaddingInline:ae,horizontalLineHeight:`${Y*1.15}px`,iconSize:q,iconMarginInlineEnd:de-q,collapsedIconSize:ie,groupTitleFontSize:q,darkItemDisabledColor:new It.C(oe).setAlpha(.25).toRgbString(),darkItemColor:Ce,darkDangerItemColor:s,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:oe,darkItemSelectedBg:a,darkDangerItemSelectedBg:s,darkItemHoverBg:"transparent",darkGroupTitleColor:Ce,darkItemHoverColor:oe,darkDangerItemHoverColor:ke,darkDangerItemSelectedColor:oe,darkDangerItemActiveBg:s,itemWidth:be?`calc(100% + ${ue}px)`:`calc(100% - ${ve*2}px)`}};var Yc=function(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,L.I$)("Menu",a=>{const{colorBgElevated:s,controlHeightLG:u,fontSize:p,darkItemColor:v,darkDangerItemColor:w,darkItemBg:x,darkSubMenuItemBg:A,darkItemSelectedColor:T,darkItemSelectedBg:$,darkDangerItemSelectedBg:_,darkItemHoverBg:N,darkGroupTitleColor:P,darkItemHoverColor:Y,darkItemDisabledColor:fe,darkDangerItemHoverColor:ee,darkDangerItemSelectedColor:J,darkDangerItemActiveBg:ae,popupBg:q,darkPopupBg:de}=a,ie=a.calc(p).div(7).mul(5).equal(),oe=(0,Lo.TS)(a,{menuArrowSize:ie,menuHorizontalHeight:a.calc(u).mul(1.15).equal(),menuArrowOffset:a.calc(ie).mul(.25).equal(),menuSubMenuBg:s,calc:a.calc,popupBg:q}),ke=(0,Lo.TS)(oe,{itemColor:v,itemHoverColor:Y,groupTitleColor:P,itemSelectedColor:T,itemBg:x,popupBg:de,subMenuItemBg:A,itemActiveBg:"transparent",itemSelectedBg:$,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:N,itemDisabledColor:fe,dangerItemColor:w,dangerItemHoverColor:ee,dangerItemSelectedColor:J,dangerItemActiveBg:ae,dangerItemSelectedBg:_,menuSubMenuBg:A,horizontalItemSelectedColor:T,horizontalItemSelectedBg:$});return[Kc(oe),Zc(oe),Gc(oe),dr(oe,"light"),dr(ke,"dark"),Vc(oe),lr(oe),(0,cr.oN)(oe,"slide-up"),(0,cr.oN)(oe,"slide-down"),(0,Uc._y)(oe,"zoom-big")]},Xc,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:t,unitless:{groupTitleLineHeight:!0}})(e,o)},Qc=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t};function Bt(e){return e===null||e===!1}var Jc=(0,r.forwardRef)((e,o)=>{var t;const n=r.useContext(ir),a=n||{},{getPrefixCls:s,getPopupContainer:u,direction:p,menu:v}=r.useContext(Z.E_),w=s(),{prefixCls:x,className:A,style:T,theme:$="light",expandIcon:_,_internalDisableMenuItemTitleTooltip:N,inlineCollapsed:P,siderCollapsed:Y,items:fe,children:ee,rootClassName:J,mode:ae,selectable:q,onClick:de,overflowedIndicatorPopupClassName:ie}=e,oe=Qc(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),ke=(0,Po.Z)(oe,["collapsedWidth"]),be=Wc(fe)||ee;(t=a.validator)===null||t===void 0||t.call(a,{mode:ae});const ue=(0,pt.zX)(function(){var Oe;de==null||de.apply(void 0,arguments),(Oe=a.onClick)===null||Oe===void 0||Oe.call(a)}),ve=a.mode||ae,Ce=q!=null?q:a.selectable,ge=r.useMemo(()=>Y!==void 0?Y:P,[P,Y]),Ee={horizontal:{motionName:`${w}-slide-up`},inline:(0,ft.Z)(w),other:{motionName:`${w}-zoom-big`}},we=s("menu",x||a.prefixCls),je=(0,Rt.Z)(we),[Fe,_e,Ie]=Yc(we,je,!n),We=E()(`${we}-${$}`,v==null?void 0:v.className,A),Pe=r.useMemo(()=>{var Oe,Ae;if(typeof _=="function"||Bt(_))return _||null;if(typeof a.expandIcon=="function"||Bt(a.expandIcon))return a.expandIcon||null;if(typeof(v==null?void 0:v.expandIcon)=="function"||Bt(v==null?void 0:v.expandIcon))return(v==null?void 0:v.expandIcon)||null;const $e=(Oe=_!=null?_:a==null?void 0:a.expandIcon)!==null&&Oe!==void 0?Oe:v==null?void 0:v.expandIcon;return(0,Ko.Tm)($e,{className:E()(`${we}-submenu-expand-icon`,r.isValidElement($e)?(Ae=$e.props)===null||Ae===void 0?void 0:Ae.className:void 0)})},[_,a==null?void 0:a.expandIcon,v==null?void 0:v.expandIcon,we]),Ye=r.useMemo(()=>({prefixCls:we,inlineCollapsed:ge||!1,direction:p,firstLevel:!0,theme:$,mode:ve,disableMenuItemTitleTooltip:N}),[we,ge,p,N,$]);return Fe(r.createElement(ir.Provider,{value:null},r.createElement(gt.Provider,{value:Ye},r.createElement(Go.ZP,Object.assign({getPopupContainer:u,overflowedIndicator:r.createElement(Nc.Z,null),overflowedIndicatorPopupClassName:E()(we,`${we}-${$}`,ie),mode:ve,selectable:Ce,onClick:ue},ke,{inlineCollapsed:ge,style:Object.assign(Object.assign({},v==null?void 0:v.style),T),className:We,prefixCls:we,direction:p,defaultMotions:Ee,expandIcon:Pe,ref:o,rootClassName:E()(J,_e,a.rootClassName,Ie,je)}),be))))});const ot=(0,r.forwardRef)((e,o)=>{const t=(0,r.useRef)(null),n=r.useContext(tr);return(0,r.useImperativeHandle)(o,()=>({menu:t.current,focus:a=>{var s;(s=t.current)===null||s===void 0||s.focus(a)}})),r.createElement(Jc,Object.assign({ref:t},e,n))});ot.Item=rr,ot.SubMenu=ar,ot.Divider=nr,ot.ItemGroup=Go.BW;var qc=ot,Do=l(77041),gr,hr,mr,br,vr,yr,xr,es=(0,yo.kc)(function(e){var o=e.token,t=e.prefixCls,n=e.cx,a=e.css,s=6;return{rect:a(gr||(gr=(0,Me.Z)([`
background: `,`;
width: 100%;
`])),(0,Do.m4)(o.colorBgContainer,.8)),icon:n("site-burger-icon",a(hr||(hr=(0,Me.Z)([`
position: relative;
&,
&::before,
&::after {
display: inline-block;
height: 2px;
background: `,`;
width: 16px;
transition: all 150ms ease;
}
&::before,
&::after {
position: absolute;
left: 0;
content: '';
}
&::before {
top: `,`px;
}
&::after {
top: -`,`px;
}
`])),o.colorTextSecondary,s,s)),active:a(mr||(mr=(0,Me.Z)([`
&::before,
&::after {
background: `,`;
}
& {
background: transparent;
}
&::before {
top: 0;
transform: rotate(-135deg);
}
&::after {
top: 0;
transform: rotate(135deg);
}
`])),o.colorText),container:a(br||(br=(0,Me.Z)([`
width: `,`px;
height: `,`px;
border-radius: `,`px;
cursor: pointer;
`])),o.controlHeight,o.controlHeight,o.borderRadius),drawerRoot:a(vr||(vr=(0,Me.Z)([`
top: `,`px;
:focus-visible {
outline: none;
}
.`,`-drawer {
&-mask {
background: transparent;
backdrop-filter: blur(7px);
background: `,`;
}
&-content-wrapper {
box-shadow: none;
}
}
`])),o.headerHeight+1,t,(0,Do.m4)(o.colorBgBase,.5)),drawer:a(yr||(yr=(0,Me.Z)([`
&.`,`-drawer-content {
background: transparent;
}
.`,`-drawer-body {
display: flex;
flex-direction: column;
}
`])),t,t),menu:a(xr||(xr=(0,Me.Z)([`
background: transparent;
border-inline-end: transparent !important;
> .`,"-menu-item-only-child,.",`-menu-submenu-title {
background: `,`;
border-radius: 0;
margin: 0;
width: 100%;
&:active {
margin-inline: 4px;
border-radius: `,`px;
}
}
.`,"-menu-sub.",`-menu-inline {
//background: transparent !important;
background: `,` !important;
}
`])),t,t,(0,Do.m4)(o.colorBgContainer,.8),o.borderRadius,t,t,(0,Do.m4)(o.colorBgContainer,.2))}}),os=function(){var o=(0,r.useState)(!1),t=(0,Co.Z)(o,2),n=t[0],a=t[1],s=es(),u=s.styles,p=s.cx,v=(0,b.HX)(function(T){return T.navData},C()),w=(0,b.HX)(function(T){return T.sidebar},C()),x=(0,b.HX)(en),A=(0,b.HX)(function(T){return T.location.pathname});return(0,d.jsxs)(Xo.Z,{className:u.container,onClick:function(){a(!n)},children:[(0,d.jsx)("div",{className:p(u.icon,n?u.active:"")}),(0,d.jsxs)(Dc,{open:n,placement:"left",closeIcon:null,rootClassName:u.drawerRoot,className:u.drawer,width:"100vw",headerStyle:{display:"none"},bodyStyle:{padding:0},children:[(0,d.jsx)("div",{style:{height:24},className:u.rect}),(0,d.jsx)(qc,{mode:"inline",selectedKeys:(0,Vo.uniq)([x,"s-".concat(A)]),openKeys:[x],className:u.menu,items:v.map(function(T){return{label:(0,d.jsx)(f.rU,{to:T.link,children:T.title}),key:T.activePath||T.link,children:(T.activePath||T.link)===x&&(w==null?void 0:w.map(function($){return!$.link&&{label:$.title,type:"group",children:$.children.map(function(_){return{label:(0,d.jsx)(f.rU,{to:_.link,onClick:function(){a(!1)},children:_.title}),key:"s-".concat(_.link)}})}}))}})}),(0,d.jsx)("div",{style:{flex:1},className:u.rect})]})]})},ts=os,ns={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}}]},name:"github",theme:"filled"},rs=ns,as=function(o,t){return r.createElement(Mo.Z,(0,ho.Z)({},o,{ref:t,icon:rs}))},is=r.forwardRef(as),wr=is,ls=function(){var o=(0,b.HX)(yn);return o?(0,d.jsx)(Jo.Z,{arrow:!1,title:"Github",children:(0,d.jsx)("a",{href:o,target:"_blank",rel:"noreferrer",children:(0,d.jsx)(lt.ZP,{icon:(0,d.jsx)(wr,{})})})}):null},cs=(0,r.memo)(ls),ss=l(5241),Sr=l(48827),Cr,kr,Er,Or,ds=(0,yo.kc)(function(e){var o=e.css,t=e.responsive,n=e.token;return{header:o(Cr||(Cr=(0,Me.Z)([`
top: 0;
position: sticky;
background-color: transparent;
backdrop-filter: blur(6px);
z-index: `,`;
border-bottom: 1px solid `,`;
grid-area: head;
align-self: stretch;
`,` {
background: `,`;
}
`])),n.zIndexPopupBase-50,n.colorSplit,t.mobile,n.colorBgContainer),content:o(kr||(kr=(0,Me.Z)([`
padding: 0 24px;
height: 64px;
`,` {
padding: 0 12px;
}
`])),t.mobile),left:o(Er||(Er=(0,Me.Z)([""]))),right:o(Or||(Or=(0,Me.Z)([`
flex: 1;
display: flex;
justify-content: space-between;
&-aside {
display: flex;
align-items: center;
`,` {
margin: 8px 16px;
padding-top: 24px;
justify-content: center;
border-top: 1px solid `,`;
}
}
`])),t.mobile,n.colorBorder)}}),Mr=function(){var o=(0,b.HX)(function(u){return u.siteData.themeConfig.prefersColor.switch}),t=(0,Sr.f)(function(u){return u.themeMode}),n=(0,f.OI)(),a=(0,Co.Z)(n,3),s=a[2];return(0,r.useEffect)(function(){return s(t)},[t]),o?(0,d.jsx)(ss.Z,{value:t,onChange:function(p){Sr.f.setState({themeMode:p})}}):null},us=function(){var o=(0,b.HX)(function(u){return!!u.routeMeta.frontmatter}),t=Zo(),n=t.mobile,a=ds(),s=a.styles;return o?(0,d.jsx)("div",{className:s.header,children:(0,d.jsx)(go.D,{horizontal:!0,distribution:"space-between",align:"center",width:"auto",className:s.content,children:n?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(go.D,{children:(0,d.jsx)(ts,{})}),(0,d.jsx)(go.D,{horizontal:!0,className:s.left,children:(0,d.jsx)(Cn,{})}),(0,d.jsx)(go.D,{children:(0,d.jsx)(Mr,{})})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(go.D,{horizontal:!0,className:s.left,children:(0,d.jsx)(Cn,{})}),(0,d.jsx)(go.D,{style:{marginLeft:48,alignSelf:"end"},children:(0,d.jsx)(Nl,{})}),(0,d.jsxs)("section",{className:s.right,children:[(0,d.jsx)("div",{}),(0,d.jsxs)(go.D,{gap:16,horizontal:!0,align:"center",className:"dumi-default-header-right-aside",children:[(0,d.jsx)(bc,{}),(0,d.jsx)(Ml,{}),(0,d.jsx)(cs,{}),(0,d.jsx)(Mr,{})]})]})]})})}):null},Ar=(0,r.memo)(us),zr,fs=(0,yo.kc)(function(e){var o=e.css,t=e.token;return{sidebar:o(zr||(zr=(0,Me.Z)([`
grid-area: sidebar;
overflow: auto;
position: sticky;
top: `,`px;
max-height: calc(100vh - `,`px);
box-sizing: border-box;
padding-top: 20px;
padding-bottom: 24px;
padding-inline: 16px;
border-right: 1px solid `,`;
> dl {
margin: 0;
padding: 0;
line-height: 1;
> dt {
margin: 8px 0;
color: `,`;
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-transform: uppercase;
}
> dd {
margin: 0;
padding: 2px 0;
> a {
padding: 6px 12px;
border-radius: 6px;
display: block;
font-size: `,`px;
line-height: `,`;
text-decoration: none;
transition: all 0.1s;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: `,`;
&:hover {
color: `,`;
background: `,`;
}
&.active {
color: `,`;
background: `,`;
&:hover {
color: `,`;
background: `,`;
}
}
}
}
// divider line & gap
+ dl {
margin-top: 16px;
padding-top: 16px;
border-top: 1px dashed `,`;
}
}
`])),t.headerHeight,t.headerHeight,t.colorSplit,t.colorText,t.fontSize,t.lineHeight,t.colorTextSecondary,t.colorText,t.colorFillTertiary,t.colorPrimaryText,t.colorPrimaryBg,t.colorPrimaryTextHover,t.colorPrimaryBgHover,t.colorBorder)}}),ps=function(){var o=(0,b.HX)(function(s){return s.sidebar},C()),t=fs(),n=t.styles,a=!o||o.length===0;return a?null:(0,d.jsx)("div",{className:n.sidebar,children:o.map(function(s,u){return(0,d.jsxs)("dl",{children:[s.title&&(0,d.jsx)("dt",{children:s.title}),s.children.map(function(p){return(0,d.jsx)("dd",{children:(0,d.jsx)(f.OL,{to:p.link,title:p.title,end:!0,children:p.title})},p.link)})]},String(u))})})},gs=(0,r.memo)(ps),hs={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},ms=hs,bs=function(o,t){return r.createElement(Mo.Z,(0,ho.Z)({},o,{ref:t,icon:ms}))},vs=r.forwardRef(bs),ys=vs,xs={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},ws=xs,Ss=function(o,t){return r.createElement(Mo.Z,(0,ho.Z)({},o,{ref:t,icon:ws}))},Cs=r.forwardRef(Ss),ks=Cs,$t=l(27774),Es={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Os=Es,Ms=function(o,t){return r.createElement(Mo.Z,(0,ho.Z)({},o,{ref:t,icon:Os}))},As=r.forwardRef(Ms),zs=As,ht=l(49172),tt=l(56983),Tr=r.forwardRef(function(e,o){var t=e.prefixCls,n=e.forceRender,a=e.className,s=e.style,u=e.children,p=e.isActive,v=e.role,w=r.useState(p||n),x=(0,Co.Z)(w,2),A=x[0],T=x[1];return r.useEffect(function(){(n||p)&&T(!0)},[n,p]),A?r.createElement("div",{ref:o,className:E()("".concat(t,"-content"),(0,H.Z)((0,H.Z)({},"".concat(t,"-content-active"),p),"".concat(t,"-content-inactive"),!p),a),style:s,role:v},r.createElement("div",{className:"".concat(t,"-content-box")},u)):null});Tr.displayName="PanelContent";var Ts=Tr,Rs=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],js=r.forwardRef(function(e,o){var t=e.showArrow,n=t===void 0?!0:t,a=e.headerClass,s=e.isActive,u=e.onItemClick,p=e.forceRender,v=e.className,w=e.prefixCls,x=e.collapsible,A=e.accordion,T=e.panelKey,$=e.extra,_=e.header,N=e.expandIcon,P=e.openMotion,Y=e.destroyInactivePanel,fe=e.children,ee=(0,Q.Z)(e,Rs),J=x==="disabled",ae=x==="header",q=x==="icon",de=$!=null&&typeof $!="boolean",ie=function(){u==null||u(T)},oe=function(ge){(ge.key==="Enter"||ge.keyCode===Wo.Z.ENTER||ge.which===Wo.Z.ENTER)&&ie()},ke=typeof N=="function"?N(e):r.createElement("i",{className:"arrow"});ke&&(ke=r.createElement("div",{className:"".concat(w,"-expand-icon"),onClick:["header","icon"].includes(x)?ie:void 0},ke));var be=E()((0,H.Z)((0,H.Z)((0,H.Z)({},"".concat(w,"-item"),!0),"".concat(w,"-item-active"),s),"".concat(w,"-item-disabled"),J),v),ue=E()(a,(0,H.Z)((0,H.Z)((0,H.Z)({},"".concat(w,"-header"),!0),"".concat(w,"-header-collapsible-only"),ae),"".concat(w,"-icon-collapsible-only"),q)),ve={className:ue,"aria-expanded":s,"aria-disabled":J,onKeyDown:oe};return!ae&&!q&&(ve.onClick=ie,ve.role=A?"tab":"button",ve.tabIndex=J?-1:0),r.createElement("div",(0,ho.Z)({},ee,{ref:o,className:be}),r.createElement("div",ve,n&&ke,r.createElement("span",{className:"".concat(w,"-header-text"),onClick:x==="header"?ie:void 0},_),de&&r.createElement("div",{className:"".concat(w,"-extra")},$)),r.createElement(At.ZP,(0,ho.Z)({visible:s,leavedClassName:"".concat(w,"-content-hidden")},P,{forceRender:p,removeOnLeave:Y}),function(Ce,ge){var Ee=Ce.className,we=Ce.style;return r.createElement(Ts,{ref:ge,prefixCls:w,className:Ee,style:we,isActive:s,forceRender:p,role:A?"tabpanel":void 0},fe)}))}),Rr=js,Is=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],Bs=function(o,t){var n=t.prefixCls,a=t.accordion,s=t.collapsible,u=t.destroyInactivePanel,p=t.onItemClick,v=t.activeKey,w=t.openMotion,x=t.expandIcon;return o.map(function(A,T){var $=A.children,_=A.label,N=A.key,P=A.collapsible,Y=A.onItemClick,fe=A.destroyInactivePanel,ee=(0,Q.Z)(A,Is),J=String(N!=null?N:T),ae=P!=null?P:s,q=fe!=null?fe:u,de=function(ke){ae!=="disabled"&&(p(ke),Y==null||Y(ke))},ie=!1;return a?ie=v[0]===J:ie=v.indexOf(J)>-1,r.createElement(Rr,(0,ho.Z)({},ee,{prefixCls:n,key:J,panelKey:J,isActive:ie,accordion:a,openMotion:w,expandIcon:x,header:_,collapsible:ae,onItemClick:de,destroyInactivePanel:q}),$)})},$s=function(o,t,n){if(!o)return null;var a=n.prefixCls,s=n.accordion,u=n.collapsible,p=n.destroyInactivePanel,v=n.onItemClick,w=n.activeKey,x=n.openMotion,A=n.expandIcon,T=o.key||String(t),$=o.props,_=$.header,N=$.headerClass,P=$.destroyInactivePanel,Y=$.collapsible,fe=$.onItemClick,ee=!1;s?ee=w[0]===T:ee=w.indexOf(T)>-1;var J=Y!=null?Y:u,ae=function(ie){J!=="disabled"&&(v(ie),fe==null||fe(ie))},q={key:T,panelKey:T,header:_,headerClass:N,isActive:ee,prefixCls:a,destroyInactivePanel:P!=null?P:p,openMotion:x,accordion:s,children:o.props.children,onItemClick:ae,expandIcon:A,collapsible:J};return typeof o.type=="string"?o:(Object.keys(q).forEach(function(de){typeof q[de]=="undefined"&&delete q[de]}),r.cloneElement(o,q))};function Hs(e,o,t){return Array.isArray(e)?Bs(e,t):(0,Qo.Z)(o).map(function(n,a){return $s(n,a,t)})}var _s=Hs;function Ds(e){var o=e;if(!Array.isArray(o)){var t=(0,ht.Z)(o);o=t==="number"||t==="string"?[o]:[]}return o.map(function(n){return String(n)})}var Ns=r.forwardRef(function(e,o){var t=e.prefixCls,n=t===void 0?"rc-collapse":t,a=e.destroyInactivePanel,s=a===void 0?!1:a,u=e.style,p=e.accordion,v=e.className,w=e.children,x=e.collapsible,A=e.openMotion,T=e.expandIcon,$=e.activeKey,_=e.defaultActiveKey,N=e.onChange,P=e.items,Y=E()(n,v),fe=(0,tt.Z)([],{value:$,onChange:function(oe){return N==null?void 0:N(oe)},defaultValue:_,postState:Ds}),ee=(0,Co.Z)(fe,2),J=ee[0],ae=ee[1],q=function(oe){return ae(function(){if(p)return J[0]===oe?[]:[oe];var ke=J.indexOf(oe),be=ke>-1;return be?J.filter(function(ue){return ue!==oe}):[].concat((0,Se.Z)(J),[oe])})};(0,Zn.ZP)(!w,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var de=_s(P,w,{prefixCls:n,accordion:p,openMotion:A,expandIcon:T,collapsible:x,destroyInactivePanel:s,onItemClick:q,activeKey:J});return r.createElement("div",(0,ho.Z)({ref:o,className:Y,style:u,role:p?"tablist":void 0},(0,ut.Z)(e,{aria:!0,data:!0})),de)}),jr=Object.assign(Ns,{Panel:Rr}),Ir=jr,Xp=jr.Panel,Br=l(21655),Ls=r.forwardRef((e,o)=>{const{getPrefixCls:t}=r.useContext(Z.E_),{prefixCls:n,className:a,showArrow:s=!0}=e,u=t("collapse",n),p=E()({[`${u}-no-arrow`]:!s},a);return r.createElement(Ir.Panel,Object.assign({ref:o},e,{prefixCls:u,className:p}))});const Fs=e=>{const{componentCls:o,contentBg:t,padding:n,headerBg:a,headerPadding:s,collapseHeaderPaddingSM:u,collapseHeaderPaddingLG:p,collapsePanelBorderRadius:v,lineWidth:w,lineType:x,colorBorder:A,colorText:T,colorTextHeading:$,colorTextDisabled:_,fontSizeLG:N,lineHeight:P,lineHeightLG:Y,marginSM:fe,paddingSM:ee,paddingLG:J,paddingXS:ae,motionDurationSlow:q,fontSizeIcon:de,contentPadding:ie,fontHeight:oe,fontHeightLG:ke}=e,be=`${(0,h.bf)(w)} ${x} ${A}`;return{[o]:Object.assign(Object.assign({},(0,Ao.Wf)(e)),{backgroundColor:a,border:be,borderBottom:0,borderRadius:v,["&-rtl"]:{direction:"rtl"},[`& > ${o}-item`]:{borderBottom:be,["&:last-child"]:{[`
&,
& > ${o}-header`]:{borderRadius:`0 0 ${(0,h.bf)(v)} ${(0,h.bf)(v)}`}},[`> ${o}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:s,color:$,lineHeight:P,cursor:"pointer",transition:`all ${q}, visibility 0s`,[`> ${o}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${o}-expand-icon`]:{height:oe,display:"flex",alignItems:"center",paddingInlineEnd:fe},[`${o}-arrow`]:Object.assign(Object.assign({},(0,Ao.Ro)()),{fontSize:de,svg:{transition:`transform ${q}`}}),[`${o}-header-text`]:{marginInlineEnd:"auto"}},[`${o}-icon-collapsible-only`]:{cursor:"unset",[`${o}-expand-icon`]:{cursor:"pointer"}}},[`${o}-content`]:{color:T,backgroundColor:t,borderTop:be,[`& > ${o}-content-box`]:{padding:ie},["&-hidden"]:{display:"none"}},["&-small"]:{[`> ${o}-item`]:{[`> ${o}-header`]:{padding:u,paddingInlineStart:ae,[`> ${o}-expand-icon`]:{marginInlineStart:e.calc(ee).sub(ae).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:ee}}},["&-large"]:{[`> ${o}-item`]:{fontSize:N,lineHeight:Y,[`> ${o}-header`]:{padding:p,paddingInlineStart:n,[`> ${o}-expand-icon`]:{height:ke,marginInlineStart:e.calc(J).sub(n).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:J}}},[`${o}-item:last-child`]:{[`> ${o}-content`]:{borderRadius:`0 0 ${(0,h.bf)(v)} ${(0,h.bf)(v)}`}},[`& ${o}-item-disabled > ${o}-header`]:{[`
&,
& > .arrow
`]:{color:_,cursor:"not-allowed"}},[`&${o}-icon-position-end`]:{[`& > ${o}-item`]:{[`> ${o}-header`]:{[`${o}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:fe}}}}})}},Ws=e=>{const{componentCls:o}=e,t=`> ${o}-item > ${o}-header ${o}-arrow svg`;return{[`${o}-rtl`]:{[t]:{transform:"rotate(180deg)"}}}},Ps=e=>{const{componentCls:o,headerBg:t,paddingXXS:n,colorBorder:a}=e;return{[`${o}-borderless`]:{backgroundColor:t,border:0,[`> ${o}-item`]:{borderBottom:`1px solid ${a}`},[`
> ${o}-item:last-child,
> ${o}-item:last-child ${o}-header
`]:{borderRadius:0},[`> ${o}-item:last-child`]:{borderBottom:0},[`> ${o}-item > ${o}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${o}-item > ${o}-content > ${o}-content-box`]:{paddingTop:n}}}},Us=e=>{const{componentCls:o,paddingSM:t}=e;return{[`${o}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${o}-item`]:{borderBottom:0,[`> ${o}-content`]:{backgroundColor:"transparent",border:0,[`> ${o}-content-box`]:{paddingBlock:t}}}}}},Zs=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer});var Vs=(0,L.I$)("Collapse",e=>{const o=(0,Lo.TS)(e,{collapseHeaderPaddingSM:`${(0,h.bf)(e.paddingXS)} ${(0,h.bf)(e.paddingSM)}`,collapseHeaderPaddingLG:`${(0,h.bf)(e.padding)} ${(0,h.bf)(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[Fs(o),Ps(o),Us(o),Ws(o),lr(o)]},Zs),Gs=Object.assign(r.forwardRef((e,o)=>{const{getPrefixCls:t,direction:n,collapse:a}=r.useContext(Z.E_),{prefixCls:s,className:u,rootClassName:p,style:v,bordered:w=!0,ghost:x,size:A,expandIconPosition:T="start",children:$,expandIcon:_}=e,N=(0,Br.Z)(be=>{var ue;return(ue=A!=null?A:be)!==null&&ue!==void 0?ue:"middle"}),P=t("collapse",s),Y=t(),[fe,ee,J]=Vs(P),ae=r.useMemo(()=>T==="left"?"start":T==="right"?"end":T,[T]),q=_!=null?_:a==null?void 0:a.expandIcon,de=r.useCallback(function(){let be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const ue=typeof q=="function"?q(be):r.createElement(zs,{rotate:be.isActive?90:void 0});return(0,Ko.Tm)(ue,()=>{var ve;return{className:E()((ve=ue==null?void 0:ue.props)===null||ve===void 0?void 0:ve.className,`${P}-arrow`)}})},[q,P]),ie=E()(`${P}-icon-position-${ae}`,{[`${P}-borderless`]:!w,[`${P}-rtl`]:n==="rtl",[`${P}-ghost`]:!!x,[`${P}-${N}`]:N!=="middle"},a==null?void 0:a.className,u,p,ee,J),oe=Object.assign(Object.assign({},(0,ft.Z)(Y)),{motionAppear:!1,leavedClassName:`${P}-content-hidden`}),ke=r.useMemo(()=>$?(0,Qo.Z)($).map((be,ue)=>{var ve,Ce;if(!((ve=be.props)===null||ve===void 0)&&ve.disabled){const ge=(Ce=be.key)!==null&&Ce!==void 0?Ce:String(ue),{disabled:Ee,collapsible:we}=be.props,je=Object.assign(Object.assign({},(0,Po.Z)(be.props,["disabled"])),{key:ge,collapsible:we!=null?we:Ee?"disabled":void 0});return(0,Ko.Tm)(be,je)}return be}):null,[$]);return fe(r.createElement(Ir,Object.assign({ref:o,openMotion:oe},(0,Po.Z)(e,["rootClassName"]),{expandIcon:de,prefixCls:P,className:ie,style:Object.assign(Object.assign({},a==null?void 0:a.style),v)}),ke))}),{Panel:Ls}),$r=Gs;const Hr=e=>typeof e=="object"&&e!=null&&e.nodeType===1,_r=(e,o)=>(!o||e!=="hidden")&&e!=="visible"&&e!=="clip",Ht=(e,o)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const t=getComputedStyle(e,null);return _r(t.overflowY,o)||_r(t.overflowX,o)||(n=>{const a=(s=>{if(!s.ownerDocument||!s.ownerDocument.defaultView)return null;try{return s.ownerDocument.defaultView.frameElement}catch(u){return null}})(n);return!!a&&(a.clientHeight<n.scrollHeight||a.clientWidth<n.scrollWidth)})(e)}return!1},mt=(e,o,t,n,a,s,u,p)=>s<e&&u>o||s>e&&u<o?0:s<=e&&p<=t||u>=o&&p>=t?s-e-n:u>o&&p<t||s<e&&p>t?u-o+a:0,Ks=e=>{const o=e.parentElement;return o==null?e.getRootNode().host||null:o},Dr=(e,o)=>{var t,n,a,s;if(typeof document=="undefined")return[];const{scrollMode:u,block:p,inline:v,boundary:w,skipOverflowHiddenElements:x}=o,A=typeof w=="function"?w:Ee=>Ee!==w;if(!Hr(e))throw new TypeError("Invalid target");const T=document.scrollingElement||document.documentElement,$=[];let _=e;for(;Hr(_)&&A(_);){if(_=Ks(_),_===T){$.push(_);break}_!=null&&_===document.body&&Ht(_)&&!Ht(document.documentElement)||_!=null&&Ht(_,x)&&$.push(_)}const N=(n=(t=window.visualViewport)==null?void 0:t.width)!=null?n:innerWidth,P=(s=(a=window.visualViewport)==null?void 0:a.height)!=null?s:innerHeight,{scrollX:Y,scrollY:fe}=window,{height:ee,width:J,top:ae,right:q,bottom:de,left:ie}=e.getBoundingClientRect(),{top:oe,right:ke,bottom:be,left:ue}=(Ee=>{const we=window.getComputedStyle(Ee);return{top:parseFloat(we.scrollMarginTop)||0,right:parseFloat(we.scrollMarginRight)||0,bottom:parseFloat(we.scrollMarginBottom)||0,left:parseFloat(we.scrollMarginLeft)||0}})(e);let ve=p==="start"||p==="nearest"?ae-oe:p==="end"?de+be:ae+ee/2-oe+be,Ce=v==="center"?ie+J/2-ue+ke:v==="end"?q+ke:ie-ue;const ge=[];for(let Ee=0;Ee<$.length;Ee++){const we=$[Ee],{height:je,width:Fe,top:_e,right:Ie,bottom:We,left:Pe}=we.getBoundingClientRect();if(u==="if-needed"&&ae>=0&&ie>=0&&de<=P&&q<=N&&ae>=_e&&de<=We&&ie>=Pe&&q<=Ie)return ge;const Ye=getComputedStyle(we),Oe=parseInt(Ye.borderLeftWidth,10),Ae=parseInt(Ye.borderTopWidth,10),$e=parseInt(Ye.borderRightWidth,10),uo=parseInt(Ye.borderBottomWidth,10);let qe=0,Ue=0;const ao="offsetWidth"in we?we.offsetWidth-we.clientWidth-Oe-$e:0,ro="offsetHeight"in we?we.offsetHeight-we.clientHeight-Ae-uo:0,eo="offsetWidth"in we?we.offsetWidth===0?0:Fe/we.offsetWidth:0,io="offsetHeight"in we?we.offsetHeight===0?0:je/we.offsetHeight:0;if(T===we)qe=p==="start"?ve:p==="end"?ve-P:p==="nearest"?mt(fe,fe+P,P,Ae,uo,fe+ve,fe+ve+ee,ee):ve-P/2,Ue=v==="start"?Ce:v==="center"?Ce-N/2:v==="end"?Ce-N:mt(Y,Y+N,N,Oe,$e,Y+Ce,Y+Ce+J,J),qe=Math.max(0,qe+fe),Ue=Math.max(0,Ue+Y);else{qe=p==="start"?ve-_e-Ae:p==="end"?ve-We+uo+ro:p==="nearest"?mt(_e,We,je,Ae,uo+ro,ve,ve+ee,ee):ve-(_e+je/2)+ro/2,Ue=v==="start"?Ce-Pe-Oe:v==="center"?Ce-(Pe+Fe/2)+ao/2:v==="end"?Ce-Ie+$e+ao:mt(Pe,Ie,Fe,Oe,$e+ao,Ce,Ce+J,J);const{scrollLeft:zo,scrollTop:Re}=we;qe=io===0?0:Math.max(0,Math.min(Re+qe/io,we.scrollHeight-je/io+ro)),Ue=eo===0?0:Math.max(0,Math.min(zo+Ue/eo,we.scrollWidth-Fe/eo+ao)),ve+=Re-qe,Ce+=zo-Ue}ge.push({el:we,top:qe,left:Ue})}return ge},Xs=e=>e===!1?{block:"end",inline:"nearest"}:(o=>o===Object(o)&&Object.keys(o).length!==0)(e)?e:{block:"start",inline:"nearest"};function Ys(e,o){if(!e.isConnected||!(a=>{let s=a;for(;s&&s.parentNode;){if(s.parentNode===document)return!0;s=s.parentNode instanceof ShadowRoot?s.parentNode.host:s.parentNode}return!1})(e))return;const t=(a=>{const s=window.getComputedStyle(a);return{top:parseFloat(s.scrollMarginTop)||0,right:parseFloat(s.scrollMarginRight)||0,bottom:parseFloat(s.scrollMarginBottom)||0,left:parseFloat(s.scrollMarginLeft)||0}})(e);if((a=>typeof a=="object"&&typeof a.behavior=="function")(o))return o.behavior(Dr(e,o));const n=typeof o=="boolean"||o==null?void 0:o.behavior;for(const{el:a,top:s,left:u}of Dr(e,Xs(o))){const p=s-t.top+t.bottom,v=u-t.left+t.right;a.scroll({top:p,left:v,behavior:n})}}function _t(e){return e!=null&&e===e.window}function Nr(e,o){var t,n;if(typeof window=="undefined")return 0;const a=o?"scrollTop":"scrollLeft";let s=0;return _t(e)?s=e[o?"pageYOffset":"pageXOffset"]:e instanceof Document?s=e.documentElement[a]:(e instanceof HTMLElement||e)&&(s=e[a]),e&&!_t(e)&&typeof s!="number"&&(s=(n=((t=e.ownerDocument)!==null&&t!==void 0?t:e).documentElement)===null||n===void 0?void 0:n[a]),s}var qo=l(65357);function Qs(e,o,t,n){const a=t-o;return e/=n/2,e<1?a/2*e*e*e+o:a/2*((e-=2)*e*e+2)+o}function Js(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:t=()=>window,callback:n,duration:a=450}=o,s=t(),u=Nr(s,!0),p=Date.now(),v=()=>{const x=Date.now()-p,A=Qs(x>a?a:x,u,e,a);_t(s)?s.scrollTo(window.pageXOffset,A):s instanceof Document||s.constructor.name==="HTMLDocument"?s.documentElement.scrollTop=A:s.scrollTop=A,x<a?(0,qo.Z)(v):typeof n=="function"&&n()};(0,qo.Z)(v)}var bt=l(2716);function qs(e){let o;const t=a=>()=>{o=null,e.apply(void 0,(0,Se.Z)(a))},n=function(){if(o==null){for(var a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];o=(0,qo.Z)(t(s))}};return n.cancel=()=>{qo.Z.cancel(o),o=null},n}var Lr=qs;const ed=e=>{const{componentCls:o}=e;return{[o]:{position:"fixed",zIndex:e.zIndexPopup}}},od=e=>({zIndexPopup:e.zIndexBase+10});var td=(0,L.I$)("Affix",ed,od);function vt(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function Fr(e,o,t){if(t!==void 0&&Math.round(o.top)>Math.round(e.top)-t)return t+o.top}function Wr(e,o,t){if(t!==void 0&&Math.round(o.bottom)<Math.round(e.bottom)+t){const n=window.innerHeight-o.bottom;return t+n}}const Pr=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function nd(){return typeof window!="undefined"?window:null}var et;(function(e){e[e.None=0]="None",e[e.Prepare=1]="Prepare"})(et||(et={}));var rd=r.forwardRef((e,o)=>{var t;const{style:n,offsetTop:a,offsetBottom:s,prefixCls:u,className:p,rootClassName:v,children:w,target:x,onChange:A}=e,{getPrefixCls:T,getTargetContainer:$}=r.useContext(Z.E_),_=T("affix",u),[N,P]=r.useState(!1),[Y,fe]=r.useState(),[ee,J]=r.useState(),ae=r.useRef(et.None),q=r.useRef(null),de=r.useRef(),ie=r.useRef(null),oe=r.useRef(null),ke=r.useRef(null),be=(t=x!=null?x:$)!==null&&t!==void 0?t:nd,ue=s===void 0&&a===void 0?0:a,ve=()=>{if(ae.current!==et.Prepare||!oe.current||!ie.current||!be)return;const Oe=be();if(Oe){const Ae={status:et.None},$e=vt(ie.current);if($e.top===0&&$e.left===0&&$e.width===0&&$e.height===0)return;const uo=vt(Oe),qe=Fr($e,uo,ue),Ue=Wr($e,uo,s);qe!==void 0?(Ae.affixStyle={position:"fixed",top:qe,width:$e.width,height:$e.height},Ae.placeholderStyle={width:$e.width,height:$e.height}):Ue!==void 0&&(Ae.affixStyle={position:"fixed",bottom:Ue,width:$e.width,height:$e.height},Ae.placeholderStyle={width:$e.width,height:$e.height}),Ae.lastAffix=!!Ae.affixStyle,N!==Ae.lastAffix&&(A==null||A(Ae.lastAffix)),ae.current=Ae.status,fe(Ae.affixStyle),J(Ae.placeholderStyle),P(Ae.lastAffix)}},Ce=()=>{var Oe;ae.current=et.Prepare,ve()},ge=Lr(()=>{Ce()}),Ee=Lr(()=>{if(be&&Y){const Oe=be();if(Oe&&ie.current){const Ae=vt(Oe),$e=vt(ie.current),uo=Fr($e,Ae,ue),qe=Wr($e,Ae,s);if(uo!==void 0&&Y.top===uo||qe!==void 0&&Y.bottom===qe)return}}Ce()}),we=()=>{const Oe=be==null?void 0:be();Oe&&(Pr.forEach(Ae=>{var $e;de.current&&(($e=q.current)===null||$e===void 0||$e.removeEventListener(Ae,de.current)),Oe==null||Oe.addEventListener(Ae,Ee)}),q.current=Oe,de.current=Ee)},je=()=>{ke.current&&(clearTimeout(ke.current),ke.current=null);const Oe=be==null?void 0:be();Pr.forEach(Ae=>{var $e;Oe==null||Oe.removeEventListener(Ae,Ee),de.current&&(($e=q.current)===null||$e===void 0||$e.removeEventListener(Ae,de.current))}),ge.cancel(),Ee.cancel()};r.useImperativeHandle(o,()=>({updatePosition:ge})),r.useEffect(()=>(ke.current=setTimeout(we),()=>je()),[]),r.useEffect(()=>{we()},[x,Y]),r.useEffect(()=>{ge()},[x,a,s]);const[Fe,_e,Ie]=td(_),We=E()(v,_e,_,Ie),Pe=E()({[We]:Y});let Ye=(0,Po.Z)(e,["prefixCls","offsetTop","offsetBottom","target","onChange","rootClassName"]);return Fe(r.createElement(bt.Z,{onResize:ge},r.createElement("div",Object.assign({style:n,className:p,ref:ie},Ye),Y&&r.createElement("div",{style:ee,"aria-hidden":"true"}),r.createElement("div",{className:Pe,ref:oe,style:Y},r.createElement(bt.Z,{onResize:ge},w)))))}),Ur=r.createContext(void 0),Zr=e=>{const{href:o,title:t,prefixCls:n,children:a,className:s,target:u,replace:p}=e,v=r.useContext(Ur),{registerLink:w,unregisterLink:x,scrollTo:A,onClick:T,activeLink:$,direction:_}=v||{};r.useEffect(()=>(w==null||w(o),()=>{x==null||x(o)}),[o]);const N=ae=>{p&&(ae.preventDefault(),window.location.replace(o)),T==null||T(ae,{title:t,href:o}),A==null||A(o)},{getPrefixCls:P}=r.useContext(Z.E_),Y=P("anchor",n),fe=$===o,ee=E()(`${Y}-link`,s,{[`${Y}-link-active`]:fe}),J=E()(`${Y}-link-title`,{[`${Y}-link-title-active`]:fe});return r.createElement("div",{className:ee},r.createElement("a",{className:J,href:o,title:typeof t=="string"?t:"",target:u,onClick:N},t),_!=="horizontal"?a:null)};const ad=e=>{const{componentCls:o,holderOffsetBlock:t,motionDurationSlow:n,lineWidthBold:a,colorPrimary:s,lineType:u,colorSplit:p,calc:v}=e;return{[`${o}-wrapper`]:{marginBlockStart:v(t).mul(-1).equal(),paddingBlockStart:t,[o]:Object.assign(Object.assign({},(0,Ao.Wf)(e)),{position:"relative",paddingInlineStart:a,[`${o}-link`]:{paddingBlock:e.linkPaddingBlock,paddingInline:`${(0,h.bf)(e.linkPaddingInlineStart)} 0`,"&-title":Object.assign(Object.assign({},Ao.vS),{position:"relative",display:"block",marginBlockEnd:e.anchorTitleBlock,color:e.colorText,transition:`all ${e.motionDurationSlow}`,"&:only-child":{marginBlockEnd:0}}),[`&-active > ${o}-link-title`]:{color:e.colorPrimary},[`${o}-link`]:{paddingBlock:e.anchorPaddingBlockSecondary}}}),[`&:not(${o}-wrapper-horizontal)`]:{[o]:{"&::before":{position:"absolute",insetInlineStart:0,top:0,height:"100%",borderInlineStart:`${(0,h.bf)(a)} ${u} ${p}`,content:'" "'},[`${o}-ink`]:{position:"absolute",insetInlineStart:0,display:"none",transform:"translateY(-50%)",transition:`top ${n} ease-in-out`,width:a,backgroundColor:s,[`&${o}-ink-visible`]:{display:"inline-block"}}}},[`${o}-fixed ${o}-ink ${o}-ink`]:{display:"none"}}}},id=e=>{const{componentCls:o,motionDurationSlow:t,lineWidthBold:n,colorPrimary:a}=e;return{[`${o}-wrapper-horizontal`]:{position:"relative","&::before":{position:"absolute",left:{_skip_check_:!0,value:0},right:{_skip_check_:!0,value:0},bottom:0,borderBottom:`${(0,h.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,content:'" "'},[o]:{overflowX:"scroll",position:"relative",display:"flex",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},[`${o}-link:first-of-type`]:{paddingInline:0},[`${o}-ink`]:{position:"absolute",bottom:0,transition:`left ${t} ease-in-out, width ${t} ease-in-out`,height:n,backgroundColor:a}}}}},ld=e=>({linkPaddingBlock:e.paddingXXS,linkPaddingInlineStart:e.padding});var cd=(0,L.I$)("Anchor",e=>{const{fontSize:o,fontSizeLG:t,paddingXXS:n,calc:a}=e,s=(0,Lo.TS)(e,{holderOffsetBlock:n,anchorPaddingBlockSecondary:a(n).div(2).equal(),anchorTitleBlock:a(o).div(14).mul(3).equal(),anchorBallSize:a(t).div(2).equal()});return[ad(s),id(s)]},ld);function sd(){return window}function Vr(e,o){if(!e.getClientRects().length)return 0;const t=e.getBoundingClientRect();return t.width||t.height?o===window?(o=e.ownerDocument.documentElement,t.top-o.clientTop):t.top-o.getBoundingClientRect().top:t.top}const Gr=/#([\S ]+)$/;var dd=e=>{var o;const{rootClassName:t,prefixCls:n,className:a,style:s,offsetTop:u,affix:p=!0,showInkInFixed:v=!1,children:w,items:x,direction:A="vertical",bounds:T,targetOffset:$,onClick:_,onChange:N,getContainer:P,getCurrentAnchor:Y,replace:fe}=e,[ee,J]=r.useState([]),[ae,q]=r.useState(null),de=r.useRef(ae),ie=r.useRef(null),oe=r.useRef(null),ke=r.useRef(!1),{direction:be,anchor:ue,getTargetContainer:ve,getPrefixCls:Ce}=r.useContext(Z.E_),ge=Ce("anchor",n),Ee=(0,Rt.Z)(ge),[we,je,Fe]=cd(ge,Ee),_e=(o=P!=null?P:ve)!==null&&o!==void 0?o:sd,Ie=JSON.stringify(ee),We=(0,pt.zX)(Re=>{ee.includes(Re)||J(oo=>[].concat((0,Se.Z)(oo),[Re]))}),Pe=(0,pt.zX)(Re=>{ee.includes(Re)&&J(oo=>oo.filter(xo=>xo!==Re))}),Ye=()=>{var Re;const oo=(Re=ie.current)===null||Re===void 0?void 0:Re.querySelector(`.${ge}-link-title-active`);if(oo&&oe.current){const{style:xo}=oe.current,Ze=A==="horizontal";xo.top=Ze?"":`${oo.offsetTop+oo.clientHeight/2}px`,xo.height=Ze?"":`${oo.clientHeight}px`,xo.left=Ze?`${oo.offsetLeft}px`:"",xo.width=Ze?`${oo.clientWidth}px`:"",Ze&&Ys(oo,{scrollMode:"if-needed",block:"nearest"})}},Oe=function(Re){let oo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,xo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5;const Ze=[],Ve=_e();return Re.forEach(lo=>{const vo=Gr.exec(lo==null?void 0:lo.toString());if(!vo)return;const Eo=document.getElementById(vo[1]);if(Eo){const To=Vr(Eo,Ve);To<=oo+xo&&Ze.push({link:lo,top:To})}}),Ze.length?Ze.reduce((vo,Eo)=>Eo.top>vo.top?Eo:vo).link:""},Ae=(0,pt.zX)(Re=>{if(de.current===Re)return;const oo=typeof Y=="function"?Y(Re):Re;q(oo),de.current=oo,N==null||N(Re)}),$e=r.useCallback(()=>{if(ke.current)return;const Re=Oe(ee,$!==void 0?$:u||0,T);Ae(Re)},[Ie,$,u]),uo=r.useCallback(Re=>{Ae(Re);const oo=Gr.exec(Re);if(!oo)return;const xo=document.getElementById(oo[1]);if(!xo)return;const Ze=_e(),Ve=Nr(Ze,!0),lo=Vr(xo,Ze);let vo=Ve+lo;vo-=$!==void 0?$:u||0,ke.current=!0,Js(vo,{getContainer:_e,callback(){ke.current=!1}})},[$,u]),qe=E()(je,Fe,Ee,t,`${ge}-wrapper`,{[`${ge}-wrapper-horizontal`]:A==="horizontal",[`${ge}-rtl`]:be==="rtl"},a,ue==null?void 0:ue.className),Ue=E()(ge,{[`${ge}-fixed`]:!p&&!v}),ao=E()(`${ge}-ink`,{[`${ge}-ink-visible`]:ae}),ro=Object.assign(Object.assign({maxHeight:u?`calc(100vh - ${u}px)`:"100vh"},ue==null?void 0:ue.style),s),eo=Re=>Array.isArray(Re)?Re.map(oo=>r.createElement(Zr,Object.assign({replace:fe},oo,{key:oo.key}),A==="vertical"&&eo(oo.children))):null,io=r.createElement("div",{ref:ie,className:qe,style:ro},r.createElement("div",{className:Ue},r.createElement("span",{className:ao,ref:oe}),"items"in e?eo(x):w));r.useEffect(()=>{const Re=_e();return $e(),Re==null||Re.addEventListener("scroll",$e),()=>{Re==null||Re.removeEventListener("scroll",$e)}},[Ie]),r.useEffect(()=>{typeof Y=="function"&&Ae(Y(de.current||""))},[Y]),r.useEffect(()=>{Ye()},[A,Y,Ie,ae]);const zo=r.useMemo(()=>({registerLink:We,unregisterLink:Pe,scrollTo:uo,activeLink:ae,onClick:_,direction:A}),[ae,_,uo,A]);return we(r.createElement(Ur.Provider,{value:zo},p?r.createElement(rd,{offsetTop:u,target:_e},io):io))};const Kr=dd;Kr.Link=Zr;var Xr=Kr,ud=l(74545),Yr,Qr,Jr,qr,fd=(0,yo.kc)(function(e){var o=e.token,t=e.stylish,n=e.prefixCls,a=e.responsive,s=e.css,u=36;return{container:s(Yr||(Yr=(0,Me.Z)([`
grid-area: toc;
position: sticky;
top: 100px;
width: `,`px;
margin-inline-end: 24px;
max-height: 80vh;
overflow: auto;
margin-top: 48px;
z-index: 10;
`,` {
z-index: 300;
top: `,`px;
margin-top: 0;
width: 100%;
}
overscroll-behavior: contain;
-webkit-overflow-scrolling: touch;
> h4 {
margin: 0 0 8px;
color: `,`;
font-size: 12px;
line-height: 1;
}
`])),o.tocWidth,a.mobile,o.headerHeight+1,o.colorTextDescription),mobileCtn:s(Qr||(Qr=(0,Me.Z)([`
position: sticky;
top: `,`px;
height: `,`px;
width: 100%;
z-index: 200;
background: transparent;
background: `,`;
`])),o.headerHeight+1,u,(0,Do.m4)(o.colorBgContainer,.8)),expand:s(Jr||(Jr=(0,Me.Z)([`
backdrop-filter: blur(6px);
border-radius: 0;
border-bottom: 1px solid `,`;
box-shadow: `,`;
width: 100%;
z-index: 201;
background: `,`;
.`,`-collapse-header {
padding: 8px 16px !important;
}
`])),o.colorSplit,o.boxShadowSecondary,(0,Do.m4)(o.colorBgContainer,.8),n),anchor:s(qr||(qr=(0,Me.Z)([`
`,`
`])),t.blur)}}),pd=(0,r.memo)(function(e){var o=e.items,t=e.activeKey,n=e.onChange,a=(0,ud.Z)("",{value:t,onChange:n}),s=(0,Co.Z)(a,2),u=s[0],p=s[1],v=fd(),w=v.styles,x=Zo(),A=x.mobile,T=(0,yo.Fg)(),$=o.find(function(N){return N.id===u}),_=(0,r.useMemo)(function(){return o.map(function(N){var P;return{href:"#".concat(N.id),title:N.title,key:N.id,children:(P=N.children)===null||P===void 0?void 0:P.map(function(Y){return{href:"#".concat(Y.id),title:Y==null?void 0:Y.title,key:Y.id}})}})},[o]);return((o==null?void 0:o.length)===0?null:A?(0,d.jsx)($t.ZP,{theme:{token:{fontSize:12,sizeStep:3}},children:(0,d.jsx)("div",{className:w.mobileCtn,children:(0,d.jsx)($r,{bordered:!1,ghost:!0,expandIconPosition:"end",expandIcon:function(P){var Y=P.isActive;return Y?(0,d.jsx)(ys,{}):(0,d.jsx)(ks,{})},className:w.expand,children:(0,d.jsx)($r.Panel,{forceRender:!0,header:$?$.title:"\u76EE\u5F55",children:(0,d.jsx)($t.ZP,{theme:{token:{fontSize:14,sizeStep:4}},children:(0,d.jsx)(Xr,{onChange:function(P){p(P.replace("#",""))},targetOffset:T.headerHeight+12,items:_})})},"toc")})})}):(0,d.jsxs)("div",{className:w.container,children:[(0,d.jsx)("h4",{children:"Table of Contents"}),(0,d.jsx)(Xr,{items:_,className:w.anchor,targetOffset:T.headerHeight+12})]}))||null}),gd=pd,hd=(0,r.memo)(function(){var e=(0,b.HX)(on,C());return(0,d.jsx)(gd,{items:e})}),md=hd,bd=l(73193),vd=l.n(bd),yd={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},xd=yd,wd=function(o,t){return r.createElement(Mo.Z,(0,ho.Z)({},o,{ref:t,icon:xd}))},Sd=r.forwardRef(wd),Cd=Sd,kd={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},Ed=kd,Od=function(o,t){return r.createElement(Mo.Z,(0,ho.Z)({},o,{ref:t,icon:Ed}))},Md=r.forwardRef(Od),ea=Md,Ad=l(57408),oa=function(o){if((0,Ad.Z)()&&window.document.documentElement){var t=Array.isArray(o)?o:[o],n=window.document.documentElement;return t.some(function(a){return a in n.style})}return!1},zd=function(o,t){if(!oa(o))return!1;var n=document.createElement("div"),a=n.style[o];return n.style[o]=t,n.style[o]!==a};function ta(e,o){return!Array.isArray(e)&&o!==void 0?zd(e,o):oa(e)}var Td=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t};const Rd={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"};var na=r.forwardRef((e,o)=>{const t=w=>{const{keyCode:x}=w;x===Wo.Z.ENTER&&w.preventDefault()},n=w=>{const{keyCode:x}=w,{onClick:A}=e;x===Wo.Z.ENTER&&A&&A()},{style:a,noStyle:s,disabled:u}=e,p=Td(e,["style","noStyle","disabled"]);let v={};return s||(v=Object.assign({},Rd)),u&&(v.pointerEvents="none"),v=Object.assign(Object.assign({},v),a),r.createElement("div",Object.assign({role:"button",tabIndex:0,ref:o},p,{onKeyDown:t,onKeyUp:n,style:v}))}),jd=l(38854),Id={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},Bd=Id,$d=function(o,t){return r.createElement(Mo.Z,(0,ho.Z)({},o,{ref:t,icon:Bd}))},Hd=r.forwardRef($d),_d=Hd;function Dd(e){return!!(e.addonBefore||e.addonAfter)}function Nd(e){return!!(e.prefix||e.suffix||e.allowClear)}function ra(e,o,t){var n=o.cloneNode(!0),a=Object.create(e,{target:{value:n},currentTarget:{value:n}});return n.value=t,typeof o.selectionStart=="number"&&typeof o.selectionEnd=="number"&&(n.selectionStart=o.selectionStart,n.selectionEnd=o.selectionEnd),a}function aa(e,o,t,n){if(t){var a=o;if(o.type==="click"){a=ra(o,e,""),t(a);return}if(e.type!=="file"&&n!==void 0){a=ra(o,e,n),t(a);return}t(a)}}function ng(e,o){if(e){e.focus(o);var t=o||{},n=t.cursor;if(n){var a=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(a,a);break;default:e.setSelectionRange(0,a)}}}}var Ld=function(o){var t,n,a=o.inputElement,s=o.children,u=o.prefixCls,p=o.prefix,v=o.suffix,w=o.addonBefore,x=o.addonAfter,A=o.className,T=o.style,$=o.disabled,_=o.readOnly,N=o.focused,P=o.triggerFocus,Y=o.allowClear,fe=o.value,ee=o.handleReset,J=o.hidden,ae=o.classes,q=o.classNames,de=o.dataAttrs,ie=o.styles,oe=o.components,ke=s!=null?s:a,be=(oe==null?void 0:oe.affixWrapper)||"span",ue=(oe==null?void 0:oe.groupWrapper)||"span",ve=(oe==null?void 0:oe.wrapper)||"span",Ce=(oe==null?void 0:oe.groupAddon)||"span",ge=(0,r.useRef)(null),Ee=function(io){var zo;(zo=ge.current)!==null&&zo!==void 0&&zo.contains(io.target)&&(P==null||P())},we=Nd(o),je=(0,r.cloneElement)(ke,{value:fe,className:E()(ke.props.className,!we&&(q==null?void 0:q.variant))||null});if(we){var Fe,_e=null;if(Y){var Ie,We=!$&&!_&&fe,Pe="".concat(u,"-clear-icon"),Ye=(0,ht.Z)(Y)==="object"&&Y!==null&&Y!==void 0&&Y.clearIcon?Y.clearIcon:"\u2716";_e=r.createElement("span",{onClick:ee,onMouseDown:function(io){return io.preventDefault()},className:E()(Pe,(Ie={},(0,H.Z)(Ie,"".concat(Pe,"-hidden"),!We),(0,H.Z)(Ie,"".concat(Pe,"-has-suffix"),!!v),Ie)),role:"button",tabIndex:-1},Ye)}var Oe="".concat(u,"-affix-wrapper"),Ae=E()(Oe,(Fe={},(0,H.Z)(Fe,"".concat(u,"-disabled"),$),(0,H.Z)(Fe,"".concat(Oe,"-disabled"),$),(0,H.Z)(Fe,"".concat(Oe,"-focused"),N),(0,H.Z)(Fe,"".concat(Oe,"-readonly"),_),(0,H.Z)(Fe,"".concat(Oe,"-input-with-clear-btn"),v&&Y&&fe),Fe),ae==null?void 0:ae.affixWrapper,q==null?void 0:q.affixWrapper,q==null?void 0:q.variant),$e=(v||Y)&&r.createElement("span",{className:E()("".concat(u,"-suffix"),q==null?void 0:q.suffix),style:ie==null?void 0:ie.suffix},_e,v);je=r.createElement(be,(0,ho.Z)({className:Ae,style:ie==null?void 0:ie.affixWrapper,onClick:Ee},de==null?void 0:de.affixWrapper,{ref:ge}),p&&r.createElement("span",{className:E()("".concat(u,"-prefix"),q==null?void 0:q.prefix),style:ie==null?void 0:ie.prefix},p),je,$e)}if(Dd(o)){var uo="".concat(u,"-group"),qe="".concat(uo,"-addon"),Ue="".concat(uo,"-wrapper"),ao=E()("".concat(u,"-wrapper"),uo,ae==null?void 0:ae.wrapper,q==null?void 0:q.wrapper),ro=E()(Ue,(0,H.Z)({},"".concat(Ue,"-disabled"),$),ae==null?void 0:ae.group,q==null?void 0:q.groupWrapper);je=r.createElement(ue,{className:ro},r.createElement(ve,{className:ao},w&&r.createElement(Ce,{className:qe},w),je,x&&r.createElement(Ce,{className:qe},x)))}return r.cloneElement(je,{className:E()((t=je.props)===null||t===void 0?void 0:t.className,A)||null,style:(0,so.Z)((0,so.Z)({},(n=je.props)===null||n===void 0?void 0:n.style),T),hidden:J})},Fd=Ld,Wd=["show"];function rg(e,o){if(!o.max)return!0;var t=o.strategy(e);return t<=o.max}function Pd(e,o){return r.useMemo(function(){var t={};o&&(t.show=(0,ht.Z)(o)==="object"&&o.formatter?o.formatter:!!o),t=(0,so.Z)((0,so.Z)({},t),e);var n=t,a=n.show,s=(0,Q.Z)(n,Wd);return(0,so.Z)((0,so.Z)({},s),{},{show:!!a,showFormatter:typeof a=="function"?a:void 0,strategy:s.strategy||function(u){return u.length}})},[e,o])}var ag=null,ig=null,lg=null,cg=null,Ud=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
pointer-events: none !important;
`,Zd=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Dt={},$o;function Vd(e){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,t=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(o&&Dt[t])return Dt[t];var n=window.getComputedStyle(e),a=n.getPropertyValue("box-sizing")||n.getPropertyValue("-moz-box-sizing")||n.getPropertyValue("-webkit-box-sizing"),s=parseFloat(n.getPropertyValue("padding-bottom"))+parseFloat(n.getPropertyValue("padding-top")),u=parseFloat(n.getPropertyValue("border-bottom-width"))+parseFloat(n.getPropertyValue("border-top-width")),p=Zd.map(function(w){return"".concat(w,":").concat(n.getPropertyValue(w))}).join(";"),v={sizingStyle:p,paddingSize:s,borderSize:u,boxSizing:a};return o&&t&&(Dt[t]=v),v}function Gd(e){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;$o||($o=document.createElement("textarea"),$o.setAttribute("tab-index","-1"),$o.setAttribute("aria-hidden","true"),document.body.appendChild($o)),e.getAttribute("wrap")?$o.setAttribute("wrap",e.getAttribute("wrap")):$o.removeAttribute("wrap");var a=Vd(e,o),s=a.paddingSize,u=a.borderSize,p=a.boxSizing,v=a.sizingStyle;$o.setAttribute("style","".concat(v,";").concat(Ud)),$o.value=e.value||e.placeholder||"";var w=void 0,x=void 0,A,T=$o.scrollHeight;if(p==="border-box"?T+=u:p==="content-box"&&(T-=s),t!==null||n!==null){$o.value=" ";var $=$o.scrollHeight-s;t!==null&&(w=$*t,p==="border-box"&&(w=w+s+u),T=Math.max(w,T)),n!==null&&(x=$*n,p==="border-box"&&(x=x+s+u),A=T>x?"":"hidden",T=Math.min(x,T))}var _={height:T,overflowY:A,resize:"none"};return w&&(_.minHeight=w),x&&(_.maxHeight=x),_}var Kd=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Nt=0,Lt=1,Ft=2,Xd=r.forwardRef(function(e,o){var t=e,n=t.prefixCls,a=t.onPressEnter,s=t.defaultValue,u=t.value,p=t.autoSize,v=t.onResize,w=t.className,x=t.style,A=t.disabled,T=t.onChange,$=t.onInternalAutoSize,_=(0,Q.Z)(t,Kd),N=(0,tt.Z)(s,{value:u,postState:function(Ae){return Ae!=null?Ae:""}}),P=(0,Co.Z)(N,2),Y=P[0],fe=P[1],ee=function(Ae){fe(Ae.target.value),T==null||T(Ae)},J=r.useRef();r.useImperativeHandle(o,function(){return{textArea:J.current}});var ae=r.useMemo(function(){return p&&(0,ht.Z)(p)==="object"?[p.minRows,p.maxRows]:[]},[p]),q=(0,Co.Z)(ae,2),de=q[0],ie=q[1],oe=!!p,ke=function(){try{if(document.activeElement===J.current){var Ae=J.current,$e=Ae.selectionStart,uo=Ae.selectionEnd,qe=Ae.scrollTop;J.current.setSelectionRange($e,uo),J.current.scrollTop=qe}}catch(Ue){}},be=r.useState(Ft),ue=(0,Co.Z)(be,2),ve=ue[0],Ce=ue[1],ge=r.useState(),Ee=(0,Co.Z)(ge,2),we=Ee[0],je=Ee[1],Fe=function(){Ce(Nt)};(0,No.Z)(function(){oe&&Fe()},[u,de,ie,oe]),(0,No.Z)(function(){if(ve===Nt)Ce(Lt);else if(ve===Lt){var Oe=Gd(J.current,!1,de,ie);Ce(Ft),je(Oe)}else ke()},[ve]);var _e=r.useRef(),Ie=function(){qo.Z.cancel(_e.current)},We=function(Ae){ve===Ft&&(v==null||v(Ae),p&&(Ie(),_e.current=(0,qo.Z)(function(){Fe()})))};r.useEffect(function(){return Ie},[]);var Pe=oe?we:null,Ye=(0,so.Z)((0,so.Z)({},x),Pe);return(ve===Nt||ve===Lt)&&(Ye.overflowY="hidden",Ye.overflowX="hidden"),r.createElement(bt.Z,{onResize:We,disabled:!(p||v)},r.createElement("textarea",(0,ho.Z)({},_,{ref:J,style:Ye,className:E()(n,w,(0,H.Z)({},"".concat(n,"-disabled"),A)),disabled:A,value:Y,onChange:ee})))}),Yd=Xd,Qd=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize"],Jd=r.forwardRef(function(e,o){var t,n,a=e.defaultValue,s=e.value,u=e.onFocus,p=e.onBlur,v=e.onChange,w=e.allowClear,x=e.maxLength,A=e.onCompositionStart,T=e.onCompositionEnd,$=e.suffix,_=e.prefixCls,N=_===void 0?"rc-textarea":_,P=e.showCount,Y=e.count,fe=e.className,ee=e.style,J=e.disabled,ae=e.hidden,q=e.classNames,de=e.styles,ie=e.onResize,oe=(0,Q.Z)(e,Qd),ke=(0,tt.Z)(a,{value:s,defaultValue:a}),be=(0,Co.Z)(ke,2),ue=be[0],ve=be[1],Ce=ue==null?"":String(ue),ge=r.useState(!1),Ee=(0,Co.Z)(ge,2),we=Ee[0],je=Ee[1],Fe=r.useRef(!1),_e=r.useState(null),Ie=(0,Co.Z)(_e,2),We=Ie[0],Pe=Ie[1],Ye=(0,r.useRef)(null),Oe=function(){var fo;return(fo=Ye.current)===null||fo===void 0?void 0:fo.textArea},Ae=function(){Oe().focus()};(0,r.useImperativeHandle)(o,function(){return{resizableTextArea:Ye.current,focus:Ae,blur:function(){Oe().blur()}}}),(0,r.useEffect)(function(){je(function(Oo){return!J&&Oo})},[J]);var $e=r.useState(null),uo=(0,Co.Z)($e,2),qe=uo[0],Ue=uo[1];r.useEffect(function(){if(qe){var Oo;(Oo=Oe()).setSelectionRange.apply(Oo,(0,Se.Z)(qe))}},[qe]);var ao=Pd(Y,P),ro=(t=ao.max)!==null&&t!==void 0?t:x,eo=Number(ro)>0,io=ao.strategy(Ce),zo=!!ro&&io>ro,Re=function(fo,ko){var Io=ko;!Fe.current&&ao.exceedFormatter&&ao.max&&ao.strategy(ko)>ao.max&&(Io=ao.exceedFormatter(ko,{max:ao.max}),ko!==Io&&Ue([Oe().selectionStart||0,Oe().selectionEnd||0])),ve(Io),aa(fo.currentTarget,fo,v,Io)},oo=function(fo){Fe.current=!0,A==null||A(fo)},xo=function(fo){Fe.current=!1,Re(fo,fo.currentTarget.value),T==null||T(fo)},Ze=function(fo){Re(fo,fo.target.value)},Ve=function(fo){var ko=oe.onPressEnter,Io=oe.onKeyDown;fo.key==="Enter"&&ko&&ko(fo),Io==null||Io(fo)},lo=function(fo){je(!0),u==null||u(fo)},vo=function(fo){je(!1),p==null||p(fo)},Eo=function(fo){ve(""),Ae(),aa(Oe(),fo,v)},To=$,Ho;ao.show&&(ao.showFormatter?Ho=ao.showFormatter({value:Ce,count:io,maxLength:ro}):Ho="".concat(io).concat(eo?" / ".concat(ro):""),To=r.createElement(r.Fragment,null,To,r.createElement("span",{className:E()("".concat(N,"-data-count"),q==null?void 0:q.count),style:de==null?void 0:de.count},Ho)));var kt=function(fo){var ko;ie==null||ie(fo),(ko=Oe())!==null&&ko!==void 0&&ko.style.height&&Pe(!0)},Qt=!oe.autoSize&&!P&&!w;return r.createElement(Fd,{value:Ce,allowClear:w,handleReset:Eo,suffix:To,prefixCls:N,classNames:(0,so.Z)((0,so.Z)({},q),{},{affixWrapper:E()(q==null?void 0:q.affixWrapper,(n={},(0,H.Z)(n,"".concat(N,"-show-count"),P),(0,H.Z)(n,"".concat(N,"-textarea-allow-clear"),w),n))}),disabled:J,focused:we,className:E()(fe,zo&&"".concat(N,"-out-of-range")),style:(0,so.Z)((0,so.Z)({},ee),We&&!Qt?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Ho=="string"?Ho:void 0}},hidden:ae},r.createElement(Yd,(0,ho.Z)({},oe,{maxLength:x,onKeyDown:Ve,onChange:Ze,onFocus:lo,onBlur:vo,onCompositionStart:oo,onCompositionEnd:xo,className:E()(q==null?void 0:q.textarea),style:(0,so.Z)((0,so.Z)({},de==null?void 0:de.textarea),{},{resize:ee==null?void 0:ee.resize}),disabled:J,prefixCls:N,onResize:kt,ref:Ye})))}),qd=Jd,eu=qd,ou=l(70987),tu=e=>{let o;return typeof e=="object"&&(e!=null&&e.clearIcon)?o=e:e&&(o={clearIcon:r.createElement(ou.Z,null)}),o};const dg=null;function nu(e,o,t){return E()({[`${e}-status-success`]:o==="success",[`${e}-status-warning`]:o==="warning",[`${e}-status-error`]:o==="error",[`${e}-status-validating`]:o==="validating",[`${e}-has-feedback`]:t})}const ru=(e,o)=>o||e;var au=l(83149);const iu=["outlined","borderless","filled"];var lu=function(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;const t=(0,r.useContext)(Tt.pg);let n;typeof e!="undefined"?n=e:o===!1?n="borderless":n=t!=null?t:"outlined";const a=iu.includes(n);return[n,a]},fg=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t};function cu(e,o){if(!e)return;e.focus(o);const{cursor:t}=o||{};if(t){const n=e.value.length;switch(t){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(n,n);break;default:e.setSelectionRange(0,n);break}}}const pg=null;var gg=null,su=l(9436);function du(e){return(0,Lo.TS)(e,{inputAffixPadding:e.paddingXXS})}const uu=e=>{const{controlHeight:o,fontSize:t,lineHeight:n,lineWidth:a,controlHeightSM:s,controlHeightLG:u,fontSizeLG:p,lineHeightLG:v,paddingSM:w,controlPaddingHorizontalSM:x,controlPaddingHorizontal:A,colorFillAlter:T,colorPrimaryHover:$,colorPrimary:_,controlOutlineWidth:N,controlOutline:P,colorErrorOutline:Y,colorWarningOutline:fe,colorBgContainer:ee}=e;return{paddingBlock:Math.max(Math.round((o-t*n)/2*10)/10-a,0),paddingBlockSM:Math.max(Math.round((s-t*n)/2*10)/10-a,0),paddingBlockLG:Math.ceil((u-p*v)/2*10)/10-a,paddingInline:w-a,paddingInlineSM:x-a,paddingInlineLG:A-a,addonBg:T,activeBorderColor:_,hoverBorderColor:$,activeShadow:`0 0 0 ${N}px ${P}`,errorActiveShadow:`0 0 0 ${N}px ${Y}`,warningActiveShadow:`0 0 0 ${N}px ${fe}`,hoverBg:ee,activeBg:ee,inputFontSize:t,inputFontSizeLG:p,inputFontSizeSM:t}},fu=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),Wt=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},fu((0,Lo.TS)(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),ia=(e,o)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:o.borderColor,"&:hover":{borderColor:o.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:o.activeBorderColor,boxShadow:o.activeShadow,outline:0,backgroundColor:e.activeBg}}),la=(e,o)=>({[`&${e.componentCls}-status-${o.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},ia(e,o)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:o.affixColor}})}),pu=(e,o)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ia(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},Wt(e))}),la(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),la(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),o)}),ca=(e,o)=>({[`&${e.componentCls}-group-wrapper-status-${o.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:o.addonBorderColor,color:o.addonColor}}}),gu=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${(0,h.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},ca(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),ca(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},Wt(e))}})}),hu=(e,o)=>({"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled}},o)}),sa=(e,o)=>({background:o.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent",["input&, & input, textarea&, & textarea"]:{color:o==null?void 0:o.inputColor},"&:hover":{background:o.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:o.activeBorderColor,backgroundColor:e.activeBg}}),da=(e,o)=>({[`&${e.componentCls}-status-${o.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},sa(e,o)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:o.affixColor}})}),mu=(e,o)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},sa(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},Wt(e))}),da(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),da(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),o)}),ua=(e,o)=>({[`&${e.componentCls}-group-wrapper-status-${o.status}`]:{[`${e.componentCls}-group-addon`]:{background:o.addonBg,color:o.addonColor}}}),bu=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,h.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,h.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},ua(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),ua(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,h.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,h.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,h.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,h.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,h.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,h.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),vu=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),hg=e=>({borderColor:e.activeBorderColor,boxShadow:e.activeShadow,outline:0,backgroundColor:e.activeBg}),fa=e=>{const{paddingBlockLG:o,lineHeightLG:t,borderRadiusLG:n,paddingInlineLG:a}=e;return{padding:`${(0,h.bf)(o)} ${(0,h.bf)(a)}`,fontSize:e.inputFontSizeLG,lineHeight:t,borderRadius:n}},pa=e=>({padding:`${(0,h.bf)(e.paddingBlockSM)} ${(0,h.bf)(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),ga=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,h.bf)(e.paddingBlock)} ${(0,h.bf)(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},vu(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},fa(e)),"&-sm":Object.assign({},pa(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),yu=e=>{const{componentCls:o,antCls:t}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,["&[class*='col-']"]:{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${o}, &-lg > ${o}-group-addon`]:Object.assign({},fa(e)),[`&-sm ${o}, &-sm > ${o}-group-addon`]:Object.assign({},pa(e)),[`&-lg ${t}-select-single ${t}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${t}-select-single ${t}-select-selector`]:{height:e.controlHeightSM},[`> ${o}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${o}-group`]:{["&-addon, &-wrap"]:{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,h.bf)(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${t}-select`]:{margin:`${(0,h.bf)(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${(0,h.bf)(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${t}-select-single:not(${t}-select-customize-input):not(${t}-pagination-size-changer)`]:{[`${t}-select-selector`]:{backgroundColor:"inherit",border:`${(0,h.bf)(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${t}-select-selector`]:{color:e.colorPrimary}}},[`${t}-cascader-picker`]:{margin:`-9px ${(0,h.bf)(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${t}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[`${o}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${o}-search-with-button &`]:{zIndex:0}}},[`> ${o}:first-child, ${o}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-select ${t}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${o}-affix-wrapper`]:{[`&:not(:first-child) ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${o}:last-child, ${o}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${t}-select ${t}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${o}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${o}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${o}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${o}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,Ao.dF)()),{[`${o}-group-addon, ${o}-group-wrap, > ${o}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
& > ${o}-affix-wrapper,
& > ${o}-number-affix-wrapper,
& > ${t}-picker-range
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[`${o}`]:{float:"none"},[`& > ${t}-select > ${t}-select-selector,
& > ${t}-select-auto-complete ${o},
& > ${t}-cascader-picker ${o},
& > ${o}-group-wrapper ${o}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${t}-select-focused`]:{zIndex:1},[`& > ${t}-select > ${t}-select-arrow`]:{zIndex:1},[`& > *:first-child,
& > ${t}-select:first-child > ${t}-select-selector,
& > ${t}-select-auto-complete:first-child ${o},
& > ${t}-cascader-picker:first-child ${o}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
& > ${t}-select:last-child > ${t}-select-selector,
& > ${t}-cascader-picker:last-child ${o},
& > ${t}-cascader-picker-focused:last-child ${o}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${t}-select-auto-complete ${o}`]:{verticalAlign:"top"},[`${o}-group-wrapper + ${o}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${o}-affix-wrapper`]:{borderRadius:0}},[`${o}-group-wrapper:not(:last-child)`]:{[`&${o}-search > ${o}-group`]:{[`& > ${o}-group-addon > ${o}-search-button`]:{borderRadius:0},[`& > ${o}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},xu=e=>{const{componentCls:o,controlHeightSM:t,lineWidth:n,calc:a}=e,s=16,u=a(t).sub(a(n).mul(2)).sub(s).div(2).equal();return{[o]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ao.Wf)(e)),ga(e)),pu(e)),mu(e)),hu(e)),{'&[type="color"]':{height:e.controlHeight,[`&${o}-lg`]:{height:e.controlHeightLG},[`&${o}-sm`]:{height:t,paddingTop:u,paddingBottom:u}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},wu=e=>{const{componentCls:o}=e;return{[`${o}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,h.bf)(e.inputAffixPadding)}`}}}},Su=e=>{const{componentCls:o,inputAffixPadding:t,colorTextDescription:n,motionDurationSlow:a,colorIcon:s,colorIconHover:u,iconCls:p}=e;return{[`${o}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},ga(e)),{display:"inline-flex",[`&:not(${o}-disabled):hover`]:{zIndex:1,[`${o}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${o}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${o}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:t},"&-suffix":{marginInlineStart:t}}}),wu(e)),{[`${p}${o}-password-icon`]:{color:s,cursor:"pointer",transition:`all ${a}`,"&:hover":{color:u}}})}},Cu=e=>{const{componentCls:o,borderRadiusLG:t,borderRadiusSM:n}=e;return{[`${o}-group`]:Object.assign(Object.assign(Object.assign({},(0,Ao.Wf)(e)),yu(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${o}-group-addon`]:{borderRadius:t,fontSize:e.inputFontSizeLG}},"&-sm":{[`${o}-group-addon`]:{borderRadius:n}}},gu(e)),bu(e)),{[`&:not(${o}-compact-first-item):not(${o}-compact-last-item)${o}-compact-item`]:{[`${o}, ${o}-group-addon`]:{borderRadius:0}},[`&:not(${o}-compact-last-item)${o}-compact-first-item`]:{[`${o}, ${o}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${o}-compact-first-item)${o}-compact-last-item`]:{[`${o}, ${o}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${o}-compact-last-item)${o}-compact-item`]:{[`${o}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},ku=e=>{const{componentCls:o,antCls:t}=e,n=`${o}-search`;return{[n]:{[`${o}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${o}-group-addon ${n}-button:not(${t}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${o}-affix-wrapper`]:{borderRadius:0},[`${o}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal({unit:!1})},[`> ${o}-group`]:{[`> ${o}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${n}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${n}-button:not(${t}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${t}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${n}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${n}-button`]:{height:e.controlHeightLG},[`&-small ${n}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${o}-compact-item`]:{[`&:not(${o}-compact-last-item)`]:{[`${o}-group-addon`]:{[`${o}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${o}-compact-first-item)`]:{[`${o},${o}-affix-wrapper`]:{borderRadius:0}},[`> ${o}-group-addon ${o}-search-button,
> ${o},
${o}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${o}-affix-wrapper-focused`]:{zIndex:2}}}}},Eu=e=>{const{componentCls:o,paddingLG:t}=e,n=`${o}-textarea`;return{[n]:{position:"relative","&-show-count":{[`> ${o}`]:{height:"100%"},[`${o}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${o}`]:{paddingInlineEnd:t}},[`&-affix-wrapper${n}-has-feedback`]:{[`${o}`]:{paddingInlineEnd:t}},[`&-affix-wrapper${o}-affix-wrapper`]:{padding:0,[`> textarea${o}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${o}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${o}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},Ou=e=>{const{componentCls:o}=e;return{[`${o}-out-of-range`]:{[`&, & input, & textarea, ${o}-show-count-suffix, ${o}-data-count`]:{color:e.colorError}}}};var Mu=(0,L.I$)("Input",e=>{const o=(0,Lo.TS)(e,du(e));return[xu(o),Eu(o),Su(o),Cu(o),ku(o),Ou(o),(0,su.c)(o)]},uu),Au=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t},zu=(0,r.forwardRef)((e,o)=>{var t,n;const{prefixCls:a,bordered:s=!0,size:u,disabled:p,status:v,allowClear:w,classNames:x,rootClassName:A,className:T,style:$,styles:_,variant:N}=e,P=Au(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:Y,direction:fe,textArea:ee}=r.useContext(Z.E_),J=(0,Br.Z)(u),ae=r.useContext(au.Z),q=p!=null?p:ae,{status:de,hasFeedback:ie,feedbackIcon:oe}=r.useContext(Tt.aM),ke=ru(de,v),be=r.useRef(null);r.useImperativeHandle(o,()=>{var _e;return{resizableTextArea:(_e=be.current)===null||_e===void 0?void 0:_e.resizableTextArea,focus:Ie=>{var We,Pe;cu((Pe=(We=be.current)===null||We===void 0?void 0:We.resizableTextArea)===null||Pe===void 0?void 0:Pe.textArea,Ie)},blur:()=>{var Ie;return(Ie=be.current)===null||Ie===void 0?void 0:Ie.blur()}}});const ue=Y("input",a),ve=(0,Rt.Z)(ue),[Ce,ge,Ee]=Mu(ue,ve),[we,je]=lu(N,s),Fe=tu(w!=null?w:ee==null?void 0:ee.allowClear);return Ce(r.createElement(eu,Object.assign({autoComplete:ee==null?void 0:ee.autoComplete},P,{style:Object.assign(Object.assign({},ee==null?void 0:ee.style),$),styles:Object.assign(Object.assign({},ee==null?void 0:ee.styles),_),disabled:q,allowClear:Fe,className:E()(Ee,ve,T,A,ee==null?void 0:ee.className),classNames:Object.assign(Object.assign(Object.assign({},x),ee==null?void 0:ee.classNames),{textarea:E()({[`${ue}-sm`]:J==="small",[`${ue}-lg`]:J==="large"},ge,x==null?void 0:x.textarea,(t=ee==null?void 0:ee.classNames)===null||t===void 0?void 0:t.textarea),variant:E()({[`${ue}-${we}`]:je},nu(ue,ke)),affixWrapper:E()(`${ue}-textarea-affix-wrapper`,{[`${ue}-affix-wrapper-rtl`]:fe==="rtl",[`${ue}-affix-wrapper-sm`]:J==="small",[`${ue}-affix-wrapper-lg`]:J==="large",[`${ue}-textarea-show-count`]:e.showCount||((n=e.count)===null||n===void 0?void 0:n.show)},ge)}),prefixCls:ue,suffix:ie&&r.createElement("span",{className:`${ue}-textarea-suffix`},oe),ref:be})))});const ha=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}});var Tu=l(99628);const Ru=(e,o,t,n)=>{const{titleMarginBottom:a,fontWeightStrong:s}=n;return{marginBottom:a,color:t,fontWeight:s,fontSize:e,lineHeight:o}},ju=e=>{const o=[1,2,3,4,5],t={};return o.forEach(n=>{t[`
h${n}&,
div&-h${n},
div&-h${n} > textarea,
h${n}
`]=Ru(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),t},Iu=e=>{const{componentCls:o}=e;return{"a&, a":Object.assign(Object.assign({},ha(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${o}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},Bu=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:Tu.EV[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),$u=e=>{const{componentCls:o,paddingSM:t}=e,n=t;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(n).mul(-1).equal(),marginBottom:`calc(1em - ${(0,h.bf)(n)})`},[`${o}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},Hu=e=>({[`${e.componentCls}-copy-success`]:{[`
&,
&:hover,
&:focus`]:{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),_u=()=>({[`
a&-ellipsis,
span&-ellipsis
`]:{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),Du=e=>{const{componentCls:o,titleMarginTop:t}=e;return{[o]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${o}-secondary`]:{color:e.colorTextDescription},[`&${o}-success`]:{color:e.colorSuccess},[`&${o}-warning`]:{color:e.colorWarning},[`&${o}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${o}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},[`
div&,
p
`]:{marginBottom:"1em"}},ju(e)),{[`
& + h1${o},
& + h2${o},
& + h3${o},
& + h4${o},
& + h5${o}
`]:{marginTop:t},[`
div,
ul,
li,
p,
h1,
h2,
h3,
h4,
h5`]:{[`
+ h1,
+ h2,
+ h3,
+ h4,
+ h5
`]:{marginTop:t}}}),Bu(e)),Iu(e)),{[`
${o}-expand,
${o}-collapse,
${o}-edit,
${o}-copy
`]:Object.assign(Object.assign({},ha(e)),{marginInlineStart:e.marginXXS})}),$u(e)),Hu(e)),_u()),{"&-rtl":{direction:"rtl"}})}},Nu=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"});var ma=(0,L.I$)("Typography",e=>[Du(e)],Nu),Lu=e=>{const{prefixCls:o,"aria-label":t,className:n,style:a,direction:s,maxLength:u,autoSize:p=!0,value:v,onSave:w,onCancel:x,onEnd:A,component:T,enterIcon:$=r.createElement(_d,null)}=e,_=r.useRef(null),N=r.useRef(!1),P=r.useRef(),[Y,fe]=r.useState(v);r.useEffect(()=>{fe(v)},[v]),r.useEffect(()=>{if(_.current&&_.current.resizableTextArea){const{textArea:ge}=_.current.resizableTextArea;ge.focus();const{length:Ee}=ge.value;ge.setSelectionRange(Ee,Ee)}},[]);const ee=ge=>{let{target:Ee}=ge;fe(Ee.value.replace(/[\n\r]/g,""))},J=()=>{N.current=!0},ae=()=>{N.current=!1},q=ge=>{let{keyCode:Ee}=ge;N.current||(P.current=Ee)},de=()=>{w(Y.trim())},ie=ge=>{let{keyCode:Ee,ctrlKey:we,altKey:je,metaKey:Fe,shiftKey:_e}=ge;P.current===Ee&&!N.current&&!we&&!je&&!Fe&&!_e&&(Ee===Wo.Z.ENTER?(de(),A==null||A()):Ee===Wo.Z.ESC&&x())},oe=()=>{de()},ke=T?`${o}-${T}`:"",[be,ue,ve]=ma(o),Ce=E()(o,`${o}-edit-content`,{[`${o}-rtl`]:s==="rtl"},n,ke,ue,ve);return be(r.createElement("div",{className:Ce,style:a},r.createElement(zu,{ref:_,maxLength:u,value:Y,onChange:ee,onKeyDown:q,onKeyUp:ie,onCompositionStart:J,onCompositionEnd:ae,onBlur:oe,"aria-label":t,rows:1,autoSize:p}),$!==null?(0,Ko.Tm)($,{className:`${o}-edit-content-confirm`}):null))},Fu=l(86724),ba=l.n(Fu),Wu=function(e,o,t,n){function a(s){return s instanceof t?s:new t(function(u){u(s)})}return new(t||(t=Promise))(function(s,u){function p(x){try{w(n.next(x))}catch(A){u(A)}}function v(x){try{w(n.throw(x))}catch(A){u(A)}}function w(x){x.done?s(x.value):a(x.value).then(p,v)}w((n=n.apply(e,o||[])).next())})},Pu=e=>{let{copyConfig:o,children:t}=e;const[n,a]=r.useState(!1),[s,u]=r.useState(!1),p=r.useRef(null),v=()=>{p.current&&clearTimeout(p.current)},w={};return o.format&&(w.format=o.format),r.useEffect(()=>v,[]),{copied:n,copyLoading:s,onClick:x=>Wu(void 0,void 0,void 0,function*(){var A;x==null||x.preventDefault(),x==null||x.stopPropagation(),u(!0);try{const T=typeof o.text=="function"?yield o.text():o.text;ba()(T||String(t)||"",w),u(!1),a(!0),v(),p.current=setTimeout(()=>{a(!1)},3e3),(A=o.onCopy)===null||A===void 0||A.call(o,x)}catch(T){throw u(!1),T}})}};function Pt(e,o){return r.useMemo(()=>{const t=!!e;return[t,Object.assign(Object.assign({},o),t&&typeof e=="object"?e:null)]},[e])}var Uu=(e,o)=>{const t=r.useRef(!1);r.useEffect(()=>{t.current?e():t.current=!0},o)},Zu=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t},va=r.forwardRef((e,o)=>{const{prefixCls:t,component:n="article",className:a,rootClassName:s,setContentRef:u,children:p,direction:v,style:w}=e,x=Zu(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:A,direction:T,typography:$}=r.useContext(Z.E_),_=v!=null?v:T;let N=o;u&&(N=(0,zt.sQ)(o,u));const P=A("typography",t),[Y,fe,ee]=ma(P),J=E()(P,$==null?void 0:$.className,{[`${P}-rtl`]:_==="rtl"},a,s,fe,ee),ae=Object.assign(Object.assign({},$==null?void 0:$.style),w);return Y(r.createElement(n,Object.assign({className:J,style:ae,ref:N},x),p))}),Vu=l(11410),ya=l(34530),Gu=l(87050);function xa(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function yt(e,o,t){return e===!0||e===void 0?o:e||t&&o}function Ku(e){const{prefixCls:o,copied:t,locale:n={},onCopy:a,iconOnly:s,tooltips:u,icon:p,loading:v}=e,w=xa(u),x=xa(p),{copied:A,copy:T}=n,$=t?yt(w[1],A):yt(w[0],T),N=typeof $=="string"?$:t?A:T;return r.createElement(Jo.Z,{key:"copy",title:$},r.createElement(na,{className:E()(`${o}-copy`,{[`${o}-copy-success`]:t,[`${o}-copy-icon-only`]:s}),onClick:a,"aria-label":N},t?yt(x[1],r.createElement(ya.Z,null),!0):yt(x[0],v?r.createElement(Vu.Z,null):r.createElement(Gu.Z,null),!0)))}const xt=r.forwardRef((e,o)=>{let{style:t,children:n}=e;const a=r.useRef(null);return r.useImperativeHandle(o,()=>({isExceed:()=>{const s=a.current;return s.scrollHeight>s.clientHeight},getHeight:()=>a.current.clientHeight})),r.createElement("span",{"aria-hidden":!0,ref:a,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},t)},n)});function wa(e){const o=typeof e;return o==="string"||o==="number"}function Xu(e){let o=0;return e.forEach(t=>{wa(t)?o+=String(t).length:o+=1}),o}function Sa(e,o){let t=0;const n=[];for(let a=0;a<e.length;a+=1){if(t===o)return n;const s=e[a],p=wa(s)?String(s).length:1,v=t+p;if(v>o){const w=o-t;return n.push(String(s).slice(0,w)),n}n.push(s),t=v}return e}const Ut=0,Zt=1,Vt=2,Ca=3,wt={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function Yu(e){const{enableMeasure:o,width:t,text:n,children:a,rows:s,expanded:u,miscDeps:p,onEllipsis:v}=e,w=r.useMemo(()=>(0,Qo.Z)(n),[n]),x=r.useMemo(()=>Xu(w),[n]),A=r.useMemo(()=>a(w,!1),[n]),[T,$]=r.useState(null),_=r.useRef(null),N=r.useRef(null),P=r.useRef(null),Y=r.useRef(null),[fe,ee]=r.useState(!1),[J,ae]=r.useState(Ut),[q,de]=r.useState(0);(0,No.Z)(()=>{ae(o&&t&&x?Zt:Ut)},[t,n,s,o,w]),(0,No.Z)(()=>{var be,ue,ve,Ce;if(J===Zt){const ge=!!(!((be=N.current)===null||be===void 0)&&be.isExceed());ae(ge?Vt:Ca),$(ge?[0,x]:null),ee(ge);const Ee=((ue=N.current)===null||ue===void 0?void 0:ue.getHeight())||0,we=s===1?0:((ve=P.current)===null||ve===void 0?void 0:ve.getHeight())||0,je=((Ce=Y.current)===null||Ce===void 0?void 0:Ce.getHeight())||0,Fe=we+je,_e=Math.max(Ee,Fe);de(_e+1),v(ge)}},[J]);const ie=T?Math.ceil((T[0]+T[1])/2):0;(0,No.Z)(()=>{var be;const[ue,ve]=T||[0,0];if(ue!==ve){const ge=(((be=_.current)===null||be===void 0?void 0:be.getHeight())||0)>q;let Ee=ie;ve-ue===1&&(Ee=ge?ue:ve),$(ge?[ue,Ee]:[Ee,ve])}},[T,ie]);const oe=r.useMemo(()=>{if(J!==Vt||!T||T[0]!==T[1]){const be=a(w,!1);return J!==Ca&&J!==Ut?r.createElement("span",{style:Object.assign(Object.assign({},wt),{WebkitLineClamp:s})},be):be}return a(u?w:Sa(w,T[0]),fe)},[u,J,T,w].concat((0,Se.Z)(p))),ke={width:t,whiteSpace:"normal",margin:0,padding:0};return r.createElement(r.Fragment,null,oe,J===Zt&&r.createElement(r.Fragment,null,r.createElement(xt,{style:Object.assign(Object.assign(Object.assign({},ke),wt),{WebkitLineClamp:s}),ref:N},A),r.createElement(xt,{style:Object.assign(Object.assign(Object.assign({},ke),wt),{WebkitLineClamp:s-1}),ref:P},A),r.createElement(xt,{style:Object.assign(Object.assign(Object.assign({},ke),wt),{WebkitLineClamp:1}),ref:Y},a([],!0))),J===Vt&&T&&T[0]!==T[1]&&r.createElement(xt,{style:Object.assign(Object.assign({},ke),{top:400}),ref:_},a(Sa(w,ie),!0)))}var Qu=e=>{let{enableEllipsis:o,isEllipsis:t,children:n,tooltipProps:a}=e;return!(a!=null&&a.title)||!o?n:r.createElement(Jo.Z,Object.assign({open:t?void 0:!1},a),n)},Ju=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t};function qu(e,o){let{mark:t,code:n,underline:a,delete:s,strong:u,keyboard:p,italic:v}=e,w=o;function x(A,T){T&&(w=r.createElement(A,{},w))}return x("strong",u),x("u",a),x("del",s),x("code",n),x("mark",t),x("kbd",p),x("i",v),w}const ef="...";var St=r.forwardRef((e,o)=>{var t,n,a;const{prefixCls:s,className:u,style:p,type:v,disabled:w,children:x,ellipsis:A,editable:T,copyable:$,component:_,title:N}=e,P=Ju(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:Y,direction:fe}=r.useContext(Z.E_),[ee]=(0,jd.Z)("Text"),J=r.useRef(null),ae=r.useRef(null),q=Y("typography",s),de=(0,Po.Z)(P,["mark","code","delete","underline","strong","keyboard","italic"]),[ie,oe]=Pt(T),[ke,be]=(0,tt.Z)(!1,{value:oe.editing}),{triggerType:ue=["icon"]}=oe,ve=He=>{var to;He&&((to=oe.onStart)===null||to===void 0||to.call(oe)),be(He)};Uu(()=>{var He;ke||(He=ae.current)===null||He===void 0||He.focus()},[ke]);const Ce=He=>{He==null||He.preventDefault(),ve(!0)},ge=He=>{var to;(to=oe.onChange)===null||to===void 0||to.call(oe,He),ve(!1)},Ee=()=>{var He;(He=oe.onCancel)===null||He===void 0||He.call(oe),ve(!1)},[we,je]=Pt($),{copied:Fe,copyLoading:_e,onClick:Ie}=Pu({copyConfig:je,children:x}),[We,Pe]=r.useState(!1),[Ye,Oe]=r.useState(!1),[Ae,$e]=r.useState(!1),[uo,qe]=r.useState(!1),[Ue,ao]=r.useState(!0),[ro,eo]=Pt(A,{expandable:!1,symbol:He=>He?ee==null?void 0:ee.collapse:ee==null?void 0:ee.expand}),[io,zo]=(0,tt.Z)(eo.defaultExpanded||!1,{value:eo.expanded}),Re=ro&&(!io||eo.expandable==="collapsible"),{rows:oo=1}=eo,xo=r.useMemo(()=>Re&&(eo.suffix!==void 0||eo.onEllipsis||eo.expandable||ie||we),[Re,eo,ie,we]);(0,No.Z)(()=>{ro&&!xo&&(Pe(ta("webkitLineClamp")),Oe(ta("textOverflow")))},[xo,ro]);const[Ze,Ve]=r.useState(Re),lo=r.useMemo(()=>xo?!1:oo===1?Ye:We,[xo,Ye,We]);(0,No.Z)(()=>{Ve(lo&&Re)},[lo,Re]);const vo=Re&&(Ze?uo:Ae),Eo=Re&&oo===1&&Ze,To=Re&&oo>1&&Ze,Ho=(He,to)=>{var _o;zo(to.expanded),(_o=eo.onExpand)===null||_o===void 0||_o.call(eo,He,to)},[kt,Qt]=r.useState(0),Oo=He=>{let{offsetWidth:to}=He;Qt(to)},fo=He=>{var to;$e(He),Ae!==He&&((to=eo.onEllipsis)===null||to===void 0||to.call(eo,He))};r.useEffect(()=>{const He=J.current;if(ro&&Ze&&He){const to=To?He.offsetHeight<He.scrollHeight:He.offsetWidth<He.scrollWidth;uo!==to&&qe(to)}},[ro,Ze,x,To,Ue,kt]),r.useEffect(()=>{const He=J.current;if(typeof IntersectionObserver=="undefined"||!He||!Ze||!Re)return;const to=new IntersectionObserver(()=>{ao(!!He.offsetParent)});return to.observe(He),()=>{to.disconnect()}},[Ze,Re]);let ko={};eo.tooltip===!0?ko={title:(t=oe.text)!==null&&t!==void 0?t:x}:r.isValidElement(eo.tooltip)?ko={title:eo.tooltip}:typeof eo.tooltip=="object"?ko=Object.assign({title:(n=oe.text)!==null&&n!==void 0?n:x},eo.tooltip):ko={title:eo.tooltip};const Io=r.useMemo(()=>{const He=to=>["string","number"].includes(typeof to);if(!(!ro||Ze)){if(He(oe.text))return oe.text;if(He(x))return x;if(He(N))return N;if(He(ko.title))return ko.title}},[ro,Ze,N,ko.title,vo]);if(ke)return r.createElement(Lu,{value:(a=oe.text)!==null&&a!==void 0?a:typeof x=="string"?x:"",onSave:ge,onCancel:Ee,onEnd:oe.onEnd,prefixCls:q,className:u,style:p,direction:fe,component:_,maxLength:oe.maxLength,autoSize:oe.autoSize,enterIcon:oe.enterIcon});const xp=()=>{const{expandable:He,symbol:to}=eo;return!He||io&&He!=="collapsible"?null:r.createElement("a",{key:"expand",className:`${q}-${io?"collapse":"expand"}`,onClick:_o=>Ho(_o,{expanded:!io}),"aria-label":io?ee.collapse:ee==null?void 0:ee.expand},typeof to=="function"?to(io):to)},wp=()=>{if(!ie)return;const{icon:He,tooltip:to}=oe,_o=(0,Qo.Z)(to)[0]||(ee==null?void 0:ee.edit),rt=typeof _o=="string"?_o:"";return ue.includes("icon")?r.createElement(Jo.Z,{key:"edit",title:to===!1?"":_o},r.createElement(na,{ref:ae,className:`${q}-edit`,onClick:Ce,"aria-label":rt},He||r.createElement(ea,{role:"button"}))):null},Sp=()=>we?r.createElement(Ku,Object.assign({key:"copy"},je,{prefixCls:q,copied:Fe,locale:ee,onCopy:Ie,loading:_e,iconOnly:x==null})):null,Cp=He=>[He&&xp(),wp(),Sp()],kp=He=>[He&&!io&&r.createElement("span",{"aria-hidden":!0,key:"ellipsis"},ef),eo.suffix,Cp(He)];return r.createElement(bt.Z,{onResize:Oo,disabled:!Re},He=>r.createElement(Qu,{tooltipProps:ko,enableEllipsis:Re,isEllipsis:vo},r.createElement(va,Object.assign({className:E()({[`${q}-${v}`]:v,[`${q}-disabled`]:w,[`${q}-ellipsis`]:ro,[`${q}-single-line`]:Re&&oo===1,[`${q}-ellipsis-single-line`]:Eo,[`${q}-ellipsis-multiple-line`]:To},u),prefixCls:s,style:Object.assign(Object.assign({},p),{WebkitLineClamp:To?oo:void 0}),component:_,ref:(0,zt.sQ)(He,J,o),direction:fe,onClick:ue.includes("text")?Ce:void 0,"aria-label":Io==null?void 0:Io.toString(),title:N},de),r.createElement(Yu,{enableMeasure:Re&&!Ze,text:x,rows:oo,width:kt,onEllipsis:fo,expanded:io,miscDeps:[Fe,io,_e]},(to,_o)=>{let rt=to;return to.length&&_o&&!io&&Io&&(rt=r.createElement("span",{key:"show-content","aria-hidden":!0},rt)),qu(e,r.createElement(r.Fragment,null,rt,kp(_o)))}))))}),of=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t},tf=r.forwardRef((e,o)=>{var{ellipsis:t,rel:n}=e,a=of(e,["ellipsis","rel"]);const s=Object.assign(Object.assign({},a),{rel:n===void 0&&a.target==="_blank"?"noopener noreferrer":n});return delete s.navigate,r.createElement(St,Object.assign({},s,{ref:o,ellipsis:!!t,component:"a"}))}),nf=r.forwardRef((e,o)=>r.createElement(St,Object.assign({ref:o},e,{component:"div"}))),rf=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t};const af=(e,o)=>{var{ellipsis:t}=e,n=rf(e,["ellipsis"]);const a=r.useMemo(()=>t&&typeof t=="object"?(0,Po.Z)(t,["expandable","rows"]):t,[t]);return r.createElement(St,Object.assign({ref:o},n,{ellipsis:a,component:"span"}))};var lf=r.forwardRef(af),cf=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t};const sf=[1,2,3,4,5];var df=r.forwardRef((e,o)=>{const{level:t=1}=e,n=cf(e,["level"]);let a;return sf.includes(t)?a=`h${t}`:a="h1",r.createElement(St,Object.assign({ref:o},n,{component:a}))});const nt=va;nt.Text=lf,nt.Link=tf,nt.Title=df,nt.Paragraph=nf;var Gt=nt;const uf=e=>{const{componentCls:o,sizePaddingEdgeHorizontal:t,colorSplit:n,lineWidth:a,textPaddingInline:s,orientationMargin:u,verticalMarginInline:p}=e;return{[o]:Object.assign(Object.assign({},(0,Ao.Wf)(e)),{borderBlockStart:`${(0,h.bf)(a)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:p,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,h.bf)(a)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,h.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${o}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,h.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,h.bf)(a)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${o}-with-text-left`]:{"&::before":{width:`calc(${u} * 100%)`},"&::after":{width:`calc(100% - ${u} * 100%)`}},[`&-horizontal${o}-with-text-right`]:{"&::before":{width:`calc(100% - ${u} * 100%)`},"&::after":{width:`calc(${u} * 100%)`}},[`${o}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:s},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${(0,h.bf)(a)} 0 0`},[`&-horizontal${o}-with-text${o}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${o}-dashed`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${o}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${o}-with-text-left${o}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${o}-inner-text`]:{paddingInlineStart:t}},[`&-horizontal${o}-with-text-right${o}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${o}-inner-text`]:{paddingInlineEnd:t}}})}},ff=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS});var pf=(0,L.I$)("Divider",e=>{const o=(0,Lo.TS)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[uf(o)]},ff,{unitless:{orientationMargin:!0}}),gf=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t},Kt=e=>{const{getPrefixCls:o,direction:t,divider:n}=r.useContext(Z.E_),{prefixCls:a,type:s="horizontal",orientation:u="center",orientationMargin:p,className:v,rootClassName:w,children:x,dashed:A,plain:T,style:$}=e,_=gf(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),N=o("divider",a),[P,Y,fe]=pf(N),ee=u.length>0?`-${u}`:u,J=!!x,ae=u==="left"&&p!=null,q=u==="right"&&p!=null,de=E()(N,n==null?void 0:n.className,Y,fe,`${N}-${s}`,{[`${N}-with-text`]:J,[`${N}-with-text${ee}`]:J,[`${N}-dashed`]:!!A,[`${N}-plain`]:!!T,[`${N}-rtl`]:t==="rtl",[`${N}-no-default-orientation-margin-left`]:ae,[`${N}-no-default-orientation-margin-right`]:q},v,w),ie=r.useMemo(()=>typeof p=="number"?p:/^\d+$/.test(p)?Number(p):p,[p]),oe=Object.assign(Object.assign({},ae&&{marginLeft:ie}),q&&{marginRight:ie});return P(r.createElement("div",Object.assign({className:de,style:Object.assign(Object.assign({},n==null?void 0:n.style),$)},_,{role:"separator"}),x&&s!=="vertical"&&r.createElement("span",{className:`${N}-inner-text`,style:oe},x)))};function ka(e){return["small","middle","large"].includes(e)}function Ea(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const Oa=r.createContext({latestIndex:0}),hf=Oa.Provider;var mf=e=>{let{className:o,index:t,children:n,split:a,style:s}=e;const{latestIndex:u}=r.useContext(Oa);return n==null?null:r.createElement(r.Fragment,null,r.createElement("div",{className:o,style:s},n),t<u&&a&&r.createElement("span",{className:`${o}-split`},a))},bf=l(99134),vf=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t};const Ma=r.forwardRef((e,o)=>{var t,n;const{getPrefixCls:a,space:s,direction:u}=r.useContext(Z.E_),{size:p=(s==null?void 0:s.size)||"small",align:v,className:w,rootClassName:x,children:A,direction:T="horizontal",prefixCls:$,split:_,style:N,wrap:P=!1,classNames:Y,styles:fe}=e,ee=vf(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[J,ae]=Array.isArray(p)?p:[p,p],q=ka(ae),de=ka(J),ie=Ea(ae),oe=Ea(J),ke=(0,Qo.Z)(A,{keepEmpty:!0}),be=v===void 0&&T==="horizontal"?"center":v,ue=a("space",$),[ve,Ce,ge]=(0,bf.Z)(ue),Ee=E()(ue,s==null?void 0:s.className,Ce,`${ue}-${T}`,{[`${ue}-rtl`]:u==="rtl",[`${ue}-align-${be}`]:be,[`${ue}-gap-row-${ae}`]:q,[`${ue}-gap-col-${J}`]:de},w,x,ge),we=E()(`${ue}-item`,(t=Y==null?void 0:Y.item)!==null&&t!==void 0?t:(n=s==null?void 0:s.classNames)===null||n===void 0?void 0:n.item);let je=0;const Fe=ke.map((We,Pe)=>{var Ye,Oe;We!=null&&(je=Pe);const Ae=We&&We.key||`${we}-${Pe}`;return r.createElement(mf,{className:we,key:Ae,index:Pe,split:_,style:(Ye=fe==null?void 0:fe.item)!==null&&Ye!==void 0?Ye:(Oe=s==null?void 0:s.styles)===null||Oe===void 0?void 0:Oe.item},We)}),_e=r.useMemo(()=>({latestIndex:je}),[je]);if(ke.length===0)return null;const Ie={};return P&&(Ie.flexWrap="wrap"),!de&&oe&&(Ie.columnGap=J),!q&&ie&&(Ie.rowGap=ae),ve(r.createElement("div",Object.assign({ref:o,className:Ee,style:Object.assign(Object.assign(Object.assign({},Ie),s==null?void 0:s.style),N)},ee),r.createElement(hf,{value:_e},Fe)))});Ma.Compact=Xn.ZP;var Aa=Ma,yf=l(78854),za=l(92025),xf=l(68230),Ta,wf=(0,yo.kc)(function(e){var o=e.css,t=e.token;return o(Ta||(Ta=(0,Me.Z)([`
cursor: pointer;
&:hover {
background: `,`;
border-radius: 4px;
}
pre {
background: none !important;
padding: 2px 8px !important;
margin: 0;
}
code[class*='language-'] {
background: none !important;
}
`])),t.colorFillSecondary)}),Sf=function(o){var t=o.children,n=wf(),a=n.styles,s=n.theme,u=Zo(),p=u.mobile,v=(0,xf.M)(),w=v.copied,x=v.setCopied;return(0,d.jsx)(Jo.Z,{placement:p?void 0:"right",title:w?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(ya.Z,{style:{color:s.colorSuccess}})," \u590D\u5236\u6210\u529F"]}):"\u590D\u5236",children:(0,d.jsx)("div",{className:a,onClick:function(){ba()(t),x()},children:(0,d.jsx)(yf.oP,{background:!1,type:"prism",copyable:!1,syntaxThemes:{prism:{dark:za.YC,light:za.vs}},language:"js",children:t})})})},Cf=Sf,Ra,ja,Ia,Ba,$a,kf=(0,yo.kc)(function(e){var o=e.css,t=e.token,n=e.responsive,a=e.stylish;return{title:o(Ra||(Ra=(0,Me.Z)([`
font-family: monospace;
`,` {
margin-block: 0;
font-size: 32px !important;
}
`])),n.mobile),label:o(ja||(ja=(0,Me.Z)([`
width: 80px;
`]))),desc:o(Ia||(Ia=(0,Me.Z)([`
font-size: `,`px;
line-height: `,`px;
`])),t.fontSizeLG,t.lineHeightLG),text:o(Ba||(Ba=(0,Me.Z)([`
`,`
`])),a.clickableText),meta:o($a||($a=(0,Me.Z)([""])))}}),Ef=(0,r.memo)(function(e){var o=e.title,t=e.componentName,n=e.description,a=e.defaultImport,s=e.pkg,u=e.sourceUrl,p=e.docUrl,v=e.serviceList,w=v===void 0?[]:v,x=kf(),A=x.styles,T=Zo(),$=T.mobile,_=[u&&{icon:(0,d.jsx)(wr,{}),children:"\u67E5\u770B\u6E90\u7801",url:u},p&&{icon:(0,d.jsx)(ea,{}),children:"\u7F16\u8F91\u6587\u6863",url:p}].filter(function(P){return P}),N=a?"import ".concat(t," from '").concat(s,"';"):"import { ".concat(t," } from '").concat(s,"';");return(0,d.jsxs)(go.D,{children:[(0,d.jsx)(Gt.Title,{className:A.title,children:o}),n&&(0,d.jsx)("div",{children:(0,d.jsx)(Gt.Text,{type:"secondary",className:A.desc,children:n})}),(0,d.jsxs)(go.D,{style:{marginTop:16},gap:$?16:24,children:[(0,d.jsxs)(go.D,{horizontal:!$,gap:$?12:0,children:[(0,d.jsx)(Gt.Text,{className:A.label,type:"secondary",style:{display:"flex",alignItems:"center"},children:"\u5F15\u5165\u65B9\u6CD5"}),(0,d.jsx)(Cf,{children:N})]}),(0,d.jsx)(Kt,{dashed:!0,style:{margin:"2px 0"}}),(0,d.jsxs)(go.D,{horizontal:!$,gap:$?24:0,distribution:"space-between",children:[(0,d.jsx)(Aa,{split:(0,d.jsx)(Kt,{type:"vertical"}),wrap:!0,children:w.map(function(P){return(0,d.jsx)("a",{href:P.url,target:"_blank",rel:"noreferrer",title:P.label,children:(0,d.jsxs)(go.D,{horizontal:!0,align:"center",gap:8,className:A.text,children:[(0,d.jsx)(d.Fragment,{children:P.icon}),(0,d.jsx)(d.Fragment,{children:P.children})]})},P.label)})}),(0,d.jsx)(Aa,{split:(0,d.jsx)(Kt,{type:"vertical"}),className:A.meta,children:_.map(function(P){return(0,d.jsx)("a",{href:P.url,target:"_blank",rel:"noreferrer",children:(0,d.jsxs)(go.D,{horizontal:!0,align:"center",gap:8,className:A.text,children:[(0,d.jsx)(d.Fragment,{children:P.icon}),(0,d.jsx)(d.Fragment,{children:P.children})]})},P.url)})})]})]})]})}),Of=(0,r.memo)(function(){var e=(0,b.HX)(wn.apiHeader),o=e.pkg,t=[{label:"icon",icon:(0,d.jsx)(Cd,{}),children:"demo",url:"https://www.npmjs.com/package/".concat(o)}];return(0,d.jsx)(Ef,vd()({serviceList:t},e))}),Mf=Of,Ha,_a,Da,Af=(0,yo.kc)(function(e,o){var t=e.css,n=e.cx,a=e.responsive,s=e.token,u=o.hideToc,p=o.hideSidebar;return{layout:t(Ha||(Ha=(0,Me.Z)([`
background-color: `,`;
background-image: linear-gradient(
180deg,
`,` 0%,
rgba(255, 255, 255, 0) 10%
);
display: grid;
grid-template-columns: `,"px 1fr ",`;
grid-template-rows: `,`px auto 1fr auto;
grid-template-areas:
'head head head'
'`," title ",`'
'`," main ",`'
'`,` footer footer';
min-height: 100vh;
`,` {
display: flex;
flex-direction: column;
}
`])),s.colorBgLayout,s.colorBgContainer,s.sidebarWidth,u?"":"".concat(s.tocWidth+24,"px"),s.headerHeight,p?"title":"sidebar",u?"title":".",p?"main":"sidebar",u?"main":"toc",p?"footer":"sidebar",a.mobile),toc:t(_a||(_a=(0,Me.Z)([`
position: sticky;
top: 100px;
width: `,`px;
margin-inline-end: 24px;
max-height: 80vh;
overflow: auto;
margin-top: 48px;
`,` {
z-index: 300;
top: `,`px;
margin-top: 0;
width: 100%;
}
overscroll-behavior: contain;
-webkit-overflow-scrolling: touch;
> h4 {
margin: 0 0 8px;
color: `,`;
font-size: 12px;
line-height: 1;
}
`])),s.tocWidth,a.mobile,s.headerHeight+1,s.colorTextDescription),content:n(t(Da||(Da=(0,Me.Z)([`
max-width: 960px;
width: 100%;
margin: 0 24px;
`]))),t(a({desktop:{maxWidth:s.contentMaxWidth},mobile:{margin:0}})))}}),zf=(0,r.memo)(function(){var e=(0,f.pC)(),o=Zo(),t=o.mobile,n=(0,b.HX)(function(T){return T.routeMeta.frontmatter},C()),a=(0,b.HX)(zl),s=(0,b.HX)(vn),u=(0,b.HX)(function(T){return on(T).length===0}),p=n.sidebar===!1,v=n.toc===!1||u,w=Af({hideToc:v,hideSidebar:p}),x=w.styles,A=w.theme;return(0,d.jsxs)("div",{className:x.layout,children:[(0,d.jsx)(f.ql,{children:n.title&&(0,d.jsxs)("title",{children:[n.title," - ",s]})}),(0,d.jsx)(Ar,{}),v?null:(0,d.jsx)(md,{}),t||p?null:(0,d.jsx)(gs,{}),a?(0,d.jsx)(go.D,{style:{gridArea:"title",paddingBlock:t?24:void 0},children:(0,d.jsx)(Xo.Z,{children:(0,d.jsx)(go.D,{style:{maxWidth:A.contentMaxWidth,width:"100%"},children:(0,d.jsx)(go.D,{style:{paddingBlock:0,paddingInline:t?16:48},children:(0,d.jsx)(Mf,{})})})})}):null,(0,d.jsx)(go.D,{style:{zIndex:10,gridArea:"main",margin:t?0:24,marginBottom:t?0:48},children:(0,d.jsx)(Xo.Z,{width:"100%",children:(0,d.jsx)(go.D,{className:x.content,children:(0,d.jsx)(go.D,{horizontal:!0,children:(0,d.jsx)(Ni,{children:e})})})})}),(0,d.jsx)(mn,{})]})}),Tf=zf,Na=l(99399),Rf=l(59101);const jf=e=>{const{paddingXXS:o,lineWidth:t,tagPaddingHorizontal:n,componentCls:a,calc:s}=e,u=s(n).sub(t).equal(),p=s(o).sub(t).equal();return{[a]:Object.assign(Object.assign({},(0,Ao.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:u,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,h.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:p,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:u}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},Xt=e=>{const{lineWidth:o,fontSizeIcon:t,calc:n}=e,a=e.fontSizeSM;return(0,Lo.TS)(e,{tagFontSize:a,tagLineHeight:(0,h.bf)(n(e.lineHeightSM).mul(a).equal()),tagIconSize:n(t).sub(n(o).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},Yt=e=>({defaultBg:new It.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var La=(0,L.I$)("Tag",e=>{const o=Xt(e);return jf(o)},Yt),If=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t},Bf=r.forwardRef((e,o)=>{const{prefixCls:t,style:n,className:a,checked:s,onChange:u,onClick:p}=e,v=If(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:w,tag:x}=r.useContext(Z.E_),A=Y=>{u==null||u(!s),p==null||p(Y)},T=w("tag",t),[$,_,N]=La(T),P=E()(T,`${T}-checkable`,{[`${T}-checkable-checked`]:s},x==null?void 0:x.className,a,_,N);return $(r.createElement("span",Object.assign({},v,{ref:o,style:Object.assign(Object.assign({},n),x==null?void 0:x.style),className:P,onClick:A})))}),$f=l(16345);const Hf=e=>(0,$f.Z)(e,(o,t)=>{let{textColor:n,lightBorderColor:a,lightColor:s,darkColor:u}=t;return{[`${e.componentCls}${e.componentCls}-${o}`]:{color:n,background:s,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:u,borderColor:u},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _f=(0,L.bk)(["Tag","preset"],e=>{const o=Xt(e);return Hf(o)},Yt);function Df(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const Ct=(e,o,t)=>{const n=Df(t);return{[`${e.componentCls}${e.componentCls}-${o}`]:{color:e[`color${t}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Nf=(0,L.bk)(["Tag","status"],e=>{const o=Xt(e);return[Ct(o,"success","Success"),Ct(o,"processing","Info"),Ct(o,"error","Error"),Ct(o,"warning","Warning")]},Yt),Lf=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t};const Ff=(e,o)=>{const{prefixCls:t,className:n,rootClassName:a,style:s,children:u,icon:p,color:v,onClose:w,bordered:x=!0,visible:A}=e,T=Lf(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:$,direction:_,tag:N}=r.useContext(Z.E_),[P,Y]=r.useState(!0),fe=(0,Po.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{A!==void 0&&Y(A)},[A]);const ee=(0,Na.o2)(v),J=(0,Na.yT)(v),ae=ee||J,q=Object.assign(Object.assign({backgroundColor:v&&!ae?v:void 0},N==null?void 0:N.style),s),de=$("tag",t),[ie,oe,ke]=La(de),be=E()(de,N==null?void 0:N.className,{[`${de}-${v}`]:ae,[`${de}-has-color`]:v&&!ae,[`${de}-hidden`]:!P,[`${de}-rtl`]:_==="rtl",[`${de}-borderless`]:!x},n,a,oe,ke),ue=je=>{je.stopPropagation(),w==null||w(je),!je.defaultPrevented&&Y(!1)},[,ve]=(0,Yo.Z)((0,Yo.w)(e),(0,Yo.w)(N),{closable:!1,closeIconRender:je=>{const Fe=r.createElement("span",{className:`${de}-close-icon`,onClick:ue},je);return(0,Ko.wm)(je,Fe,_e=>({onClick:Ie=>{var We;(We=_e==null?void 0:_e.onClick)===null||We===void 0||We.call(_e,Ie),ue(Ie)},className:E()(_e==null?void 0:_e.className,`${de}-close-icon`)}))}}),Ce=typeof T.onClick=="function"||u&&u.type==="a",ge=p||null,Ee=ge?r.createElement(r.Fragment,null,ge,u&&r.createElement("span",null,u)):u,we=r.createElement("span",Object.assign({},fe,{ref:o,className:be,style:q}),Ee,ve,ee&&r.createElement(_f,{key:"preset",prefixCls:de}),J&&r.createElement(Nf,{key:"status",prefixCls:de}));return ie(Ce?r.createElement(Rf.Z,{component:"Tag"},we):we)},Fa=r.forwardRef(Ff);Fa.CheckableTag=Bf;var Wf=Fa,Wa,Pa,Ua,Za,Va,Ga,Ka,Xa,Ya,Qa,Pf=(0,yo.kc)(function(e,o){var t=e.token,n=e.prefixCls,a=e.responsive,s=e.css,u=e.stylish,p=e.isDarkMode,v=e.cx,w=o.rowNum,x=o.hasLink,A="".concat(n,"-features"),T="".concat(A,"-cover"),$="".concat(A,"-description"),_="".concat(A,"-title"),N="".concat(A,"-img"),P=20,Y=function(J){return s(Wa||(Wa=(0,Me.Z)([`
width: `,`px;
height: `,`px;
font-size: `,`px;
`])),J,J,J*(22/24))},fe=s(Pa||(Pa=(0,Me.Z)([`
transition: all `," ",`;
`])),t.motionDurationSlow,t.motionEaseInOutCirc);return{cell:s(Ua||(Ua=(0,Me.Z)([`
overflow: hidden;
`]))),container:s(Za||(Za=(0,Me.Z)([`
`,`;
z-index: 1;
padding: 24px;
border-radius: 24px;
background: linear-gradient(
135deg,
`,`,
`,`
);
position: relative;
&:hover {
scale: 1.03;
background: linear-gradient(
135deg,
`,`,
`,`
);
box-shadow: inset 0 0 0 1px `,", ",`;
.`,` {
height: `,`px;
width: 100%;
padding: 0;
}
.`,` {
`,`;
}
.`,` {
position: absolute;
visibility: hidden;
opacity: 0;
}
.`,` {
font-size: `,`px;
}
}
`])),fe,t.colorFillContent,t.colorFillQuaternary,(0,Do.$n)(.5,t.colorFillContent),(0,Do.$n)(.5,t.colorFillQuaternary),t.colorBorder,t.boxShadowSecondary,T,P*w,N,Y(100),$,_,x?14:20),title:v(_,fe,s(Va||(Va=(0,Me.Z)([`
pointer-events: none;
font-size: 20px;
line-height: `,`;
margin: 16px 0;
color: `,`;
`])),t.lineHeightHeading3,t.colorText)),desc:v($,fe,s(Ga||(Ga=(0,Me.Z)([`
color: `,`;
pointer-events: none;
quotient {
color: `,`;
display: block;
margin: 12px 0;
padding-left: 12px;
position: relative;
&:before {